Summary
The Thread model represents a Thread object served by the Nylas Platform API. For more information about Threads on the Nylas Platform, read the Threads API Documentation
Attributes
snippet
: AttributeString A short, ~140 character string with the content
of the last message in the thread. Queryable.
subject
: AttributeString The subject of the thread. Queryable.
unread
: AttributeBoolean True if the thread is unread. Queryable.
starred
: AttributeBoolean True if the thread is starred. Queryable.
version
: AttributeNumber The version number of the thread.
participants
: AttributeCollection A set of Contact models
representing the participants in the thread.
Note: Contacts on Threads do not have IDs.
lastMessageReceivedTimestamp
: AttributeDateTime The timestamp of the
last message on the thread.
This class also inherits attributes from Model
Instance Methods
categoryNamed(id)
Argument | Description |
---|---|
id |
A String {Category} name |
Return Values |
---|
Returns true if the thread has a {Category} with the given
name. Note, only |