CRMchat APIBeta
Telegram APIMessages

messages.setBotShippingResults

POST
/workspaces/{workspaceId}/telegram-accounts/{accountId}/call/messages.setBotShippingResults

If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the bot will receive an RawUpdateBotShippingQuery update. Use this method to reply to shipping queries.

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*

If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the bot will receive an RawUpdateBotShippingQuery update. Use this method to reply to shipping queries.

Response Body

application/json

application/json

curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/messages.setBotShippingResults" \  -H "Content-Type: application/json" \  -d '{    "params": {      "queryId": "string"    }  }'
{  "result": true}