Link Search Menu Expand Document

Constructor: keyboardButtonRequestPhone

Back to constructors index

Button to request a user’s phone number

Attributes:

NameTypeRequiredDescription
textstringYesButton text

Type: KeyboardButton

Example:

$keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string'];