@SinceMirai("0.35.0") data class MemberJoinRequestEvent : BotEvent, Packet
一个账号请求加入群事件, Bot 在此群中是管理员或群主.
<init> |
一个账号请求加入群事件, Bot 在此群中是管理员或群主. MemberJoinRequestEvent(bot: Bot, eventId: Long, message: String, fromId: Long, groupId: Long, groupName: String, fromNick: String) |
bot |
val bot: Bot |
eventId |
事件唯一识别号 val eventId: Long |
fromId |
申请入群的账号的 id val fromId: Long |
fromNick |
申请人昵称 val fromNick: String |
group |
val group: Group |
groupId |
val groupId: Long |
groupName |
val groupName: String |
message |
入群申请消息 val message: String |
__acceptBlockingForJava__ |
fun __acceptBlockingForJava__(): Unit |
__ignoreBlockingForJava__ |
fun __ignoreBlockingForJava__(blackList: Boolean = false): Unit |
__rejectBlockingForJava__ |
fun __rejectBlockingForJava__(blackList: Boolean = false): Unit |
accept |
suspend fun accept(): Unit |
ignore |
suspend fun ignore(blackList: Boolean = false): Unit |
reject |
suspend fun reject(blackList: Boolean = false): Unit |
broadcast |
广播一个事件的唯一途径. suspend fun <E : Event> E.broadcast(): E |