MadelineProtoDocs/docs/TD_docs/methods/answerCustomQuery.md

24 lines
561 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
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
### Parameters:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|custom\_query\_id|[int64](../constructors/int64.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)