Thread
@Serializable
Represents an email thread with participants, subject, message count, and attachments.
Constructors
Link copied to clipboard
constructor(inboxId: String, threadId: String, labels: List<String> = emptyList(), timestamp: Instant, receivedTimestamp: Instant? = null, sentTimestamp: Instant? = null, senders: List<String> = emptyList(), recipients: List<String> = emptyList(), subject: String? = null, preview: String? = null, attachments: List<Attachment> = emptyList(), lastMessageId: String, messageCount: Int, size: Int, updatedAt: Instant, createdAt: Instant)