UpdateChatHasProtectedContent.fromJson constructor

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

Parse from a json

Implementation

factory UpdateChatHasProtectedContent.fromJson(Map<String, dynamic> json) => UpdateChatHasProtectedContent(
  chatId: json['chat_id'],
  hasProtectedContent: json['has_protected_content'],
  extra: json['@extra'],
  clientId: json['@client_id'],
);