mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 22:36:55 +01:00
25 lines
705 B
Markdown
25 lines
705 B
Markdown
---
|
|
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|[int64](../constructors/int64.md) | Yes|Identifier of the shipping query|
|
|
|shipping\_options|Array of [shippingOption](../constructors/shippingOption.md) | Yes|Available shipping options|
|
|
|error\_message|[string](../types/string.md) | Yes|Error message, empty on success|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|