setMessageExtra

public abstract void setMessageExtra(int messageId, String value, IRongCoreCallback.ResultCallback<Boolean> callback)

Sets the additional information for a local message.

This is used to extend the usage scenarios of messages. After setting, messages with additional information can be retrieved via getHistoryMessages.Note: This is only for local use and cannot be synchronized with remote users.

Since

5.0.0

Parameters

messageId

The message ID.

value

The additional information, with a maximum of 1024 bytes.

callback

Callback indicating whether the setting was successful.