Actions101
- Bot Actions
- Chat Actions
- Get Chat
- Get Chat Administrators
- Get Chat Member Count
- Get Chat Member
- Ban Chat Member
- Unban Chat Member
- Restrict Chat Member
- Promote Chat Member
- Set Chat Administrator Custom Title
- Set Chat Permissions
- Export Chat Invite Link
- Create Chat Invite Link
- Edit Chat Invite Link
- Revoke Chat Invite Link
- Approve Chat Join Request
- Decline Chat Join Request
- Set Chat Photo
- Delete Chat Photo
- Set Chat Title
- Set Chat Description
- Pin Chat Message
- Unpin Chat Message
- Unpin All Chat Messages
- Leave Chat
- Set Chat Menu Button
- Get Chat Menu Button
- Set Chat Sticker Set
- Delete Chat Sticker Set
- File Actions
- Forum Actions
- Game Actions
- Inline Actions
- Message Actions
- Send Message
- Forward Message
- Copy Message
- Send Photo
- Send Audio
- Send Document
- Send Video
- Send Animation
- Send Voice
- Send Video Note
- Send Media Group
- Send Location
- Send Venue
- Send Contact
- Send Poll
- Send Dice
- Send Chat Action
- Edit Message Text
- Edit Message Caption
- Edit Message Media
- Edit Message Reply Markup
- Edit Message Live Location
- Stop Message Live Location
- Stop Poll
- Delete Message
- Delete Messages
- Payment Actions
- Sticker Actions
- Update Actions
- Webhook Actions
Payment → Answer Shipping Query
AI-generatedSummary
Answer a shipping query by confirming whether delivery to the specified address is possible and optionally providing shipping options or an error message.
Inputs
- Shipping Query ID (required) — Provide the unique identifier for the shipping query to respond to.
- OK (required) — Specify whether delivery to the specified address is possible (true or false).
- Shipping Options (JSON) — Optionally provide a JSON array of ShippingOption objects to offer possible shipping methods if delivery is possible.
- Error Message — Optionally provide an error message if delivery to the specified address is not possible (when OK is false).
Output shape
a single response object indicating the result of the answerShippingQuery request
The output includes the result from the Telegram API's answerShippingQuery method, reflecting success or error details. If multiple input items are processed, outputs are returned as separate items in the output array.
Examples
Example 1: Responding to a shipping query confirming delivery is available with shipping options
Set the Shipping Query ID and set OK to true; optionally include a Shipping Options JSON array.
Example 2: Responding to a shipping query denying delivery due to invalid address
Set the Shipping Query ID and set OK to false, then provide an error message describing the issue.