Commit 6f5441bf authored by Him188's avatar Him188

Add `MessageChainBuilder.build`

parent 3921fd35
...@@ -161,4 +161,7 @@ class MessageChainBuilder private constructor( ...@@ -161,4 +161,7 @@ class MessageChainBuilder private constructor(
this.flushCache() this.flushCache()
return MessageChainImplByCollection(this) // fast-path, no need to constrain return MessageChainImplByCollection(this) // fast-path, no need to constrain
} }
/** 同 [asMessageChain] */
fun build(): MessageChain = asMessageChain()
} }
\ No newline at end of file
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