UpdateTrustedMiniAppBots.fromJson constructor

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

Parses a UpdateTrustedMiniAppBots from TDLib JSON.

Implementation

factory UpdateTrustedMiniAppBots.fromJson(Map<String, dynamic> json) =>
    UpdateTrustedMiniAppBots(
      botUserIds: _readList<int>(json['bot_user_ids'], _readInt),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );