Converts this object to TDLib JSON.
@override Map<String, dynamic> toJson() => { '@type': CONSTRUCTOR, 'url': url, 'mime_type': mimeType, 'width': width, 'height': height, 'duration': duration, };