Skip to main content

Attachment

type Attachment = {
fileDuration?: number | null;
fileName?: string | null;
fileSize?: number | null;
fileType?: string | null;
fileUrl?: string | null;
image?: string | null;
imageHeight?: number | null;
imageWidth?: number | null;
resourceType: string;
title?: string | null;
uploadState?: "pending" | "completed" | null;
url?: string | null;
};

Represents a file attachment in a comment.

Type Declaration

NameType
fileDuration?number | null
fileName?string | null
fileSize?number | null
fileType?string | null
fileUrl?string | null
image?string | null
imageHeight?number | null
imageWidth?number | null
resourceTypestring
title?string | null
uploadState?"pending" | "completed" | null
url?string | null

See

https://todoist.com/api/v1/docs#tag/Sync/Comments/File-Attachments