The content of the attachment. Can be one of the following:
Buffer
: For binary data.ReadableStream
: For streaming large files.string
: For text-based content.Blob
: For browser-like blob objects.File
: For file objects with metadata (e.g., in web environments).The name of the attachment file.
Optional
mimeOptional MIME type of the attachment. Example values include:
If not provided, the MIME type will be automatically detected based on the filename.
Represents an attachment to be added to an issue.
Example