57 if (!Loader::includeModule(
'disk'))
59 return static::DISABLED;
61 if (!class_exists(\
Bitrix\Disk\Integration\MessengerCall::class))
63 return static::DISABLED;
65 if (!\
Bitrix\Disk\Integration\MessengerCall::isAvailableDocuments())
67 return static::DISABLED;
69 if (\
Bitrix\Disk\Integration\MessengerCall::isEnabledResumes())
71 return static::ENABLED;
74 return static::LIMITED .
":" . \Bitrix\Disk\Integration\MessengerCall::getInfoHelperCodeForResume();