codedao12 - Zalo User icon

codedao12 - Zalo User

Tổng hợp chức năng gửi tin nhắn, quản lý user, group, cài đặt

Actions104

Attachment → Tệp đính kèm: Tải lên

AI-generated

Summary

Upload an attachment to a Zalo user, OA, or group from a file path, URL, or incoming binary property. Choose an upload mode; path and URL sources support Auto mode based on the file extension, while binary uploads require an explicit mode.

Inputs

  • useSession — When enabled, select a saved Zalo account with connectToId; otherwise, use the node's Zalo credential.
  • connectToId (required) — Saved account identifier, selected from configured user IDs or phone numbers; shown when useSession is enabled.
  • threadType — Conversation type: User/OA (default) or Group.
  • threadId (required) — ID of the target user or group.
  • sourceType — Attachment source: File Path, File URL, or Binary Data. Defaults to File Path.
  • mode — Upload as Auto, Image, Video, Voice, or File. Auto is available for paths and URLs and uses the extension; binary data defaults to Image and offers explicit modes.
  • filePath — Path to the attachment; used when sourceType is File Path.
  • fileUrl — URL of the attachment; used when sourceType is File URL.
  • binaryProperty — Name of the incoming binary property to upload; defaults to data.
  • fileName — Optional filename for binary data to help identify its format; defaults are jpg or mp4.
  • returnPartialOnTimeout — When enabled, return a partial result on timeout instead of raising an error.

Output shape

A single result containing the uploaded attachment information.

The provided source excerpt is truncated and does not reveal the exact returned fields or timeout result structure.

Links

Discussion