toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'source_groups': [for (final e in sourceGroups) e.toJson()],
'endpoint_id': endpointId,
'is_paused': isPaused,
};