Skip to main content

InboxThread

type InboxThread = {
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;
channelId: number;
closed: boolean;
commentCount: number;
content: string;
creator: number;
creatorName?: string | null;
directGroupMentions?: number[] | null;
directMentions?: number[] | null;
groups?: number[] | null;
id: number;
inInbox: boolean;
isArchived: boolean;
isSaved?: boolean | null;
lastComment?: | {
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;
channelId: number;
content: string;
conversationId?: number | null;
creator: number;
creatorName?: string | null;
deleted?: boolean | null;
deletedBy?: number | null;
directGroupMentions?: number[] | null;
directMentions?: number[] | null;
groups?: number[] | null;
id: number;
lastEdited?: Date | null;
objIndex?: number | null;
posted: Date;
reactions?: Record<string, unknown> | null;
recipients?: number[] | null;
systemMessage?: unknown;
threadId: number;
toEmails?: string[] | null;
url: string;
version?: number | null;
workspaceId: number;
}
| null;
lastEdited?: Date | null;
lastObjIndex?: number | null;
lastUpdated: Date;
mutedUntil?: Date | null;
participants?: number[] | null;
pinned: boolean;
pinnedDate?: Date | null;
posted: Date;
reactions?: Record<string, number[]> | null;
recipients?: number[] | null;
responders?: number[] | null;
snippet: string;
snippetCreator: number;
snippetMaskAvatarUrl?: string | null;
snippetMaskPoster?: string | null;
starred: boolean;
systemMessage?: unknown;
title: string;
toEmails?: string[] | null;
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-
channelIdnumber-
closedboolean-
commentCountnumber-
contentstring-
creatornumber-
creatorName?string | null-
directGroupMentions?number[] | null-
directMentions?number[] | null-
groups?number[] | null-
idnumber-
inInboxboolean-
isArchivedboolean-
isSaved?boolean | null-
lastComment?| { 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; channelId: number; content: string; conversationId?: number | null; creator: number; creatorName?: string | null; deleted?: boolean | null; deletedBy?: number | null; directGroupMentions?: number[] | null; directMentions?: number[] | null; groups?: number[] | null; id: number; lastEdited?: Date | null; objIndex?: number | null; posted: Date; reactions?: Record<string, unknown> | null; recipients?: number[] | null; systemMessage?: unknown; threadId: number; toEmails?: string[] | null; url: string; version?: number | null; workspaceId: number; } | null-
lastEdited?Date | null-
lastObjIndex?number | null-
lastUpdatedDate-
mutedUntil?Date | null-
participants?number[] | null-
pinnedboolean-
pinnedDate?Date | null-
postedDate-
reactions?Record<string, number[]> | null-
recipients?number[] | null-
responders?number[] | null-
snippetstring-
snippetCreatornumber-
snippetMaskAvatarUrl?string | null-
snippetMaskPoster?string | null-
starredboolean-
systemMessage?unknownSystemMessageSchema
titlestring-
toEmails?string[] | null-
urlstring-
version?number | null-
workspaceIdnumber-