Метод getGroupDialogId

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

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

Путь к исходному файлу строки 23–26
~/bitrix/modulesim/lib/V2/Chat/ChatDialogIdResolver.php

Исходный код

PHP
public static

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

public static function getGroupDialogId(int $chatId): string

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

Описание

The dialogId of a non-private (group and every other) chat. Single source of the "chatNNN" convention — callers must not hardcode the prefix.

Параметры

1
Имя Тип По умолчанию Флаги
$chatId int -
-