To receive incident alerts from Sharing SMS directly in Telegram, you need to complete two steps:
- Create a Telegram bot and obtain its API token,
- Create a Telegram group and obtain its chat_id.
Then send these two values to Sharing SMS support.
Step 1. Create a Telegram Bot and Get the API Token
- Buka BotFather in Telegram: https://t.me/botfather
- Send the command /newbot
- Choose a name and username for your bot
- BotFather will return your bot’s API token
- Save this token
Example token:
60655699310:AAFz6ptUnB71ILePbXKwB71ILePbXUeU4
Save this token — you will need it for the webhook setup.
Step 2. Create a Telegram Group and Get the chat_id
- Create a new group in Telegram
- Add your bot to the group (required — otherwise it cannot send messages)
- To find the chat_id:
- Open the web version of Telegram: https://web.telegram.org
- Go to your group
- In the browser’s address bar, the identifier at the end of the URL (starting with “-”) is your group’s chat_id
Example URL:
https://web.telegram.org/k/#-4000000000
Step 3. What to Send to Sharing SMS Support
After completing Steps 1 and 2, send the following two values to our support team:
- API token of your Telegram bot
- chat_id of your Telegram group
Once we configure the webhook, you will receive a test notification.
If the test message is delivered successfully, your Telegram notification channel is fully set up.