force Set Chat Room Entry
Forces the setting of custom attributes for a chatroom.
If the key does not exist, the attribute is added; if the key already exists, the attribute's value is 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 supports a combination of uppercase and lowercase English letters, numbers, and special symbols + = - _. 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 ChatRoomKVNotiMessage.
Whether to delete the attribute after exiting
Custom fields for the notification. The notification message will include this field. The maximum length is 2 KB.
The callback for setting the chatroom attributes