setConversationNotificationStatus

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

Sets the message notification status for a conversation.

Note: Chatrooms are not supported!

Parameters

conversationType

The type of conversation. Chatroom type is not supported as 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.

notificationStatus

The message notification status to set for the conversation .

callback

The callback for setting the status.