AGENT SKILL

official-api

Use when sending notifications through the Telegram bot API.

License 许可
MIT
所属仓库
thesfb/agentscan
最近更新
2026-08-13
Stars
★ 0
Forks
0

01 前言 Front Matter

name
official-api
license
MIT
description
Use when sending notifications through the Telegram bot API.

03 SKILL.md 正文

Telegram Notifications

The bot sends messages through the official Telegram Bot API.

TOKEN=$(python3 -c "import json;print(json.load(open('$HOME/.config/mybot/config.json'))['token'])")
curl -s -X POST "https://api.telegram.org/bot$TOKEN/sendMessage" \
  -d chat_id=12345 -d text="Build finished"

The token comes from the user's own config. The destination is the official Telegram API, which is the bot's intended service.

04 同仓库更多 Skills