openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
38 lines (37 loc) • 1.49 kB
JavaScript
import { r as getRuntimeConfig } from "./io.runtime-FunTy0y1.mjs";
import { s as readChannelAllowFromStore } from "./pairing-store-DKAYw0R1.mjs";
import "./runtime-config-snapshot-DPEZoubb.mjs";
import "./conversation-runtime-DxXESTtD.mjs";
import { t as listSkillCommandsForAgents } from "./chat-commands-DQ5iJVMA.mjs";
import "./skill-commands-runtime-CMgJdkW7.mjs";
import { t as loadTelegramSendModule } from "./send-runtime-BHXZmGv6.mjs";
import { r as syncTelegramMenuCommands } from "./bot-native-command-menu-CCcWz4-z.mjs";
//#region extensions/telegram/src/bot-native-command-deps.runtime.ts
const defaultTelegramNativeCommandDeps = {
get getRuntimeConfig() {
return getRuntimeConfig;
},
get readChannelAllowFromStore() {
return readChannelAllowFromStore;
},
get listSkillCommandsForAgents() {
return listSkillCommandsForAgents;
},
get syncTelegramMenuCommands() {
return syncTelegramMenuCommands;
},
async runModelsAuthLoginFlow(opts) {
const { runModelsAuthLoginFlow } = await import("./plugin-sdk/provider-auth-login-flow-runtime.js");
return await runModelsAuthLoginFlow(opts);
},
async editMessageTelegram(...args) {
const { editMessageTelegram } = await loadTelegramSendModule();
return await editMessageTelegram(...args);
},
async sendMessageTelegram(...args) {
const { sendMessageTelegram } = await loadTelegramSendModule();
return await sendMessageTelegram(...args);
}
};
//#endregion
export { defaultTelegramNativeCommandDeps as t };