--- title: "keyboardButtonRequestPhone" description: "Button to request a user's phone number" nav_exclude: true image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: keyboardButtonRequestPhone [Back to constructors index](/API_docs/constructors/index.html) Button to request a user's phone number ### Attributes: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |text|[string](/API_docs/types/string.html) | Yes|Button text| ### Type: [KeyboardButton](/API_docs/types/KeyboardButton.html) ### Example: ``` $keyboardButtonRequestPhone = ['_' => 'keyboardButtonRequestPhone', 'text' => 'string']; ```