peyk.platforms.telegram.types.giveaway_completed¶
Classes
|
This object represents a service message about the completion of a giveaway without public winners. |
- class peyk.platforms.telegram.types.giveaway_completed.GiveawayCompleted(winner_count: int, unclaimed_prize_count: int | None = None, giveaway_message: Message | None = None, is_star_giveaway: bool | None = None)[source]¶
Bases:
objectThis object represents a service message about the completion of a giveaway without public winners.
- Variables:
winner_count (int) – Number of winners in the giveaway
unclaimed_prize_count (int | None) – Number of undistributed prizes
giveaway_message (peyk.platforms.telegram.types.message.Message | None) – Message with the giveaway that was completed, if it wasn’t deleted
is_star_giveaway (bool | None) – True, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram Premium giveaway.
- winner_count: int¶
- unclaimed_prize_count: int | None = None¶
- is_star_giveaway: bool | None = None¶
- classmethod from_dict(data)¶
- giveaway_message_id = None¶