Type: KeyboardButton

Back to types index

Clicking these buttons:

To click these buttons simply run the click method:

$result = $KeyboardButton->click();

$result can be one of the following:

Possible values (constructors):

keyboardButton

keyboardButtonUrl

keyboardButtonCallback

keyboardButtonRequestPhone

keyboardButtonRequestGeoLocation

keyboardButtonSwitchInline

keyboardButtonGame

keyboardButtonBuy

Methods that return an object of this type (methods):