Chat Platform API v3
Chat Platform API
Chat
Platform API
Home
/
Chat
/
Platform API
/
User
Marks all of a user’s unread messages as read in group channels.
The following table lists the parameters that this action supports.
Required
Name | Type | Description |
---|---|---|
user_id | string | Specifies the unique ID of a user. |
The following table lists the properties of an HTTP request that this action supports.
Optional
Name | Type | Description |
---|---|---|
channel_urls[] | array of strings | Specifies an array of one or more group channel URLs where unread messages need to be marked as read. If not specified, unread messages in all group channels a user joined are marked as read. |
If successful, this action returns an empty response body.
In the case of an error, an error object is returned. A detailed list of error codes is available here.