src/Api/Proto/Events/MessageToPost.php
public function addCustomDocumentAttachments(\AgentSIB\Diadoc\Api\Proto\Events\CustomDocumentAttachment $value)
    {
        if ($this->CustomDocumentAttachments === null) {
            $this->CustomDocumentAttachments = new \Protobuf\MessageCollection();
        }

        $this->CustomDocumentAttachments->add($value);
    }
public function addCustomDocumentAttachments(\AgentSIB\Diadoc\Api\Proto\Events\CustomDocumentAttachment $value)
    {
        if ($this->CustomDocumentAttachments === null) {
            $this->CustomDocumentAttachments = new \Protobuf\MessageCollection();
        }

        $this->CustomDocumentAttachments->add($value);
    }
public function addCustomDocumentAttachments ( \ AgentSIB \ Diadoc \ Api \ Proto \ Events \ CustomDocumentAttachment $ value ) { if ( $ this -> CustomDocumentAttachments === null ) { $ this -> CustomDocumentAttachments = new \ Protobuf \ MessageCollection ( ) ; } $ this -> CustomDocumentAttachments -> add ( $ value ) ; }
Add a new element to 'CustomDocumentAttachments'

@param \AgentSIB\Diadoc\Api\Proto\Events\CustomDocumentAttachment $value
Add a new element to CustomDocumentAttachments