37 lines
767 B
Markdown
37 lines
767 B
Markdown
---
|
|
title: keyboardButtonTypeRequestPhoneNumber
|
|
description: A button which sends user's phone number when pressed, available only in private chats
|
|
---
|
|
## Constructor: keyboardButtonTypeRequestPhoneNumber
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
A button which sends user's phone number when pressed, available only in private chats
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|:-------------:|:--------:|------------:|
|
|
|
|
|
|
|
|
### Type: [KeyboardButtonType](../types/KeyboardButtonType.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$keyboardButtonTypeRequestPhoneNumber = ['_' => 'keyboardButtonTypeRequestPhoneNumber', ];
|
|
```
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
keyboardButtonTypeRequestPhoneNumber={_='keyboardButtonTypeRequestPhoneNumber', }
|
|
|
|
```
|
|
|
|
|