Skip to main content

WebhookProjectComment

type WebhookProjectComment = {
content: string;
fileAttachment: | {
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?: "completed" | "pending" | null;
url?: string | null;
}
| null;
id: string;
isDeleted: boolean;
postedAt: Date | null;
postedUid: string | null;
projectId: string;
reactions: Record<string, string[]> | null;
uidsToNotify: string[] | null;
};

A comment attached to a project, delivered in a webhook payload.

Type Declaration

NameType
contentstring
fileAttachment| { 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?: "completed" | "pending" | null; url?: string | null; } | null
idstring
isDeletedboolean
postedAtDate | null
postedUidstring | null
projectIdstring
reactionsRecord<string, string[]> | null
uidsToNotifystring[] | null