mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 00:26:57 +01:00
24 lines
548 B
Markdown
24 lines
548 B
Markdown
---
|
|
title: answerCustomQuery
|
|
description: Bots only. Answers a custom query
|
|
---
|
|
## Method: answerCustomQuery
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Bots only. Answers a custom query
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|custom\_query\_id|[long](../types/long.md) | Yes|Identifier of a custom query|
|
|
|data|[string](../types/string.md) | Yes|JSON-serialized answer to the query|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|