Skip to main content

telegram

Send messages and manage Telegram bots via the Bot API. Use when sending notifications or building chat interactions.

来源信息

仓库
fworks-tech/agenthood
最近来源活动
2026年9月16日 21:10
检测到的 SKILL.md 语言
英语
星标
3
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
telegram
description
Send messages and manage Telegram bots via the Bot API. Use when sending notifications or building chat interactions.
license
MIT
metadata
{"category":"messaging","config":[{"name":"TELEGRAM_BOT_TOKEN","label":"Bot Token","type":"secret","required":true},{"name":"TELEGRAM_CHAT_ID","label":"Chat ID","type":"string","required":true}]}
# Telegram Bot API Use the Telegram Bot API to send messages and manage bots. ## API Base ``` https://api.telegram.org/bot<TELEGRAM_BOT_TOKEN>/ ``` ## Common Operations ### Messaging - Send message: `curl -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" -d "chat_id=${TELEGRAM_CHAT_ID}" -d "text=Hello"` - Send with formatting: `curl -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" -d "chat_id=${TELEGRAM_CHAT_ID}" -d "text=*Bold* _italic_" -d "parse_mode=Markdown"` ### Bot Info - Get updates: `curl "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/getUpdates"` - Get bot info: `curl "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/getMe"` ## Notes - Bot token from @BotFather on Telegram - Chat ID can be found via `getUpdates` after sending a message to the bot
在 GitHub 查看