About overpod/mcp-telegram
overpod/mcp-telegram is an MCP server published by overpod in the Communication category: telegram.com. Conduid read 184 tools from its source: telegram-activate-stealth-mode, telegram-add-contact, telegram-approve-join-request, telegram-archive-chat, telegram-ban-user, telegram-block-user and 178 more. It is published to npm as @overpod/mcp-telegram and starts with npx.
The repository has 74 stars and 29 forks, and its last commit was on 30 Nov 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include gramjs, mtproto, telegram and userbot.
Install
claude mcp add overpod-mcp-telegram -- npx @overpod/mcp-telegramnpx @overpod/mcp-telegramgit clone https://github.com/overpod/mcp-telegramTools (184)
telegram-activate-stealth-modeHide your story views retroactively (past=true) and/or for the next 25 minutes (future=true). Requires Telegram Premium — non-Premium accounts receive PREMIUM_ACCOUNT_REQUIRED.| Parameter | Type | Description |
|---|---|---|
| future | boolean | Hide your views for the next 25 minutes |
| past | boolean | Remove your views from stories you already watched |
telegram-add-contactAdd a user to your Telegram contacts. Use this to accept contact requests from non-contacts| Parameter | Type | Description |
|---|---|---|
| firstName * | string | First name for the contact |
| lastName | string | Last name for the contact |
| phone | string | Phone number for the contact |
| userId * | string | User ID or username to add |
telegram-approve-join-requestApprove or deny a pending join request for a supergroup or channel (basic groups are not supported). Admin with invite_users permission required| Parameter | Type | Description |
|---|---|---|
| approved * | boolean | true to approve the join request, false to deny |
| chatId * | string | Chat ID or username where the join request is pending |
| userId * | string | User ID or username of the requesting user |
telegram-archive-chatArchive or unarchive a Telegram dialog (moves to/from the Archive folder)| Parameter | Type | Description |
|---|---|---|
| archive * | boolean | true to archive, false to unarchive |
| chatId * | string | Chat ID or username |
telegram-ban-userBan a user from a supergroup or channel (permanent until unbanned)| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| userId * | string | User ID or username to ban |
telegram-block-userBlock a Telegram user. Blocked users cannot send you messages| Parameter | Type | Description |
|---|---|---|
| userId * | string | User ID or username to block |
telegram-change-stars-subscriptionCancel or restore a Telegram Stars subscription (payments.ChangeStarsSubscription). Pass canceled=true to cancel an active subscription before its next renewal, or false to restore a previously canceled one. Opt-in: register only when MCP_TELEGRAM_ENABLE_STARS=1.| Parameter | Type | Description |
|---|---|---|
| canceled * | boolean | true = cancel the subscription; false = restore a canceled subscription |
| chatId * | string | The peer the subscription belongs to — 'me' for your own subscriptions or a bot/channel you own |
| subscriptionId * | string | Subscription ID (from telegram-get-stars-subscriptions) |
telegram-clear-draftsDelete saved message drafts. Pass chatId to clear the draft for a single chat. Without chatId, clears drafts in ALL chats — requires confirmAllChats: true| Parameter | Type | Description |
|---|---|---|
| chatId | string | Chat ID or username. If provided, clears draft only for this chat |
| confirmAllChats | boolean | Must be true to wipe drafts across ALL chats when chatId is omitted |
telegram-clear-recent-emoji-statusesClear your recently-used emoji status list (the 'recent' section in the emoji status picker).telegram-close-pollClose a poll permanently. This is a one-way operation — closed polls cannot be reopened.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| messageId * | number | Message ID of the poll to close |
telegram-convert-star-giftConvert a received Star Gift into Stars (non-reversible). The gift is removed from your profile and its conversion value is added to your Stars balance. Pass msgId for personal gifts or chatId + savedId for chat gifts. Opt-in: register only when MCP_TELEGRAM_ENABLE_STARS=1.| Parameter | Type | Description |
|---|---|---|
| chatId | string | Chat/channel ID (for chat gifts, required with savedId) |
| msgId | number | Message ID of the gift (from your DMs) — for personal gifts |
| savedId | string | Saved gift ID — for chat gifts, required with chatId |
telegram-create-business-chat-linkCreate a Telegram Business chat link (t.me/m/... deep-link that opens a chat with you pre-filled with a message). Returns JSON with link, slug, message, title, and views. Requires Telegram Business subscription.| Parameter | Type | Description |
|---|---|---|
| message * | string | Pre-filled message text shown to users who click the link |
| parseMode | string | Format message as Markdown or HTML |
| title | string | Admin-facing label (not visible to visitors, max 32 chars) |
telegram-create-folderCreate a new Telegram chat folder (filter). Returns the new folder ID. Pass type flags to auto-include entire categories, or list specific chats in includePeers. Emoticon must be a single emoji character.| Parameter | Type | Description |
|---|---|---|
| bots | boolean | Include all bots |
| broadcasts | boolean | Include all channels |
| contacts | boolean | Include all contacts |
| emoticon | string | Single emoji icon for the folder |
| excludeArchived | boolean | Exclude archived chats |
| excludeMuted | boolean | Exclude muted chats |
| excludePeers | array | Chat IDs/usernames to explicitly exclude (max 100) |
| excludeRead | boolean | Exclude read chats |
| groups | boolean | Include all groups |
| includePeers | array | Chat IDs/usernames to explicitly include (max 100) |
| nonContacts | boolean | Include all non-contacts |
| pinnedPeers | array | Chats to pin at top of this folder (max 5) |
| title * | string | Folder name (max 12 chars) |
telegram-create-groupCreate a new Telegram group or supergroup| Parameter | Type | Description |
|---|---|---|
| description | string | Group description |
| forum | boolean | Enable topics (requires supergroup) |
| supergroup | boolean | Create as supergroup (supports >200 members, admin features) |
| title * | string | Group name |
| users * | array | Usernames or IDs to invite |
telegram-create-invite-linkCreate a new invite link for a group or channel| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| expireDate | number | Link expiration as Unix timestamp |
| memberLimit | number | Max number of users who can join via this link |
| requestApproval | boolean | Require admin approval to join |
| title | string | Label for the invite link (only visible to admins) |
telegram-create-pollCreate a poll in a Telegram chat (multiple choice or quiz mode)| Parameter | Type | Description |
|---|---|---|
| answers * | array | Answer options (2-10) |
| chatId * | string | Chat ID or username |
| correctAnswer | number | Index of correct answer (0-based, required for quiz mode) |
| multipleChoice | boolean | Allow multiple answers |
| question * | string | Poll question |
| quiz | boolean | Quiz mode (one correct answer) |
telegram-create-topicCreate a new forum topic in a forum-enabled supergroup| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username of the forum supergroup |
| iconColor | any | Optional icon color (one of 7322096, 16766590, 13338331, 9367192, 16749490, 16225862) |
| iconEmojiId | string | Optional custom emoji document ID for the icon (numeric string) |
| title * | string | Topic title |
telegram-delete-business-chat-linkDelete a Telegram Business chat link by its slug. Requires Telegram Business subscription.| Parameter | Type | Description |
|---|---|---|
| slug * | string | Link slug to delete (from t.me/m/<slug>) |
telegram-delete-contactRemove users from your contacts (address book). Chats and message history stay, nobody is blocked. Users who are not contacts are skipped| Parameter | Type | Description |
|---|---|---|
| userIds * | array | User IDs or usernames to remove from contacts |
telegram-delete-fact-checkRemove a fact-check annotation. Requires fact-checker privileges.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username (channel) |
| messageId * | number | Message ID whose fact-check to remove |
telegram-delete-folderDelete a Telegram chat folder by its ID. Chats inside the folder are not deleted — they remain in All Chats. System folders (0 = All Chats, 1 = Archive) cannot be deleted.| Parameter | Type | Description |
|---|---|---|
| id * | number | Folder ID to delete (≥ 2) |
telegram-delete-messageDelete messages in a Telegram chat| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| messageIds * | array | Array of message IDs to delete |
telegram-delete-profile-photoDelete one or more profile photos by their photo IDs. Photo IDs are the ones telegram-get-profile-photo returns. Returns which IDs were deleted and which were not found.| Parameter | Type | Description |
|---|---|---|
| photoIds * | array | Array of photo IDs (stringified long) to delete from your profile photo history |
telegram-delete-scheduledDelete scheduled messages in a Telegram chat| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| messageIds * | array | Array of scheduled message IDs to delete (1-100) |
telegram-delete-storiesDelete one or more of your own stories. This action is irreversible and requires confirm:true.| Parameter | Type | Description |
|---|---|---|
| chatId | string | Peer owning the stories |
| confirm * | string | Pass true to confirm irreversible deletion |
| ids * | array | Story IDs to delete (1–100 per request) |
telegram-delete-topicDelete a forum topic and all its message history| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username of the forum supergroup |
| topicId * | number | Topic ID to delete |
telegram-download-mediaDownload media from a Telegram message to a local file| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| downloadPath * | string | Absolute path to save the file, in Downloads, Desktop, Documents or a temp folder. An existing file is kept; a numbered name is used instead |
| messageId * | number | Message ID containing media |
telegram-edit-business-chat-linkEdit an existing Telegram Business chat link by its slug (the trailing segment after t.me/m/). Returns JSON with updated fields. Requires Telegram Business subscription.| Parameter | Type | Description |
|---|---|---|
| message * | string | New pre-filled message text |
| parseMode | string | Format message as Markdown or HTML |
| slug * | string | Link slug — the last path segment of t.me/m/<slug> |
| title | string | New admin-facing label (max 32 chars) |
telegram-edit-fact-checkAdd or update a fact-check annotation. Requires fact-checker privileges (limited to independent verifiers in supported countries).| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username (channel) |
| messageId * | number | Message ID to annotate |
| parseMode | string | Text format (currently ignored — plain text only) |
| text * | string | Fact-check annotation text (1-1024 chars) |
telegram-edit-folderEdit an existing Telegram chat folder by its ID (from telegram-get-chat-folders). Only pass fields you want to change — omitted fields keep their current values.| Parameter | Type | Description |
|---|---|---|
| addPeers | array | Chat IDs/usernames to add to the folder; chats already in it stay |
| bots | boolean | |
| broadcasts | boolean | |
| contacts | boolean | |
| emoticon | string | New emoji icon |
| excludeArchived | boolean | |
| excludeMuted | boolean | |
| excludePeers | array | Replace excludePeers list entirely |
| excludeRead | boolean | |
| groups | boolean | |
| id * | number | Folder ID (≥ 2; 0 = All Chats, 1 = Archive are system folders) |
| includePeers | array | Replace includePeers list entirely. To add or remove a few chats use addPeers/removePeers instead |
| nonContacts | boolean | |
| pinnedPeers | array | Replace pinnedPeers list entirely |
| removePeers | array | Chat IDs/usernames to take out of the folder (included or pinned); other chats stay. With type filters on, the chat is also excluded so its category does not bring it back |
| title | string | New folder name (max 12 chars) |
telegram-edit-groupEdit a group's title, description, or photo| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| description | string | New group description (supergroups only) |
| photoPath | string | Absolute path to new group photo image file |
| title | string | New group title |
telegram-edit-messageEdit a previously sent message in Telegram| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| messageId * | number | ID of the message to edit |
| text * | string | New message text |
telegram-edit-storyEdit an existing story: replace media, update caption ('' clears it), or change privacy rules.| Parameter | Type | Description |
|---|---|---|
| allowUserIds | array | Required when privacy='selected' |
| caption | string | New caption; pass '' to clear |
| chatId | string | Peer owning the story |
| disallowUserIds | array | Blocked user IDs (ignored for 'selected') |
| parseMode | string | Caption parse mode |
| privacy | string | New privacy setting |
| storyId * | number | ID of the story to edit |
| type | string | Override auto-detected media type for new file |
telegram-edit-topicEdit a forum topic — rename, change icon emoji, open/close, or show/hide| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username of the forum supergroup |
| closed | boolean | Close (true) or reopen (false) the topic |
| hidden | boolean | Hide (true) or show (false) the General topic |
| iconEmojiId | string | New custom emoji document ID for the icon (numeric string) |
| title | string | New topic title |
| topicId * | number | Topic ID (get from telegram-list-topics) |
telegram-export-story-linkGet a shareable t.me/… URL for a public story.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Peer who posted the story |
| storyId * | number | Story ID to get the link for |
telegram-forward-messageForward messages between Telegram chats| Parameter | Type | Description |
|---|---|---|
| fromChatId * | string | Source chat ID or username |
| messageIds * | array | Array of message IDs to forward |
| toChatId * | string | Destination chat ID or username |
telegram-get-admin-logGet the admin action log (recent event history) of a supergroup or channel. Includes bans, edits, pins, and role changes| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username (supergroup or channel) |
| limit | number | Number of events to return (1-100) |
| q | string | Optional text filter for events |
telegram-get-all-storiesFetch active stories from contacts/channels the user follows. Pagination via 'next' + 'state' — pass the returned state back on the next call with next:true to load more. Use hidden:true to read stories from muted/archived peers. Returns compact story metadata (id, date, expireDate, caption, mediaType, counters) without raw media blobs.| Parameter | Type | Description |
|---|---|---|
| hidden | boolean | Fetch stories from hidden/archived peers instead of the main feed |
| next | boolean | Load the next page (use with state from a prior response) |
| state | string | Pagination state token returned by a previous call |
telegram-get-available-star-giftsList all available Telegram Star Gifts that can be sent to other users. Returns gift ID, cost in Stars, conversion value, availability (for limited gifts), and upgrade cost. Opt-in: register only when MCP_TELEGRAM_ENABLE_STARS=1. Read-only.telegram-get-boosts-listList the boosts applied to a channel/supergroup (premium.GetBoostsList). Returns paginated boost entries with id, userId (or undefined for anonymous gift boosts), date, expires, flags (gift, giveaway, unclaimed), optional giveawayMsgId, usedGiftSlug, multiplier, and stars. Requires channel admin permissions. Supports pagination via nextOffset and an optional gifts filter to show only gift boosts. Read-only.| Parameter | Type | Description |
|---|---|---|
| chat * | string | Channel or supergroup to query — id, @username, or display name fragment |
| gifts | boolean | If true, return only gift boosts |
| limit | number | Max boosts to return per page (default 50, max 100) |
| offset | string | Pagination cursor returned as nextOffset from the previous call |
telegram-get-boosts-statusFetch the boost status of a channel/supergroup (premium.GetBoostsStatus). Returns current boost level, total boosts, progress to next level (currentLevelBoosts/nextLevelBoosts), giftBoosts, premiumAudience ratio, public boostUrl, and whether the current user is boosting (myBoost + myBoostSlots). Also includes any prepaidGiveaways attached to the chat. Read-only.| Parameter | Type | Description |
|---|---|---|
| chat * | string | Channel or supergroup to query — id, @username, or display name fragment |
telegram-get-broadcast-statsGet broadcast channel statistics: followers, views/shares/reactions per post & story, notification percent, recent post interactions. Broadcast channels only (supergroup statistics are in telegram-get-megagroup-stats). Admin rights required; some channels may require Telegram Premium to expose stats| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Broadcast channel ID or username |
| dark | boolean | Prefer dark-theme palette when Telegram renders graphs |
| includeGraphs | boolean | Include raw graph data for each series (growth, followers, interactions, etc.). Default false — returns only aggregate numbers + metadata |
telegram-get-business-chat-linksList Telegram Business chat links configured for the account. Each entry includes the t.me/... link, the prefilled message, optional title (admin-facing label), views count, and entityCount. Requires Telegram Business — returns empty list when none configured.telegram-get-channel-updatesFetch new messages and updates for a single channel/supergroup since a known per-channel pts cursor. Separate from the global cursor used by telegram-get-updates. Returns compact newMessages[], otherUpdates[], and new {pts, isFinal, timeout?}. If the channel gap is too long, Telegram returns a dialog snapshot instead, and this tool forwards it. The server does not store the cursor; each call takes the pts returned by the previous one.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Channel or supergroup ID or username |
| force | boolean | Force request updates even if the client hasn't processed previous ones (rarely needed) |
| limit | number | Max updates per batch (default 100) |
| pts * | number | Last known per-channel pts |
telegram-get-chat-foldersGet list of your Telegram chat folders (filters) with their names and chat counts. Pass folderId to see one folder in full: its type filters and the pinned, included and excluded chats with IDs| Parameter | Type | Description |
|---|---|---|
| folderId | number | Folder ID from the list; returns that folder's full setup including its chats |
telegram-get-chat-infoGet detailed info about a Telegram chat including name, type, members, description, and forum status| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
telegram-get-chat-membersGet members of a Telegram group or channel| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| limit | number | Number of members to return |
telegram-get-contact-requestsGet incoming messages from non-contacts (contact requests). Shows who messaged you without being in your contacts, with message preview| Parameter | Type | Description |
|---|---|---|
| limit | number | Number of contact requests to return |
telegram-get-contactsGet your Telegram contacts list with phone numbers| Parameter | Type | Description |
|---|---|---|
| limit | number | Number of contacts to return |
telegram-get-discussion-messageFor a channel post with comments enabled, returns the linked discussion-group info: discussionGroupId, discussionMsgId, unreadCount, readInboxMaxId, readOutboxMaxId, topMessage. Use discussionGroupId + discussionMsgId with telegram-send-message (replyTo=discussionMsgId) to post a comment.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Channel ID or @username that contains the post |
| messageId * | number | ID of the channel post to get discussion info for |
telegram-get-draftsGet all saved message drafts across chatstelegram-get-fact-checkGet fact-check annotations on channel messages. Fact-checks are added by independent fact-checkers in supported countries. Most messages will show no fact-check.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username (channel) |
| messageIds * | array | Message IDs to get fact-checks for (1-100) |
telegram-get-global-privacy-settingsGet your account-level global privacy settings: whether new non-contacts are auto-archived/muted, whether archived chats are kept unmuted, whether read receipts are hidden, and whether non-contacts must have Premium to message you.telegram-get-group-callFetch metadata + an optional initial slice of participants for the active group call (voice/video chat) attached to a chat (phone.GetGroupCall). Returns call info (id, accessHash, participantsCount, title, scheduleDate, recordStartDate, streamDcId, flags) plus a participant slice (peer, date, muted/left/self flags, source, volume, video/presentation indicators) and participantsNextOffset. Pass limit:0 (default) for metadata only. Opt-in: register only when MCP_TELEGRAM_ENABLE_GROUP_CALLS=1. Read-only.| Parameter | Type | Description |
|---|---|---|
| chat * | string | Group/supergroup/channel that currently has an active group call — id, @username, or display name fragment |
| limit | number | Max participants to include (default 0 — metadata only; paginated lists are in telegram-get-group-call-participants) |
telegram-get-group-call-participantsList participants of the active group call (voice/video chat) attached to a chat with pagination (phone.GetGroupParticipants). Looks up the chat's current InputGroupCall automatically, then returns {count, participants[], nextOffset?, version}. Each participant includes peer, date, source, volume, muted/self/left/videoJoined flags, raise-hand rating, about text, and hasVideo/hasPresentation indicators. Pass offset from a prior call's nextOffset to paginate; pass ids (user/channel peers) or sources to filter to specific participants. Opt-in: register only when MCP_TELEGRAM_ENABLE_GROUP_CALLS=1. Read-only.| Parameter | Type | Description |
|---|---|---|
| chat * | string | Group/supergroup/channel that currently has an active group call — id, @username, or display name fragment |
| ids | array | Optional list of participant peer ids/@usernames to filter (max 100) |
| limit | number | Max participants to return in this page (default 100) |
| offset | string | Pagination cursor from a previous response's nextOffset; omit for the first page |
| sources | array | Optional list of numeric source ids (audio SSRC) to filter participants |
telegram-get-groups-for-discussionList groups that can be linked as a discussion group to a channel you admin. Helper for channel admins setting up comment threads.telegram-get-installed-stickersList all sticker sets installed by the user. Returns pack titles and short names. Set emoji=true to list installed custom emoji sets instead.| Parameter | Type | Description |
|---|---|---|
| emoji | boolean | List custom emoji sets instead of sticker sets |
telegram-get-invite-linksGet list of invite links for a group or channel. By default returns links created by the current account; pass adminId to query another admin's links| Parameter | Type | Description |
|---|---|---|
| adminId | string | Admin user ID or username to list links for (default: current account) |
| chatId * | string | Chat ID or username |
| limit | number | Max links to return |
telegram-get-megagroup-statsGet supergroup statistics: members, messages, viewers, posters (current vs previous period), top posters/admins/inviters. Supergroups only (broadcast channel statistics are in telegram-get-broadcast-stats). Admin rights required. Telegram rate-limits this endpoint to roughly 1 request per 30 minutes per channel — expect FLOOD_WAIT on rapid repeat calls| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Supergroup ID or username |
| dark | boolean | Prefer dark-theme palette when Telegram renders graphs |
| includeGraphs | boolean | Include raw graph data for each series (growth, members, messages, actions, top hours, weekdays, etc.). Default false — returns only aggregate numbers + top lists |
telegram-get-message-buttonsList the inline/reply keyboard buttons on a Telegram message with their (row, col) indices, type (e.g. KeyboardButtonCallback, KeyboardButtonUrl), label and type-specific fields (callback data as base64, url, switchQuery, userId, copyText, etc). Helper for telegram-press-button — call this first to discover indices and filter by type before pressing. Returns markupType='none' and empty buttons when the message has no keyboard| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username where the message lives |
| messageId * | number | Message ID whose keyboard to inspect |
telegram-get-message-linkGet a t.me link to a specific message in a Telegram channel or supergroup| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username (channel or supergroup) |
| messageId * | number | ID of the message to link to |
| thread | boolean | Link to the message thread instead of the message itself |
telegram-get-message-read-participantsList who has read a message in a small group (≤100 members, ≤7 days old). Returns readers with userId, readAt timestamp. Does NOT work for channels or groups over 100 members (CHAT_TOO_BIG).| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Group chat ID or @username |
| messageId * | number | ID of the message to check read status for |
telegram-get-my-boostsList the user's premium boost slots (premium.GetMyBoosts). Each entry includes slot index, the peer it currently boosts (if any), the date the boost was applied, expiration timestamp, and cooldownUntilDate (when a slot can be reassigned). Premium users have multiple slots; non-Premium users typically have a single slot. Read-only.telegram-get-my-roleGet the current user's role in a chat (creator, admin, or member)| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
telegram-get-outbox-read-dateGet when your recipient read your outgoing message in a private chat. Returns null/Not read yet if unread. Errors if the other side disabled read receipts (YOUR_PRIVACY_RESTRICTED / USER_PRIVACY_RESTRICTED).| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Private chat ID or @username of the recipient |
| messageId * | number | ID of your outgoing message |
telegram-get-paid-reaction-privacyGet your current default paid reaction privacy setting.telegram-get-peer-storiesFetch currently active stories posted by a specific peer (user/channel). Returns compact story metadata (id, date, expireDate, caption, mediaType, counters) with media type className only — no raw media blobs. The media itself is not included; telegram-download-media returns it by story id.| Parameter | Type | Description |
|---|---|---|
| chat * | string | Peer to fetch stories from — user/channel id, @username, phone, or display name fragment |
telegram-get-poll-resultsGet aggregated poll results: vote counts, percentages, quiz answer status| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| messageId * | number | Message ID of the poll |
telegram-get-poll-votersList users who voted for specific poll options (public polls only, paginated)| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| limit | number | Max voters to return |
| messageId * | number | Message ID of the poll |
| offset | string | Pagination offset from previous call |
| optionIndex | number | Zero-based option index to filter by. Omit to get all voters |
telegram-get-profileGet detailed profile info of a Telegram user including bio, birthday, premium status, business info and more| Parameter | Type | Description |
|---|---|---|
| userId * | string | User ID or username |
telegram-get-profile-photoDownload profile photo of a Telegram user, group, or channel. Returns inline image or saves to file| Parameter | Type | Description |
|---|---|---|
| entityId * | string | User/Chat/Channel ID or username |
| savePath | string | Absolute path to save the file (Downloads, Desktop, Documents or a temp folder). If omitted, returns inline base64 image |
| size | string | Photo size: 'small' (160x160) or 'big' (640x640). Default: big |
telegram-get-quick-repliesFetch the list of quick-reply shortcuts configured for the user account (messages.GetQuickReplies). Each entry has {shortcutId, shortcut, topMessage, count} ; telegram-get-quick-reply-messages takes the shortcutId and shows the stored messages. Optional `hash` implements Telegram's hash-based diff: pass the last-known aggregate hash as a decimal string and the server may respond with {notModified:true} if nothing changed. Opt-in: register only when MCP_TELEGRAM_ENABLE_QUICK_REPLIES=1. Read-only.| Parameter | Type | Description |
|---|---|---|
| hash | string | Aggregate hash from a previous response (decimal string); omit for a fresh fetch |
telegram-get-quick-reply-messagesFetch messages stored under a quick-reply shortcut (messages.GetQuickReplyMessages). `shortcutId` comes from telegram-get-quick-replies. Optional `ids` narrows to specific message ids within the shortcut. Optional `hash` implements Telegram's hash-based diff: pass the last-known aggregate hash as a decimal string — the server may respond with {notModified:true, count} if nothing changed. Returns compact {count, messages[{id, date, text, isService, fromId?, replyToMsgId?, webpage?}]}. `webpage` is the linked Instant View page (third-party text, capped), never part of `text`. Opt-in: register only when MCP_TELEGRAM_ENABLE_QUICK_REPLIES=1. Read-only.| Parameter | Type | Description |
|---|---|---|
| hash | string | Aggregate hash from a previous response (decimal string); omit for a fresh fetch |
| ids | array | Optional list of message ids to fetch within the shortcut |
| shortcutId * | number | Shortcut id from telegram-get-quick-replies |
telegram-get-reactionsGet detailed reaction info for a message: which reactions, counts, and who reacted (when visible)| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| messageId * | number | Message ID to get reactions for |
telegram-get-recent-reactionsGet the list of emoji reactions the current account used recently| Parameter | Type | Description |
|---|---|---|
| limit | number | Max number of reactions to return |
telegram-get-recent-stickersGet recently used stickers. Returns each sticker with its list index and associated emojitelegram-get-repliesGet replies/comments under a Telegram channel post or discussion message| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username (channel or linked discussion group) |
| limit | number | Number of replies to return |
| messageId * | number | ID of the message whose replies to fetch |
telegram-get-saved-dialogsGet Saved Messages dialogs (Telegram's per-sender grouping of messages forwarded to your Saved Messages)| Parameter | Type | Description |
|---|---|---|
| limit | number | Max dialogs to return |
telegram-get-saved-musicList the songs pinned to a user's profile (users.GetSavedMusic) — the tracks behind the music row on a Telegram profile. Returns count plus tracks with title, performer, duration, fileName, mimeType and size; element 0 is the track shown on the profile. Defaults to your own profile. Supports pagination via offset/limit and returns nextOffset when more remain. Read-only.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max tracks to return per page (default 50, max 100) |
| offset | number | Pagination offset (default 0) |
| user | string | User to query — id, @username, or display name fragment. Defaults to yourself |
telegram-get-saved-star-giftsList Star Gifts received by a user or chat. Pass 'me' for your own gifts. Supports pagination via offset/nextOffset and filtering flags. Returns gift ID, kind (regular/unique), stars cost, from-peer, date, and upgrade eligibility. Opt-in: register only when MCP_TELEGRAM_ENABLE_STARS=1. Read-only.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | User or chat to fetch received gifts for — 'me' for self |
| excludeLimited | boolean | Skip limited-edition gifts |
| excludeSaved | boolean | Skip gifts the recipient chose to show |
| excludeUnique | boolean | Skip unique gifts |
| excludeUnlimited | boolean | Skip unlimited-edition gifts |
| excludeUnsaved | boolean | Skip gifts the recipient chose to hide |
| limit | number | Max gifts per page |
| offset | string | Pagination cursor from a prior response's nextOffset |
| sortByValue | boolean | Sort by Star value descending instead of date |
telegram-get-scheduledList scheduled messages in a Telegram chat| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
telegram-get-sessionsGet list of all active Telegram sessions (logged-in devices) with device info, IP, and last active timetelegram-get-stars-statusFetch the current Telegram Stars balance and recent activity for a peer (payments.GetStarsStatus). Pass 'me' / '@me' (or the user's own id) to inspect your own wallet, or a bot/channel peer you own/administrate. Returns {balance:{amount,nanos}, subscriptions?[], subscriptionsNextOffset?, subscriptionsMissingBalance?, history?[], nextOffset?}. Each transaction has id, stars, date, peer (kind: appStore|playMarket|premiumBot|fragment|ads|api|peer|unsupported), and flags (refund/pending/failed/gift/reaction). Use telegram-get-stars-transactions for full paginated history. Opt-in: register only when MCP_TELEGRAM_ENABLE_STARS=1. Read-only.| Parameter | Type | Description |
|---|---|---|
| peer * | string | Peer whose Stars wallet to inspect — 'me'/'@me' or user id for self, or @username/id for a bot/channel you control |
telegram-get-stars-subscriptionsList active Telegram Stars subscriptions for a peer (payments.GetStarsSubscriptions). Pass 'me' for your own account or a bot/channel you own. Returns subscription ID, peer, renewal date, period, price in Stars, and canceled status. Paginate with offset. Opt-in: register only when MCP_TELEGRAM_ENABLE_STARS=1. Read-only.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Peer to query — 'me' for your own subscriptions, or a bot/channel you own |
| missingBalance | boolean | If true, return only subscriptions with missing balance |
| offset | string | Pagination cursor from a prior nextOffset |
telegram-get-stars-topup-optionsList available Telegram Stars top-up tiers (from payments.GetStarsTopupOptions). Returns each option with star count, currency, price amount (in smallest currency units), and whether it is an extended/premium tier. Opt-in: register only when MCP_TELEGRAM_ENABLE_STARS=1. Read-only.telegram-get-stars-transactionsFetch a paginated Telegram Stars transaction history for a peer (payments.GetStarsTransactions). Pass 'me'/'@me' (or your own user id) for your wallet, or a bot/channel peer you own/administrate. Filters: inbound (credits only), outbound (debits only), ascending (chronological; default descending), subscriptionId (scope to a single subscription). Paginate with offset (cursor string from a prior response's nextOffset) and limit (default 50). Returns {balance, history[], nextOffset?, subscriptions?[], ...} — same shape as telegram-get-stars-status but focused on transactions. Opt-in: register only when MCP_TELEGRAM_ENABLE_STARS=1. Read-only.| Parameter | Type | Description |
|---|---|---|
| ascending | boolean | If true, return transactions in chronological (oldest first) order; default: newest first |
| inbound | boolean | If true, return only inbound (credit) transactions |
| limit | number | Max transactions per page (default 50, max 100) |
| offset | string | Pagination cursor — pass the nextOffset from a previous response; empty/undefined for first page |
| outbound | boolean | If true, return only outbound (debit) transactions |
| peer * | string | Peer whose Stars transactions to fetch — 'me'/'@me' or user id for self, or @username/id for a bot/channel you control |
| subscriptionId | string | If set, filter transactions to a single subscription id |
telegram-get-stateInitialize the polling cursor by fetching the current Telegram updates state {pts, qts, date, seq, unreadCount}. The returned {pts, qts, date} is the starting cursor for telegram-get-updates. The server does not store the cursor between calls.telegram-get-sticker-setGet all stickers from a sticker set by its short name. Returns each sticker with index, emoji and document ID. The index identifies the sticker in telegram-send-sticker. For a custom emoji set, send an emoji in a message with parseMode=html: <tg-emoji emoji-id="ID">E</tg-emoji>, where E is the emoji listed next to that ID; Telegram ignores the custom emoji if E differs (needs Telegram Premium).| Parameter | Type | Description |
|---|---|---|
| shortName * | string | Short name of the sticker set (e.g. 'AnimatedEmojis', 'HotCherry'). Find names via telegram-search-sticker-sets, telegram-get-installed-stickers or from t.me/addstickers/<shortName> and t.me/addemoji/<shortName> links |
telegram-get-stories-archiveFetch auto-archived (expired) stories from a peer's archive. Paginate via offsetId (pass last story id from previous page).| Parameter | Type | Description |
|---|---|---|
| chatId | string | Peer whose archive to fetch |
| limit | number | Max stories to return (1–100, default 50) |
| offsetId | number | Pagination offset: pass last story ID from previous page (0 to start) |
telegram-get-stories-by-idFetch specific stories from a peer by their numeric IDs. Useful for retrieving archived/pinned stories outside the active feed. Returns compact story metadata and optional pinnedToTop list. Pass up to ~100 ids per request.| Parameter | Type | Description |
|---|---|---|
| chat * | string | Peer to fetch stories from — user/channel id, @username, phone, or display name fragment |
| ids * | array | Story IDs to fetch (1–100 per request) |
telegram-get-story-viewsList viewers of one of YOUR stories (stories.GetStoryViewsList). Returns per-viewer entries (user id, view date, their reaction emoji if any), plus totals (viewsCount, forwardsCount, reactionsCount) and nextOffset for pagination. Pass your own user id (numeric) or @username as the peer — this only works for stories you posted. Some accounts (non-Premium, old stories) may not get a full viewer list — a Premium hint is surfaced on typical errors.| Parameter | Type | Description |
|---|---|---|
| chat * | string | Peer owning the story — usually 'me' or your own user id/@username |
| forwardsFirst | boolean | Sort forwards/reposts first |
| justContacts | boolean | Return only contacts |
| limit | number | Max viewers to return (default 50, max 100) |
| offset | string | Pagination offset from a previous response's nextOffset |
| q | string | Filter viewers by name substring |
| reactionsFirst | boolean | Sort viewers who reacted first |
| storyId * | number | Story ID to fetch viewers for |
telegram-get-suggested-foldersGet Telegram's suggested chat folders based on your chat list (e.g. 'Unread', 'Personal', 'Work'). Returns folder templates only; nothing is created.telegram-get-top-reactionsGet the list of most popular emoji reactions available on Telegram| Parameter | Type | Description |
|---|---|---|
| limit | number | Max number of reactions to return |
telegram-get-transcriptionPoll for updated transcription result. Calls the same endpoint as telegram-transcribe-audio — Telegram guarantees idempotency (returns same transcriptionId with updated text once processing completes).| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| messageId * | number | Message ID of the voice or video note |
telegram-get-unreadGet chats with unread messages. Forums show per-topic unread breakdown| Parameter | Type | Description |
|---|---|---|
| limit | number | Number of unread chats to return |
telegram-get-unread-mentionsGet unread @mentions addressed to you in a Telegram chat. Marks all mentions as read on the server when all unread mentions fit within the requested limit.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| limit | number | Max number of mentions to return |
telegram-get-unread-reactionsGet messages with unread reactions on your posts in a Telegram chat. Marks all reactions as read on the server when all unread reactions fit within the requested limit.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| limit | number | Max number of messages to return |
telegram-get-updatesFetch new messages, deleted messages, and other updates since a previously-known {pts, qts, date} cursor (from telegram-get-state or a prior call). Returns compact newMessages[], deletedMessageIds[], otherUpdates[] (className only), and the new cursor state. isFinal=false means more updates are queued — call again with the returned state. If Telegram reports the gap is too long, the result says so and the history has to be re-read per chat. The server does not store the cursor; each call takes the {pts, qts, date} returned by the previous one.| Parameter | Type | Description |
|---|---|---|
| date * | number | Last known date (unix seconds from prior state) |
| pts * | number | Last known pts (from telegram-get-state or prior telegram-get-updates) |
| ptsLimit | number | Max updates per batch (default 100, capped at 1000) |
| ptsTotalLimit | number | Max total updates across paginated slices (default 1000, capped at 1000) |
| qts * | number | Last known qts (secret-chat / encrypted stream cursor; 0 if unknown) |
telegram-get-web-previewFetch Telegram's web-page preview metadata (type, title, description, site name) for a URL| Parameter | Type | Description |
|---|---|---|
| url * | string | URL to preview (http:// or https://; literal private/loopback/reserved IPs rejected) |
telegram-inline-queryQuery an inline bot (like @gif, @bing) in a chat context and return the compact result list. Returns queryId, cacheTime, and results[{id,type,title?,description?,url?}]. The queryId is typically valid for ~60s and can be passed to telegram-inline-query-send to deliver a chosen result. Bot must be a real bot account| Parameter | Type | Description |
|---|---|---|
| bot * | string | Inline bot username (e.g. @gif) or numeric user ID |
| chatId * | string | Chat ID or username providing context for the inline query |
| offset | string | Pagination offset returned by a previous call as nextOffset (empty string on first call) |
| query * | string | Query text the bot should resolve (may be empty string) |
telegram-inline-query-sendSend an inline bot result to a chat by queryId + resultId (as returned by telegram-inline-query). The queryId expires about 60s after the original query. Returns the sent messageId (0 if not extractable from the update).| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Target chat ID or username to send the result into |
| clearDraft | boolean | Clear the chat draft after sending |
| hideVia | boolean | Hide the 'via @bot' label on the sent message |
| queryId * | string | queryId from a prior telegram-inline-query call (valid ~60s) |
| replyTo | number | Message ID to reply to |
| resultId * | string | id of the chosen result from telegram-inline-query results[] |
| silent | boolean | Send without notification |
telegram-invite-to-groupInvite users to a Telegram group or channel| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| users * | array | Usernames or IDs to invite |
telegram-join-chatJoin a Telegram group or channel by username or invite link| Parameter | Type | Description |
|---|---|---|
| target * | string | Username (@group), link (t.me/group), or invite link (t.me/+xxx) |
telegram-kick-userKick a user from a Telegram group (removes without permanent ban)| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| userId * | string | User ID or username to kick |
telegram-leave-groupLeave a Telegram group or channel| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
telegram-list-chatsList Telegram chats with unread counts, type indicators, and contact status| Parameter | Type | Description |
|---|---|---|
| filterType | string | Filter by chat type. 'contact_requests' shows only private chats from non-contacts |
| limit | number | Number of chats to return |
| offsetDate | number | Unix timestamp offset for pagination |
telegram-list-emoji-statusesList default or recently-used emoji statuses available for your account. Useful for finding a documentId to pass to telegram-set-emoji-status.| Parameter | Type | Description |
|---|---|---|
| kind | string | Which list: default (popular set), recent (your recent usage), channel_default (for channels), collectible (paid unique) |
| limit | number | Max items to return |
telegram-list-topicsList forum topics in a Telegram group with Topics enabled. Shows topic names, unread counts, and status| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username of a group with Topics enabled |
| limit | number | Max topics to return |
telegram-loginLogin to Telegram via QR code. Returns QR image. IMPORTANT: pass the entire result to user without modifications.telegram-logoutLog out from Telegram completely. Revokes the session on Telegram servers (removes it from Settings → Devices), deletes the local session file, and disconnects. After this you must run telegram-login to re-authenticate.telegram-mark-as-readMark a Telegram chat as read. In a forum, every topic with unread messages is marked read too| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
telegram-mark-dialog-unreadMark a Telegram dialog as unread (or clear the unread mark)| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| unread * | boolean | true to mark as unread, false to clear the mark |
telegram-mute-chatMute or unmute notifications for a Telegram chat. Set muted=true to mute (optionally with duration in seconds), muted=false to unmute| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| duration | number | Mute duration in seconds (only when muted=true, must be > 0). Omit to mute forever |
| muted * | boolean | true to mute, false to unmute |
telegram-pin-chatPin or unpin a Telegram dialog in the dialog list| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| pin * | boolean | true to pin, false to unpin |
telegram-pin-messagePin a message in a Telegram chat| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| messageId * | number | Message ID to pin |
| silent | boolean | Pin without notification |
telegram-press-buttonPress an inline keyboard callback button on a message. Identify the button by (row, column) from its replyMarkup, or pass raw callback_data as base64. URL, switch-inline, game and 2FA-password buttons are rejected with a clear error. Returns the bot's callback answer: {alert?, hasUrl?, nativeUi?, message?, url?, cacheTime}| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username where the message lives |
| column | number | Button column index (0-based) — required unless data is provided |
| data | string | Raw callback_data as base64 string (escape hatch — prefer row/column) |
| messageId * | number | Message ID whose inline button to press |
| row | number | Button row index (0-based) — required unless data is provided |
telegram-rate-transcriptionRate transcription quality (good/poor) to improve Telegram speech-to-text.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| good * | boolean | true = good quality, false = poor quality |
| messageId * | number | Message ID of the voice or video note |
| transcriptionId * | string | Transcription ID returned by telegram-transcribe-audio |
telegram-react-to-storyReact to a story with an emoji, or remove the current reaction by passing ''.| Parameter | Type | Description |
|---|---|---|
| addToRecent | boolean | Add emoji to your recently used reactions |
| chatId * | string | Peer who posted the story |
| emoji * | string | Reaction emoji. Empty string '' removes the reaction. |
| storyId * | number | Story ID to react to |
telegram-read-messagesRead recent messages from a Telegram chat with sender names, dates, media info, and reactions| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| limit | number | Number of messages to return |
| maxDate | number | Unix timestamp: only messages before this date |
| minDate | number | Unix timestamp: only messages after this date |
| offsetId | number | Message ID to start from (for pagination) |
telegram-read-storiesMark stories as seen up to a given story ID (maxId, inclusive).| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Peer whose stories to mark as seen |
| maxId * | number | Stories up to and including this ID will be marked seen |
telegram-read-topic-messagesRead messages from a specific forum topic in a Telegram group| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| limit | number | Number of messages to return |
| offsetId | number | Message ID to start from (for pagination) |
| topicId * | number | Topic ID (get from telegram-list-topics) |
telegram-remove-adminRemove admin rights from a user in a supergroup or channel| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| userId * | string | User ID or username to demote |
telegram-rename-contactRename a contact in your own address book only. Their public profile does not change and they are not notified. Works only for users already in your contacts| Parameter | Type | Description |
|---|---|---|
| firstName * | string | New first name to show for the contact |
| lastName | string | New last name; omit to clear it |
| userId * | string | Contact's user ID or username |
telegram-reorder-foldersReorder Telegram chat folders by specifying a new order of folder IDs. All existing custom folder IDs must be included.| Parameter | Type | Description |
|---|---|---|
| order * | array | Ordered list of folder IDs (≥ 2). Obtain IDs from telegram-get-chat-folders |
telegram-report-spamReport a chat as spam to Telegram| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username to report |
telegram-report-storyReport a story via the multi-step option flow. First call with option:'' starts the flow; subsequent calls pass the base64 option bytes from the previous response.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Peer who posted the story |
| ids * | array | Story IDs to report |
| message | string | Optional message to accompany the report |
| option | string | Base64-encoded option bytes from a prior report step, or empty string to start the flow |
telegram-resolve-business-chat-linkResolve a Telegram Business chat link by slug to see whose chat it opens and the pre-filled message. Returns JSON with peerId, peerType, message, and entityCount.| Parameter | Type | Description |
|---|---|---|
| slug * | string | Link slug to resolve (from t.me/m/<slug>) |
telegram-revoke-invite-linkRevoke an invite link for a group or channel| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| link * | string | The invite link to revoke |
telegram-save-draftSave or clear a message draft for a chat. Pass empty text to clear the draft. Optional replyTo sets the message being replied to| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| replyTo | number | Message ID this draft replies to |
| text * | string | Draft text. Empty string clears the draft |
telegram-save-star-giftShow or hide a received Star Gift on your profile. Pass msgId for a gift received as a personal message (DM), or chatId + savedId for a gift in a chat/channel. Set unsave=true to hide the gift (remove from profile display). Opt-in: register only when MCP_TELEGRAM_ENABLE_STARS=1.| Parameter | Type | Description |
|---|---|---|
| chatId | string | Chat/channel ID where the gift was received (required with savedId for chat gifts) |
| msgId | number | Message ID of the gift (from your DMs) — use this for personal gifts |
| savedId | string | Saved gift ID (from get-saved-star-gifts) — required with chatId for chat gifts |
| unsave | boolean | true = hide the gift from profile; false/omit = show it |
telegram-search-chatsSearch for Telegram chats, users, or channels by name or username. Returns description and member count| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results |
| query * | string | Search query (name or username) |
telegram-search-globalSearch messages globally across all public Telegram chats and channels| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results |
| maxDate | number | Unix timestamp: only messages before this date |
| minDate | number | Unix timestamp: only messages after this date |
| query * | string | Search text |
telegram-search-messagesSearch messages in a specific Telegram chat by text| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| limit | number | Max results |
| maxDate | number | Unix timestamp: only messages before this date |
| minDate | number | Unix timestamp: only messages after this date |
| query * | string | Search text |
telegram-search-sticker-setsSearch for sticker sets by name or keyword. Returns the short names of matching sticker packs.| Parameter | Type | Description |
|---|---|---|
| query * | string | Search query (e.g. 'cat', 'love', 'pepe', 'anime') |
telegram-send-albumSend an album (group) of 2-10 photos as a single grouped message. Media type is auto-detected by file extension — videos are supported by the underlying TL call but are not covered by v1.29.0 mock tests, so uniform-photo albums are the safer choice until a live checkpoint. Uploads are serial per item: expect ≈4-10s for 10 mid-size photos, 15-40s for 10 large videos. Prefer ≤5 items or photos when low latency matters.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| items | array | Absolute local filesystem path to a photo or video file. URLs are rejected. |
| parseMode | string | Caption format (applies to all captions) |
| replyTo | number | Message ID to reply to |
| topicId | number | Forum topic ID |
telegram-send-contactSend a contact card (phone number + name) to a Telegram chat.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| firstName * | string | Contact first name |
| lastName | string | Contact last name |
| phone * | string | Phone number in E.164-like format — 6-15 digits, optional leading +. Note: sent as-is; Telegram shows the number to the recipient. |
| replyTo | number | |
| topicId | number | |
| vcard | string | Optional vCard v3.0 text content |
telegram-send-diceSend an animated dice/game emoji to a Telegram chat. Returns the server-rolled value — useful for games, coin-flips, random picks. Values: 🎲🎯🎳 = 1-6, 🏀⚽ = 1-5, 🎰 = slot combo 1-64.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| emoji | string | Dice emoji: 🎲 dice (1-6), 🎯 dart (1-6), 🎰 slot machine (1-64), 🏀 basketball (1-5), ⚽ football (1-5), 🎳 bowling (1-6) |
| replyTo | number | |
| topicId | number |
telegram-send-fileSend a file (photo, document, video, etc.) to a Telegram chat| Parameter | Type | Description |
|---|---|---|
| caption | string | File caption |
| chatId * | string | Chat ID or username |
| filePath * | string | Absolute path to a file under the home or temp folder (hidden folders are refused), or an http(s) URL |
telegram-send-locationSend a geographic location to a Telegram chat. Static pin by default; set livePeriod to share a live-updating location for N seconds.| Parameter | Type | Description |
|---|---|---|
| accuracyRadius | number | Horizontal accuracy radius in meters (0 = unknown) |
| chatId * | string | Chat ID or username |
| heading | number | Direction the user is heading, 1-360 degrees (meaningful only for live locations) |
| latitude * | number | Latitude in decimal degrees (-90 to 90) |
| livePeriod | number | If set, sends a live location updated for N seconds (60-86400). Omit for static pin. |
| longitude * | number | Longitude in decimal degrees (-180 to 180) |
| proximityRadius | number | Alert radius for proximity notification in meters (live only) |
| replyTo | number | Message ID to reply to |
| topicId | number | Forum topic ID |
telegram-send-messageSend a message to a Telegram chat| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username (e.g. @username or numeric ID) |
| effect | string | Optional message effect ID (numeric string, up to 19 digits). Premium animated effect attached to the message. |
| parseMode | string | Message format: md (Markdown) or html |
| quoteText | string | Optional excerpt from the replied-to message to show as a quote above your reply. Requires `replyTo` to be set. Must be a verbatim substring of the original message text. |
| replyTo | number | Message ID to reply to |
| text * | string | Message text |
| topicId | number | Forum topic ID to send message into (for groups with Topics enabled) |
telegram-send-paid-reactionSend a paid reaction (★ Stars) on a channel post. Stars are spent from your balance. Optional private flag controls leaderboard visibility.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username (channel) |
| count | number | Number of Stars to send (1-2500) |
| messageId * | number | Message ID of the channel post |
| private | boolean | true = anonymous on leaderboard, false = show name, omit = use account default |
telegram-send-reactionSend emoji reaction(s) to a message. Supports multiple reactions and adding to existing ones. Omit emoji to remove all reactions| Parameter | Type | Description |
|---|---|---|
| addToExisting | boolean | If true, add reaction(s) to existing ones instead of replacing |
| chatId * | string | Chat ID or username |
| emoji | any | Reaction emoji(s): single '👍' or array ['👍','🔥']. Omit to remove all reactions |
| messageId * | number | Message ID to react to |
telegram-send-scheduledSend a scheduled message to a Telegram chat. The message will be delivered at the specified time by Telegram servers| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username (use 'me' or 'self' for Saved Messages) |
| parseMode | string | Message format: md (Markdown) or html |
| replyTo | number | Message ID to reply to |
| scheduleDate * | number | Unix timestamp when to send the message (must be in the future) |
| text * | string | Message text |
telegram-send-stickerSend a sticker from a sticker set to a chat. The sticker is identified by the set's short name and its index in that set, as listed by telegram-get-sticker-set.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| index * | number | Index of the sticker in the set (0-based, get from telegram-get-sticker-set) |
| replyTo | number | Message ID to reply to |
| stickerSet * | string | Short name of the sticker set (e.g. 'HotCherry') |
telegram-send-storyPublish a new story (photo or video) to your profile or a channel you manage. Privacy: everyone/contacts/close_friends/selected (allowUserIds required for 'selected'). MediaAreas not supported in this version.| Parameter | Type | Description |
|---|---|---|
| allowUserIds | array | Required when privacy='selected': numeric user IDs allowed to see the story |
| caption | string | Story caption (max 2048 chars) |
| chatId | string | Peer to post the story to — 'me', @username, or numeric ID |
| disallowUserIds | array | User IDs explicitly blocked from seeing the story (ignored for privacy='selected') |
| noforwards | boolean | Prevent others from forwarding or saving the story |
| parseMode | string | Caption parse mode: md or html |
| period | any | Story lifetime in seconds: 21600=6h, 43200=12h, 86400=24h (default), 172800=48h |
| pinned | boolean | Keep the story in the profile highlights after expiry |
| privacy | string | Who can see the story |
| type | string | Override auto-detected media type |
telegram-send-typingSend a typing/upload indicator to a Telegram chat (or cancel it)| Parameter | Type | Description |
|---|---|---|
| action | string | Typing action to broadcast |
| chatId * | string | Chat ID or username |
telegram-send-venueSend a venue card (point-of-interest with title and address) to a Telegram chat.| Parameter | Type | Description |
|---|---|---|
| address * | string | Street address |
| chatId * | string | Chat ID or username |
| latitude * | number | Venue latitude |
| longitude * | number | Venue longitude |
| provider | string | Data provider — typically 'foursquare' or 'gplaces'. Defaults to 'foursquare'. |
| replyTo | number | |
| title * | string | Venue name (e.g. 'Red Square') |
| topicId | number | |
| venueId | string | Provider-specific venue ID |
| venueType | string | Provider-specific venue type category |
telegram-send-video-noteSend a video note (round-shaped short video) to a Telegram chat. Shows as a circular video in the UI.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| duration | number | Duration in seconds (Telegram caps at 60) |
| length | number | Frame edge length in pixels (the circle is square-cropped) |
| replyTo | number | Message ID to reply to |
| topicId | number | Forum topic ID |
telegram-send-voiceSend a voice note (audio recording) to a Telegram chat. Shows as a voice message with waveform UI.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username (e.g. @username or numeric ID) |
| parseMode | string | Caption format: md (Markdown) or html |
| replyTo | number | Message ID to reply to |
| topicId | number | Forum topic ID (for groups with Topics enabled) |
telegram-set-adminPromote a user to admin in a supergroup or channel. Grants: change info, post, edit and delete messages, ban users, invite users, pin messages, manage voice chats. Does not grant the right to add other admins.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| title | string | Custom admin title |
| userId * | string | User ID or username to promote |
telegram-set-auto-deleteSet auto-delete timer for messages in a chat. Common values: 86400 (1 day), 604800 (1 week), 2592000 (1 month). Use 0 to disable| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| period * | number | Auto-delete period in seconds. 0 = disable. Common: 86400 (1d), 604800 (1w), 2592000 (1mo) |
telegram-set-birthdaySet your birthday in your Telegram profile. Year is optional (omit to hide age). Pass clear=true to remove birthday. Requires day and month unless clearing.| Parameter | Type | Description |
|---|---|---|
| clear | boolean | Pass true to remove birthday from profile |
| day | number | Day of month (1-31) |
| month | number | Month (1-12) |
| year | number | Year (optional — omit to hide age) |
telegram-set-business-awaySet Telegram Business away message — auto-reply when you are offline or outside work hours. Uses a quick reply shortcut as template. Requires Telegram Business subscription. Pass clear=true to disable.| Parameter | Type | Description |
|---|---|---|
| clear | boolean | Pass true to disable away message |
| customFrom | number | For schedule=custom: Unix timestamp range start |
| customTo | number | For schedule=custom: Unix timestamp range end |
| excludeUsers | array | |
| includeUsers | array | |
| offlineOnly | boolean | Send only when you appear offline (true) or regardless of online status (false) |
| schedule | string | When to send: always (any time offline), outside_hours (based on business hours), custom (time range) |
| shortcutId | number | Quick reply shortcut ID used as the away message template |
telegram-set-business-greetingSet Telegram Business greeting message — auto-reply sent to new conversations using a quick reply shortcut as template. Requires Telegram Business subscription. Pass clear=true to disable.| Parameter | Type | Description |
|---|---|---|
| clear | boolean | Pass true to disable greeting message |
| excludeUsers | array | Usernames/IDs to exclude — overrides audience. Cannot be combined with includeUsers. |
| includeUsers | array | Additional usernames/IDs to always include |
| noActivityDays | number | Send greeting if user has been inactive for N days |
| shortcutId | number | Quick reply shortcut ID (from telegram-get-quick-replies) used as the greeting template |
telegram-set-business-hoursSet Telegram Business work hours — days and time ranges when your business is open. Requires Telegram Business subscription. Pass clear=true to disable the work hours display entirely.| Parameter | Type | Description |
|---|---|---|
| clear | boolean | Pass true to remove business hours entirely |
| openNow | boolean | Manually override current open/closed status. Omit to derive from schedule. |
| schedule | array | Day of week |
| timezone | string | IANA timezone ID (e.g. 'Europe/Moscow', 'America/New_York'). Required when setting schedule. |
telegram-set-business-introSet Telegram Business intro card — title and description shown to new users opening your chat, with an optional sticker. Requires Telegram Business subscription. Pass clear=true to remove.| Parameter | Type | Description |
|---|---|---|
| clear | boolean | Pass true to remove the intro card |
| description | string | Intro description (max 70 chars) |
| stickerAccessHash | string | Access hash of the sticker document (required with stickerId) |
| stickerFileReference | string | Hex-encoded file_reference bytes (required with stickerId) |
| stickerId | string | Sticker document ID (stringified long) — optional illustrative sticker. Requires stickerAccessHash and stickerFileReference. |
| title | string | Intro title (max 32 chars) |
telegram-set-business-locationSet Telegram Business physical location (address + optional geo coordinates). Requires Telegram Business subscription. Pass clear=true to remove.| Parameter | Type | Description |
|---|---|---|
| address | string | Street address text |
| clear | boolean | Pass true to remove business location |
| latitude | number | Geo latitude (-90 to 90) |
| longitude | number | Geo longitude (-180 to 180) |
telegram-set-chat-permissionsSet the default permissions for all non-admin members of a group, supergroup, or channel. Omitted flags keep their current state; true = allowed, false = denied| Parameter | Type | Description |
|---|---|---|
| changeInfo | boolean | Allow changing chat info (title, photo, description) |
| chatId * | string | Chat ID or username |
| embedLinks | boolean | Allow link previews |
| inviteUsers | boolean | Allow inviting new members |
| pinMessages | boolean | Allow pinning messages |
| sendGifs | boolean | Allow sending GIFs |
| sendInline | boolean | Allow inline bot usage |
| sendMedia | boolean | Allow sending photos/videos/documents |
| sendMessages | boolean | Allow sending text messages |
| sendPolls | boolean | Allow sending polls |
| sendStickers | boolean | Allow sending stickers |
telegram-set-chat-reactionsSet which reactions are available in a chat. type='all' allows all standard emoji (set allowCustom=true to also permit custom emoji for Premium users), type='some' restricts to a specific emoji list, type='none' disables reactions entirely. Requires admin| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username (group, supergroup, or channel) |
| reactions | object | If true, also allow custom emoji reactions (requires Premium users) |
telegram-set-default-reactionSet the default emoji reaction used in quick-reaction menus across Telegram| Parameter | Type | Description |
|---|---|---|
| emoji * | string | Emoji character (e.g. 👍 ❤️ 🔥) |
telegram-set-emoji-statusSet your profile emoji status (custom animated emoji shown next to your name). Requires Telegram Premium. Pass documentId or collectibleId to set — omit both to clear the status. Available IDs are listed by telegram-list-emoji-statuses.| Parameter | Type | Description |
|---|---|---|
| collectibleId | string | Collectible emoji ID (stringified long) — for paid unique emoji. Exactly one of documentId/collectibleId may be set. |
| documentId | string | Custom emoji document ID (stringified long). Omit to clear the status. |
| untilUnix | number | Unix timestamp when status expires. Omit for permanent. |
telegram-set-global-privacy-settingsUpdate account-level global privacy settings. Only pass the fields you want to change — omitted fields keep their current values. hideReadMarks and newNoncontactPeersRequirePremium require Telegram Premium.| Parameter | Type | Description |
|---|---|---|
| archiveAndMuteNewNoncontactPeers | boolean | Auto-archive and mute messages from unknown users |
| hideReadMarks | boolean | Hide read receipts — others cannot see when you read their messages (Premium) |
| keepArchivedFolders | boolean | Keep archived chats in their folders |
| keepArchivedUnmuted | boolean | Keep archived chats unmuted when archiving |
| newNoncontactPeersRequirePremium | boolean | Only allow users with Telegram Premium to message you if they are not in your contacts (Premium) |
telegram-set-personal-channelSet the channel displayed on your profile as 'Personal Channel'. Pass clear=true to remove. Pass channelId or @username of a channel you own or are subscribed to.| Parameter | Type | Description |
|---|---|---|
| channelId | string | Channel ID or @username to feature on profile |
| clear | boolean | Pass true to remove personal channel from profile |
telegram-set-privacyConfigure privacy settings for your Telegram account. Controls who can see your phone number, last seen, profile photo, etc.| Parameter | Type | Description |
|---|---|---|
| allowUsers | array | User IDs/usernames to always allow (exceptions) |
| disallowUsers | array | User IDs/usernames to always disallow (exceptions) |
| rule * | string | Who can see/access this |
| setting * | string | Privacy setting to change |
telegram-set-profile-colorSet your profile name color or profile background color. Requires Telegram Premium for colors above index 6 and for profile background patterns. Omit color to reset to default.| Parameter | Type | Description |
|---|---|---|
| backgroundEmojiId | string | Custom emoji document ID (stringified long) for profile background pattern (Premium). Omit to remove. |
| color | number | Color index (0-6 free palette; 7+ Premium custom). Omit to reset to default. |
| forProfile | boolean | true = profile page color + background pattern (Premium); false = name color in chat lists |
telegram-set-profile-photoUpload and set a new profile photo from a local file. Supports JPEG/PNG for static avatar or MP4 for animated avatar (square, up to 10s). Optionally set as fallback photo shown to users who cannot see your main photo.| Parameter | Type | Description |
|---|---|---|
| fallback | boolean | true = set as fallback photo (shown to users who cannot see your main photo due to privacy settings) |
| filePath * | string | Absolute local filesystem path to photo (JPEG/PNG) or video (MP4, square) to upload as avatar. URLs are rejected. |
| isVideo | boolean | true if file is an MP4 animated avatar; false for static photo |
| videoStartTs | number | For video avatar: timestamp in seconds to use as still preview frame |
telegram-set-slow-modeSet slow mode for a supergroup (minimum interval between messages per user). Allowed values: 0, 10, 30, 60, 300, 900, 3600 seconds (0 disables slow mode)| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username (supergroup) |
| seconds * | any | Interval in seconds: 0 (off), 10, 30, 60, 300, 900, or 3600 |
telegram-statusCheck Telegram connection statustelegram-terminate-sessionTerminate a specific Telegram session by its hash, or explicitly terminate all other sessions by setting terminateAllOther=true| Parameter | Type | Description |
|---|---|---|
| sessionId | string | Session hash to terminate (numeric string from get-sessions). Required when terminateAllOther is not set |
| terminateAllOther | boolean | Set to true to terminate all other sessions (excludes current). Cannot be combined with sessionId |
telegram-toggle-anti-spamEnable or disable aggressive anti-spam filtering in a supergroup. Supergroup only (not broadcast channels); requires admin with ban_users permission| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Supergroup ID or username |
| enabled * | boolean | true to enable aggressive anti-spam, false to disable |
telegram-toggle-channel-signaturesEnable or disable author signatures on broadcast channel posts. Channel admin required; not supported for supergroups| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Channel ID or username |
| enabled * | boolean | true to enable author signatures, false to disable |
telegram-toggle-folder-tagsEnable or disable folder tags (colored labels that appear on messages in chat lists when the message belongs to a tagged folder). Requires Telegram Premium.| Parameter | Type | Description |
|---|---|---|
| enabled * | boolean | true to enable folder tags, false to disable |
telegram-toggle-forum-modeEnable or disable forum/topics mode in a supergroup. Supergroup only; requires creator or admin. WARNING: disabling removes ALL existing topics — pass confirm=true to proceed with disable| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Supergroup ID or username |
| confirm | boolean | Must be true when disabling (enabled=false) — disabling deletes all existing topics |
| enabled * | boolean | true to enable forum mode, false to disable |
telegram-toggle-paid-reaction-privacyChange leaderboard visibility of your paid reaction on a specific channel post (Layer 198 API).| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username (channel) |
| messageId * | number | Message ID of the channel post |
| private * | boolean | true = anonymous on leaderboard, false = show name |
telegram-toggle-prehistory-hiddenToggle pre-history visibility for new members in a supergroup. When hidden=true, new joiners cannot see messages posted before they joined. Supergroup only; requires admin| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Supergroup ID or username |
| hidden * | boolean | true to hide prior history from new members, false to make it visible |
telegram-toggle-story-pinnedPin or unpin stories in your profile highlights (Telegram allows up to 3 pinned stories).| Parameter | Type | Description |
|---|---|---|
| chatId | string | Peer owning the stories |
| ids * | array | Story IDs to pin or unpin |
| pinned * | boolean | true to pin, false to unpin |
telegram-toggle-story-pinned-to-topPin stories to the very top of your pinned row. Pass an empty array [] to clear all top-pinned stories.| Parameter | Type | Description |
|---|---|---|
| chatId | string | Peer owning the stories |
| ids * | array | Story IDs to pin to the top row; pass [] to clear |
telegram-transcribe-audioRequest server-side transcription of a voice note or video note (Telegram Premium feature). Returns immediately with a transcriptionId; pending:true means the text is not ready yet, and telegram-get-transcription returns it once it is.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| messageId * | number | Message ID of the voice or video note |
telegram-translate-messageTranslate one or more Telegram messages to a target language (requires Telegram Premium). Consumes account translation quota.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| messageIds * | array | Array of message IDs to translate (1-100) |
| toLang * | string | ISO 639-1 (e.g. 'en', 'ru') or locale (e.g. 'en-US') |
telegram-unban-userUnban a previously banned user from a supergroup or channel| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| userId * | string | User ID or username to unban |
telegram-unblock-userUnblock a previously blocked Telegram user| Parameter | Type | Description |
|---|---|---|
| userId * | string | User ID or username to unblock |
telegram-unpin-messageUnpin a message in a Telegram chat| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| messageId * | number | Message ID to unpin |
telegram-update-profileUpdate your Telegram profile — first name, last name, bio, or username| Parameter | Type | Description |
|---|---|---|
| bio | string | New bio/about text (max 70 chars, 300 for Premium) |
| firstName | string | New first name |
| lastName | string | New last name |
| username | string | New username (without @) |
telegram-vote-pollVote in a poll by option index (single or multi-choice). Empty array retracts vote.| Parameter | Type | Description |
|---|---|---|
| chatId * | string | Chat ID or username |
| messageId * | number | Message ID of the poll |
| optionIndexes * | array | Zero-based option indexes. Empty [] retracts vote. |
Security checks
- ✓README presentThe repository's README runs to about 2.1K words.
5 checks have not been run yet.
README
The repository's README runs to about 2.1K words. The original in the repository is authoritative.
Read full README