src/Contracts/Messages/Attachment.php
public function setAttachmentId($id)
    {
        $this->payload['attachment_id'] = $id;
        unset($this->payload['url'], $this->payload['is_reusable']);

        return $this;
    }
public function setAttachmentId($id)
    {
        $this->payload['attachment_id'] = $id;
        unset($this->payload['url'], $this->payload['is_reusable']);

        return $this;
    }
public function setAttachmentId ( $ id ) { $ this -> payload [ 'attachment_id' ] = $ id ; unset ( $ this -> payload [ 'url' ] , $ this -> payload [ 'is_reusable' ] ) ; return $ this ; }
Set attachment id

@param $id

@return $this
Set attachment id