messages
Mark all messages as read
Marks all unread messages in a chat as read. Useful for quickly clearing unread message counts.
post/messenger/v1/messages/readAll
Request
- Base URLhttps://{domain}.uspacy.ua
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"chatId": "76bfc2ff-207c-4b5a-8543-f7009b7f8872"
}Response
Confirmation that all messages in the chat have been marked as read
Example response
[
{
"chatId": "76bfc2ff-207c-4b5a-8543-f7009b7f8872"
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.