Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Chat → Search Public Chat (by Username)

AI-generated

Overview

This node integrates with Telegram via the TelePilot API to perform various chat-related operations. Specifically, the 'Search Public Chat (by Username)' operation allows users to search for a public Telegram chat by providing a username. This is useful for automating Telegram chat lookups, retrieving chat details, or integrating Telegram chat data into workflows. For example, a user can input a Telegram username to fetch the corresponding public chat entity information.

Use Case Examples

  1. Search for a public Telegram chat by username to retrieve chat metadata for further processing.
  2. Automate the retrieval of public chat details to monitor or log chat information in a workflow.

Properties

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

Output

JSON

  • entity - The public chat entity object returned from Telegram, containing details about the chat such as id, title, and other metadata.

Dependencies

  • Requires an API key credential for TelePilot API to authenticate and interact with Telegram.

Troubleshooting

  • Common issues include 'Client not initialized. Please login first.' which indicates the user must authenticate with Telegram before performing operations.
  • Errors related to session closure or unauthorized access suggest the Telegram session has expired or is invalid, requiring re-login.
  • If the username does not correspond to a public chat, the node may throw an error or return no results.

Links

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

Discussion