|
readnonatomicstrong |
Message ID.
|
readnonatomicstrong |
UTC timestamp of the message.
|
readnonatomicstrong |
Sender's userID.
|
readnonatomicstrong |
Sender's nickname.
|
readnonatomicstrong |
Sender's friend remark. If friend information has not been pulled or the user is not a friend, nil will be returned.
|
readnonatomicstrong |
Get the message sender's alias in the group (valid for group messages)
|
readnonatomicstrong |
Sender's profile photo URL.
|
readnonatomicstrong |
Get the groupID. If the message is not a group message, nil will be returned.
|
readnonatomicstrong |
Get the ID of the other user for one-to-one messages (whether sent by the local or remote user). For group messages, nil will be returned.
|
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 are not necessarily strictly incremented or unique.
|
readnonatomicassign |
Random number of the message.
|
readnonatomicassign |
Message sending status.
|
readnonatomicassign |
Whether the message sender is the current user.
|
readnonatomicassign |
Whether the message has been read by the current user.
|
readnonatomicassign |
Whether the message was read by the other user(valid only for one-to-one messages). YES will be returned if the message timestamp is equal to or smaller than the timestamp when the other user marked the message as read.
|
readwritenonatomicassign |
Set whether to enable read receipts
For group chats, read receipts are supported in 6.1 and later versions. You need to go to the Chat console to set the group types that support the feature first.
For one-to-one chats, the feature is supported in 6.2 and later versions.
The feature is only available in the Premium Edition.
|
readwritenonatomicassign |
Set whether to enable message extension (supported only in Chat Premium 6.7 and later versions)
You need to configure message extension in the Chat console first. AVChatRoom groups do not support this feature.
You need to buy Premium Edition to use this feature.
|
readnonatomicassign |
Whether the message is a broadcast message (supported only for AVChatRoom groups in Chat Premium v6.5 or later)
|
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 |
Get the content of a text message (V2TIM_ELEM_TYPE_TEXT)
|
readnonatomicstrong |
Get the content of a custom message (V2TIM_ELEM_TYPE_CUSTOM)
|
readnonatomicstrong |
Get the content of an image message (V2TIM_ELEM_TYPE_IMAGE)
|
readnonatomicstrong |
Get the content of a voice message (V2TIM_ELEM_TYPE_SOUND)
|
readnonatomicstrong |
Get the content of a video message (V2TIM_ELEM_TYPE_VIDEO)
|
readnonatomicstrong |
Get the content of a file message (V2TIM_ELEM_TYPE_FILE, fileElem)
|
readnonatomicstrong |
Get the content of a location message (V2TIM_ELEM_TYPE_LOCATION)
|
readnonatomicstrong |
Get the content of an emoji message (V2TIM_ELEM_TYPE_FACE)
|
readnonatomicstrong |
Get the content of a forwarded message (V2TIM_ELEM_TYPE_MERGER)
|
readnonatomicstrong |
Get the content of a group tip message (V2TIM_ELEM_TYPE_GROUP_TIPS)
|
readwritenonatomicstrong |
Custom message data. The data is saved locally and will not be sent. It will be lost after the app is reinstalled.
|
readwritenonatomicassign |
Custom message data. The data is saved locally and will not be sent. It will be lost after the app is reinstalled.
|
readwritenonatomicstrong |
Cloud custom data. The data is saved in the cloud and will be sent. It can be pulled even after the app is reinstalled.
|
readwritenonatomicassign |
Set or get whether to exclude the message from the unread message count. NO (default): included in the unread message count; YES: excluded from the unread message count
Supported only in 5.3.425 and later versions and not supported by meeting groups by default
|
readwritenonatomicassign |
Set or get whether to skip the message when determining the conversation's lastMessage. NO (default): do not skip; YES: skip Supported only in 5.4.666 and later versions.
|
readwritenonatomicassign |
Get or set whether the current message is excluded from content moderation (cloud moderation). Works only if cloud moderation is enabled. Supported only in 7.1 and later versions.
|
readwritenonatomicstrong |
Message custom moderation configuration ID(supported in 7.8 and later versions and valid only if cloud moderation is enabled) You can go to the console (On-cloud moderation -> Moderation configuration -> Custom configuration -> Add custom configuration) to get the configuration ID.
|
readnonatomicassign |
Whether the current message is identified as risk message (supported only in 7.4 and later versions) This feature is only supported for voice and video messages. This API works only if cloud moderation is enabled. If a voice or video message sent is non-compliant, the onRecvMessageModified callback will be triggered, and the "hasRiskContent()" field in the callback message will be "YES".
|
readwritenonatomicassign |
Whether to disable the cloud message hook before sending(supported only in imsdk 8.1 and later versions)
|
readwritenonatomicassign |
Whether to disable the cloud message hook after sending(supported only in imsdk 8.1 and later versions)
|
readnonatomicstrong |
Offline push information of the message.
|
readnonatomicstrong |
Get the recaller's info (supported only in 7.4 and later versions) Valid only for recalled messages
|
readnonatomicstrong |
Get the reason for recalling the message (supported only in 7.4 and later versions) Valid only for recalled messages
|
readnonatomicstrong |
Pinner's info (supported only in imsdk 8.0 and later versions) This field is only present in the pinned messages obtained through the GetPinnedGroupMessageList API.