Documentation

sendStatusDelivery

public static function
\Bitrix\ImConnector\CustomConnectors::sendStatusDelivery(
   $connector,
   $line,
   $data
)

Method confirms message delivery from Open Cannel to an external system.

Parameters

Class Description Available from version
connector Connector ID, specified when registering the handler.
line Open channel ID
data Array containing other message arrays with each message described as follows:
array(
  'im',//Forwards 'im' element from outbound Open Channel message
  'message' => array(
     'id'//Array ID in the external system. It's specifically an array, not a singular value, even if ID is singular.
  ),
  'chat' => array(
     'id'//Chat ID in the external system.
  ),
);


© «Bitrix24», 2001-2024
Up