clearMessagesAndKVWhenJoinChatRoom

public void clearMessagesAndKVWhenJoinChatRoom(boolean clear)

Specifies whether to clear the local history messages and KV of the chatroom when joining. By default, history messages and KV are cleared.

Parameters

clear

Indicates whether to clear history messages and KV. Set to `true` to clear, or `false` to retain.