Files
Baileys/WABinary
2021-09-25 18:04:26 +05:30
..
2021-09-25 18:04:26 +05:30
2021-09-25 18:04:26 +05:30
2021-09-25 18:04:26 +05:30
2021-09-22 22:19:53 +05:30

WABinary

Contains the raw JS code to parse WA binary messages. WA uses a tree like structure to encode information, the type for which is written below:

export type BinaryNode = {
    tag: string
    attrs: Attributes
	content?: BinaryNode[] | string | Uint8Array
}

Do note, the multi-device binary format is very similar to the one on WA Web, though they are not backwards compatible.

Originally from pokearaujo/multidevice