MadelineProtoDocs/old_docs/API_docs_v25/constructors/keyboardButtonBuy.md
2020-06-16 17:50:25 +02: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'}