toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'unique_id': uniqueId.toString(),
'is_active': isActive,
'was_missed': wasMissed,
'is_video': isVideo,
'duration': duration,
'other_participant_ids': [for (final e in otherParticipantIds) e.toJson()],
};