replyglide.
  1. Home
  2. Blog
  3. How to Run iOS In-App Support From a Telegram Group

How to Run iOS In-App Support From a Telegram Group

A practical setup for small iOS teams: users write from a chat inside your app, you reply from a Telegram group, and every answer lands back in the app.

Published: Updated: 7 min read

You can run in-app support for an iOS app from Telegram by putting a chat screen inside the app, connecting it to a bot that posts each user message into your team's Telegram group, and replying to that bot message. The reply is routed back to the same conversation and appears in the user's chat.

This guide walks through that setup with ReplyGlide: what the moving parts are, the steps in order, when to use one group versus a topic per user, and the mistakes that quietly break the reply path.

How does in-app support through Telegram work?

Three pieces work together: an SDK that shows the chat inside your app, a server that stores every conversation, and a Telegram bot that acts as the bridge to your team.

A message travels like this:

  1. The user opens the chat in your app and writes a message.
  2. The SDK sends it to the server, which stores it and shows it in the web inbox.
  3. The bot posts a notification into your Telegram group with the user's name, the app name and the message text.
  4. You use Telegram's Reply on that notification and type your answer.
  5. The server matches the reply to the conversation, stores it, and the user sees it in the app.

Two details of the Telegram platform explain why it is built this way.

First, a bot can receive updates in two mutually exclusive ways: long polling with getUpdates, or a webhook. Telegram documents this in the Bot API section on getting updates. ReplyGlide polls, so the bridge works without a public webhook endpoint. That matters if you self-host on a small server or try it on your own machine first.

Second, bots in groups run in privacy mode by default. They do not see ordinary group chatter, but they always receive replies to their own messages, and bots added as admins receive everything. Telegram describes this in its privacy mode documentation. Replying to the notification is therefore both the signal the bot is guaranteed to get and the thing that tells the server which user you are answering.

Why answer from Telegram instead of another dashboard?

Because a support tool only helps if someone opens it. A team of one to five people usually already has Telegram on every phone and desktop, so a new message is seen where the team already is.

Apple expects apps to be reachable. App Review Guideline 1.5 asks that your app and its Support URL include an easy way to contact you. A mailto link satisfies that, but email loses context: you do not know which app version, device or account the person is writing from. An in-app chat sends that context along with the first message.

The trade-off is honest: Telegram is a chat app, not a ticketing system. There is no assignment, no SLA timer and no reporting in a group chat. ReplyGlide keeps a web inbox next to Telegram for the things a group cannot do, such as searching history, viewing photos and closing conversations.

What do you need before you start?

Very little, and none of it involves handling a bot token on the hosted version.

  • An iOS app on iOS 17 or later, built with SwiftUI or UIKit. React Native works through an iOS bridge with a development build; Expo Go and Android are not supported.
  • A workspace. Create one in the dashboard, add your app, and you get an App ID that starts with app_.
  • A Telegram group you administer. Only group admins can connect a group.
  • Self-hosting only: one bot created with BotFather. The platform owner enters its token once; customers of that server never see it.

How do you set it up step by step?

Plan for a short session with your own test device. In Settings → Setup, copy the configuration for the app you are connecting. The full SDK reference in Turkish covers the other integration options.

  1. Create the workspace and add your app. Each app gets its own App ID, appearance and integrations.
  2. Try the chat in the browser first. In Settings → Setup, open the test chat. It uses the real SDK API, so the message appears in your inbox and your answer comes back.
  3. Add the SDK to your app. The Swift package is added in Xcode as a local package; it is not published to a public package registry yet. The Setup tab shows the snippet with your App ID and server address filled in.
  4. Connect Telegram. In Settings → Integrations → Telegram, choose Connect. You get a one-time link that is valid for ten minutes. Open it in Telegram, pick the group and add the bot. You do not type a token or a numeric group ID.
  5. Send the test message from the dashboard to confirm the right group is connected.
  6. Send a real message from the app, then reply to the bot's notification in Telegram. Check that the answer shows up both in the inbox and in the app.

The SDK side is a few lines:

import DevSupport

DevSupport.configure(
    appID: "app_YOUR_ID",
    serverURL: URL(string: "https://your-server.example")!
)

// SwiftUI: a ready-made button that opens the chat
DevSupportButton()

// Optional: tell support who is writing
DevSupport.shared.identify(userID: "user-123", name: "Elif")
DevSupport.shared.setMetadata(["plan": "free"])

