Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(arch): show the chat id argument of the ack callback

Yudhi Armyndharis65cf06b9bd69
diff --git a/docs/03-system-architecture.md b/docs/03-system-architecture.md
index 4273f1ecd..c55c0206e 100644
--- a/docs/03-system-architecture.md
+++ b/docs/03-system-architecture.md
@@ -919,7 +919,7 @@ export interface EngineEventCallbacks {
onReady?: (phone: string, pushName: string) => void;
onMessage?: (message: IncomingMessage) => void;
onMessageCreate?: (message: IncomingMessage) => void; // outgoing (incl. linked-phone sends)
- onMessageAck?: (messageId: string, status: DeliveryStatus) => void;
+ onMessageAck?: (messageId: string, status: DeliveryStatus, chatId?: string) => void;
onMessageRevoked?: (message: RevokedMessage) => void;
onMessageReaction?: (event: ReactionEvent) => void;
onMessageEdited?: (message: EditedMessage) => void;