Telegram bot

Save a bot message

PUT
/v1/stores/{storeId}/telegram-bot/messages/{key}

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
key*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/stores/string/telegram-bot/messages/string" \  -H "Content-Type: application/json" \  -d '{    "text": "string"  }'
{  "key": "string",  "name": "string",  "description": "string",  "audience": "buyer",  "text": "string",  "customised": true,  "defaultText": "string",  "maxLength": -9007199254740991,  "variables": [    {      "key": "string",      "label": "string",      "sample": "string"    }  ]}