toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'suggested_post_info': suggestedPostInfo?.toJson(),
'disable_notification': disableNotification,
'from_background': fromBackground,
'protect_content': protectContent,
'allow_paid_broadcast': allowPaidBroadcast,
'paid_message_star_count': paidMessageStarCount,
'update_order_of_installed_sticker_sets': updateOrderOfInstalledStickerSets,
'scheduling_state': schedulingState?.toJson(),
'effect_id': effectId.toString(),
'sending_id': sendingId,
'only_preview': onlyPreview,
'@type': constructor,
};