Why it matters
SetMyCommands controls the in-client command menu; scopes decide where each command appears.
Practical steps
- Call setMyCommands after each deploy that changes commands
- Use BotCommandScopeDefault plus group/private scopes as needed
- Pass language_code when you ship localized menus
- Remove obsolete entries with deleteMyCommands
- Confirm with getMyCommands in staging
Watch out for
- Copy-pasting outdated snippets for telegram setmycommands without re-reading current official docs.
- Shipping telegram setmycommands to production without a staging rehearsal and a documented rollback.