Skip to content

BotMenuButton

Type · TDLib 1.8.67 · d1085f9c

Describes a button to be shown instead of bot commands menu button

BotMenuButton(
  text: string,
  url: string
) → BotMenuButton

text

string

Text of the button

url

string

URL of a Web App to open when the button is pressed. If the link is of the type internalLinkTypeWebApp, then it must be processed accordingly. Otherwise, the link must be passed to openWebApp