Package-level declarations

Types

Link copied to clipboard
abstract class QGAtMessageCreateEvent : QGMessageEvent, ChatChannelMessageEvent
Link copied to clipboard
interface QGAtMessageCreateEventInteractionEvent : QGMessageEventInteractionEvent, ChatChannelMessageEventInteractionEvent

QG组件中针对 QGAtMessageCreateEvent.reply 的拦截事件。

Link copied to clipboard

针对 ChatChannelMessageEvent.reply 的发送后通知事件。

Link copied to clipboard

针对 ChatChannelMessageEvent.reply 的发送前拦截事件。

Link copied to clipboard
sealed class QGBaseMessageEvent<T : Any> : QGBotEvent<T> , MessageEvent

针对所有端(QQ群和QQ频道)的 MessageEvent 时间的统一父类型。 原本的 QGMessageEvent 仅针对频道相关的消息事件,而群聊和私信的消息体类型不同,无法适配。

Link copied to clipboard
abstract class QGBotEvent<T : Any> : QGEvent<T> , BotEvent

QGBot 相关的 QQ频道 BotEvent 子类型。

Link copied to clipboard
abstract class QGBotRegisteredEvent : QGInternalBotEvent, BotRegisteredEvent

qq频道组件中,每当 QQGuildBotManager 通过任意 QQGuildBotManager.register 注册并得到Bot实例后触发的事件。

Link copied to clipboard
abstract class QGBotStartedEvent : QGInternalBotEvent, BotStartedEvent

qq频道组件中,每当 QGBot.start 被执行的时候会被推送的事件。 当事件被推送的时候代表此bot实际上已经完成的 start 的逻辑,但是QGBot.start会直到事件处理流程完成后才会最终返回。

Link copied to clipboard
abstract class QGC2CManagementEvent : QGBotEvent<C2CManagementData> , ContactEvent

用户模块-用户管理相关事件

Link copied to clipboard
abstract class QGC2CMessageCreateEvent : QGBaseMessageEvent<C2CMessageCreate> , ContactMessageEvent

一个C2C单聊消息事件。

Link copied to clipboard
interface QGC2CMessageCreateEventInteractionEvent : QGMessageEventInteractionEvent, ContactMessageEventInteractionEvent

QG组件中针对 QGC2CMessageCreateEvent.reply 的拦截事件。

Link copied to clipboard
Link copied to clipboard

允许机器人主动消息

Link copied to clipboard

拒绝机器人主动消息

Link copied to clipboard
abstract class QGChannelCreateEvent : QGChannelEvent, OrganizationChangeEvent

子频道被创建事件。是一个频道服务器变更事件。

Link copied to clipboard
abstract class QGChannelDeleteEvent : QGChannelEvent, OrganizationChangeEvent

子频道被删除

Link copied to clipboard

子频道相关的事件。

Link copied to clipboard
abstract class QGChannelUpdateEvent : QGChannelEvent, ChangeEvent, ChannelEvent

子频道信息变更事件。 事件通知即已完成变更。

Link copied to clipboard
abstract class QGDirectMessageCreateEvent : QGMessageEvent, ContactMessageEvent

频道单聊事件,源自 DirectMessageCreate

interface QGDirectMessageCreateEventInteractionEvent : QGMessageEventInteractionEvent, ContactMessageEventInteractionEvent

QG组件中针对 QGDirectMessageCreateEvent.reply 的拦截事件。

Link copied to clipboard

QG组件中针对 QGDmsContact.send 的拦截事件。

Link copied to clipboard
abstract class QGEvent<T : Any> : Event

QQ频道bot的事件总类。

Link copied to clipboard
abstract class QGForumEvent : QGBotEvent<ForumSourceInfo> , ChannelEvent

QQ频道的 EventIntents.ForumsEvent 事件。

Link copied to clipboard

QQ频道的 EventIntents.ForumsEvent 中的评论创建事件。

Link copied to clipboard

QQ频道的 EventIntents.ForumsEvent 中的评论删除事件。

Link copied to clipboard

QQ频道的 EventIntents.ForumsEvent 中的帖子(评论)事件。

Link copied to clipboard

QQ频道的 EventIntents.ForumsEvent 中的帖子审核通过事件。

Link copied to clipboard

QQ频道的 EventIntents.ForumsEvent 中的回复创建事件。

Link copied to clipboard

QQ频道的 EventIntents.ForumsEvent 中的回复删除事件。

Link copied to clipboard

QQ频道的 EventIntents.ForumsEvent 中的评论回复事件。

Link copied to clipboard

QQ频道的 EventIntents.ForumsEvent 中的创建主题事件。

Link copied to clipboard

QQ频道的 EventIntents.ForumsEvent 中的删除主题事件。

Link copied to clipboard

QQ频道的 EventIntents.ForumsEvent 中的主题事件。

Link copied to clipboard

QQ频道的 EventIntents.ForumsEvent 中的更新主题事件。

Link copied to clipboard

用户添加机器人

Link copied to clipboard

用户删除机器人

Link copied to clipboard
Link copied to clipboard

机器人加入群聊

Link copied to clipboard
abstract class QGGroupAtMessageCreateEvent : QGBaseMessageEvent<GroupAtMessageCreate> , ChatGroupMessageEvent

