FriendRequestEvent

@Serializable
data class FriendRequestEvent(val time: Long, val selfId: Long, val userId: Long, val comment: String, val flag: String, val postType: String = "request", val requestType: String = "friend") : OneBotV11Event

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val postType: String
Link copied to clipboard
@SerialName(value = "request_type")
val requestType: String
Link copied to clipboard
@SerialName(value = "self_id")
open override val selfId: Long
Link copied to clipboard
open override val time: Long
Link copied to clipboard
@SerialName(value = "user_id")
val userId: Long