Discover Telegram: Platform Overview

A Telegram channel connects your RapidPro.app workspace to Telegram, a fast, free, cloud-based messaging platform. In RapidPro.app, your Telegram channel is represented by a Telegram Bot, which is the interface between Telegram’s API and your flows. This article explains why Telegram is a strong option for testing or production, how Telegram bots work, and what to expect when sending at scale.

Connect Telegram and test end-to-end

If you just need the essentials, follow this quick path:

  1. Understand what a Telegram channel is (Bot + URN behavior)
  2. Know Telegram’s key limits (bots can’t message new contacts first)
  3. Create a bot via BotFather and copy the token
  4. Add the Telegram channel in RapidPro.app and paste the token
  5. Test inbound + outbound (Messages + a simple flow)

Telegram is ideal for early testing and can also work well in production when your audience has reliable internet access.

Step-by-Step Process

1
Understand what a Telegram channel does

A Telegram channel connects your RapidPro.app workspace to Telegram so your flows can send and receive messages.

In RapidPro.app, the Telegram integration is represented by a Telegram Bot, which acts as the interface between Telegram’s API and your flows.

[CAPTURE: Channels list showing a Telegram channel labeled as a Bot integration.]

⚙️
Technical Detail: Telegram contacts are identified by a Telegram address/URN (not a phone-number SMS URN). As long as a contact has a Telegram address and the channel is enabled, RapidPro.app can route messages through your bot.

2
Know Telegram’s key rules (bots and first contact)

Telegram bots usually cannot initiate conversations with brand-new contacts.

By default, a contact must first:

  • message your bot, or
  • add the bot to a group.

After the first interaction, the contact appears in RapidPro.app and you can send messages at scale (flows, broadcasts, campaigns).

[CAPTURE: Telegram chat showing a user sending the first message to a bot.]

💡
Tip: For onboarding, share a “Start chat with our bot” instruction (QR code or deep link) so contacts message the bot first.

3
Create a Telegram bot (and get your token)

  1. Open Telegram and start a chat with BotFather.
  2. Create a new bot and choose a bot username (usernames typically end in bot).
  3. Copy the bot token provided by BotFather.

[CAPTURE: BotFather chat showing the bot token (blurred).]

⚠️
Warning: Treat the bot token like a password. Don’t paste it into messages, flows, or shared docs.

4
Add the Telegram channel in RapidPro.app

  1. Open Workspace Settings (gear icon).
  2. Go to Channels and click + New Channel.
  3. Select Telegram.
  4. Paste your bot token and save.
  5. Confirm the channel appears as Enabled in your Channels list.

[CAPTURE: Add Channel page showing Telegram selected and a Token field (blurred).]

⚙️
Technical Detail: Your RapidPro.app Telegram channel is a bot integration (not a user account). Bots display a bot label and don’t show “online” or “last seen” status like regular user accounts.

5
Test inbound + outbound (recommended)

  1. From a personal Telegram account, send a message to your bot.
  2. Confirm the message appears in RapidPro.app under Messages (and/or the contact history).
  3. Run a simple flow that replies to the contact and confirm the reply is delivered in Telegram.
  4. If you plan to broadcast, test a small broadcast to a few contacts who have already messaged the bot.

[CAPTURE: RapidPro.app Messages view showing an inbound Telegram message and a reply sent.]

💡
Tip: Start with a small test group. Telegram is fast and cost-free per message, but bot rules still apply (contacts must have interacted first).

Common Issues & Quick Fixes

My bot can’t message new people first

Cause: This is expected behavior for Telegram bots.

Fix: New contacts must message the bot first (or add it to a group). After that first interaction, you can message them through flows and broadcasts.

Broadcasts don’t reach anyone on Telegram

Cause: Your audience may not have interacted with the bot yet, so they are not reachable via Telegram.

Fix:

  • Confirm contacts have already messaged the bot at least once.
  • Verify those contacts exist in RapidPro.app and have a Telegram address/URN.
Messages send too slowly or get rate-limited

Cause: High burst sending can hit practical bot throughput limits.

Fix:

  • Reduce burst sending (send in smaller batches).
  • Stagger broadcasts and avoid unnecessary retries.
I connected the bot, but inbound messages don’t appear

Fix:

  • Confirm the bot token is correct.
  • Verify the channel is enabled in Workspace Settings → Channels.
  • Re-test by sending a fresh message to the bot and checking message logs.