• Модуль: imbot
  • Путь к файлу: ~/bitrix/modules/imbot/lib/event.php
  • Класс: BitrixImBotEvent
  • Вызов: Event::onUserRead
static function onUserRead($params)
{
	$botData = BitrixImBot::getCache($params['DIALOG_ID']);
	if (!$botData)
	{
		return true;
	}
	
	if (class_exists($botData['CLASS']) && method_exists($botData['CLASS'], 'onUserRead'))
	{
		return call_user_func_array(array($botData['CLASS'], 'onUserRead'), Array($params));
	}
	
	return true;
}