Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Overview

This node integrates with the Telegram API via the TelePilot service, allowing users to perform various Telegram operations programmatically. Specifically, the 'User - Get Me' operation retrieves information about the currently authenticated Telegram user. This node is useful for automating Telegram account management, messaging, and interaction tasks, such as fetching user details, sending messages, managing chats, and more. For example, it can be used to get the current user's profile info to personalize workflows or verify authentication status.

Use Case Examples

  1. Retrieve the authenticated user's Telegram profile information to display in a dashboard.
  2. Use the node to confirm the Telegram account connected to the workflow before sending messages.
  3. Automate Telegram chat management by fetching user details and performing actions based on user identity.

Properties

Name Meaning
resource The Telegram resource to operate on, here set to 'User'.
operation The specific action to perform on the selected resource, here 'Get Me' to fetch current user info.

Output

JSON

  • id - Unique identifier of the Telegram user.
  • first_name - First name of the Telegram user.
  • last_name - Last name of the Telegram user, if available.
  • username - Telegram username of the user, if set.
  • phone_number - Phone number associated with the Telegram user.
  • status - Current status of the user (e.g., online, offline).
  • profile_photo - Profile photo information of the user, if available.

Dependencies

  • Requires TelePilot API credentials (API ID, API Hash, phone number) for authentication with Telegram.

Troubleshooting

  • Ensure the TelePilot API credentials are correctly configured and valid to avoid authentication errors.
  • If the node throws 'Please login' errors, use the login operation with phone number and authentication code to establish a session.
  • Common errors include session closure or unauthorized access; re-login may be required in such cases.
  • Check that the Telegram account is active and not restricted from API access.

Links

  • TelePilot Login Guide - Instructions on how to log in and authenticate with the TelePilot Telegram API service.

Discussion