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

681 B

title description image
keyboardButtonBuy Button to buy a product https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: keyboardButtonBuy

Back to constructors index

Button to buy a product

Attributes:

Name Type Required Description
text string Yes Button text

Type: KeyboardButton

Example:

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

Or, if you're into Lua:

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