keyboardButtonRequestPhone #
Button to request a user's phone number¶
Available only in private chats, in reply keyboards.¶
When pressed, clients must request permission from the user to send the current user's contact to the chat, replying to the message that attached the replyKeyboardMarkup.¶
Layer 223
keyboardButtonRequestPhone#417efd8f flags:# style:flags.10?KeyboardButtonStyle text:string = KeyboardButton; Parameters #
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| style | flags.10?KeyboardButtonStyle | Button style, see here » for more info on button styles. |
| text | string | Button text |
Type #
Related pages #
Bot buttons #
Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.¶
replyKeyboardMarkup #
Represents a reply keyboard¶