toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'gift': gift.toJson(),
'price': price.toJson(),
'offer_message_id': offerMessageId,
'was_expired': wasExpired,
};