MadelineProto/docs/TD_docs/constructors/keyboardButtonTypeText.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

44 lines
759 B
Markdown

---
title: keyboardButtonTypeText
description: Simple button with a text, which should be sent when the button is pressed
---
## Constructor: keyboardButtonTypeText
[Back to constructors index](index.md)
Simple button with a text, which should be sent when the button is pressed
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
### Type: [KeyboardButtonType](../types/KeyboardButtonType.md)
### Example:
```
$keyboardButtonTypeText = ['_' => 'keyboardButtonTypeText'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "keyboardButtonTypeText"}
```
Or, if you're into Lua:
```
keyboardButtonTypeText={_='keyboardButtonTypeText'}
```