#import <EMMessage.h>
- (id) initWithConversationID: |
|
(NSString *) |
aConversationId |
from: |
|
(NSString *) |
aFrom |
to: |
|
(NSString *) |
aTo |
body: |
|
(EMMessageBody *) |
aBody |
ext: |
|
(NSDictionary *) |
aExt |
|
|
| |
Initialize message instance
- Parameters
-
aConversationId | Conversation id |
aFrom | The sender |
aTo | The receiver |
aBody | Message body |
aExt | Message extention |
- Returns
- Message instance
- (NSString*) conversationId |
|
readwritenonatomiccopy |
Unique identifier of message's conversation
- (EMMessageDirection) direction |
|
readwritenonatomicassign |
Message extention
Key type must be NSString, Value type must be NSString or NSNumber of BOOL, int, unsigned in, long long, double.
Whether delivery ack has been sent or received, it indicates whether has received delivery ack for send, and whether has send delivery ack for receiver, SDK will automatically send delivery ack if EMOptions has set enableDeliveryAck
Whether the message has been read
Whether read ack has been sent or received, it indicates whether has received read ack for sender, and whether has send read ack for receiver
The time of client send/received this message
Unique identifier of message
- (EMMessageStatus) status |
|
readwritenonatomicassign |
Timestamp, the time of server received this message
The documentation for this class was generated from the following file: