Skip to main content

ConversationMessage

type ConversationMessage = {
actions?: unknown[] | null;
attachments?: | {
[key: string]: unknown;
attachmentId: string;
description?: string | null;
duration?: string | null;
fileName?: string | null;
fileSize?: number | null;
image?: string | null;
imageHeight?: number | null;
imageWidth?: number | null;
title?: string | null;
underlyingType?: string | null;
uploadState?: string | null;
url?: string | null;
urlType: string;
video?: string | null;
videoAutoPlay?: boolean | null;
videoType?: string | null;
}[]
| null;
content: string;
conversationId: number;
creator: number;
directGroupMentions?: number[] | null;
directMentions?: number[] | null;
id: number;
isDeleted?: boolean | null;
lastEdited?: Date | null;
objIndex?: number | null;
posted: Date;
reactions?: Record<string, number[]> | null;
systemMessage?: unknown;
url: string;
version?: number | null;
workspaceId: number;
};

Type Declaration

NameTypeDefault value
actions?unknown[] | null-
attachments?| { [key: string]: unknown; attachmentId: string; description?: string | null; duration?: string | null; fileName?: string | null; fileSize?: number | null; image?: string | null; imageHeight?: number | null; imageWidth?: number | null; title?: string | null; underlyingType?: string | null; uploadState?: string | null; url?: string | null; urlType: string; video?: string | null; videoAutoPlay?: boolean | null; videoType?: string | null; }[] | null-
contentstring-
conversationIdnumber-
creatornumber-
directGroupMentions?number[] | null-
directMentions?number[] | null-
idnumber-
isDeleted?boolean | null-
lastEdited?Date | null-
objIndex?number | null-
postedDate-
reactions?Record<string, number[]> | null-
systemMessage?unknownSystemMessageSchema
urlstring-
version?number | null-
workspaceIdnumber-