Skip to main content
Telegram is a messaging platform that lets your Lovable app communicate with users through chats, groups, and channels. The Telegram connector enables Telegram integration for your app, allowing it to send notifications, respond to user messages, and trigger workflows directly from Telegram conversations. Telegram is available as an app + chat connector: one shared connection that works in the chat while you build and in your published apps.
This is an integration for apps you build with Lovable. Your app can send and receive messages through Telegram bots.Want to chat with Lovable inside Telegram instead? Use Lovable in Telegram.
Telegram bots act as a chat interface for your app, letting users receive updates or interact with app features without opening the app interface. With Telegram, your app can:
  • Send messages, photos, documents, and other media to users or groups
  • Receive and respond to user messages and commands (via polling)
  • Create interactive buttons and custom keyboards
  • Guide users through workflows such as booking, ordering, or submitting requests
  • Deliver alerts, reports, and reminders through chat
  • Broadcast updates to Telegram groups or channels
Telegram is a good fit when your app needs to notify users about events, broadcast updates, or allow users to request information directly through chat.

Common use cases and example apps

How Telegram connections work

Each Telegram connection uses a bot token, which represents a single Telegram bot created through @BotFather. Within your Lovable workspace:
  • Each connection represents one Telegram bot
  • You can create multiple connections if you want to use multiple bots
  • Multiple projects can use the same connection
Telegram uses a bot token authentication model, not OAuth, so there is no authorization flow or token refresh process. Telegram uses Lovable’s gateway architecture for secure credential handling. See Gateway-based connectors for details on authentication and usage limits.

How to connect Telegram

Workspace admins and owners can connect Telegram. When a connection is created, Telegram becomes available across all projects in the workspace.

Prerequisites

Before connecting Telegram, make sure you have:
  • A Telegram account
  • A Telegram bot and bot token created using @BotFather
  • Lovable workspace admin or owner role

Step 1: Create a Telegram bot and get a bot token

Telegram bots are created and managed through @BotFather, Telegram’s official bot management tool. To create a bot and obtain a token:
  1. Open Telegram and search for @BotFather, or go to https://t.me/BotFather.
  2. Send the command /newbot.
  3. Follow the prompts:
    • Choose a display name for your bot
    • Choose a username that ends in bot (for example, myapp_notify_bot)
  4. BotFather will generate a bot token that looks like:
  5. Copy the token and store it securely.
Your bot token functions like a password. Keep it secure and never expose it publicly. You’ll need it in the next step.
See Telegram docs for detailed instructions: BotFather

Step 2: Connect Telegram to Lovable

  1. Open Connectors.
  2. Select Telegram.
  3. Click Add connection.
  4. Fill in the connection details:
    • Display name: Give the connection a descriptive name (for example, Telegram Prod).
    • Bot token: Paste the bot token you received from @BotFather.
  5. Click Create.
Lovable will verify the token and create the connection. Once connected, your Lovable apps can start sending and receiving Telegram messages.

Limitations

The Telegram connector currently does not support:
  • Webhooks for receiving incoming messages. Use getUpdates (polling) to receive incoming messages instead.
  • Per-user Telegram login (each end user connecting their own account)
To receive incoming messages, your app should periodically request updates from the Telegram Bot API.

Manage your connection

Connections are managed from Connectors: select , then open the connection.
  • Unlink projects to remove access from specific projects while keeping the connection available for others. See Unlink projects from a connection for the steps.
  • Delete the connection to remove it from the workspace entirely. Deleting is permanent. It removes the credentials from all linked projects, and app features that use stop working until a new connection is added. See Delete a connection for the steps and who can delete.