Skip to content

Connections

Telegram

Support through your own Telegram bot. Private messages become Slack conversations and thread replies are sent back by the bot.

On this page

Customers message your Telegram bot; each private chat becomes a Slack conversation, and your thread replies are sent back by the bot.

Setup

About two minutes: create a bot, paste its token, and Channlize registers the webhook. In Channlize, Connections → New connection → Telegram. The setup screen shows the Connection URL above these steps, with the secret fields and buttons at the step that needs them. Nothing to paste in Telegram: Channlize registers this URL for you in step 3.

  1. Create a bot with @BotFather (Open @BotFather): send /newbot, then a display name (e.g. Acme Support) and a username ending in bot. BotFather answers with the bot token (123456789:AA…).
  2. Paste the bot token into Channlize.
  3. Register the webhook: Channlize calls Telegram's setWebhook with the URL and a secret it generates. Updates without that secret are rejected.

Optional, answer from Slack: turn on Reply on Telegram under Settings so replies from the Slack thread or the dashboard are sent by the bot. Private messages become conversations, one per Telegram user; /start gets the greeting set under Settings. Groups are ignored unless you set message.group_mention to Create a conversation under Events.

First event: the screen shows Waiting for the first event… until one arrives. Open your bot in Telegram, press Start and send it a message. Then click Done to keep the connection. Cancel deletes the draft and its URL, and removes the webhook Channlize registered at Telegram.

Authentication

Telegram sends the generated secret in X-Telegram-Bot-Api-Secret-Token with every update; Channlize compares it in constant time. Updates are deduplicated on update_id. Only message, edited_message and my_chat_member updates are requested.

Default mappings

EventAction
message.privateConversation
command.startLog, and the bot sends its greeting
message.edited, bot.unblockedLog
bot.blockedAlert
message.group, message.group_mention, message.from_botIgnore

The conversation subject is "Telegram · ". Telegram users have no email, so the contact gets a placeholder address that is never emailed.

Two-way replies

Turn on replies. Thread replies are sent with the bot's sendMessage as plain text, up to 4,096 characters.