toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'disable_notification': disableNotification,
'from_background': fromBackground,
'protect_content': protectContent,
'update_order_of_installed_sticker_sets':
updateOrderOfInstalledStickerSets,
'scheduling_state': schedulingState?.toJson(),
'sending_id': sendingId,
'only_preview': onlyPreview,
};