Actions118
- 消息 Actions
- 多维表格 Actions
- 文档 Actions
- 日历 Actions
- 表格 Actions
- 云空间 Actions
- 通讯录 Actions
消息 → 获取消息中的资源文件
AI-generatedSummary
Download an image or file resource attached to a Lark message using its message ID, resource type, and resource key. Return the downloaded content either as an n8n binary attachment or as JSON containing base64-encoded data, depending on the output setting.
Inputs
- Authentication — Choose Tenant Access Token (default) or User Access Token credentials.
- 消息ID (required) — ID of the message containing the resource.
- 资源类型 — Resource type: image (default) or file. The file option also covers audio and video resources, except emoticons.
- 资源唯一标识 (required) — Key identifying the resource to download.
- 以二进制输出 — Enabled by default to return the content as binary. Disable to return JSON with base64-encoded data.
Output shape
A single item per input item, containing either a binary attachment or JSON data.
Binary output uses the binary property name
databy default. The source pack does not include this operation's resource implementation, so further details about its request or JSON output fields are not shown.