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,
),
rights: _readObject(json['rights'], BusinessBotRights.fromJson),
);