All requests use the primary/backup domains configured by the caller.
| Method | HTTP request | Description |
|---|---|---|
| addGroupChannelAllowedSenderList | POST /v4/group-channel/allowed-sender-list/add | Add to allowed senders list |
| addGroupChannelFreezeList | POST /v4/group-channel/freeze-list/add | Freeze a group |
| addGroupChannelUserMuteList | POST /v4/group-channel/user/mute-list/add | Mute a group member |
| getGroupChannelAllowedSenderList | POST /v4/group-channel/allowed-sender-list/get | Query allowed senders list |
| getGroupChannelFreezeList | POST /v4/group-channel/freeze-list/get | Query group freeze status |
| getGroupChannelUserMuteList | POST /v4/group-channel/user/mute-list/get | List muted group members |
| removeGroupChannelAllowedSenderList | POST /v4/group-channel/allowed-sender-list/remove | Remove from allowed senders list |
| removeGroupChannelFreezeList | POST /v4/group-channel/freeze-list/remove | Unfreeze a group |
| removeGroupChannelUserMuteList | POST /v4/group-channel/user/mute-list/remove | Unmute a group member |
CodeOnlyResponse addGroupChannelAllowedSenderList(groupChannelAllowedSenderListUpdateRequest)
Rate limit: 100/sec.
import {
GroupChannelModerationApi,
Configuration,
GroupChannelAllowedSenderListUpdateRequest
} from '@nexconn/server-sdk';
const configuration = new Configuration();
configuration.setRongCloudCredentials(
process.env.RONGCLOUD_APP_KEY!,
process.env.RONGCLOUD_APP_SECRET!,
);
configuration.setPrimaryBackupDomains(
process.env.RONGCLOUD_PRIMARY_API_DOMAIN!,
process.env.RONGCLOUD_SECONDARY_API_DOMAIN!,
);
const apiInstance = new GroupChannelModerationApi(configuration);
let groupChannelAllowedSenderListUpdateRequest: GroupChannelAllowedSenderListUpdateRequest; //
const { status, data } = await apiInstance.addGroupChannelAllowedSenderList(
groupChannelAllowedSenderListUpdateRequest
);| Name | Type | Description | Notes |
|---|---|---|---|
| groupChannelAllowedSenderListUpdateRequest | GroupChannelAllowedSenderListUpdateRequest |
CodeOnlyResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CodeOnlyResponse addGroupChannelFreezeList(groupChannelFreezeListUpdateRequest)
Rate limit: 100/sec.
import {
GroupChannelModerationApi,
Configuration,
GroupChannelFreezeListUpdateRequest
} from '@nexconn/server-sdk';
const configuration = new Configuration();
configuration.setRongCloudCredentials(
process.env.RONGCLOUD_APP_KEY!,
process.env.RONGCLOUD_APP_SECRET!,
);
configuration.setPrimaryBackupDomains(
process.env.RONGCLOUD_PRIMARY_API_DOMAIN!,
process.env.RONGCLOUD_SECONDARY_API_DOMAIN!,
);
const apiInstance = new GroupChannelModerationApi(configuration);
let groupChannelFreezeListUpdateRequest: GroupChannelFreezeListUpdateRequest; //
const { status, data } = await apiInstance.addGroupChannelFreezeList(
groupChannelFreezeListUpdateRequest
);| Name | Type | Description | Notes |
|---|---|---|---|
| groupChannelFreezeListUpdateRequest | GroupChannelFreezeListUpdateRequest |
CodeOnlyResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CodeOnlyResponse addGroupChannelUserMuteList(groupChannelUserMuteListAddRequest)
Rate limit: 100/sec.
import {
GroupChannelModerationApi,
Configuration,
GroupChannelUserMuteListAddRequest
} from '@nexconn/server-sdk';
const configuration = new Configuration();
configuration.setRongCloudCredentials(
process.env.RONGCLOUD_APP_KEY!,
process.env.RONGCLOUD_APP_SECRET!,
);
configuration.setPrimaryBackupDomains(
process.env.RONGCLOUD_PRIMARY_API_DOMAIN!,
process.env.RONGCLOUD_SECONDARY_API_DOMAIN!,
);
const apiInstance = new GroupChannelModerationApi(configuration);
let groupChannelUserMuteListAddRequest: GroupChannelUserMuteListAddRequest; //
const { status, data } = await apiInstance.addGroupChannelUserMuteList(
groupChannelUserMuteListAddRequest
);| Name | Type | Description | Notes |
|---|---|---|---|
| groupChannelUserMuteListAddRequest | GroupChannelUserMuteListAddRequest |
CodeOnlyResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupChannelAllowedSenderListGetResponse getGroupChannelAllowedSenderList(groupChannelAllowedSenderListGetRequest)
Rate limit: 100/sec.
import {
GroupChannelModerationApi,
Configuration,
GroupChannelAllowedSenderListGetRequest
} from '@nexconn/server-sdk';
const configuration = new Configuration();
configuration.setRongCloudCredentials(
process.env.RONGCLOUD_APP_KEY!,
process.env.RONGCLOUD_APP_SECRET!,
);
configuration.setPrimaryBackupDomains(
process.env.RONGCLOUD_PRIMARY_API_DOMAIN!,
process.env.RONGCLOUD_SECONDARY_API_DOMAIN!,
);
const apiInstance = new GroupChannelModerationApi(configuration);
let groupChannelAllowedSenderListGetRequest: GroupChannelAllowedSenderListGetRequest; //
const { status, data } = await apiInstance.getGroupChannelAllowedSenderList(
groupChannelAllowedSenderListGetRequest
);| Name | Type | Description | Notes |
|---|---|---|---|
| groupChannelAllowedSenderListGetRequest | GroupChannelAllowedSenderListGetRequest |
GroupChannelAllowedSenderListGetResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupChannelFreezeListGetResponse getGroupChannelFreezeList(groupChannelFreezeListGetRequest)
Rate limit: 100/sec.
import {
GroupChannelModerationApi,
Configuration,
GroupChannelFreezeListGetRequest
} from '@nexconn/server-sdk';
const configuration = new Configuration();
configuration.setRongCloudCredentials(
process.env.RONGCLOUD_APP_KEY!,
process.env.RONGCLOUD_APP_SECRET!,
);
configuration.setPrimaryBackupDomains(
process.env.RONGCLOUD_PRIMARY_API_DOMAIN!,
process.env.RONGCLOUD_SECONDARY_API_DOMAIN!,
);
const apiInstance = new GroupChannelModerationApi(configuration);
let groupChannelFreezeListGetRequest: GroupChannelFreezeListGetRequest; //
const { status, data } = await apiInstance.getGroupChannelFreezeList(
groupChannelFreezeListGetRequest
);| Name | Type | Description | Notes |
|---|---|---|---|
| groupChannelFreezeListGetRequest | GroupChannelFreezeListGetRequest |
GroupChannelFreezeListGetResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GroupChannelUserMuteListGetResponse getGroupChannelUserMuteList(groupChannelUserMuteListGetRequest)
Rate limit: 100/sec. The public endpoint list currently publishes this capability as /v4/group-channel/user/mute-list-get.
import {
GroupChannelModerationApi,
Configuration,
GroupChannelUserMuteListGetRequest
} from '@nexconn/server-sdk';
const configuration = new Configuration();
configuration.setRongCloudCredentials(
process.env.RONGCLOUD_APP_KEY!,
process.env.RONGCLOUD_APP_SECRET!,
);
configuration.setPrimaryBackupDomains(
process.env.RONGCLOUD_PRIMARY_API_DOMAIN!,
process.env.RONGCLOUD_SECONDARY_API_DOMAIN!,
);
const apiInstance = new GroupChannelModerationApi(configuration);
let groupChannelUserMuteListGetRequest: GroupChannelUserMuteListGetRequest; //
const { status, data } = await apiInstance.getGroupChannelUserMuteList(
groupChannelUserMuteListGetRequest
);| Name | Type | Description | Notes |
|---|---|---|---|
| groupChannelUserMuteListGetRequest | GroupChannelUserMuteListGetRequest |
GroupChannelUserMuteListGetResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CodeOnlyResponse removeGroupChannelAllowedSenderList(groupChannelAllowedSenderListUpdateRequest)
Rate limit: 100/sec.
import {
GroupChannelModerationApi,
Configuration,
GroupChannelAllowedSenderListUpdateRequest
} from '@nexconn/server-sdk';
const configuration = new Configuration();
configuration.setRongCloudCredentials(
process.env.RONGCLOUD_APP_KEY!,
process.env.RONGCLOUD_APP_SECRET!,
);
configuration.setPrimaryBackupDomains(
process.env.RONGCLOUD_PRIMARY_API_DOMAIN!,
process.env.RONGCLOUD_SECONDARY_API_DOMAIN!,
);
const apiInstance = new GroupChannelModerationApi(configuration);
let groupChannelAllowedSenderListUpdateRequest: GroupChannelAllowedSenderListUpdateRequest; //
const { status, data } = await apiInstance.removeGroupChannelAllowedSenderList(
groupChannelAllowedSenderListUpdateRequest
);| Name | Type | Description | Notes |
|---|---|---|---|
| groupChannelAllowedSenderListUpdateRequest | GroupChannelAllowedSenderListUpdateRequest |
CodeOnlyResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CodeOnlyResponse removeGroupChannelFreezeList(groupChannelFreezeListUpdateRequest)
Rate limit: 100/sec.
import {
GroupChannelModerationApi,
Configuration,
GroupChannelFreezeListUpdateRequest
} from '@nexconn/server-sdk';
const configuration = new Configuration();
configuration.setRongCloudCredentials(
process.env.RONGCLOUD_APP_KEY!,
process.env.RONGCLOUD_APP_SECRET!,
);
configuration.setPrimaryBackupDomains(
process.env.RONGCLOUD_PRIMARY_API_DOMAIN!,
process.env.RONGCLOUD_SECONDARY_API_DOMAIN!,
);
const apiInstance = new GroupChannelModerationApi(configuration);
let groupChannelFreezeListUpdateRequest: GroupChannelFreezeListUpdateRequest; //
const { status, data } = await apiInstance.removeGroupChannelFreezeList(
groupChannelFreezeListUpdateRequest
);| Name | Type | Description | Notes |
|---|---|---|---|
| groupChannelFreezeListUpdateRequest | GroupChannelFreezeListUpdateRequest |
CodeOnlyResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CodeOnlyResponse removeGroupChannelUserMuteList(groupChannelUserMuteListRemoveRequest)
Rate limit: 100/sec.
import {
GroupChannelModerationApi,
Configuration,
GroupChannelUserMuteListRemoveRequest
} from '@nexconn/server-sdk';
const configuration = new Configuration();
configuration.setRongCloudCredentials(
process.env.RONGCLOUD_APP_KEY!,
process.env.RONGCLOUD_APP_SECRET!,
);
configuration.setPrimaryBackupDomains(
process.env.RONGCLOUD_PRIMARY_API_DOMAIN!,
process.env.RONGCLOUD_SECONDARY_API_DOMAIN!,
);
const apiInstance = new GroupChannelModerationApi(configuration);
let groupChannelUserMuteListRemoveRequest: GroupChannelUserMuteListRemoveRequest; //
const { status, data } = await apiInstance.removeGroupChannelUserMuteList(
groupChannelUserMuteListRemoveRequest
);| Name | Type | Description | Notes |
|---|---|---|---|
| groupChannelUserMuteListRemoveRequest | GroupChannelUserMuteListRemoveRequest |
CodeOnlyResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]