FoundChatBoosts.fromJson constructor
Parses a FoundChatBoosts from TDLib JSON.
Implementation
factory FoundChatBoosts.fromJson(Map<String, dynamic> json) =>
FoundChatBoosts(
totalCount: _readInt(json['total_count']),
boosts: _readList<ChatBoost>(
json['boosts'],
(e) => _readObject(e, ChatBoost.fromJson),
),
nextOffset: _readString(json['next_offset']),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);