ADK for TypeScript: API Reference
    Preparing search index...

    Interface File

    A structure that contains a file name and its content

    interface File {
        content: string;
        mimeType: string;
        name: string;
    }

    Properties

    content: string

    The base64 - encoded bytes of the file content.

    mimeType: string

    The mime type of the file (e.g., ' image / png')

    name: string

    The name of the file with file extension(e.g., ' file.csv')