Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

User → Get Me

AI-generated

Overview

This node interacts with the Telegram API via the TelePilot service to perform various Telegram-related operations. Specifically, for the 'User' resource with the 'Get Me' operation, it retrieves information about the currently authenticated Telegram user. This is useful for scenarios where you want to verify the logged-in user's details or fetch their profile information programmatically.

Use Case Examples

  1. A user wants to confirm their Telegram account details within an automation workflow.
  2. An application needs to fetch the current user's Telegram profile to personalize messages or actions.

Output

JSON

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

Dependencies

  • Requires TelePilot API credentials (API ID, API Hash, Phone Number) for authentication with Telegram.

Troubleshooting

  • If the node throws an error 'Please login', it means the Telegram session is not authenticated. The user should follow the login process using the ChatTrigger node and the provided login instructions at https://telepilot.co/login-howto.
  • Errors like 'A closed client cannot be reused' or 'Unauthorized' indicate that the session has expired or been terminated. The user should re-authenticate.
  • Ensure that the TelePilot API credentials are correctly set and valid to avoid authentication failures.

Links

  • TelePilot Login Guide - Instructions on how to log in and authenticate the Telegram account for use with TelePilot.

Discussion