feat(telegram): register command menu and menu button on bot start

Add setMyCommands and setChatMenuButton to the Telegram Bot API client
and register a 12-command menu with a commands-type menu button when a
bot runtime connects. Menu setup failures are logged as warnings and do
not block startup.

Co-authored-by: xmanrui <841206367@qq.com>
This commit is contained in:
bitxeno 2026-08-21 22:11:04 +08:00
parent 7fbb459e00
commit 60e00bbca9
4 changed files with 284 additions and 132 deletions

File diff suppressed because one or more lines are too long