toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'receiver_id': receiverId.toJson(),
'date': date,
'star_count': starCount,
'auction_round_number': auctionRoundNumber,
'auction_round_position': auctionRoundPosition,
'unique_gift_number': uniqueGiftNumber,
'text': text.toJson(),
'is_private': isPrivate,
};