diff --git a/WAProto/WAProto.proto b/WAProto/WAProto.proto index 7b672c91..26d04316 100644 --- a/WAProto/WAProto.proto +++ b/WAProto/WAProto.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package proto; -/// WhatsApp Version: 2.3000.1033533182 +/// WhatsApp Version: 2.3000.1033598431 message ADVDeviceIdentity { optional uint32 rawId = 1; @@ -1697,6 +1697,7 @@ message DeviceProps { optional bool completeOnDemandReady = 18; optional uint32 thumbnailSyncDaysLimit = 19; optional uint32 initialSyncMaxMessagesPerChat = 20; + optional bool supportManusHistory = 21; } enum PlatformType { diff --git a/WAProto/index.d.ts b/WAProto/index.d.ts index ce2d84ce..0a456c81 100644 --- a/WAProto/index.d.ts +++ b/WAProto/index.d.ts @@ -4145,6 +4145,7 @@ export namespace proto { completeOnDemandReady?: (boolean|null); thumbnailSyncDaysLimit?: (number|null); initialSyncMaxMessagesPerChat?: (number|null); + supportManusHistory?: (boolean|null); } class HistorySyncConfig implements IHistorySyncConfig { @@ -4169,6 +4170,7 @@ export namespace proto { public completeOnDemandReady?: (boolean|null); public thumbnailSyncDaysLimit?: (number|null); public initialSyncMaxMessagesPerChat?: (number|null); + public supportManusHistory?: (boolean|null); public static create(properties?: proto.DeviceProps.IHistorySyncConfig): proto.DeviceProps.HistorySyncConfig; public static encode(m: proto.DeviceProps.IHistorySyncConfig, w?: $protobuf.Writer): $protobuf.Writer; public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.DeviceProps.HistorySyncConfig; diff --git a/WAProto/index.js b/WAProto/index.js index f5e0b0d4..0d1160fb 100644 --- a/WAProto/index.js +++ b/WAProto/index.js @@ -28176,6 +28176,7 @@ export const proto = $root.proto = (() => { HistorySyncConfig.prototype.completeOnDemandReady = null; HistorySyncConfig.prototype.thumbnailSyncDaysLimit = null; HistorySyncConfig.prototype.initialSyncMaxMessagesPerChat = null; + HistorySyncConfig.prototype.supportManusHistory = null; let $oneOfFields; @@ -28299,6 +28300,12 @@ export const proto = $root.proto = (() => { set: $util.oneOfSetter($oneOfFields) }); + // Virtual OneOf for proto3 optional field + Object.defineProperty(HistorySyncConfig.prototype, "_supportManusHistory", { + get: $util.oneOfGetter($oneOfFields = ["supportManusHistory"]), + set: $util.oneOfSetter($oneOfFields) + }); + HistorySyncConfig.create = function create(properties) { return new HistorySyncConfig(properties); }; @@ -28346,6 +28353,8 @@ export const proto = $root.proto = (() => { w.uint32(152).uint32(m.thumbnailSyncDaysLimit); if (m.initialSyncMaxMessagesPerChat != null && Object.hasOwnProperty.call(m, "initialSyncMaxMessagesPerChat")) w.uint32(160).uint32(m.initialSyncMaxMessagesPerChat); + if (m.supportManusHistory != null && Object.hasOwnProperty.call(m, "supportManusHistory")) + w.uint32(168).bool(m.supportManusHistory); return w; }; @@ -28438,6 +28447,10 @@ export const proto = $root.proto = (() => { m.initialSyncMaxMessagesPerChat = r.uint32(); break; } + case 21: { + m.supportManusHistory = r.bool(); + break; + } default: r.skipType(t & 7); break; @@ -28510,6 +28523,9 @@ export const proto = $root.proto = (() => { if (d.initialSyncMaxMessagesPerChat != null) { m.initialSyncMaxMessagesPerChat = d.initialSyncMaxMessagesPerChat >>> 0; } + if (d.supportManusHistory != null) { + m.supportManusHistory = Boolean(d.supportManusHistory); + } return m; }; @@ -28617,6 +28633,11 @@ export const proto = $root.proto = (() => { if (o.oneofs) d._initialSyncMaxMessagesPerChat = "initialSyncMaxMessagesPerChat"; } + if (m.supportManusHistory != null && m.hasOwnProperty("supportManusHistory")) { + d.supportManusHistory = m.supportManusHistory; + if (o.oneofs) + d._supportManusHistory = "supportManusHistory"; + } return d; }; diff --git a/src/Defaults/baileys-version.json b/src/Defaults/baileys-version.json index 934d5a96..624b6020 100644 --- a/src/Defaults/baileys-version.json +++ b/src/Defaults/baileys-version.json @@ -1 +1,3 @@ -{"version":[2,3000,1033544464]} +{ + "version": [2, 3000, 1033598431] +}