setSilentMode method

Future<void> setSilentMode({
  1. required String conversationId,
  2. required ConversationType type,
  3. required ChatSilentModeParam param,
})

Implementation

Future<void> setSilentMode({
  required String conversationId,
  required ConversationType type,
  required ChatSilentModeParam param,
}) {
  return checkResult(ChatSDKEvent.setSilentMode, () {
    return Client.getInstance.pushManager.setConversationSilentMode(
      conversationId: conversationId,
      type: type,
      param: param,
    );
  });
}