keyboardButtonStyle
Signature
Section titled “Signature”keyboardButtonStyle#4fdd3430 flags:# bg_primary:flags.0?true bg_danger:flags.1?true bg_success:flags.2?true icon:flags.3?long = KeyboardButtonStyle;Result type
Section titled “Result type”KeyboardButtonStyle
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| bg_primary | flags.0?true | flags.0 | — | |
| bg_danger | flags.1?true | flags.1 | — | |
| bg_success | flags.2?true | flags.2 | — | |
| icon | flags.3?long | flags.3 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| bg_primary | 0 | Controlled by flags; present when this bit is set. |
| bg_danger | 1 | Controlled by flags; present when this bit is set. |
| bg_success | 2 | Controlled by flags; present when this bit is set. |
| icon | 3 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import KeyboardButtonStylePublic access: miniproto.raw.types.KeyboardButtonStyle.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
KeyboardButtonStyle - Accepted by:
keyboardButton,keyboardInlineButton