MiraiBotInvitedJoinGroupRequestEvent

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(): InvitorUserInfo

邀请人的信息,同 user

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

拒绝即代表忽略。

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun requester(): MiraiBot

申请人,即bot自己,同 bot

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

申请人,即bot自己,同 bot

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
open override val message: String?

bot被邀请的时候没有附加信息, 始终得到null。

Link copied to clipboard

原始的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
open override val type: RequestEvent.Type
Link copied to clipboard
open override val user: UserInfo
Link copied to clipboard
open override val userAsync: CompletableFuture<out UserInfo>