Telegram

Sends automated alerts, manages community chat members, and routes customer messages from Telegram into your internal tools.

Try Telegram in Ceven

Ask Ceven anything
Standard

Why use Ceven?

  1. AI native Telegram integration

    • Describe the outcome and Ceven picks the right Telegram calls, fills the parameters, and checks the result.
    • Structured, agent friendly tool schemas so each call runs reliably instead of by guesswork.
    • Rich coverage for reading, writing, and querying your Telegram data, across all 18 of its actions.
  2. Managed auth

    • Built in OAuth with automatic token refresh and rotation.
    • One place to manage, scope, and revoke Telegram access.
    • Per user and per environment credentials instead of shared keys.
  3. Agent optimized design

    • Actions are tuned from real success and error rates so reliability climbs over time.
    • Full execution logs so you always know what ran in Telegram, when, and on whose behalf.
    • The agent pauses and asks when Telegram is unclear instead of plowing ahead.
  4. Enterprise grade security

    • Fine grained access so you control which agents and people can reach Telegram.
    • Least privilege by default, read scopes first and only the writes a workflow needs.
    • A full audit trail of every Telegram action to support review and sign off.

Supported tools

Every action Ceven's agents can run on Telegram, and when to use it.

Send message
Use this to push a text based notification or reply to a specific user or group chat.
Send photo
Upload and send an image to a chat. Use this for visual alerts or sharing screenshots from other tools.
Send document
Push a file or PDF to a user. Common for sending automated reports or onboarding guides.
Edit message
Modify the text of a message previously sent by the bot to update status or correct info.
Delete message
Remove a specific message from a chat. Use this for moderation or cleaning up expired alerts.
Get chat info
Pull current metadata for a chat, including the name and username of the target.
Get chat members count
Retrieve the total number of people in a group or channel to track growth metrics.
Get chat administrators
Pull a list of all users with admin privileges in a specific chat context.
Get chat history
Retrieve previous messages from a chat to provide context for a current user request.
Get updates
Pull the latest incoming messages and events using long polling to trigger workflows.
Send poll
Create a native poll in a chat to gather structured feedback from members.
Export chat invite link
Generate a fresh primary invite link for a chat and revoke the previous one.
Forward message
Send an existing message from one chat to another without rewriting the content.
Answer callback query
Respond to an inline keyboard click with a top screen notification or alert.
Set bot commands
Update the list of slash commands visible to users when they interact with the bot.
Get bot info
Pull the basic identity and configuration details of the connected bot account.
Send Location
Send point on the map location to a telegram chat using the bot api.

17 actions · scroll to see them all

Frequently asked questions

Ceven operates through the Telegram Bot API, meaning the agent can only perform actions that the bot account is permitted to do. To manage messages or members in a group, you must promote the bot to an administrator within that specific chat. If the bot is just a member, it can only read messages that are sent directly to it or those that mention its username. We recommend granting the bot the specific permissions for deleting messages and pinning posts if you intend to use the moderation workflows. You can adjust these permissions at any time within the Telegram app settings for that group without needing to reconnect the integration in Ceven.
Yes, Telegram imposes strict rate limits to prevent spam. Bots are generally limited to sending about thirty messages per second across all chats, and no more than twenty messages per minute to a single chat. If a Ceven workflow attempts to blast thousands of messages at once, Telegram will return a 429 error. Ceven handles this by implementing an internal queue with exponential backoff. This means the agent will pause and retry the request automatically once the cooldown period expires. For very large broadcasts, we recommend staggering your workflow triggers to ensure a smooth delivery rate and avoid temporary API bans.
No, Ceven only connects to Telegram via the Bot API. This means the agent can only see and interact with messages sent to the bot or messages in groups where the bot is a member. It cannot access your private direct messages or read chats where the bot has not been explicitly added. This architecture ensures a clear boundary between your personal communications and the automated workflows. To allow the agent to monitor a specific conversation, you must add the bot to that group and ensure it has the necessary privacy settings disabled if you want it to read all messages rather than just those starting with a slash.
When a user clicks a button on an inline keyboard, Telegram sends a callback query to the bot. Ceven captures this event and allows you to map it to a specific workflow action. The agent uses the Answer Callback Query tool to send an immediate acknowledgment back to the user, which appears as a brief toast notification at the top of their screen. This prevents the user from seeing a loading spinner and confirms that the action was received. You can then chain this to more complex logic, such as updating a database record or sending a follow up document based on the specific button the user pressed.
Yes, provided the bot is an administrator with the right to invite users. The agent can use the Export Chat Invite Link action to generate a new primary link. One important quirk of the Telegram API is that generating a new primary link automatically revokes the previous one. If you have an old link posted on a website, it will stop working the moment Ceven generates a new one. If you need multiple active links for different sources, you should use a workflow that creates secondary invite links with specific expiration dates or member limits rather than rotating the primary link.
If the bot is removed from a chat, any active workflows targeting that specific chat ID will fail. Telegram will return a 403 Forbidden error indicating the bot is no longer a member. Ceven logs these failures and can be configured to send you an internal notification when a bot loses access to a managed channel. To restore service, a human administrator must re add the bot to the group and re assign the necessary permissions. Once the bot is back in the chat, the agent can immediately resume its monitoring and messaging tasks without any need to re configure the workflow logic.
Ceven uses the getUpdates method and other history tools to pull past interactions. However, Telegram bots cannot read messages sent before the bot was added to the group. There is no way to backfill messages from the time before the bot joined. Once the bot is active, it can retrieve recent history to provide context for the AI. For very long term storage and analysis, we recommend setting up a workflow that mirrors every incoming Telegram message to a data warehouse or a spreadsheet in real time. This ensures you have a permanent record that persists even if the bot is removed or the chat history is cleared.
Yes, the agent supports both. The primary difference is that in a channel, only administrators can post. When you connect a channel, the bot must be added as an administrator to send messages. The agent can then be used to automate a content calendar, pushing updates from an RSS feed or a CMS directly into the channel. For groups, the agent focuses more on bidirectional interaction and moderation. The workflow builder allows you to specify whether you are targeting a chat ID for a group or a username for a public channel, ensuring the messages land in the right place with the correct formatting.

Alternatives to Telegram

Other tools that solve a similar problem. Ceven supports these too, so you can switch or run more than one at once.

Slack logoSlackDiscord logoDiscordWhatsApp logoWhatsApp

Try Ceven on your stack

Plug Ceven on top of the tools you already run. Connect Telegram and the rest of your stack, describe the outcome, and its agents handle the work end to end, days of it in minutes.

Get started for free