MadelineProtoDocs/old_docs/API_docs_v109/constructors/keyboardButtonRequestPhone.md
2020-03-06 12:24:14 +01:00

767 B

title description image
keyboardButtonRequestPhone Button to request a user's phone number https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: keyboardButtonRequestPhone

Back to constructors index

Button to request a user's phone number

Attributes:

Name Type Required Description
text string Yes Button text

Type: KeyboardButton

Example:

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

Or, if you're into Lua:

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