Actions34
- Chat Actions
- Contact Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
Chat → Get Chats
AI-generatedOverview
This node interacts with the Telegram API to perform various chat-related operations under the 'Chat' resource, specifically the 'Get Chats' operation. It retrieves a list of Telegram dialogs (chats) for the authenticated user, allowing workflows to access and process chat data from Telegram. This is useful for automating chat management, monitoring conversations, or integrating Telegram chat data into other systems.
Use Case Examples
- Retrieve all Telegram chats for a user to analyze chat activity.
- Fetch chats to display recent conversations in a dashboard.
- Use chat data to trigger further automation based on chat content or metadata.
Output
JSON
- ``
id- Unique identifier of the chat/dialog.title- Title or name of the chat/dialog.entity- Detailed entity object representing the chat, user, or channel.date- Timestamp of the last message or activity in the chat.unread_count- Number of unread messages in the chat.last_message- The last message object in the chat/dialog.
Dependencies
- Requires Telegram API credentials (API ID, API Hash, phone number) for authentication.
Troubleshooting
- Ensure the Telegram account is logged in and the session is active; otherwise, the node will throw errors indicating the need to login.
- Common errors include session closure or unauthorized access, which require re-authentication.
- If the node returns empty or no chats, verify that the Telegram account has active dialogs and the credentials are correct.
Links
- TelePilot Login Guide - Instructions for logging into Telegram via TelePilot node.
- Telegram API Documentation - Official Telegram API reference for understanding chat entities and methods.