chore: updated proto/version to v2.3000.1033496302
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
/// WhatsApp Version: 2.3000.1033472679
|
||||
/// WhatsApp Version: 2.3000.1033496302
|
||||
|
||||
message ADVDeviceIdentity {
|
||||
optional uint32 rawId = 1;
|
||||
@@ -3931,6 +3931,8 @@ message MsgOpaqueData {
|
||||
optional bool eventExtraGuestsAllowed = 45;
|
||||
optional bytes plainProtobufBytes = 43;
|
||||
optional string quarantineExtractedText = 48;
|
||||
optional int64 pollEndTime = 49;
|
||||
optional bool pollHideVoterNames = 50;
|
||||
message EventLocation {
|
||||
optional double degreesLatitude = 1;
|
||||
optional double degreesLongitude = 2;
|
||||
|
||||
Vendored
+4
@@ -10036,6 +10036,8 @@ export namespace proto {
|
||||
eventExtraGuestsAllowed?: (boolean|null);
|
||||
plainProtobufBytes?: (Uint8Array|null);
|
||||
quarantineExtractedText?: (string|null);
|
||||
pollEndTime?: (number|Long|null);
|
||||
pollHideVoterNames?: (boolean|null);
|
||||
}
|
||||
|
||||
class MsgOpaqueData implements IMsgOpaqueData {
|
||||
@@ -10084,6 +10086,8 @@ export namespace proto {
|
||||
public eventExtraGuestsAllowed?: (boolean|null);
|
||||
public plainProtobufBytes?: (Uint8Array|null);
|
||||
public quarantineExtractedText?: (string|null);
|
||||
public pollEndTime?: (number|Long|null);
|
||||
public pollHideVoterNames?: (boolean|null);
|
||||
public static create(properties?: proto.IMsgOpaqueData): proto.MsgOpaqueData;
|
||||
public static encode(m: proto.IMsgOpaqueData, w?: $protobuf.Writer): $protobuf.Writer;
|
||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.MsgOpaqueData;
|
||||
|
||||
@@ -70305,6 +70305,8 @@ export const proto = $root.proto = (() => {
|
||||
MsgOpaqueData.prototype.eventExtraGuestsAllowed = null;
|
||||
MsgOpaqueData.prototype.plainProtobufBytes = null;
|
||||
MsgOpaqueData.prototype.quarantineExtractedText = null;
|
||||
MsgOpaqueData.prototype.pollEndTime = null;
|
||||
MsgOpaqueData.prototype.pollHideVoterNames = null;
|
||||
|
||||
let $oneOfFields;
|
||||
|
||||
@@ -70566,6 +70568,18 @@ export const proto = $root.proto = (() => {
|
||||
set: $util.oneOfSetter($oneOfFields)
|
||||
});
|
||||
|
||||
// Virtual OneOf for proto3 optional field
|
||||
Object.defineProperty(MsgOpaqueData.prototype, "_pollEndTime", {
|
||||
get: $util.oneOfGetter($oneOfFields = ["pollEndTime"]),
|
||||
set: $util.oneOfSetter($oneOfFields)
|
||||
});
|
||||
|
||||
// Virtual OneOf for proto3 optional field
|
||||
Object.defineProperty(MsgOpaqueData.prototype, "_pollHideVoterNames", {
|
||||
get: $util.oneOfGetter($oneOfFields = ["pollHideVoterNames"]),
|
||||
set: $util.oneOfSetter($oneOfFields)
|
||||
});
|
||||
|
||||
MsgOpaqueData.create = function create(properties) {
|
||||
return new MsgOpaqueData(properties);
|
||||
};
|
||||
@@ -70661,6 +70675,10 @@ export const proto = $root.proto = (() => {
|
||||
w.uint32(376).int32(m.correctOptionIndex);
|
||||
if (m.quarantineExtractedText != null && Object.hasOwnProperty.call(m, "quarantineExtractedText"))
|
||||
w.uint32(386).string(m.quarantineExtractedText);
|
||||
if (m.pollEndTime != null && Object.hasOwnProperty.call(m, "pollEndTime"))
|
||||
w.uint32(392).int64(m.pollEndTime);
|
||||
if (m.pollHideVoterNames != null && Object.hasOwnProperty.call(m, "pollHideVoterNames"))
|
||||
w.uint32(400).bool(m.pollHideVoterNames);
|
||||
if (m.originalSelfAuthor != null && Object.hasOwnProperty.call(m, "originalSelfAuthor"))
|
||||
w.uint32(410).string(m.originalSelfAuthor);
|
||||
return w;
|
||||
@@ -70853,6 +70871,14 @@ export const proto = $root.proto = (() => {
|
||||
m.quarantineExtractedText = r.string();
|
||||
break;
|
||||
}
|
||||
case 49: {
|
||||
m.pollEndTime = r.int64();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
m.pollHideVoterNames = r.bool();
|
||||
break;
|
||||
}
|
||||
default:
|
||||
r.skipType(t & 7);
|
||||
break;
|
||||
@@ -71085,6 +71111,19 @@ export const proto = $root.proto = (() => {
|
||||
if (d.quarantineExtractedText != null) {
|
||||
m.quarantineExtractedText = String(d.quarantineExtractedText);
|
||||
}
|
||||
if (d.pollEndTime != null) {
|
||||
if ($util.Long)
|
||||
(m.pollEndTime = $util.Long.fromValue(d.pollEndTime)).unsigned = false;
|
||||
else if (typeof d.pollEndTime === "string")
|
||||
m.pollEndTime = parseInt(d.pollEndTime, 10);
|
||||
else if (typeof d.pollEndTime === "number")
|
||||
m.pollEndTime = d.pollEndTime;
|
||||
else if (typeof d.pollEndTime === "object")
|
||||
m.pollEndTime = new $util.LongBits(d.pollEndTime.low >>> 0, d.pollEndTime.high >>> 0).toNumber();
|
||||
}
|
||||
if (d.pollHideVoterNames != null) {
|
||||
m.pollHideVoterNames = Boolean(d.pollHideVoterNames);
|
||||
}
|
||||
return m;
|
||||
};
|
||||
|
||||
@@ -71320,6 +71359,19 @@ export const proto = $root.proto = (() => {
|
||||
if (o.oneofs)
|
||||
d._quarantineExtractedText = "quarantineExtractedText";
|
||||
}
|
||||
if (m.pollEndTime != null && m.hasOwnProperty("pollEndTime")) {
|
||||
if (typeof m.pollEndTime === "number")
|
||||
d.pollEndTime = o.longs === String ? String(m.pollEndTime) : m.pollEndTime;
|
||||
else
|
||||
d.pollEndTime = o.longs === String ? longToString(m.pollEndTime) : o.longs === Number ? longToNumber(m.pollEndTime) : m.pollEndTime;
|
||||
if (o.oneofs)
|
||||
d._pollEndTime = "pollEndTime";
|
||||
}
|
||||
if (m.pollHideVoterNames != null && m.hasOwnProperty("pollHideVoterNames")) {
|
||||
d.pollHideVoterNames = m.pollHideVoterNames;
|
||||
if (o.oneofs)
|
||||
d._pollHideVoterNames = "pollHideVoterNames";
|
||||
}
|
||||
if (m.originalSelfAuthor != null && m.hasOwnProperty("originalSelfAuthor")) {
|
||||
d.originalSelfAuthor = m.originalSelfAuthor;
|
||||
if (o.oneofs)
|
||||
|
||||
Reference in New Issue
Block a user