MadelineProtoDocs/old_docs/API_docs_v95/constructors/keyboardButtonCallback.md
2019-12-27 17:48:04 +01:00

782 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
text string Yes Button text
data bytes Yes Callback data

Type: KeyboardButton

Example:

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

Or, if you're into Lua:

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