群消息事件。需要bot被at后触发。

interface QGGroupAtMessageCreateEventInteractionEvent : QGMessageEventInteractionEvent, ChatGroupMessageEventInteractionEvent

QG组件中针对 QGGroupAtMessageCreateEvent.reply 的拦截事件。

Link copied to clipboard

机器人退出群聊

Link copied to clipboard

群聊模块中的管理相关事件。

Link copied to clipboard

群聊接受机器人主动消息

Link copied to clipboard

群聊拒绝机器人主动消息

Link copied to clipboard

QG组件中针对 QGGroup.send 的拦截事件。

Link copied to clipboard
abstract class QGGuildCreateEvent : QGGuildEvent, GuildEvent, ChangeEvent

频道创建事件。

Link copied to clipboard

频道删除事件。

Link copied to clipboard

频道变更事件相关。

Link copied to clipboard
abstract class QGGuildUpdateEvent : QGGuildEvent, GuildEvent, OrganizationChangeEvent

频道更新事件。

Link copied to clipboard

QQ组件中对内部 bot 事件的实现。

Link copied to clipboard
interface QGInternalEvent : InternalEvent

QQ组件内对 InternalEvent 的实现。

Link copied to clipboard
interface QGInternalMessageInteractionEvent : InternalMessageInteractionEvent, QGInternalEvent

QQ组件中针对 InternalMessageInteractionEvent 的子类型实现。

Link copied to clipboard
interface QGInternalMessagePostSendEvent : QGInternalMessageInteractionEvent, InternalMessagePostSendEvent

QQ组件中针对消息后置通知事件的子类型实现。

Link copied to clipboard
interface QGInternalMessagePreSendEvent : QGInternalMessageInteractionEvent, InternalMessagePreSendEvent

QQ组件中针对消息前置拦截事件的子类型实现。

Link copied to clipboard
abstract class QGMemberAddEvent : QGMemberEvent, GuildMemberIncreaseEvent

频道成员增加事件。

Link copied to clipboard
Link copied to clipboard
abstract class QGMemberRemoveEvent : QGMemberEvent, GuildMemberDecreaseEvent

频道成员离开/被移除事件。事件触发时已经被移除。

Link copied to clipboard

QG组件中针对 QGMember.send 的拦截事件。

Link copied to clipboard

针对 QGMember.send 的发送后通知事件。

Link copied to clipboard

针对 QGMember.send 的发送前拦截事件。

Link copied to clipboard
abstract class QGMemberUpdateEvent : QGMemberEvent, MemberChangeEvent, OrganizationSourceEvent

频道成员信息更新事件。

Link copied to clipboard
sealed class QGMessageEvent : QGBaseMessageEvent<Message> , ContentEvent, ActorEvent

消息事件 的组件事件封装。

Link copied to clipboard
interface QGMessageEventInteractionEvent : MessageEventInteractionEvent, QGInternalMessageInteractionEvent

QQ组件中针对 SendSupportInteractionEvent 的子类型实现。

Link copied to clipboard
interface QGMessageEventPostReplyEvent : QGMessageEventInteractionEvent, MessageEventPostReplyEvent

QG组件中针对 QGMessageEvent.reply 的通知事件。

Link copied to clipboard
interface QGMessageEventPreReplyEvent : QGMessageEventInteractionEvent, MessageEventPreReplyEvent

QG组件中针对 QGMessageEvent.reply 的拦截事件。 可以对其中的参数进行修改。

Link copied to clipboard
abstract class QGOpenForumEvent : QGBotEvent<OpenForumEventData> , ChannelEvent

QQ频道的 OpenForums 事件。

Link copied to clipboard

QQ频道 OpenForums 中的帖子(评论)创建事件。

Link copied to clipboard

QQ频道 OpenForums 中的帖子(评论)删除事件。

Link copied to clipboard

QQ频道 OpenForums 中的帖子(评论)事件。

Link copied to clipboard

QQ频道 OpenForums 中的回复创建事件。

Link copied to clipboard

QQ频道 OpenForums 中的回复删除事件。

Link copied to clipboard

QQ频道 OpenForums 中的回复事件。

Link copied to clipboard

QQ频道 OpenForums 中的主题创建事件。

Link copied to clipboard

QQ频道 OpenForums 中的主题删除事件。

Link copied to clipboard

QQ频道 OpenForums 中的主题事件。

Link copied to clipboard

QQ频道 OpenForums 中的主题更新事件。

Link copied to clipboard
interface QGSendSupportInteractionEvent : QGInternalMessageInteractionEvent, SendSupportInteractionEvent

QQ组件中针对 SendSupportInteractionEvent 的子类型实现。

Link copied to clipboard

QG组件中针对 SendSupport.send 的通知事件。 会在 SendSupport.send 执行成功后带着它的相关结果进行异步通知。

Link copied to clipboard

QG组件中针对 SendSupport.send 的拦截事件。 可以对其中的参数进行修改。

Link copied to clipboard

QG组件中针对 QGTextChannel.send 的拦截事件。

Link copied to clipboard
@FragileSimbotAPI
abstract class QGUnsupportedEvent : QGBotEvent<Signal.Dispatch>

尚未支持的QQ频道事件类型。