payments.getStarsGiftOptions

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

 Method schema is available as of layer 185. Switch »

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.