Discord.https - v3.0.16
    Preparing search index...

    Interface APIAttachment

    interface APIAttachment {
        content_type?: string;
        description?: string;
        duration_secs?: number;
        ephemeral?: boolean;
        filename: string;
        flags?: IsRemix;
        height?: null | number;
        id: string;
        proxy_url: string;
        size: number;
        title?: string;
        url: string;
        waveform?: string;
        width?: null | number;
    }
    Index

    Properties

    content_type?: string

    The attachment's media type

    description?: string

    Description for the file

    duration_secs?: number

    The duration of the audio file (currently for voice messages)

    ephemeral?: boolean

    Whether this attachment is ephemeral

    filename: string

    Name of file attached

    flags?: IsRemix

    Attachment flags combined as a bitfield

    height?: null | number

    Height of file (if image)

    id: string

    Attachment id

    proxy_url: string

    A proxied url of file

    size: number

    Size of file in bytes

    title?: string

    The title of the file

    url: string

    Source url of file

    waveform?: string

    Base64 encoded bytearray representing a sampled waveform (currently for voice messages)

    width?: null | number

    Width of file (if image)