Open Connector
所有 Tools

Telegram

Send messages and interact with Telegram via a bot token.

telegramv1.0.07 个 Tools

认证方式

方式底层类型状态说明
API Keyapi_keyavailable

调用示例

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 目录

可用 Tools

7 个可调用操作

Answer Telegram callback queryTELEGRAM_CALLBACK_QUERY_ANSWERAnswers a callback query from an inline keyboard interaction.

Answers a callback query from an inline keyboard interaction.

认证

需要 Connected Account

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.

认证

需要 Connected Account

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.

认证

需要 Connected Account

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.

认证

需要 Connected Account

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.

认证

需要 Connected Account

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.

认证

需要 Connected Account

Tags

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

Gets incoming Telegram bot updates with long polling parameters.

认证

需要 Connected Account

Tags

updatesread

Provider 资源