Skip to content

所有事件的公共基础结构

Extended by ​

Properties ​

bot? ​

readonly optional bot?: BotBase


identity ​

readonly identity: EventIdentity


kind ​

readonly kind: string

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


raw? ​

readonly optional raw?: unknown


routes ​

readonly routes: readonly string[]

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


self_id? ​

readonly optional self_id?: string


time? ​

readonly optional time?: number


type ​

readonly type: string

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

Released under the MIT License with love.