The Node.js SDK re-exports the WAJS namespace for TypeScript. This reference describes types from WA-JS 4.8.5-rc.0 . For operations available on a connected Node.js client, see Whatsapp . For functions running inside WhatsApp Web, see the WA-JS browser API .
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/MsgKey.d.ts:21
Constructors
constructor
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/MsgKey.d.ts:22
Properties
_ serialized
_serialized : string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/MsgKey.d.ts:38
from Me
fromMe : boolean
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/MsgKey.d.ts:34
id
id : string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/MsgKey.d.ts:35
participant
participant : any
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/MsgKey.d.ts:37
remote
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/MsgKey.d.ts:36
Methods
clone
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/MsgKey.d.ts:40
equals
equals ( key : unknown ) : key is MsgKey
Returns key is MsgKey
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/MsgKey.d.ts:41
to String
Returns string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/MsgKey.d.ts:39
Staticfrom String
fromString ( key : string ) : MsgKey
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/MsgKey.d.ts:42
Staticnew Id
Returns Promise < string >
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/MsgKey.d.ts:46
Whatsapp
65212
Whatsapp
32219 >= 2.2204.13
Whatsapp
465212 >= 2.2222.8