InputMessageGame.fromJson constructor

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

Parse from a json

Implementation

factory InputMessageGame.fromJson(Map<String, dynamic> json) =>
    InputMessageGame(
      botUserId: json['bot_user_id'],
      gameShortName: json['game_short_name'],
    );