UpdateChatDefaultDisableNotification.fromJson constructor

UpdateChatDefaultDisableNotification.fromJson(
  1. Map<String, dynamic> json
)

Parses a UpdateChatDefaultDisableNotification from TDLib JSON.

Implementation

factory UpdateChatDefaultDisableNotification.fromJson(
  Map<String, dynamic> json,
) => UpdateChatDefaultDisableNotification(
  chatId: _readInt(json['chat_id']),
  defaultDisableNotification: _readBool(json['default_disable_notification']),
  extra: json['@extra'],
  clientId: _readClientId(json['@client_id']),
);