sync_telegram
Sync new Telegram messages from your bot into memory. Use a chat ID to filter specific conversations or sync all chats automatically.
Instructions
Sync new Telegram messages received by the bot into memory.
Uses the Telegram Bot API (getUpdates) to fetch messages sent to the bot since the last sync. Requires TELEGRAM_BOT_TOKEN in environment.
Args: chat_id: Telegram chat ID to filter (positive = user DM, negative = group). Syncs all chats if not provided. Uses TELEGRAM_CHAT_ID env var as default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No |