Skip to content

通知事件:群成员变动、戳一戳等

Extends ​

Properties ​

bot ​

readonly bot: BotBase

Inherited from ​

BotEventBase.bot


group_id? ​

readonly optional group_id?: string


identity ​

readonly identity: EventIdentity

Inherited from ​

BotEventBase.identity


kind ​

readonly kind: "notice"

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

Overrides ​

BotEventBase.kind


notice_type? ​

readonly optional notice_type?: string


operator_id? ​

readonly optional operator_id?: string


raw? ​

readonly optional raw?: unknown

Inherited from ​

BotEventBase.raw


routes ​

readonly routes: readonly string[]

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

Inherited from ​

BotEventBase.routes


self_id ​

readonly self_id: string

Inherited from ​

BotEventBase.self_id


sub_type? ​

readonly optional sub_type?: string


time? ​

readonly optional time?: number

Inherited from ​

BotEventBase.time


type ​

readonly type: string

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

Inherited from ​

BotEventBase.type


user_id? ​

readonly optional user_id?: string

Released under the MIT License with love.