Layer 224
constructor
keyboardButton#a2fa4880 text:string = KeyboardButton;

Parameters

Name Type Description
Text string Button text

Returns

KeyboardButton

Gogram Example

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