BotCommandScopeChat.fromJson constructor
Parses a BotCommandScopeChat from TDLib JSON.
Implementation
factory BotCommandScopeChat.fromJson(Map<String, dynamic> json) =>
BotCommandScopeChat(
chatId: _readInt(json['chat_id']),
);
Parses a BotCommandScopeChat from TDLib JSON.
factory BotCommandScopeChat.fromJson(Map<String, dynamic> json) =>
BotCommandScopeChat(
chatId: _readInt(json['chat_id']),
);