toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'id': id,
'title': title,
'scheduled_start_date': scheduledStartDate,
'enabled_start_notification': enabledStartNotification,
'is_active': isActive,
'is_rtmp_stream': isRtmpStream,
'is_joined': isJoined,
'need_rejoin': needRejoin,
'can_be_managed': canBeManaged,
'participant_count': participantCount,
'has_hidden_listeners': hasHiddenListeners,
'loaded_all_participants': loadedAllParticipants,
'recent_speakers': [for (final e in recentSpeakers) e.toJson()],
'is_my_video_enabled': isMyVideoEnabled,
'is_my_video_paused': isMyVideoPaused,
'can_enable_video': canEnableVideo,
'mute_new_participants': muteNewParticipants,
'can_toggle_mute_new_participants': canToggleMuteNewParticipants,
'record_duration': recordDuration,
'is_video_recorded': isVideoRecorded,
'duration': duration,
};