Telegram CoPilot Trigger icon

Telegram CoPilot Trigger

Your Personal Telegram CoPilot Listener

Telegram CoPilot Trigger

AI-generated

Overview

The Telegram CoPilot Trigger node listens for various Telegram update events using the TelePilot API. It enables workflows to react to specific Telegram events such as new messages, message content updates, star gift actions, chat updates, and many other Telegram-related activities. This node is useful for automating responses, notifications, or processing Telegram data in real-time based on selected event types.

Use Case Examples

  1. Automatically process and respond to new Telegram messages.
  2. Track and handle star gift transactions in Telegram channels.
  3. Monitor chat updates and user status changes for analytics or notifications.

Properties

Name Meaning
Events Select one or more Telegram update events to listen for. Includes a wildcard '*' to listen to all events.
Channel ID ID of the channel for listening to star transaction events. Only applicable for certain star transaction events.
Options Additional options such as ignoring group events (events with negative chat IDs).

Output

JSON

  • _ - The type of the Telegram update event received.
  • giftData - Detailed information about star gift messages, if applicable.
  • transactions - List of star transactions for star transaction events.
  • next_offset - Offset for pagination in star transactions.

Dependencies

  • TelePilot API credentials (apiId, apiHash, phoneNumber)

Troubleshooting

  • Error 'Telegram account not logged in' indicates the Telegram account is not authenticated. Use the loginWithPhoneNumber action to authenticate.
  • If no events are received in manual mode within 30 seconds, a timeout error occurs. Ensure the Telegram client is properly connected and events are being emitted.
  • If star transaction events are selected, ensure the Channel ID is provided and valid to receive those events.
  • If ignoring group events is enabled, events from group chats (negative chat IDs) will be filtered out.

Links

Discussion