answer_shipping_query
Respond to Telegram shipping queries by approving with shipping options or rejecting with an error message.
Instructions
Reply to shipping queries. Called if sendInvoice used is_flexible.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"shipping_query_id": "<shipping_query_id>",
"ok": "<ok>"
},
"name": "answer_shipping_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error_message | No | ||
| shipping_options | No | ||
| shipping_query_id | Yes |