/telegram

This extension allow have support for telegram bot support directly in Live Helper Chat. It support sound messages, images, files. You can also use Telegram as support client :)

Primary LanguagePHP

Telegeram bot integration

This extension allow have support for telegram bot support directly in Live Helper Chat. It support sound messages, images, files.

Install instructions

  1. Clone github repository
  2. Rename cloned folder of telegram to lhctelegram and put it in extension/ directory
  3. Activate extension in settings/settings.ini.php file
'extensions' => 
    array (          
        'lhctelegram'
    ),
  1. Install composer requirements with. You have to download composer or just have it installed already.
cd extension/lhctelegram && composer.phar update
  1. Clean cache. Just click clean cache in Live Helper Chat back office.
  2. Execute doc/install.sql on database manager or just run
    php cron.php -s site_admin -e lhctelegram -c cron/update_structure
    
  3. Register your bot with https://core.telegram.org/bots#6-botfather
  4. Create bot in LHC back office under Modules => Telegram Settings.
  5. After creating bot, go back and just click. "Set webhook"
  6. That's it.

Telegram as Support Client

This allows to use bot as gateway between normal chats on your page and bot chatting with you as a operator. In other words you can use Telegram mobile and desktop clients as Live Helper Chat support clients.

  1. After you have completed the above steps, you have to do the following changes: In LHC back office, go back to the bot editing page and choose the departments tab. Check the departments you want to receive new chats notifications for. Don't save yet.
  2. In same tab, check the "This bot acts as a client" box. Now save.
  3. go to LHC back office main telegram page and choose "Telegram operators". Choose Operator and Bot, or create one.
  4. Now start a conversation in Telegram and register yourself within bot by typing /register . The should be registered operator id from the very first column in the operators list in LHC Modules => Telegram Settings => Telegram operators.
  5. If you get an error message saying it can't find an operator with that ID, and the operator was just created, clean the cache and start a chat as that operator using just the website (not Telegram). Then try registering the again. It should work now.
  6. That's all. Just type /help to see what available commands are supported.

https://livehelperchat.com/how-to-use-telegram-if-you-are-automated-hosting-client-489a.html