mirai-core / net.mamoe.mirai.message.data / kotlin.collections.Collection

Extensions for kotlin.collections.Collection

asMessageChain

直接将 this 委托为一个 MessageChain

fun Collection<SingleMessage>.asMessageChain(): MessageChain

thisflatten 委托为一个 MessageChain

fun Collection<Message>.asMessageChain(): MessageChain