openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
20 lines (19 loc) • 603 B
JavaScript
import { g as resolveReactionLevel } from "./status-helpers-DtxKUBHF.js";
import { r as inspectTelegramAccount } from "./account-inspect-3WXhWjZW.js";
//#region extensions/telegram/src/reaction-level.ts
/**
* Resolve the effective reaction level and its implications.
*/
function resolveTelegramReactionLevel(params) {
const account = inspectTelegramAccount({
cfg: params.cfg,
accountId: params.accountId
});
return resolveReactionLevel({
value: account.config.reactionLevel,
defaultLevel: "minimal",
invalidFallback: "ack"
});
}
//#endregion
export { resolveTelegramReactionLevel as t };