• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/V2/Entity/User/UserBot.php
  • Класс: BitrixImV2EntityUserUserBot
  • Вызов: UserBot::getCacheDir
static function getCacheDir(int $id): string
{
	$cacheSubDir = substr(md5(self::getCacheKey($id)),2,2);

	return self::CACHE_PATH . "{$cacheSubDir}/" . self::getCacheKey($id) . "/";
}