• Модуль: imopenlines
  • Путь к файлу: ~/bitrix/modules/imopenlines/lib/chat.php
  • Класс: BitrixImOpenLinesChat
  • Вызов: Chat::onAppLang
static function onAppLang($icon, $lang = null)
{
	if ($icon === 'quick')
	{
		$title = Loc::getMessage('IMOL_CHAT_APP_ICON_QUICK_TITLE', null, $lang);
		$description = Loc::getMessage('IMOL_CHAT_APP_ICON_QUICK_DESCRIPTION', null, $lang);

		$result = false;
		if ($title <> '')
		{
			$result = [
				'TITLE' => $title,
				'DESCRIPTION' => $description,
				'COPYRIGHT' => ''
			];
		}
	}
	else if ($icon === 'imessage')
	{
		$result = [
			'TITLE' => 'Apple Messages for Business extension',
			'DESCRIPTION' => '',
			'COPYRIGHT' => ''
		];
	}

	return $result;
}