From fa417f2a6dc3643d7a8ef77b99904965e232ba7b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 26 Feb 2026 00:46:17 -0300 Subject: [PATCH] chore: update proto/version to v2.3000.1034095029 (#226) Co-authored-by: rsalcara --- WAProto/WAProto.proto | 19 +- WAProto/index.d.ts | 44 ++++- WAProto/index.js | 280 ++++++++++++++++++++++++++++++ src/Defaults/baileys-version.json | 2 +- 4 files changed, 341 insertions(+), 4 deletions(-) diff --git a/WAProto/WAProto.proto b/WAProto/WAProto.proto index 78d620cf..b81f92e3 100644 --- a/WAProto/WAProto.proto +++ b/WAProto/WAProto.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package proto; -/// WhatsApp Version: 2.3000.1034008163 +/// WhatsApp Version: 2.3000.1034095029 message ADVDeviceIdentity { optional uint32 rawId = 1; @@ -909,6 +909,7 @@ message BotSignatureVerificationUseCaseProof { enum BotSignatureUseCase { UNSPECIFIED = 0; WA_BOT_MSG = 1; + WA_TEE_BOT_MSG = 2; } } @@ -1940,6 +1941,7 @@ message HistorySync { optional string companionMetaNonce = 16; optional bytes shareableChatIdentifierEncryptionKey = 17; repeated Account accounts = 18; + optional bytes nctSalt = 19; enum BotAIWaitListState { IN_WAITLIST = 0; AI_AVAILABLE = 1; @@ -2112,6 +2114,7 @@ message LimitSharing { CHAT_SETTING = 1; BIZ_SUPPORTS_FB_HOSTING = 2; UNKNOWN_GROUP = 3; + DEPRECATION = 4; } } @@ -2270,6 +2273,7 @@ message Message { optional FutureProofMessage newsletterAdminProfileMessageV2 = 117; optional FutureProofMessage spoilerMessage = 118; optional PollCreationMessage pollCreationMessageV6 = 119; + optional ConditionalRevealMessage conditionalRevealMessage = 120; message AlbumMessage { optional uint32 expectedImageCount = 2; optional uint32 expectedVideoCount = 3; @@ -2474,6 +2478,17 @@ message Message { optional MessageKey targetMessageKey = 2; } + message ConditionalRevealMessage { + optional bytes encPayload = 1; + optional bytes encIv = 2; + optional ConditionalRevealMessageType conditionalRevealMessageType = 3; + optional string revealKeyId = 4; + enum ConditionalRevealMessageType { + UNKNOWN = 0; + SCHEDULED_MESSAGE = 1; + } + } + message ContactMessage { optional string displayName = 1; optional string vcard = 16; @@ -5164,6 +5179,8 @@ message SyncActionValue { message StatusPrivacyAction { optional StatusDistributionMode mode = 1; repeated string userJid = 2; + optional bool shareToFB = 3; + optional bool shareToIG = 4; enum StatusDistributionMode { ALLOW_LIST = 0; DENY_LIST = 1; diff --git a/WAProto/index.d.ts b/WAProto/index.d.ts index 8f75373b..d920979c 100644 --- a/WAProto/index.d.ts +++ b/WAProto/index.d.ts @@ -2326,7 +2326,8 @@ export namespace proto { enum BotSignatureUseCase { UNSPECIFIED = 0, - WA_BOT_MSG = 1 + WA_BOT_MSG = 1, + WA_TEE_BOT_MSG = 2 } } @@ -4775,6 +4776,7 @@ export namespace proto { companionMetaNonce?: (string|null); shareableChatIdentifierEncryptionKey?: (Uint8Array|null); accounts?: (proto.IAccount[]|null); + nctSalt?: (Uint8Array|null); } class HistorySync implements IHistorySync { @@ -4796,6 +4798,7 @@ export namespace proto { public companionMetaNonce?: (string|null); public shareableChatIdentifierEncryptionKey?: (Uint8Array|null); public accounts: proto.IAccount[]; + public nctSalt?: (Uint8Array|null); public static create(properties?: proto.IHistorySync): proto.HistorySync; public static encode(m: proto.IHistorySync, w?: $protobuf.Writer): $protobuf.Writer; public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.HistorySync; @@ -5291,7 +5294,8 @@ export namespace proto { UNKNOWN = 0, CHAT_SETTING = 1, BIZ_SUPPORTS_FB_HOSTING = 2, - UNKNOWN_GROUP = 3 + UNKNOWN_GROUP = 3, + DEPRECATION = 4 } } @@ -5551,6 +5555,7 @@ export namespace proto { newsletterAdminProfileMessageV2?: (proto.Message.IFutureProofMessage|null); spoilerMessage?: (proto.Message.IFutureProofMessage|null); pollCreationMessageV6?: (proto.Message.IPollCreationMessage|null); + conditionalRevealMessage?: (proto.Message.IConditionalRevealMessage|null); } class Message implements IMessage { @@ -5654,6 +5659,7 @@ export namespace proto { public newsletterAdminProfileMessageV2?: (proto.Message.IFutureProofMessage|null); public spoilerMessage?: (proto.Message.IFutureProofMessage|null); public pollCreationMessageV6?: (proto.Message.IPollCreationMessage|null); + public conditionalRevealMessage?: (proto.Message.IConditionalRevealMessage|null); public static create(properties?: proto.IMessage): proto.Message; public static encode(m: proto.IMessage, w?: $protobuf.Writer): $protobuf.Writer; public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message; @@ -6233,6 +6239,36 @@ export namespace proto { public static getTypeUrl(typeUrlPrefix?: string): string; } + interface IConditionalRevealMessage { + encPayload?: (Uint8Array|null); + encIv?: (Uint8Array|null); + conditionalRevealMessageType?: (proto.Message.ConditionalRevealMessage.ConditionalRevealMessageType|null); + revealKeyId?: (string|null); + } + + class ConditionalRevealMessage implements IConditionalRevealMessage { + constructor(p?: proto.Message.IConditionalRevealMessage); + public encPayload?: (Uint8Array|null); + public encIv?: (Uint8Array|null); + public conditionalRevealMessageType?: (proto.Message.ConditionalRevealMessage.ConditionalRevealMessageType|null); + public revealKeyId?: (string|null); + public static create(properties?: proto.Message.IConditionalRevealMessage): proto.Message.ConditionalRevealMessage; + public static encode(m: proto.Message.IConditionalRevealMessage, w?: $protobuf.Writer): $protobuf.Writer; + public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.ConditionalRevealMessage; + public static fromObject(d: { [k: string]: any }): proto.Message.ConditionalRevealMessage; + public static toObject(m: proto.Message.ConditionalRevealMessage, o?: $protobuf.IConversionOptions): { [k: string]: any }; + public toJSON(): { [k: string]: any }; + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace ConditionalRevealMessage { + + enum ConditionalRevealMessageType { + UNKNOWN = 0, + SCHEDULED_MESSAGE = 1 + } + } + interface IContactMessage { displayName?: (string|null); vcard?: (string|null); @@ -13381,12 +13417,16 @@ export namespace proto { interface IStatusPrivacyAction { mode?: (proto.SyncActionValue.StatusPrivacyAction.StatusDistributionMode|null); userJid?: (string[]|null); + shareToFB?: (boolean|null); + shareToIG?: (boolean|null); } class StatusPrivacyAction implements IStatusPrivacyAction { constructor(p?: proto.SyncActionValue.IStatusPrivacyAction); public mode?: (proto.SyncActionValue.StatusPrivacyAction.StatusDistributionMode|null); public userJid: string[]; + public shareToFB?: (boolean|null); + public shareToIG?: (boolean|null); public static create(properties?: proto.SyncActionValue.IStatusPrivacyAction): proto.SyncActionValue.StatusPrivacyAction; public static encode(m: proto.SyncActionValue.IStatusPrivacyAction, w?: $protobuf.Writer): $protobuf.Writer; public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue.StatusPrivacyAction; diff --git a/WAProto/index.js b/WAProto/index.js index 76de2e6d..35add1a8 100644 --- a/WAProto/index.js +++ b/WAProto/index.js @@ -14874,6 +14874,10 @@ export const proto = $root.proto = (() => { case 1: m.useCase = 1; break; + case "WA_TEE_BOT_MSG": + case 2: + m.useCase = 2; + break; } if (d.signature != null) { if (typeof d.signature === "string") @@ -14941,6 +14945,7 @@ export const proto = $root.proto = (() => { const valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "UNSPECIFIED"] = 0; values[valuesById[1] = "WA_BOT_MSG"] = 1; + values[valuesById[2] = "WA_TEE_BOT_MSG"] = 2; return values; })(); @@ -26517,6 +26522,10 @@ export const proto = $root.proto = (() => { case 3: m.limitSharingTrigger = 3; break; + case "DEPRECATION": + case 4: + m.limitSharingTrigger = 4; + break; } if (d.limitSharingInitiatedByMe != null) { m.limitSharingInitiatedByMe = Boolean(d.limitSharingInitiatedByMe); @@ -32625,6 +32634,7 @@ export const proto = $root.proto = (() => { HistorySync.prototype.companionMetaNonce = null; HistorySync.prototype.shareableChatIdentifierEncryptionKey = null; HistorySync.prototype.accounts = $util.emptyArray; + HistorySync.prototype.nctSalt = null; let $oneOfFields; @@ -32682,6 +32692,12 @@ export const proto = $root.proto = (() => { set: $util.oneOfSetter($oneOfFields) }); + // Virtual OneOf for proto3 optional field + Object.defineProperty(HistorySync.prototype, "_nctSalt", { + get: $util.oneOfGetter($oneOfFields = ["nctSalt"]), + set: $util.oneOfSetter($oneOfFields) + }); + HistorySync.create = function create(properties) { return new HistorySync(properties); }; @@ -32739,6 +32755,8 @@ export const proto = $root.proto = (() => { for (var i = 0; i < m.accounts.length; ++i) $root.proto.Account.encode(m.accounts[i], w.uint32(146).fork()).ldelim(); } + if (m.nctSalt != null && Object.hasOwnProperty.call(m, "nctSalt")) + w.uint32(154).bytes(m.nctSalt); return w; }; @@ -32835,6 +32853,10 @@ export const proto = $root.proto = (() => { m.accounts.push($root.proto.Account.decode(r, r.uint32())); break; } + case 19: { + m.nctSalt = r.bytes(); + break; + } default: r.skipType(t & 7); break; @@ -33008,6 +33030,12 @@ export const proto = $root.proto = (() => { m.accounts[i] = $root.proto.Account.fromObject(d.accounts[i]); } } + if (d.nctSalt != null) { + if (typeof d.nctSalt === "string") + $util.base64.decode(d.nctSalt, m.nctSalt = $util.newBuffer($util.base64.length(d.nctSalt)), 0); + else if (d.nctSalt.length >= 0) + m.nctSalt = d.nctSalt; + } return m; }; @@ -33118,6 +33146,11 @@ export const proto = $root.proto = (() => { d.accounts[j] = $root.proto.Account.toObject(m.accounts[j], o); } } + if (m.nctSalt != null && m.hasOwnProperty("nctSalt")) { + d.nctSalt = o.bytes === String ? $util.base64.encode(m.nctSalt, 0, m.nctSalt.length) : o.bytes === Array ? Array.prototype.slice.call(m.nctSalt) : m.nctSalt; + if (o.oneofs) + d._nctSalt = "nctSalt"; + } return d; }; @@ -36256,6 +36289,10 @@ export const proto = $root.proto = (() => { case 3: m.trigger = 3; break; + case "DEPRECATION": + case 4: + m.trigger = 4; + break; } if (d.limitSharingSettingTimestamp != null) { if ($util.Long) @@ -36320,6 +36357,7 @@ export const proto = $root.proto = (() => { values[valuesById[1] = "CHAT_SETTING"] = 1; values[valuesById[2] = "BIZ_SUPPORTS_FB_HOSTING"] = 2; values[valuesById[3] = "UNKNOWN_GROUP"] = 3; + values[valuesById[4] = "DEPRECATION"] = 4; return values; })(); @@ -37373,6 +37411,7 @@ export const proto = $root.proto = (() => { Message.prototype.newsletterAdminProfileMessageV2 = null; Message.prototype.spoilerMessage = null; Message.prototype.pollCreationMessageV6 = null; + Message.prototype.conditionalRevealMessage = null; let $oneOfFields; @@ -37970,6 +38009,12 @@ export const proto = $root.proto = (() => { set: $util.oneOfSetter($oneOfFields) }); + // Virtual OneOf for proto3 optional field + Object.defineProperty(Message.prototype, "_conditionalRevealMessage", { + get: $util.oneOfGetter($oneOfFields = ["conditionalRevealMessage"]), + set: $util.oneOfSetter($oneOfFields) + }); + Message.create = function create(properties) { return new Message(properties); }; @@ -38175,6 +38220,8 @@ export const proto = $root.proto = (() => { $root.proto.Message.FutureProofMessage.encode(m.spoilerMessage, w.uint32(946).fork()).ldelim(); if (m.pollCreationMessageV6 != null && Object.hasOwnProperty.call(m, "pollCreationMessageV6")) $root.proto.Message.PollCreationMessage.encode(m.pollCreationMessageV6, w.uint32(954).fork()).ldelim(); + if (m.conditionalRevealMessage != null && Object.hasOwnProperty.call(m, "conditionalRevealMessage")) + $root.proto.Message.ConditionalRevealMessage.encode(m.conditionalRevealMessage, w.uint32(962).fork()).ldelim(); return w; }; @@ -38583,6 +38630,10 @@ export const proto = $root.proto = (() => { m.pollCreationMessageV6 = $root.proto.Message.PollCreationMessage.decode(r, r.uint32()); break; } + case 120: { + m.conditionalRevealMessage = $root.proto.Message.ConditionalRevealMessage.decode(r, r.uint32()); + break; + } default: r.skipType(t & 7); break; @@ -39088,6 +39139,11 @@ export const proto = $root.proto = (() => { throw TypeError(".proto.Message.pollCreationMessageV6: object expected"); m.pollCreationMessageV6 = $root.proto.Message.PollCreationMessage.fromObject(d.pollCreationMessageV6); } + if (d.conditionalRevealMessage != null) { + if (typeof d.conditionalRevealMessage !== "object") + throw TypeError(".proto.Message.conditionalRevealMessage: object expected"); + m.conditionalRevealMessage = $root.proto.Message.ConditionalRevealMessage.fromObject(d.conditionalRevealMessage); + } return m; }; @@ -39590,6 +39646,11 @@ export const proto = $root.proto = (() => { if (o.oneofs) d._pollCreationMessageV6 = "pollCreationMessageV6"; } + if (m.conditionalRevealMessage != null && m.hasOwnProperty("conditionalRevealMessage")) { + d.conditionalRevealMessage = $root.proto.Message.ConditionalRevealMessage.toObject(m.conditionalRevealMessage, o); + if (o.oneofs) + d._conditionalRevealMessage = "conditionalRevealMessage"; + } return d; }; @@ -43409,6 +43470,183 @@ export const proto = $root.proto = (() => { return CommentMessage; })(); + Message.ConditionalRevealMessage = (function() { + + function ConditionalRevealMessage(p) { + if (p) + for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) + if (p[ks[i]] != null) + this[ks[i]] = p[ks[i]]; + } + + ConditionalRevealMessage.prototype.encPayload = null; + ConditionalRevealMessage.prototype.encIv = null; + ConditionalRevealMessage.prototype.conditionalRevealMessageType = null; + ConditionalRevealMessage.prototype.revealKeyId = null; + + let $oneOfFields; + + // Virtual OneOf for proto3 optional field + Object.defineProperty(ConditionalRevealMessage.prototype, "_encPayload", { + get: $util.oneOfGetter($oneOfFields = ["encPayload"]), + set: $util.oneOfSetter($oneOfFields) + }); + + // Virtual OneOf for proto3 optional field + Object.defineProperty(ConditionalRevealMessage.prototype, "_encIv", { + get: $util.oneOfGetter($oneOfFields = ["encIv"]), + set: $util.oneOfSetter($oneOfFields) + }); + + // Virtual OneOf for proto3 optional field + Object.defineProperty(ConditionalRevealMessage.prototype, "_conditionalRevealMessageType", { + get: $util.oneOfGetter($oneOfFields = ["conditionalRevealMessageType"]), + set: $util.oneOfSetter($oneOfFields) + }); + + // Virtual OneOf for proto3 optional field + Object.defineProperty(ConditionalRevealMessage.prototype, "_revealKeyId", { + get: $util.oneOfGetter($oneOfFields = ["revealKeyId"]), + set: $util.oneOfSetter($oneOfFields) + }); + + ConditionalRevealMessage.create = function create(properties) { + return new ConditionalRevealMessage(properties); + }; + + ConditionalRevealMessage.encode = function encode(m, w) { + if (!w) + w = $Writer.create(); + if (m.encPayload != null && Object.hasOwnProperty.call(m, "encPayload")) + w.uint32(10).bytes(m.encPayload); + if (m.encIv != null && Object.hasOwnProperty.call(m, "encIv")) + w.uint32(18).bytes(m.encIv); + if (m.conditionalRevealMessageType != null && Object.hasOwnProperty.call(m, "conditionalRevealMessageType")) + w.uint32(24).int32(m.conditionalRevealMessageType); + if (m.revealKeyId != null && Object.hasOwnProperty.call(m, "revealKeyId")) + w.uint32(34).string(m.revealKeyId); + return w; + }; + + ConditionalRevealMessage.decode = function decode(r, l, e) { + if (!(r instanceof $Reader)) + r = $Reader.create(r); + var c = l === undefined ? r.len : r.pos + l, m = new $root.proto.Message.ConditionalRevealMessage(); + while (r.pos < c) { + var t = r.uint32(); + if (t === e) + break; + switch (t >>> 3) { + case 1: { + m.encPayload = r.bytes(); + break; + } + case 2: { + m.encIv = r.bytes(); + break; + } + case 3: { + m.conditionalRevealMessageType = r.int32(); + break; + } + case 4: { + m.revealKeyId = r.string(); + break; + } + default: + r.skipType(t & 7); + break; + } + } + return m; + }; + + ConditionalRevealMessage.fromObject = function fromObject(d) { + if (d instanceof $root.proto.Message.ConditionalRevealMessage) + return d; + var m = new $root.proto.Message.ConditionalRevealMessage(); + if (d.encPayload != null) { + if (typeof d.encPayload === "string") + $util.base64.decode(d.encPayload, m.encPayload = $util.newBuffer($util.base64.length(d.encPayload)), 0); + else if (d.encPayload.length >= 0) + m.encPayload = d.encPayload; + } + if (d.encIv != null) { + if (typeof d.encIv === "string") + $util.base64.decode(d.encIv, m.encIv = $util.newBuffer($util.base64.length(d.encIv)), 0); + else if (d.encIv.length >= 0) + m.encIv = d.encIv; + } + switch (d.conditionalRevealMessageType) { + default: + if (typeof d.conditionalRevealMessageType === "number") { + m.conditionalRevealMessageType = d.conditionalRevealMessageType; + break; + } + break; + case "UNKNOWN": + case 0: + m.conditionalRevealMessageType = 0; + break; + case "SCHEDULED_MESSAGE": + case 1: + m.conditionalRevealMessageType = 1; + break; + } + if (d.revealKeyId != null) { + m.revealKeyId = String(d.revealKeyId); + } + return m; + }; + + ConditionalRevealMessage.toObject = function toObject(m, o) { + if (!o) + o = {}; + var d = {}; + if (m.encPayload != null && m.hasOwnProperty("encPayload")) { + d.encPayload = o.bytes === String ? $util.base64.encode(m.encPayload, 0, m.encPayload.length) : o.bytes === Array ? Array.prototype.slice.call(m.encPayload) : m.encPayload; + if (o.oneofs) + d._encPayload = "encPayload"; + } + if (m.encIv != null && m.hasOwnProperty("encIv")) { + d.encIv = o.bytes === String ? $util.base64.encode(m.encIv, 0, m.encIv.length) : o.bytes === Array ? Array.prototype.slice.call(m.encIv) : m.encIv; + if (o.oneofs) + d._encIv = "encIv"; + } + if (m.conditionalRevealMessageType != null && m.hasOwnProperty("conditionalRevealMessageType")) { + d.conditionalRevealMessageType = o.enums === String ? $root.proto.Message.ConditionalRevealMessage.ConditionalRevealMessageType[m.conditionalRevealMessageType] === undefined ? m.conditionalRevealMessageType : $root.proto.Message.ConditionalRevealMessage.ConditionalRevealMessageType[m.conditionalRevealMessageType] : m.conditionalRevealMessageType; + if (o.oneofs) + d._conditionalRevealMessageType = "conditionalRevealMessageType"; + } + if (m.revealKeyId != null && m.hasOwnProperty("revealKeyId")) { + d.revealKeyId = m.revealKeyId; + if (o.oneofs) + d._revealKeyId = "revealKeyId"; + } + return d; + }; + + ConditionalRevealMessage.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + ConditionalRevealMessage.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/proto.Message.ConditionalRevealMessage"; + }; + + ConditionalRevealMessage.ConditionalRevealMessageType = (function() { + const valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "UNKNOWN"] = 0; + values[valuesById[1] = "SCHEDULED_MESSAGE"] = 1; + return values; + })(); + + return ConditionalRevealMessage; + })(); + Message.ContactMessage = (function() { function ContactMessage(p) { @@ -92610,6 +92848,8 @@ export const proto = $root.proto = (() => { StatusPrivacyAction.prototype.mode = null; StatusPrivacyAction.prototype.userJid = $util.emptyArray; + StatusPrivacyAction.prototype.shareToFB = null; + StatusPrivacyAction.prototype.shareToIG = null; let $oneOfFields; @@ -92619,6 +92859,18 @@ export const proto = $root.proto = (() => { set: $util.oneOfSetter($oneOfFields) }); + // Virtual OneOf for proto3 optional field + Object.defineProperty(StatusPrivacyAction.prototype, "_shareToFB", { + get: $util.oneOfGetter($oneOfFields = ["shareToFB"]), + set: $util.oneOfSetter($oneOfFields) + }); + + // Virtual OneOf for proto3 optional field + Object.defineProperty(StatusPrivacyAction.prototype, "_shareToIG", { + get: $util.oneOfGetter($oneOfFields = ["shareToIG"]), + set: $util.oneOfSetter($oneOfFields) + }); + StatusPrivacyAction.create = function create(properties) { return new StatusPrivacyAction(properties); }; @@ -92632,6 +92884,10 @@ export const proto = $root.proto = (() => { for (var i = 0; i < m.userJid.length; ++i) w.uint32(18).string(m.userJid[i]); } + if (m.shareToFB != null && Object.hasOwnProperty.call(m, "shareToFB")) + w.uint32(24).bool(m.shareToFB); + if (m.shareToIG != null && Object.hasOwnProperty.call(m, "shareToIG")) + w.uint32(32).bool(m.shareToIG); return w; }; @@ -92654,6 +92910,14 @@ export const proto = $root.proto = (() => { m.userJid.push(r.string()); break; } + case 3: { + m.shareToFB = r.bool(); + break; + } + case 4: { + m.shareToIG = r.bool(); + break; + } default: r.skipType(t & 7); break; @@ -92698,6 +92962,12 @@ export const proto = $root.proto = (() => { m.userJid[i] = String(d.userJid[i]); } } + if (d.shareToFB != null) { + m.shareToFB = Boolean(d.shareToFB); + } + if (d.shareToIG != null) { + m.shareToIG = Boolean(d.shareToIG); + } return m; }; @@ -92719,6 +92989,16 @@ export const proto = $root.proto = (() => { d.userJid[j] = m.userJid[j]; } } + if (m.shareToFB != null && m.hasOwnProperty("shareToFB")) { + d.shareToFB = m.shareToFB; + if (o.oneofs) + d._shareToFB = "shareToFB"; + } + if (m.shareToIG != null && m.hasOwnProperty("shareToIG")) { + d.shareToIG = m.shareToIG; + if (o.oneofs) + d._shareToIG = "shareToIG"; + } return d; }; diff --git a/src/Defaults/baileys-version.json b/src/Defaults/baileys-version.json index 9dc0919d..5affef4c 100644 --- a/src/Defaults/baileys-version.json +++ b/src/Defaults/baileys-version.json @@ -1 +1 @@ -{"version":[2,3000,1034014848]} +{"version": [2, 3000, 1034095029]}