Actions40
- Chat Actions
- Custom Request Actions
- Group Actions
- File Actions
- Login Actions
- Message Actions
- User Actions
- Contact Actions
Overview
This node allows sending various chat actions in Telegram chats using the Telegram CoPilot API. It supports actions like typing, recording voice notes, uploading documents, photos, videos, and voice notes. This is useful for indicating user activity in a chat, such as showing that a message is being typed or a file is being uploaded, enhancing the interactivity and responsiveness of chatbots or automation workflows.
Use Case Examples
- Indicate that a user is typing in a chat before sending a message.
- Show a recording voice note action while preparing an audio message.
- Display uploading photo or document actions to inform chat participants about ongoing uploads.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier of the chat where the action will be sent. |
| Action | The specific chat action to send, such as typing, recording voice note, uploading document, photo, video, or voice note. |
Output
JSON
_- The response object from the Telegram API representing the result of the sendChatAction call.
Dependencies
- Requires an API key credential for Telegram CoPilot API authentication.
Troubleshooting
- Ensure the Telegram account is logged in and authenticated before sending chat actions; otherwise, the node will throw a login error.
- If the Telegram session is closed or terminated, re-login is required as indicated by error messages.
- Check that the chat ID is valid and the bot or user has permission to send actions in the chat.
- Common errors include 'Unauthorized' (authentication issues) and 'A closed client cannot be reused' (session expired).
Links
- Telegram CoPilot Login Guide - Instructions for logging in and authenticating the Telegram CoPilot API.