payments.getStarGiftAuctionState
Returns info about a collectible gift auction »; also subscribes the user to auction updates, see here » for more info on the full flow.
Returns info about a [collectible gift auction »](https://core.telegram.org/api/auctions.md); also subscribes the user to auction updates, see [here »](https://core.telegram.org/api/auctions.md) for more info on the full flow.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
auction | InputStarGiftAuction | أيوه | Either the ID of the gift linked to the auction, or an [auction deep link slug »](https://core.telegram.org/api/links.md#auction-links). |
version | int | أيوه | Initially `0`, then set to the returned [starGiftAuctionState](https://core.telegram.org/constructor/starGiftAuctionState.md).`version`, to avoid refetching results if they haven't changed. |
الردود
payments.StarGiftAuctionState
MTProto RPC
- 400 · STARGIFT_INVALID — The passed gift is invalid.