InteractionCreateResolvedData

互动事件解析后的数据。

Since

4.4.0

Constructors

Link copied to clipboard
constructor(buttonData: String? = null, buttonId: String? = null, userId: String? = null, featureId: String? = null, messageId: String? = null)
constructor()

Properties

Link copied to clipboard

操作类型 (type=15 故事集:ENTER_STORY=进入, QUIT_STORY=退出;type=16 切换模型:对应操作动作)

Link copied to clipboard
@SerialName(value = "authorize_data")
val authorizeData: AuthorizeData?

授权数据(仅 type=18/19 用户/群授权事件)

Link copied to clipboard
@SerialName(value = "button_data")
val buttonData: String?

操作按钮的 data 字段值

Link copied to clipboard
@SerialName(value = "button_id")
val buttonId: String?

操作按钮的 id 字段值

Link copied to clipboard
val checked: Int?

反馈选项是否选中(仅 type=13 消息反馈)

Link copied to clipboard
@SerialName(value = "feature_id")
val featureId: String?

操作按钮的 id 字段值, 仅自定义菜单提供

Link copied to clipboard

反馈选项(仅 type=13 消息反馈)。LIKE=点赞, UNLIKE=点踩

Link copied to clipboard
@SerialName(value = "message_id")
val messageId: String?

操作的消息 id, 目前仅频道场景提供

Link copied to clipboard
@SerialName(value = "message_scene")
val messageScene: InteractionMessageScene?

消息场景信息(仅 type=13 消息反馈)

Link copied to clipboard
@SerialName(value = "user_id")
val userId: String?

操作的用户 userid, 仅频道场景提供

Functions

Link copied to clipboard
operator fun component1(): String?
Link copied to clipboard
operator fun component2(): String?
Link copied to clipboard
operator fun component3(): String?
Link copied to clipboard
operator fun component4(): String?
Link copied to clipboard
operator fun component5(): String?
Link copied to clipboard
fun copy(buttonData: String? = this.buttonData, buttonId: String? = this.buttonId, userId: String? = this.userId, featureId: String? = this.featureId, messageId: String? = this.messageId): InteractionCreateResolvedData
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String