Telegram
Send messages and interact with Telegram via a bot token.
telegramv1.0.07 tools
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| API Key | api_key | available | — |
Call a tool
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "TELEGRAM_CALLBACK_QUERY_ANSWER", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("TELEGRAM_CALLBACK_QUERY_ANSWER", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute TELEGRAM_CALLBACK_QUERY_ANSWER --data '{ }'Tool catalog
Available tools
7 callable operations
Answer Telegram callback queryTELEGRAM_CALLBACK_QUERY_ANSWERAnswers a callback query from an inline keyboard interaction.Connection
Answers a callback query from an inline keyboard interaction.
Authentication
Connected account requiredTags
callbackswrite
Get Telegram chatTELEGRAM_CHAT_GETGets up-to-date information about a Telegram chat visible to the bot.Connection
Gets up-to-date information about a Telegram chat visible to the bot.
Authentication
Connected account requiredTags
chatsread
Get Telegram botTELEGRAM_GET_METests the Telegram bot token and returns basic bot information.Connection
Tests the Telegram bot token and returns basic bot information.
Authentication
Connected account requiredTags
botread
Send Telegram messageTELEGRAM_MESSAGE_SENDSends a text message to a Telegram chat using the bot token.Connection
Sends a text message to a Telegram chat using the bot token.
Authentication
Connected account requiredTags
messageswrite
Edit Telegram message textTELEGRAM_MESSAGE_TEXT_EDITEdits text, rich, or game messages previously sent by the bot.Connection
Edits text, rich, or game messages previously sent by the bot.
Authentication
Connected account requiredTags
messageswrite
Send Telegram photoTELEGRAM_PHOTO_SENDSends a photo to a Telegram chat using a file ID or HTTP URL.Connection
Sends a photo to a Telegram chat using a file ID or HTTP URL.
Authentication
Connected account requiredTags
messagesmediawrite
Get Telegram updatesTELEGRAM_UPDATES_GETGets incoming Telegram bot updates with long polling parameters.Connection
Gets incoming Telegram bot updates with long polling parameters.
Authentication
Connected account requiredTags
updatesread