RawGroupDecreaseEvent

data class RawGroupDecreaseEvent(val time: Long, val selfId: LongID, val postType: String, val noticeType: String, val subType: String, val groupId: LongID, val operatorId: LongID? = null, val userId: LongID) : RawNoticeEvent(source)

群成员减少

Constructors

Link copied to clipboard
constructor(time: Long, selfId: LongID, postType: String, noticeType: String, subType: String, groupId: LongID, operatorId: LongID? = null, userId: LongID)

Properties

Link copied to clipboard
@SerialName(value = "group_id")
val groupId: LongID

群号。

Link copied to clipboard
@SerialName(value = "notice_type")
open override val noticeType: String

通知类型

Link copied to clipboard
@SerialName(value = "operator_id")
val operatorId: LongID? = null

操作者 QQ 号(如果是主动退群,则和 user_id 相同)。

Link copied to clipboard
@SerialName(value = "post_type")
open override val postType: String

事件类型

Link copied to clipboard
@SerialName(value = "self_id")
open override val selfId: LongID

收到事件的机器人 QQ 号

Link copied to clipboard
@SerialName(value = "sub_type")
val subType: String

事件子类型,分别表示主动退群、成员被踢、登录号被踢。 可能的值: leavekickkick_me

Link copied to clipboard
open override val time: Long

事件发生的时间戳

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

离开者 QQ 号。