Skip to content
English

Connect Telegram

  1. in Telegram, open @BotFather;
  2. send /newbot;
  3. choose the name and identifier requested;
  4. copy the token provided.

The token looks like 1234567890:ABCDefGHIJklmNoPQRstUvWxYZ. Never publish it.

  1. Open Integrations hub > Telegram;
  2. Click Configure a Telegram bot;
  3. paste Bot Token;
  4. Click Connect.

ELChat checks the token with Telegram and automatically saves the webhook. Success shows the name and, if it exists, the name of the bot.

Send a message to the bot or add it to the context, then check its reception. The disconnection removes the Telegram webhook at best then deletes the account from the site.

::caution[BotFather]

If the token is exposed, immediately revoke it with BotFather and then reconnect with the new token. :::

After connecting the @maison_atlas_support_bot bot, send Bonjour, quels sont vos horaires ? from an account that is not the owner’s account. Check that the conversation appears in ELChat, then test a question covered by your knowledge and an out-of-range question.

The first message checks the webhook and reception. The two questions then check the quality of the answer and the fallback behaviour. Do not activate automatic responses before these checks.