Markdown

data class Markdown(val templateId: Int? = null, val customTemplateId: String? = null, val params: Message.Markdown.Params? = null, val content: String? = null)(source)

MessageMarkdown

Constructors

Link copied to clipboard
constructor(templateId: Int? = null, customTemplateId: String? = null, params: Message.Markdown.Params? = null, content: String? = null)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Params(val key: String, val values: List<String>)

Properties

Link copied to clipboard
val content: String? = null

原生 markdown 内容,与上面三个参数互斥,参数都传值将报错。

Link copied to clipboard
@SerialName(value = "custom_template_id")
val customTemplateId: String? = null

markdown 自定义模板 id

Link copied to clipboard

markdown 模板模板参数

Link copied to clipboard
@SerialName(value = "template_id")
val templateId: Int? = null

markdown 模板 id