messages
Mark messages as read
Marks specific messages as read by the authenticated user. Updates the read status and read receipts.
post/messenger/v1/messages/readMessages
Request
- Base URLhttps://{domain}.uspacy.ua
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"messagesIds": [
"76bfc2ff-207c-4b5a-8543-f7009b7f8872"
],
"chatId": "76bfc2ff-207c-4b5a-8543-f7009b7f8872"
}Response
Confirmation of messages marked as read
Example response
[
{
"messagesIds": [
"76bfc2ff-207c-4b5a-8543-f7009b7f8872"
],
"chatId": "76bfc2ff-207c-4b5a-8543-f7009b7f8872"
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.