toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'title': title,
'description': description.toJson(),
'photo': photo?.toJson(),
'date': date,
'seller_bot_user_id': sellerBotUserId,
'payment_provider_user_id': paymentProviderUserId,
'invoice': invoice.toJson(),
'order_info': orderInfo?.toJson(),
'shipping_option': shippingOption?.toJson(),
'credentials_title': credentialsTitle,
'tip_amount': tipAmount,
};