获取 Sequence<MessageMetadata> 相当于 this.asSequence().filterIsInstance<MessageMetadata>()
Sequence<MessageMetadata>
this.asSequence().filterIsInstance<MessageMetadata>()