Skip to main content

Telegram

This integration allows you to use the Telegram messaging app.

Créez un compte Telegram

Telegram is a messaging service focused on the speed and security of data transfer.

Available on many platforms (Android, IOs, Windows Phone, website, PC, Mac, Linux), it will allow you to communicate with Gladys Assistant by giving it instructions, receiving information or questions...

Create a Telegram account

Go to the Telegram website: https://telegram.org/.

Choose the device you want to use Telegram on.

Créez un compte Telegram

  • on Android, click on the "Telegram for Android" section, log into your account, optionally choose the device you want to install it on, then click "Install".

  • on IOs, go to the App Store of your device (IPhone or IPad), search for Telegram and install it.

  • on PC, click on the "Telegram for PC / Mac / Linux" section, optionally click on "Show all platforms", download the software, then install it.

Start the app or software.

Créez un compte Telegram

Enter your mobile phone number, and activate your account using the code received by SMS.

Then enter the information to create your account.

Create the Telegram Bot API key

When launching Telegram for the first time, you get this window (on Windows):

Créez un compte Telegram

In the "Search" box, type @BotFather and then press the Enter key.

Click on the BotFather icon (the first in the list).

Créez un compte Telegram

Click on the "Start" button at the bottom of the message viewing window...

Créez un compte Telegram

...and type /newbot to ask Telegram Bot to create a new Bot for you.

Créez un compte Telegram

BotFather asks you for the name you want to give to your bot. This will be the name displayed in your chats.

Then, you will have to indicate a "public" name, which will make it possible to find it in the directory. We have to chose a unique name.

Please note that the name must end with "bot", to clearly identify that it is a robot.

Créez un compte Telegram

In the message sent to you by BotFather, there is the API key under the line "Use this token to access the HTTP API:"

Enter this key in Gladys Assistant

Go to "Integrations" -> "Telegram".

Entrer une clé dans Gladys Assistant

Enter your API key then click "Save".

Entrer une clé dans Gladys Assistant

Click on "this link" to communicate with Gladys Assistant in Telegram.

Entrer une clé dans Gladys Assistant

Click on "Send message".

Entrer une clé dans Gladys Assistant

A window asking you to open this link in the Telegram Desktop app may appear.

In this window, click on "Telegram Desktop", then check the box "Remember my choice for tg links." This will hide this window for the next times.

Entrer une clé dans Gladys Assistant

Then click on "Open link" to open the Telegram app.

Entrer une clé dans Gladys Assistant

Click on "Start"

First communication between Telegram and Gladys Assistant

Enter your first question for your Gladys Assistant, for example : "What's the weather like?"

Wait a bit and ......... magic!!!

Your assistant answers you!

Entrer une clé dans Gladys Assistant

Check on the Gladys Assistant home page:

Entrer une clé dans Gladys Assistant

You can also view the conversations in the Discussion tab of Gladys Assistant.

Entrer une clé dans Gladys Assistant

Let's see what it looks like on a smartphone:

Entrer une clé dans Gladys Assistant

Enjoy !