deleteMyCommands
Clear bot command lists for selected scopes or languages. Use to remove outdated commands and reset menu options across chats, groups, or users.
Instructions
Delete the list of bot commands for the given scope and language. Returns True on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault. | |
| language_code | No | Two-letter ISO 639-1 language code. If empty, commands apply to all users from the given scope. |