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