Telegram
Use the Telegram Bot API to inspect bots, receive updates, send messages and media, manage chats, handle payments, and work with stickers.
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| Bot Token | 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_ADD_STICKER_TO_SET", 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_ADD_STICKER_TO_SET", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute TELEGRAM_ADD_STICKER_TO_SET --data '{ }'Tool catalog
Available tools
50 callable operations
Add Sticker to SetTELEGRAM_ADD_STICKER_TO_SETAdd a new sticker to a set created by the bot.Connection
Add a new sticker to a set created by the bot.
Authentication
Connected account requiredTags
Answer Callback QueryTELEGRAM_ANSWER_CALLBACK_QUERYSend answers to callback queries sent from inline keyboards.Connection
Send answers to callback queries sent from inline keyboards.
Authentication
Connected account requiredTags
Answer Pre-Checkout QueryTELEGRAM_ANSWER_PRE_CHECKOUT_QUERYRespond to pre-checkout queries.Connection
Respond to pre-checkout queries.
Authentication
Connected account requiredTags
Answer Shipping QueryTELEGRAM_ANSWER_SHIPPING_QUERYReply to shipping queries.Connection
Reply to shipping queries.
Authentication
Connected account requiredTags
Approve Chat Join RequestTELEGRAM_APPROVE_CHAT_JOIN_REQUESTApprove a chat join request.Connection
Approve a chat join request.
Authentication
Connected account requiredTags
Ban Chat MemberTELEGRAM_BAN_CHAT_MEMBERBan a user in a group, a supergroup or a channel.Connection
Ban a user in a group, a supergroup or a channel.
Authentication
Connected account requiredTags
Copy MessageTELEGRAM_COPY_MESSAGECopy messages of any kind without the forward marker.Connection
Copy messages of any kind without the forward marker.
Authentication
Connected account requiredTags
Create Chat Invite LinkTELEGRAM_CREATE_CHAT_INVITE_LINKCreate an additional invite link for a chat.Connection
Create an additional invite link for a chat.
Authentication
Connected account requiredTags
Create New Sticker SetTELEGRAM_CREATE_NEW_STICKER_SETCreate a new sticker set owned by a user.Connection
Create a new sticker set owned by a user.
Authentication
Connected account requiredTags
Decline Chat Join RequestTELEGRAM_DECLINE_CHAT_JOIN_REQUESTDecline a chat join request.Connection
Decline a chat join request.
Authentication
Connected account requiredTags
Delete Chat PhotoTELEGRAM_DELETE_CHAT_PHOTODelete a chat photo.Connection
Delete a chat photo.
Authentication
Connected account requiredTags
Delete MessageTELEGRAM_DELETE_MESSAGEDelete a message, including service messages.Connection
Delete a message, including service messages.
Authentication
Connected account requiredTags
Delete WebhookTELEGRAM_DELETE_WEBHOOKRemove webhook integration.Connection
Remove webhook integration.
Authentication
Connected account requiredTags
Edit Message CaptionTELEGRAM_EDIT_MESSAGE_CAPTIONEdit captions of messages.Connection
Edit captions of messages.
Authentication
Connected account requiredTags
Edit Message TextTELEGRAM_EDIT_MESSAGE_TEXTEdit text and game messages.Connection
Edit text and game messages.
Authentication
Connected account requiredTags
Export Chat Invite LinkTELEGRAM_EXPORT_CHAT_INVITE_LINKGenerate a new primary invite link for a chat.Connection
Generate a new primary invite link for a chat.
Authentication
Connected account requiredTags
Forward MessageTELEGRAM_FORWARD_MESSAGEForward messages of any kind.Connection
Forward messages of any kind.
Authentication
Connected account requiredTags
Get ChatTELEGRAM_GET_CHATGet up-to-date information about the chat.Connection
Get up-to-date information about the chat.
Authentication
Connected account requiredTags
Get Chat AdministratorsTELEGRAM_GET_CHAT_ADMINISTRATORSGet a list of administrators in a chat.Connection
Get a list of administrators in a chat.
Authentication
Connected account requiredTags
Get Chat MemberTELEGRAM_GET_CHAT_MEMBERGet information about a member of a chat.Connection
Get information about a member of a chat.
Authentication
Connected account requiredTags
Get Chat Member CountTELEGRAM_GET_CHAT_MEMBER_COUNTGet the number of members in a chat.Connection
Get the number of members in a chat.
Authentication
Connected account requiredTags
Get FileTELEGRAM_GET_FILEGet basic info about a file and prepare it for downloading.Connection
Get basic info about a file and prepare it for downloading.
Authentication
Connected account requiredTags
Get Bot InfoTELEGRAM_GET_MEA simple method for testing your bot authentication token. Returns basic information about the bot in the form of a User object.Connection
A simple method for testing your bot authentication token. Returns basic information about the bot in the form of a User object.
Authentication
Connected account requiredTags
Get My CommandsTELEGRAM_GET_MY_COMMANDSGet the current list of the bot commands.Connection
Get the current list of the bot commands.
Authentication
Connected account requiredTags
Get UpdatesTELEGRAM_GET_UPDATESReceive incoming updates using long polling. Returns an array of Update objects. Notes: this method will not work if an outgoing webhook is set up.Connection
Receive incoming updates using long polling. Returns an array of Update objects. Notes: this method will not work if an outgoing webhook is set up.
Authentication
Connected account requiredTags
Get User Profile PhotosTELEGRAM_GET_USER_PROFILE_PHOTOSGet a list of profile pictures for a user.Connection
Get a list of profile pictures for a user.
Authentication
Connected account requiredTags
Get Webhook InfoTELEGRAM_GET_WEBHOOK_INFOGet current webhook status.Connection
Get current webhook status.
Authentication
Connected account requiredTags
Leave ChatTELEGRAM_LEAVE_CHATUse this method for your bot to leave a group, supergroup or channel.Connection
Use this method for your bot to leave a group, supergroup or channel.
Authentication
Connected account requiredTags
Pin Chat MessageTELEGRAM_PIN_CHAT_MESSAGEAdd a message to the list of pinned messages in a chat.Connection
Add a message to the list of pinned messages in a chat.
Authentication
Connected account requiredTags
Promote Chat MemberTELEGRAM_PROMOTE_CHAT_MEMBERPromote or demote a user in a supergroup or a channel.Connection
Promote or demote a user in a supergroup or a channel.
Authentication
Connected account requiredTags
Restrict Chat MemberTELEGRAM_RESTRICT_CHAT_MEMBERRestrict a user in a supergroup.Connection
Restrict a user in a supergroup.
Authentication
Connected account requiredTags
Revoke Chat Invite LinkTELEGRAM_REVOKE_CHAT_INVITE_LINKRevoke an invite link created by the bot.Connection
Revoke an invite link created by the bot.
Authentication
Connected account requiredTags
Send AudioTELEGRAM_SEND_AUDIOSend audio files as a playable music track.Connection
Send audio files as a playable music track.
Authentication
Connected account requiredTags
Send ContactTELEGRAM_SEND_CONTACTSend phone contacts.Connection
Send phone contacts.
Authentication
Connected account requiredTags
Send DiceTELEGRAM_SEND_DICESend an animated emoji that will display a random value.Connection
Send an animated emoji that will display a random value.
Authentication
Connected account requiredTags
Send DocumentTELEGRAM_SEND_DOCUMENTSend general files.Connection
Send general files.
Authentication
Connected account requiredTags
Send InvoiceTELEGRAM_SEND_INVOICESend invoices.Connection
Send invoices.
Authentication
Connected account requiredTags
Send LocationTELEGRAM_SEND_LOCATIONSend a point on the map.Connection
Send a point on the map.
Authentication
Connected account requiredTags
Send MessageTELEGRAM_SEND_MESSAGESend text messages.Connection
Send text messages.
Authentication
Connected account requiredTags
Send PhotoTELEGRAM_SEND_PHOTOSend photos.Connection
Send photos.
Authentication
Connected account requiredTags
Send PollTELEGRAM_SEND_POLLSend a native poll.Connection
Send a native poll.
Authentication
Connected account requiredTags
Send VideoTELEGRAM_SEND_VIDEOSend video files.Connection
Send video files.
Authentication
Connected account requiredTags
Send VoiceTELEGRAM_SEND_VOICESend audio files as a voice message.Connection
Send audio files as a voice message.
Authentication
Connected account requiredTags
Set Chat Administrator Custom TitleTELEGRAM_SET_CHAT_ADMINISTRATOR_CUSTOM_TITLESet a custom title for an administrator in a supergroup promoted by the bot.Connection
Set a custom title for an administrator in a supergroup promoted by the bot.
Authentication
Connected account requiredTags
Set Chat DescriptionTELEGRAM_SET_CHAT_DESCRIPTIONChange the description of a group, a supergroup or a channel.Connection
Change the description of a group, a supergroup or a channel.
Authentication
Connected account requiredTags
Set Chat TitleTELEGRAM_SET_CHAT_TITLEChange the title of a chat.Connection
Change the title of a chat.
Authentication
Connected account requiredTags
Set My CommandsTELEGRAM_SET_MY_COMMANDSChange the list of the bot commands.Connection
Change the list of the bot commands.
Authentication
Connected account requiredTags
Set WebhookTELEGRAM_SET_WEBHOOKSpecify a URL and receive incoming updates via an outgoing webhook.Connection
Specify a URL and receive incoming updates via an outgoing webhook.
Authentication
Connected account requiredTags
Unban Chat MemberTELEGRAM_UNBAN_CHAT_MEMBERUnban a previously banned user in a supergroup or channel.Connection
Unban a previously banned user in a supergroup or channel.
Authentication
Connected account requiredTags
Unpin Chat MessageTELEGRAM_UNPIN_CHAT_MESSAGERemove a message from the list of pinned messages in a chat.Connection
Remove a message from the list of pinned messages in a chat.
Authentication
Connected account requiredTags