messages.setBotShippingResults
If you sent an invoice requesting a shipping address and the parameter is\_flexible was specified, the bot will receive an updateBotShippingQuery update. Use this method to reply to shipping queries.
If you sent an invoice requesting a shipping address and the parameter is\_flexible was specified, the bot will receive an [updateBotShippingQuery](https://core.telegram.org/constructor/updateBotShippingQuery.md) update. Use this method to reply to shipping queries.
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
query_id | long | はい | Unique identifier for the query to be answered |
error | string | いいえ | Error message in human readable form that explains why it is impossible to complete the order (e.g. "Sorry, delivery to your desired address is unavailable"). Telegram will display this message to the user. |
shipping_options | Vector<ShippingOption> | いいえ | A vector of available shipping options. |
レスポンス
Bool
MTProto RPC
- 400 · QUERY_ID_INVALID — The query ID is invalid.
- 400 · USER_BOT_REQUIRED — This method can only be called by a bot.