mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-20 22:37:05 +08:00
Fix docs
This commit is contained in:
parent
e3576fe5d0
commit
dad9c0b7b8
@ -86,13 +86,11 @@ interface Message {
|
|||||||
* ```kotlin
|
* ```kotlin
|
||||||
* val a = PlainText("Hello ")
|
* val a = PlainText("Hello ")
|
||||||
* val b = PlainText("world!")
|
* val b = PlainText("world!")
|
||||||
* val c:MessageChain = a + b
|
* val c: CombinedMessage = a + b
|
||||||
* println(c) // "Hello world!"
|
* println(c) // "Hello world!"
|
||||||
* ```
|
|
||||||
*
|
*
|
||||||
* ```kotlin
|
|
||||||
* val d = PlainText("world!")
|
* val d = PlainText("world!")
|
||||||
* val e = c + d;//PlainText + MessageChain
|
* val e = c + d; // PlainText + CombinedMessage
|
||||||
* println(c) // "Hello world!"
|
* println(c) // "Hello world!"
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user