16#ifndef MIRAI_AT_MESSAGE_HPP_
17#define MIRAI_AT_MESSAGE_HPP_
42 std::string display_{};
44 bool isValid_()
const final {
return this->target_ !=
QQ_t(); }
47 static constexpr bool SUPPORT_SEND_ =
true;
66 this->target_ = target;
std::string GetDisplayName()
获取At时显示的文字,发送时无法设置
bool operator!=(const AtMessage &rhs)
AtMessage & SetTarget(QQ_t target)
设置At对象QQ
bool operator==(const AtMessage &rhs)
QQ_t GetTarget() const
获取At对象QQ