Home » Documentation » SMS to Telegram
Forward incoming SMS to Telegram messenger channel
SMS Enabler can automatically forward incoming SMS messages to a Telegram channel.
For this, in the SMS-to-Telegram tab in the Settings you need to specify:
a) the ID of the channel to which you want SMS messages to be forwarded.
b) the authentication token of the bot which will be used to send messages to that channel.
Note: the bot must be added as administrator of the channel.
Getting Channel ID
You can create a new channel or use your existing channel (of which you are an administrator). The channel can be a private channel or a public one.
Getting ID of a private channel
Send any message to the channel in a Telegram app. Copy the link to that message. The link looks like this for a private channel:
Add -100 prefix to the bold part of it. The channel ID will be -1007788123123 for the example above. Specify your resulting ID in the "Channel ID" field in the SMS-to-Telegram tab in SMS Enabler's Settings.
Getting ID of a public channel
Send a message to the channel in a Telegram app. Copy the link to that message. The link looks like this for a public channel:
Add @ prefix to the bold part of it. The channel ID will be @somechannel for our example. Specify the resulting ID in the "Channel ID" field in the SMS-to-Telegram tab in SMS Enabler's Settings.
Getting Bot Authentication Token
If you don't have a Telegram bot you need to create one. Or you can use your existing one.
NOTE: you must add your bot as administrator of the channel to which messages are to be forwarded.
Use a Telegram bot named BotFather to create a bot and/or get its authentication token. The token looks something like
Find BotFather in a Telegram app and open a chat with it.
To create a bot send
/newbot command to BotFather. Then answer BotFather's questions. In the end it will tell you your bot's authentication token.
If you already have a bot but forgot its token, you can generate a new token by sending
/token command to BotFather.
Specify the token in the "Bot authentication token" in SMS-to-Telegram tab in the Settings dialog box.