Views: 11313
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.
Attention! These methods of message processing are usually employed when the user is typing something, that is why the
ONIMBOTMESSAGEADD event must be processed.