Pin
POST api/v1/userChannels/pin
Note: For a user to stick a message on top of a group chat.
Header
Field
Type
Remarks
ApiKey
String
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
pin
Boolean
Whether it should be sticked on top. True-yes,False-no.
Request Example
Response Parameters
Field
Type
Remarks
code
String
the Return Code
desc
String
the Return Message
data
Object
the data
Response Body
Return Code
code
desc
Remarks
0
success
the flag for a successful request
Last updated