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.
- 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
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
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:- Open Telegram and search for @BotFather, or go to https://t.me/BotFather.
- Send the command
/newbot. - Follow the prompts:
- Choose a display name for your bot
- Choose a username that ends in
bot(for example,myapp_notify_bot)
- BotFather will generate a bot token that looks like:
- 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.
Step 2: Connect Telegram to Lovable
- Open Connectors.
- Select Telegram.
- Click Add connection.
- 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.
- Display name: Give the connection a descriptive name (for example,
- Click Create.
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)
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.