RawGroupIncreaseEvent

data class RawGroupIncreaseEvent(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 号。

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

事件子类型,分别表示管理员已同意入群、管理员邀请入群。 可能的值: approveinvite

Link copied to clipboard
open override val time: Long

事件发生的时间戳

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

加入者 QQ 号。