MadelineProtoDocs/docs/TD_docs/constructors/callbackQueryAnswer.md

26 lines
714 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: callbackQueryAnswer
description: Contains answer of a bot to a callback query
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
2018-04-05 01:19:57 +02:00
# Constructor: callbackQueryAnswer
2018-04-01 13:19:25 +02:00
[Back to constructors index](index.md)
Contains answer of a bot to a callback query
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|text|[string](../types/string.md) | Yes|Text of the answer|
|show\_alert|[Bool](../types/Bool.md) | Yes|If true, an alert should be shown to the user instead of a toast|
|url|[string](../types/string.md) | Yes|URL to be open|
### Type: [CallbackQueryAnswer](../types/CallbackQueryAnswer.md)