Attachment
Signature
export declare class Attachment extends BaseProperties
16Methods
2Properties
data: APIAttachment;readonly client: UsingClient;id: string;filename: string;title?: string | undefined;description?: string | undefined;contentType?: string | undefined;size: number;url: string;proxyUrl: string;height?: number | null | undefined;width?: number | null | undefined;ephemeral?: boolean | undefined;durationSecs?: number | undefined;waveform?: string | undefined;flags?: AttachmentFlags | undefined;Methods
constructorConstructorconstructor(client: UsingClient, data: APIAttachment);toJSON(): APIAttachment;