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.
The methods manage the slash commands of the chatbot: registration, updating, deletion, and sending a response to the command call.
Quick navigation: all methods
How Slash Commands Work
Slash commands allow you to invoke bot functions in two ways:
- enter
/commandin the chat input field, - call the command via the keyboard button.
In the second case, the command is used as a hidden action of the button and does not require manual text input. After registering the command, the bot receives a call event and can respond through 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 the bot's commands |
|
|
Deletes a command |
|
|
Responds to a command call |