PrepaidStarsGiveaway

class pyrogram.raw.types.PrepaidStarsGiveaway

Contains info about a prepaid Telegram Star giveaway ».

Constructor of PrepaidGiveaway.

Details:
  • Layer: 223

  • ID: 9A9D77E0

Parameters:
  • id (int 64-bit) – Prepaid giveaway ID.

  • stars (int 64-bit) – Number of given away Telegram Stars »

  • quantity (int 32-bit) – Number of giveaway winners

  • boosts (int 32-bit) – Number of boosts the channel will gain by launching the giveaway.

  • date (int 32-bit) – When was the giveaway paid for

TL Schema

prepaidStarsGiveaway#9a9d77e0
id:long
stars:long
quantity:int
boosts:int
date:int

= PrepaidGiveaway

Parameter Tree

PrepaidStarsGiveaway
├── idlong
├── starslong
├── quantityint
├── boostsint
└── dateint

Example

PrepaidStarsGiveaway(
    id=0,
    stars=0,
    quantity=0,
    boosts=0,
    date=0,
)