Skip to content

适配器自定义事件:不归属以上四类时使用

Extends ​

Properties ​

bot? ​

readonly optional bot?: BotBase

Inherited from ​

EventBase.bot


identity ​

readonly identity: EventIdentity

Inherited from ​

EventBase.identity


kind ​

readonly kind: "adapter"

事件大类:message / notice / request / meta_event / adapter

Overrides ​

EventBase.kind


payload ​

readonly payload: unknown


raw? ​

readonly optional raw?: unknown

Inherited from ​

EventBase.raw


routes ​

readonly routes: readonly string[]

该事件可匹配的路由列表,由 buildRoutes 生成

Inherited from ​

EventBase.routes


self_id? ​

readonly optional self_id?: string

Inherited from ​

EventBase.self_id


time? ​

readonly optional time?: number

Inherited from ​

EventBase.time


type ​

readonly type: string

事件类型,如 message、notice.group.poke

Inherited from ​

EventBase.type

Released under the MIT License with love.