Views: 9639
Last Modified: 12.09.2024

Note: restCommand function is used here for illustration purposes only. It is taken from the EchoBot example. You can send a REST command with your own function, or use the BX24.callMethod or bitrix24-php-sdk methods.


MethodDescription
imbot.command.register Registers command for processing by chatbot.
imbot.command.unregister Deletes a command processing.
imbot.command.update Updates data in command.
imbot.command.answer Publishes response to command.

Note: Command processing requires for application to process a command-adding event ONIMCOMMANDADD.






Courses developed by Bitrix24