Raw.bots.GetBotMenuButton

Raw.bots.GetBotMenuButton

Gets the menu button action for a given user or for all users, previously set using bots.setbotmenubutton; users can see this information in the botinfo constructor.

bots.getBotMenuButton#9c60eb28 user_id:InputUser = BotMenuButton;
export namespace Raw {
  export namespace bots {
    export class GetBotMenuButton {
      constructor(params: { userId: Raw.TypeInputUser }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x9c60eb28

Property

Results

Raw.TypeBotMenuButton

Bots can use