payments.getStarsGiftOptions

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

---functions---
payments.getStarsGiftOptions#d3c96bc8 flags:# user_id:flags.0?InputUser = Vector<StarsGiftOption>;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
user_id flags.0?InputUser Receiver of the gift (optional).

Result

Vector<StarsGiftOption>

Related pages

Telegram Stars

Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.

starsGiftOption

Telegram Stars gift option.