MessageGroupCall.fromJson constructor
Parses a MessageGroupCall from TDLib JSON.
Implementation
factory MessageGroupCall.fromJson(Map<String, dynamic> json) =>
MessageGroupCall(
uniqueId: _readInt(json['unique_id']),
isActive: _readBool(json['is_active']),
wasMissed: _readBool(json['was_missed']),
isVideo: _readBool(json['is_video']),
duration: _readInt(json['duration']),
otherParticipantIds: _readList<MessageSender>(
json['other_participant_ids'],
(e) => _readObject(e, MessageSender.fromJson),
),
);