MiraiMemberJoinRequestEvent

一个账号请求加入群事件, Bot 在此群中是管理员或群主.

See also

Types

Link copied to clipboard

Functions

Link copied to clipboard
abstract suspend override fun accept(): Boolean

接受申请

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend override fun group(): GroupInfo

涉及群。

Link copied to clipboard
abstract suspend override fun inviter(): RequestMemberInviterInfo?

邀请者信息。inviter 中的信息不保证是完全的。

Link copied to clipboard
abstract suspend override fun reject(): Boolean

拒绝申请

open suspend fun reject(blockList: Boolean): Boolean
open suspend fun reject(message: String): Boolean
abstract suspend fun reject(blockList: Boolean, message: String): Boolean

拒绝申请。

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend override fun requester(): RequestMemberInfo

申请者信息。

Link copied to clipboard
open suspend override fun user(): RequestMemberInfo

申请者信息。同 requester

Properties

Link copied to clipboard
abstract override val bot: MiraiBot

事件中的bot对象。

Link copied to clipboard
open override val component: Component
Link copied to clipboard
open val group: GroupInfo
Link copied to clipboard
Link copied to clipboard
abstract override val id: ID

事件的唯一标识。 Mirai事件中并不一定存在id,当原始事件中没有ID的情况下,将会生成一个随机ID。

Link copied to clipboard
open val inviter: UserInfo?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract override val message: String

申请附言。

Link copied to clipboard
abstract override val originalEvent: MemberJoinRequestEvent

原始的mirai事件对象

Link copied to clipboard
open override val requester: UserInfo
Link copied to clipboard
open override val requesterAsync: CompletableFuture<out UserInfo>
Link copied to clipboard
abstract val timestamp: Timestamp
Link copied to clipboard
abstract val type: RequestEvent.Type
Link copied to clipboard
open override val user: UserInfo
Link copied to clipboard
open override val userAsync: CompletableFuture<out UserInfo>