def reply(self, to_all=True):
if not self.object_id or self.__is_draft:<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT>if to_all:<EOL><INDENT>url = self.build_url(self._endpoints.get('<STR_LIT>').format(<EOL>id=self.object_id))<EOL><DEDENT>else:<EOL><INDENT>url = self.build_url(<EOL>self._endpoints.get('<STR_LIT>').format(id=self.object_id))<EOL><DEDENT>response = self.con.post(url)<EOL>if not response:<EOL><INDENT>return None<EOL><DEDENT>message = response.json()<EOL>return self.__class__(parent=self, **{self._cloud_data_key: message})<EOL>
Creates a new message that is a reply to this message

        :param bool to_all: whether or not to replies to all the recipients
         instead to just the sender
        :return: new message
        :rtype: Message