782 B
782 B
title | description | image |
---|---|---|
keyboardButtonCallback | Callback button | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: keyboardButtonCallback
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'}