◆ getReaction:
Gets the Reaction content by the Reaction ID.
- Parameters
-
- Returns
- The Reaction content.
◆ initWithConversationID:body:ext:
- (id _Nonnull) initWithConversationID: |
|
(NSString *_Nonnull) |
aConversationId |
body: |
|
(AgoraChatMessageBody *_Nonnull) |
aBody |
ext: |
|
(NSDictionary *_Nullable) |
aExt |
|
|
| |
Initializes a message instance.
- Parameters
-
aConversationId | The conversation ID. |
aBody | The message body. |
aExt | The message extention. |
- Returns
- The message instance.
◆ initWithConversationID:from:to:body:ext:
- (id _Nonnull) initWithConversationID: |
|
(NSString *_Nonnull) |
aConversationId |
from: |
|
(NSString *_Nonnull) |
aFrom |
to: |
|
(NSString *_Nonnull) |
aTo |
body: |
|
(AgoraChatMessageBody *_Nonnull) |
aBody |
ext: |
|
(NSDictionary *_Nullable) |
aExt |
|
|
| |
Initializes a message instance.
- Parameters
-
aConversationId | The conversation ID. |
aFrom | The user that sends the message. |
aTo | The user that receives the message. |
aBody | The message body. |
aExt | The message extention. |
- Returns
- The message instance.
◆ body
◆ chatThread
Get an overview of the thread in the message (currently only supported by group messages)
◆ chatType
- (AgoraChatType) chatType |
|
readwritenonatomicassign |
◆ conversationId
- (NSString* _Nonnull) conversationId |
|
readwritenonatomiccopy |
The conversation ID, which is the unique identifier of the conversation.
◆ direction
- (AgoraChatMessageDirection) direction |
|
readwritenonatomicassign |
The message delivery direction.
◆ ext
- (NSDictionary* _Nullable) ext |
|
readwritenonatomiccopy |
The custom message extension.
This member is in the key-value format, where the key is the extension field name of the NSString type, and the value must be of the NSString or NSNumber(Bool, Int, unsigned int, long long, double) type.
◆ from
- (NSString* _Nonnull) from |
|
readwritenonatomiccopy |
The user sending the message.
◆ groupAckCount
The number of read receipts for group messages.
◆ isChatThreadMessage
- (BOOL) isChatThreadMessage |
|
readwritenonatomicassign |
Is it a message sent within a thread
◆ isDeliverAcked
For the message sender, this property indicates whether the delivery receipt is received.
- For the message sender, this property indicates whether the delivery receipt is received.
- For the message recipient, this property indicates whether the delivery receipt is sent.
If you set enableDeliveryAck
in AgoraChatOptions as YES
, the SDK automatically sends the delivery receipt after receiving a message.
◆ isListened
Whether the voice message is played.
◆ isNeedGroupAck
Whether read receipts are required for group messages.
◆ isRead
Whether the message is read.
◆ isReadAcked
Whether the message read receipt (from the message sender) is sent or received (by the message recipient).
◆ localTime
The Unix timestamp for the local client sending or receiving the message.
◆ messageId
- (NSString* _Nonnull) messageId |
|
readwritenonatomiccopy |
The message ID, which is the unique identifier of the message.
◆ onlineState
(Local database does not store. The default value for reading or pulling roaming messages from the database is YES) Message Online Status
◆ reactionList
◆ status
- (AgoraChatMessageStatus) status |
|
readwritenonatomicassign |
◆ timestamp
The Unix timestamp for the chat server receiving the message. The unit is second.
◆ to
- (NSString* _Nonnull) to |
|
readwritenonatomiccopy |
The user receiving the message.
The documentation for this class was generated from the following file: