Layer 224
constructor
botMenuButton#c7b57ce6 text:string url:string = BotMenuButton;

Parameters

Name Type Description
Text string Title to be displayed on the menu button instead of 'Menu'
Url string URL of a web app to open when the user clicks on the button

Returns

BotMenuButton

Gogram Example

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