Telegram CoPilot icon

Telegram CoPilot

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

Actions56

效邪褌 → 袩芯懈褋泻 锌褍斜谢懈褔薪芯谐芯 褔邪褌邪 (锌芯 懈屑械薪懈 锌芯谢褜蟹芯胁邪褌械谢褟)

AI-generated

Overview

This node operation allows searching for a public chat on Telegram by its username. It is useful for scenarios where you want to find and interact with a specific public chat using its username, such as retrieving chat details or joining the chat programmatically.

Use Case Examples

  1. Searching for a public chat by username to get its information.
  2. Using the username to join a public chat automatically.

Properties

Name Meaning
Chat Username The username of the public chat to search for.

Output

JSON

  • id - Unique identifier of the found public chat.
  • title - Title or name of the public chat.
  • username - Username of the public chat.
  • type - Type of the chat (e.g., channel, group).
  • members_count - Number of members in the public chat.
  • description - Description of the public chat.

Dependencies

  • Requires Telegram API credentials including apiId, apiHash, and phoneNumber for authentication.

Troubleshooting

  • Ensure the Telegram API credentials are correctly set and the client is logged in before performing the search.
  • If the client session is closed or unauthorized, re-login using the loginWithPhoneNumber operation as per the guide at https://telepilot.co/login-howto.
  • Common errors include 'Chat not found' if the username does not exist or is misspelled.

Links

  • TelePilot Login Guide - Instructions on how to login and authenticate the Telegram client for this node.

Discussion