UNPKG

@lobehub/chat

Version:

Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

32 lines (28 loc) 748 B
import { ShowTrayNotificationParams, UpdateTrayIconParams, UpdateTrayTooltipParams, } from '../types'; export interface TrayDispatchEvents { /** * 显示托盘通知 * @param params 通知参数 * @returns 操作结果 */ showTrayNotification: (params: ShowTrayNotificationParams) => { error?: string; success: boolean; }; /** * 更新托盘图标 * @param params 图标参数 * @returns 操作结果 */ updateTrayIcon: (params: UpdateTrayIconParams) => { error?: string; success: boolean }; /** * 更新托盘提示文本 * @param params 提示文本参数 * @returns 操作结果 */ updateTrayTooltip: (params: UpdateTrayTooltipParams) => { error?: string; success: boolean }; }