Class KeyboardButtonType Note: request_contact and request_location options will only work in Telegram versions released after 9 April, 2016. Older clients will ignore them.
| see | |
|---|---|
| package | Default |
create(\TgBotApi\BotApiBase\Type\string $text, array $data = null)
\TgBotApi\BotApiBase\Exception\BadArgumentException |
|---|
fill(array $data, array $forbidden = array())
array
array
\TgBotApi\BotApiBase\Exception\BadArgumentException |
|---|
$requestContact : boolean | null
Available in private chats only.
$requestLocation : boolean | null
Available in private chats only.
$requestPoll : \TgBotApi\BotApiBase\Type\Poll\KeyboardButtonPollType
$text : string