private function generateMessage($notification)
    {
        $message = ucfirst($notification['type']) . '\n\n';

        if ( ! is_null($notification['title'])) {
            $message .= $this->escapeTitle($notification['title']) . '\n\n';
        }

        return $this->escapeMessage($message . $notification['message']);
    }