Query priority senders
Retrieve the priority senders list for a specific open channel.
Request
POST: https://[Base URL](/platform-chat-api/base-url)/v4/open-channel/participant/priority-sender-list/get
Rate limit: 100 per second
Signature: Required. See API request signature.
Request body
Content type: application/json
| Parameter | Type | Required | Description |
|---|---|---|---|
channelId | String | Yes | The open channel ID. |
Request example
HTTP
POST /v4/open-channel/participant/priority-sender-list/get HTTP/1.1
Host: api.sg-light-api.com
App-Key: uwd1c0sxdlx2
Nonce: 14314
Timestamp: 1592295337000
Signature: ef03d19bb860b4e90ce7bd5f50652a744bc2ce92
Content-Type: application/json
{
"channelId": "LoDld8izA"
}
Response
| Field | Type | Description |
|---|---|---|
code | Number | Return code. 0 indicates success. |
result | Object | Result data. |
result.participantIds | String[] | Array of user IDs designated as priority senders. |
Response example
HTTP
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"code": 0,
"result": {
"participantIds": ["uu1", "uu2"]
}
}