|
readnonatomicstrong |
Message ID.
|
readnonatomicstrong |
UTC timestamp of the message.
|
readnonatomicstrong |
Sender's userID.
|
readnonatomicstrong |
Sender's nickname.
|
readnonatomicstrong |
Sender's friend remark. If you have not pulled the friend information or are not a friend, nil is returned.
|
readnonatomicstrong |
For a group message, nameCard is the group name card of the sender.
|
readnonatomicstrong |
Sender's profile photo URL.
|
readnonatomicstrong |
For a group message, groupID is the message receiving group ID. Otherwise, groupID is null.
|
readnonatomicstrong |
For a one-to-one message, userID is the conversation user ID. Otherwise, userID is null. Suppose you are chatting with userA, regardless of whether it is a message sent to userA by yourself or a message sent to yourself by userA, the userID here is userA.
|
readnonatomicassign |
Sequence number of the message Message sequence numbers in group chats are generated in the cloud and are strictly incremented and unique within the group. Message sequence numbers in one-to-one chats are generated locally and cannot be guaranteed to be strictly incremented and unique.
|
readnonatomicassign |
Random number of the message.
|
readnonatomicassign |
Message sending status.
|
readnonatomicassign |
Whether the message sender is the current user.
|
readnonatomicassign |
Whether the message is read by the current user.
|
readnonatomicassign |
Whether the message is read by the peer party (valid only for one-to-one messages) The condition for this field to be YES is that the message timestamp <= the time when the peer marked conversation as read
|
readwritenonatomicassign |
Whether a read receipt is required
This feature for group chats is supported in 6.1 and later version. And you need to go to the IM console to enable this feature for specific group type.
This feature for one-to-one chats is supported in 6.2 and later version.
You need to buy Flagship Edition to use this feature for both group and one-to-one chats.
|
readwritenonatomicassign |
Whether to support message extension (supported only in 6.7 and later versions)
AVChatRoom message do not support this feature.
You need to go to the IM console to enable this feature.
You need to buy Flagship Edition to use this feature.
|
readnonatomicassign |
Whether the message is a kind of broadcast message Only supported in AVChatRoom Only supported in 6.5 and later versions and need to buy Flagship Edition
|
readnonatomicassign |
Message priority (valid only for the message of the onRecvNewMessage callback)
|
readnonatomicstrong |
UserID list of users who has been @ in the group message.
|
readnonatomicassign |
Message type.
|
readnonatomicstrong |
If the message type is V2TIM_ELEM_TYPE_TEXT, textElem stores the content of the text message.
|
readnonatomicstrong |
If the message type is V2TIM_ELEM_TYPE_CUSTOM, customElem stores the content of the custom message.
|
readnonatomicstrong |
If the message type is V2TIM_ELEM_TYPE_IMAGE, imageElem stores the content of the image message.
|
readnonatomicstrong |
If the message type is V2TIM_ELEM_TYPE_SOUND, soundElem stores the content of the voice message.
|
readnonatomicstrong |
If the message type is V2TIM_ELEM_TYPE_VIDEO, videoElem stores the content of the video message.
|
readnonatomicstrong |
If the message type is V2TIM_ELEM_TYPE_FILE, fileElem stores the content of the file message.
|
readnonatomicstrong |
If the message type is V2TIM_ELEM_TYPE_LOCATION, locationElem stores the content of the geographical location message.
|
readnonatomicstrong |
If the message type is V2TIM_ELEM_TYPE_FACE, faceElem stores the content of the emoji message.
|
readnonatomicstrong |
If the message type is V2TIM_ELEM_TYPE_MERGER, relayElem stores the content of the forward message.
|
readnonatomicstrong |
If the message type is V2TIM_ELEM_TYPE_GROUP_TIPS, groupTipsElem stores the content of the group tip message.
|
readwritenonatomicstrong |
Local custom message data (saved locally, will not be sent to the peer end, and will become invalid after the app is uninstalled and reinstalled)
|
readwritenonatomicassign |
Local custom message data (saved locally, will not be sent to the peer end, and will become invalid after the app is uninstalled and reinstalled)
|
readwritenonatomicstrong |
Cloud custom data (saved in the cloud, will be sent to the peer end, and can still be pulled after the app is uninstalled and reinstalled)
|
readwritenonatomicassign |
Whether the message is excluded from the conversation unread message count. NO (default): included in the unread message count of the conversation; YES: excluded from the conversation unread message count
Supported only in 5.3.425 and later versions. Meeting group does not support this field by default.
|
readwritenonatomicassign |
Whether the message is excluded from the conversation lastMessage. NO (default): included in the conversation lastMessage; YES: excluded from the conversation lastMessage Supported only in 5.4.666 and later versions.
|
readwritenonatomicassign |
Specify Whether the current message will be excluded from content moderation (including [Local moderation] and [Cloud moderation]). Its default value is NO. Valid only after the [Local Moderation] or [Cloud Moderation] function is activated. [Local moderation] please refer to document local moderation function. [Cloud moderation] please refer to document cloud moderation function Supported only in 7.1 and later versions.
|
readnonatomicassign |
Whether the current message is identified as risk message (supported only in 7.4 and later versions) Only messages containing sound and video are supported. It will take effect after you enabling the [Cloud Moderation] feauture, [Cloud Moderation] please refer to document cloud moderation function. If you send a risky sound or video message, you will receive the onRecvMessageModified callback with this field being set to YES after the cloud moderation.
|
readnonatomicstrong |
Offline push information of the message.
|
readnonatomicstrong |
Revoker's info (supported only in imsdk 7.4 and later versions) Valid only for revoked message
|
readnonatomicstrong |
Revoke reason (supported only in imsdk 7.4 and later versions) Valid only for revoked message