From be44c5fdb00c6ff638d8c1cae03da707ec005f6e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 20 Mar 2026 01:30:09 -0300 Subject: [PATCH] chore: update proto/version to v2.3000.1035577069 (#307) Co-authored-by: rsalcara --- WAProto/WAProto.proto | 4 ++-- WAProto/index.d.ts | 5 +++-- WAProto/index.js | 30 +++++++++++++++++++++--------- src/Defaults/baileys-version.json | 2 +- 4 files changed, 27 insertions(+), 14 deletions(-) diff --git a/WAProto/WAProto.proto b/WAProto/WAProto.proto index af98dad1..68842023 100644 --- a/WAProto/WAProto.proto +++ b/WAProto/WAProto.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package proto; -/// WhatsApp Version: 2.3000.1035484955 +/// WhatsApp Version: 2.3000.1035577069 message ADVDeviceIdentity { optional uint32 rawId = 1; @@ -2149,7 +2149,6 @@ message LimitSharing { CHAT_SETTING = 1; BIZ_SUPPORTS_FB_HOSTING = 2; UNKNOWN_GROUP = 3; - DEPRECATION = 4; } } @@ -4893,6 +4892,7 @@ message SyncActionValue { repeated SyncActionValue.BroadcastListParticipant participants = 2; optional string listName = 3; repeated string labelIds = 4; + optional string audienceExpression = 5; } message CallLogAction { diff --git a/WAProto/index.d.ts b/WAProto/index.d.ts index 8d42202c..e13454c7 100644 --- a/WAProto/index.d.ts +++ b/WAProto/index.d.ts @@ -5356,8 +5356,7 @@ export namespace proto { UNKNOWN = 0, CHAT_SETTING = 1, BIZ_SUPPORTS_FB_HOSTING = 2, - UNKNOWN_GROUP = 3, - DEPRECATION = 4 + UNKNOWN_GROUP = 3 } } @@ -12483,6 +12482,7 @@ export namespace proto { participants?: (proto.SyncActionValue.IBroadcastListParticipant[]|null); listName?: (string|null); labelIds?: (string[]|null); + audienceExpression?: (string|null); } class BusinessBroadcastListAction implements IBusinessBroadcastListAction { @@ -12491,6 +12491,7 @@ export namespace proto { public participants: proto.SyncActionValue.IBroadcastListParticipant[]; public listName?: (string|null); public labelIds: string[]; + public audienceExpression?: (string|null); public static create(properties?: proto.SyncActionValue.IBusinessBroadcastListAction): proto.SyncActionValue.BusinessBroadcastListAction; public static encode(m: proto.SyncActionValue.IBusinessBroadcastListAction, w?: $protobuf.Writer): $protobuf.Writer; public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue.BusinessBroadcastListAction; diff --git a/WAProto/index.js b/WAProto/index.js index 4daf4116..ae74c415 100644 --- a/WAProto/index.js +++ b/WAProto/index.js @@ -26692,10 +26692,6 @@ 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); @@ -36778,10 +36774,6 @@ 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) @@ -36846,7 +36838,6 @@ 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; })(); @@ -87581,6 +87572,7 @@ export const proto = $root.proto = (() => { BusinessBroadcastListAction.prototype.participants = $util.emptyArray; BusinessBroadcastListAction.prototype.listName = null; BusinessBroadcastListAction.prototype.labelIds = $util.emptyArray; + BusinessBroadcastListAction.prototype.audienceExpression = null; let $oneOfFields; @@ -87596,6 +87588,12 @@ export const proto = $root.proto = (() => { set: $util.oneOfSetter($oneOfFields) }); + // Virtual OneOf for proto3 optional field + Object.defineProperty(BusinessBroadcastListAction.prototype, "_audienceExpression", { + get: $util.oneOfGetter($oneOfFields = ["audienceExpression"]), + set: $util.oneOfSetter($oneOfFields) + }); + BusinessBroadcastListAction.create = function create(properties) { return new BusinessBroadcastListAction(properties); }; @@ -87615,6 +87613,8 @@ export const proto = $root.proto = (() => { for (var i = 0; i < m.labelIds.length; ++i) w.uint32(34).string(m.labelIds[i]); } + if (m.audienceExpression != null && Object.hasOwnProperty.call(m, "audienceExpression")) + w.uint32(42).string(m.audienceExpression); return w; }; @@ -87647,6 +87647,10 @@ export const proto = $root.proto = (() => { m.labelIds.push(r.string()); break; } + case 5: { + m.audienceExpression = r.string(); + break; + } default: r.skipType(t & 7); break; @@ -87683,6 +87687,9 @@ export const proto = $root.proto = (() => { m.labelIds[i] = String(d.labelIds[i]); } } + if (d.audienceExpression != null) { + m.audienceExpression = String(d.audienceExpression); + } return m; }; @@ -87716,6 +87723,11 @@ export const proto = $root.proto = (() => { d.labelIds[j] = m.labelIds[j]; } } + if (m.audienceExpression != null && m.hasOwnProperty("audienceExpression")) { + d.audienceExpression = m.audienceExpression; + if (o.oneofs) + d._audienceExpression = "audienceExpression"; + } return d; }; diff --git a/src/Defaults/baileys-version.json b/src/Defaults/baileys-version.json index a181c943..154112d5 100644 --- a/src/Defaults/baileys-version.json +++ b/src/Defaults/baileys-version.json @@ -1 +1 @@ -{"version":[2,3000,1035504971]} +{"version": [2, 3000, 1035577069]}