public function file($url) { $this->type(AttachmentType::FILE); $this->attachment_url = $url; return $this; }