Versions in this module Expand all Collapse all v1 v1.18.0 Jul 4, 2026 Changes in this version + func FromBase64(content string, options ...contractsai.AttachmentOption) contractsai.Attachment + func FromByte(content []byte, options ...contractsai.AttachmentOption) contractsai.Attachment + func FromID(id string) contractsai.ProviderFile + func FromPath(path string, options ...contractsai.AttachmentOption) contractsai.Attachment + func FromReader(reader io.Reader, options ...contractsai.AttachmentOption) contractsai.Attachment + func FromStorage(path string, options ...contractsai.AttachmentOption) contractsai.Attachment + func FromString(content string, options ...contractsai.AttachmentOption) contractsai.Attachment + func FromURL(rawURL string, options ...contractsai.AttachmentOption) contractsai.Attachment + func FromUpload(file contractsfilesystem.File, options ...contractsai.AttachmentOption) contractsai.Attachment + func WithDisk(disk string) contractsai.AttachmentOption + func WithMimeType(mimeType string) contractsai.AttachmentOption + func WithTitle(title string) contractsai.AttachmentOption