openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
42 lines (41 loc) • 1.64 kB
JavaScript
import { n as getRuntimeConfig } from "./io.runtime-B9iJRs3w.js";
import { s as readChannelAllowFromStore } from "./pairing-store-CxXcVQPq.js";
import { r as dispatchChannelInboundTurn } from "./channel-inbound-DreWTphY.js";
import "./runtime-config-snapshot-u1Kj68kx.js";
import "./conversation-runtime-xcCOAINs.js";
import { n as listSkillCommandsForAgents } from "./chat-commands-DMxLWfLz.js";
import "./skill-commands-runtime-BF2r0u98.js";
import { t as loadTelegramSendModule } from "./send-runtime-DkRdeScS.js";
import { r as syncTelegramMenuCommands } from "./bot-native-command-menu-CD00X_dv.js";
//#region extensions/telegram/src/bot-native-command-deps.runtime.ts
const defaultTelegramNativeCommandDeps = {
get getRuntimeConfig() {
return getRuntimeConfig;
},
get readChannelAllowFromStore() {
return readChannelAllowFromStore;
},
get dispatchChannelInboundTurn() {
return dispatchChannelInboundTurn;
},
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 };