public final class ChatMessageRead extends BbmdsProtocol.OutboundMessage
Your application sends this message to bbmcore to notify it that incoming messages have been read by the local user. All unread incoming messages in the chat with a 'messageId' less than or equal to that of the specified 'messageId' will be marked as read.
Note that when a chat's 'numUnread' field is zero, then 'chatMessageRead' will have no effect on that chat because that means the chat has no unread incoming messages.
|Constructor and Description|
Creates a new outbound 'chatMessageRead' message.
public ChatMessageRead(java.lang.String chatId, long messageId)
chatId- The id of the chat containing the message referred to by 'messageId'.
messageId- The largest 'messageId' (within the chat referred to by 'chatId') of the messages that are to be marked as read by the local user.