Telegram

Last updated 2 months ago

Connect your Space to Telegram.

Telegram is a cloud-based instant messaging and voice over IP service developed by Telegram Messenger LLP, a privately held company founded by the Russian entrepreneur Pavel Durov. As of March 2018, Telegram had 200 million monthly active users with an annual growth rate of over 50%.

The Telegram Logo

For a detailed list of features against the other channels, you can take a look at the comparison table.

Setting Up Telegram

In order to connect Telegram to your Space, you will need the following:

Creating a Telegram Bot

First, you will have to create a new bot by messaging Telegram's BotFather, a bot that will help you create your own.

Telegram's BotFather

Start off by sending the following start command to BotFather or by pressing the blue "Start" button.

/start

To create your Telegram Bot, send the following new bot command to BotFather.

/newbot

Now BotFather should ask you to name your new bot. Your bots name will be displayed in contact details and elsewhere.

Go ahead and name your Telegram Bot by sending the name to BotFather.

Once you have confirmed the name of your bot, BotFather will ask you for a Username. The username will be used in mentions and telegram.me links.

Note the username of your must end with "bot" (e.g. @TriviaBot or @GitHub_bot). Usernames must also be within 5-32 characters long and are case insensitive.

Send the username of your choice to BotFather. He will do a quick check if the username is available and fits their internal naming rules.

Once you have chosen the name and username, BotFather will create your Telegram Bot.

Creating a new Telegram Bot with BotFather

Now that the BotFather has created your bot. He will tell you its telegram.me URL and also generate its access token. Make a note of the access token as you will need it in the following step.

Remember to keep your token safe and secure, as it allows access to your Telegram Bot.

Connecting to Telegram

To add a new channel to an existing Space, navigate to Settings and select the blue "Add Channel" button under Manage Channels.

On the Rocketbots Platform, select the Telegram Logo under the Channel Connection menu. You will be prompted for the Channel Name, a Greeting Message, and an authentication Token.

Connecting to Telegram

Enter a suitable name for the new channel. Note that the Channel Name is private and will only be used within the Rocketbots Platform.

You may enter an optional Greeting Message. This will be shown when a new member of your audience first contacts you.

Authorization Token

Paste the access token that the BotFather gave you when first creating your Telegram Bot into the Token field.

The Token is a string that should look something along the lines of:

110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw (example)

If you have lost your Telegram Bot token for some reason or if your existing token has been compromised, you can use the token command to generate a new one.

/token

Once you have filled in the required fields, go ahead and press the blue "Done" button to create the Space.

Any messages sent to your Telegram Bot will now be received in your Space on the Rocketbots Platform.