telegram-setup
Telegram Setup
Interactive, one-time setup. Walks the user through connecting their Telegram
bot and captures their chat ID into a named contact, set as the default
recipient. After this, telegram-notify / telegram-ask work with no flags.
The binary is at <skill-dir>/../telegram-skills-bin/bin/telegram.
Requires the
telegram-skills-binskill. The binary lives in that sibling skill. If<skill-dir>/../telegram-skills-bin/bin/telegramdoes not exist, tell the user to install it (bunx skills add roziscoding/telegram-skills) instead of failing with a raw error.
Step 1 — get the bot token
Ask the user for their bot token from @BotFather.
If they'd rather not paste it into the chat, tell them to put it in
~/.config/telegram-skills/credentials.json as { "bot_token": "..." } and
say when they're done — then run setup with no token argument.