UpdateNewInlineCallbackQuery.fromJson constructor

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

Parse from a json

Implementation

factory UpdateNewInlineCallbackQuery.fromJson(Map<String, dynamic> json) => UpdateNewInlineCallbackQuery(
  id: int.parse(json['id']),
  senderUserId: json['sender_user_id'],
  inlineMessageId: json['inline_message_id'],
  chatInstance: int.parse(json['chat_instance']),
  payload: CallbackQueryPayload.fromJson(json['payload']),
  extra: json['@extra'],
  clientId: json['@client_id'],
);