UserOption::sendPushOptionChanged

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. UserOption
  4. sendPushOptionChanged
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/useroption.php
  • Класс: BitrixTasksInternalsUserOption
  • Вызов: UserOption::sendPushOptionChanged
static function sendPushOptionChanged(int $taskId, int $userId, int $option, bool $added): void
{
	PushService::addEvent([$userId], [
		'module_id' => 'tasks',
		'command' => PushCommand::USER_OPTION_UPDATED,
		'params' => [
			'TASK_ID' => $taskId,
			'USER_ID' => $userId,
			'OPTION' => $option,
			'ADDED' => $added,
		],
	]);
}

Добавить комментарий