openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
21 lines • 821 B
TypeScript
import { i as OpenClawConfig } from "./types.openclaw-DBHlrrVj.js";
import { v as TelegramAccountConfig } from "./types.channels-ClE80MLB.js";
//#region extensions/telegram/src/account-inspect.d.ts
type TelegramCredentialStatus = "available" | "configured_unavailable" | "missing";
type InspectedTelegramAccount = {
accountId: string;
enabled: boolean;
name?: string;
token: string;
tokenSource: "env" | "tokenFile" | "config" | "none";
tokenStatus: TelegramCredentialStatus;
configured: boolean;
config: TelegramAccountConfig;
};
declare function inspectTelegramAccount(params: {
cfg: OpenClawConfig;
accountId?: string | null;
envToken?: string | null;
}): InspectedTelegramAccount;
//#endregion
export { TelegramCredentialStatus as n, inspectTelegramAccount as r, InspectedTelegramAccount as t };