RawFriendRequestEvent

data class RawFriendRequestEvent(val time: Long, val requestType: String, val selfId: LongID, val postType: String, val userId: LongID, val comment: String = "", val flag: String) : RawRequestEvent(source)

加好友请求

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(time: Long, requestType: String, selfId: LongID, postType: String, userId: LongID, comment: String = "", flag: String)

Properties

Link copied to clipboard

验证信息

Link copied to clipboard

请求 flag,在调用处理请求的 API 时需要传入

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

事件类型

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

请求类型

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

收到事件的机器人 QQ 号

Link copied to clipboard
open override val time: Long

事件发生的时间戳

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

发送请求的 QQ 号