Skip to content

Commit

Permalink
Fix typo, fix mamoe#1902
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 authored Mar 4, 2022
1 parent 6871153 commit 598eda0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Mirai 支持多种消息类型。
| 方法 | 解释 |
|:-------------------------|:---------------------------------------------------------------------------------------------|
| `serializeToMiraiCode()` | 对应的 Mirai 码. 消息的一种序列化方式,格式为 `[mirai:TYPE:PROP]`,其中 `TYPE` 为消息类型, `PROP` 为属性 |
| `contentToSting()` | QQ 对话框中以纯文本方式会显示的消息内容。无法用纯文字表示的消息会丢失信息,如任何图片都是 `[图片]` |
| `contentToString()` | QQ 对话框中以纯文本方式会显示的消息内容。无法用纯文字表示的消息会丢失信息,如任何图片都是 `[图片]` |
| `toString()` | Java 对象的 `toString()`,会尽可能包含多的信息用于调试作用,**行为可能不确定** |

各类型消息元素及其 `contentToString()` 如下表格所示。
Expand Down

0 comments on commit 598eda0

Please sign in to comment.