Simple Robot
Toggle table of contents
5.0.0-Alpha2
common
Target filter
common
Switch theme
Search in API
Skip to content
Simple Robot
simbot-api
/
love.forte.simbot.bot
/
InheritanceBotApi
Inheritance
Bot
Api
@
Target
(
allowedTargets
=
[
AnnotationTarget.CLASS
]
)
@
RequiresOptIn
(
message
=
"Bot 及其相关接口是面向组件库实现的类型。它的兼容性保障会更弱、通常只确保在相同 major 内的二进制兼容,且可能随时会添加新的、需要被明确继承/重写的API。因此对 Bot 及其相关接口的实现需要更频繁的关注它的变更,这通常由组件库实现,而不应该由用户随意实现。"
)
annotation class
InheritanceBotApi
(
source
)
为
Bot
及其相关接口的实现提供警告信息。