mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.data
/
RequestEventData
/
MemberJoinRequest
Member
Join
Request
@
Serializable
class
MemberJoinRequest
@
MiraiExperimentalApi
constructor
(
val
eventId
:
Long
,
val
requester
:
Long
,
val
requesterNick
:
String
,
val
groupId
:
Long
,
val
groupName
:
String
,
val
invitor
:
Long
=
0
,
val
message
:
String
)
:
RequestEventData
Members
Constructors
Member
Join
Request
Link copied to clipboard
@
MiraiExperimentalApi
constructor
(
eventId
:
Long
,
requester
:
Long
,
requesterNick
:
String
,
groupId
:
Long
,
groupName
:
String
,
invitor
:
Long
=
0
,
message
:
String
)
Functions
accept
Link copied to clipboard
open
suspend override
fun
accept
(
bot
:
Bot
)
reject
Link copied to clipboard
open
suspend override
fun
reject
(
bot
:
Bot
)
suspend
fun
reject
(
bot
:
Bot
,
message
:
String
)
@
JvmOverloads
suspend
fun
reject
(
bot
:
Bot
,
blackList
:
Boolean
,
message
:
String
=
""
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
Properties
event
Id
Link copied to clipboard
open
override
val
eventId
:
Long
group
Id
Link copied to clipboard
val
groupId
:
Long
group
Name
Link copied to clipboard
val
groupName
:
String
invitor
Link copied to clipboard
val
invitor
:
Long
=
0
message
Link copied to clipboard
val
message
:
String
requester
Link copied to clipboard
val
requester
:
Long
requester
Nick
Link copied to clipboard
val
requesterNick
:
String