mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-08 20:17:00 +08:00
Add message to MiraiExperimentalAPI
This commit is contained in:
parent
af8e954577
commit
5b488bae36
@ -20,7 +20,9 @@ annotation class MiraiInternalAPI
|
||||
*/
|
||||
@Experimental(level = Experimental.Level.ERROR)
|
||||
@Target(CLASS, TYPEALIAS, FUNCTION, PROPERTY, FIELD, CONSTRUCTOR)
|
||||
annotation class MiraiExperimentalAPI
|
||||
annotation class MiraiExperimentalAPI(
|
||||
val message: String = ""
|
||||
)
|
||||
|
||||
/**
|
||||
* 标记这个 API 是自 Mirai 某个版本起才受支持.
|
||||
|
Loading…
Reference in New Issue
Block a user