setExpansion

public void setExpansion(HashMap<String, String> expansion)

Set the message extension information list

Extension information is only supported for one-to-one chat and group chat. Other conversation types cannot set extension information.

By default, the message extension dictionary key length cannot exceed 32, and the value length cannot exceed 4096. The maximum number of extensions that can be set at once is 20, and the total number of extensions for a message cannot exceed 300.

Parameters

expansion

The message extension information list