Метод inviteByPhoneNumber

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

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

Путь к исходному файлу строки 215–240
~/bitrix/modulesim/lib/V2/Guest/GuestLinkService.php

Исходный код

PHP
public

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

public function inviteByPhoneNumber(Chat $chat, int $authorId, string $phone, ?string $name = null, bool $withMessage = true): Result

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

Описание

Create personalized guest link and send invitation by phone number.

Параметры

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