1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 11:26:56 +01:00
MadelineProto/docs/TD_docs/constructors/keyboardButton.md
2017-08-25 14:43:29 +02:00

24 lines
534 B
Markdown

---
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 |
|----------|---------------|----------|-------------|
|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)