Support decoding disappearing messages + events bug fix

This commit is contained in:
Adhiraj Singh
2020-11-18 23:05:57 +05:30
parent be92f5d33c
commit abde6563c9
13 changed files with 4655 additions and 488 deletions

View File

@@ -1,4 +1,4 @@
import { proto as Coding } from '../../WAMessage/WAMessage'
import {proto} from '../../WAMessage/WAMessage'
export namespace WA {
export const Tags = {
@@ -198,7 +198,7 @@ export namespace WA {
'video',
'recent',
]
export const Message = Coding.WebMessageInfo
export const Message = proto.WebMessageInfo
export type NodeAttributes = { [key: string]: string } | string | null
export type NodeData = Array<Node> | any | null
export type Node = [string, NodeAttributes, NodeData]