• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/model/chat.php
  • Класс: BitrixImModelChatTable
  • Вызов: ChatTable::addIndexRecord
static function addIndexRecord(ChatIndex $index)
{
	if ($index->getChatId() === 0)
	{
		return;
	}
	$insertData = self::prepareParamsForIndex($index);

	ChatIndexTable::add($insertData);
}