From a25e6740fd142a8aa88f26ddb6bc146c6f3f6064 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2026 00:58:19 -0300 Subject: [PATCH] chore: update proto/version to v2.3000.1035216863 (#288) Co-authored-by: rsalcara --- WAProto/WAProto.proto | 6 +++- WAProto/index.d.ts | 10 ++++-- WAProto/index.js | 52 +++++++++++++++++++++++++++++++ src/Defaults/baileys-version.json | 2 +- 4 files changed, 66 insertions(+), 4 deletions(-) diff --git a/WAProto/WAProto.proto b/WAProto/WAProto.proto index 23e678f4..2ee95777 100644 --- a/WAProto/WAProto.proto +++ b/WAProto/WAProto.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package proto; -/// WhatsApp Version: 2.3000.1035198198 +/// WhatsApp Version: 2.3000.1035216863 message ADVDeviceIdentity { optional uint32 rawId = 1; @@ -416,6 +416,7 @@ message BotCapabilityMetadata { RICH_RESPONSE_UR_IMAGINE_VIDEO = 57; JSON_PATCH_STREAMING = 58; AI_TAB_FORCE_CLIPPY = 59; + UNIFIED_RESPONSE_EMBEDDED_SCREENS = 60; } } @@ -1464,6 +1465,7 @@ message ContextInfo { optional AdType adType = 25; optional string wtwaWebsiteUrl = 26; optional string adPreviewUrl = 27; + optional bool containsCtwaFlowsAutoReply = 28; enum AdType { CTWA = 0; CAWC = 1; @@ -1619,6 +1621,7 @@ message Conversation { optional bool maibaAiThreadEnabled = 54; optional bool isMarketingMessageThread = 55; optional bool isSenderNewAccount = 56; + optional uint32 afterReadDuration = 57; enum EndOfHistoryTransferType { COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0; COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1; @@ -3601,6 +3604,7 @@ message Message { GROUP_MEMBER_LABEL_CHANGE = 30; AI_MEDIA_COLLECTION_MESSAGE = 31; MESSAGE_UNSCHEDULE = 32; + BOT_UNLINK_MESSAGE = 33; } } diff --git a/WAProto/index.d.ts b/WAProto/index.d.ts index c06faf32..f0a659e6 100644 --- a/WAProto/index.d.ts +++ b/WAProto/index.d.ts @@ -1091,7 +1091,8 @@ export namespace proto { RICH_RESPONSE_INLINE_LINKS_ENABLED = 56, RICH_RESPONSE_UR_IMAGINE_VIDEO = 57, JSON_PATCH_STREAMING = 58, - AI_TAB_FORCE_CLIPPY = 59 + AI_TAB_FORCE_CLIPPY = 59, + UNIFIED_RESPONSE_EMBEDDED_SCREENS = 60 } } @@ -3589,6 +3590,7 @@ export namespace proto { adType?: (proto.ContextInfo.ExternalAdReplyInfo.AdType|null); wtwaWebsiteUrl?: (string|null); adPreviewUrl?: (string|null); + containsCtwaFlowsAutoReply?: (boolean|null); } class ExternalAdReplyInfo implements IExternalAdReplyInfo { @@ -3620,6 +3622,7 @@ export namespace proto { public adType?: (proto.ContextInfo.ExternalAdReplyInfo.AdType|null); public wtwaWebsiteUrl?: (string|null); public adPreviewUrl?: (string|null); + public containsCtwaFlowsAutoReply?: (boolean|null); public static create(properties?: proto.ContextInfo.IExternalAdReplyInfo): proto.ContextInfo.ExternalAdReplyInfo; public static encode(m: proto.ContextInfo.IExternalAdReplyInfo, w?: $protobuf.Writer): $protobuf.Writer; public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.ContextInfo.ExternalAdReplyInfo; @@ -3885,6 +3888,7 @@ export namespace proto { maibaAiThreadEnabled?: (boolean|null); isMarketingMessageThread?: (boolean|null); isSenderNewAccount?: (boolean|null); + afterReadDuration?: (number|null); } class Conversation implements IConversation { @@ -3945,6 +3949,7 @@ export namespace proto { public maibaAiThreadEnabled?: (boolean|null); public isMarketingMessageThread?: (boolean|null); public isSenderNewAccount?: (boolean|null); + public afterReadDuration?: (number|null); public static create(properties?: proto.IConversation): proto.Conversation; public static encode(m: proto.IConversation, w?: $protobuf.Writer): $protobuf.Writer; public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Conversation; @@ -9262,7 +9267,8 @@ export namespace proto { AI_QUERY_FANOUT = 29, GROUP_MEMBER_LABEL_CHANGE = 30, AI_MEDIA_COLLECTION_MESSAGE = 31, - MESSAGE_UNSCHEDULE = 32 + MESSAGE_UNSCHEDULE = 32, + BOT_UNLINK_MESSAGE = 33 } } diff --git a/WAProto/index.js b/WAProto/index.js index fc2022a6..804faf5a 100644 --- a/WAProto/index.js +++ b/WAProto/index.js @@ -6893,6 +6893,10 @@ export const proto = $root.proto = (() => { case 59: m.capabilities[i] = 59; break; + case "UNIFIED_RESPONSE_EMBEDDED_SCREENS": + case 60: + m.capabilities[i] = 60; + break; } } } @@ -6988,6 +6992,7 @@ export const proto = $root.proto = (() => { values[valuesById[57] = "RICH_RESPONSE_UR_IMAGINE_VIDEO"] = 57; values[valuesById[58] = "JSON_PATCH_STREAMING"] = 58; values[valuesById[59] = "AI_TAB_FORCE_CLIPPY"] = 59; + values[valuesById[60] = "UNIFIED_RESPONSE_EMBEDDED_SCREENS"] = 60; return values; })(); @@ -23995,6 +24000,7 @@ export const proto = $root.proto = (() => { ExternalAdReplyInfo.prototype.adType = null; ExternalAdReplyInfo.prototype.wtwaWebsiteUrl = null; ExternalAdReplyInfo.prototype.adPreviewUrl = null; + ExternalAdReplyInfo.prototype.containsCtwaFlowsAutoReply = null; let $oneOfFields; @@ -24160,6 +24166,12 @@ export const proto = $root.proto = (() => { set: $util.oneOfSetter($oneOfFields) }); + // Virtual OneOf for proto3 optional field + Object.defineProperty(ExternalAdReplyInfo.prototype, "_containsCtwaFlowsAutoReply", { + get: $util.oneOfGetter($oneOfFields = ["containsCtwaFlowsAutoReply"]), + set: $util.oneOfSetter($oneOfFields) + }); + ExternalAdReplyInfo.create = function create(properties) { return new ExternalAdReplyInfo(properties); }; @@ -24221,6 +24233,8 @@ export const proto = $root.proto = (() => { w.uint32(210).string(m.wtwaWebsiteUrl); if (m.adPreviewUrl != null && Object.hasOwnProperty.call(m, "adPreviewUrl")) w.uint32(218).string(m.adPreviewUrl); + if (m.containsCtwaFlowsAutoReply != null && Object.hasOwnProperty.call(m, "containsCtwaFlowsAutoReply")) + w.uint32(224).bool(m.containsCtwaFlowsAutoReply); return w; }; @@ -24341,6 +24355,10 @@ export const proto = $root.proto = (() => { m.adPreviewUrl = r.string(); break; } + case 28: { + m.containsCtwaFlowsAutoReply = r.bool(); + break; + } default: r.skipType(t & 7); break; @@ -24467,6 +24485,9 @@ export const proto = $root.proto = (() => { if (d.adPreviewUrl != null) { m.adPreviewUrl = String(d.adPreviewUrl); } + if (d.containsCtwaFlowsAutoReply != null) { + m.containsCtwaFlowsAutoReply = Boolean(d.containsCtwaFlowsAutoReply); + } return m; }; @@ -24609,6 +24630,11 @@ export const proto = $root.proto = (() => { if (o.oneofs) d._adPreviewUrl = "adPreviewUrl"; } + if (m.containsCtwaFlowsAutoReply != null && m.hasOwnProperty("containsCtwaFlowsAutoReply")) { + d.containsCtwaFlowsAutoReply = m.containsCtwaFlowsAutoReply; + if (o.oneofs) + d._containsCtwaFlowsAutoReply = "containsCtwaFlowsAutoReply"; + } return d; }; @@ -25635,6 +25661,7 @@ export const proto = $root.proto = (() => { Conversation.prototype.maibaAiThreadEnabled = null; Conversation.prototype.isMarketingMessageThread = null; Conversation.prototype.isSenderNewAccount = null; + Conversation.prototype.afterReadDuration = null; let $oneOfFields; @@ -25962,6 +25989,12 @@ export const proto = $root.proto = (() => { set: $util.oneOfSetter($oneOfFields) }); + // Virtual OneOf for proto3 optional field + Object.defineProperty(Conversation.prototype, "_afterReadDuration", { + get: $util.oneOfGetter($oneOfFields = ["afterReadDuration"]), + set: $util.oneOfSetter($oneOfFields) + }); + Conversation.create = function create(properties) { return new Conversation(properties); }; @@ -26085,6 +26118,8 @@ export const proto = $root.proto = (() => { w.uint32(440).bool(m.isMarketingMessageThread); if (m.isSenderNewAccount != null && Object.hasOwnProperty.call(m, "isSenderNewAccount")) w.uint32(448).bool(m.isSenderNewAccount); + if (m.afterReadDuration != null && Object.hasOwnProperty.call(m, "afterReadDuration")) + w.uint32(456).uint32(m.afterReadDuration); return w; }; @@ -26325,6 +26360,10 @@ export const proto = $root.proto = (() => { m.isSenderNewAccount = r.bool(); break; } + case 57: { + m.afterReadDuration = r.uint32(); + break; + } default: r.skipType(t & 7); break; @@ -26665,6 +26704,9 @@ export const proto = $root.proto = (() => { if (d.isSenderNewAccount != null) { m.isSenderNewAccount = Boolean(d.isSenderNewAccount); } + if (d.afterReadDuration != null) { + m.afterReadDuration = d.afterReadDuration >>> 0; + } return m; }; @@ -26982,6 +27024,11 @@ export const proto = $root.proto = (() => { if (o.oneofs) d._isSenderNewAccount = "isSenderNewAccount"; } + if (m.afterReadDuration != null && m.hasOwnProperty("afterReadDuration")) { + d.afterReadDuration = m.afterReadDuration; + if (o.oneofs) + d._afterReadDuration = "afterReadDuration"; + } return d; }; @@ -64691,6 +64738,10 @@ export const proto = $root.proto = (() => { case 32: m.type = 32; break; + case "BOT_UNLINK_MESSAGE": + case 33: + m.type = 33; + break; } if (d.ephemeralExpiration != null) { m.ephemeralExpiration = d.ephemeralExpiration >>> 0; @@ -65004,6 +65055,7 @@ export const proto = $root.proto = (() => { values[valuesById[30] = "GROUP_MEMBER_LABEL_CHANGE"] = 30; values[valuesById[31] = "AI_MEDIA_COLLECTION_MESSAGE"] = 31; values[valuesById[32] = "MESSAGE_UNSCHEDULE"] = 32; + values[valuesById[33] = "BOT_UNLINK_MESSAGE"] = 33; return values; })(); diff --git a/src/Defaults/baileys-version.json b/src/Defaults/baileys-version.json index 0a0461b9..010f7776 100644 --- a/src/Defaults/baileys-version.json +++ b/src/Defaults/baileys-version.json @@ -1 +1 @@ -{"version":[2,3000,1035203283]} +{"version": [2, 3000, 1035216863]}