peyk.platforms.telegram.types.giveaway_created¶
Classes
|
This object represents a service message about the creation of a scheduled giveaway. |
- class peyk.platforms.telegram.types.giveaway_created.GiveawayCreated(prize_star_count: int | None = None)[source]¶
Bases:
objectThis object represents a service message about the creation of a scheduled giveaway.
- Variables:
prize_star_count (int | None) – The number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only
- prize_star_count: int | None = None¶
- classmethod from_dict(data: dict | None) GiveawayCreated | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.