set_my_commands
Define a list of bot commands with descriptions for a specific scope (e.g., all chats, group, user) or language, controlling command availability in different contexts.
Instructions
Set the bot's commands for the given scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | JSON object with BotCommandScope | |
| commands | Yes | JSON array of BotCommand objects [{command, description}] | |
| language_code | No | Language code (e.g., 'en', 'ru') |