Layer 227
constructor
keyboardButtonGame#89c590f9 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

KeyboardButton

Gogram Example

// Creating KeyboardButtonGame constructor
obj := &tg.KeyboardButtonGame{
    Style: nil,
    Text: "Hello, World!",
}