chore: update proto/version to v2.3000.1036375660 (#334)
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3baa494fad
commit
60302d73d5
@@ -1,7 +1,7 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
/// WhatsApp Version: 2.3000.1036244875
|
||||
/// WhatsApp Version: 2.3000.1036375660
|
||||
|
||||
message ADVDeviceIdentity {
|
||||
optional uint32 rawId = 1;
|
||||
@@ -1664,6 +1664,7 @@ message DeviceCapabilities {
|
||||
optional bool companionSupportEnabled = 2;
|
||||
optional bool campaignSyncEnabled = 3;
|
||||
optional bool insightsSyncEnabled = 4;
|
||||
optional int32 recipientLimit = 5;
|
||||
}
|
||||
|
||||
enum ChatLockSupportLevel {
|
||||
@@ -5998,6 +5999,7 @@ message WebMessageInfo {
|
||||
GROUP_OPEN_BOT_ADDED = 222;
|
||||
GROUP_TEE_BOT_ADDED = 223;
|
||||
CONTACT_INFO = 224;
|
||||
SCHEDULED_MESSAGE_CREATED = 225;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Vendored
+4
-1
@@ -4059,6 +4059,7 @@ export namespace proto {
|
||||
companionSupportEnabled?: (boolean|null);
|
||||
campaignSyncEnabled?: (boolean|null);
|
||||
insightsSyncEnabled?: (boolean|null);
|
||||
recipientLimit?: (number|null);
|
||||
}
|
||||
|
||||
class BusinessBroadcast implements IBusinessBroadcast {
|
||||
@@ -4067,6 +4068,7 @@ export namespace proto {
|
||||
public companionSupportEnabled?: (boolean|null);
|
||||
public campaignSyncEnabled?: (boolean|null);
|
||||
public insightsSyncEnabled?: (boolean|null);
|
||||
public recipientLimit?: (number|null);
|
||||
public static create(properties?: proto.DeviceCapabilities.IBusinessBroadcast): proto.DeviceCapabilities.BusinessBroadcast;
|
||||
public static encode(m: proto.DeviceCapabilities.IBusinessBroadcast, w?: $protobuf.Writer): $protobuf.Writer;
|
||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.DeviceCapabilities.BusinessBroadcast;
|
||||
@@ -15225,7 +15227,8 @@ export namespace proto {
|
||||
GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221,
|
||||
GROUP_OPEN_BOT_ADDED = 222,
|
||||
GROUP_TEE_BOT_ADDED = 223,
|
||||
CONTACT_INFO = 224
|
||||
CONTACT_INFO = 224,
|
||||
SCHEDULED_MESSAGE_CREATED = 225
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -27660,6 +27660,7 @@ export const proto = $root.proto = (() => {
|
||||
BusinessBroadcast.prototype.companionSupportEnabled = null;
|
||||
BusinessBroadcast.prototype.campaignSyncEnabled = null;
|
||||
BusinessBroadcast.prototype.insightsSyncEnabled = null;
|
||||
BusinessBroadcast.prototype.recipientLimit = null;
|
||||
|
||||
let $oneOfFields;
|
||||
|
||||
@@ -27687,6 +27688,12 @@ export const proto = $root.proto = (() => {
|
||||
set: $util.oneOfSetter($oneOfFields)
|
||||
});
|
||||
|
||||
// Virtual OneOf for proto3 optional field
|
||||
Object.defineProperty(BusinessBroadcast.prototype, "_recipientLimit", {
|
||||
get: $util.oneOfGetter($oneOfFields = ["recipientLimit"]),
|
||||
set: $util.oneOfSetter($oneOfFields)
|
||||
});
|
||||
|
||||
BusinessBroadcast.create = function create(properties) {
|
||||
return new BusinessBroadcast(properties);
|
||||
};
|
||||
@@ -27702,6 +27709,8 @@ export const proto = $root.proto = (() => {
|
||||
w.uint32(24).bool(m.campaignSyncEnabled);
|
||||
if (m.insightsSyncEnabled != null && Object.hasOwnProperty.call(m, "insightsSyncEnabled"))
|
||||
w.uint32(32).bool(m.insightsSyncEnabled);
|
||||
if (m.recipientLimit != null && Object.hasOwnProperty.call(m, "recipientLimit"))
|
||||
w.uint32(40).int32(m.recipientLimit);
|
||||
return w;
|
||||
};
|
||||
|
||||
@@ -27730,6 +27739,10 @@ export const proto = $root.proto = (() => {
|
||||
m.insightsSyncEnabled = r.bool();
|
||||
break;
|
||||
}
|
||||
case 5: {
|
||||
m.recipientLimit = r.int32();
|
||||
break;
|
||||
}
|
||||
default:
|
||||
r.skipType(t & 7);
|
||||
break;
|
||||
@@ -27754,6 +27767,9 @@ export const proto = $root.proto = (() => {
|
||||
if (d.insightsSyncEnabled != null) {
|
||||
m.insightsSyncEnabled = Boolean(d.insightsSyncEnabled);
|
||||
}
|
||||
if (d.recipientLimit != null) {
|
||||
m.recipientLimit = d.recipientLimit | 0;
|
||||
}
|
||||
return m;
|
||||
};
|
||||
|
||||
@@ -27781,6 +27797,11 @@ export const proto = $root.proto = (() => {
|
||||
if (o.oneofs)
|
||||
d._insightsSyncEnabled = "insightsSyncEnabled";
|
||||
}
|
||||
if (m.recipientLimit != null && m.hasOwnProperty("recipientLimit")) {
|
||||
d.recipientLimit = m.recipientLimit;
|
||||
if (o.oneofs)
|
||||
d._recipientLimit = "recipientLimit";
|
||||
}
|
||||
return d;
|
||||
};
|
||||
|
||||
@@ -105634,6 +105655,10 @@ export const proto = $root.proto = (() => {
|
||||
case 224:
|
||||
m.messageStubType = 224;
|
||||
break;
|
||||
case "SCHEDULED_MESSAGE_CREATED":
|
||||
case 225:
|
||||
m.messageStubType = 225;
|
||||
break;
|
||||
}
|
||||
if (d.clearMedia != null) {
|
||||
m.clearMedia = Boolean(d.clearMedia);
|
||||
@@ -106617,6 +106642,7 @@ export const proto = $root.proto = (() => {
|
||||
values[valuesById[222] = "GROUP_OPEN_BOT_ADDED"] = 222;
|
||||
values[valuesById[223] = "GROUP_TEE_BOT_ADDED"] = 223;
|
||||
values[valuesById[224] = "CONTACT_INFO"] = 224;
|
||||
values[valuesById[225] = "SCHEDULED_MESSAGE_CREATED"] = 225;
|
||||
return values;
|
||||
})();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user