Telegram CoPilot icon

Telegram CoPilot

袙邪褕 锌械褉褋芯薪邪谢褜薪褘泄 Telegram CoPilot

Actions56

袩芯谢褜蟹芯胁邪褌械谢褜 → 袩芯谢褍褔懈褌褜 懈薪褎芯褉屑邪褑懈褞 芯 锌芯谢褜蟹芯胁邪褌械谢械

AI-generated

Overview

This node interacts with the Telegram API to perform various user-related operations such as retrieving user information, creating private or secret chats, and managing star subscriptions. It is useful for automating Telegram user management tasks within workflows, for example, fetching detailed user info or initiating chats programmatically.

Use Case Examples

  1. Retrieve detailed information about a specific Telegram user by their user ID.
  2. Create a new private chat with a user by specifying their user ID.
  3. Fetch star subscription details for a user, optionally filtering by expiring subscriptions.

Properties

Name Meaning
User ID The unique identifier of the Telegram user to perform operations on, such as fetching user info or creating chats with.

Output

JSON

  • id - The unique identifier of the Telegram user.
  • first_name - The first name of the Telegram user.
  • last_name - The last name of the Telegram user.
  • username - The username of the Telegram user.
  • status - The status of the user, such as online or offline.
  • full_info - Detailed information about the user, including profile and settings.
  • chat_id - Identifier for a private chat created with the user.
  • star_subscriptions - Information about the user's star subscriptions, optionally filtered by expiration.

Dependencies

  • Telegram API credentials (API ID, API Hash, Phone Number)

Troubleshooting

  • Ensure the Telegram API credentials are correctly configured and valid.
  • If the client session is closed or unauthorized, re-login using the login process described in the node's documentation.
  • Common errors include 'Client is not initialized' if the Telegram client is not properly authenticated.
  • Errors related to user not found or chat not found indicate invalid user IDs or chat IDs.

Links

Discussion