Preparing search index...
The search index is not available
mirai-ts
mirai-ts
EventType
BotInvitedJoinGroupRequestEvent
Interface BotInvitedJoinGroupRequestEvent
Bot被邀请入群申请
interface
BotInvitedJoinGroupRequestEvent
{
eventId
:
number
;
fromId
:
number
;
groupId
:
number
;
groupName
:
string
;
message
:
string
;
nick
:
string
;
reply
?:
(
(
msgChain
:
string
|
MessageChain
,
quote
?:
boolean
)
=>
Promise
<
void
>
)
;
respond
:
(
(
operate
:
BotInvitedJoinGroupRequestOperationType
,
message
?:
string
)
=>
Promise
<
Api
.
Response
.
BotInvitedJoinGroupRequestEvent
>
)
;
type
:
"BotInvitedJoinGroupRequestEvent"
;
}
Hierarchy
BaseRequestEvent
BotInvitedJoinGroupRequestEvent
Index
Properties
event
Id
from
Id
group
Id
group
Name
message
nick
reply?
respond
type
Properties
event
Id
event
Id
:
number
事件标识,响应该事件时的标识
from
Id
from
Id
:
number
邀请人(好友)的 QQ号
group
Id
group
Id
:
number
被邀请进入群的群号
group
Name
group
Name
:
string
被邀请进入群的群名称
message
message
:
string
邀请消息
nick
nick
:
string
邀请人(好友)的昵称
Optional
reply
reply
?:
(
(
msgChain
:
string
|
MessageChain
,
quote
?:
boolean
)
=>
Promise
<
void
>
)
reply 辅助函数
respond
respond
:
(
(
operate
:
BotInvitedJoinGroupRequestOperationType
,
message
?:
string
)
=>
Promise
<
Api
.
Response
.
BotInvitedJoinGroupRequestEvent
>
)
type
type
:
"BotInvitedJoinGroupRequestEvent"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
event
Id
from
Id
group
Id
group
Name
message
nick
reply
respond
type
mirai-ts
Loading...
Bot被邀请入群申请