Raw.bots.SetBotMenuButton
Sets the menu button action for a given user or for all users
bots.setBotMenuButton#4504d54f user_id:InputUser button:BotMenuButton = Bool;
export namespace Raw {
export namespace bots {
export class SetBotMenuButton {
constructor(params: { userId: Raw.TypeInputUser; button: Raw.TypeBotMenuButton }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x4504d54f
Property
userId
: Raw.TypeInputUserUser id
button
: Raw.TypeBotMenuButtonBot menu button action