Commands: Overview of Methods
If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.
This section contains methods for registering, modifying, deleting, and responding to chat bot slash commands.
Quick navigation: all methods
How Slash Commands Work
Slash commands allow you to invoke bot functions in two ways:
- by typing
/commandin the chat input field, - by triggering the command through a keyboard button.
In the second case, the command acts as a hidden action of the button and does not require manual text input. After the command is registered, the bot receives a call event and can respond via imbot.v2.Command.answer.
Overview of Methods
Scope:
imbotWho can execute the methods: owner of the registered bot
|
Method |
Description |
|
Registers a slash command |
|
|
Updates a command |
|
|
Returns a list of bot commands |
|
|
Deletes a command |
|
|
Responds to a command call |