NotificaMe Hub icon

NotificaMe Hub

Integração com NotificaMe Hub API

Telegram → Enviar Arquivo

AI-generated

Overview

This node operation allows sending a file through Telegram to a specified channel or recipient. It supports sending different types of files such as documents, photos, and videos by providing a public URL of the file. Users can optionally add a caption to the file. This operation is useful for automating file sharing in Telegram channels or direct messages, such as sending reports, images, or video content automatically.

Use Case Examples

  1. Automatically send a PDF report to a Telegram channel every day.
  2. Share promotional images or videos to a Telegram recipient as part of a marketing campaign.
  3. Send user-uploaded documents to a Telegram chat for review or processing.

Properties

Name Meaning
ID Do Canal The Telegram channel ID where the file will be sent.
ID Do Destinatário The Telegram recipient ID who will receive the file.
Tipo Do Arquivo The type of file to be sent, which can be a document, photo, or video.
URL Do Arquivo The public URL of the file to be sent.
Legenda An optional caption to accompany the file.
Request Options Settings to control request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration.

Output

JSON

  • message_id - The unique identifier of the sent message in Telegram.
  • chat
    • id - The ID of the chat where the file was sent.
  • date - The timestamp when the message was sent.
  • caption - The caption text sent with the file, if any.
  • file_type - The type of the file sent (document, photo, or video).
  • file_url - The URL of the file that was sent.

Dependencies

  • Requires an API key credential for authenticating with the NotificaMe Hub API, which integrates with Telegram.

Troubleshooting

  • Ensure the Telegram channel ID and recipient ID are correct and accessible by the bot or API user.
  • Verify the file URL is publicly accessible and correctly formatted.
  • Check that the file type matches the actual file content to avoid sending errors.
  • If SSL issues occur, consider enabling the option to ignore SSL certificate validation, but be aware of security risks.
  • Use proxy settings if network restrictions prevent direct API access.
  • Adjust timeout and batching settings if requests are timing out or being throttled.

Discussion