16#ifndef MIRAI_XML_MESSAGE_HPP_
17#define MIRAI_XML_MESSAGE_HPP_
45 bool isValid_() const final {
return !this->content_.empty(); }
61 this->content_ = std::move(content);
XmlMessage(std::string content)
static constexpr bool SUPPORT_SEND_
std::string GetContent() const
获取消息内容
bool operator!=(const XmlMessage &rhs)
static constexpr MessageTypes TYPE_
XmlMessage & SetContent(std::string content)
设置消息内容
bool isValid_() const final
bool operator==(const XmlMessage &rhs)