mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-05 07:30:09 +08:00
[Review] ContactList: deprecate ContactList<*>.idContentString
This commit is contained in:
parent
3f3ba48b24
commit
8abbfbe4c5
@ -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() } + "]"
|
Loading…
Reference in New Issue
Block a user