InputMessageGame.fromJson constructor

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

Parses a InputMessageGame from TDLib JSON.

Implementation

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