Views: 11471
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.


MethodMethod description
imbot.message.add Sends a chatbot message.
imbot.message.update Updates (changes) the chatbot message.
imbot.message.delete Deletes chatbot message.
imbot.message.like Sets message "Like".
imbot.chat.sendTyping Sends "Chatbot is typing a message...".

Attention! These methods of message processing are usually employed when the user is typing something, that is why the ONIMBOTMESSAGEADD event must be processed.






Courses developed by Bitrix24