toJson method
Converts this request to TDLib JSON, tagged with extra if given.
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) => {
'@type': CONSTRUCTOR,
'group_call_id': groupCallId,
'participant_id': participantId?.toJson(),
'audio_source_id': audioSourceId,
'payload': payload,
'is_muted': isMuted,
'is_my_video_enabled': isMyVideoEnabled,
'invite_hash': inviteHash,
if (extra != null) '@extra': extra,
};