MessageKeyboard

data class MessageKeyboard(val id: String? = null, val renderData: MessageKeyboard.RenderData? = null, val action: MessageKeyboard.Action? = null)(source)

消息交互=>消息按钮

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(id: String? = null, renderData: MessageKeyboard.RenderData? = null, action: MessageKeyboard.Action? = null)

Types

Link copied to clipboard
data class Action(val permission: MessageKeyboard.ActionPermission? = null, val data: String?, val reply: Boolean? = null, val enter: Boolean? = null, val anchor: Int? = null, val unsupportTips: String)
Link copied to clipboard
data class ActionPermission(val type: Int, val specifyUserIds: List<String>? = null, val specifyRoleIds: List<String>? = null)
Link copied to clipboard
object Companion
Link copied to clipboard
data class RenderData(val label: String, val visitedLabel: String, val style: Int)

Properties

Link copied to clipboard
Link copied to clipboard
val id: String? = null
Link copied to clipboard
@SerialName(value = "render_data")
val renderData: MessageKeyboard.RenderData? = null