Telethon Trigger
AI-generatedSummary
Listen for incoming Telegram messages via a Telethon Python service using a webhook, emitting incoming messages as workflow executions.
Inputs
None.
Output shape
workflow executions triggered by incoming Telegram messages containing JSON data with message details and metadata on reception time.
This operation uses credentials named 'telethonApi' to authenticate and manage a Telethon Python background service that listens for Telegram events. It registers a webhook URL where Telethon posts updates. On receiving a POST request, it outputs the message data along with a '_meta' field indicating when the message was received. There are no operation-specific input parameters. Errors during listener registration or authentication are emitted as node operation errors.
Examples
Example 1: A Telegram message is sent to the authenticated account, the background Telethon service detects it and sends a POST to the registered webhook, which triggers this node, outputting the message JSON to the workflow.
The user provides Telethon API credentials and activates the Telethon Trigger node in a workflow as a trigger node. The node internally manages starting the Python service and registering the webhook listener automatically.