plugin/skills/mode-creator/references/telegram.md
Read this only after the user opts into alerts.
claude-mem reads these settings from its data-directory settings.json:
CLAUDE_MEM_TELEGRAM_ENABLEDCLAUDE_MEM_TELEGRAM_BOT_TOKENCLAUDE_MEM_TELEGRAM_CHAT_IDCLAUDE_MEM_TELEGRAM_TRIGGER_TYPESCLAUDE_MEM_TELEGRAM_TRIGGER_CONCEPTSAn observation sends when its single type matches any configured trigger type or one of its concepts matches any configured trigger concept. No trigger list means no messages.
Messages contain the observation type, title, subtitle, project, and observation ID. They do not include the full narrative or facts, but titles and subtitles can still contain sensitive information. Make the privacy tradeoff explicit before configuration.
/newbot, choose a display name, then choose a unique username ending in bot.scripts/configure-telegram.mjs from this skill. It collects the token through hidden terminal input, validates it with getMe, uses getUpdates to discover a recent chat when possible, sends a test with sendMessage, and stores the result with owner-only permissions.Official references: Telegram bots introduction, BotFather features, and Bot API methods.
settings.json wholesale after configuration.getMe, and the selected chat ID.0600.getMe failed: Unauthorized: the token is wrong or revoked. Generate a new token in BotFather.getUpdates says a webhook is active: automatic discovery cannot run while a webhook owns updates. Enter the numeric chat ID manually; do not delete a webhook without explicit permission.sendMessage says chat not found: verify the chat ID and ensure the bot was started or added to the group.