cpp-mirai-client
v2.6.1
cpp client for mirai-api-http
|
Bot被踢出群聊事件 更多...
#include <BotEvents.hpp>
Public 成员函数 | |
std::optional< GroupMember > | GetOperator () const |
获取操作员信息,若无则返回 std::nullopt 更多... | |
![]() | |
Group | GetGroup () const |
获取群聊信息 更多... | |
![]() | |
IEvent (const IEvent &)=default | |
IEvent (IEvent &&)=default | |
IEvent & | operator= (const IEvent &)=default |
IEvent & | operator= (IEvent &&)=default |
MiraiClient & | GetMiraiClient () const |
获取接收该事件的 MiraiClient 的引用 更多... | |
额外继承的成员函数 | |
![]() | |
static constexpr EventTypes | GetType () |
获取事件类型 更多... | |
![]() | |
IEvent ()=default | |
~IEvent ()=default | |
![]() | |
Group | group_ |
Bot被踢出群聊事件
Member Variable | Default Value |
---|---|
BotLeaveEventKick::group_ | Group{} |
BotLeaveEventKick::operator_ | std::optional<GroupMember>{} |
在文件 BotEvents.hpp 第 283 行定义.
|
inline |
获取操作员信息,若无则返回 std::nullopt
在文件 BotEvents.hpp 第 293 行定义.