class XmlMessageBuilder
ItemBuilder |
class ItemBuilder |
<init> |
XmlMessageBuilder(templateId: Int = 1, serviceId: Int = 1, action: String = "plugin", actionData: String = "", brief: String = "", flag: Int = 3, url: String = "", sourceName: String = "", sourceIconURL: String = "") |
action |
var action: String |
actionData |
一般为点击这条消息后跳转的链接 var actionData: String |
brief |
摘要, 在官方客户端内消息列表中显示 var brief: String |
flag |
var flag: Int |
serviceId |
var serviceId: Int |
sourceIconURL |
var sourceIconURL: String |
sourceName |
var sourceName: String |
templateId |
var templateId: Int |
text |
val text: String |
url |
var url: String |
item |
fun item(bg: Int = 0, layout: Int = 4, block: ItemBuilder.() -> Unit): Unit |
source |
fun source(name: String, iconURL: String = ""): Unit |