serializeToJsonString

fun MessageChain.serializeToJsonString(json: <ERROR CLASS> = getDefaultJson()): String

MessageChain 序列化为 JSON 字符串.

See also