mirai-core / net.mamoe.mirai.message.data / XmlMessageBuilder / ItemBuilder

ItemBuilder

@SinceMirai("0.27.0") class ItemBuilder

Properties

bg

var bg: Int

layout

var layout: Int

text

val text: String

Functions

picture

fun picture(coverUrl: String): Unit

summary

fun summary(text: String, color: String = "#000000"): Unit

title

fun title(text: String, size: Int = 25, color: String = "#000000"): Unit