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 |
|
|
|
|
|----------|---------------|----------|-------------|
|
2017-12-21 21:08:25 +01:00
|
|
|
|shipping\_query\_id|[int64](../constructors/int64.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)
|
|
|
|
|