Add WhatsApp reactions support

Summary:

Test Plan:
This commit is contained in:
Sash Zats
2026-01-06 20:42:05 -05:00
committed by Peter Steinberger
parent aa87d6cee8
commit 551a8d5683
12 changed files with 207 additions and 2 deletions

View File

@@ -77,6 +77,10 @@ export type AgentElevatedAllowFromConfig = {
webchat?: Array<string | number>;
};
export type WhatsAppActionConfig = {
reactions?: boolean;
};
export type WhatsAppConfig = {
/** Optional per-account WhatsApp configuration (multi-account). */
accounts?: Record<string, WhatsAppAccountConfig>;
@@ -95,6 +99,8 @@ export type WhatsAppConfig = {
groupPolicy?: GroupPolicy;
/** Outbound text chunk size (chars). Default: 4000. */
textChunkLimit?: number;
/** Per-action tool gating (default: true for all). */
actions?: WhatsAppActionConfig;
groups?: Record<
string,
{