MadelineProtoDocs/old_docs/API_docs_v53/constructors/keyboardButtonRequestPhone.md
2019-12-27 17:48:04 +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'}