Telegram Long Polling Trigger (Stage)
AI-generatedSummary
Starts a long‑polling daemon for multiple Telegram bots, reading bot list from Redis and emitting update items on the main output while sending errors to the error output.
Inputs
- interval — Supervisor interval in seconds; how often the daemon reconciles the active bot list from Redis.
- pollTimeout — Poll timeout in seconds for each getUpdates call per bot; capped at 30 seconds.
Output shape
array of telegram update items on the main output; error items on the error output
No binary payload; success/failure only. Errors are emitted as items on the error stream.
Examples
Example 1: Default configuration runs the trigger with 5‑second supervisor interval and 25‑second poll timeout, continuously polling Telegram and emitting updates.
interval=5, pollTimeout=25