Browse Platform API
Platform API

After one-to-one messages are read

Copy

Synchronize read-state changes after one-to-one messages are marked as read.

HTTP request

POST {WEBHOOK_ADDRESS}/callbackAfterSingleMsgReadCommand

Request body

PropertyTypeDescription
callbackCommandstringcallbackAfterSingleMsgReadCommand.
conversationIDstringConversation ID.
userIDstringUser whose read state changed.
Seqsint[]Message sequence numbers marked as read. The capitalization is part of the protocol.
contentTypeintMessage content type.

Response

Return HTTP success promptly. The read state is already updated and cannot be changed by this response.

Processing rules

  • Configuration key: afterSingleMsgRead.
  • Process idempotently using conversationID, userID, and the sequence numbers.