Telegram Advanced icon

Telegram Advanced

Sends data to Telegram With Custom and Advanced Options

Overview

This node sends a chat action to a specified Telegram chat. Chat actions are status indicators that show the user what the bot is doing, such as typing, uploading a photo, recording audio, etc. This is useful for improving user experience by providing real-time feedback about the bot's activity before sending a message or media. For example, it can show "typing" when the bot is preparing a response or "upload_photo" when sending a photo.

Use Case Examples

  1. A bot sends a 'typing' action to indicate it is preparing a message.
  2. A bot sends an 'upload_photo' action before sending a photo to the chat.

Properties

Name Meaning
Chat ID Unique identifier for the target chat or username where the chat action will be sent.
Action Type of chat action to broadcast, such as typing, uploading photo, recording video, etc. This indicates what the user is about to receive.

Output

JSON

  • chat_id - The unique identifier for the target chat where the action was sent.
  • action - The type of chat action that was broadcast.
  • ok - Boolean indicating if the Telegram API call was successful.
  • result - The result object returned by the Telegram API, typically true if successful.

Dependencies

  • Telegram API with an API key credential

Troubleshooting

  • Ensure the Chat ID is correct and the bot has permission to send actions to the chat.
  • The action type must be one of the predefined options; otherwise, the API call will fail.
  • If the bot is restricted or blocked by the user, the action will not be visible.
  • Common error messages include invalid chat ID, unauthorized bot, or invalid action type. Verify credentials and parameters to resolve these.

Links

Discussion