In UIKit, call DevSupport.shared.present(from: viewController) instead of using the button.

Should you use one group or a topic per user?

Start with a single group. Move to a topic per user when two conversations overlap often enough that replies start to feel risky.

Your situation Setup How you reply
Solo developer, a few messages a day One group, topics off Reply to the bot's notification
Two to five people sharing support Group with Topics on, one topic per user Type in the user's topic; plain messages there go to that user
You need photos, search or closing conversations Web inbox next to Telegram Answer in the dashboard; the answer is mirrored quietly under the latest notification
Several apps One workspace, an App ID and Telegram connection per app Each notification names the app it came from

Topics need three things: Topics enabled in the group, the bot given the Manage Topics right, and the per-user topic option switched on in the dashboard. The right is a Telegram requirement, not ours; the Bot API only lets a bot create a forum topic when it is an administrator with can_manage_topics.

The fallbacks are forgiving. A deleted topic is recreated on the next notification, and if the bot loses the topic right, notifications go to the main chat instead of disappearing.

What can't you do from Telegram?

A few limits are deliberate, and it is better to know them before your first real user writes in.

  • Replies from Telegram are plain text. Photos are viewed and sent from the web inbox, and user photos are not forwarded to Telegram.
  • Forwarded messages, other bots and anonymous admin posts are ignored. Write the answer yourself, as yourself.
  • The thumbs-up reaction means "stored", not "read". It confirms the server recorded your reply.
  • Everyone in the group can answer customers. Group membership is separate from dashboard membership, so removing someone from the team means removing them from the group too.
  • There is no AI answering and no automatic translation. People answer people.

For what is stored and what is sent to Telegram, read the data storage page.

Which mistakes break the reply bridge?

Most problems come from six habits. Each one has a symptom you can spot quickly.

  1. Typing in the main group without Reply. Nothing reaches the user, and you get no thumbs-up. Outside a per-user topic, always reply to the notification.
  2. Pointing the same bot at another service's webhook. Polling and webhooks are mutually exclusive, so the server can no longer collect your replies. Notifications may still arrive, which makes this confusing; give the support bot one job.
  3. Turning on topics without the Manage Topics right. Notifications keep landing in the main chat. Fix the bot's admin rights and the next message opens a topic.
  4. Testing against localhost on a real iPhone. On the phone, localhost is the phone. Use your Mac's local network address in debug builds and HTTPS in production.
  5. Leaving a former teammate in the group. They can still read and answer. Review the member list whenever the team changes.
  6. Mixing test chatter with real users. Do the first run only with your own device, so example conversations never sit next to real ones.

Is this the right setup for your team?

It fits if you ship iOS apps with a small team, want a person to answer, and already use Telegram during the day. You get support that travels with you and an inbox for the heavier work.

It is not a fit if you need an Android SDK today, automated AI answers, or ticket assignment with SLA reporting. A full help desk is the better tool for that.

If it does fit, create a workspace, follow the setup guide and send yourself the first message. More guides will appear on the blog.

Frequently asked questions

Do my users need a Telegram account to get support?

No. Users write in the chat inside your iOS app and never see Telegram. Only your team uses Telegram: the bot posts each user message into your group and carries your reply back to the app. Users do not have to create a support account either, unless you decide to connect your own login system.

Do I have to create my own Telegram bot?

On the hosted version, no. You connect your group through a one-time link and never handle a bot token or a numeric group ID. If you self-host ReplyGlide, the platform owner creates one bot with BotFather and enters its token once in the account settings; every app on that server then shares it.

Can I send photos from Telegram?

Replies sent from Telegram are plain text. Photos that users attach in the app are stored on the server and are not forwarded to Telegram, so you open the web inbox to view them or to send a photo back. Telegram covers the quick text answers; the inbox covers everything else.

How do I know my Telegram reply reached the user?

The bot reacts with a thumbs-up, or posts a short confirmation, once the server has stored your reply. That proves the reply was recorded in the conversation, not that the device received or read it. Read state is shown in the web inbox, and a push notification is sent only if you configured APNs for the app.

Does this work with React Native, Expo or Android?

React Native is supported through an iOS bridge that opens the native SwiftUI chat. It needs a development build and a CocoaPods install, so it does not run inside Expo Go. Android is not supported in the current version. The native SDK requires iOS 17 or later.