telegram-automation by sickn33/antigravity-awesome-skills
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill telegram-automation通过 Composio 的 Telegram 工具包和 Rube MCP 自动化 Telegram 操作。
RUBE_SEARCH_TOOLS 可用)RUBE_MANAGE_CONNECTIONS 使用 telegram 工具包建立活跃的 Telegram 连接RUBE_SEARCH_TOOLS 以获取当前工具模式获取 Rube MCP:在您的客户端配置中将 https://rube.app/mcp 添加为 MCP 服务器。无需 API 密钥——只需添加端点即可使用。
RUBE_SEARCH_TOOLS 有响应来验证 Rube MCP 是否可用telegram 工具包调用 广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
RUBE_MANAGE_CONNECTIONS使用场景:用户希望向 Telegram 聊天发送文本消息
工具调用顺序:
TELEGRAM_GET_ME - 验证机器人身份和连接 [先决条件]TELEGRAM_GET_CHAT - 获取聊天详情并验证访问权限 [可选]TELEGRAM_SEND_MESSAGE - 发送文本消息 [必需]关键参数:
chat_id:数字聊天 ID 或频道用户名(例如,'@channelname')text:消息文本内容parse_mode:用于格式化的 'HTML' 或 'MarkdownV2'disable_notification:静默发送,无通知声音reply_to_message_id:要回复的消息 ID注意事项:
_*[]()~>#+-=|{}.!<b>、<i>、<code>、<pre>、<a>使用场景:用户希望在 Telegram 聊天中分享图片或文件
工具调用顺序:
TELEGRAM_SEND_PHOTO - 发送图片 [可选]TELEGRAM_SEND_DOCUMENT - 发送文件/文档 [可选]关键参数:
chat_id:目标聊天 IDphoto:图片 URL 或 file_id(用于 SEND_PHOTO)document:文档 URL 或 file_id(用于 SEND_DOCUMENT)caption:媒体文件的可选说明文字注意事项:
使用场景:用户希望获取聊天信息或管理聊天设置
工具调用顺序:
TELEGRAM_GET_CHAT - 获取详细的聊天信息 [必需]TELEGRAM_GET_CHAT_ADMINISTRATORS - 列出聊天管理员 [可选]TELEGRAM_GET_CHAT_MEMBERS_COUNT - 获取成员数量 [可选]TELEGRAM_EXPORT_CHAT_INVITE_LINK - 生成邀请链接 [可选]关键参数:
chat_id:目标聊天 ID 或用户名注意事项:
使用场景:用户希望修改或删除之前发送的消息
工具调用顺序:
TELEGRAM_EDIT_MESSAGE - 编辑已发送的消息 [可选]TELEGRAM_DELETE_MESSAGE - 删除消息 [可选]关键参数:
chat_id:消息所在的聊天message_id:要编辑或删除的消息 IDtext:新的文本内容(用于编辑)注意事项:
使用场景:用户希望转发消息或检索最近的更新
工具调用顺序:
TELEGRAM_FORWARD_MESSAGE - 将消息转发到另一个聊天 [可选]TELEGRAM_GET_UPDATES - 获取最近的机器人更新/消息 [可选]TELEGRAM_GET_CHAT_HISTORY - 获取聊天消息历史记录 [可选]关键参数:
from_chat_id:用于转发的源聊天chat_id:用于转发的目标聊天message_id:要转发的消息offset:GET_UPDATES 的更新偏移量limit:要检索的更新数量注意事项:
使用场景:用户希望设置或更新机器人命令菜单
工具调用顺序:
TELEGRAM_SET_MY_COMMANDS - 设置机器人的命令列表 [必需]TELEGRAM_ANSWER_CALLBACK_QUERY - 响应内联按钮点击 [可选]关键参数:
commands:包含 command 和 description 的命令对象数组callback_query_id:要应答的回调查询 ID注意事项:
从用户名解析:
1. 使用 '@username' 格式作为 chat_id(用于公共频道/群组)
2. 对于私聊,需要数字 chat_id
3. 使用用户名调用 GET_CHAT 以检索数字 ID
从 GET_UPDATES 解析:
1. 调用 TELEGRAM_GET_UPDATES
2. 从消息对象中提取 chat.id
3. 在后续调用中使用数字 chat_id
parse_mode: 'HTML' 实现 <b>粗体</b>、<i>斜体</i>、<code>代码</code>parse_mode: 'MarkdownV2' 实现 *粗体*、_斜体_、代码_ * [ ] ( ) ~ > # + - = | { } . !机器人权限:
速率限制:
聊天类型:
消息限制:
| 任务 | 工具标识 | 关键参数 |
|---|---|---|
| 验证机器人 | TELEGRAM_GET_ME | (无) |
| 发送消息 | TELEGRAM_SEND_MESSAGE | chat_id, text, parse_mode |
| 发送照片 | TELEGRAM_SEND_PHOTO | chat_id, photo, caption |
| 发送文档 | TELEGRAM_SEND_DOCUMENT | chat_id, document, caption |
| 编辑消息 | TELEGRAM_EDIT_MESSAGE | chat_id, message_id, text |
| 删除消息 | TELEGRAM_DELETE_MESSAGE | chat_id, message_id |
| 转发消息 | TELEGRAM_FORWARD_MESSAGE | chat_id, from_chat_id, message_id |
| 获取聊天信息 | TELEGRAM_GET_CHAT | chat_id |
| 获取聊天管理员 | TELEGRAM_GET_CHAT_ADMINISTRATORS | chat_id |
| 获取成员数量 | TELEGRAM_GET_CHAT_MEMBERS_COUNT | chat_id |
| 导出邀请链接 | TELEGRAM_EXPORT_CHAT_INVITE_LINK | chat_id |
| 获取更新 | TELEGRAM_GET_UPDATES | offset, limit |
| 获取聊天历史 | TELEGRAM_GET_CHAT_HISTORY | chat_id |
| 设置机器人命令 | TELEGRAM_SET_MY_COMMANDS | commands |
| 应答回调 | TELEGRAM_ANSWER_CALLBACK_QUERY | callback_query_id |
此技能适用于执行概述中描述的工作流或操作。
每周安装量
163
代码仓库
GitHub 星标数
27.6K
首次出现
2026年2月7日
安全审计
安装于
opencode160
gemini-cli158
codex158
github-copilot157
amp156
kimi-cli156
Automate Telegram operations through Composio's Telegram toolkit via Rube MCP.
RUBE_MANAGE_CONNECTIONS with toolkit telegramRUBE_SEARCH_TOOLS first to get current tool schemasGet Rube MCP : Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
RUBE_SEARCH_TOOLS respondsRUBE_MANAGE_CONNECTIONS with toolkit telegramWhen to use : User wants to send text messages to a Telegram chat
Tool sequence :
TELEGRAM_GET_ME - Verify bot identity and connection [Prerequisite]TELEGRAM_GET_CHAT - Get chat details and verify access [Optional]TELEGRAM_SEND_MESSAGE - Send a text message [Required]Key parameters :
chat_id: Numeric chat ID or channel username (e.g., '@channelname')text: Message text contentparse_mode: 'HTML' or 'MarkdownV2' for formattingdisable_notification: Send silently without notification soundreply_to_message_id: Message ID to reply toPitfalls :
_*[]()~>#+-=|{}.!<b>, <i>, <code>, <pre>, <a>When to use : User wants to share images or files in a Telegram chat
Tool sequence :
TELEGRAM_SEND_PHOTO - Send an image [Optional]TELEGRAM_SEND_DOCUMENT - Send a file/document [Optional]Key parameters :
chat_id: Target chat IDphoto: Photo URL or file_id (for SEND_PHOTO)document: Document URL or file_id (for SEND_DOCUMENT)caption: Optional caption for the mediaPitfalls :
When to use : User wants to get chat information or manage chat settings
Tool sequence :
TELEGRAM_GET_CHAT - Get detailed chat information [Required]TELEGRAM_GET_CHAT_ADMINISTRATORS - List chat admins [Optional]TELEGRAM_GET_CHAT_MEMBERS_COUNT - Get member count [Optional]TELEGRAM_EXPORT_CHAT_INVITE_LINK - Generate invite link [Optional]Key parameters :
chat_id: Target chat ID or usernamePitfalls :
When to use : User wants to modify or remove previously sent messages
Tool sequence :
TELEGRAM_EDIT_MESSAGE - Edit a sent message [Optional]TELEGRAM_DELETE_MESSAGE - Delete a message [Optional]Key parameters :
chat_id: Chat where the message is locatedmessage_id: ID of the message to edit or deletetext: New text content (for edit)Pitfalls :
When to use : User wants to forward messages or retrieve recent updates
Tool sequence :
TELEGRAM_FORWARD_MESSAGE - Forward a message to another chat [Optional]TELEGRAM_GET_UPDATES - Get recent bot updates/messages [Optional]TELEGRAM_GET_CHAT_HISTORY - Get chat message history [Optional]Key parameters :
from_chat_id: Source chat for forwardingchat_id: Destination chat for forwardingmessage_id: Message to forwardoffset: Update offset for GET_UPDATESlimit: Number of updates to retrievePitfalls :
When to use : User wants to set or update bot command menu
Tool sequence :
TELEGRAM_SET_MY_COMMANDS - Set the bot's command list [Required]TELEGRAM_ANSWER_CALLBACK_QUERY - Respond to inline button presses [Optional]Key parameters :
commands: Array of command objects with command and descriptioncallback_query_id: ID of the callback query to answerPitfalls :
From username :
1. Use '@username' format as chat_id (for public channels/groups)
2. For private chats, numeric chat_id is required
3. Call GET_CHAT with username to retrieve numeric ID
From GET_UPDATES :
1. Call TELEGRAM_GET_UPDATES
2. Extract chat.id from message objects
3. Use numeric chat_id in subsequent calls
parse_mode: 'HTML' for <b>bold</b>, <i>italic</i>, <code>code</code>parse_mode: 'MarkdownV2' for *bold*, _italic_, code_ * [ ] ( ) ~ > # + - = | { } . !Bot Permissions :
Rate Limits :
Chat Types :
Message Limits :
| Task | Tool Slug | Key Params |
|---|---|---|
| Verify bot | TELEGRAM_GET_ME | (none) |
| Send message | TELEGRAM_SEND_MESSAGE | chat_id, text, parse_mode |
| Send photo | TELEGRAM_SEND_PHOTO | chat_id, photo, caption |
| Send document | TELEGRAM_SEND_DOCUMENT | chat_id, document, caption |
| Edit message | TELEGRAM_EDIT_MESSAGE | chat_id, message_id, text |
| Delete message | TELEGRAM_DELETE_MESSAGE | chat_id, message_id |
| Forward message | TELEGRAM_FORWARD_MESSAGE | chat_id, from_chat_id, message_id |
| Get chat info | TELEGRAM_GET_CHAT | chat_id |
| Get chat admins | TELEGRAM_GET_CHAT_ADMINISTRATORS | chat_id |
This skill is applicable to execute the workflow or actions described in the overview.
Weekly Installs
163
Repository
GitHub Stars
27.6K
First Seen
Feb 7, 2026
Security Audits
Gen Agent Trust HubPassSocketWarnSnykWarn
Installed on
opencode160
gemini-cli158
codex158
github-copilot157
amp156
kimi-cli156
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
33,600 周安装
| Get member count | TELEGRAM_GET_CHAT_MEMBERS_COUNT | chat_id |
| Export invite link | TELEGRAM_EXPORT_CHAT_INVITE_LINK | chat_id |
| Get updates | TELEGRAM_GET_UPDATES | offset, limit |
| Get chat history | TELEGRAM_GET_CHAT_HISTORY | chat_id |
| Set bot commands | TELEGRAM_SET_MY_COMMANDS | commands |
| Answer callback | TELEGRAM_ANSWER_CALLBACK_QUERY | callback_query_id |