UpdateBotMenuButton

class pyrogram.raw.types.UpdateBotMenuButton

The menu button behavior for the specified bot has changed

Constructor of Update.

Details:
  • Layer: 223

  • ID: 14B85813

Parameters:
  • bot_id (int 64-bit) – Bot ID

  • button (BotMenuButton) – New menu button

TL Schema

updateBotMenuButton#14b85813
bot_id:long
button:BotMenuButton

= Update

Parameter Tree

UpdateBotMenuButton
├── bot_idlong
└── buttonBotMenuButton
└── BotMenuButton
├── textstring
└── urlstring

Example

UpdateBotMenuButton(
    bot_id=0,
    button=BotMenuButtonDefault(),
)