Constructor: keyboardButtonRequestPhone

Back to constructors index

Button to request a user’s phone number


Name Type Required Description
text string Yes Button text

Type: KeyboardButton


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

Or, if you’re into Lua:

keyboardButtonRequestPhone={_='keyboardButtonRequestPhone', text='string'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.