# keyboardButton

> Bot keyboard button

[Back to constructors index](/API_docs/constructors/index.html)



Bot keyboard button

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|style|[KeyboardButtonStyle](/API_docs/types/KeyboardButtonStyle.html) | Optional|
|text|[string](/API_docs/types/string.html) | Yes|Button text|
|type|[ButtonType](/API_docs/types/ButtonType.html) | Yes|



### Type: [KeyboardButton](/API_docs/types/KeyboardButton.html)


### Example:

```
$keyboardButton = ['_' => 'keyboardButton', 'style' => KeyboardButtonStyle, 'text' => 'string', 'type' => ButtonType];
```
