1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 15:26:54 +01:00
MadelineProto/docs/TD_docs/methods/answerCustomQuery.md

24 lines
579 B
Markdown
Raw Normal View History

2017-08-25 15:05:53 +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:
2017-08-25 15:05:53 +02:00
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2018-03-20 16:42:05 +01:00
|custom\_query\_id|[CLICK ME int64](../constructors/int64.md) | Yes|Identifier of a custom query|
|data|[CLICK ME string](../types/string.md) | Yes|JSON-serialized answer to the query|
2017-08-25 15:05:53 +02:00
### Return type: [Ok](../types/Ok.md)