StarsGiftOption

class pyrogram.raw.base.StarsGiftOption

Telegram Stars gift option.

Constructors:

This base type has 1 constructor available.

StarsGiftOption

Telegram Stars gift option.

Functions:

This object can be returned by 1 function.

payments.GetStarsGiftOptions

Obtain a list of Telegram Stars gift options » as starsGiftOption constructors.

TL Schema

starsGiftOption#5e0589f1
flags:#
extended:flags.1?true
stars:long
store_product:flags.0?string
currency:string
amount:long

= StarsGiftOption

Parameter Tree

StarsGiftOption
├── extendedtrue (optional)
├── starslong
├── store_productstring (optional)
├── currencystring
└── amountlong

Example

StarsGiftOption(
    extended=None,
    stars=0,
    store_product="text",
    currency="text",
    amount=0,
)