Метод inviteByEmail

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

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

Путь к исходному файлу строки 43–88
~/bitrix/modulesim/lib/V2/SharingLink/GuestInviteService.php

Исходный код

PHP
public

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

public function inviteByEmail(Chat $chat, int $authorId, string $email, ?string $name = null, ?DateTime $dateExpire = null): Result

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

Описание

Create personalized guest link and send invitation by email.

Параметры

5
Имя Тип По умолчанию Флаги
$chat Chat -
-
$authorId int -
-
$email string -
-
$name ?string null
-
$dateExpire ?DateTime null
-