MadelineProtoDocs/docs/TD_docs/methods/answerCustomQuery.md

25 lines
638 B
Markdown

---
title: answerCustomQuery
description: Bots only. Answers a custom query
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Method: answerCustomQuery
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Bots only. Answers a custom query
### Parameters:
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|custom\_query\_id|[int64](../constructors/int64.md) | Identifier of a custom query | Yes|
|data|[string](../types/string.md) | JSON-serialized answer to the query | Yes|
### Return type: [Ok](../types/Ok.md)