set Conversation Channel Notification Level
public abstract void setConversationChannelNotificationLevel(ConversationType conversationType, String targetId, String channelId, IRongCoreEnum.PushNotificationLevel level, IRongCoreCallback.OperationCallback callback)
Sets the message reminder status for a conversation. To cancel the setting, call this method and pass PUSH_NOTIFICATION_LEVEL_ALL_MESSAGE as the level parameter.
Note: Not supported for chatrooms!
Note: For ultra groups, this API is used to set the Do Not Disturb status for specific channels.
Since
5.2.2
Parameters
conversation Type
The type of conversation. Chatroom type is not supported as chatrooms do not accept message reminders by default.
target Id
The ID of the conversation. Depending on the conversationType, this could be a user ID, discussion group ID, or group ID.
channel Id
The business identifier of the conversation to which the message belongs.
level
The message reminder level to set for the conversation.
callback
The callback for the setting status.