hasAttachments = $hasAttachments; $this->previewText = $previewText; $this->isImipMessage = $isImipMessage; $this->isEncrypted = $isEncrypted; $this->mentionsMe = $mentionsMe; } public function hasAttachments(): bool { return $this->hasAttachments; } public function getPreviewText(): string { return $this->previewText; } public function isImipMessage(): bool { return $this->isImipMessage; } public function isEncrypted(): bool { return $this->isEncrypted; } public function getMentionsMe(): bool { return $this->mentionsMe; } }