Class InlineKeyboardMarkupType Note: This will only work in Telegram versions released after 9 April, 2016. O Older clients will display unsupported message.

see
see
package Default

 Methods

create()

create(array $inlineKeyboard) : \TgBotApi\BotApiBase\Type\InlineKeyboardMarkupType
Static

Parameters

$inlineKeyboard

array

Returns

\TgBotApi\BotApiBase\Type\InlineKeyboardMarkupType

 Properties

 

Array of button rows, each represented by an Array of InlineKeyboardButton objects.

$inlineKeyboard : array<mixed,\TgBotApi\BotApiBase\Type\InlineKeyboardButtonType[]>

Default