Hook#buildwithclaude
0
Telegram detailed notifications
Oturum bilgileri ve ölçümleri içeren ayrıntılı Telegram bildirimleri gönderin
yazan kuscubasiece·8 Eylül 2026
Kaynak: davepoon/claude-code-subagents-collection · MIT
Oturum bilgileri ve ölçümleri içeren ayrıntılı Telegram bildirimleri gönderin
Kaynak: davepoon/claude-code-subagents-collection · MIT
curl -sL https://www.antrophiclove.com/api/kaynak/telegram-detailed-notifications/rawBu içerik mevcut dosyaya elle harmanlanmalı: .claude/settings.json
Send detailed Telegram notifications with session information and metrics
Stop*TELEGRAM_BOT_TOKENTELEGRAM_CHAT_ID#!/bin/bash
if [[ -z "$TELEGRAM_BOT_TOKEN" ]] || [[ -z "$TELEGRAM_CHAT_ID" ]]; then
exit 0
fi
session_id="${CLAUDE_SESSION_ID:-unknown}"
timestamp=$(date '+%Y-%m-%d %H:%M:%S')
message="*Claude Code Session Complete*
Session: \`${session_id}\`
Completed: ${timestamp}"
url="https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage"
curl -s -X POST "$url" \
-d "chat_id=${TELEGRAM_CHAT_ID}" \
-d "text=${message}" \
-d "parse_mode=Markdown" >/dev/null 2>&1