MessageGiveawayPrizeStars.fromJson constructor
Parses a MessageGiveawayPrizeStars from TDLib JSON.
Implementation
factory MessageGiveawayPrizeStars.fromJson(Map<String, dynamic> json) =>
MessageGiveawayPrizeStars(
starCount: _readInt(json['star_count']),
transactionId: _readString(json['transaction_id']),
boostedChatId: _readInt(json['boosted_chat_id']),
giveawayMessageId: _readInt(json['giveaway_message_id']),
isUnclaimed: _readBool(json['is_unclaimed']),
sticker: _readOptional(json['sticker'], Sticker.fromJson),
);