List
Last updated
Last updated
Note: To view a list of group chats.
Header
Field | Type | Remarks |
---|---|---|
Request Parameters
Field | Type | Remarks |
---|---|---|
Request Example
Response Parameters
Field | Type | Remarks |
---|---|---|
The UserChannelResponse field consists of the following subfields:
The ChannelInfo field consists of the following subfields:
Response Body
Return Code
Field | Type | Remarks |
---|---|---|
Field | Type | Remarks |
---|---|---|
code | desc | Remarks |
---|---|---|
ApiKey
String
ApiKey acquired from the admin
Authorization
String
Bearer ${unifiedAuthToken} , in which the unifiedAuthToken is returned by /api/v1/auth
keyword
String
the name of the group chat. It suppports fuzzy search.
limit
int
number of records returned by each page
cursor
String
The cursor data returned by the last page. If cursor is null, then you are querying the first page.
code
String
the Return Code
desc
String
the Return Message
data
UserChannelResponse
the data
cursor
String
to query data on the next page.
list
Array[ChannelInfo]
the list of group chats
status
String
the status of the group chat: 0-normal; 1-left; 2-removed by the admin; 3-the group chat had been dismissed.
channelUuid
String
the uuid of the group chat
displayName
String
the name of the group chat
channelIcon
String
the icon of the group chat
channelType
String
the type of the group chat
unreadMessageCount
String
counts of messages unread
mentionsCount
String
how many mentions
lastMessageType
String
the type of the last message: TEXT\SYS\CARD
lastMessageContent
String
the content of the last message
lastPostAt
Long
the timestamp of the last message
mute
boolean
Whether to mute it. True-yes, False-no.
pin
boolean
Whether it should be sticked on top. True-yes,False-no.
0
success
the flag for a successful request
13101
group type error
cannot recognize the group type