BotCommandScopeChatMember.fromJson constructor
Creates a new BotCommandScopeChatMember object from json.
Implementation
factory BotCommandScopeChatMember.fromJson(Map<String, dynamic> json) {
return BotCommandScopeChatMember(
chatId: ID.create(json['chat_id']),
userId: json['user_id'] as int,
);
}