Layer 224
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 | |
| Text | string | Button text |
Returns
KeyboardButtonGogram Example
// Creating KeyboardButtonGame constructor obj := &tg.KeyboardButtonGame{ Text: "Hello, World!", // Optional fields: // Style: &tg.KeyboardButtonStyle{}, }