MadelineProtoDocs/old_docs/API_docs_v30/constructors/keyboardButtonRequestPhone.md
2020-06-16 17:50:25 +02: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'}