1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 01:26:56 +01:00
MadelineProto/docs/TD_docs/constructors/inlineKeyboardButton.md
2017-07-23 16:33:46 +02:00

1001 B

title description
inlineKeyboardButton Represents one button of the inline keyboard

Constructor: inlineKeyboardButton

Back to constructors index

Represents one button of the inline keyboard

Attributes:

Name Type Required Description
text string Yes Text of the button
type InlineKeyboardButtonType Yes Type of the button

Type: InlineKeyboardButton

Example:

$inlineKeyboardButton = ['_' => 'inlineKeyboardButton', 'text' => 'string', 'type' => InlineKeyboardButtonType];

PWRTelegram json-encoded version:

{"_": "inlineKeyboardButton", "text": "string", "type": InlineKeyboardButtonType}

Or, if you're into Lua:

inlineKeyboardButton={_='inlineKeyboardButton', text='string', type=InlineKeyboardButtonType}