Telegram APIPayments
payments.getStarGiftCollections
Fetches all star gift collections » of a peer.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
workspaceId*string
Workspace ID
accountId*string
Telegram account ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
params*
Fetches all star gift collections » of a peer.
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/payments.getStarGiftCollections" \ -H "Content-Type: application/json" \ -d '{ "params": { "peer": { "_": "inputPeerEmpty" }, "hash": "string" } }'{ "result": { "_": "payments.starGiftCollectionsNotModified" }}getStarGiftAuctionState
Returns info about a [collectible gift auction »](https://core.telegram.org/api/auctions); also subscribes the user to auction updates, see [here »](https://core.telegram.org/api/auctions) for more info on the full flow.
getStarGifts
Get a list of available [gifts, see here »](https://core.telegram.org/api/gifts) for more info.