Documentation

getImAttach

\CIMMessageParamAttach public static
\Bitrix\Socialnetwork\Ui\Preview\Post::getImAttach(
 array $params
);

Method returns attached file to be displayed in messenger. Static method.

Parameters

ParameterDescriptionVersion
$paramsExpected keys: postId, userId

Example



© «Bitrix24», 2001-2024