set Chat Room Entry
Sets custom attributes for a chatroom.
If the key does not exist, the attribute is added; if the key already exists, only the attribute value set by the current user can be updated.Note: The chatroom status storage feature must be enabled first.
Parameters
The ID of the chatroom.
The name of the chatroom attribute. The key can include uppercase and lowercase letters, numbers, and special characters + = - _. The maximum length is 128 characters.
The value corresponding to the chatroom attribute. The maximum length is 4096 characters.
Whether to send a notification. If a notification is sent, the SDK will receive the notification message .
Whether to delete the attribute after exiting the chatroom.
Custom fields for the notification. This field will be included in the notification message io.rong.imlib.chatroom.message.ChatRoomKVNotiMessage, with a maximum length of 2 KB.
The callback for setting the chatroom attributes.