toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'video': video.toJson(),
'alternative_videos': [for (final e in alternativeVideos) e.toJson()],
'storyboards': [for (final e in storyboards) e.toJson()],
'cover': cover?.toJson(),
'start_timestamp': startTimestamp,
};