Layer 220
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 BotMenuButton constructor
obj := &tg.BotMenuButton{
    Text: "...",
    Url: "...",
}