Skip to main content
buildAckStanza(node, errorCode?, meId?): BinaryNode
Defined in: src/Utils/stanza-ack.ts:11 Builds an ACK stanza for a received node. Pure function — no I/O, no side effects. Mirrors WhatsApp Web’s ACK construction:
  • WAWebHandleMsgSendAck.sendAck / sendNack
  • WAWebCreateNackFromStanza.createNackFromStanza

Parameters

node

BinaryNode

errorCode?

number

meId?

string

Returns

BinaryNode