D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
etb1lp46s9ed
/
washeet.softurecs.com
/
node_modules
/
baileys
/
lib
/
WABinary
/
Filename :
types.d.ts
back
Copy
import * as constants from './constants.js'; /** * the binary node WA uses internally for communication * * this is manipulated soley as an object and it does not have any functions. * This is done for easy serialization, to prevent running into issues with prototypes & * to maintain functional code structure * */ export type BinaryNode = { tag: string; attrs: { [key: string]: string; }; content?: BinaryNode[] | string | Uint8Array; }; export type BinaryNodeAttributes = BinaryNode['attrs']; export type BinaryNodeData = BinaryNode['content']; export type BinaryNodeCodingOptions = typeof constants; //# sourceMappingURL=types.d.ts.map