Метод completeAfterSuccessfulSend
Сигнатура метода
public static function completeAfterSuccessfulSend(int $userId, mixed $draftId, int $crmEntityTypeId, int $crmEntityId, mixed $expectedRevision, mixed $expectedClientId = null): void
Возвращает:
void
Описание
The draft the message was built from is completed under the identity of the compose form that owns it, the same one its files are released under: a draft another device has taken over is a different draft, and completing it would drop the work of that device.
Параметры
6| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
—
|
—
|
$draftId
|
mixed
|
—
|
—
|
$crmEntityTypeId
|
int
|
—
|
—
|
$crmEntityId
|
int
|
—
|
—
|
$expectedRevision
|
mixed
|
—
|
—
|
$expectedClientId
|
mixed
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/integration/mail/draft.php
Расположение метода в файле
Строки
25–47