n8n-nodes-telegram-sugar
v0.1.3
Published
n8n-node-trigger for telegram based on polling api
Maintainers
Readme
n8n-nodes-telegram-polling
An n8n trigger node for telegram that uses the getUpdates API to receive updates with long polling.
The default long polling timeout is 60 seconds. You can also configure a delay between polling requests to avoid hitting Telegram rate limits.
Motivation:
I'm sitting behind a CGNAT for IPv4 but I have an IPv6 Prefix. The Telegram webhook method does not support IPv6 yet. So the only solution without renting an IPv4 public facing server is to use the long polling method. Another alternatives would be to use the tunnel/VPN.
Known issue in the original repo
Issue #3 in the original repository reports that this node works for about 10 minutes and then stops. I suspect this could be caused by a Telegram API error or Telegram rate-limiting/blocking the polling requests.
Configuration
- Request Delay (ms): Adds a pause between polling requests. Default is 1000 ms.
- Automatic backoff: On Telegram/network errors, the node retries with exponential backoff (up to 60s).
