@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
21 lines (20 loc) • 714 B
TypeScript
import type { OpenClawConfig } from "../config/config.js";
import type { RuntimeEnv } from "../runtime.js";
export declare function startTelegramWebhook(opts: {
token: string;
accountId?: string;
config?: OpenClawConfig;
path?: string;
port?: number;
host?: string;
secret?: string;
runtime?: RuntimeEnv;
fetch?: typeof fetch;
abortSignal?: AbortSignal;
healthPath?: string;
publicUrl?: string;
}): Promise<{
server: import("node:http").Server<typeof import("node:http").IncomingMessage, typeof import("node:http").ServerResponse>;
bot: import("grammy").Bot<import("grammy").Context, import("grammy").Api<import("grammy").RawApi>>;
stop: () => void;
}>;