updateMessageExpansion

public abstract void updateMessageExpansion(Map<String, String> expansion, String messageUId, RongIMClient.OperationCallback callback)

Update message extension information

Each message can carry a maximum of 300 key-value pairs of extension information. A single update can set a maximum of 20 key-value pairs.

Parameters

expansion

The key-value pairs of message extension information to be updated, of type HashMap. Key supports combinations of uppercase and lowercase letters, numbers, and special symbols + = - _. Chinese characters are not supported. Value can include spaces.

messageUId

The message messageUId

callback

Callback for updating extension information