deleteMessages
public static function \Bitrix\ImConnector\CustomConnectors::deleteMessages( $connector, $line, $data )
Method for deleting messages in Open Channel.
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( //Array of user description 'user' => array( 'id',//User ID in the external system* 'last_name',//Last name 'name',//First name 'picture' => array( 'url'//Link to user avatar, available for portal ), 'url',//Link to user profile 'sex',//Gender. Male and female are available ), //Array of message description 'message' => array( 'id', //Message ID in the external system.* ) ), //Array of chat description 'chat' => array( 'id',//Chat ID in the external system * 'name', //Chat name in the external system 'url', //Link to chat in the external system ), ); |
© «Bitrix24», 2001-2024