StarsGiveawayWinnersOption
- class pyrogram.raw.types.StarsGiveawayWinnersOption
Allowed options for the number of giveaway winners.
Constructor of
StarsGiveawayWinnersOption.- Details:
Layer:
223ID:
54236209
- Parameters:
users (
int32-bit) – The number of users that will be randomly chosen as winners.per_user_stars (
int64-bit) – The number of Telegram Stars each winner will receive.default (
bool, optional) – If set, this option must be pre-selected by default in the option list.
TL Schema
starsGiveawayWinnersOption#54236209
flags:#
default:flags.0?true
users:int
per_user_stars:long
= StarsGiveawayWinnersOption
Parameter Tree
StarsGiveawayWinnersOption
├── default →
true (optional)├── users →
int└── per_user_stars →
longExample
StarsGiveawayWinnersOption(
users=0,
per_user_stars=0,
)