setConversationNotificationStatus

public abstract void setConversationNotificationStatus(ConversationType conversationType, String targetId, String channelId, ConversationNotificationStatus notificationStatus, IRongCoreCallback.ResultCallback<ConversationNotificationStatus> callback)

Sets the message notification status for a conversation.

Note: Chatrooms are not supported!

Since

5.1.1

Parameters

conversationType

The type of conversation. Chatroom type is not supported because chatrooms do not accept message notifications by default.

targetId

The ID of the conversation. Depending on the conversationType, this could be a user ID, discussion group ID, or group ID.

channelId

The business identifier of the conversation to which the message belongs.

notificationStatus

The message notification status to set for the conversation .

callback

The callback for setting the status.