Members
GET api/v1/channel/members
Note: To query the list of members in the group chat. Only group members have access.
Header
Field | Type | Remarks |
---|---|---|
ApiKey | String | ApiKey acquired from the admin |
Authorization | String | Bearer ${unifiedAuthToken} , in which the unifiedAuthToken is returned by /api/v1/auth |
Request Parameters
Field | Type | Remarks |
---|---|---|
channelUuid | String | the uuid of the group chat |
Request Example
Response Parameters
Field | Type | Remarks |
---|---|---|
code | String | the Return Code |
desc | String | the Return Message |
data | Array[MemberInfo] | the data |
The MemberInfo field consists of the following subfields: | relationId | String | relationId | | name | String | name | | avatar | String | avatar | | isAdmin | boolean | if this is the admin |
Response Body
Return Code
code | desc | Remarks |
---|---|---|
0 | success | the flag for a successful request |
13102 | You have been removed from the chat | You have been removed from the chat. |
13103 | You have left the group chat | You have left the group chat. |
13104 | Chat has been dismissed | This group chat has been dismissed. |
Last updated