toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'creator_id': creatorId?.toJson(),
'creation_date': creationDate,
'is_from_giveaway': isFromGiveaway,
'giveaway_message_id': giveawayMessageId,
'month_count': monthCount,
'user_id': userId,
'use_date': useDate,
};