Telegram

Connect a Telegram bot to receive the messages sent to it in the Sendeasy inbox, with bot and agents.

Create the bot on Telegram

  1. On Telegram, open @BotFather.
  2. Send /newbot and follow the instructions.
  3. Copy the generated Bot Token (format 1234567890:ABC...).

Connect in Sendeasy

  1. In the project side menu, click Channels, then Add channel and choose Telegram.
  2. Click Add channel and fill in:
    • Channel name, for example "Telegram Support".
    • Bot Token, copied from BotFather. Sendeasy checks the token before saving.
    • Welcome message (optional).
    • Queue / Department, which the bot uses in its replies.
  3. Click Create channel.

Turn on the webhook

Once created, the channel shows the Webhook URL. Sendeasy does not register this URL with Telegram by itself: open the address below in your browser, replacing <TOKEN> with the Bot Token and <WEBHOOK_URL> with the URL copied with Copy webhook.

https://api.telegram.org/bot<TOKEN>/setWebhook?url=<WEBHOOK_URL>

Telegram responds with "ok": true. From then on, messages sent to the bot arrive in the inbox.

How sending works

  • Sendeasy replies within the conversation the person started with the bot. Telegram does not let a bot start a conversation with someone who has never talked to it.
  • Agents and the bot reply with text, images, video, audio and files.

What is not available

  • Campaigns: Telegram does not appear in Schedules.
  • Integrations API: sending through the API (POST /api/integration/generic) only accepts WhatsApp, Email and SMS.

Essa informação foi útil?