26 lines
714 B
Markdown
26 lines
714 B
Markdown
---
|
|
title: callbackQueryAnswer
|
|
description: Contains answer of a bot to a callback query
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: callbackQueryAnswer
|
|
[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)
|
|
|
|
|