Add MessageChainBuilder.build

This commit is contained in:
Him188 2020-04-12 01:42:16 +08:00
parent 3921fd3598
commit 6f5441bf1a

View File

@ -161,4 +161,7 @@ class MessageChainBuilder private constructor(
this.flushCache()
return MessageChainImplByCollection(this) // fast-path, no need to constrain
}
/** 同 [asMessageChain] */
fun build(): MessageChain = asMessageChain()
}