Support/EventListener/TicketAttachmentEventListener.php
public function onInsert(ResourceEventInterface $event)
    {
        $attachment = $this->getAttachmentFromEvent($event);

        $this->updateMessage($attachment->getMessage());
    }
public function onInsert(ResourceEventInterface $event)
    {
        $attachment = $this->getAttachmentFromEvent($event);

        $this->updateMessage($attachment->getMessage());
    }
Insert event handler.

@param ResourceEventInterface $event