mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
645 B
645 B
title | description | nav_exclude | image |
---|---|---|---|
keyboardButtonBuy | Button to buy a product | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: keyboardButtonBuy
Button to buy a product
Attributes:
Name | Type | Required | Description |
---|---|---|---|
text | string | Yes | Button text |
Type: KeyboardButton
Example:
$keyboardButtonBuy = ['_' => 'keyboardButtonBuy', 'text' => 'string'];