Overview of Events When Working with Messages
Events allow applications to respond to changes in near real-time: receiving notifications about the sending, modification, or deletion of messages in a chat with chatbots.
Detailed information on working with events is described in the article Concept and Benefits of Event Processing.
Quick navigation: all events
How to Receive Events
You can subscribe to message events through the application and the event.bind method.
An example of a handler for the event is described in the article How to Test Your Handler for Processing Bitrix24 Events.
Server Availability for Sending and Receiving Events
The event handler server must be accessible from the outside. To configure the accessibility of the event handler server and application, refer to the article Required network access.
For cloud Bitrix24, no additional configuration is required. For on-premise Bitrix24, configure accessibility on the server or hosting according to the article Required network access.
Overview of Events
Scope:
imbotWho can subscribe: any user
|
Event |
Triggered |
|
When a message is sent in a chat with a chatbot manually or via the imbot.message.add method |
|
|
When a message is edited in a chat with a chatbot manually or via the imbot.message.update method |
|
|
When a message is deleted in a chat with a chatbot manually or via the imbot.message.delete method |