keyboardButton
Signature
Section titled “Signature”keyboardButton#2f67a72f flags:# style:flags.10?KeyboardButtonStyle text:string type:ButtonType = KeyboardButton;Result type
Section titled “Result type”KeyboardButton
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| style | flags.10?KeyboardButtonStyle | flags.10 | — | |
| text | string | — | — | |
| type | ButtonType | — | — |
| Parameter | Bit | Meaning |
|---|---|---|
| style | 10 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import KeyboardButtonPublic access: miniproto.raw.types.KeyboardButton.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
KeyboardButton - Accepted by:
bots.requestWebViewButton,keyboardButtonRow - Returned by:
bots.getRequestedWebViewButton