@contio/partner-sdk - v1.7.1
    Preparing search index...

    Interface MeetingContextContentResponse

    Response returned when downloading a context document's content.

    The data field contains the raw file bytes as an ArrayBuffer. Metadata fields are extracted from the HTTP response headers so consumers do not need to parse them manually.

    const content = await user.downloadMeetingContextDocumentContent(
    'meeting-id',
    'document-id',
    );
    await writeFile('output.md', Buffer.from(content.data));
    console.log(`Downloaded ${content.filename} (${content.size} bytes)`);
    interface MeetingContextContentResponse {
        contentType?: string;
        data: ArrayBuffer;
        filename?: string;
        size?: number;
    }
    Index

    Properties

    contentType?: string

    MIME type from the Content-Type header.

    `"text/markdown"`, `"application/json"`
    
    data: ArrayBuffer

    Raw file bytes

    filename?: string

    Filename from the Content-Disposition header, if the server provided one.

    size?: number

    Content length in bytes, when reported by the server