chore: update proto/version to v2.3000.1034530777 (#261)

Co-authored-by: rsalcara <rsalcara@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-03-05 00:45:05 -03:00
committed by GitHub
parent 92085d283a
commit 12c400cf1e
4 changed files with 26 additions and 2 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
syntax = "proto3"; syntax = "proto3";
package proto; package proto;
/// WhatsApp Version: 2.3000.1034427372 /// WhatsApp Version: 2.3000.1034530777
message ADVDeviceIdentity { message ADVDeviceIdentity {
optional uint32 rawId = 1; optional uint32 rawId = 1;
@@ -3967,6 +3967,7 @@ message MsgOpaqueData {
optional string quarantineExtractedText = 48; optional string quarantineExtractedText = 48;
optional int64 pollEndTime = 49; optional int64 pollEndTime = 49;
optional bool pollHideVoterNames = 50; optional bool pollHideVoterNames = 50;
optional bool pollAllowAddOption = 52;
message EventLocation { message EventLocation {
optional double degreesLatitude = 1; optional double degreesLatitude = 1;
optional double degreesLongitude = 2; optional double degreesLongitude = 2;
+2
View File
@@ -10114,6 +10114,7 @@ export namespace proto {
quarantineExtractedText?: (string|null); quarantineExtractedText?: (string|null);
pollEndTime?: (number|Long|null); pollEndTime?: (number|Long|null);
pollHideVoterNames?: (boolean|null); pollHideVoterNames?: (boolean|null);
pollAllowAddOption?: (boolean|null);
} }
class MsgOpaqueData implements IMsgOpaqueData { class MsgOpaqueData implements IMsgOpaqueData {
@@ -10164,6 +10165,7 @@ export namespace proto {
public quarantineExtractedText?: (string|null); public quarantineExtractedText?: (string|null);
public pollEndTime?: (number|Long|null); public pollEndTime?: (number|Long|null);
public pollHideVoterNames?: (boolean|null); public pollHideVoterNames?: (boolean|null);
public pollAllowAddOption?: (boolean|null);
public static create(properties?: proto.IMsgOpaqueData): proto.MsgOpaqueData; public static create(properties?: proto.IMsgOpaqueData): proto.MsgOpaqueData;
public static encode(m: proto.IMsgOpaqueData, w?: $protobuf.Writer): $protobuf.Writer; public static encode(m: proto.IMsgOpaqueData, w?: $protobuf.Writer): $protobuf.Writer;
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.MsgOpaqueData; public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.MsgOpaqueData;
+21
View File
@@ -70846,6 +70846,7 @@ export const proto = $root.proto = (() => {
MsgOpaqueData.prototype.quarantineExtractedText = null; MsgOpaqueData.prototype.quarantineExtractedText = null;
MsgOpaqueData.prototype.pollEndTime = null; MsgOpaqueData.prototype.pollEndTime = null;
MsgOpaqueData.prototype.pollHideVoterNames = null; MsgOpaqueData.prototype.pollHideVoterNames = null;
MsgOpaqueData.prototype.pollAllowAddOption = null;
let $oneOfFields; let $oneOfFields;
@@ -71119,6 +71120,12 @@ export const proto = $root.proto = (() => {
set: $util.oneOfSetter($oneOfFields) set: $util.oneOfSetter($oneOfFields)
}); });
// Virtual OneOf for proto3 optional field
Object.defineProperty(MsgOpaqueData.prototype, "_pollAllowAddOption", {
get: $util.oneOfGetter($oneOfFields = ["pollAllowAddOption"]),
set: $util.oneOfSetter($oneOfFields)
});
MsgOpaqueData.create = function create(properties) { MsgOpaqueData.create = function create(properties) {
return new MsgOpaqueData(properties); return new MsgOpaqueData(properties);
}; };
@@ -71220,6 +71227,8 @@ export const proto = $root.proto = (() => {
w.uint32(400).bool(m.pollHideVoterNames); w.uint32(400).bool(m.pollHideVoterNames);
if (m.originalSelfAuthor != null && Object.hasOwnProperty.call(m, "originalSelfAuthor")) if (m.originalSelfAuthor != null && Object.hasOwnProperty.call(m, "originalSelfAuthor"))
w.uint32(410).string(m.originalSelfAuthor); w.uint32(410).string(m.originalSelfAuthor);
if (m.pollAllowAddOption != null && Object.hasOwnProperty.call(m, "pollAllowAddOption"))
w.uint32(416).bool(m.pollAllowAddOption);
return w; return w;
}; };
@@ -71418,6 +71427,10 @@ export const proto = $root.proto = (() => {
m.pollHideVoterNames = r.bool(); m.pollHideVoterNames = r.bool();
break; break;
} }
case 52: {
m.pollAllowAddOption = r.bool();
break;
}
default: default:
r.skipType(t & 7); r.skipType(t & 7);
break; break;
@@ -71663,6 +71676,9 @@ export const proto = $root.proto = (() => {
if (d.pollHideVoterNames != null) { if (d.pollHideVoterNames != null) {
m.pollHideVoterNames = Boolean(d.pollHideVoterNames); m.pollHideVoterNames = Boolean(d.pollHideVoterNames);
} }
if (d.pollAllowAddOption != null) {
m.pollAllowAddOption = Boolean(d.pollAllowAddOption);
}
return m; return m;
}; };
@@ -71916,6 +71932,11 @@ export const proto = $root.proto = (() => {
if (o.oneofs) if (o.oneofs)
d._originalSelfAuthor = "originalSelfAuthor"; d._originalSelfAuthor = "originalSelfAuthor";
} }
if (m.pollAllowAddOption != null && m.hasOwnProperty("pollAllowAddOption")) {
d.pollAllowAddOption = m.pollAllowAddOption;
if (o.oneofs)
d._pollAllowAddOption = "pollAllowAddOption";
}
return d; return d;
}; };
+1 -1
View File
@@ -1 +1 @@
{"version":[2,3000,1034439448]} {"version": [2, 3000, 1034530777]}