KeyboardButtonCallback#
- class pyrogram.raw.types.KeyboardButtonCallback#
Callback button.
Constructor of
KeyboardButton
.- Details:
Layer:
158
ID:
35BBDB6B
- Parameters:
text (
str
) – Button text.data (
bytes
) – Callback data.requires_password (
bool
, optional) – 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.
Consider disabling your ad-blocker on this site to support Pyrogram