toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'id': id,
'url': url,
'hide_url': hideUrl,
'title': title,
'description': description,
'thumbnail_url': thumbnailUrl,
'thumbnail_width': thumbnailWidth,
'thumbnail_height': thumbnailHeight,
'reply_markup': replyMarkup?.toJson(),
'input_message_content': inputMessageContent.toJson(),
};