Layer 224
constructor
keyboardButtonRequestGeoLocation#aa40f94d flags:# style:flags.10?KeyboardButtonStyle text:string = KeyboardButton;

Parameters

Name Type Description
Style flags.10?KeyboardButtonStyle
Text string Button text

Returns

KeyboardButton

Gogram Example

// Creating KeyboardButtonRequestGeoLocation constructor
obj := &tg.KeyboardButtonRequestGeoLocation{
    Text: "Hello, World!",

    // Optional fields:
    // Style: &tg.KeyboardButtonStyle{},
}