payments.getSuggestedStarRefBots
Obtain a list of suggested mini apps with available affiliate programs order_by_revenue and order_by_date are mutually exclusive: if neither is set, results are sorted by profitability.
Authorization
bearerAuth In: header
Path Parameters
Workspace ID
Telegram account ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Obtain a list of suggested mini apps with available affiliate programs order_by_revenue and order_by_date are mutually exclusive: if neither is set, results are sorted by profitability.
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/payments.getSuggestedStarRefBots" \ -H "Content-Type: application/json" \ -d '{ "params": { "peer": { "_": "inputPeerEmpty" }, "offset": "string", "limit": 0 } }'{ "result": { "_": "payments.suggestedStarRefBots", "count": 0, "suggestedBots": [ { "_": "starRefProgram", "botId": 0, "commissionPermille": 0, "durationMonths": 0, "endDate": 0, "dailyRevenuePerUser": { "_": "starsAmount", "amount": "string", "nanos": 0 } } ], "users": [ { "_": "userEmpty", "id": 0 } ], "nextOffset": "string" }}getStarsTransactionsByID
Obtain info about [Telegram Star transactions »](https://core.telegram.org/api/stars#balance-and-transaction-history) using specific transaction IDs.
getUniqueStarGift
Obtain info about a [collectible gift »](https://core.telegram.org/api/gifts#collectible-gifts) using a slug obtained from a [collectible gift link »](https://core.telegram.org/api/links#collectible-gift-link).