2017-03-11 19:54:51 +01:00
|
|
|
---
|
|
|
|
title: callbackQueryAnswer
|
2017-08-25 15:05:53 +02:00
|
|
|
description: Contains answer of a bot to a callback query
|
2017-03-11 19:54:51 +01:00
|
|
|
---
|
|
|
|
## Constructor: callbackQueryAnswer
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-08-25 15:05:53 +02:00
|
|
|
Contains answer of a bot to a callback query
|
2017-03-11 19:54:51 +01:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
2017-08-20 11:05:56 +02:00
|
|
|
|----------|---------------|----------|-------------|
|
2017-03-11 19:54:51 +01:00
|
|
|
|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)
|
|
|
|
|
|
|
|
|