cpp-mirai-client
v2.6.1
cpp client for mirai-api-http
|
小程序消息 更多...
#include <AppMessage.hpp>
Public 成员函数 | |
AppMessage ()=default | |
AppMessage (std::string content) | |
bool | operator== (const AppMessage &rhs) |
bool | operator!= (const AppMessage &rhs) |
std::string | GetContent () const |
获取App消息内容 更多... | |
AppMessage & | SetContent (std::string content) |
设置App消息内容 更多... | |
![]() | |
std::unique_ptr< IMessage > | clone () const override |
![]() | |
virtual | ~IMessage ()=default |
virtual std::unique_ptr< IMessage > | clone () const =0 |
MessageTypes | type () const |
Return the type of the class 更多... | |
bool | allowSend () const |
检查消息是否可以用于发送 更多... | |
bool | valid () const |
检查消息是否有效 更多... | |
额外继承的成员函数 | |
![]() | |
static constexpr MessageTypes | GetType () |
static constexpr bool | isSendSupported () |
![]() | |
IMessageImpl ()=default | |
MessageTypes | GetType_ () const override |
bool | isSendSupported_ () const override |
![]() | |
IMessage ()=default | |
virtual MessageTypes | GetType_ () const =0 |
virtual bool | isSendSupported_ () const =0 |
virtual bool | isValid_ () const =0 |
|
default |
|
inline |
在文件 AppMessage.hpp 第 48 行定义.
|
inline |
在文件 AppMessage.hpp 第 50 行定义.
|
inline |
在文件 AppMessage.hpp 第 52 行定义.
|
inline |
获取App消息内容
在文件 AppMessage.hpp 第 55 行定义.
|
inline |
设置App消息内容
在文件 AppMessage.hpp 第 58 行定义.