Skip to content

适配器状态上报。 带 bot_id 表示这是某个具体实例的状态,缺省则视为整个适配器的状态。

Properties ​

adapter ​

readonly adapter: string


bot_id? ​

readonly optional bot_id?: string


data ​

readonly data: Readonly<Record<string, unknown>>

原始数据,仅供插件读取,core 不展示


impl? ​

readonly optional impl?: string

实现端名称,如 NapCat / LLOneBot,由平台自报


platform? ​

readonly optional platform?: string

登录设备 / 平台,如 aPad、iPhone


platform_version? ​

readonly optional platform_version?: string

登录设备对应的客户端版本,如 icqq 的签名版本 9.3.50.40225


protocol? ​

readonly optional protocol?: string

协议版本,如 OneBot 的 v11


stats? ​

readonly optional stats?: AdapterStatusStats


version? ​

readonly optional version?: string

实现端版本,如 OneBot 实现端的 app_version

Released under the MIT License with love.