Telegram Setup
To setup Telegram:
- Settings → Settings → Miscellaneous tab
- Scroll down to see Telegram Bot section
Step 1: Telegram bot Token
Steps to generate token-
- Open the Telegram app and search for "BotFather" or visit HTTP://t.me/BotFather
- Start a chat with BotFather by clicking on the "Start" button
- Send the "/newbot" command to BotFather to create a new bot.
- BotFather will guide you through the process. You will be asked to provide a name and a username for your bot
- Once you have provided a name and username, BotFather will generate an API token for your bot, Copy the API token and use it.
- To send notifications to agents/admin configure chatId in edit user screen
Step 2: ChatId in edit user screen:
Steps to get user-id-
- Open the Telegram app and search for "GetMyChatID_Bot" or visit t.me/GetMyChatID_Bot.
- Start a chat with GetMyChatID_Bot by clicking on the "Start" button
- Send the "/start" command to GetMyChatID_Bot
- Copy the User id & use it
- Send a message to Bot which you have created from this user and start receiving notification
Step 3: Enabling Notification
- Go to Settings → Settings → Notification
- Enable the telegram notification wherever you need.