立即开始
Telegram Tools

Telegram Send Document

通过 Aident Loadout 使用 Telegram Tools 的 Telegram Send Document。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

Send a general file to a Telegram chat using the Bot API. Telegram currently supports sending documents by URL only for PDF and ZIP files.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • captionstring
    Document caption (may also be used when resending documents by file_id), 0-1024 characters after entities parsing
  • chat_id
    必填
    Unique identifier for the target chat or username of the target channel
  • documentstring
    必填
    File to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new file using multipart/form-data. More info on Sending Files: https://core.telegram.o…
  • thumbnailstring
    Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side
  • parse_modestring
    Mode for parsing entities in the document caption. Options: 'Markdown', 'MarkdownV2', 'HTML'
  • reply_markupstring
    JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user
  • reply_to_message_idinteger
    If the message is a reply, ID of the original message
  • disable_notificationboolean
    Sends the message silently. Users will receive a notification with no sound.
  • disable_content_type_detectionboolean
    Disables automatic server-side content type detection for files uploaded using multipart/form-data

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源