Message
The message object that contains and stores the message information received by the client, corresponding to the message in the chat UI.
Author
rongcloud
Constructors
Types
Properties
Link copied to clipboard
public ConversationType conversationType
Link copied to clipboard
Link copied to clipboard
public boolean isEmptyContent
Indicates whether the content of this message is empty.
Link copied to clipboard
public MessageConfig messageConfig
Link copied to clipboard
Link copied to clipboard
public MessagePushConfig messagePushConfig
Link copied to clipboard
Link copied to clipboard
public ReadReceiptInfo readReceiptInfo
Link copied to clipboard
public ReadReceiptInfoV4 readReceiptInfoV4
Shared by v2 and v4
Link copied to clipboard
Link copied to clipboard
public long receivedTime
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Get Channel ID
Link copied to clipboard
Retrieves the message content.
Link copied to clipboard
Retrieves the conversation type.
Link copied to clipboard
Get the list of targeted users Returns empty for one-to-one chat conversation type
Link copied to clipboard
List of message extension information
Link copied to clipboard
Get Read Receipt V2 Information
Link copied to clipboard
Get Message Configuration
Link copied to clipboard
Retrieves the message direction.
Link copied to clipboard
Retrieves the unique value (database index unique value) of the locally stored message.
Link copied to clipboard
Get Push Notification Configuration
Link copied to clipboard
Gets the name of the message object.
Link copied to clipboard
Get the read receipt status
Link copied to clipboard
Retrieves the Read Receipt V4 information.
Link copied to clipboard
Link copied to clipboard
Retrieves the receipt status of the message.
Link copied to clipboard
Gets the message received time (Unix timestamp in milliseconds).
Link copied to clipboard
Retrieves the user ID of the message sender.
Link copied to clipboard
Retrieves the sending status of the message.
Link copied to clipboard
Get the message sending time (Unix timestamp, in milliseconds).
Link copied to clipboard
Retrieves the target ID.
Link copied to clipboard
Indicates whether the message can include extended information.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Indicates whether the message has been modified.
Link copied to clipboard
Link copied to clipboard
Sets whether to include extended information.
Link copied to clipboard
Sets the channel ID with a maximum length of 20 characters.
Link copied to clipboard
Sets the message content.
Link copied to clipboard
Sets the conversation type.
Link copied to clipboard
Set the list of targeted users
Link copied to clipboard
Link copied to clipboard
Set the message extension information list Extension information is only supported for one-to-one chat and group chat.
Link copied to clipboard
Sets the read receipt V2 information.
Link copied to clipboard
Sets whether the message has been modified.
Link copied to clipboard
Set message configuration
Link copied to clipboard
Sets the message direction.
Link copied to clipboard
Sets the unique value for the locally stored message (database index unique value).
Link copied to clipboard
Set push notification configuration
Link copied to clipboard
Sets the name of the message object.
Link copied to clipboard
Sets whether the message is an offline message.
Link copied to clipboard
Sets the read receipt status
Link copied to clipboard
Sets the read receipt V4 information
Link copied to clipboard
Link copied to clipboard
Sets the received status of the message.
Link copied to clipboard
Sets the message received time (Unix timestamp in milliseconds).
Link copied to clipboard
Sets the user ID of the message sender.
Link copied to clipboard
Sets the sending status of the message.
Link copied to clipboard
Sets the message sending time (Unix timestamp in milliseconds).
Link copied to clipboard
Sets the target ID.
Link copied to clipboard