AttachmentLike

AttachmentLike

type: AttachmentInput | Attachment

A file attachment that may be either raw input data or a previously uploaded attachment. Use this type when an API accepts both new uploads and references to existing attachments (e.g. when editing a message).