Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Citeck EcoS have telegram integration in ecos-order-pass module.

With this module you can order a pass.  For this you need to do next steps:

  1. Authenticate.
  2. Send the name of the person in whose name the pass is issued.
  3. Send date when pass is needed.

Settings

  1.  You need add to alfresco-global.properties bot token and enabled setting:
Paste code macro
languagejava
telegram.bot.token=your-bot-token
telegram.bot.enabled=true

      2.   Add telephone of the telegram user to cm:person that will be authenticate. The property in which to add the phone is cm:mobile.

When you authenticate in telegram bot system finds user in EcoS using the phone from telegram contact. If user finded then authenticate is successful.