Download extensions/telegram/src/runtime.ts from Darochin/openskynet: direct link, hf CLI and curl.
- Browser
- Download file 344 Bytes
-
https://huggingface.co/Darochin/openskynet/resolve/main/extensions/telegram/src/runtime.ts
- Command line
-
hf download hf://Darochin/openskynet/extensions/telegram/src/runtime.ts
-
curl -L -o runtime.ts https://huggingface.co/Darochin/openskynet/resolve/main/extensions/telegram/src/runtime.ts
344 Bytes
| import { createPluginRuntimeStore } from "openclaw/plugin-sdk/compat"; | |
| import type { PluginRuntime } from "openclaw/plugin-sdk/telegram"; | |
| const { setRuntime: setTelegramRuntime, getRuntime: getTelegramRuntime } = | |
| createPluginRuntimeStore<PluginRuntime>("Telegram runtime not initialized"); | |
| export { getTelegramRuntime, setTelegramRuntime }; | |