RESTAPIAttachment: Partial<
    Pick<
        APIAttachment,
        "description"
        | "duration_secs"
        | "filename"
        | "title"
        | "waveform",
    >,
> & { id: Snowflake | number }

Type declaration

  • id: Snowflake | number

    Attachment id or a number that matches n in files[n]