- API ›
- Constructors ›
- KeyboardButtonCallback
KeyboardButtonCallback
---types--- keyboardButtonCallback#e62bc960 requires_password:flags.0?true style:flags.10?KeyboardButtonStyle text:string data:bytes = KeyboardButton
Belongs to
| KeyboardButton |
In Rust this constructor is a variant of the enums::KeyboardButton enum.
Match on it with: if let enums::KeyboardButton::KeyboardButtonCallback(v) = result { ... }
Parameters
| requires_password | true | optional |
| style | KeyboardButtonStyle | optional |
| text | string | required |
| data | bytes | required |
Used by
| RequestWebViewButton |