Views: 14962
Last Modified: 13.05.2022

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.chat.user.list Gets list of participants.
imbot.chat.user.add Invites participants.
imbot.chat.user.delete Removes participants.
imbot.chat.leave Chatbot exit from specified chat.
imbot.chat.updateTitle Chat title update.
imbot.chat.updateColor Chat color update.
imbot.chat.updateAvatar Chat icon update.
imbot.chat.add Chatbot creates a chat.
imbot.chat.get Gets chat ID.
imbot.chat.setOwner Chatbot changes a chat owner.
imbot.dialog.get Gets information about dialog/chat.





Courses developed by Bitrix24