resolveAttachmentData

Resolves the data of an attachment.

Signature

export declare function resolveAttachmentData(data: AttachmentResolvable, type: AttachmentDataType): Promise<{    data: AttachmentResolvable;    contentType?: string | null;}>;
JSDoc
Parameters
data
The resolvable data of the attachment.
type
The type of the attachment data.
Returns

The resolved attachment data.

Members

This export does not declare public properties or methods in the generated declaration file.