16#ifndef MIRAI_MIRAI_CLIENT_EVENTS_HPP_
17#define MIRAI_MIRAI_CLIENT_EVENTS_HPP_
41 std::map<std::string, std::string>
headers;
119#define DECLARE_TYPE_ENUM(event_type) \
120 template<> struct GetEventType<event_type::GetType()> \
122 using type = event_type; \
130#undef DECLARE_TYPE_ENUM
Common interface for all event types
@ ClientConnectionEstablished
DECLARE_TYPE_ENUM(BotOfflineEventActive)
bool DecompressionError
是否为解压缩编码错误
double WaitTime
下一次重试前的等待时间(ms)
std::string SessionKey
本次连接的session key
std::map< std::string, std::string > headers
接收的文件头信息
User BotProfile
获取到的的Bot资料
std::string message
接收到的原消息