mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-30 03:11:10 +00:00
10 lines
410 B
TypeScript
10 lines
410 B
TypeScript
import type { PluginRuntime } from "openclaw/plugin-sdk/core";
|
|
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
|
|
const {
|
|
setRuntime: setTelegramRuntime,
|
|
clearRuntime: clearTelegramRuntime,
|
|
getRuntime: getTelegramRuntime,
|
|
} = createPluginRuntimeStore<PluginRuntime>("Telegram runtime not initialized");
|
|
export { clearTelegramRuntime, getTelegramRuntime, setTelegramRuntime };
|