Метод getOrCreateLink
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
61–83
~/bitrix/modulesim/lib/V2/Guest/GuestLinkService.php
Исходный код
Сигнатура метода
public function getOrCreateLink(Chat $chat, int $authorId): Result
Возвращает:
Result
Описание
Get existing active link or generate a new one for a chat.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$chat
|
Chat
|
-
|
-
|
$authorId
|
int
|
-
|
-
|