\CIMMessageParamAttach public static
\Bitrix\Socialnetwork\Ui\Preview\Post::getImAttach(
array $params
);
Method returns attached file to be displayed in messenger. Static method.
Parameters
Parameter | Description | Version |
$params | Expected keys: postId, userId | |
Example