toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'commission_per_mille': commissionPerMille,
'affiliate_chat_id': affiliateChatId,
'star_amount': starAmount.toJson(),
};