setConversationNotificationStatus

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

设置会话消息提醒状态。

Parameters

conversationType

会话类型。

targetId

目标 Id。根据不同的 conversationType,可能是用户 Id、讨论组 Id、群组 Id。

notificationStatus

是否屏蔽。

callback

设置状态的回调。该回调在主线程中执行,请避免在回调中执行耗时操作,防止 SDK 线程阻塞。