Actions34
- Chat Actions
- Contact Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
Chat → Open Chat
AI-generatedOverview
This node integrates with Telegram via the TelePilot API, allowing users to perform various chat-related operations such as opening a chat, retrieving chat history, sending messages, managing chat members, and more. It is useful for automating Telegram interactions within workflows, for example, opening a specific chat by its ID to fetch or send messages programmatically.
Use Case Examples
- Opening a chat by its ID to retrieve chat details or send messages.
- Adding members to a Telegram channel or supergroup.
- Sending different types of messages (text, photo, audio) to a chat.
- Marking a chat as unread or toggling chat states.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier of the chat to perform operations on, such as opening or managing the chat. |
Output
JSON
success- Indicates if the chat operation was successful (true/false).entity- The chat entity object containing detailed information about the chat, returned when opening a chat.
Dependencies
- Requires an API key credential for TelePilot API authentication to interact with Telegram.
Troubleshooting
- Common errors include session closure or termination, requiring re-login via the provided guide URL.
- Unauthorized errors indicate missing or invalid login credentials; users should re-authenticate.
- Errors related to invalid chat IDs or entity types occur if the chat does not exist or is not accessible.
- File-related errors when sending media messages may occur if file paths are incorrect or files exceed Telegram's size limits.
Links
- TelePilot Login Guide - Instructions for logging in and managing Telegram sessions with TelePilot.