toggle menu
onebot-v11-lib
jvm
switch theme
search in API
onebot-v11-lib
/
cn.qfys521.onebot.v11.lib.model
/
OneBotV11Event
/
GroupRequestEvent
Group
Request
Event
@
Serializable
data
class
GroupRequestEvent
(
val
time
:
Long
,
val
selfId
:
Long
,
val
groupId
:
Long
,
val
userId
:
Long
,
val
comment
:
String
,
val
flag
:
String
,
val
subType
:
String
,
val
postType
:
String
=
"request"
,
val
requestType
:
String
=
"group"
)
:
OneBotV11Event
Members
Constructors
Group
Request
Event
Link copied to clipboard
constructor
(
time
:
Long
,
selfId
:
Long
,
groupId
:
Long
,
userId
:
Long
,
comment
:
String
,
flag
:
String
,
subType
:
String
,
postType
:
String
=
"request"
,
requestType
:
String
=
"group"
)
Properties
comment
Link copied to clipboard
val
comment
:
String
flag
Link copied to clipboard
val
flag
:
String
group
Id
Link copied to clipboard
@
SerialName
(
value
=
"group_id"
)
val
groupId
:
Long
post
Type
Link copied to clipboard
open
override
val
postType
:
String
request
Type
Link copied to clipboard
@
SerialName
(
value
=
"request_type"
)
val
requestType
:
String
self
Id
Link copied to clipboard
@
SerialName
(
value
=
"self_id"
)
open
override
val
selfId
:
Long
sub
Type
Link copied to clipboard
@
SerialName
(
value
=
"sub_type"
)
val
subType
:
String
time
Link copied to clipboard
open
override
val
time
:
Long
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
val
userId
:
Long