mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.message.data
/
MessageChain
/
Companion
/
serializeToString
serialize
To
String
@
ExperimentalSerializationApi
fun
MessageChain
.
serializeToString
(
format
:
StringFormat
)
:
String
将
MessageChain
序列化为指定格式的字符串.
See also
Message
Chain.
Companion.
serialize
To
Json
String
String
Format.
encode
To
String