Views: 2199 (Data available since 06.02.2017)

Working with chatbots:

MethodMethod Description
imbot.register Chatbot registration.
imbot.unregister Chatbot deletion.
imbot.update Chatbot data update.

Working with chats:

MethodMethod Description
imbot.chat.user.list Retrieving list of participants.
imbot.chat.user.add Participants invitation.
imbot.chat.user.delete Participants deletion.
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.

Working with messages:

MethodMethod Description
imbot.message.add Sending message from chatbot.
imbot.message.update Sending chatbot message update.
imbot.message.delete Chatbot message deletion.
imbot.message.like Message «Like».
imbot.chat.sendTyping Sending «Chatbot is typing a message...".

Working with commands:

MethodMethod Description
imbot.command.register Registration of command to be processed by chatbot.
imbot.command.unregister Command processing deletion.
imbot.command.update Command data update.
imbot.command.answer Posting command answer.

Working with events:

EventEvent description
ONAPPINSTALL Application installation event.
ONAPPUPDATE Application update event.
ONIMBOTMESSAGEADD Event for chatbot to receive message.
ONIMCOMMANDADD Event for chatbot to receive a command.
ONIMJOINCHAT Event for chatbot to receive information that it has joined a chat (or private chat).
ONIMBOTDELETE Event to delete chatbot.




Courses developed by «Bitrix», Inc.