UpdateMessageInteractionInfo.fromJson constructor

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

Parse from a json

Implementation

factory UpdateMessageInteractionInfo.fromJson(Map<String, dynamic> json) =>
    UpdateMessageInteractionInfo(
      chatId: json['chat_id'],
      messageId: json['message_id'],
      interactionInfo: json['interaction_info'] == null
          ? null
          : MessageInteractionInfo.fromJson(json['interaction_info']),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );