Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
@RequiresOptIn(level = RequiresOptIn.Level.ERROR, message = "QQ 组件下的 Panel 相关内容是面向 QQ 组件库内部实现的类型,它可能随时添加更多需要明确实现的抽象 API 而不会确保对继承的安全兼容,因此它不应该由用户随意实现。")
annotation class InternalForInheritanceQGPanelApi

为 QQ 组件下 panel 相关抽象类型的实现提供警告信息。

Link copied to clipboard

指令面板操作句柄,保存面板 ID 和对其的操作行为。

Link copied to clipboard
Link copied to clipboard

指令面板内容更新后的服务端回执。

Inherited functions

Link copied to clipboard

使用 CommandPanelCreateBuilder DSL 创建一个指令面板。

suspend fun QGCommandPanelManager.create(scope: CommandPanelScope? = null, targetType: CommandPanelTargetType? = null, userOpenids: Collection<ID>? = null, groupOpenids: Collection<ID>? = null, panel: CommandPanel? = null): QGCommandPanelHandle

创建一个指令面板。

Link copied to clipboard

使用 love.forte.simbot.qguild.model.panel.CommandPanelBuilder DSL 整体覆盖此面板的内容与备注。