You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To set up a Telegram group, do the following:

  1. Set up a MID account
  2. Download Simple MID Server.
  3. Create and place the scripts to create, close and delete a Telegram group inside this folder.

    // To create a group// To close a group// To delete a group
  4. Run the first script "create" manually. The system will require the user's authorization, do it manually.
  5. A "Router Session On" file is created.
  6. On your instance, go to the System Properties (sys_property) table, set the value true for the itsm.telegram.swarming property.
  7. Create a new server in the MID Server (MID_server) table.
  8. Create a script to create a group in Telegram in the MID Scripts (MID_script) table. To do so, click New and in the new script form add a name of the script (for example, createTelegram) and in the Script field add the path to the script on your computer, created at the step 3.
  9. Repeat the step 8 to add the scripts to close and delete a group.
  10. Go to System Properties (sys_property) table and add the IDs of the three created scripts to the corresponding properties as their values.
  11. Go to a major incident form. Now there appears a Start Swarming buttonClick it for the first time and a record with a corresponding name appears in the MID Queue (sys_mid_queue) table.
  12. Create a closeGroup record in the MID Queue (sys_mid_queue) table. 
  13. Create a deleteGroup record in the MID Queue (sys_mid_queue) table. 


  • No labels