2017-03-11 19:54:51 +01:00
|
|
|
---
|
|
|
|
title: keyboardButton
|
|
|
|
description: Represents one button of the bot keyboard
|
|
|
|
---
|
|
|
|
## Constructor: keyboardButton
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Represents one button of the bot keyboard
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
2017-08-20 11:05:56 +02:00
|
|
|
|----------|---------------|----------|-------------|
|
2017-03-11 19:54:51 +01:00
|
|
|
|text|[string](../types/string.md) | Yes|Text of the button|
|
|
|
|
|type|[KeyboardButtonType](../types/KeyboardButtonType.md) | Yes|Type of the button|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [KeyboardButton](../types/KeyboardButton.md)
|
|
|
|
|
|
|
|
|