#import <EMMessage.h>
- (id) initWithConversationID: |
|
(NSString *) |
aConversationId |
from: |
|
(NSString *) |
aFrom |
to: |
|
(NSString *) |
aTo |
body: |
|
(EMMessageBody *) |
aBody |
ext: |
|
(NSDictionary *) |
aExt |
|
|
| |
Initialize a 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, int, unsigned in, long long, or double. Please use NSNumber ( or ) instead of BOOL.
Whether delivery acknowledgement has been sent or received, it indicates whether the sender has received a message deliver acknowledgement, or whether the recipient has sent a message deliver acknowledgement, SDK will automatically send delivery acknowledgement if EMOptions is set to enableDeliveryAck
Whether the message has been read
Whether read acknowledgement has been sent or received, it indicates whether the sender has received a message read acknowledgement, or whether the recipient has sent a message read acknowledgement
The time of client send/receive the 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: