Open Connector
All tools

Telegram

Send messages and interact with Telegram via a bot token.

telegramv1.0.07 tools

Authentication

MethodKindStatusDetails
API Keyapi_keyavailable

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.

Answers a callback query from an inline keyboard interaction.

Authentication

Connected account required

Tags

callbackswrite
Get Telegram chatTELEGRAM_CHAT_GETGets up-to-date information about a Telegram chat visible to the bot.

Gets up-to-date information about a Telegram chat visible to the bot.

Authentication

Connected account required

Tags

chatsread
Get Telegram botTELEGRAM_GET_METests the Telegram bot token and returns basic bot information.

Tests the Telegram bot token and returns basic bot information.

Authentication

Connected account required

Tags

botread
Send Telegram messageTELEGRAM_MESSAGE_SENDSends a text message to a Telegram chat using the bot token.

Sends a text message to a Telegram chat using the bot token.

Authentication

Connected account required

Tags

messageswrite
Edit Telegram message textTELEGRAM_MESSAGE_TEXT_EDITEdits text, rich, or game messages previously sent by the bot.

Edits text, rich, or game messages previously sent by the bot.

Authentication

Connected account required

Tags

messageswrite
Send Telegram photoTELEGRAM_PHOTO_SENDSends a photo to a Telegram chat using a file ID or HTTP URL.

Sends a photo to a Telegram chat using a file ID or HTTP URL.

Authentication

Connected account required

Tags

messagesmediawrite
Get Telegram updatesTELEGRAM_UPDATES_GETGets incoming Telegram bot updates with long polling parameters.

Gets incoming Telegram bot updates with long polling parameters.

Authentication

Connected account required

Tags

updatesread

Provider resources