export Function
CallbackData ​
Constructor ​
ts
KeyboardButton.CallbackData( text, callback_data )
Parameter | Type | Description |
---|---|---|
text | string | Label text on the button. |
callback_data | string | Data to be sent in a callback query to the bot when the button is pressed, 1-64 bytes |
Return: KeyboardButtonPayload