cpp-mirai-client  v2.6.1
cpp client for mirai-api-http
Mirai::BotInvitedJoinGroupRequestEvent类 参考final

Bot被邀请加群事件 更多...

#include <BotEvents.hpp>

类 Mirai::BotInvitedJoinGroupRequestEvent 继承关系图:
[图例]
Mirai::BotInvitedJoinGroupRequestEvent 的协作图:
[图例]

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
 
IEventoperator= (const IEvent &)=default
 
IEventoperator= (IEvent &&)=default
 
MiraiClientGetMiraiClient () 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.hpp154 行定义.

成员函数说明

◆ GetEventId()

int64_t Mirai::BotInvitedJoinGroupRequestEvent::GetEventId ( ) const
inline

获取事件id,唯一标识符

在文件 BotEvents.hpp170 行定义.

◆ GetUserId()

QQ_t Mirai::BotInvitedJoinGroupRequestEvent::GetUserId ( ) const
inline

获取邀请人QQ

在文件 BotEvents.hpp172 行定义.

◆ GetNickname()

std::string Mirai::BotInvitedJoinGroupRequestEvent::GetNickname ( ) const
inline

获取邀请人昵称

在文件 BotEvents.hpp174 行定义.

◆ GetGroupId()

GID_t Mirai::BotInvitedJoinGroupRequestEvent::GetGroupId ( ) const
inline

获取群聊id

在文件 BotEvents.hpp176 行定义.

◆ GetGroupName()

std::string Mirai::BotInvitedJoinGroupRequestEvent::GetGroupName ( ) const
inline

获取群聊名称

在文件 BotEvents.hpp178 行定义.

◆ GetMessage()

std::string Mirai::BotInvitedJoinGroupRequestEvent::GetMessage ( ) const
inline

获取邀请信息

在文件 BotEvents.hpp180 行定义.


该类的文档由以下文件生成: