BotCommandScopeChatMember.fromJson constructor

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

Parse from a json

Implementation

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