Telegram Block

This page describes the Telegram block of the Event Manager Constructor. The Telegram block is intended for sending messages to the Telegram messenger.

The Telegram block is only compatible with the following analytics:

  • Face Recognition
  • LPR
  • Gun Detection
  • Smoke & Fire Detection
  • Object Detection
  • Pose Estimation

Overview

To open the Telegram block, in the Event Manager Constructor workspace:

  1. Select the Telegram block icon
  2. See the Telegram block

Use and Functionality

The Telegram block functional menu allows to:

  1. Enter bot token
  2. Enter chat ID
  3. Select the date format from the drop-down list

Get Bot Token

 To start the bot creation process, in the Telegram window:

  1. Enter @botfather in the Search field
  2. Select BotFather from the search results in the drop-down list
  3. Click the Start button to start the chat

To create a new chatbot and get a bot token:

  1. Enter /newbot command
  2. Enter desired bot name
  3. Enter desired bot username
  4. Get the new token
Bot username must end in "bot" (e.g. test_bot).

Get Chat ID

To get the Telegram chat ID:

  1. Create a new group chat
  2. Add all required members:
    • Users, who will read notifications
    • Your previously created bot
    • Get My ID bot (@getmyid_bot)
  3. Get the chat ID in the new message from Get My ID