UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

26 lines (25 loc) • 1.3 kB
import { n as createLazyRuntimeMethodBinder } from "./lazy-runtime-CJrzFzqU.mjs"; import { r as getRuntimeConfig } from "./io.runtime-BsUXSsD4.mjs"; import { s as readChannelAllowFromStore } from "./pairing-store-PqD57hIh.mjs"; import "./runtime-config-snapshot-A-BTduWa.mjs"; import "./conversation-runtime-Bvxldv6D.mjs"; import { t as listSkillCommandsForAgents } from "./chat-commands-DdEu_KDx.mjs"; import "./skill-commands-runtime-BrcX8lYz.mjs"; import { t as loadTelegramSendModule } from "./send-runtime-B7HpOpQl.mjs"; import { r as syncTelegramMenuCommands } from "./bot-native-command-menu-BeSL3n9F.mjs"; //#region extensions/telegram/src/bot-native-command-deps.runtime.ts const bindSend = createLazyRuntimeMethodBinder(loadTelegramSendModule); const defaultTelegramNativeCommandDeps = { getRuntimeConfig, readChannelAllowFromStore, listSkillCommandsForAgents, syncTelegramMenuCommands, async runModelsAuthLoginFlow(opts) { const { runModelsAuthLoginFlow } = await import("./plugin-sdk/provider-auth-login-flow-runtime.js"); return await runModelsAuthLoginFlow(opts); }, editMessageTelegram: bindSend((runtime) => runtime.editMessageTelegram), sendMessageTelegram: bindSend((runtime) => runtime.sendMessageTelegram) }; //#endregion export { defaultTelegramNativeCommandDeps as t };