#import <Message.h>
- (id) initWithConversationID: |
|
(NSString *) |
aConversationId |
from: |
|
(NSString *) |
aFrom |
to: |
|
(NSString *) |
aTo |
body: |
|
(MessageBody *) |
aBody |
ext: |
|
(NSDictionary *) |
aExt |
|
|
| |
Initialize a message instance
- Parameters
-
aConversationId | Conversation id |
aFrom | Sender |
aTo | Receiver |
aBody | Message body |
aExt | Message extention |
- Returns
- Message instance
- (AgoraChatType) chatType |
|
readwritenonatomicassign |
- (NSString*) conversationId |
|
readwritenonatomiccopy |
Unique identifier of conversation, the message's container object
- (MessageDirection) direction |
|
readwritenonatomicassign |
Message extension
Key type must be NSString. Value type must be NSString, or NSNumber object (including int, unsigned in, long long, double, use NSNumber (/) instead of BOOL).
Number of group confirmation messages
Acknowledge if the message is delivered. 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 AgoraOptions is set to enableDeliveryAck
Whether the message has been listen
Whether need group confirmation
Whether the message has been read
Acknowledge if the message is read by the receipient. 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 sends/receives the message
Unique identifier of the message
Timestamp, the time of server received the message
The documentation for this class was generated from the following file: