Skip to content

resolveAttachment

1
resolveAttachment(resolve: RESTAPIAttachment | Attachment | AttachmentData): Omit<RESTAPIAttachment, "id">

Resolves an attachment to a REST API attachment.

Parameters

ParameterTypeDescription
resolveRESTAPIAttachment | Attachment | AttachmentDataThe attachment or attachment data to resolve.

Returns

Omit<RESTAPIAttachment, "id">

The resolved REST API attachment.

Source

seyfert/src/builders/Attachment.ts:122