INTEGRATIONS · TELEGRAM
Forward SMS to Telegram.
Get your text messages in a Telegram chat. The app sends each SMS through your own Telegram bot, so the messages go only to the chat that you select.
TelegramTarget type in the app: Telegram
How to set it up
- In Telegram, open @BotFather and send
/newbot. Copy the bot token. - Send a message to your bot, or add the bot to a group.
- Open
https://api.telegram.org/bot<token>/getUpdatesin a browser. Copy thechat.idvalue. - In SMS Webhook, open Targets, tap Add target and select Telegram. Paste the bot token and the chat ID.
- Tap Send test message. The message shows in the chat.
What Telegram gets
The bot sends a text message. The default text is {{sender}}: {{body}}. You can change it in the target.
HDFC Bank: Your OTP for login is 834512. Do not share it.
Send only the messages that you need
Rules select the messages. Example: when the sender contains HDFC and the text has an OTP, send it to Telegram. A drop rule can stop promotions first. See the webhook guide for the template variables.
Notes
- Turn on Hide OTP to send the code as dots. This is useful in a group chat.
- Group chat IDs start with
-100.