From 1ab7f9b5619e84176f737f31ae1f3713b3a5ff13 Mon Sep 17 00:00:00 2001 From: Rajeh Taher Date: Wed, 9 Apr 2025 20:16:35 +0300 Subject: [PATCH] usync: add bot profile protocol to query class --- src/WAUSync/USyncQuery.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/WAUSync/USyncQuery.ts b/src/WAUSync/USyncQuery.ts index 0d4b676..18753b4 100644 --- a/src/WAUSync/USyncQuery.ts +++ b/src/WAUSync/USyncQuery.ts @@ -1,5 +1,7 @@ import { USyncQueryProtocol } from '../Types/USync' import { BinaryNode, getBinaryNodeChild } from '../WABinary' +import { USyncBotProfileProtocol } from './Protocols/UsyncBotProfileProtocol' +import { USyncLIDProtocol } from './Protocols/UsyncLIDProtocol' import { USyncContactProtocol, USyncDeviceProtocol, USyncDisappearingModeProtocol, USyncStatusProtocol } from './Protocols' import { USyncUser } from './USyncUser' @@ -100,4 +102,10 @@ export class USyncQuery { this.protocols.push(new USyncDisappearingModeProtocol()) return this } -} \ No newline at end of file + + withBotProfileProtocol() { + this.protocols.push(new USyncBotProfileProtocol()) + return this + } + +}