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
Run the first script "create" manually. The system will require the user's authorization, do it manually.
A "Router Session On" file is created.
On your instance, go to the System Properties (sys_property) table, set the value true for the itsm.telegram.swarming property.
Create a new server in the MID Server (MID_server) table.
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.
Repeat the step 8 to add the scripts to close and delete a group.
Go to System Properties (sys_property) table and add the IDs of the three created scripts to the corresponding properties as their values.
Go to a major incident form. Now there appears a Start Swarming button. Click it for the first time and a record with a corresponding name appears in the MID Queue (sys_mid_queue) table.
Create a closeGroup record in the MID Queue (sys_mid_queue) table.
Create a deleteGroup record in the MID Queue (sys_mid_queue) table.