Optional
conversationOptional
messageMessage type
Optional
targetSession ID
Optional
channelBusiness ID of the session, limited to 20 characters
Optional
messageUnique ID for messages stored in the local database. Don’t specify this ID when sending new messages—it’ll cause the message to fail to save. For retrying failed messages, use the ID of the previously saved message instance.
Optional
messageUIdUnique server message ID (globally unique under the same Appkey)
Optional
offIndicates if it's an offline message. Only valid in the message reception callback. Returns YES for offline messages, otherwise NO.
Optional
groupGroup read receipt status
Optional
receivedMessage received time (Unix timestamp, milliseconds)
Optional
sentMessage send time (Unix timestamp, milliseconds)
Optional
receivedMessage receipt status
Optional
sentMessage delivery status
Optional
senderSender ID of the message
Optional
directionMessage direction
Optional
userUser info in the message
Optional
mentionedMessage @ info
Optional
pushMessage push configuration
Optional
extraAdditional message fields
Optional
expansionMessage expansion information. Set this property before sending a message to enable the message expansion feature; otherwise, the message expansion feature cannot be used.
After sending a message successfully, use the updateMessageExpansion
interface to update the expansion information.
Message extension key length should not exceed 32 characters, and value length should not exceed 4096 characters. The maximum number of extensions that can be set at one time is 20, and the total number of extensions for a message cannot exceed 300."
Note: Extension information is only supported for private chats and groups; extension information cannot be set for other conversation types.
Session type