Annotate new APIs with @SinceMirai("0.30.0")

This commit is contained in:
Him188 2020-03-24 15:36:18 +08:00
parent 8eb597470f
commit 94e40e2e6a
3 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,7 @@ import net.mamoe.mirai.message.data.OfflineGroupImage
import net.mamoe.mirai.utils.ExternalImage
import net.mamoe.mirai.utils.MiraiExperimentalAPI
import net.mamoe.mirai.utils.OverFileSizeMaxException
import net.mamoe.mirai.utils.SinceMirai
/**
* . QQ Android 中叫做 "Troop"
@ -40,6 +41,7 @@ actual abstract class Group : Contact(), CoroutineScope {
/**
* 群设置
*/
@SinceMirai("0.30.0")
actual abstract val settings: GroupSettings
/**

View File

@ -44,6 +44,7 @@ expect abstract class Group() : Contact, CoroutineScope {
/**
* 群设置
*/
@SinceMirai("0.30.0")
abstract val settings: GroupSettings
/**

View File

@ -21,6 +21,7 @@ import net.mamoe.mirai.message.data.OfflineGroupImage
import net.mamoe.mirai.utils.ExternalImage
import net.mamoe.mirai.utils.MiraiExperimentalAPI
import net.mamoe.mirai.utils.OverFileSizeMaxException
import net.mamoe.mirai.utils.SinceMirai
/**
* . QQ Android 中叫做 "Troop"
@ -41,6 +42,7 @@ actual abstract class Group : Contact(), CoroutineScope {
/**
* 群设置
*/
@SinceMirai("0.30.0")
actual abstract val settings: GroupSettings
/**