setConversationTypeNotificationLevel

public abstract void setConversationTypeNotificationLevel(ConversationType conversationType, IRongCoreEnum.PushNotificationLevel level, IRongCoreCallback.OperationCallback callback)

Specifies Do Not Disturb settings for a specific conversation type

Configures Do Not Disturb settings for specific conversation types. Supported types include: one-to-one chat, group chat, ultra group, and system conversation.

Since

5.2.2

Parameters

conversationType

The conversation type. Chatroom type is not supported as chatrooms do not receive message notifications by default.

level

The message notification level for the conversation.

callback

Callback for the setting status.