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

buildForwardMessage

@SinceMirai("0.39.0") inline fun buildForwardMessage(context: Contact, displayStrategy: DisplayStrategy = DisplayStrategy, block: ForwardMessageBuilder.() -> Unit): ForwardMessage

构造一条 ForwardMessage

See Also

ForwardMessageBuilder

ForwardMessage

@SinceMirai("0.39.0") inline fun ContactMessage.buildForwardMessage(context: Contact = this.subject, displayStrategy: DisplayStrategy = DisplayStrategy, block: ForwardMessageBuilder.() -> Unit): ForwardMessage

使用 DSL 构建一个 ForwardMessage.

See Also

ForwardMessageBuilder

ForwardMessage