mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-23 06:10:30 +08:00
Annotate new APIs with @SinceMirai("0.30.0")
This commit is contained in:
parent
8eb597470f
commit
94e40e2e6a
@ -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
|
||||
|
||||
/**
|
||||
|
@ -44,6 +44,7 @@ expect abstract class Group() : Contact, CoroutineScope {
|
||||
/**
|
||||
* 群设置
|
||||
*/
|
||||
@SinceMirai("0.30.0")
|
||||
abstract val settings: GroupSettings
|
||||
|
||||
/**
|
||||
|
@ -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
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user