ActionGroup

@SerialName(value = "action-group")
data class ActionGroup(val elements: List<CardElement.Button> = emptyList()) : CardModule(source)

交互模块

作用说明: 交互模块中包含交互控件元素,目前支持的交互控件为按钮(button)

说明:

  • elements 中只能为 button

  • elements 最多只能有 4 个

e.g.

{
"type" : "action-group",
"elements": [
// buttons
],
}

Constructors

Link copied to clipboard
constructor(elements: List<CardElement.Button> = emptyList())

Types

Link copied to clipboard
object Companion