DownloadAttachmentResult<T>: BaseMessageResult & {
    Content?: Buffer;
    ContentBase64?: string;
    ContentType?: string;
    Filename?: string;
    Result?: T;
}

Result of downloading an attachment

Type Parameters

  • T = Record<string, any>

Type declaration

  • Optional Content?: Buffer

    The attachment content as a Buffer

  • Optional ContentBase64?: string

    The attachment content as a base64-encoded string

  • Optional ContentType?: string

    The MIME type of the attachment

  • Optional Filename?: string

    The filename of the attachment

  • Optional Result?: T

    If populated, holds provider-specific result data