mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-25 10:49:34 +00:00
10 lines
371 B
TypeScript
10 lines
371 B
TypeScript
// Telegram plugin module owns the lazy send runtime import.
|
|
export type TelegramSendModule = typeof import("./send.js");
|
|
|
|
let telegramSendModulePromise: Promise<TelegramSendModule> | undefined;
|
|
|
|
export async function loadTelegramSendModule(): Promise<TelegramSendModule> {
|
|
telegramSendModulePromise ??= import("./send.js");
|
|
return await telegramSendModulePromise;
|
|
}
|