fromJson static method
Inherited by: InputInlineQueryResultAnimation InputInlineQueryResultArticle InputInlineQueryResultAudio InputInlineQueryResultContact InputInlineQueryResultDocument InputInlineQueryResultGame InputInlineQueryResultLocation InputInlineQueryResultPhoto InputInlineQueryResultSticker InputInlineQueryResultVenue InputInlineQueryResultVideo InputInlineQueryResultVoiceNote
Implementation
static InputInlineQueryResultGame? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InputInlineQueryResultGame(
id: (json['id'] as String?) ?? '',
gameShortName: (json['game_short_name'] as String?) ?? '',
replyMarkup: ReplyMarkup.fromJson(tdMapFromJson(json['reply_markup'])),
);
}