mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-27 09:00:15 +08:00
Update docs for mirai code
This commit is contained in:
parent
0112d4622e
commit
f5e1206673
@ -77,6 +77,7 @@ Mirai 支持富文本消息。
|
||||
[`MarketFace`]: ../mirai-core-api/src/commonMain/kotlin/message/data/MarketFace.kt
|
||||
[`MusicShare`]: ../mirai-core-api/src/commonMain/kotlin/message/data/MusicShare.kt
|
||||
[`Dice`]: ../mirai-core-api/src/commonMain/kotlin/message/data/Dice.kt
|
||||
[`FileMessage`]: ../mirai-core-api/src/commonMain/kotlin/message/data/FileMessage.kt
|
||||
|
||||
[`MessageSource`]: ../mirai-core-api/src/commonMain/kotlin/message/data/MessageSource.kt
|
||||
[`QuoteReply`]: ../mirai-core-api/src/commonMain/kotlin/message/data/QuoteReply.kt
|
||||
@ -388,6 +389,8 @@ at.serializeToMiraiCode() // 结果为 `[mirai:at:123]`
|
||||
| [`LightApp`] | `[mirai:app:$content]` |
|
||||
| [`SimpleServiceMessage`] | `[mirai:service:$serviceId,$content]` |
|
||||
| [`Dice`] | `[mirai:dice:$value]` |
|
||||
| [`MusicShare`] | `[mirai:musicshare:$args]` |
|
||||
| [`FileMessage`] | `[mirai:file:$id,$internalId,$name,$size]` |
|
||||
|
||||
### 由 mirai 码字符串取得 `MessageChain` 实例
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user