From 60302d73d528d253aab191539c5000c24a02c22b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 1 Apr 2026 01:01:11 -0300 Subject: [PATCH] chore: update proto/version to v2.3000.1036375660 (#334) Co-authored-by: rsalcara --- WAProto/WAProto.proto | 4 +++- WAProto/index.d.ts | 5 ++++- WAProto/index.js | 26 ++++++++++++++++++++++++++ src/Defaults/baileys-version.json | 2 +- 4 files changed, 34 insertions(+), 3 deletions(-) diff --git a/WAProto/WAProto.proto b/WAProto/WAProto.proto index 4d3d964a..856a458c 100644 --- a/WAProto/WAProto.proto +++ b/WAProto/WAProto.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package proto; -/// WhatsApp Version: 2.3000.1036244875 +/// WhatsApp Version: 2.3000.1036375660 message ADVDeviceIdentity { optional uint32 rawId = 1; @@ -1664,6 +1664,7 @@ message DeviceCapabilities { optional bool companionSupportEnabled = 2; optional bool campaignSyncEnabled = 3; optional bool insightsSyncEnabled = 4; + optional int32 recipientLimit = 5; } enum ChatLockSupportLevel { @@ -5998,6 +5999,7 @@ message WebMessageInfo { GROUP_OPEN_BOT_ADDED = 222; GROUP_TEE_BOT_ADDED = 223; CONTACT_INFO = 224; + SCHEDULED_MESSAGE_CREATED = 225; } } diff --git a/WAProto/index.d.ts b/WAProto/index.d.ts index 0047bfcd..a6182910 100644 --- a/WAProto/index.d.ts +++ b/WAProto/index.d.ts @@ -4059,6 +4059,7 @@ export namespace proto { companionSupportEnabled?: (boolean|null); campaignSyncEnabled?: (boolean|null); insightsSyncEnabled?: (boolean|null); + recipientLimit?: (number|null); } class BusinessBroadcast implements IBusinessBroadcast { @@ -4067,6 +4068,7 @@ export namespace proto { public companionSupportEnabled?: (boolean|null); public campaignSyncEnabled?: (boolean|null); public insightsSyncEnabled?: (boolean|null); + public recipientLimit?: (number|null); public static create(properties?: proto.DeviceCapabilities.IBusinessBroadcast): proto.DeviceCapabilities.BusinessBroadcast; public static encode(m: proto.DeviceCapabilities.IBusinessBroadcast, w?: $protobuf.Writer): $protobuf.Writer; public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.DeviceCapabilities.BusinessBroadcast; @@ -15225,7 +15227,8 @@ export namespace proto { GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221, GROUP_OPEN_BOT_ADDED = 222, GROUP_TEE_BOT_ADDED = 223, - CONTACT_INFO = 224 + CONTACT_INFO = 224, + SCHEDULED_MESSAGE_CREATED = 225 } } diff --git a/WAProto/index.js b/WAProto/index.js index 065a209a..804c9b3f 100644 --- a/WAProto/index.js +++ b/WAProto/index.js @@ -27660,6 +27660,7 @@ export const proto = $root.proto = (() => { BusinessBroadcast.prototype.companionSupportEnabled = null; BusinessBroadcast.prototype.campaignSyncEnabled = null; BusinessBroadcast.prototype.insightsSyncEnabled = null; + BusinessBroadcast.prototype.recipientLimit = null; let $oneOfFields; @@ -27687,6 +27688,12 @@ export const proto = $root.proto = (() => { set: $util.oneOfSetter($oneOfFields) }); + // Virtual OneOf for proto3 optional field + Object.defineProperty(BusinessBroadcast.prototype, "_recipientLimit", { + get: $util.oneOfGetter($oneOfFields = ["recipientLimit"]), + set: $util.oneOfSetter($oneOfFields) + }); + BusinessBroadcast.create = function create(properties) { return new BusinessBroadcast(properties); }; @@ -27702,6 +27709,8 @@ export const proto = $root.proto = (() => { w.uint32(24).bool(m.campaignSyncEnabled); if (m.insightsSyncEnabled != null && Object.hasOwnProperty.call(m, "insightsSyncEnabled")) w.uint32(32).bool(m.insightsSyncEnabled); + if (m.recipientLimit != null && Object.hasOwnProperty.call(m, "recipientLimit")) + w.uint32(40).int32(m.recipientLimit); return w; }; @@ -27730,6 +27739,10 @@ export const proto = $root.proto = (() => { m.insightsSyncEnabled = r.bool(); break; } + case 5: { + m.recipientLimit = r.int32(); + break; + } default: r.skipType(t & 7); break; @@ -27754,6 +27767,9 @@ export const proto = $root.proto = (() => { if (d.insightsSyncEnabled != null) { m.insightsSyncEnabled = Boolean(d.insightsSyncEnabled); } + if (d.recipientLimit != null) { + m.recipientLimit = d.recipientLimit | 0; + } return m; }; @@ -27781,6 +27797,11 @@ export const proto = $root.proto = (() => { if (o.oneofs) d._insightsSyncEnabled = "insightsSyncEnabled"; } + if (m.recipientLimit != null && m.hasOwnProperty("recipientLimit")) { + d.recipientLimit = m.recipientLimit; + if (o.oneofs) + d._recipientLimit = "recipientLimit"; + } return d; }; @@ -105634,6 +105655,10 @@ export const proto = $root.proto = (() => { case 224: m.messageStubType = 224; break; + case "SCHEDULED_MESSAGE_CREATED": + case 225: + m.messageStubType = 225; + break; } if (d.clearMedia != null) { m.clearMedia = Boolean(d.clearMedia); @@ -106617,6 +106642,7 @@ export const proto = $root.proto = (() => { values[valuesById[222] = "GROUP_OPEN_BOT_ADDED"] = 222; values[valuesById[223] = "GROUP_TEE_BOT_ADDED"] = 223; values[valuesById[224] = "CONTACT_INFO"] = 224; + values[valuesById[225] = "SCHEDULED_MESSAGE_CREATED"] = 225; return values; })(); diff --git a/src/Defaults/baileys-version.json b/src/Defaults/baileys-version.json index 6e1f1ddc..503c08fd 100644 --- a/src/Defaults/baileys-version.json +++ b/src/Defaults/baileys-version.json @@ -1 +1 @@ -{"version":[2,3000,1036326359]} +{"version": [2, 3000, 1036375660]}