BotCommandScopeChatAdministrators.fromJson constructor

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

Parse from a json

Implementation

factory BotCommandScopeChatAdministrators.fromJson(
        Map<String, dynamic> json) =>
    BotCommandScopeChatAdministrators(
      chatId: json['chat_id'],
    );