|
cpp-mirai-client
v2.6.1
cpp client for mirai-api-http
|
Bot被邀请加群事件 更多...
#include <BotEvents.hpp>
Public 成员函数 | |
| int64_t | GetEventId () const |
| 获取事件id,唯一标识符 更多... | |
| QQ_t | GetUserId () const |
| 获取邀请人QQ 更多... | |
| std::string | GetNickname () const |
| 获取邀请人昵称 更多... | |
| GID_t | GetGroupId () const |
| 获取群聊id 更多... | |
| std::string | GetGroupName () const |
| 获取群聊名称 更多... | |
| std::string | GetMessage () const |
| 获取邀请信息 更多... | |
Public 成员函数 继承自 Mirai::IEvent< BotInvitedJoinGroupRequestEvent > | |
| IEvent (const IEvent &)=default | |
| IEvent (IEvent &&)=default | |
| IEvent & | operator= (const IEvent &)=default |
| IEvent & | operator= (IEvent &&)=default |
| MiraiClient & | GetMiraiClient () const |
获取接收该事件的 MiraiClient 的引用 更多... | |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 Mirai::IEvent< BotInvitedJoinGroupRequestEvent > | |
| static constexpr EventTypes | GetType () |
| 获取事件类型 更多... | |
Protected 成员函数 继承自 Mirai::IEvent< BotInvitedJoinGroupRequestEvent > | |
| IEvent ()=default | |
| ~IEvent ()=default | |
Bot被邀请加群事件
| Member Variable | Default Value |
|---|---|
BotInvitedJoinGroupRequestEvent::EventId_ | 0 |
BotInvitedJoinGroupRequestEvent::FromId_ | 0_qq |
BotInvitedJoinGroupRequestEvent::GroupId_ | 0_gid |
BotInvitedJoinGroupRequestEvent::GroupName_ | "" |
BotInvitedJoinGroupRequestEvent::nickname_ | "" |
BotInvitedJoinGroupRequestEvent::message_ | "" |
在文件 BotEvents.hpp 第 154 行定义.
|
inline |
获取事件id,唯一标识符
在文件 BotEvents.hpp 第 170 行定义.
|
inline |
获取邀请人QQ
在文件 BotEvents.hpp 第 172 行定义.
|
inline |
获取邀请人昵称
在文件 BotEvents.hpp 第 174 行定义.
|
inline |
获取群聊id
在文件 BotEvents.hpp 第 176 行定义.
|
inline |
获取群聊名称
在文件 BotEvents.hpp 第 178 行定义.
|
inline |
获取邀请信息
在文件 BotEvents.hpp 第 180 行定义.