Метод checkInviteCooldown
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
183–219
~/bitrix/modulesim/lib/V2/SharingLink/GuestInviteService.php
Исходный код
Сигнатура метода
private function checkInviteCooldown(int $chatId, int $authorId, string $contact): Result
Возвращает:
Result
Описание
Check if a recent invitation was already sent to the same contact for this chat and if the author has not exceeded the rate limit.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$chatId
|
int
|
-
|
-
|
$authorId
|
int
|
-
|
-
|
$contact
|
string
|
-
|
-
|