From 115073e9e2c0a0b410318f1850ae11b20e383fab Mon Sep 17 00:00:00 2001 From: Adhiraj Singh Date: Sun, 6 Nov 2022 15:35:29 +0530 Subject: [PATCH] chore: update proto --- WAProto/WAProto.proto | 17 ++ WAProto/index.d.ts | 152 +++++++++++++- WAProto/index.js | 449 +++++++++++++++++++++++++++++++++++++++++- 3 files changed, 614 insertions(+), 4 deletions(-) diff --git a/WAProto/WAProto.proto b/WAProto/WAProto.proto index c7b7ba3..9a4d4ba 100644 --- a/WAProto/WAProto.proto +++ b/WAProto/WAProto.proto @@ -43,6 +43,11 @@ message AutoDownloadSettings { optional bool downloadDocuments = 4; } +message AvatarUserSettings { + optional string fbid = 1; + optional string password = 2; +} + message BizAccountLinkInfo { optional uint64 whatsappBizAcctFbid = 1; optional string whatsappAcctNumber = 2; @@ -403,6 +408,7 @@ message Conversation { optional string pnJid = 39; optional bool shareOwnPn = 40; optional bool pnhDuplicateLidThread = 41; + optional string lidJid = 42; enum EndOfHistoryTransferType { COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0; COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1; @@ -435,6 +441,7 @@ message DeviceProps { message HistorySyncConfig { optional uint32 fullSyncDaysLimit = 1; optional uint32 fullSyncSizeMbLimit = 2; + optional uint32 storageQuotaMb = 3; } enum PlatformType { @@ -494,6 +501,7 @@ message GlobalSettings { optional bool showGroupNotificationsPreview = 8; optional int32 disappearingModeDuration = 9; optional int64 disappearingModeTimestamp = 10; + optional AvatarUserSettings avatarUserSettings = 11; } message GroupParticipant { @@ -1000,6 +1008,7 @@ message Message { optional uint32 chunkOrder = 7; optional string originalMessageId = 8; optional uint32 progress = 9; + optional int64 oldestMsgInChunkTimestampSec = 10; enum HistorySyncType { INITIAL_BOOTSTRAP = 0; INITIAL_STATUS_V3 = 1; @@ -1469,9 +1478,11 @@ message Message { message TemplateMessage { optional ContextInfo contextInfo = 3; optional HydratedFourRowTemplate hydratedTemplate = 4; + optional string templateId = 9; oneof format { Message.TemplateMessage.FourRowTemplate fourRowTemplate = 1; Message.TemplateMessage.HydratedFourRowTemplate hydratedFourRowTemplate = 2; + Message.InteractiveMessage interactiveMessageTemplate = 5; } message FourRowTemplate { optional Message.HighlyStructuredMessage content = 6; @@ -1932,6 +1943,7 @@ message SyncActionValue { message ContactAction { optional string fullName = 1; optional string firstName = 2; + optional string lidJid = 3; } message DeleteChatAction { @@ -1970,6 +1982,7 @@ message SyncActionValue { message MuteAction { optional bool muted = 1; optional int64 muteEndTimestamp = 2; + optional bool autoMuted = 3; } message NuxAction { @@ -2432,6 +2445,10 @@ message WebMessageInfo { CHAT_PSA = 155; CHAT_POLL_CREATION_MESSAGE = 156; CAG_MASKED_THREAD_CREATED = 157; + COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED = 158; + CAG_INVITE_AUTO_ADD = 159; + BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160; + CAG_INVITE_AUTO_JOINED = 161; } } diff --git a/WAProto/index.d.ts b/WAProto/index.d.ts index 8c5c1ff..9cc216a 100644 --- a/WAProto/index.d.ts +++ b/WAProto/index.d.ts @@ -716,6 +716,102 @@ export namespace proto { public toJSON(): { [k: string]: any }; } + /** Properties of an AvatarUserSettings. */ + interface IAvatarUserSettings { + + /** AvatarUserSettings fbid */ + fbid?: (string|null); + + /** AvatarUserSettings password */ + password?: (string|null); + } + + /** Represents an AvatarUserSettings. */ + class AvatarUserSettings implements IAvatarUserSettings { + + /** + * Constructs a new AvatarUserSettings. + * @param [properties] Properties to set + */ + constructor(properties?: proto.IAvatarUserSettings); + + /** AvatarUserSettings fbid. */ + public fbid: string; + + /** AvatarUserSettings password. */ + public password: string; + + /** + * Creates a new AvatarUserSettings instance using the specified properties. + * @param [properties] Properties to set + * @returns AvatarUserSettings instance + */ + public static create(properties?: proto.IAvatarUserSettings): proto.AvatarUserSettings; + + /** + * Encodes the specified AvatarUserSettings message. Does not implicitly {@link proto.AvatarUserSettings.verify|verify} messages. + * @param message AvatarUserSettings message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: proto.IAvatarUserSettings, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AvatarUserSettings message, length delimited. Does not implicitly {@link proto.AvatarUserSettings.verify|verify} messages. + * @param message AvatarUserSettings message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: proto.IAvatarUserSettings, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AvatarUserSettings message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AvatarUserSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.AvatarUserSettings; + + /** + * Decodes an AvatarUserSettings message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AvatarUserSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.AvatarUserSettings; + + /** + * Verifies an AvatarUserSettings message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an AvatarUserSettings message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AvatarUserSettings + */ + public static fromObject(object: { [k: string]: any }): proto.AvatarUserSettings; + + /** + * Creates a plain object from an AvatarUserSettings message. Also converts values to other types if specified. + * @param message AvatarUserSettings + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: proto.AvatarUserSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AvatarUserSettings to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + } + /** Properties of a BizAccountLinkInfo. */ interface IBizAccountLinkInfo { @@ -3387,6 +3483,9 @@ export namespace proto { /** Conversation pnhDuplicateLidThread */ pnhDuplicateLidThread?: (boolean|null); + + /** Conversation lidJid */ + lidJid?: (string|null); } /** Represents a Conversation. */ @@ -3521,6 +3620,9 @@ export namespace proto { /** Conversation pnhDuplicateLidThread. */ public pnhDuplicateLidThread: boolean; + /** Conversation lidJid. */ + public lidJid: string; + /** * Creates a new Conversation instance using the specified properties. * @param [properties] Properties to set @@ -3959,6 +4061,9 @@ export namespace proto { /** HistorySyncConfig fullSyncSizeMbLimit */ fullSyncSizeMbLimit?: (number|null); + + /** HistorySyncConfig storageQuotaMb */ + storageQuotaMb?: (number|null); } /** Represents a HistorySyncConfig. */ @@ -3976,6 +4081,9 @@ export namespace proto { /** HistorySyncConfig fullSyncSizeMbLimit. */ public fullSyncSizeMbLimit: number; + /** HistorySyncConfig storageQuotaMb. */ + public storageQuotaMb: number; + /** * Creates a new HistorySyncConfig instance using the specified properties. * @param [properties] Properties to set @@ -4510,6 +4618,9 @@ export namespace proto { /** GlobalSettings disappearingModeTimestamp */ disappearingModeTimestamp?: (number|Long|null); + + /** GlobalSettings avatarUserSettings */ + avatarUserSettings?: (proto.IAvatarUserSettings|null); } /** Represents a GlobalSettings. */ @@ -4551,6 +4662,9 @@ export namespace proto { /** GlobalSettings disappearingModeTimestamp. */ public disappearingModeTimestamp: (number|Long); + /** GlobalSettings avatarUserSettings. */ + public avatarUserSettings?: (proto.IAvatarUserSettings|null); + /** * Creates a new GlobalSettings instance using the specified properties. * @param [properties] Properties to set @@ -10601,6 +10715,9 @@ export namespace proto { /** HistorySyncNotification progress */ progress?: (number|null); + + /** HistorySyncNotification oldestMsgInChunkTimestampSec */ + oldestMsgInChunkTimestampSec?: (number|Long|null); } /** Represents a HistorySyncNotification. */ @@ -10639,6 +10756,9 @@ export namespace proto { /** HistorySyncNotification progress. */ public progress: number; + /** HistorySyncNotification oldestMsgInChunkTimestampSec. */ + public oldestMsgInChunkTimestampSec: (number|Long); + /** * Creates a new HistorySyncNotification instance using the specified properties. * @param [properties] Properties to set @@ -16681,11 +16801,17 @@ export namespace proto { /** TemplateMessage hydratedTemplate */ hydratedTemplate?: (proto.Message.TemplateMessage.IHydratedFourRowTemplate|null); + /** TemplateMessage templateId */ + templateId?: (string|null); + /** TemplateMessage fourRowTemplate */ fourRowTemplate?: (proto.Message.TemplateMessage.IFourRowTemplate|null); /** TemplateMessage hydratedFourRowTemplate */ hydratedFourRowTemplate?: (proto.Message.TemplateMessage.IHydratedFourRowTemplate|null); + + /** TemplateMessage interactiveMessageTemplate */ + interactiveMessageTemplate?: (proto.Message.IInteractiveMessage|null); } /** Represents a TemplateMessage. */ @@ -16703,14 +16829,20 @@ export namespace proto { /** TemplateMessage hydratedTemplate. */ public hydratedTemplate?: (proto.Message.TemplateMessage.IHydratedFourRowTemplate|null); + /** TemplateMessage templateId. */ + public templateId: string; + /** TemplateMessage fourRowTemplate. */ public fourRowTemplate?: (proto.Message.TemplateMessage.IFourRowTemplate|null); /** TemplateMessage hydratedFourRowTemplate. */ public hydratedFourRowTemplate?: (proto.Message.TemplateMessage.IHydratedFourRowTemplate|null); + /** TemplateMessage interactiveMessageTemplate. */ + public interactiveMessageTemplate?: (proto.Message.IInteractiveMessage|null); + /** TemplateMessage format. */ - public format?: ("fourRowTemplate"|"hydratedFourRowTemplate"); + public format?: ("fourRowTemplate"|"hydratedFourRowTemplate"|"interactiveMessageTemplate"); /** * Creates a new TemplateMessage instance using the specified properties. @@ -22310,6 +22442,9 @@ export namespace proto { /** ContactAction firstName */ firstName?: (string|null); + + /** ContactAction lidJid */ + lidJid?: (string|null); } /** Represents a ContactAction. */ @@ -22327,6 +22462,9 @@ export namespace proto { /** ContactAction firstName. */ public firstName: string; + /** ContactAction lidJid. */ + public lidJid: string; + /** * Creates a new ContactAction instance using the specified properties. * @param [properties] Properties to set @@ -23066,6 +23204,9 @@ export namespace proto { /** MuteAction muteEndTimestamp */ muteEndTimestamp?: (number|Long|null); + + /** MuteAction autoMuted */ + autoMuted?: (boolean|null); } /** Represents a MuteAction. */ @@ -23083,6 +23224,9 @@ export namespace proto { /** MuteAction muteEndTimestamp. */ public muteEndTimestamp: (number|Long); + /** MuteAction autoMuted. */ + public autoMuted: boolean; + /** * Creates a new MuteAction instance using the specified properties. * @param [properties] Properties to set @@ -27323,7 +27467,11 @@ export namespace proto { BIZ_CHAT_ASSIGNMENT = 154, CHAT_PSA = 155, CHAT_POLL_CREATION_MESSAGE = 156, - CAG_MASKED_THREAD_CREATED = 157 + CAG_MASKED_THREAD_CREATED = 157, + COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED = 158, + CAG_INVITE_AUTO_ADD = 159, + BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160, + CAG_INVITE_AUTO_JOINED = 161 } } diff --git a/WAProto/index.js b/WAProto/index.js index b026503..70e74cf 100644 --- a/WAProto/index.js +++ b/WAProto/index.js @@ -1767,6 +1767,216 @@ $root.proto = (function() { return AutoDownloadSettings; })(); + proto.AvatarUserSettings = (function() { + + /** + * Properties of an AvatarUserSettings. + * @memberof proto + * @interface IAvatarUserSettings + * @property {string|null} [fbid] AvatarUserSettings fbid + * @property {string|null} [password] AvatarUserSettings password + */ + + /** + * Constructs a new AvatarUserSettings. + * @memberof proto + * @classdesc Represents an AvatarUserSettings. + * @implements IAvatarUserSettings + * @constructor + * @param {proto.IAvatarUserSettings=} [properties] Properties to set + */ + function AvatarUserSettings(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * AvatarUserSettings fbid. + * @member {string} fbid + * @memberof proto.AvatarUserSettings + * @instance + */ + AvatarUserSettings.prototype.fbid = ""; + + /** + * AvatarUserSettings password. + * @member {string} password + * @memberof proto.AvatarUserSettings + * @instance + */ + AvatarUserSettings.prototype.password = ""; + + /** + * Creates a new AvatarUserSettings instance using the specified properties. + * @function create + * @memberof proto.AvatarUserSettings + * @static + * @param {proto.IAvatarUserSettings=} [properties] Properties to set + * @returns {proto.AvatarUserSettings} AvatarUserSettings instance + */ + AvatarUserSettings.create = function create(properties) { + return new AvatarUserSettings(properties); + }; + + /** + * Encodes the specified AvatarUserSettings message. Does not implicitly {@link proto.AvatarUserSettings.verify|verify} messages. + * @function encode + * @memberof proto.AvatarUserSettings + * @static + * @param {proto.IAvatarUserSettings} message AvatarUserSettings message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AvatarUserSettings.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.fbid != null && Object.hasOwnProperty.call(message, "fbid")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.fbid); + if (message.password != null && Object.hasOwnProperty.call(message, "password")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.password); + return writer; + }; + + /** + * Encodes the specified AvatarUserSettings message, length delimited. Does not implicitly {@link proto.AvatarUserSettings.verify|verify} messages. + * @function encodeDelimited + * @memberof proto.AvatarUserSettings + * @static + * @param {proto.IAvatarUserSettings} message AvatarUserSettings message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AvatarUserSettings.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an AvatarUserSettings message from the specified reader or buffer. + * @function decode + * @memberof proto.AvatarUserSettings + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {proto.AvatarUserSettings} AvatarUserSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AvatarUserSettings.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.proto.AvatarUserSettings(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.fbid = reader.string(); + break; + case 2: + message.password = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an AvatarUserSettings message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof proto.AvatarUserSettings + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {proto.AvatarUserSettings} AvatarUserSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AvatarUserSettings.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an AvatarUserSettings message. + * @function verify + * @memberof proto.AvatarUserSettings + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + AvatarUserSettings.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.fbid != null && message.hasOwnProperty("fbid")) + if (!$util.isString(message.fbid)) + return "fbid: string expected"; + if (message.password != null && message.hasOwnProperty("password")) + if (!$util.isString(message.password)) + return "password: string expected"; + return null; + }; + + /** + * Creates an AvatarUserSettings message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof proto.AvatarUserSettings + * @static + * @param {Object.} object Plain object + * @returns {proto.AvatarUserSettings} AvatarUserSettings + */ + AvatarUserSettings.fromObject = function fromObject(object) { + if (object instanceof $root.proto.AvatarUserSettings) + return object; + var message = new $root.proto.AvatarUserSettings(); + if (object.fbid != null) + message.fbid = String(object.fbid); + if (object.password != null) + message.password = String(object.password); + return message; + }; + + /** + * Creates a plain object from an AvatarUserSettings message. Also converts values to other types if specified. + * @function toObject + * @memberof proto.AvatarUserSettings + * @static + * @param {proto.AvatarUserSettings} message AvatarUserSettings + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + AvatarUserSettings.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.fbid = ""; + object.password = ""; + } + if (message.fbid != null && message.hasOwnProperty("fbid")) + object.fbid = message.fbid; + if (message.password != null && message.hasOwnProperty("password")) + object.password = message.password; + return object; + }; + + /** + * Converts this AvatarUserSettings to JSON. + * @function toJSON + * @memberof proto.AvatarUserSettings + * @instance + * @returns {Object.} JSON object + */ + AvatarUserSettings.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + return AvatarUserSettings; + })(); + proto.BizAccountLinkInfo = (function() { /** @@ -9237,6 +9447,7 @@ $root.proto = (function() { * @property {string|null} [pnJid] Conversation pnJid * @property {boolean|null} [shareOwnPn] Conversation shareOwnPn * @property {boolean|null} [pnhDuplicateLidThread] Conversation pnhDuplicateLidThread + * @property {string|null} [lidJid] Conversation lidJid */ /** @@ -9584,6 +9795,14 @@ $root.proto = (function() { */ Conversation.prototype.pnhDuplicateLidThread = false; + /** + * Conversation lidJid. + * @member {string} lidJid + * @memberof proto.Conversation + * @instance + */ + Conversation.prototype.lidJid = ""; + /** * Creates a new Conversation instance using the specified properties. * @function create @@ -9691,6 +9910,8 @@ $root.proto = (function() { writer.uint32(/* id 40, wireType 0 =*/320).bool(message.shareOwnPn); if (message.pnhDuplicateLidThread != null && Object.hasOwnProperty.call(message, "pnhDuplicateLidThread")) writer.uint32(/* id 41, wireType 0 =*/328).bool(message.pnhDuplicateLidThread); + if (message.lidJid != null && Object.hasOwnProperty.call(message, "lidJid")) + writer.uint32(/* id 42, wireType 2 =*/338).string(message.lidJid); return writer; }; @@ -9852,6 +10073,9 @@ $root.proto = (function() { case 41: message.pnhDuplicateLidThread = reader.bool(); break; + case 42: + message.lidJid = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -10038,6 +10262,9 @@ $root.proto = (function() { if (message.pnhDuplicateLidThread != null && message.hasOwnProperty("pnhDuplicateLidThread")) if (typeof message.pnhDuplicateLidThread !== "boolean") return "pnhDuplicateLidThread: boolean expected"; + if (message.lidJid != null && message.hasOwnProperty("lidJid")) + if (!$util.isString(message.lidJid)) + return "lidJid: string expected"; return null; }; @@ -10232,6 +10459,8 @@ $root.proto = (function() { message.shareOwnPn = Boolean(object.shareOwnPn); if (object.pnhDuplicateLidThread != null) message.pnhDuplicateLidThread = Boolean(object.pnhDuplicateLidThread); + if (object.lidJid != null) + message.lidJid = String(object.lidJid); return message; }; @@ -10332,6 +10561,7 @@ $root.proto = (function() { object.pnJid = ""; object.shareOwnPn = false; object.pnhDuplicateLidThread = false; + object.lidJid = ""; } if (message.id != null && message.hasOwnProperty("id")) object.id = message.id; @@ -10442,6 +10672,8 @@ $root.proto = (function() { object.shareOwnPn = message.shareOwnPn; if (message.pnhDuplicateLidThread != null && message.hasOwnProperty("pnhDuplicateLidThread")) object.pnhDuplicateLidThread = message.pnhDuplicateLidThread; + if (message.lidJid != null && message.hasOwnProperty("lidJid")) + object.lidJid = message.lidJid; return object; }; @@ -11507,6 +11739,7 @@ $root.proto = (function() { * @interface IHistorySyncConfig * @property {number|null} [fullSyncDaysLimit] HistorySyncConfig fullSyncDaysLimit * @property {number|null} [fullSyncSizeMbLimit] HistorySyncConfig fullSyncSizeMbLimit + * @property {number|null} [storageQuotaMb] HistorySyncConfig storageQuotaMb */ /** @@ -11540,6 +11773,14 @@ $root.proto = (function() { */ HistorySyncConfig.prototype.fullSyncSizeMbLimit = 0; + /** + * HistorySyncConfig storageQuotaMb. + * @member {number} storageQuotaMb + * @memberof proto.DeviceProps.HistorySyncConfig + * @instance + */ + HistorySyncConfig.prototype.storageQuotaMb = 0; + /** * Creates a new HistorySyncConfig instance using the specified properties. * @function create @@ -11568,6 +11809,8 @@ $root.proto = (function() { writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.fullSyncDaysLimit); if (message.fullSyncSizeMbLimit != null && Object.hasOwnProperty.call(message, "fullSyncSizeMbLimit")) writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.fullSyncSizeMbLimit); + if (message.storageQuotaMb != null && Object.hasOwnProperty.call(message, "storageQuotaMb")) + writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.storageQuotaMb); return writer; }; @@ -11608,6 +11851,9 @@ $root.proto = (function() { case 2: message.fullSyncSizeMbLimit = reader.uint32(); break; + case 3: + message.storageQuotaMb = reader.uint32(); + break; default: reader.skipType(tag & 7); break; @@ -11649,6 +11895,9 @@ $root.proto = (function() { if (message.fullSyncSizeMbLimit != null && message.hasOwnProperty("fullSyncSizeMbLimit")) if (!$util.isInteger(message.fullSyncSizeMbLimit)) return "fullSyncSizeMbLimit: integer expected"; + if (message.storageQuotaMb != null && message.hasOwnProperty("storageQuotaMb")) + if (!$util.isInteger(message.storageQuotaMb)) + return "storageQuotaMb: integer expected"; return null; }; @@ -11668,6 +11917,8 @@ $root.proto = (function() { message.fullSyncDaysLimit = object.fullSyncDaysLimit >>> 0; if (object.fullSyncSizeMbLimit != null) message.fullSyncSizeMbLimit = object.fullSyncSizeMbLimit >>> 0; + if (object.storageQuotaMb != null) + message.storageQuotaMb = object.storageQuotaMb >>> 0; return message; }; @@ -11687,11 +11938,14 @@ $root.proto = (function() { if (options.defaults) { object.fullSyncDaysLimit = 0; object.fullSyncSizeMbLimit = 0; + object.storageQuotaMb = 0; } if (message.fullSyncDaysLimit != null && message.hasOwnProperty("fullSyncDaysLimit")) object.fullSyncDaysLimit = message.fullSyncDaysLimit; if (message.fullSyncSizeMbLimit != null && message.hasOwnProperty("fullSyncSizeMbLimit")) object.fullSyncSizeMbLimit = message.fullSyncSizeMbLimit; + if (message.storageQuotaMb != null && message.hasOwnProperty("storageQuotaMb")) + object.storageQuotaMb = message.storageQuotaMb; return object; }; @@ -12774,6 +13028,7 @@ $root.proto = (function() { * @property {boolean|null} [showGroupNotificationsPreview] GlobalSettings showGroupNotificationsPreview * @property {number|null} [disappearingModeDuration] GlobalSettings disappearingModeDuration * @property {number|Long|null} [disappearingModeTimestamp] GlobalSettings disappearingModeTimestamp + * @property {proto.IAvatarUserSettings|null} [avatarUserSettings] GlobalSettings avatarUserSettings */ /** @@ -12871,6 +13126,14 @@ $root.proto = (function() { */ GlobalSettings.prototype.disappearingModeTimestamp = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + /** + * GlobalSettings avatarUserSettings. + * @member {proto.IAvatarUserSettings|null|undefined} avatarUserSettings + * @memberof proto.GlobalSettings + * @instance + */ + GlobalSettings.prototype.avatarUserSettings = null; + /** * Creates a new GlobalSettings instance using the specified properties. * @function create @@ -12915,6 +13178,8 @@ $root.proto = (function() { writer.uint32(/* id 9, wireType 0 =*/72).int32(message.disappearingModeDuration); if (message.disappearingModeTimestamp != null && Object.hasOwnProperty.call(message, "disappearingModeTimestamp")) writer.uint32(/* id 10, wireType 0 =*/80).int64(message.disappearingModeTimestamp); + if (message.avatarUserSettings != null && Object.hasOwnProperty.call(message, "avatarUserSettings")) + $root.proto.AvatarUserSettings.encode(message.avatarUserSettings, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); return writer; }; @@ -12979,6 +13244,9 @@ $root.proto = (function() { case 10: message.disappearingModeTimestamp = reader.int64(); break; + case 11: + message.avatarUserSettings = $root.proto.AvatarUserSettings.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -13060,6 +13328,11 @@ $root.proto = (function() { if (message.disappearingModeTimestamp != null && message.hasOwnProperty("disappearingModeTimestamp")) if (!$util.isInteger(message.disappearingModeTimestamp) && !(message.disappearingModeTimestamp && $util.isInteger(message.disappearingModeTimestamp.low) && $util.isInteger(message.disappearingModeTimestamp.high))) return "disappearingModeTimestamp: integer|Long expected"; + if (message.avatarUserSettings != null && message.hasOwnProperty("avatarUserSettings")) { + var error = $root.proto.AvatarUserSettings.verify(message.avatarUserSettings); + if (error) + return "avatarUserSettings." + error; + } return null; }; @@ -13129,6 +13402,11 @@ $root.proto = (function() { message.disappearingModeTimestamp = object.disappearingModeTimestamp; else if (typeof object.disappearingModeTimestamp === "object") message.disappearingModeTimestamp = new $util.LongBits(object.disappearingModeTimestamp.low >>> 0, object.disappearingModeTimestamp.high >>> 0).toNumber(); + if (object.avatarUserSettings != null) { + if (typeof object.avatarUserSettings !== "object") + throw TypeError(".proto.GlobalSettings.avatarUserSettings: object expected"); + message.avatarUserSettings = $root.proto.AvatarUserSettings.fromObject(object.avatarUserSettings); + } return message; }; @@ -13160,6 +13438,7 @@ $root.proto = (function() { object.disappearingModeTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; } else object.disappearingModeTimestamp = options.longs === String ? "0" : 0; + object.avatarUserSettings = null; } if (message.lightThemeWallpaper != null && message.hasOwnProperty("lightThemeWallpaper")) object.lightThemeWallpaper = $root.proto.WallpaperSettings.toObject(message.lightThemeWallpaper, options); @@ -13184,6 +13463,8 @@ $root.proto = (function() { object.disappearingModeTimestamp = options.longs === String ? String(message.disappearingModeTimestamp) : message.disappearingModeTimestamp; else object.disappearingModeTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.disappearingModeTimestamp) : options.longs === Number ? new $util.LongBits(message.disappearingModeTimestamp.low >>> 0, message.disappearingModeTimestamp.high >>> 0).toNumber() : message.disappearingModeTimestamp; + if (message.avatarUserSettings != null && message.hasOwnProperty("avatarUserSettings")) + object.avatarUserSettings = $root.proto.AvatarUserSettings.toObject(message.avatarUserSettings, options); return object; }; @@ -29106,6 +29387,7 @@ $root.proto = (function() { * @property {number|null} [chunkOrder] HistorySyncNotification chunkOrder * @property {string|null} [originalMessageId] HistorySyncNotification originalMessageId * @property {number|null} [progress] HistorySyncNotification progress + * @property {number|Long|null} [oldestMsgInChunkTimestampSec] HistorySyncNotification oldestMsgInChunkTimestampSec */ /** @@ -29195,6 +29477,14 @@ $root.proto = (function() { */ HistorySyncNotification.prototype.progress = 0; + /** + * HistorySyncNotification oldestMsgInChunkTimestampSec. + * @member {number|Long} oldestMsgInChunkTimestampSec + * @memberof proto.Message.HistorySyncNotification + * @instance + */ + HistorySyncNotification.prototype.oldestMsgInChunkTimestampSec = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + /** * Creates a new HistorySyncNotification instance using the specified properties. * @function create @@ -29237,6 +29527,8 @@ $root.proto = (function() { writer.uint32(/* id 8, wireType 2 =*/66).string(message.originalMessageId); if (message.progress != null && Object.hasOwnProperty.call(message, "progress")) writer.uint32(/* id 9, wireType 0 =*/72).uint32(message.progress); + if (message.oldestMsgInChunkTimestampSec != null && Object.hasOwnProperty.call(message, "oldestMsgInChunkTimestampSec")) + writer.uint32(/* id 10, wireType 0 =*/80).int64(message.oldestMsgInChunkTimestampSec); return writer; }; @@ -29298,6 +29590,9 @@ $root.proto = (function() { case 9: message.progress = reader.uint32(); break; + case 10: + message.oldestMsgInChunkTimestampSec = reader.int64(); + break; default: reader.skipType(tag & 7); break; @@ -29369,6 +29664,9 @@ $root.proto = (function() { if (message.progress != null && message.hasOwnProperty("progress")) if (!$util.isInteger(message.progress)) return "progress: integer expected"; + if (message.oldestMsgInChunkTimestampSec != null && message.hasOwnProperty("oldestMsgInChunkTimestampSec")) + if (!$util.isInteger(message.oldestMsgInChunkTimestampSec) && !(message.oldestMsgInChunkTimestampSec && $util.isInteger(message.oldestMsgInChunkTimestampSec.low) && $util.isInteger(message.oldestMsgInChunkTimestampSec.high))) + return "oldestMsgInChunkTimestampSec: integer|Long expected"; return null; }; @@ -29442,6 +29740,15 @@ $root.proto = (function() { message.originalMessageId = String(object.originalMessageId); if (object.progress != null) message.progress = object.progress >>> 0; + if (object.oldestMsgInChunkTimestampSec != null) + if ($util.Long) + (message.oldestMsgInChunkTimestampSec = $util.Long.fromValue(object.oldestMsgInChunkTimestampSec)).unsigned = false; + else if (typeof object.oldestMsgInChunkTimestampSec === "string") + message.oldestMsgInChunkTimestampSec = parseInt(object.oldestMsgInChunkTimestampSec, 10); + else if (typeof object.oldestMsgInChunkTimestampSec === "number") + message.oldestMsgInChunkTimestampSec = object.oldestMsgInChunkTimestampSec; + else if (typeof object.oldestMsgInChunkTimestampSec === "object") + message.oldestMsgInChunkTimestampSec = new $util.LongBits(object.oldestMsgInChunkTimestampSec.low >>> 0, object.oldestMsgInChunkTimestampSec.high >>> 0).toNumber(); return message; }; @@ -29490,6 +29797,11 @@ $root.proto = (function() { object.chunkOrder = 0; object.originalMessageId = ""; object.progress = 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.oldestMsgInChunkTimestampSec = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.oldestMsgInChunkTimestampSec = options.longs === String ? "0" : 0; } if (message.fileSha256 != null && message.hasOwnProperty("fileSha256")) object.fileSha256 = options.bytes === String ? $util.base64.encode(message.fileSha256, 0, message.fileSha256.length) : options.bytes === Array ? Array.prototype.slice.call(message.fileSha256) : message.fileSha256; @@ -29512,6 +29824,11 @@ $root.proto = (function() { object.originalMessageId = message.originalMessageId; if (message.progress != null && message.hasOwnProperty("progress")) object.progress = message.progress; + if (message.oldestMsgInChunkTimestampSec != null && message.hasOwnProperty("oldestMsgInChunkTimestampSec")) + if (typeof message.oldestMsgInChunkTimestampSec === "number") + object.oldestMsgInChunkTimestampSec = options.longs === String ? String(message.oldestMsgInChunkTimestampSec) : message.oldestMsgInChunkTimestampSec; + else + object.oldestMsgInChunkTimestampSec = options.longs === String ? $util.Long.prototype.toString.call(message.oldestMsgInChunkTimestampSec) : options.longs === Number ? new $util.LongBits(message.oldestMsgInChunkTimestampSec.low >>> 0, message.oldestMsgInChunkTimestampSec.high >>> 0).toNumber() : message.oldestMsgInChunkTimestampSec; return object; }; @@ -45087,8 +45404,10 @@ $root.proto = (function() { * @interface ITemplateMessage * @property {proto.IContextInfo|null} [contextInfo] TemplateMessage contextInfo * @property {proto.Message.TemplateMessage.IHydratedFourRowTemplate|null} [hydratedTemplate] TemplateMessage hydratedTemplate + * @property {string|null} [templateId] TemplateMessage templateId * @property {proto.Message.TemplateMessage.IFourRowTemplate|null} [fourRowTemplate] TemplateMessage fourRowTemplate * @property {proto.Message.TemplateMessage.IHydratedFourRowTemplate|null} [hydratedFourRowTemplate] TemplateMessage hydratedFourRowTemplate + * @property {proto.Message.IInteractiveMessage|null} [interactiveMessageTemplate] TemplateMessage interactiveMessageTemplate */ /** @@ -45122,6 +45441,14 @@ $root.proto = (function() { */ TemplateMessage.prototype.hydratedTemplate = null; + /** + * TemplateMessage templateId. + * @member {string} templateId + * @memberof proto.Message.TemplateMessage + * @instance + */ + TemplateMessage.prototype.templateId = ""; + /** * TemplateMessage fourRowTemplate. * @member {proto.Message.TemplateMessage.IFourRowTemplate|null|undefined} fourRowTemplate @@ -45138,17 +45465,25 @@ $root.proto = (function() { */ TemplateMessage.prototype.hydratedFourRowTemplate = null; + /** + * TemplateMessage interactiveMessageTemplate. + * @member {proto.Message.IInteractiveMessage|null|undefined} interactiveMessageTemplate + * @memberof proto.Message.TemplateMessage + * @instance + */ + TemplateMessage.prototype.interactiveMessageTemplate = null; + // OneOf field names bound to virtual getters and setters var $oneOfFields; /** * TemplateMessage format. - * @member {"fourRowTemplate"|"hydratedFourRowTemplate"|undefined} format + * @member {"fourRowTemplate"|"hydratedFourRowTemplate"|"interactiveMessageTemplate"|undefined} format * @memberof proto.Message.TemplateMessage * @instance */ Object.defineProperty(TemplateMessage.prototype, "format", { - get: $util.oneOfGetter($oneOfFields = ["fourRowTemplate", "hydratedFourRowTemplate"]), + get: $util.oneOfGetter($oneOfFields = ["fourRowTemplate", "hydratedFourRowTemplate", "interactiveMessageTemplate"]), set: $util.oneOfSetter($oneOfFields) }); @@ -45184,6 +45519,10 @@ $root.proto = (function() { $root.proto.ContextInfo.encode(message.contextInfo, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); if (message.hydratedTemplate != null && Object.hasOwnProperty.call(message, "hydratedTemplate")) $root.proto.Message.TemplateMessage.HydratedFourRowTemplate.encode(message.hydratedTemplate, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.interactiveMessageTemplate != null && Object.hasOwnProperty.call(message, "interactiveMessageTemplate")) + $root.proto.Message.InteractiveMessage.encode(message.interactiveMessageTemplate, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.templateId != null && Object.hasOwnProperty.call(message, "templateId")) + writer.uint32(/* id 9, wireType 2 =*/74).string(message.templateId); return writer; }; @@ -45224,12 +45563,18 @@ $root.proto = (function() { case 4: message.hydratedTemplate = $root.proto.Message.TemplateMessage.HydratedFourRowTemplate.decode(reader, reader.uint32()); break; + case 9: + message.templateId = reader.string(); + break; case 1: message.fourRowTemplate = $root.proto.Message.TemplateMessage.FourRowTemplate.decode(reader, reader.uint32()); break; case 2: message.hydratedFourRowTemplate = $root.proto.Message.TemplateMessage.HydratedFourRowTemplate.decode(reader, reader.uint32()); break; + case 5: + message.interactiveMessageTemplate = $root.proto.Message.InteractiveMessage.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -45276,6 +45621,9 @@ $root.proto = (function() { if (error) return "hydratedTemplate." + error; } + if (message.templateId != null && message.hasOwnProperty("templateId")) + if (!$util.isString(message.templateId)) + return "templateId: string expected"; if (message.fourRowTemplate != null && message.hasOwnProperty("fourRowTemplate")) { properties.format = 1; { @@ -45294,6 +45642,16 @@ $root.proto = (function() { return "hydratedFourRowTemplate." + error; } } + if (message.interactiveMessageTemplate != null && message.hasOwnProperty("interactiveMessageTemplate")) { + if (properties.format === 1) + return "format: multiple values"; + properties.format = 1; + { + var error = $root.proto.Message.InteractiveMessage.verify(message.interactiveMessageTemplate); + if (error) + return "interactiveMessageTemplate." + error; + } + } return null; }; @@ -45319,6 +45677,8 @@ $root.proto = (function() { throw TypeError(".proto.Message.TemplateMessage.hydratedTemplate: object expected"); message.hydratedTemplate = $root.proto.Message.TemplateMessage.HydratedFourRowTemplate.fromObject(object.hydratedTemplate); } + if (object.templateId != null) + message.templateId = String(object.templateId); if (object.fourRowTemplate != null) { if (typeof object.fourRowTemplate !== "object") throw TypeError(".proto.Message.TemplateMessage.fourRowTemplate: object expected"); @@ -45329,6 +45689,11 @@ $root.proto = (function() { throw TypeError(".proto.Message.TemplateMessage.hydratedFourRowTemplate: object expected"); message.hydratedFourRowTemplate = $root.proto.Message.TemplateMessage.HydratedFourRowTemplate.fromObject(object.hydratedFourRowTemplate); } + if (object.interactiveMessageTemplate != null) { + if (typeof object.interactiveMessageTemplate !== "object") + throw TypeError(".proto.Message.TemplateMessage.interactiveMessageTemplate: object expected"); + message.interactiveMessageTemplate = $root.proto.Message.InteractiveMessage.fromObject(object.interactiveMessageTemplate); + } return message; }; @@ -45348,6 +45713,7 @@ $root.proto = (function() { if (options.defaults) { object.contextInfo = null; object.hydratedTemplate = null; + object.templateId = ""; } if (message.fourRowTemplate != null && message.hasOwnProperty("fourRowTemplate")) { object.fourRowTemplate = $root.proto.Message.TemplateMessage.FourRowTemplate.toObject(message.fourRowTemplate, options); @@ -45363,6 +45729,13 @@ $root.proto = (function() { object.contextInfo = $root.proto.ContextInfo.toObject(message.contextInfo, options); if (message.hydratedTemplate != null && message.hasOwnProperty("hydratedTemplate")) object.hydratedTemplate = $root.proto.Message.TemplateMessage.HydratedFourRowTemplate.toObject(message.hydratedTemplate, options); + if (message.interactiveMessageTemplate != null && message.hasOwnProperty("interactiveMessageTemplate")) { + object.interactiveMessageTemplate = $root.proto.Message.InteractiveMessage.toObject(message.interactiveMessageTemplate, options); + if (options.oneofs) + object.format = "interactiveMessageTemplate"; + } + if (message.templateId != null && message.hasOwnProperty("templateId")) + object.templateId = message.templateId; return object; }; @@ -60303,6 +60676,7 @@ $root.proto = (function() { * @interface IContactAction * @property {string|null} [fullName] ContactAction fullName * @property {string|null} [firstName] ContactAction firstName + * @property {string|null} [lidJid] ContactAction lidJid */ /** @@ -60336,6 +60710,14 @@ $root.proto = (function() { */ ContactAction.prototype.firstName = ""; + /** + * ContactAction lidJid. + * @member {string} lidJid + * @memberof proto.SyncActionValue.ContactAction + * @instance + */ + ContactAction.prototype.lidJid = ""; + /** * Creates a new ContactAction instance using the specified properties. * @function create @@ -60364,6 +60746,8 @@ $root.proto = (function() { writer.uint32(/* id 1, wireType 2 =*/10).string(message.fullName); if (message.firstName != null && Object.hasOwnProperty.call(message, "firstName")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.firstName); + if (message.lidJid != null && Object.hasOwnProperty.call(message, "lidJid")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.lidJid); return writer; }; @@ -60404,6 +60788,9 @@ $root.proto = (function() { case 2: message.firstName = reader.string(); break; + case 3: + message.lidJid = reader.string(); + break; default: reader.skipType(tag & 7); break; @@ -60445,6 +60832,9 @@ $root.proto = (function() { if (message.firstName != null && message.hasOwnProperty("firstName")) if (!$util.isString(message.firstName)) return "firstName: string expected"; + if (message.lidJid != null && message.hasOwnProperty("lidJid")) + if (!$util.isString(message.lidJid)) + return "lidJid: string expected"; return null; }; @@ -60464,6 +60854,8 @@ $root.proto = (function() { message.fullName = String(object.fullName); if (object.firstName != null) message.firstName = String(object.firstName); + if (object.lidJid != null) + message.lidJid = String(object.lidJid); return message; }; @@ -60483,11 +60875,14 @@ $root.proto = (function() { if (options.defaults) { object.fullName = ""; object.firstName = ""; + object.lidJid = ""; } if (message.fullName != null && message.hasOwnProperty("fullName")) object.fullName = message.fullName; if (message.firstName != null && message.hasOwnProperty("firstName")) object.firstName = message.firstName; + if (message.lidJid != null && message.hasOwnProperty("lidJid")) + object.lidJid = message.lidJid; return object; }; @@ -61959,6 +62354,7 @@ $root.proto = (function() { * @interface IMuteAction * @property {boolean|null} [muted] MuteAction muted * @property {number|Long|null} [muteEndTimestamp] MuteAction muteEndTimestamp + * @property {boolean|null} [autoMuted] MuteAction autoMuted */ /** @@ -61992,6 +62388,14 @@ $root.proto = (function() { */ MuteAction.prototype.muteEndTimestamp = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + /** + * MuteAction autoMuted. + * @member {boolean} autoMuted + * @memberof proto.SyncActionValue.MuteAction + * @instance + */ + MuteAction.prototype.autoMuted = false; + /** * Creates a new MuteAction instance using the specified properties. * @function create @@ -62020,6 +62424,8 @@ $root.proto = (function() { writer.uint32(/* id 1, wireType 0 =*/8).bool(message.muted); if (message.muteEndTimestamp != null && Object.hasOwnProperty.call(message, "muteEndTimestamp")) writer.uint32(/* id 2, wireType 0 =*/16).int64(message.muteEndTimestamp); + if (message.autoMuted != null && Object.hasOwnProperty.call(message, "autoMuted")) + writer.uint32(/* id 3, wireType 0 =*/24).bool(message.autoMuted); return writer; }; @@ -62060,6 +62466,9 @@ $root.proto = (function() { case 2: message.muteEndTimestamp = reader.int64(); break; + case 3: + message.autoMuted = reader.bool(); + break; default: reader.skipType(tag & 7); break; @@ -62101,6 +62510,9 @@ $root.proto = (function() { if (message.muteEndTimestamp != null && message.hasOwnProperty("muteEndTimestamp")) if (!$util.isInteger(message.muteEndTimestamp) && !(message.muteEndTimestamp && $util.isInteger(message.muteEndTimestamp.low) && $util.isInteger(message.muteEndTimestamp.high))) return "muteEndTimestamp: integer|Long expected"; + if (message.autoMuted != null && message.hasOwnProperty("autoMuted")) + if (typeof message.autoMuted !== "boolean") + return "autoMuted: boolean expected"; return null; }; @@ -62127,6 +62539,8 @@ $root.proto = (function() { message.muteEndTimestamp = object.muteEndTimestamp; else if (typeof object.muteEndTimestamp === "object") message.muteEndTimestamp = new $util.LongBits(object.muteEndTimestamp.low >>> 0, object.muteEndTimestamp.high >>> 0).toNumber(); + if (object.autoMuted != null) + message.autoMuted = Boolean(object.autoMuted); return message; }; @@ -62150,6 +62564,7 @@ $root.proto = (function() { object.muteEndTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; } else object.muteEndTimestamp = options.longs === String ? "0" : 0; + object.autoMuted = false; } if (message.muted != null && message.hasOwnProperty("muted")) object.muted = message.muted; @@ -62158,6 +62573,8 @@ $root.proto = (function() { object.muteEndTimestamp = options.longs === String ? String(message.muteEndTimestamp) : message.muteEndTimestamp; else object.muteEndTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.muteEndTimestamp) : options.longs === Number ? new $util.LongBits(message.muteEndTimestamp.low >>> 0, message.muteEndTimestamp.high >>> 0).toNumber() : message.muteEndTimestamp; + if (message.autoMuted != null && message.hasOwnProperty("autoMuted")) + object.autoMuted = message.autoMuted; return object; }; @@ -73219,6 +73636,10 @@ $root.proto = (function() { case 155: case 156: case 157: + case 158: + case 159: + case 160: + case 161: break; } if (message.clearMedia != null && message.hasOwnProperty("clearMedia")) @@ -74079,6 +74500,22 @@ $root.proto = (function() { case 157: message.messageStubType = 157; break; + case "COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED": + case 158: + message.messageStubType = 158; + break; + case "CAG_INVITE_AUTO_ADD": + case 159: + message.messageStubType = 159; + break; + case "BIZ_CHAT_ASSIGNMENT_UNASSIGN": + case 160: + message.messageStubType = 160; + break; + case "CAG_INVITE_AUTO_JOINED": + case 161: + message.messageStubType = 161; + break; } if (object.clearMedia != null) message.clearMedia = Boolean(object.clearMedia); @@ -74659,6 +75096,10 @@ $root.proto = (function() { * @property {number} CHAT_PSA=155 CHAT_PSA value * @property {number} CHAT_POLL_CREATION_MESSAGE=156 CHAT_POLL_CREATION_MESSAGE value * @property {number} CAG_MASKED_THREAD_CREATED=157 CAG_MASKED_THREAD_CREATED value + * @property {number} COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED=158 COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED value + * @property {number} CAG_INVITE_AUTO_ADD=159 CAG_INVITE_AUTO_ADD value + * @property {number} BIZ_CHAT_ASSIGNMENT_UNASSIGN=160 BIZ_CHAT_ASSIGNMENT_UNASSIGN value + * @property {number} CAG_INVITE_AUTO_JOINED=161 CAG_INVITE_AUTO_JOINED value */ WebMessageInfo.StubType = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -74820,6 +75261,10 @@ $root.proto = (function() { values[valuesById[155] = "CHAT_PSA"] = 155; values[valuesById[156] = "CHAT_POLL_CREATION_MESSAGE"] = 156; values[valuesById[157] = "CAG_MASKED_THREAD_CREATED"] = 157; + values[valuesById[158] = "COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED"] = 158; + values[valuesById[159] = "CAG_INVITE_AUTO_ADD"] = 159; + values[valuesById[160] = "BIZ_CHAT_ASSIGNMENT_UNASSIGN"] = 160; + values[valuesById[161] = "CAG_INVITE_AUTO_JOINED"] = 161; return values; })();