Skip to main content

Local message extensions apply only to messages on the current client and are not synchronized to remote clients.

Parameters

NameTypeDescriptionVersion
clientMsgNolongLocally unique message number1.0.0
attributeStringLocal attribute. JSON can be used for complex application scenarios.1.0.0

Code Example

JIM.getInstance().getMessageManager().setLocalAttribute(123L, "attribute1");