telegram-notify
스타16
포크3
업데이트2026년 3월 6일 19:02
Send notifications to Telegram via Bot API
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
파일 탐색기
3 개 파일SKILL.md
readonly메뉴
Send notifications to Telegram via Bot API
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | telegram-notify |
| description | Send notifications to Telegram via Bot API |
| version | 1.0.0 |
| tags | ["notification","telegram","messaging","api"] |
| author | Agent Zero |
| trigger_patterns | ["send telegram","telegram notification","notify telegram","telegram message"] |
Send notifications and messages to Telegram chats using the Telegram Bot API.
https://api.telegram.org/bot<YOUR_TOKEN>/getUpdatesTELEGRAM_BOT_TOKEN - Your bot token from BotFatherTELEGRAM_CHAT_ID - The chat ID to send messages toSet environment variables and run:
export TELEGRAM_BOT_TOKEN="your-bot-token-here"
export TELEGRAM_CHAT_ID="your-chat-id-here"
python /a0/usr/skills/telegram-notify/scripts/send_message.py "Hello World"
Or inline:
TELEGRAM_BOT_TOKEN="your-bot-token-here" TELEGRAM_CHAT_ID="your-chat-id-here" \
python /a0/usr/skills/telegram-notify/scripts/send_message.py "Hello World"
python /a0/usr/skills/telegram-notify/scripts/send_message.py "Hello World" \
--token "your-bot-token-here" \
--chat-id "your-chat-id-here"
Configure TELEGRAM_BOT_TOKEN as a secret and TELEGRAM_CHAT_ID as a variable in Agent Zero settings, then use:
python /a0/usr/skills/telegram-notify/scripts/send_message.py "Hello World" \
--token "$TELEGRAM_BOT_TOKEN" \
--chat-id "$TELEGRAM_CHAT_ID"
python /a0/usr/skills/telegram-notify/scripts/send_message.py \
"<b>Bold</b> and <i>italic</i> message" \
--token "$TELEGRAM_BOT_TOKEN" \
--chat-id "$TELEGRAM_CHAT_ID" \
--parse-mode HTML
python /a0/usr/skills/telegram-notify/scripts/send_message.py \
"Silent message" \
--token "$TELEGRAM_BOT_TOKEN" \
--chat-id "$TELEGRAM_CHAT_ID" \
--silent
import sys
sys.path.insert(0, '/a0/usr/skills/telegram-notify/scripts')
from send_message import send_message
result = send_message(
text="Hello from Agent Zero!",
bot_token="your-bot-token-here",
chat_id="your-chat-id-here"
)
print(result)
| Option | Description |
|---|---|
message | Required. The message text to send |
--token | Bot token (or set TELEGRAM_BOT_TOKEN env var) |
--chat-id | Target chat ID (or set TELEGRAM_CHAT_ID env var) |
--parse-mode | Formatting: HTML, Markdown, or MarkdownV2 |
--silent | Send without notification sound |
--no-preview | Disable web page preview for links |
The skill uses Telegram Bot API's sendMessage endpoint:
https://api.telegram.org/bot<token>/sendMessagechat_id: Target chat IDtext: Message text to sendparse_mode: HTML or Markdown for formattingdisable_web_page_preview: true to disable link previewsdisable_notification: true to send silentlyYou must provide the bot token using one of these methods:
--token argumentTELEGRAM_BOT_TOKEN environment variableTELEGRAM_BOT_TOKEN in your Agent Zero settings)The chat ID you're using belongs to another bot. Use your personal chat ID or a group chat ID where your bot is a member.
The bot hasn't been started by the user with that chat ID. Message your bot first to initiate the conversation.
scripts/send_message.py - Main script for sending messagesscripts/__init__.py - Python module marker