bootdesk/chat-sdk

InlineKeyboardButton
in package

Table of Contents

Properties

$callbackData  : string|null
$text  : string
$url  : string|null
$webApp  : WebAppInfo|null

Methods

__construct()  : mixed
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(string $text[, string|null $callbackData = null ][, string|null $url = null ][, WebAppInfo|null $webApp = null ]) : mixed
Parameters
$text : string
$callbackData : string|null = null
$url : string|null = null
$webApp : WebAppInfo|null = null

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
On this page

Search results