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

nametypedescription
flags#Flags, see TL conditional fields
requires_passwordflags.0?trueWhether 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.
styleflags.10?KeyboardButtonStyle
textstringButton text
databytesCallback data

type

KeyboardButton · 17 other constructors

history

present in layers 62–228 · constructor id changed 2×

idlayers
#683a5e4662–117
#35bbdb6b118–221
#e62bc960222–228