toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'id': id.toString(),
'width': width,
'height': height,
'codec': codec,
'hls_file': hlsFile.toJson(),
'video': video.toJson(),
};