Telegram logo

Integrate Telegram with your AI CRM

Telegram is a cloud-based messaging app with a focus on security and speed. Build bots to send messages, manage chats, and interact with users.

Explore Triggers and Actions

Answer Callback Query

Use this method to send answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen or as an alert.

ActionTry it

Delete Message

Delete a message, including eligible service messages. Telegram imposes time and message-type restrictions; deletion rights depend on the chat and message, and administrators with appropriate rights can delete other users' messages.

ActionTry it

Edit Message

Edit the text of a message identified by chat and message ID or inline message ID. Telegram's editing permissions and message restrictions apply.

ActionTry it

Export Chat Invite Link

Generate a new primary invite link for a chat; any previously generated primary link is revoked. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.

ActionTry it

Forward Message

Forward a message from one chat to another. Service messages and messages with protected content cannot be forwarded.

ActionTry it

Get Bot Info

Get basic information about the bot using the Bot API getMe method, including its ID, name, username and available capability flags.

ActionTry it

Get Chat Administrators

Get a list of chat administrators, excluding other bots. On success, returns ChatMember objects, including the bot itself if it is an administrator.

ActionTry it

Get Chat History

Poll pending bot updates and filter the returned batch by chat ID or username; this is not complete chat history, and an empty filtered batch does not establish that the chat has no accessible messages. Polling requires no active webhook, and advancing the offset confirms earlier updates across chats.

ActionTry it

Get Chat Info

Get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.). The bot must be a member of or have access to the target chat; calls fail if the bot was never added, was removed, or is blocked.

ActionTry it

Get Chat Member

Get a chat member's status/role (including the bot itself) to preflight permissions and troubleshoot 403/empty-history issues. Use before sending messages to verify bot membership and permissions.

ActionTry it

Get Chat Members Count

Get the number of members in a chat. The bot must be an administrator in the chat for this to work. Insufficient admin permissions surface as authorization errors, not as a zero or empty count.

ActionTry it

Get Updates

Receive incoming bot updates using long polling; an outgoing webhook must be removed first, and offsets confirm earlier updates. Returned updates expose message, edited message, channel post, edited channel post and callback query fields, with limited message details.

ActionTry it

Send Document

Send a general file to a Telegram chat using the Bot API. Telegram currently supports sending documents by URL only for PDF and ZIP files.

ActionTry it

Send Location

Send point on the map location to a Telegram chat using the Bot API.

ActionTry it

Send Message

Send a text message to a Telegram chat using the Bot API. Sending is subject to Telegram's chat permissions and flood controls.

ActionTry it

Send Photo

Send a photo to a Telegram chat using the Bot API. Each call sends one photo rather than an album.

ActionTry it

Send Poll

Send a native poll to a Telegram chat using the Bot API, with a question and answer options. On success, Telegram returns the sent message containing the poll.

ActionTry it

Set Bot Commands

Use this method to change the list of the bot's commands. See https://core.telegram.org/bots#commands for more details about bot commands.

ActionTry it

How the Telegram integration works

The Telegram integration connects your Dench AI CRM directly to Telegram, so agents can read and act on your Telegram data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

18 actions are available for agents to invoke on your behalf. Every call runs through Telegram's own authorization, scoped to the account you connect.

Set up Telegram in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find Telegram and click Connect — you'll authorize access through Telegram's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use Telegram in chat, or call it from an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the Telegram integration work with Dench?

The Dench Telegram integration connects your AI CRM to Telegram, so AI agents can work with your Telegram data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with Telegram via Dench?

The Telegram integration currently exposes 18 actions, including Answer Callback Query, Delete Message, Edit Message, Export Chat Invite Link, Forward Message, and Get Bot Info. Agents invoke them on your behalf from chat or from automations.

Do I need to write code to connect Telegram to Dench?

No. You connect Telegram from your Dench workspace using Telegram's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the Telegram integration secure?

Connections are authorized through Telegram's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the Telegram connection from your workspace settings at any time.

Telegram | Dench AI CRM