GiveawayResult#
- class pyrogram.types.GiveawayResult#
An giveaway result.
- Parameters:
chat (List of
Chat
) – Channel which host the giveaway.quantity (
int
) – Total number of subscriptions in this giveaway.winners_count (
int
) – Number of winners who claimed their gift.unclaimed_count (
int
) – Unclaimed giveaway subscriptions count.winners (List of
User
) – A list of giveaway winners.months (
int
) – Number of months for which a subscription is given.until_date (
datetime
) – Date when the giveaway will end.launch_message_id (
int
) – Identifier of the original message with the giveaway.launch_message (
Message
, optional) – Returns the original giveaway start message. If the channel is private, returns Nonestars (
int
, optional) – Stars amount.description (
str
, optional) – Prize description.only_new_subscribers (
bool
, optional) – True, if this giveaway is for new subscribers only.is_refunded (
bool
, optional) – True, if this giveaway was refunded.