CommunityMemberChats.fromJson constructor

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

Parses a CommunityMemberChats from TDLib JSON.

Implementation

factory CommunityMemberChats.fromJson(Map<String, dynamic> json) =>
    CommunityMemberChats(
      ownedChatIds: _readList<int>(json['owned_chat_ids'], _readInt),
      joinedChatIds: _readList<int>(json['joined_chat_ids'], _readInt),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );