Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Chat → Search Public Chats (Search in Username, Title)

AI-generated

Overview

This node operation allows users to search for public Telegram chats by querying their username and title. It is useful for finding public chat groups or channels on Telegram based on specific keywords or phrases. For example, a user can search for public chats related to a particular topic or interest by providing a query string.

Use Case Examples

  1. Searching for public Telegram chats related to 'technology' by entering 'technology' as the query.
  2. Finding public chat groups with usernames or titles containing 'news'.

Properties

Name Meaning
Query The text query used to search public chats by looking in their username and title.

Output

JSON

  • _ - The raw response object from the Telegram API containing the search results for public chats.

Dependencies

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

Troubleshooting

  • If the node returns an empty result, ensure the query string is correctly specified and that there are public chats matching the query.
  • Errors related to authentication indicate the Telegram session is not logged in or has expired; re-login is required using the login operation.
  • If the error 'A closed client cannot be reused' occurs, the session might have been closed or terminated; re-login is necessary.

Links

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

Discussion