feat: support per-channel ackReaction config (#17092) (thanks @zerone0x)

This commit is contained in:
Shadow
2026-02-15 11:29:51 -06:00
committed by Shadow
parent b3ef3fca75
commit b6069fc68c
14 changed files with 189 additions and 4 deletions

View File

@@ -502,7 +502,10 @@ export const buildTelegramMessageContext = async ({
}
// ACK reactions
const ackReaction = resolveAckReaction(cfg, route.agentId);
const ackReaction = resolveAckReaction(cfg, route.agentId, {
channel: "telegram",
accountId: account.accountId,
});
const removeAckAfterReply = cfg.messages?.removeAckAfterReply ?? false;
const shouldAckReaction = () =>
Boolean(