Метод launchTranscription

protected

Сигнатура метода

protected function launchTranscription(int $activityId, int $userId): AiResult

Возвращает: AiResult

Описание

Launches transcription on behalf of the call's responsible user. The buffer runs in a background agent with no authenticated user, so AbstractOperation would otherwise fall back to context user 0 and TranscribeCallRecording::isAccessGranted() (requires a positive id with activity-edit rights) would deny every launch. The responsible of the call activity always has that access.

Параметры

2
Имя Тип По умолчанию Флаги
$activityId int —
—
$userId int —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/RepeatSale/Transcription/CallTranscriptionGate.php
Расположение метода в файле
Строки 232–241

Исходный код

PHP