payments.getStarsGiftOptions
Obtain a list of Telegram Stars gift options » as starsGiftOption constructors.
Obtain a list of [Telegram Stars gift options »](https://core.telegram.org/api/stars.md#buying-or-gifting-stars) as [starsGiftOption](https://core.telegram.org/constructor/starsGiftOption.md) constructors.
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
user_id | InputUser | いいえ | Receiver of the gift (optional). |
レスポンス
Vector<StarsGiftOption>
MTProto RPC
- 400 · INPUT_USER_DEACTIVATED — The specified user was deleted.
- 400 · USER_GIFT_UNAVAILABLE — Gifts are not available in the current region ([stars_gifts_enabled](https://core.telegram.org/api/config.md#stars-gifts-enabled) is equal to false).
- 400 · USER_ID_INVALID — The provided user ID is invalid.