Used to buy a collectible gift currently up on resale, see here for more info on the full flow.
Constructor schema is available as of layer 211. Switch »
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
ton | flags.0?true | Buy the gift using TON. |
slug | string | Slug of the gift to buy. |
to_id | InputPeer | The receiver of the gift. |
Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.