# Telegram

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.

- **Category:** team chat
- **Auth:** API_KEY
- **Tools:** 18
- **Triggers:** 0
- **Slug:** `TELEGRAM`
- **Version:** 20260217_00

## Tools

### Answer Callback Query

**Slug:** `TELEGRAM_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.

### Delete Message

**Slug:** `TELEGRAM_DELETE_MESSAGE`

Delete a message, including service messages, with certain limitations.

### Edit Message

**Slug:** `TELEGRAM_EDIT_MESSAGE`

Edit text messages sent by the bot.

### Export Chat Invite Link

**Slug:** `TELEGRAM_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.

### Forward Message

**Slug:** `TELEGRAM_FORWARD_MESSAGE`

Forward messages of any kind. Service messages can't be forwarded.

### Get Chat Info

**Slug:** `TELEGRAM_GET_CHAT`

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.).

### Get Chat Administrators

**Slug:** `TELEGRAM_GET_CHAT_ADMINISTRATORS`

Get a list of administrators in a chat. On success, returns an Array of ChatMember objects that contains information about all chat administrators except other bots.

### Get Chat History

**Slug:** `TELEGRAM_GET_CHAT_HISTORY`

Get chat history messages. Note: This uses the getUpdates method with specific parameters to retrieve historical messages.

### Get Chat Member

**Slug:** `TELEGRAM_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.

### Get Chat Members Count

**Slug:** `TELEGRAM_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.

### Get Bot Info

**Slug:** `TELEGRAM_GET_ME`

Get basic information about the bot using the Bot API getMe method.

### Get Updates

**Slug:** `TELEGRAM_GET_UPDATES`

Use this method to receive incoming updates using long polling. An Array of Update objects is returned. IMPORTANT: This method will not work if an outgoing webhook is set up. Webhooks and getUpdates (long polling) are mutually exclusive - you cannot use both simultaneously. If you have an active webhook configured, calling this method will return a 409 Conflict error. To switch from webhook to polling mode, you must first call deleteWebhook or use setWebhook with an empty url parameter to remove the webhook. Notes: - Only one method (webhook or polling) can be active at a time for a bot - Updates remain available for up to 24 hours if unclaimed - Recalculate offset after each response to avoid duplicate updates

### Send Document

**Slug:** `TELEGRAM_SEND_DOCUMENT`

Send general files (documents) to a Telegram chat using the Bot API.

### Send Location

**Slug:** `TELEGRAM_SEND_LOCATION`

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

### Send Message

**Slug:** `TELEGRAM_SEND_MESSAGE`

Send a text message to a Telegram chat using the Bot API.

### Send Photo

**Slug:** `TELEGRAM_SEND_PHOTO`

Send photos to a Telegram chat using the Bot API.

### Send Poll

**Slug:** `TELEGRAM_SEND_POLL`

Send a native poll to a Telegram chat using the Bot API.

### Set Bot Commands

**Slug:** `TELEGRAM_SET_MY_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.
