removeChatRoomEntry

public abstract void removeChatRoomEntry(String chatRoomId, String key, boolean sendNotification, String notificationExtra, OperationCallback callback)

Deletes custom attributes of a chatroom.

Note: 1. The chatroom status storage feature must be enabled first. 2. Only the attributes set by yourself can be deleted.

Parameters

chatRoomId

The ID of the chatroom.

key

The key of the chatroom attribute.

sendNotification

Whether to send a notification. If enabled, the SDK will receive a notification message ChatRoomKVNotiMessage.

notificationExtra

Custom fields for the notification. This field will be included in the notification message ChatRoomKVNotiMessage, with a maximum length of 2 KB.

callback

The result callback listener.