telegram api constructor · layer 228 · #e62bc960
keyboardButtonCallback
Callback button
not in the latest layer 229: last defined in layer 228
definition
keyboardButtonCallback#e62bc960 flags:# requires_password:flags.0?true style:flags.10?KeyboardButtonStyle text:string data:bytes = KeyboardButton;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
requires_password | true | Whether the user should verify his identity by entering his 2FA SRP parameters to the messages.getBotCallbackAnswer method. NOTE: telegram and the bot WILL NOT have access to the plaintext password, thanks to SRP. This button is mainly used by the official @botfather bot, for verifying the user's identity before transferring ownership of a bot to another user. |
style | KeyboardButtonStyle | |
text | string | Button text |
data | bytes | Callback data |
type
KeyboardButton · 17 other constructors
history
present in layers 62–228 · constructor id changed 2×
| id | layers |
|---|---|
| #683a5e46 | 62–117 |
| #35bbdb6b | 118–221 |
| #e62bc960 | 222–228 |