2017-08-25 15:05:53 +02:00
|
|
|
---
|
|
|
|
title: answerShippingQuery
|
|
|
|
description: Bots only. Sets result of a shipping query
|
|
|
|
---
|
|
|
|
## Method: answerShippingQuery
|
|
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
|
|
|
|
|
|
Bots only. Sets result of a shipping query
|
|
|
|
|
|
|
|
### Params:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|shipping\_query\_id|[long](../types/long.md) | Yes|Identifier of the shipping query|
|
2017-09-29 15:50:59 +02:00
|
|
|
|shipping\_options|Array of [shippingOption](../constructors/shippingOption.md) | Yes|Available shipping options|
|
2017-08-25 15:05:53 +02:00
|
|
|
|error\_message|[string](../types/string.md) | Yes|Error message, empty on success|
|
|
|
|
|
|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|
|
|