payments.sendStarsForm
Make a payment using Telegram Stars, see here » for more info.
Authorization
bearerAuth In: header
Path Parameters
Workspace ID
Telegram account ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Make a payment using Telegram Stars, see here » for more info.
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/payments.sendStarsForm" \ -H "Content-Type: application/json" \ -d '{ "params": { "formId": "string", "invoice": { "_": "inputInvoiceMessage", "peer": { "_": "inputPeerEmpty" }, "msgId": 0 } } }'{ "result": { "_": "payments.paymentResult", "updates": { "_": "updatesTooLong" } }}sendStarGiftOffer
Send an offer to purchase a [collectible gift »](https://core.telegram.org/api/gifts#collectible-gift-purchase-offers), see [here »](https://core.telegram.org/api/gifts#collectible-gift-purchase-offers) for the full flow.
toggleChatStarGiftNotifications
Enables or disables the reception of notifications every time a [gift »](https://core.telegram.org/api/gifts) is received by the specified channel, can only be invoked by admins with post_messages `RawChatAdminRights`.