chore: update proto/version to v2.3000.1033849325 (#206)
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
afd5ba027b
commit
aec431bd30
@@ -1,7 +1,7 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package proto;
|
package proto;
|
||||||
|
|
||||||
/// WhatsApp Version: 2.3000.1033815006
|
/// WhatsApp Version: 2.3000.1033849325
|
||||||
|
|
||||||
message ADVDeviceIdentity {
|
message ADVDeviceIdentity {
|
||||||
optional uint32 rawId = 1;
|
optional uint32 rawId = 1;
|
||||||
@@ -2269,7 +2269,7 @@ message Message {
|
|||||||
optional FutureProofMessage newsletterAdminProfileMessage = 116;
|
optional FutureProofMessage newsletterAdminProfileMessage = 116;
|
||||||
optional FutureProofMessage newsletterAdminProfileMessageV2 = 117;
|
optional FutureProofMessage newsletterAdminProfileMessageV2 = 117;
|
||||||
optional FutureProofMessage spoilerMessage = 118;
|
optional FutureProofMessage spoilerMessage = 118;
|
||||||
optional FutureProofMessage pollCreationMessageV6 = 119;
|
optional PollCreationMessage pollCreationMessageV6 = 119;
|
||||||
message AlbumMessage {
|
message AlbumMessage {
|
||||||
optional uint32 expectedImageCount = 2;
|
optional uint32 expectedImageCount = 2;
|
||||||
optional uint32 expectedVideoCount = 3;
|
optional uint32 expectedVideoCount = 3;
|
||||||
@@ -5373,6 +5373,7 @@ message VerifiedNameCertificate {
|
|||||||
message WallpaperSettings {
|
message WallpaperSettings {
|
||||||
optional string filename = 1;
|
optional string filename = 1;
|
||||||
optional uint32 opacity = 2;
|
optional uint32 opacity = 2;
|
||||||
|
optional bool isGenAi = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message WebFeatures {
|
message WebFeatures {
|
||||||
|
|||||||
Vendored
+4
-2
@@ -5550,7 +5550,7 @@ export namespace proto {
|
|||||||
newsletterAdminProfileMessage?: (proto.Message.IFutureProofMessage|null);
|
newsletterAdminProfileMessage?: (proto.Message.IFutureProofMessage|null);
|
||||||
newsletterAdminProfileMessageV2?: (proto.Message.IFutureProofMessage|null);
|
newsletterAdminProfileMessageV2?: (proto.Message.IFutureProofMessage|null);
|
||||||
spoilerMessage?: (proto.Message.IFutureProofMessage|null);
|
spoilerMessage?: (proto.Message.IFutureProofMessage|null);
|
||||||
pollCreationMessageV6?: (proto.Message.IFutureProofMessage|null);
|
pollCreationMessageV6?: (proto.Message.IPollCreationMessage|null);
|
||||||
}
|
}
|
||||||
|
|
||||||
class Message implements IMessage {
|
class Message implements IMessage {
|
||||||
@@ -5653,7 +5653,7 @@ export namespace proto {
|
|||||||
public newsletterAdminProfileMessage?: (proto.Message.IFutureProofMessage|null);
|
public newsletterAdminProfileMessage?: (proto.Message.IFutureProofMessage|null);
|
||||||
public newsletterAdminProfileMessageV2?: (proto.Message.IFutureProofMessage|null);
|
public newsletterAdminProfileMessageV2?: (proto.Message.IFutureProofMessage|null);
|
||||||
public spoilerMessage?: (proto.Message.IFutureProofMessage|null);
|
public spoilerMessage?: (proto.Message.IFutureProofMessage|null);
|
||||||
public pollCreationMessageV6?: (proto.Message.IFutureProofMessage|null);
|
public pollCreationMessageV6?: (proto.Message.IPollCreationMessage|null);
|
||||||
public static create(properties?: proto.IMessage): proto.Message;
|
public static create(properties?: proto.IMessage): proto.Message;
|
||||||
public static encode(m: proto.IMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.IMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message;
|
||||||
@@ -14065,12 +14065,14 @@ export namespace proto {
|
|||||||
interface IWallpaperSettings {
|
interface IWallpaperSettings {
|
||||||
filename?: (string|null);
|
filename?: (string|null);
|
||||||
opacity?: (number|null);
|
opacity?: (number|null);
|
||||||
|
isGenAi?: (boolean|null);
|
||||||
}
|
}
|
||||||
|
|
||||||
class WallpaperSettings implements IWallpaperSettings {
|
class WallpaperSettings implements IWallpaperSettings {
|
||||||
constructor(p?: proto.IWallpaperSettings);
|
constructor(p?: proto.IWallpaperSettings);
|
||||||
public filename?: (string|null);
|
public filename?: (string|null);
|
||||||
public opacity?: (number|null);
|
public opacity?: (number|null);
|
||||||
|
public isGenAi?: (boolean|null);
|
||||||
public static create(properties?: proto.IWallpaperSettings): proto.WallpaperSettings;
|
public static create(properties?: proto.IWallpaperSettings): proto.WallpaperSettings;
|
||||||
public static encode(m: proto.IWallpaperSettings, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.IWallpaperSettings, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.WallpaperSettings;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.WallpaperSettings;
|
||||||
|
|||||||
+25
-4
@@ -38174,7 +38174,7 @@ export const proto = $root.proto = (() => {
|
|||||||
if (m.spoilerMessage != null && Object.hasOwnProperty.call(m, "spoilerMessage"))
|
if (m.spoilerMessage != null && Object.hasOwnProperty.call(m, "spoilerMessage"))
|
||||||
$root.proto.Message.FutureProofMessage.encode(m.spoilerMessage, w.uint32(946).fork()).ldelim();
|
$root.proto.Message.FutureProofMessage.encode(m.spoilerMessage, w.uint32(946).fork()).ldelim();
|
||||||
if (m.pollCreationMessageV6 != null && Object.hasOwnProperty.call(m, "pollCreationMessageV6"))
|
if (m.pollCreationMessageV6 != null && Object.hasOwnProperty.call(m, "pollCreationMessageV6"))
|
||||||
$root.proto.Message.FutureProofMessage.encode(m.pollCreationMessageV6, w.uint32(954).fork()).ldelim();
|
$root.proto.Message.PollCreationMessage.encode(m.pollCreationMessageV6, w.uint32(954).fork()).ldelim();
|
||||||
return w;
|
return w;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -38580,7 +38580,7 @@ export const proto = $root.proto = (() => {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 119: {
|
case 119: {
|
||||||
m.pollCreationMessageV6 = $root.proto.Message.FutureProofMessage.decode(r, r.uint32());
|
m.pollCreationMessageV6 = $root.proto.Message.PollCreationMessage.decode(r, r.uint32());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
@@ -39086,7 +39086,7 @@ export const proto = $root.proto = (() => {
|
|||||||
if (d.pollCreationMessageV6 != null) {
|
if (d.pollCreationMessageV6 != null) {
|
||||||
if (typeof d.pollCreationMessageV6 !== "object")
|
if (typeof d.pollCreationMessageV6 !== "object")
|
||||||
throw TypeError(".proto.Message.pollCreationMessageV6: object expected");
|
throw TypeError(".proto.Message.pollCreationMessageV6: object expected");
|
||||||
m.pollCreationMessageV6 = $root.proto.Message.FutureProofMessage.fromObject(d.pollCreationMessageV6);
|
m.pollCreationMessageV6 = $root.proto.Message.PollCreationMessage.fromObject(d.pollCreationMessageV6);
|
||||||
}
|
}
|
||||||
return m;
|
return m;
|
||||||
};
|
};
|
||||||
@@ -39586,7 +39586,7 @@ export const proto = $root.proto = (() => {
|
|||||||
d._spoilerMessage = "spoilerMessage";
|
d._spoilerMessage = "spoilerMessage";
|
||||||
}
|
}
|
||||||
if (m.pollCreationMessageV6 != null && m.hasOwnProperty("pollCreationMessageV6")) {
|
if (m.pollCreationMessageV6 != null && m.hasOwnProperty("pollCreationMessageV6")) {
|
||||||
d.pollCreationMessageV6 = $root.proto.Message.FutureProofMessage.toObject(m.pollCreationMessageV6, o);
|
d.pollCreationMessageV6 = $root.proto.Message.PollCreationMessage.toObject(m.pollCreationMessageV6, o);
|
||||||
if (o.oneofs)
|
if (o.oneofs)
|
||||||
d._pollCreationMessageV6 = "pollCreationMessageV6";
|
d._pollCreationMessageV6 = "pollCreationMessageV6";
|
||||||
}
|
}
|
||||||
@@ -96848,6 +96848,7 @@ export const proto = $root.proto = (() => {
|
|||||||
|
|
||||||
WallpaperSettings.prototype.filename = null;
|
WallpaperSettings.prototype.filename = null;
|
||||||
WallpaperSettings.prototype.opacity = null;
|
WallpaperSettings.prototype.opacity = null;
|
||||||
|
WallpaperSettings.prototype.isGenAi = null;
|
||||||
|
|
||||||
let $oneOfFields;
|
let $oneOfFields;
|
||||||
|
|
||||||
@@ -96863,6 +96864,12 @@ export const proto = $root.proto = (() => {
|
|||||||
set: $util.oneOfSetter($oneOfFields)
|
set: $util.oneOfSetter($oneOfFields)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Virtual OneOf for proto3 optional field
|
||||||
|
Object.defineProperty(WallpaperSettings.prototype, "_isGenAi", {
|
||||||
|
get: $util.oneOfGetter($oneOfFields = ["isGenAi"]),
|
||||||
|
set: $util.oneOfSetter($oneOfFields)
|
||||||
|
});
|
||||||
|
|
||||||
WallpaperSettings.create = function create(properties) {
|
WallpaperSettings.create = function create(properties) {
|
||||||
return new WallpaperSettings(properties);
|
return new WallpaperSettings(properties);
|
||||||
};
|
};
|
||||||
@@ -96874,6 +96881,8 @@ export const proto = $root.proto = (() => {
|
|||||||
w.uint32(10).string(m.filename);
|
w.uint32(10).string(m.filename);
|
||||||
if (m.opacity != null && Object.hasOwnProperty.call(m, "opacity"))
|
if (m.opacity != null && Object.hasOwnProperty.call(m, "opacity"))
|
||||||
w.uint32(16).uint32(m.opacity);
|
w.uint32(16).uint32(m.opacity);
|
||||||
|
if (m.isGenAi != null && Object.hasOwnProperty.call(m, "isGenAi"))
|
||||||
|
w.uint32(24).bool(m.isGenAi);
|
||||||
return w;
|
return w;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -96894,6 +96903,10 @@ export const proto = $root.proto = (() => {
|
|||||||
m.opacity = r.uint32();
|
m.opacity = r.uint32();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 3: {
|
||||||
|
m.isGenAi = r.bool();
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
r.skipType(t & 7);
|
r.skipType(t & 7);
|
||||||
break;
|
break;
|
||||||
@@ -96912,6 +96925,9 @@ export const proto = $root.proto = (() => {
|
|||||||
if (d.opacity != null) {
|
if (d.opacity != null) {
|
||||||
m.opacity = d.opacity >>> 0;
|
m.opacity = d.opacity >>> 0;
|
||||||
}
|
}
|
||||||
|
if (d.isGenAi != null) {
|
||||||
|
m.isGenAi = Boolean(d.isGenAi);
|
||||||
|
}
|
||||||
return m;
|
return m;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -96929,6 +96945,11 @@ export const proto = $root.proto = (() => {
|
|||||||
if (o.oneofs)
|
if (o.oneofs)
|
||||||
d._opacity = "opacity";
|
d._opacity = "opacity";
|
||||||
}
|
}
|
||||||
|
if (m.isGenAi != null && m.hasOwnProperty("isGenAi")) {
|
||||||
|
d.isGenAi = m.isGenAi;
|
||||||
|
if (o.oneofs)
|
||||||
|
d._isGenAi = "isGenAi";
|
||||||
|
}
|
||||||
return d;
|
return d;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":[2,3000,1033835506]}
|
{"version": [2, 3000, 1033849325]}
|
||||||
|
|||||||
Reference in New Issue
Block a user