toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'url': url,
'html': html,
'poster_photo': posterPhoto?.toJson(),
'width': width,
'height': height,
'caption': caption.toJson(),
'is_full_width': isFullWidth,
'allow_scrolling': allowScrolling,
};