• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/V2/Controller/Settings/Notify.php
  • Класс: BitrixImV2ControllerSettingsNotify
  • Вызов: Notify::updateAction
public function updateAction(int $userId, string $moduleId, string $name, string $type, string $value)
{
	$userConfiguration = new UserConfiguration($userId);
	$userConfiguration->updateNotifySetting([
		'name' => $name,
		'value' => $this->convertCharToBool($value),
		'moduleId' => $moduleId,
		'type' => $type
	]);

	return true;
}