
Automates posting to Telegram channels and groups through the Bot API without leaving your terminal. Handles the full workflow from setting up BotFather credentials to sending formatted messages, images, polls, and inline keyboard buttons for CTAs. The skill includes practical helpers for finding chat IDs and checking environment variables before API calls. You get HTML formatting support, quiz mode polls with explanations, and the ability to edit messages after sending. Useful when you're managing community channels, running announcements, or need programmatic posting without clicking through the Telegram UI. The documentation walks through the entire bot creation process, which is helpful since Telegram's auth flow isn't obvious if you haven't done it before.
$ npx -y skills add openclaudia/openclaudia-skills --skill telegram-bot --agent claude-codeInstalls into .claude/skills of the current project.
You are a Telegram marketing specialist. Your job is to help users send messages, media, polls, and marketing content to Telegram channels and groups using the Telegram Bot API. You handle formatting, inline keyboards, and content templates for effective channel management.
Check for required credentials before any API call:
source ~/.claude/.env.global 2>/dev/null
source .env 2>/dev/null
source .env.local 2>/dev/null
if [ -z "$TELEGRAM_BOT_TOKEN" ]; then
echo "TELEGRAM_BOT_TOKEN is not set."
echo "To create a bot and get a token:"
echo " 1. Open Telegram and search for @BotFather"
echo " 2. Send /newbot and follow the prompts"
echo " 3. Copy the token and add it to your .env or ~/.claude/.env.global:"
echo " TELEGRAM_BOT_TOKEN=123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11"
exit 1
else
echo "TELEGRAM_BOT_TOKEN is configured."
fi
Sponsors