|
cpp-mirai-client
v2.6.1
cpp client for mirai-api-http
|
群聊开启/关闭允许群成员邀请好友加群事件 更多...
#include <GroupEvents.hpp>
Public 成员函数 | |
| Group | GetGroup () const |
| 获取群聊信息 更多... | |
| bool | GetOriginal () const |
| 原本是否允许群成员邀请好友加群 更多... | |
| bool | GetCurrent () const |
| 现在是否允许群成员邀请好友加群 更多... | |
| std::optional< GroupMember > | GetOperator () const |
获取操作员信息,为Bot时返回 std::nullopt 更多... | |
Public 成员函数 继承自 Mirai::IEvent< GroupAllowMemberInviteEvent > | |
| IEvent (const IEvent &)=default | |
| IEvent (IEvent &&)=default | |
| IEvent & | operator= (const IEvent &)=default |
| IEvent & | operator= (IEvent &&)=default |
| MiraiClient & | GetMiraiClient () const |
获取接收该事件的 MiraiClient 的引用 更多... | |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 Mirai::IEvent< GroupAllowMemberInviteEvent > | |
| static constexpr EventTypes | GetType () |
| 获取事件类型 更多... | |
Protected 成员函数 继承自 Mirai::IEvent< GroupAllowMemberInviteEvent > | |
| IEvent ()=default | |
| ~IEvent ()=default | |
群聊开启/关闭允许群成员邀请好友加群事件
| Member Variable | Default Value |
|---|---|
GroupAllowMemberInviteEvent::group_ | Group{} |
GroupAllowMemberInviteEvent::origin_ | false |
GroupAllowMemberInviteEvent::current_ | false |
GroupAllowMemberInviteEvent::operator_ | std::nullopt |
在文件 GroupEvents.hpp 第 110 行定义.
|
inline |
获取群聊信息
在文件 GroupEvents.hpp 第 123 行定义.
|
inline |
原本是否允许群成员邀请好友加群
在文件 GroupEvents.hpp 第 125 行定义.
|
inline |
现在是否允许群成员邀请好友加群
在文件 GroupEvents.hpp 第 127 行定义.
|
inline |
获取操作员信息,为Bot时返回 std::nullopt
在文件 GroupEvents.hpp 第 129 行定义.