mirai-core / net.mamoe.mirai.message.data / kotlin.String

Extensions for kotlin.String

toMessage

构造 PlainText

fun String.toMessage(): PlainText