GiveawayCreated¶
- class aiogram.types.giveaway_created.GiveawayCreated(*, prize_star_count: int | None = None, **extra_data: Any)[source]¶
This object represents a service message about the creation of a scheduled giveaway.
Source: https://core.telegram.org/bots/api#giveawaycreated
- prize_star_count: int | None¶
Optional. The number of Telegram Stars to be split between giveaway winners; for Telegram Star giveaways only
- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_post_init(context: Any, /) None ¶
We need to both initialize private attributes and call the user-defined model_post_init method.