Layer 227
KeyboardButtonRequestGeoLocation
Button to request a user's geolocation
constructor
keyboardButtonRequestGeoLocation#aa40f94d 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 KeyboardButtonRequestGeoLocation constructor obj := &tg.KeyboardButtonRequestGeoLocation{ Style: nil, Text: "Hello, World!", }