MadelineProtoDocs/docs/API_docs/constructors/keyboardButtonCallback.md

892 B

title description image
keyboardButtonCallback Callback button https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: keyboardButtonCallback

Back to constructors index

Callback button

Attributes:

Name Type Required Description
requires_password Bool Optional
text string Yes Button text
data bytes Yes Callback data

Type: KeyboardButton

Example:

$keyboardButtonCallback = ['_' => 'keyboardButtonCallback', 'requires_password' => Bool, 'text' => 'string', 'data' => 'bytes'];

Or, if you're into Lua:

keyboardButtonCallback={_='keyboardButtonCallback', requires_password=Bool, text='string', data='bytes'}