CRMchat APIBeta
Telegram APIPayments

payments.updateStarGiftPrice

POST
/workspaces/{workspaceId}/telegram-accounts/{accountId}/call/payments.updateStarGiftPrice

A collectible gift we own » can be put up for sale on the gift marketplace » with this method, see here » for more info.

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*

A collectible gift we own » can be put up for sale on the gift marketplace » with this method, see here » for more info.

Response Body

application/json

application/json

curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/payments.updateStarGiftPrice" \  -H "Content-Type: application/json" \  -d '{    "params": {      "stargift": {        "_": "inputSavedStarGiftUser",        "msgId": 0      },      "resellAmount": {        "_": "starsAmount",        "amount": "string",        "nanos": 0      }    }  }'
{  "result": {    "_": "updatesTooLong"  }}