From 8abbfbe4c54bea8a944250ae08da76acf81b8d08 Mon Sep 17 00:00:00 2001
From: Him188 <Him188@mamoe.net>
Date: Fri, 8 Jan 2021 11:24:13 +0800
Subject: [PATCH] [Review] ContactList: deprecate
 ContactList<*>.idContentString

---
 mirai-core-api/src/commonMain/kotlin/contact/ContactList.kt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/mirai-core-api/src/commonMain/kotlin/contact/ContactList.kt b/mirai-core-api/src/commonMain/kotlin/contact/ContactList.kt
index cf494caa7..ccac2bfe6 100644
--- a/mirai-core-api/src/commonMain/kotlin/contact/ContactList.kt
+++ b/mirai-core-api/src/commonMain/kotlin/contact/ContactList.kt
@@ -44,5 +44,11 @@ internal constructor(@JvmField @MiraiInternalApi public val delegate: Concurrent
  * [123456, 321654, 123654]
  * ```
  */
+@Deprecated(
+    "deprecated.",
+    ReplaceWith("\"[\" + delegate.joinToString { it.id.toString() } + \"]\""),
+    DeprecationLevel.ERROR
+)
+@PlannedRemoval("2.0.0")
 public val ContactList<*>.idContentString: String
     get() = "[" + delegate.joinToString { it.id.toString() } + "]"
\ No newline at end of file