Interface Thread

Interface representing a Nylas thread object.

Hierarchy

  • Thread

Properties

draftIds: string[]

An array of draft IDs in the thread.

earliestMessageDate: number

Unix timestamp of the earliest or first message in the thread.

folders: string[]

An array of folder IDs the thread appears in.

grantId: string

Grant ID of the Nylas account.

hasAttachments: boolean

Whether or not a message in a thread has attachments.

hasDrafts: boolean

Whether or not a message in a thread has drafts.

id: string

The unique identifier for the thread.

latestDraftOrMessage: Message | Draft

The latest message or draft in the thread.

latestMessageReceivedDate: number

Unix timestamp of the most recent message received in the thread.

latestMessageSentDate: number

Unix timestamp of the most recent message sent in the thread.

messageIds: string[]

An array of message IDs in the thread.

object: "thread"

The type of object.

participants: EmailName[]

An array of participants in the thread.

snippet?: string

A short snippet of the last received message/draft body. This is the first 100 characters of the message body, with any HTML tags removed.

starred: boolean

A boolean indicating whether the thread is starred or not.

subject?: string

The subject line of the thread.

unread: boolean

A boolean indicating if all messages within the thread are read or not.

Generated using TypeDoc