We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e65f4e6 commit 5a645b4Copy full SHA for 5a645b4
mirai-core-api/src/commonMain/kotlin/message/data/Message.kt
@@ -153,7 +153,9 @@ public interface Message {
153
public override fun toString(): String
154
155
/**
156
- * 转为最接近官方格式的字符串, 即 "内容". 如 `At(member) + "test"` 将转为 `"@群名片 test"`.
+ * 转为接近官方格式的字符串, 即 "内容". 如 `At(member) + "test"` 将转为 `"@QQ test"`.
157
+ *
158
+ * (对于 [At],应使用 [At.getDisplay] 将其转为最接近官方格式的字符串 `"@群名片"`)
159
*
160
* 在使用消息相关 DSL 和扩展时, 一些内容比较的实现均使用 [contentToString] 而不是 [toString].
161
0 commit comments