Actions33
- Chat Actions
- Custom Request Actions
- File Actions
- Group Actions
- Message Actions
- User Actions
Overview
This node integrates with Telegram via the TelePilot API, enabling automation of various Telegram actions. Specifically, the "Message" resource with the "Get Message Link" operation retrieves a direct link to a specific message within a chat.
Common scenarios for this node include:
- Automating retrieval of message links for sharing or logging.
- Integrating Telegram message references into other workflows or systems.
- Building bots or tools that need to reference specific messages programmatically.
For example, after sending a message in a chat, you can use this node to get its permanent link and then send that link elsewhere or store it for future reference.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier of the chat where the message is located. Example: "122323". |
| Message ID | The unique identifier of the message within the chat. Example: "12345678". |
Output
The output JSON contains the result of the getMessageLink API call from TelePilot, which typically includes the URL linking directly to the specified message in the given chat.
The structure generally looks like:
{
"link": "https://t.me/c/123456789/12345"
}
where "link" is the direct URL to the message.
No binary data is output by this operation.
Dependencies
- Requires an active Telegram API credential (an API key and authentication token).
- Depends on the TelePilot Node Connection Manager to handle client sessions and API calls.
- The node requires proper login/authentication to Telegram via TelePilot before operations can be executed.
Troubleshooting
- Not logged in error: If the Telegram account is not logged in, the node will throw an error prompting to log in using the ChatTrigger node with the login action. Follow the guide at https://telepilot.co/login-howto.
- Session closed or terminated: If the session is closed, the node suggests re-login.
- Unauthorized errors: Usually indicate expired or invalid credentials; re-authenticate the Telegram account.
- Invalid Chat ID or Message ID: Ensure the IDs are correct and correspond to existing chats/messages.
- Network or API errors: May occur if Telegram API limits are exceeded or network issues arise; retry later.
Links and References
- TelePilot Login Guide
- Telegram Message Links Documentation (official Telegram Bot API reference for message links)