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