removeConversationSilentMode method

Future<void> removeConversationSilentMode(
  1. {required String conversationId,
  2. required ChatConversationType type}

Removes the offline push notification settings for a conversation.

After the setting is deleted, the conversation follows the setting of ChatPushManager.setSilentModeForAll of the current logged-in user.

Param conversationId The conversation ID.

Param type The conversation type.

Throws A description of the exception. See ChatError.


Future<void> removeConversationSilentMode({
  required String conversationId,
  required ChatConversationType type,
}) async {
  Map req = {};
  req["conversationId"] = conversationId;
  req["conversationType"] = conversationTypeToInt(type);
  Map result = await PushChannel.invokeMethod(
      ChatMethodKeys.removeConversationSilentMode, req);
  try {
  } on ChatError catch (e) {
    throw e;