UpdateGroupCallParticipants.fromJson constructor

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

Parses a UpdateGroupCallParticipants from TDLib JSON.

Implementation

factory UpdateGroupCallParticipants.fromJson(Map<String, dynamic> json) =>
    UpdateGroupCallParticipants(
      groupCallId: _readInt(json['group_call_id']),
      participantUserIds: _readList<int>(
        json['participant_user_ids'],
        _readInt,
      ),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );