Update Announcement
POST api/v1/channel/announcement/update
Note: It is for setting announcements for the group chat. Only Admin of the group chat is allowed to do this.
Header
Field
Type
Remarks
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
announcement
String
Content of the announcement
pinAnnouncement
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
Response Body
Return Code
code
desc
Remarks
0
success
the flag for a successful request
13106
Not the owner of this club
Not the owner of this club
13107
Not the admin of this channel
Not the Admin of the current group chat
Last updated