Commit 94e40e2e authored by Him188's avatar Him188

Annotate new APIs with `@SinceMirai("0.30.0")`

parent 8eb59747
...@@ -21,6 +21,7 @@ import net.mamoe.mirai.message.data.OfflineGroupImage ...@@ -21,6 +21,7 @@ import net.mamoe.mirai.message.data.OfflineGroupImage
import net.mamoe.mirai.utils.ExternalImage import net.mamoe.mirai.utils.ExternalImage
import net.mamoe.mirai.utils.MiraiExperimentalAPI import net.mamoe.mirai.utils.MiraiExperimentalAPI
import net.mamoe.mirai.utils.OverFileSizeMaxException import net.mamoe.mirai.utils.OverFileSizeMaxException
import net.mamoe.mirai.utils.SinceMirai
/** /**
* 群. 在 QQ Android 中叫做 "Troop" * 群. 在 QQ Android 中叫做 "Troop"
...@@ -40,6 +41,7 @@ actual abstract class Group : Contact(), CoroutineScope { ...@@ -40,6 +41,7 @@ actual abstract class Group : Contact(), CoroutineScope {
/** /**
* 群设置 * 群设置
*/ */
@SinceMirai("0.30.0")
actual abstract val settings: GroupSettings actual abstract val settings: GroupSettings
/** /**
......
...@@ -44,6 +44,7 @@ expect abstract class Group() : Contact, CoroutineScope { ...@@ -44,6 +44,7 @@ expect abstract class Group() : Contact, CoroutineScope {
/** /**
* 群设置 * 群设置
*/ */
@SinceMirai("0.30.0")
abstract val settings: GroupSettings abstract val settings: GroupSettings
/** /**
......
...@@ -21,6 +21,7 @@ import net.mamoe.mirai.message.data.OfflineGroupImage ...@@ -21,6 +21,7 @@ import net.mamoe.mirai.message.data.OfflineGroupImage
import net.mamoe.mirai.utils.ExternalImage import net.mamoe.mirai.utils.ExternalImage
import net.mamoe.mirai.utils.MiraiExperimentalAPI import net.mamoe.mirai.utils.MiraiExperimentalAPI
import net.mamoe.mirai.utils.OverFileSizeMaxException import net.mamoe.mirai.utils.OverFileSizeMaxException
import net.mamoe.mirai.utils.SinceMirai
/** /**
* 群. 在 QQ Android 中叫做 "Troop" * 群. 在 QQ Android 中叫做 "Troop"
...@@ -41,6 +42,7 @@ actual abstract class Group : Contact(), CoroutineScope { ...@@ -41,6 +42,7 @@ actual abstract class Group : Contact(), CoroutineScope {
/** /**
* 群设置 * 群设置
*/ */
@SinceMirai("0.30.0")
actual abstract val settings: GroupSettings actual abstract val settings: GroupSettings
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment