v1

latestOpenAPI 3.0.02026-07-14362240.2 KB
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 body

messagesIdsstring[] required

Messages ids

chatIdstring required

Chat id

Example request

{
  "messagesIds": [
    "76bfc2ff-207c-4b5a-8543-f7009b7f8872"
  ],
  "chatId": "76bfc2ff-207c-4b5a-8543-f7009b7f8872"
}

Response

Confirmation of messages marked as read

messagesIdsstring[] required

Messages ids

chatIdstring required

Chat id

Example response

[
  {
    "messagesIds": [
      "76bfc2ff-207c-4b5a-8543-f7009b7f8872"
    ],
    "chatId": "76bfc2ff-207c-4b5a-8543-f7009b7f8872"
  }
]