Actions37
- Chat Actions
- Contact Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- Request Actions
- User Actions
Message → Get Messages
AI-generatedOverview
This node operation retrieves specific messages from a Telegram chat using the Telegram CoPilot API. It is useful for scenarios where you need to fetch message details by providing the chat ID and message ID, such as for message auditing, displaying message content, or processing message data in workflows.
Use Case Examples
- Fetch a message by specifying the chat ID and message ID to display its content in a dashboard.
- Retrieve message details for processing or analysis in an automated workflow.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The identifier of the chat from which to retrieve the message. This is required to specify the chat context. |
| Message ID | The identifier of the specific message to retrieve within the chat. This is required to specify which message to get. |
Output
JSON
chat_id- The ID of the chat from which the message was retrieved.message_id- The ID of the retrieved message.content- The content and details of the retrieved message as returned by the Telegram API.
Dependencies
- Requires an API key credential for Telegram CoPilot API authentication.
Troubleshooting
- Common errors include 'Unauthorized' which indicates the Telegram session is not logged in or has expired; re-login is required.
- Errors like 'A closed client cannot be reused' indicate the Telegram client session was closed and a new login session must be established.
- Ensure the chat ID and message ID are valid and correspond to existing messages in the Telegram account.
- If the node throws errors, enabling 'Continue On Fail' can allow workflows to handle errors gracefully.
Links
- Telegram CoPilot Login Guide - Instructions for logging in and managing Telegram sessions for this node.