Commit 592d5fde authored by Him188's avatar Him188

Add `PlainText.of(CharSequence)`

parent 4cc88083
......@@ -38,6 +38,10 @@ inline class PlainText(val stringValue: String) : Message, MessageContent {
inline fun of(value: String): PlainText {
return PlainText(value)
}
inline fun of(value: CharSequence): PlainText {
return PlainText(value)
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment