Telegram Archive Trigger
AI-generatedSummary
Poll for new messages from a Telegram Archive instance, optionally filtered by chat ID, and trigger when new messages appear.
Inputs
- Poll Times — Specify one or more schedules for polling, e.g., every minute, hour, day, or a custom cron expression.
- Chat ID — Optionally filter to a specific chat ID. Leave empty to detect new messages across all chats.
Output shape
a list of new message objects if filtered by chat ID; otherwise an object summarizing message counts and statistics
On the first poll, the node seeds its state and does not emit data. Subsequent polls emit either an array of new messages for the specified chat or a summary JSON object with counts when no chat ID filter is used.
Examples
Example 1: Polling for new messages in chat ID '12345' every day at 14:00
Set Poll Times to every day at 14:00 and Chat ID to '12345'. The node fetches new messages for chat '12345' and outputs each new message as separate JSON items.
Example 2: Polling all chats every minute
Set Poll Times to every minute and leave Chat ID empty. The node outputs a summary object indicating counts of new messages across all chats.