MadelineProto/docs/TD_docs/constructors/keyboardButtonTypeText.md

37 lines
659 B
Markdown
Raw Normal View History

---
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', ];
```
Or, if you're into Lua:
```
keyboardButtonTypeText={_='keyboardButtonTypeText', }
```