GiveawayResult¶
- class pyrogram.types.GiveawayResult¶
A giveaway result.
- Parameters:¶
chat (
Chat
, optional) – Channel which host the giveaway.giveaway_message (
Message
, optional) – The original giveaway message.quantity (
int
) – Quantity of the giveaway prize.unclaimed_quantity (
int
) – Quantity of unclaimed giveaway prize.winners (List of
User
, optional) – The giveaway winners.months (
int
, optional) – How long the telegram premium last (in month).stars (
int
, optional) – How many stars the giveaway winner(s) get.expire_date (
datetime
, optional) – Date the giveaway winner(s) choosen.new_subscribers (
bool
, optional) – True, if the giveaway only for new subscribers.is_refunded (
bool
, optional) – True, if the giveaway was refunded.is_star_giveaway (
bool
, optional) – True, if the giveaway is a star giveaway.is_winners_hidden (
bool
) – True, if the giveaway winners are hidden.