mirai-core / net.mamoe.mirai.message.data / flatten

flatten

fun Message.flatten(): Sequence<SingleMessage>

扁平化 Message

对于不同类型的接收者(receiver):

fun MessageChain.flatten(): Sequence<SingleMessage>