Layer 227
KeyboardButtonGame
Button to start a game
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
KeyboardButtonGogram Example
// Creating KeyboardButtonGame constructor obj := &tg.KeyboardButtonGame{ Style: nil, Text: "Hello, World!", }