Constructor: keyboardButtonBuy

Back to constructors index

Button to buy a product


Name Type Required Description
text string Yes Button text

Type: KeyboardButton


$keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string'];

Or, if you’re into Lua:

keyboardButtonBuy={_='keyboardButtonBuy', text='string'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.