BusinessConnectedBot.fromJson constructor
Parses a BusinessConnectedBot from TDLib JSON.
Implementation
factory BusinessConnectedBot.fromJson(Map<String, dynamic> json) =>
BusinessConnectedBot(
botUserId: _readInt(json['bot_user_id']),
recipients:
_readObject(json['recipients'], BusinessRecipients.fromJson),
canReply: _readBool(json['can_reply']),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);