BlackBerry Spark Communications Services for iOS  1.9.0
BBMChatMessageReadMessage Class Reference
Inheritance diagram for BBMChatMessageReadMessage:
BBMJSONMessage

Instance Methods

(id) - initWithChatId:messageId:
 
- Instance Methods inherited from BBMJSONMessage
(NSString *) - requestData
 
(NSDictionary *) - requestDict
 

Properties

NSString * chatId
 
unsigned long long messageId
 

Detailed Description

Represents the chatMessageRead protocol message.

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.

Since
R4

Property Documentation

◆ chatId

- (NSString*) chatId
readnonatomicstrong

The id of the chat containing the message referred to by 'messageId'.

Since
R4

◆ messageId

- (unsigned long long) messageId
readnonatomicassign

The largest 'messageId' (within the chat referred to by 'chatId') of the messages that are to be marked as read by the local user.

Since
R4