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