Метод inviteByPhoneNumber

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

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

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

Исходный код

PHP
public

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

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

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

Описание

Create personalized guest link and send invitation by phone number.

Параметры

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