Layer 227
KeyboardButtonRequestPhone
Button to request a user's phone number
constructor
keyboardButtonRequestPhone#417efd8f flags:# style:flags.10?KeyboardButtonStyle text:string = KeyboardButton;
Parameters
| Name | Type | Description |
|---|---|---|
| Style | flags .10? KeyboardButtonStyle | Button style, see here for more info on button styles. |
| Text | string | Button text |
Returns
KeyboardButtonGogram Example
// Creating KeyboardButtonRequestPhone constructor obj := &tg.KeyboardButtonRequestPhone{ Style: nil, Text: "Hello, World!", }