Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

User → Get Me

AI-generated

Overview

This node integrates with the Telegram API to perform various user-related operations. Specifically, the 'User - Get Me' operation retrieves information about the authenticated Telegram user. This node is useful for scenarios where you want to fetch the current user's Telegram profile details, such as user ID, username, and other metadata, for automation workflows involving Telegram interactions.

Use Case Examples

  1. Fetch the authenticated user's Telegram profile to personalize messages or log user details in a CRM system.
  2. Use the 'Get Me' operation to verify the Telegram account connected to the workflow before sending messages or performing other actions.

Output

JSON

  • id - Unique identifier of the Telegram user
  • firstName - First name of the Telegram user
  • lastName - Last name of the Telegram user
  • username - Username of the Telegram user
  • phoneNumber - Phone number associated with the Telegram user
  • status - Current status of the Telegram user (e.g., online, offline)
  • photo - Profile photo information of the Telegram user
  • bot - Indicates if the user is a bot

Dependencies

  • Telegram API credentials (apiId, apiHash, phoneNumber) required for authentication

Troubleshooting

  • Client not initialized error: Ensure the Telegram account is logged in via the login operation before calling 'Get Me'.
  • Session closed or terminated error: Re-login is required if the session was closed or disconnected.
  • Unauthorized error: Occurs if credentials are invalid or expired; re-authenticate the Telegram account.

Links

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

Discussion