UNPKG

@whiskeysockets/baileys

Version:

A WebSockets library for interacting with WhatsApp Web

25 lines (24 loc) 517 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.USyncLIDProtocol = void 0; class USyncLIDProtocol { constructor() { this.name = 'lid'; } getQueryElement() { return { tag: 'lid', attrs: {}, }; } getUserElement() { return null; } parser(node) { if (node.tag === 'lid') { return node.attrs.val; } return null; } } exports.USyncLIDProtocol = USyncLIDProtocol;