Mark all of a user's messages as read
This action marks all of a user's unread messages as read in certain group channels. If channels aren't specified, the user's unread messages in all group channels are marked as read.
HTTP request
Parameters
The following table lists the parameters that this action supports.
Required
Name | Type | Description |
---|---|---|
user_id | string | Specifies the unique ID of a user. |
Request body
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. |
Responses
If successful, this action returns an empty response body.
Error
In the case of an error, an error object like below is returned. See the error codes section for more details.