Overview of Events When Working with the Connector
Events allow applications to respond to changes in open line connectors: receiving notifications about new messages, their modifications, deletions, as well as the completion of dialogues and disconnection of lines.
Detailed work with events is described in the article Concept and Benefits of Event Handling.
Quick navigation: all events
How to Receive Events
You can subscribe to connector events through the application and the event.bind method.
An example of a handler code for the event is described in the article How to Test Your Handler for Handling 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:
imconnector,imopenlinesWho can subscribe: any user
|
Event |
Triggered |
|
When messages are sent manually |
|
|
When a dialogue is created manually |
|
|
When a message is modified manually |
|
|
When a message is deleted manually |
|
|
When a dialogue is closed manually |
|
|
When an open line is disconnected manually |
|
|
When an open line is deleted manually |