Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Payment → Answer Shipping Query

AI-generated

Summary

Send a response to a Telegram payment shipping query, indicating whether delivery to the specified address is possible and optionally providing shipping options or an error message.

Inputs

  • Shipping Query ID (required) — Unique identifier for the query to be answered.
  • OK (required) — Boolean to specify whether delivery to the specified address is possible.
  • Additional Fields — Optional fields including Shipping Options as a JSON array of ShippingOption objects and an Error Message if delivery is not possible.

Output shape

a single JSON object containing the Telegram API response for the shipping query answer

Returns the Telegram Bot API response for the 'answerShippingQuery' method. The 'Shipping Options' field, if provided, must be a JSON array of ShippingOption objects, and the 'Error Message' is used if 'OK' is false.

Links

Discussion