Raw.BotMenuButton

Raw.BotMenuButton

Bot menu button that opens a web app when clicked.

botMenuButton#c7b57ce6 text:string url:string = BotMenuButton;
export namespace Raw {
  export class BotMenuButton {
    constructor(params: { text: string; url: string }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xc7b57ce6

Property

  • 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