UpdateChatAvailableReactions.fromJson constructor

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

Parse from a json

Implementation

factory UpdateChatAvailableReactions.fromJson(Map<String, dynamic> json) =>
    UpdateChatAvailableReactions(
      chatId: json['chat_id'],
      availableReactions:
          ChatAvailableReactions.fromJson(json['available_reactions']),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );