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