InputFile interface
Represents a file input with its content, type, and optional URL.
Properties
content | The content of the file as a Buffer. |
content |
The MIME type of the file content. |
content |
An optional URL pointing to the file content. |
Property Details
content
The content of the file as a Buffer.
content: Buffer
Property Value
Buffer
contentType
The MIME type of the file content.
contentType: string
Property Value
string
contentUrl
An optional URL pointing to the file content.
contentUrl?: string
Property Value
string