Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Chat → Send Chat Action

AI-generated

Overview

This node operation sends a chat action to a specified Telegram chat. Chat actions are status indicators such as typing, recording a voice note, uploading a photo, etc., that inform chat participants about the current activity in the chat. This operation is useful for creating interactive and responsive chatbots or automation workflows that simulate user activity in Telegram chats.

Use Case Examples

  1. A chatbot sending a 'typing' action to indicate it is preparing a response.
  2. An automation sending an 'uploading photo' action while a photo is being uploaded to the chat.

Properties

Name Meaning
Chat ID The unique identifier of the Telegram chat where the action will be sent.
Action The specific chat action to send, such as typing, recording voice note, uploading document, etc.

Output

JSON

  • _ - The type of the sent chat action.
  • chat_id - The ID of the chat where the action was sent.
  • action - The specific chat action object sent to the chat.

Dependencies

  • Telegram API credentials (API ID, API Hash, Phone Number) required for authentication and sending actions.

Troubleshooting

  • If the node throws an error about an unauthorized session, it means the Telegram account is not logged in or the session has expired. Re-login using the login operation.
  • Errors about a closed client indicate the session was terminated; re-login is required.
  • Ensure the chat ID is valid and the bot or user has permission to send actions in the chat.

Links

Discussion