• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/V2/Chat.php
  • Класс: BitrixImV2Chat
  • Вызов: Chat::getStartId
public function getStartId(?int $userId = null): int
{
	return RelationCollection::getStartId($userId ?? $this->getContext()->getUserId(), $this->getChatId());
}