diff --git a/vendor/go.mau.fi/whatsmeow/appstate.go b/vendor/go.mau.fi/whatsmeow/appstate.go index 3c128db6..a1c9146c 100644 --- a/vendor/go.mau.fi/whatsmeow/appstate.go +++ b/vendor/go.mau.fi/whatsmeow/appstate.go @@ -223,6 +223,41 @@ func (cli *Client) dispatchAppState(mutation appstate.Mutation, fullSync bool, e Action: mutation.Action.GetUserStatusMuteAction(), FromFullSync: fullSync, } + case appstate.IndexLabelEdit: + act := mutation.Action.GetLabelEditAction() + eventToDispatch = &events.LabelEdit{ + Timestamp: ts, + LabelID: mutation.Index[1], + Action: act, + FromFullSync: fullSync, + } + case appstate.IndexLabelAssociationChat: + if len(mutation.Index) < 3 { + return + } + jid, _ = types.ParseJID(mutation.Index[2]) + act := mutation.Action.GetLabelAssociationAction() + eventToDispatch = &events.LabelAssociationChat{ + JID: jid, + Timestamp: ts, + LabelID: mutation.Index[1], + Action: act, + FromFullSync: fullSync, + } + case appstate.IndexLabelAssociationMessage: + if len(mutation.Index) < 6 { + return + } + jid, _ = types.ParseJID(mutation.Index[2]) + act := mutation.Action.GetLabelAssociationAction() + eventToDispatch = &events.LabelAssociationMessage{ + JID: jid, + Timestamp: ts, + LabelID: mutation.Index[1], + MessageID: mutation.Index[3], + Action: act, + FromFullSync: fullSync, + } } if storeUpdateError != nil { cli.Log.Errorf("Failed to update device store after app state mutation: %v", storeUpdateError) diff --git a/vendor/go.mau.fi/whatsmeow/appstate/encode.go b/vendor/go.mau.fi/whatsmeow/appstate/encode.go index 1cb7d659..2358c903 100644 --- a/vendor/go.mau.fi/whatsmeow/appstate/encode.go +++ b/vendor/go.mau.fi/whatsmeow/appstate/encode.go @@ -123,6 +123,96 @@ func BuildArchive(target types.JID, archive bool, lastMessageTimestamp time.Time return result } +func newLabelChatMutation(target types.JID, labelID string, labeled bool) MutationInfo { + return MutationInfo{ + Index: []string{IndexLabelAssociationChat, labelID, target.String()}, + Version: 3, + Value: &waProto.SyncActionValue{ + LabelAssociationAction: &waProto.LabelAssociationAction{ + Labeled: &labeled, + }, + }, + } +} + +// BuildLabelChat builds an app state patch for labeling or un(labeling) a chat. +func BuildLabelChat(target types.JID, labelID string, labeled bool) PatchInfo { + return PatchInfo{ + Type: WAPatchRegular, + Mutations: []MutationInfo{ + newLabelChatMutation(target, labelID, labeled), + }, + } +} + +func newLabelMessageMutation(target types.JID, labelID, messageID string, labeled bool) MutationInfo { + return MutationInfo{ + Index: []string{IndexLabelAssociationMessage, labelID, target.String(), messageID, "0", "0"}, + Version: 3, + Value: &waProto.SyncActionValue{ + LabelAssociationAction: &waProto.LabelAssociationAction{ + Labeled: &labeled, + }, + }, + } +} + +// BuildLabelMessage builds an app state patch for labeling or un(labeling) a message. +func BuildLabelMessage(target types.JID, labelID, messageID string, labeled bool) PatchInfo { + return PatchInfo{ + Type: WAPatchRegular, + Mutations: []MutationInfo{ + newLabelMessageMutation(target, labelID, messageID, labeled), + }, + } +} + +func newLabelEditMutation(labelID string, labelName string, labelColor int32, deleted bool) MutationInfo { + return MutationInfo{ + Index: []string{IndexLabelEdit, labelID}, + Version: 3, + Value: &waProto.SyncActionValue{ + LabelEditAction: &waProto.LabelEditAction{ + Name: &labelName, + Color: &labelColor, + Deleted: &deleted, + }, + }, + } +} + +// BuildLabelEdit builds an app state patch for editing a label. +func BuildLabelEdit(labelID string, labelName string, labelColor int32, deleted bool) PatchInfo { + return PatchInfo{ + Type: WAPatchRegular, + Mutations: []MutationInfo{ + newLabelEditMutation(labelID, labelName, labelColor, deleted), + }, + } +} + +func newSettingPushNameMutation(pushName string) MutationInfo { + return MutationInfo{ + Index: []string{IndexSettingPushName}, + Version: 1, + Value: &waProto.SyncActionValue{ + PushNameSetting: &waProto.PushNameSetting{ + Name: &pushName, + }, + }, + } +} + +// BuildSettingPushName builds an app state patch for setting the push name. +func BuildSettingPushName(pushName string) PatchInfo { + return PatchInfo{ + Type: WAPatchCriticalBlock, + Mutations: []MutationInfo{ + newSettingPushNameMutation(pushName), + }, + } +} + func (proc *Processor) EncodePatch(keyID []byte, state HashState, patchInfo PatchInfo) ([]byte, error) { keys, err := proc.getAppStateKey(keyID) if err != nil { diff --git a/vendor/go.mau.fi/whatsmeow/appstate/keys.go b/vendor/go.mau.fi/whatsmeow/appstate/keys.go index 95f7d134..98d38c2c 100644 --- a/vendor/go.mau.fi/whatsmeow/appstate/keys.go +++ b/vendor/go.mau.fi/whatsmeow/appstate/keys.go @@ -37,18 +37,21 @@ var AllPatchNames = [...]WAPatchName{WAPatchCriticalBlock, WAPatchCriticalUnbloc // Constants for the first part of app state indexes. const ( - IndexMute = "mute" - IndexPin = "pin_v1" - IndexArchive = "archive" - IndexContact = "contact" - IndexClearChat = "clearChat" - IndexDeleteChat = "deleteChat" - IndexStar = "star" - IndexDeleteMessageForMe = "deleteMessageForMe" - IndexMarkChatAsRead = "markChatAsRead" - IndexSettingPushName = "setting_pushName" - IndexSettingUnarchiveChats = "setting_unarchiveChats" - IndexUserStatusMute = "userStatusMute" + IndexMute = "mute" + IndexPin = "pin_v1" + IndexArchive = "archive" + IndexContact = "contact" + IndexClearChat = "clearChat" + IndexDeleteChat = "deleteChat" + IndexStar = "star" + IndexDeleteMessageForMe = "deleteMessageForMe" + IndexMarkChatAsRead = "markChatAsRead" + IndexSettingPushName = "setting_pushName" + IndexSettingUnarchiveChats = "setting_unarchiveChats" + IndexUserStatusMute = "userStatusMute" + IndexLabelEdit = "label_edit" + IndexLabelAssociationChat = "label_jid" + IndexLabelAssociationMessage = "label_message" ) type Processor struct { diff --git a/vendor/go.mau.fi/whatsmeow/armadillomessage.go b/vendor/go.mau.fi/whatsmeow/armadillomessage.go new file mode 100644 index 00000000..a026d767 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/armadillomessage.go @@ -0,0 +1,99 @@ +// Copyright (c) 2024 Tulir Asokan +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + +package whatsmeow + +import ( + "fmt" + + "google.golang.org/protobuf/proto" + + "go.mau.fi/whatsmeow/binary/armadillo" + "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + "go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication" + "go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport" + "go.mau.fi/whatsmeow/types" + "go.mau.fi/whatsmeow/types/events" +) + +func (cli *Client) handleDecryptedArmadillo(info *types.MessageInfo, decrypted []byte, retryCount int) bool { + dec, err := decodeArmadillo(decrypted) + if err != nil { + cli.Log.Warnf("Failed to decode armadillo message from %s: %v", info.SourceString(), err) + return false + } + dec.Info = *info + dec.RetryCount = retryCount + if dec.Transport.GetProtocol().GetAncillary().GetSkdm() != nil { + if !info.IsGroup { + cli.Log.Warnf("Got sender key distribution message in non-group chat from %s", info.Sender) + } else { + skdm := dec.Transport.GetProtocol().GetAncillary().GetSkdm() + cli.handleSenderKeyDistributionMessage(info.Chat, info.Sender, skdm.AxolotlSenderKeyDistributionMessage) + } + } + if dec.Message != nil { + cli.dispatchEvent(&dec) + } + return true +} + +func decodeArmadillo(data []byte) (dec events.FBMessage, err error) { + var transport waMsgTransport.MessageTransport + err = proto.Unmarshal(data, &transport) + if err != nil { + return dec, fmt.Errorf("failed to unmarshal transport: %w", err) + } + dec.Transport = &transport + if transport.GetPayload() == nil { + return + } + application, err := transport.GetPayload().Decode() + if err != nil { + return dec, fmt.Errorf("failed to unmarshal application: %w", err) + } + dec.Application = application + if application.GetPayload() == nil { + return + } + + switch typedContent := application.GetPayload().GetContent().(type) { + case *waMsgApplication.MessageApplication_Payload_CoreContent: + err = fmt.Errorf("unsupported core content payload") + case *waMsgApplication.MessageApplication_Payload_Signal: + err = fmt.Errorf("unsupported signal payload") + case *waMsgApplication.MessageApplication_Payload_ApplicationData: + err = fmt.Errorf("unsupported application data payload") + case *waMsgApplication.MessageApplication_Payload_SubProtocol: + var protoMsg proto.Message + var subData *waCommon.SubProtocol + switch subProtocol := typedContent.SubProtocol.GetSubProtocol().(type) { + case *waMsgApplication.MessageApplication_SubProtocolPayload_ConsumerMessage: + dec.Message, err = subProtocol.Decode() + case *waMsgApplication.MessageApplication_SubProtocolPayload_BusinessMessage: + dec.Message = (*armadillo.Unsupported_BusinessApplication)(subProtocol.BusinessMessage) + case *waMsgApplication.MessageApplication_SubProtocolPayload_PaymentMessage: + dec.Message = (*armadillo.Unsupported_PaymentApplication)(subProtocol.PaymentMessage) + case *waMsgApplication.MessageApplication_SubProtocolPayload_MultiDevice: + dec.Message, err = subProtocol.Decode() + case *waMsgApplication.MessageApplication_SubProtocolPayload_Voip: + dec.Message = (*armadillo.Unsupported_Voip)(subProtocol.Voip) + case *waMsgApplication.MessageApplication_SubProtocolPayload_Armadillo: + dec.Message, err = subProtocol.Decode() + default: + return dec, fmt.Errorf("unsupported subprotocol type: %T", subProtocol) + } + if protoMsg != nil { + err = proto.Unmarshal(subData.GetPayload(), protoMsg) + if err != nil { + return dec, fmt.Errorf("failed to unmarshal application subprotocol payload (%T v%d): %w", protoMsg, subData.GetVersion(), err) + } + } + default: + err = fmt.Errorf("unsupported application payload content type: %T", typedContent) + } + return +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/armadilloutil/decode.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/armadilloutil/decode.go new file mode 100644 index 00000000..dacd50f8 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/armadilloutil/decode.go @@ -0,0 +1,32 @@ +package armadilloutil + +import ( + "errors" + "fmt" + + "google.golang.org/protobuf/proto" + + "go.mau.fi/whatsmeow/binary/armadillo/waCommon" +) + +var ErrUnsupportedVersion = errors.New("unsupported subprotocol version") + +func Unmarshal[T proto.Message](into T, msg *waCommon.SubProtocol, expectedVersion int32) (T, error) { + if msg.GetVersion() != expectedVersion { + return into, fmt.Errorf("%w %d in %T (expected %d)", ErrUnsupportedVersion, msg.GetVersion(), into, expectedVersion) + } + + err := proto.Unmarshal(msg.GetPayload(), into) + return into, err +} + +func Marshal[T proto.Message](msg T, version int32) (*waCommon.SubProtocol, error) { + payload, err := proto.Marshal(msg) + if err != nil { + return nil, err + } + return &waCommon.SubProtocol{ + Payload: payload, + Version: version, + }, nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/extra.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/extra.go new file mode 100644 index 00000000..d4b157ad --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/extra.go @@ -0,0 +1,29 @@ +package armadillo + +import ( + "go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication" + "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + "go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication" + "go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice" +) + +type MessageApplicationSub interface { + IsMessageApplicationSub() +} + +type Unsupported_BusinessApplication waCommon.SubProtocol +type Unsupported_PaymentApplication waCommon.SubProtocol +type Unsupported_Voip waCommon.SubProtocol + +var ( + _ MessageApplicationSub = (*waConsumerApplication.ConsumerApplication)(nil) // 2 + _ MessageApplicationSub = (*Unsupported_BusinessApplication)(nil) // 3 + _ MessageApplicationSub = (*Unsupported_PaymentApplication)(nil) // 4 + _ MessageApplicationSub = (*waMultiDevice.MultiDevice)(nil) // 5 + _ MessageApplicationSub = (*Unsupported_Voip)(nil) // 6 + _ MessageApplicationSub = (*waArmadilloApplication.Armadillo)(nil) // 7 +) + +func (*Unsupported_BusinessApplication) IsMessageApplicationSub() {} +func (*Unsupported_PaymentApplication) IsMessageApplicationSub() {} +func (*Unsupported_Voip) IsMessageApplicationSub() {} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/generate.sh b/vendor/go.mau.fi/whatsmeow/binary/armadillo/generate.sh new file mode 100644 index 00000000..d0a4556d --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/generate.sh @@ -0,0 +1,9 @@ +#!/bin/bash +cd $(dirname $0) +set -euo pipefail +if [[ ! -f "e2ee.js" ]]; then + echo "Please download the encryption javascript file and save it to e2ee.js first" + exit 1 +fi +node parse-proto.js +protoc --go_out=. --go_opt=paths=source_relative --go_opt=embed_raw=true */*.proto diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/parse-proto.js b/vendor/go.mau.fi/whatsmeow/binary/armadillo/parse-proto.js new file mode 100644 index 00000000..518a64bc --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/parse-proto.js @@ -0,0 +1,351 @@ +/////////////////// +// JS EVALUATION // +/////////////////// + +const protos = [] +const modules = { + "$InternalEnum": { + exports: { + exports: function (data) { + data.__enum__ = true + return data + } + } + }, +} + +function requireModule(name) { + if (!modules[name]) { + throw new Error(`Unknown requirement ${name}`) + } + return modules[name].exports +} + +function requireDefault(name) { + return requireModule(name).exports +} + +function ignoreModule(name) { + if (name === "WAProtoConst") { + return false + } else if (!name.endsWith(".pb")) { + // Ignore any non-protobuf modules, except WAProtoConst above + return true + } else if (name.startsWith("MAWArmadillo") && (name.endsWith("TableSchema.pb") || name.endsWith("TablesSchema.pb"))) { + // Ignore internal table schemas + return true + } else if (name === "WASignalLocalStorageProtocol.pb" || name === "WASignalWhisperTextProtocol.pb") { + // Ignore standard signal protocol stuff + return true + } else { + return false + } +} + +function defineModule(name, dependencies, callback, unknownIntOrNull) { + if (ignoreModule(name)) { + return + } + const exports = {} + if (dependencies.length > 0) { + callback(null, requireDefault, null, requireModule, null, null, exports) + } else { + callback(null, requireDefault, null, requireModule, exports, exports) + } + modules[name] = {exports, dependencies} +} + +global.self = global +global.__d = defineModule + +require("./e2ee.js") + +function dereference(obj, module, currentPath, next, ...remainder) { + if (!next) { + return obj + } + if (!obj.messages[next]) { + obj.messages[next] = {messages: {}, enums: {}, __module__: module, __path__: currentPath, __name__: next} + } + return dereference(obj.messages[next], module, currentPath.concat([next]), ...remainder) +} + +function dereferenceSnake(obj, currentPath, path) { + let next = path[0] + path = path.slice(1) + while (!obj.messages[next]) { + if (path.length === 0) { + return [obj, currentPath, next] + } + next += path[0] + path = path.slice(1) + } + return dereferenceSnake(obj.messages[next], currentPath.concat([next]), path) +} + +function renameModule(name) { + return name.replace(".pb", "") +} + +function renameDependencies(dependencies) { + return dependencies + .filter(name => name.endsWith(".pb")) + .map(renameModule) + .map(name => name === "WAProtocol" ? "WACommon" : name) +} + +function renameType(protoName, fieldName, field) { + return fieldName +} + +for (const [name, module] of Object.entries(modules)) { + if (!name.endsWith(".pb")) { + continue + } else if (!module.exports) { + console.warn(name, "has no exports") + continue + } + // Slightly hacky way to get rid of WAProtocol.pb and just use the MessageKey in WACommon + if (name === "WAProtocol.pb") { + if (Object.entries(module.exports).length > 1) { + console.warn("WAProtocol.pb has more than one export") + } + module.exports["MessageKeySpec"].__name__ = "MessageKey" + module.exports["MessageKeySpec"].__module__ = "WACommon" + module.exports["MessageKeySpec"].__path__ = [] + continue + } + const proto = { + __protobuf__: true, + messages: {}, + enums: {}, + __name__: renameModule(name), + dependencies: renameDependencies(module.dependencies), + } + const upperSnakeEnums = [] + for (const [name, field] of Object.entries(module.exports)) { + const namePath = name.replace(/Spec$/, "").split("$") + field.__name__ = renameType(proto.__name__, namePath[namePath.length - 1], field) + namePath[namePath.length - 1] = field.__name__ + field.__path__ = namePath.slice(0, -1) + field.__module__ = proto.__name__ + if (field.internalSpec) { + dereference(proto, proto.__name__, [], ...namePath).message = field.internalSpec + } else if (namePath.length === 1 && name.toUpperCase() === name) { + upperSnakeEnums.push(field) + } else { + dereference(proto, proto.__name__, [], ...namePath.slice(0, -1)).enums[field.__name__] = field + } + } + // Some enums have uppercase names, instead of capital case with $ separators. + // For those, we need to find the right nesting location. + for (const field of upperSnakeEnums) { + field.__enum__ = true + const [obj, path, name] = dereferenceSnake(proto, [], field.__name__.split("_").map(part => part[0] + part.slice(1).toLowerCase())) + field.__path__ = path + field.__name__ = name + field.__module__ = proto.__name__ + obj.enums[name] = field + } + protos.push(proto) +} + +//////////////////////////////// +// PROTOBUF SCHEMA GENERATION // +//////////////////////////////// + +function indent(lines, indent = "\t") { + return lines.map(line => line ? `${indent}${line}` : "") +} + +function flattenWithBlankLines(...items) { + return items + .flatMap(item => item.length > 0 ? [item, [""]] : []) + .slice(0, -1) + .flatMap(item => item) +} + +function protoifyChildren(container) { + return flattenWithBlankLines( + ...Object.values(container.enums).map(protoifyEnum), + ...Object.values(container.messages).map(protoifyMessage), + ) +} + +function protoifyEnum(enumDef) { + const values = [] + const names = Object.fromEntries(Object.entries(enumDef).map(([name, value]) => [value, name])) + if (!names["0"]) { + if (names["-1"]) { + enumDef[names["-1"]] = 0 + } else { + // TODO add snake case + values.push(`${enumDef.__name__.toUpperCase()}_UNKNOWN = 0;`) + } + } + for (const [name, value] of Object.entries(enumDef)) { + if (name.startsWith("__") && name.endsWith("__")) { + continue + } + values.push(`${name} = ${value};`) + } + return [`enum ${enumDef.__name__} ` + "{", ...indent(values), "}"] +} + +const {TYPES, TYPE_MASK, FLAGS} = requireModule("WAProtoConst") + +function fieldTypeName(typeID, typeRef, parentModule, parentPath) { + switch (typeID) { + case TYPES.INT32: + return "int32" + case TYPES.INT64: + return "int64" + case TYPES.UINT32: + return "uint32" + case TYPES.UINT64: + return "uint64" + case TYPES.SINT32: + return "sint32" + case TYPES.SINT64: + return "sint64" + case TYPES.BOOL: + return "bool" + case TYPES.ENUM: + case TYPES.MESSAGE: + let pathStartIndex = 0 + for (let i = 0; i < parentPath.length && i < typeRef.__path__.length; i++) { + if (typeRef.__path__[i] === parentPath[i]) { + pathStartIndex++ + } else { + break + } + } + const namePath = [] + if (typeRef.__module__ !== parentModule) { + namePath.push(typeRef.__module__) + pathStartIndex = 0 + } + namePath.push(...typeRef.__path__.slice(pathStartIndex)) + namePath.push(typeRef.__name__) + return namePath.join(".") + case TYPES.FIXED64: + return "fixed64" + case TYPES.SFIXED64: + return "sfixed64" + case TYPES.DOUBLE: + return "double" + case TYPES.STRING: + return "string" + case TYPES.BYTES: + return "bytes" + case TYPES.FIXED32: + return "fixed32" + case TYPES.SFIXED32: + return "sfixed32" + case TYPES.FLOAT: + return "float" + } +} + +const staticRenames = { + id: "ID", + jid: "JID", + encIv: "encIV", + iv: "IV", + ptt: "PTT", + hmac: "HMAC", + url: "URL", + fbid: "FBID", + jpegThumbnail: "JPEGThumbnail", + dsm: "DSM", +} + +function fixFieldName(name) { + if (name === "id") { + return "ID" + } else if (name === "encIv") { + return "encIV" + } + return staticRenames[name] ?? name + .replace(/Id([A-Zs]|$)/, "ID$1") + .replace("Jid", "JID") + .replace(/Ms([A-Z]|$)/, "MS$1") + .replace(/Ts([A-Z]|$)/, "TS$1") + .replace(/Mac([A-Z]|$)/, "MAC$1") + .replace("Url", "URL") + .replace("Cdn", "CDN") + .replace("Json", "JSON") + .replace("Jpeg", "JPEG") + .replace("Sha256", "SHA256") +} + +function protoifyField(name, [index, flags, typeRef], parentModule, parentPath) { + const preflags = [] + const postflags = [""] + if ((flags & FLAGS.REPEATED) !== 0) { + preflags.push("repeated") + } + // if ((flags & FLAGS.REQUIRED) === 0) { + // preflags.push("optional") + // } else { + // preflags.push("required") + // } + preflags.push(fieldTypeName(flags & TYPE_MASK, typeRef, parentModule, parentPath)) + if ((flags & FLAGS.PACKED) !== 0) { + postflags.push(`[packed=true]`) + } + return `${preflags.join(" ")} ${fixFieldName(name)} = ${index}${postflags.join(" ")};` +} + +function protoifyFields(fields, parentModule, parentPath) { + return Object.entries(fields).map(([name, definition]) => protoifyField(name, definition, parentModule, parentPath)) +} + +function protoifyMessage(message) { + const sections = [protoifyChildren(message)] + const spec = message.message + const fullMessagePath = message.__path__.concat([message.__name__]) + for (const [name, fieldNames] of Object.entries(spec.__oneofs__ ?? {})) { + const fields = Object.fromEntries(fieldNames.map(fieldName => { + const def = spec[fieldName] + delete spec[fieldName] + return [fieldName, def] + })) + sections.push([`oneof ${name} ` + "{", ...indent(protoifyFields(fields, message.__module__, fullMessagePath)), "}"]) + } + if (spec.__reserved__) { + console.warn("Found reserved keys:", message.__name__, spec.__reserved__) + } + delete spec.__oneofs__ + delete spec.__reserved__ + sections.push(protoifyFields(spec, message.__module__, fullMessagePath)) + return [`message ${message.__name__} ` + "{", ...indent(flattenWithBlankLines(...sections)), "}"] +} + +function goPackageName(name) { + return name.replace(/^WA/, "wa") +} + +function protoifyModule(module) { + const output = [] + output.push(`syntax = "proto3";`) + output.push(`package ${module.__name__};`) + output.push(`option go_package = "go.mau.fi/whatsmeow/binary/armadillo/${goPackageName(module.__name__)}";`) + output.push("") + if (module.dependencies.length > 0) { + for (const dependency of module.dependencies) { + output.push(`import "${goPackageName(dependency)}/${dependency}.proto";`) + } + output.push("") + } + const children = protoifyChildren(module) + children.push("") + return output.concat(children) +} + +const fs = require("fs") + +for (const proto of protos) { + fs.mkdirSync(goPackageName(proto.__name__), {recursive: true}) + fs.writeFileSync(`${goPackageName(proto.__name__)}/${proto.__name__}.proto`, protoifyModule(proto).join("\n")) +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waAdv/WAAdv.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waAdv/WAAdv.pb.go new file mode 100644 index 00000000..ab011d43 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waAdv/WAAdv.pb.go @@ -0,0 +1,552 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waAdv/WAAdv.proto + +package waAdv + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ADVEncryptionType int32 + +const ( + ADVEncryptionType_E2EE ADVEncryptionType = 0 + ADVEncryptionType_HOSTED ADVEncryptionType = 1 +) + +// Enum value maps for ADVEncryptionType. +var ( + ADVEncryptionType_name = map[int32]string{ + 0: "E2EE", + 1: "HOSTED", + } + ADVEncryptionType_value = map[string]int32{ + "E2EE": 0, + "HOSTED": 1, + } +) + +func (x ADVEncryptionType) Enum() *ADVEncryptionType { + p := new(ADVEncryptionType) + *p = x + return p +} + +func (x ADVEncryptionType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ADVEncryptionType) Descriptor() protoreflect.EnumDescriptor { + return file_waAdv_WAAdv_proto_enumTypes[0].Descriptor() +} + +func (ADVEncryptionType) Type() protoreflect.EnumType { + return &file_waAdv_WAAdv_proto_enumTypes[0] +} + +func (x ADVEncryptionType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ADVEncryptionType.Descriptor instead. +func (ADVEncryptionType) EnumDescriptor() ([]byte, []int) { + return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{0} +} + +type ADVKeyIndexList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawID uint32 `protobuf:"varint,1,opt,name=rawID,proto3" json:"rawID,omitempty"` + Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + CurrentIndex uint32 `protobuf:"varint,3,opt,name=currentIndex,proto3" json:"currentIndex,omitempty"` + ValidIndexes []uint32 `protobuf:"varint,4,rep,packed,name=validIndexes,proto3" json:"validIndexes,omitempty"` + AccountType ADVEncryptionType `protobuf:"varint,5,opt,name=accountType,proto3,enum=WAAdv.ADVEncryptionType" json:"accountType,omitempty"` +} + +func (x *ADVKeyIndexList) Reset() { + *x = ADVKeyIndexList{} + if protoimpl.UnsafeEnabled { + mi := &file_waAdv_WAAdv_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ADVKeyIndexList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ADVKeyIndexList) ProtoMessage() {} + +func (x *ADVKeyIndexList) ProtoReflect() protoreflect.Message { + mi := &file_waAdv_WAAdv_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ADVKeyIndexList.ProtoReflect.Descriptor instead. +func (*ADVKeyIndexList) Descriptor() ([]byte, []int) { + return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{0} +} + +func (x *ADVKeyIndexList) GetRawID() uint32 { + if x != nil { + return x.RawID + } + return 0 +} + +func (x *ADVKeyIndexList) GetTimestamp() uint64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +func (x *ADVKeyIndexList) GetCurrentIndex() uint32 { + if x != nil { + return x.CurrentIndex + } + return 0 +} + +func (x *ADVKeyIndexList) GetValidIndexes() []uint32 { + if x != nil { + return x.ValidIndexes + } + return nil +} + +func (x *ADVKeyIndexList) GetAccountType() ADVEncryptionType { + if x != nil { + return x.AccountType + } + return ADVEncryptionType_E2EE +} + +type ADVSignedKeyIndexList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details []byte `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + AccountSignature []byte `protobuf:"bytes,2,opt,name=accountSignature,proto3" json:"accountSignature,omitempty"` + AccountSignatureKey []byte `protobuf:"bytes,3,opt,name=accountSignatureKey,proto3" json:"accountSignatureKey,omitempty"` +} + +func (x *ADVSignedKeyIndexList) Reset() { + *x = ADVSignedKeyIndexList{} + if protoimpl.UnsafeEnabled { + mi := &file_waAdv_WAAdv_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ADVSignedKeyIndexList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ADVSignedKeyIndexList) ProtoMessage() {} + +func (x *ADVSignedKeyIndexList) ProtoReflect() protoreflect.Message { + mi := &file_waAdv_WAAdv_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ADVSignedKeyIndexList.ProtoReflect.Descriptor instead. +func (*ADVSignedKeyIndexList) Descriptor() ([]byte, []int) { + return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{1} +} + +func (x *ADVSignedKeyIndexList) GetDetails() []byte { + if x != nil { + return x.Details + } + return nil +} + +func (x *ADVSignedKeyIndexList) GetAccountSignature() []byte { + if x != nil { + return x.AccountSignature + } + return nil +} + +func (x *ADVSignedKeyIndexList) GetAccountSignatureKey() []byte { + if x != nil { + return x.AccountSignatureKey + } + return nil +} + +type ADVDeviceIdentity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawID uint32 `protobuf:"varint,1,opt,name=rawID,proto3" json:"rawID,omitempty"` + Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + KeyIndex uint32 `protobuf:"varint,3,opt,name=keyIndex,proto3" json:"keyIndex,omitempty"` + AccountType ADVEncryptionType `protobuf:"varint,4,opt,name=accountType,proto3,enum=WAAdv.ADVEncryptionType" json:"accountType,omitempty"` + DeviceType ADVEncryptionType `protobuf:"varint,5,opt,name=deviceType,proto3,enum=WAAdv.ADVEncryptionType" json:"deviceType,omitempty"` +} + +func (x *ADVDeviceIdentity) Reset() { + *x = ADVDeviceIdentity{} + if protoimpl.UnsafeEnabled { + mi := &file_waAdv_WAAdv_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ADVDeviceIdentity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ADVDeviceIdentity) ProtoMessage() {} + +func (x *ADVDeviceIdentity) ProtoReflect() protoreflect.Message { + mi := &file_waAdv_WAAdv_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ADVDeviceIdentity.ProtoReflect.Descriptor instead. +func (*ADVDeviceIdentity) Descriptor() ([]byte, []int) { + return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{2} +} + +func (x *ADVDeviceIdentity) GetRawID() uint32 { + if x != nil { + return x.RawID + } + return 0 +} + +func (x *ADVDeviceIdentity) GetTimestamp() uint64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +func (x *ADVDeviceIdentity) GetKeyIndex() uint32 { + if x != nil { + return x.KeyIndex + } + return 0 +} + +func (x *ADVDeviceIdentity) GetAccountType() ADVEncryptionType { + if x != nil { + return x.AccountType + } + return ADVEncryptionType_E2EE +} + +func (x *ADVDeviceIdentity) GetDeviceType() ADVEncryptionType { + if x != nil { + return x.DeviceType + } + return ADVEncryptionType_E2EE +} + +type ADVSignedDeviceIdentity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details []byte `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + AccountSignatureKey []byte `protobuf:"bytes,2,opt,name=accountSignatureKey,proto3" json:"accountSignatureKey,omitempty"` + AccountSignature []byte `protobuf:"bytes,3,opt,name=accountSignature,proto3" json:"accountSignature,omitempty"` + DeviceSignature []byte `protobuf:"bytes,4,opt,name=deviceSignature,proto3" json:"deviceSignature,omitempty"` +} + +func (x *ADVSignedDeviceIdentity) Reset() { + *x = ADVSignedDeviceIdentity{} + if protoimpl.UnsafeEnabled { + mi := &file_waAdv_WAAdv_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ADVSignedDeviceIdentity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ADVSignedDeviceIdentity) ProtoMessage() {} + +func (x *ADVSignedDeviceIdentity) ProtoReflect() protoreflect.Message { + mi := &file_waAdv_WAAdv_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ADVSignedDeviceIdentity.ProtoReflect.Descriptor instead. +func (*ADVSignedDeviceIdentity) Descriptor() ([]byte, []int) { + return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{3} +} + +func (x *ADVSignedDeviceIdentity) GetDetails() []byte { + if x != nil { + return x.Details + } + return nil +} + +func (x *ADVSignedDeviceIdentity) GetAccountSignatureKey() []byte { + if x != nil { + return x.AccountSignatureKey + } + return nil +} + +func (x *ADVSignedDeviceIdentity) GetAccountSignature() []byte { + if x != nil { + return x.AccountSignature + } + return nil +} + +func (x *ADVSignedDeviceIdentity) GetDeviceSignature() []byte { + if x != nil { + return x.DeviceSignature + } + return nil +} + +type ADVSignedDeviceIdentityHMAC struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details []byte `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + HMAC []byte `protobuf:"bytes,2,opt,name=HMAC,proto3" json:"HMAC,omitempty"` + AccountType ADVEncryptionType `protobuf:"varint,3,opt,name=accountType,proto3,enum=WAAdv.ADVEncryptionType" json:"accountType,omitempty"` +} + +func (x *ADVSignedDeviceIdentityHMAC) Reset() { + *x = ADVSignedDeviceIdentityHMAC{} + if protoimpl.UnsafeEnabled { + mi := &file_waAdv_WAAdv_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ADVSignedDeviceIdentityHMAC) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ADVSignedDeviceIdentityHMAC) ProtoMessage() {} + +func (x *ADVSignedDeviceIdentityHMAC) ProtoReflect() protoreflect.Message { + mi := &file_waAdv_WAAdv_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ADVSignedDeviceIdentityHMAC.ProtoReflect.Descriptor instead. +func (*ADVSignedDeviceIdentityHMAC) Descriptor() ([]byte, []int) { + return file_waAdv_WAAdv_proto_rawDescGZIP(), []int{4} +} + +func (x *ADVSignedDeviceIdentityHMAC) GetDetails() []byte { + if x != nil { + return x.Details + } + return nil +} + +func (x *ADVSignedDeviceIdentityHMAC) GetHMAC() []byte { + if x != nil { + return x.HMAC + } + return nil +} + +func (x *ADVSignedDeviceIdentityHMAC) GetAccountType() ADVEncryptionType { + if x != nil { + return x.AccountType + } + return ADVEncryptionType_E2EE +} + +var File_waAdv_WAAdv_proto protoreflect.FileDescriptor + +//go:embed WAAdv.pb.raw +var file_waAdv_WAAdv_proto_rawDesc []byte + +var ( + file_waAdv_WAAdv_proto_rawDescOnce sync.Once + file_waAdv_WAAdv_proto_rawDescData = file_waAdv_WAAdv_proto_rawDesc +) + +func file_waAdv_WAAdv_proto_rawDescGZIP() []byte { + file_waAdv_WAAdv_proto_rawDescOnce.Do(func() { + file_waAdv_WAAdv_proto_rawDescData = protoimpl.X.CompressGZIP(file_waAdv_WAAdv_proto_rawDescData) + }) + return file_waAdv_WAAdv_proto_rawDescData +} + +var file_waAdv_WAAdv_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_waAdv_WAAdv_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_waAdv_WAAdv_proto_goTypes = []interface{}{ + (ADVEncryptionType)(0), // 0: WAAdv.ADVEncryptionType + (*ADVKeyIndexList)(nil), // 1: WAAdv.ADVKeyIndexList + (*ADVSignedKeyIndexList)(nil), // 2: WAAdv.ADVSignedKeyIndexList + (*ADVDeviceIdentity)(nil), // 3: WAAdv.ADVDeviceIdentity + (*ADVSignedDeviceIdentity)(nil), // 4: WAAdv.ADVSignedDeviceIdentity + (*ADVSignedDeviceIdentityHMAC)(nil), // 5: WAAdv.ADVSignedDeviceIdentityHMAC +} +var file_waAdv_WAAdv_proto_depIdxs = []int32{ + 0, // 0: WAAdv.ADVKeyIndexList.accountType:type_name -> WAAdv.ADVEncryptionType + 0, // 1: WAAdv.ADVDeviceIdentity.accountType:type_name -> WAAdv.ADVEncryptionType + 0, // 2: WAAdv.ADVDeviceIdentity.deviceType:type_name -> WAAdv.ADVEncryptionType + 0, // 3: WAAdv.ADVSignedDeviceIdentityHMAC.accountType:type_name -> WAAdv.ADVEncryptionType + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_waAdv_WAAdv_proto_init() } +func file_waAdv_WAAdv_proto_init() { + if File_waAdv_WAAdv_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waAdv_WAAdv_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ADVKeyIndexList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waAdv_WAAdv_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ADVSignedKeyIndexList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waAdv_WAAdv_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ADVDeviceIdentity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waAdv_WAAdv_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ADVSignedDeviceIdentity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waAdv_WAAdv_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ADVSignedDeviceIdentityHMAC); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waAdv_WAAdv_proto_rawDesc, + NumEnums: 1, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waAdv_WAAdv_proto_goTypes, + DependencyIndexes: file_waAdv_WAAdv_proto_depIdxs, + EnumInfos: file_waAdv_WAAdv_proto_enumTypes, + MessageInfos: file_waAdv_WAAdv_proto_msgTypes, + }.Build() + File_waAdv_WAAdv_proto = out.File + file_waAdv_WAAdv_proto_rawDesc = nil + file_waAdv_WAAdv_proto_goTypes = nil + file_waAdv_WAAdv_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waAdv/WAAdv.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waAdv/WAAdv.pb.raw new file mode 100644 index 00000000..b1b49dd8 Binary files /dev/null and b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waAdv/WAAdv.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waAdv/WAAdv.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waAdv/WAAdv.proto new file mode 100644 index 00000000..5f42ae08 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waAdv/WAAdv.proto @@ -0,0 +1,43 @@ +syntax = "proto3"; +package WAAdv; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waAdv"; + +enum ADVEncryptionType { + E2EE = 0; + HOSTED = 1; +} + +message ADVKeyIndexList { + uint32 rawID = 1; + uint64 timestamp = 2; + uint32 currentIndex = 3; + repeated uint32 validIndexes = 4 [packed=true]; + ADVEncryptionType accountType = 5; +} + +message ADVSignedKeyIndexList { + bytes details = 1; + bytes accountSignature = 2; + bytes accountSignatureKey = 3; +} + +message ADVDeviceIdentity { + uint32 rawID = 1; + uint64 timestamp = 2; + uint32 keyIndex = 3; + ADVEncryptionType accountType = 4; + ADVEncryptionType deviceType = 5; +} + +message ADVSignedDeviceIdentity { + bytes details = 1; + bytes accountSignatureKey = 2; + bytes accountSignature = 3; + bytes deviceSignature = 4; +} + +message ADVSignedDeviceIdentityHMAC { + bytes details = 1; + bytes HMAC = 2; + ADVEncryptionType accountType = 3; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/WAArmadilloApplication.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/WAArmadilloApplication.pb.go new file mode 100644 index 00000000..24befe4c --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/WAArmadilloApplication.pb.go @@ -0,0 +1,2927 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waArmadilloApplication/WAArmadilloApplication.proto + +package waArmadilloApplication + +import ( + reflect "reflect" + sync "sync" + + waArmadilloXMA "go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA" + waCommon "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus int32 + +const ( + Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EPOCHSTATUS_UNKNOWN Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus = 0 + Armadillo_Signal_EncryptedBackupsSecrets_Epoch_ES_OPEN Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus = 1 + Armadillo_Signal_EncryptedBackupsSecrets_Epoch_ES_CLOSE Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus = 2 +) + +// Enum value maps for Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus. +var ( + Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus_name = map[int32]string{ + 0: "EPOCHSTATUS_UNKNOWN", + 1: "ES_OPEN", + 2: "ES_CLOSE", + } + Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus_value = map[string]int32{ + "EPOCHSTATUS_UNKNOWN": 0, + "ES_OPEN": 1, + "ES_CLOSE": 2, + } +) + +func (x Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus) Enum() *Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus { + p := new(Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus) + *p = x + return p +} + +func (x Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus) Descriptor() protoreflect.EnumDescriptor { + return file_waArmadilloApplication_WAArmadilloApplication_proto_enumTypes[0].Descriptor() +} + +func (Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus) Type() protoreflect.EnumType { + return &file_waArmadilloApplication_WAArmadilloApplication_proto_enumTypes[0] +} + +func (x Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus.Descriptor instead. +func (Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus) EnumDescriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 3, 0, 0, 0} +} + +type Armadillo_Content_PaymentsTransactionMessage_PaymentStatus int32 + +const ( + Armadillo_Content_PaymentsTransactionMessage_PAYMENT_UNKNOWN Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 0 + Armadillo_Content_PaymentsTransactionMessage_REQUEST_INITED Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 4 + Armadillo_Content_PaymentsTransactionMessage_REQUEST_DECLINED Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 5 + Armadillo_Content_PaymentsTransactionMessage_REQUEST_TRANSFER_INITED Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 6 + Armadillo_Content_PaymentsTransactionMessage_REQUEST_TRANSFER_COMPLETED Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 7 + Armadillo_Content_PaymentsTransactionMessage_REQUEST_TRANSFER_FAILED Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 8 + Armadillo_Content_PaymentsTransactionMessage_REQUEST_CANCELED Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 9 + Armadillo_Content_PaymentsTransactionMessage_REQUEST_EXPIRED Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 10 + Armadillo_Content_PaymentsTransactionMessage_TRANSFER_INITED Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 11 + Armadillo_Content_PaymentsTransactionMessage_TRANSFER_PENDING Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 12 + Armadillo_Content_PaymentsTransactionMessage_TRANSFER_PENDING_RECIPIENT_VERIFICATION Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 13 + Armadillo_Content_PaymentsTransactionMessage_TRANSFER_CANCELED Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 14 + Armadillo_Content_PaymentsTransactionMessage_TRANSFER_COMPLETED Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 15 + Armadillo_Content_PaymentsTransactionMessage_TRANSFER_NO_RECEIVER_CREDENTIAL_NO_RTS_PENDING_CANCELED Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 16 + Armadillo_Content_PaymentsTransactionMessage_TRANSFER_NO_RECEIVER_CREDENTIAL_NO_RTS_PENDING_OTHER Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 17 + Armadillo_Content_PaymentsTransactionMessage_TRANSFER_REFUNDED Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 18 + Armadillo_Content_PaymentsTransactionMessage_TRANSFER_PARTIAL_REFUND Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 19 + Armadillo_Content_PaymentsTransactionMessage_TRANSFER_CHARGED_BACK Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 20 + Armadillo_Content_PaymentsTransactionMessage_TRANSFER_EXPIRED Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 21 + Armadillo_Content_PaymentsTransactionMessage_TRANSFER_DECLINED Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 22 + Armadillo_Content_PaymentsTransactionMessage_TRANSFER_UNAVAILABLE Armadillo_Content_PaymentsTransactionMessage_PaymentStatus = 23 +) + +// Enum value maps for Armadillo_Content_PaymentsTransactionMessage_PaymentStatus. +var ( + Armadillo_Content_PaymentsTransactionMessage_PaymentStatus_name = map[int32]string{ + 0: "PAYMENT_UNKNOWN", + 4: "REQUEST_INITED", + 5: "REQUEST_DECLINED", + 6: "REQUEST_TRANSFER_INITED", + 7: "REQUEST_TRANSFER_COMPLETED", + 8: "REQUEST_TRANSFER_FAILED", + 9: "REQUEST_CANCELED", + 10: "REQUEST_EXPIRED", + 11: "TRANSFER_INITED", + 12: "TRANSFER_PENDING", + 13: "TRANSFER_PENDING_RECIPIENT_VERIFICATION", + 14: "TRANSFER_CANCELED", + 15: "TRANSFER_COMPLETED", + 16: "TRANSFER_NO_RECEIVER_CREDENTIAL_NO_RTS_PENDING_CANCELED", + 17: "TRANSFER_NO_RECEIVER_CREDENTIAL_NO_RTS_PENDING_OTHER", + 18: "TRANSFER_REFUNDED", + 19: "TRANSFER_PARTIAL_REFUND", + 20: "TRANSFER_CHARGED_BACK", + 21: "TRANSFER_EXPIRED", + 22: "TRANSFER_DECLINED", + 23: "TRANSFER_UNAVAILABLE", + } + Armadillo_Content_PaymentsTransactionMessage_PaymentStatus_value = map[string]int32{ + "PAYMENT_UNKNOWN": 0, + "REQUEST_INITED": 4, + "REQUEST_DECLINED": 5, + "REQUEST_TRANSFER_INITED": 6, + "REQUEST_TRANSFER_COMPLETED": 7, + "REQUEST_TRANSFER_FAILED": 8, + "REQUEST_CANCELED": 9, + "REQUEST_EXPIRED": 10, + "TRANSFER_INITED": 11, + "TRANSFER_PENDING": 12, + "TRANSFER_PENDING_RECIPIENT_VERIFICATION": 13, + "TRANSFER_CANCELED": 14, + "TRANSFER_COMPLETED": 15, + "TRANSFER_NO_RECEIVER_CREDENTIAL_NO_RTS_PENDING_CANCELED": 16, + "TRANSFER_NO_RECEIVER_CREDENTIAL_NO_RTS_PENDING_OTHER": 17, + "TRANSFER_REFUNDED": 18, + "TRANSFER_PARTIAL_REFUND": 19, + "TRANSFER_CHARGED_BACK": 20, + "TRANSFER_EXPIRED": 21, + "TRANSFER_DECLINED": 22, + "TRANSFER_UNAVAILABLE": 23, + } +) + +func (x Armadillo_Content_PaymentsTransactionMessage_PaymentStatus) Enum() *Armadillo_Content_PaymentsTransactionMessage_PaymentStatus { + p := new(Armadillo_Content_PaymentsTransactionMessage_PaymentStatus) + *p = x + return p +} + +func (x Armadillo_Content_PaymentsTransactionMessage_PaymentStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Armadillo_Content_PaymentsTransactionMessage_PaymentStatus) Descriptor() protoreflect.EnumDescriptor { + return file_waArmadilloApplication_WAArmadilloApplication_proto_enumTypes[1].Descriptor() +} + +func (Armadillo_Content_PaymentsTransactionMessage_PaymentStatus) Type() protoreflect.EnumType { + return &file_waArmadilloApplication_WAArmadilloApplication_proto_enumTypes[1] +} + +func (x Armadillo_Content_PaymentsTransactionMessage_PaymentStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Armadillo_Content_PaymentsTransactionMessage_PaymentStatus.Descriptor instead. +func (Armadillo_Content_PaymentsTransactionMessage_PaymentStatus) EnumDescriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 0, 0} +} + +type Armadillo_Content_ScreenshotAction_ScreenshotType int32 + +const ( + Armadillo_Content_ScreenshotAction_SCREENSHOTTYPE_UNKNOWN Armadillo_Content_ScreenshotAction_ScreenshotType = 0 + Armadillo_Content_ScreenshotAction_SCREENSHOT_IMAGE Armadillo_Content_ScreenshotAction_ScreenshotType = 1 + Armadillo_Content_ScreenshotAction_SCREEN_RECORDING Armadillo_Content_ScreenshotAction_ScreenshotType = 2 +) + +// Enum value maps for Armadillo_Content_ScreenshotAction_ScreenshotType. +var ( + Armadillo_Content_ScreenshotAction_ScreenshotType_name = map[int32]string{ + 0: "SCREENSHOTTYPE_UNKNOWN", + 1: "SCREENSHOT_IMAGE", + 2: "SCREEN_RECORDING", + } + Armadillo_Content_ScreenshotAction_ScreenshotType_value = map[string]int32{ + "SCREENSHOTTYPE_UNKNOWN": 0, + "SCREENSHOT_IMAGE": 1, + "SCREEN_RECORDING": 2, + } +) + +func (x Armadillo_Content_ScreenshotAction_ScreenshotType) Enum() *Armadillo_Content_ScreenshotAction_ScreenshotType { + p := new(Armadillo_Content_ScreenshotAction_ScreenshotType) + *p = x + return p +} + +func (x Armadillo_Content_ScreenshotAction_ScreenshotType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Armadillo_Content_ScreenshotAction_ScreenshotType) Descriptor() protoreflect.EnumDescriptor { + return file_waArmadilloApplication_WAArmadilloApplication_proto_enumTypes[2].Descriptor() +} + +func (Armadillo_Content_ScreenshotAction_ScreenshotType) Type() protoreflect.EnumType { + return &file_waArmadilloApplication_WAArmadilloApplication_proto_enumTypes[2] +} + +func (x Armadillo_Content_ScreenshotAction_ScreenshotType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Armadillo_Content_ScreenshotAction_ScreenshotType.Descriptor instead. +func (Armadillo_Content_ScreenshotAction_ScreenshotType) EnumDescriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 4, 0} +} + +type Armadillo_Content_RavenActionNotifMessage_ActionType int32 + +const ( + Armadillo_Content_RavenActionNotifMessage_PLAYED Armadillo_Content_RavenActionNotifMessage_ActionType = 0 + Armadillo_Content_RavenActionNotifMessage_SCREENSHOT Armadillo_Content_RavenActionNotifMessage_ActionType = 1 + Armadillo_Content_RavenActionNotifMessage_FORCE_DISABLE Armadillo_Content_RavenActionNotifMessage_ActionType = 2 +) + +// Enum value maps for Armadillo_Content_RavenActionNotifMessage_ActionType. +var ( + Armadillo_Content_RavenActionNotifMessage_ActionType_name = map[int32]string{ + 0: "PLAYED", + 1: "SCREENSHOT", + 2: "FORCE_DISABLE", + } + Armadillo_Content_RavenActionNotifMessage_ActionType_value = map[string]int32{ + "PLAYED": 0, + "SCREENSHOT": 1, + "FORCE_DISABLE": 2, + } +) + +func (x Armadillo_Content_RavenActionNotifMessage_ActionType) Enum() *Armadillo_Content_RavenActionNotifMessage_ActionType { + p := new(Armadillo_Content_RavenActionNotifMessage_ActionType) + *p = x + return p +} + +func (x Armadillo_Content_RavenActionNotifMessage_ActionType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Armadillo_Content_RavenActionNotifMessage_ActionType) Descriptor() protoreflect.EnumDescriptor { + return file_waArmadilloApplication_WAArmadilloApplication_proto_enumTypes[3].Descriptor() +} + +func (Armadillo_Content_RavenActionNotifMessage_ActionType) Type() protoreflect.EnumType { + return &file_waArmadilloApplication_WAArmadilloApplication_proto_enumTypes[3] +} + +func (x Armadillo_Content_RavenActionNotifMessage_ActionType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Armadillo_Content_RavenActionNotifMessage_ActionType.Descriptor instead. +func (Armadillo_Content_RavenActionNotifMessage_ActionType) EnumDescriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 6, 0} +} + +type Armadillo_Content_RavenMessage_EphemeralType int32 + +const ( + Armadillo_Content_RavenMessage_VIEW_ONCE Armadillo_Content_RavenMessage_EphemeralType = 0 + Armadillo_Content_RavenMessage_ALLOW_REPLAY Armadillo_Content_RavenMessage_EphemeralType = 1 + Armadillo_Content_RavenMessage_KEEP_IN_CHAT Armadillo_Content_RavenMessage_EphemeralType = 2 +) + +// Enum value maps for Armadillo_Content_RavenMessage_EphemeralType. +var ( + Armadillo_Content_RavenMessage_EphemeralType_name = map[int32]string{ + 0: "VIEW_ONCE", + 1: "ALLOW_REPLAY", + 2: "KEEP_IN_CHAT", + } + Armadillo_Content_RavenMessage_EphemeralType_value = map[string]int32{ + "VIEW_ONCE": 0, + "ALLOW_REPLAY": 1, + "KEEP_IN_CHAT": 2, + } +) + +func (x Armadillo_Content_RavenMessage_EphemeralType) Enum() *Armadillo_Content_RavenMessage_EphemeralType { + p := new(Armadillo_Content_RavenMessage_EphemeralType) + *p = x + return p +} + +func (x Armadillo_Content_RavenMessage_EphemeralType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Armadillo_Content_RavenMessage_EphemeralType) Descriptor() protoreflect.EnumDescriptor { + return file_waArmadilloApplication_WAArmadilloApplication_proto_enumTypes[4].Descriptor() +} + +func (Armadillo_Content_RavenMessage_EphemeralType) Type() protoreflect.EnumType { + return &file_waArmadilloApplication_WAArmadilloApplication_proto_enumTypes[4] +} + +func (x Armadillo_Content_RavenMessage_EphemeralType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Armadillo_Content_RavenMessage_EphemeralType.Descriptor instead. +func (Armadillo_Content_RavenMessage_EphemeralType) EnumDescriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 7, 0} +} + +type Armadillo_Content_CommonSticker_StickerType int32 + +const ( + Armadillo_Content_CommonSticker_STICKERTYPE_UNKNOWN Armadillo_Content_CommonSticker_StickerType = 0 + Armadillo_Content_CommonSticker_SMALL_LIKE Armadillo_Content_CommonSticker_StickerType = 1 + Armadillo_Content_CommonSticker_MEDIUM_LIKE Armadillo_Content_CommonSticker_StickerType = 2 + Armadillo_Content_CommonSticker_LARGE_LIKE Armadillo_Content_CommonSticker_StickerType = 3 +) + +// Enum value maps for Armadillo_Content_CommonSticker_StickerType. +var ( + Armadillo_Content_CommonSticker_StickerType_name = map[int32]string{ + 0: "STICKERTYPE_UNKNOWN", + 1: "SMALL_LIKE", + 2: "MEDIUM_LIKE", + 3: "LARGE_LIKE", + } + Armadillo_Content_CommonSticker_StickerType_value = map[string]int32{ + "STICKERTYPE_UNKNOWN": 0, + "SMALL_LIKE": 1, + "MEDIUM_LIKE": 2, + "LARGE_LIKE": 3, + } +) + +func (x Armadillo_Content_CommonSticker_StickerType) Enum() *Armadillo_Content_CommonSticker_StickerType { + p := new(Armadillo_Content_CommonSticker_StickerType) + *p = x + return p +} + +func (x Armadillo_Content_CommonSticker_StickerType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Armadillo_Content_CommonSticker_StickerType) Descriptor() protoreflect.EnumDescriptor { + return file_waArmadilloApplication_WAArmadilloApplication_proto_enumTypes[5].Descriptor() +} + +func (Armadillo_Content_CommonSticker_StickerType) Type() protoreflect.EnumType { + return &file_waArmadilloApplication_WAArmadilloApplication_proto_enumTypes[5] +} + +func (x Armadillo_Content_CommonSticker_StickerType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Armadillo_Content_CommonSticker_StickerType.Descriptor instead. +func (Armadillo_Content_CommonSticker_StickerType) EnumDescriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 8, 0} +} + +type Armadillo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Payload *Armadillo_Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + Metadata *Armadillo_Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` +} + +func (x *Armadillo) Reset() { + *x = Armadillo{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo) ProtoMessage() {} + +func (x *Armadillo) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo.ProtoReflect.Descriptor instead. +func (*Armadillo) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0} +} + +func (x *Armadillo) GetPayload() *Armadillo_Payload { + if x != nil { + return x.Payload + } + return nil +} + +func (x *Armadillo) GetMetadata() *Armadillo_Metadata { + if x != nil { + return x.Metadata + } + return nil +} + +type Armadillo_Metadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Armadillo_Metadata) Reset() { + *x = Armadillo_Metadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Metadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Metadata) ProtoMessage() {} + +func (x *Armadillo_Metadata) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Metadata.ProtoReflect.Descriptor instead. +func (*Armadillo_Metadata) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 0} +} + +type Armadillo_Payload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Payload: + // + // *Armadillo_Payload_Content + // *Armadillo_Payload_ApplicationData + // *Armadillo_Payload_Signal + // *Armadillo_Payload_SubProtocol + Payload isArmadillo_Payload_Payload `protobuf_oneof:"payload"` +} + +func (x *Armadillo_Payload) Reset() { + *x = Armadillo_Payload{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Payload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Payload) ProtoMessage() {} + +func (x *Armadillo_Payload) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Payload.ProtoReflect.Descriptor instead. +func (*Armadillo_Payload) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 1} +} + +func (m *Armadillo_Payload) GetPayload() isArmadillo_Payload_Payload { + if m != nil { + return m.Payload + } + return nil +} + +func (x *Armadillo_Payload) GetContent() *Armadillo_Content { + if x, ok := x.GetPayload().(*Armadillo_Payload_Content); ok { + return x.Content + } + return nil +} + +func (x *Armadillo_Payload) GetApplicationData() *Armadillo_ApplicationData { + if x, ok := x.GetPayload().(*Armadillo_Payload_ApplicationData); ok { + return x.ApplicationData + } + return nil +} + +func (x *Armadillo_Payload) GetSignal() *Armadillo_Signal { + if x, ok := x.GetPayload().(*Armadillo_Payload_Signal); ok { + return x.Signal + } + return nil +} + +func (x *Armadillo_Payload) GetSubProtocol() *Armadillo_SubProtocolPayload { + if x, ok := x.GetPayload().(*Armadillo_Payload_SubProtocol); ok { + return x.SubProtocol + } + return nil +} + +type isArmadillo_Payload_Payload interface { + isArmadillo_Payload_Payload() +} + +type Armadillo_Payload_Content struct { + Content *Armadillo_Content `protobuf:"bytes,1,opt,name=content,proto3,oneof"` +} + +type Armadillo_Payload_ApplicationData struct { + ApplicationData *Armadillo_ApplicationData `protobuf:"bytes,2,opt,name=applicationData,proto3,oneof"` +} + +type Armadillo_Payload_Signal struct { + Signal *Armadillo_Signal `protobuf:"bytes,3,opt,name=signal,proto3,oneof"` +} + +type Armadillo_Payload_SubProtocol struct { + SubProtocol *Armadillo_SubProtocolPayload `protobuf:"bytes,4,opt,name=subProtocol,proto3,oneof"` +} + +func (*Armadillo_Payload_Content) isArmadillo_Payload_Payload() {} + +func (*Armadillo_Payload_ApplicationData) isArmadillo_Payload_Payload() {} + +func (*Armadillo_Payload_Signal) isArmadillo_Payload_Payload() {} + +func (*Armadillo_Payload_SubProtocol) isArmadillo_Payload_Payload() {} + +type Armadillo_SubProtocolPayload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FutureProof waCommon.FutureProofBehavior `protobuf:"varint,1,opt,name=futureProof,proto3,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"` +} + +func (x *Armadillo_SubProtocolPayload) Reset() { + *x = Armadillo_SubProtocolPayload{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_SubProtocolPayload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_SubProtocolPayload) ProtoMessage() {} + +func (x *Armadillo_SubProtocolPayload) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_SubProtocolPayload.ProtoReflect.Descriptor instead. +func (*Armadillo_SubProtocolPayload) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 2} +} + +func (x *Armadillo_SubProtocolPayload) GetFutureProof() waCommon.FutureProofBehavior { + if x != nil { + return x.FutureProof + } + return waCommon.FutureProofBehavior(0) +} + +type Armadillo_Signal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Signal: + // + // *Armadillo_Signal_EncryptedBackupsSecrets_ + Signal isArmadillo_Signal_Signal `protobuf_oneof:"signal"` +} + +func (x *Armadillo_Signal) Reset() { + *x = Armadillo_Signal{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Signal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Signal) ProtoMessage() {} + +func (x *Armadillo_Signal) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Signal.ProtoReflect.Descriptor instead. +func (*Armadillo_Signal) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 3} +} + +func (m *Armadillo_Signal) GetSignal() isArmadillo_Signal_Signal { + if m != nil { + return m.Signal + } + return nil +} + +func (x *Armadillo_Signal) GetEncryptedBackupsSecrets() *Armadillo_Signal_EncryptedBackupsSecrets { + if x, ok := x.GetSignal().(*Armadillo_Signal_EncryptedBackupsSecrets_); ok { + return x.EncryptedBackupsSecrets + } + return nil +} + +type isArmadillo_Signal_Signal interface { + isArmadillo_Signal_Signal() +} + +type Armadillo_Signal_EncryptedBackupsSecrets_ struct { + EncryptedBackupsSecrets *Armadillo_Signal_EncryptedBackupsSecrets `protobuf:"bytes,1,opt,name=encryptedBackupsSecrets,proto3,oneof"` +} + +func (*Armadillo_Signal_EncryptedBackupsSecrets_) isArmadillo_Signal_Signal() {} + +type Armadillo_ApplicationData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to ApplicationData: + // + // *Armadillo_ApplicationData_MetadataSync + // *Armadillo_ApplicationData_AiBotResponse + ApplicationData isArmadillo_ApplicationData_ApplicationData `protobuf_oneof:"applicationData"` +} + +func (x *Armadillo_ApplicationData) Reset() { + *x = Armadillo_ApplicationData{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_ApplicationData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_ApplicationData) ProtoMessage() {} + +func (x *Armadillo_ApplicationData) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_ApplicationData.ProtoReflect.Descriptor instead. +func (*Armadillo_ApplicationData) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 4} +} + +func (m *Armadillo_ApplicationData) GetApplicationData() isArmadillo_ApplicationData_ApplicationData { + if m != nil { + return m.ApplicationData + } + return nil +} + +func (x *Armadillo_ApplicationData) GetMetadataSync() *Armadillo_ApplicationData_MetadataSyncNotification { + if x, ok := x.GetApplicationData().(*Armadillo_ApplicationData_MetadataSync); ok { + return x.MetadataSync + } + return nil +} + +func (x *Armadillo_ApplicationData) GetAiBotResponse() *Armadillo_ApplicationData_AIBotResponseMessage { + if x, ok := x.GetApplicationData().(*Armadillo_ApplicationData_AiBotResponse); ok { + return x.AiBotResponse + } + return nil +} + +type isArmadillo_ApplicationData_ApplicationData interface { + isArmadillo_ApplicationData_ApplicationData() +} + +type Armadillo_ApplicationData_MetadataSync struct { + MetadataSync *Armadillo_ApplicationData_MetadataSyncNotification `protobuf:"bytes,1,opt,name=metadataSync,proto3,oneof"` +} + +type Armadillo_ApplicationData_AiBotResponse struct { + AiBotResponse *Armadillo_ApplicationData_AIBotResponseMessage `protobuf:"bytes,2,opt,name=aiBotResponse,proto3,oneof"` +} + +func (*Armadillo_ApplicationData_MetadataSync) isArmadillo_ApplicationData_ApplicationData() {} + +func (*Armadillo_ApplicationData_AiBotResponse) isArmadillo_ApplicationData_ApplicationData() {} + +type Armadillo_Content struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Content: + // + // *Armadillo_Content_CommonSticker_ + // *Armadillo_Content_ScreenshotAction_ + // *Armadillo_Content_ExtendedContentMessage + // *Armadillo_Content_RavenMessage_ + // *Armadillo_Content_RavenActionNotifMessage_ + // *Armadillo_Content_ExtendedMessageContentWithSear + // *Armadillo_Content_ImageGalleryMessage_ + // *Armadillo_Content_PaymentsTransactionMessage_ + // *Armadillo_Content_BumpExistingMessage_ + // *Armadillo_Content_NoteReplyMessage_ + Content isArmadillo_Content_Content `protobuf_oneof:"content"` +} + +func (x *Armadillo_Content) Reset() { + *x = Armadillo_Content{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Content) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Content) ProtoMessage() {} + +func (x *Armadillo_Content) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Content.ProtoReflect.Descriptor instead. +func (*Armadillo_Content) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5} +} + +func (m *Armadillo_Content) GetContent() isArmadillo_Content_Content { + if m != nil { + return m.Content + } + return nil +} + +func (x *Armadillo_Content) GetCommonSticker() *Armadillo_Content_CommonSticker { + if x, ok := x.GetContent().(*Armadillo_Content_CommonSticker_); ok { + return x.CommonSticker + } + return nil +} + +func (x *Armadillo_Content) GetScreenshotAction() *Armadillo_Content_ScreenshotAction { + if x, ok := x.GetContent().(*Armadillo_Content_ScreenshotAction_); ok { + return x.ScreenshotAction + } + return nil +} + +func (x *Armadillo_Content) GetExtendedContentMessage() *waArmadilloXMA.ExtendedContentMessage { + if x, ok := x.GetContent().(*Armadillo_Content_ExtendedContentMessage); ok { + return x.ExtendedContentMessage + } + return nil +} + +func (x *Armadillo_Content) GetRavenMessage() *Armadillo_Content_RavenMessage { + if x, ok := x.GetContent().(*Armadillo_Content_RavenMessage_); ok { + return x.RavenMessage + } + return nil +} + +func (x *Armadillo_Content) GetRavenActionNotifMessage() *Armadillo_Content_RavenActionNotifMessage { + if x, ok := x.GetContent().(*Armadillo_Content_RavenActionNotifMessage_); ok { + return x.RavenActionNotifMessage + } + return nil +} + +func (x *Armadillo_Content) GetExtendedMessageContentWithSear() *Armadillo_Content_ExtendedContentMessageWithSear { + if x, ok := x.GetContent().(*Armadillo_Content_ExtendedMessageContentWithSear); ok { + return x.ExtendedMessageContentWithSear + } + return nil +} + +func (x *Armadillo_Content) GetImageGalleryMessage() *Armadillo_Content_ImageGalleryMessage { + if x, ok := x.GetContent().(*Armadillo_Content_ImageGalleryMessage_); ok { + return x.ImageGalleryMessage + } + return nil +} + +func (x *Armadillo_Content) GetPaymentsTransactionMessage() *Armadillo_Content_PaymentsTransactionMessage { + if x, ok := x.GetContent().(*Armadillo_Content_PaymentsTransactionMessage_); ok { + return x.PaymentsTransactionMessage + } + return nil +} + +func (x *Armadillo_Content) GetBumpExistingMessage() *Armadillo_Content_BumpExistingMessage { + if x, ok := x.GetContent().(*Armadillo_Content_BumpExistingMessage_); ok { + return x.BumpExistingMessage + } + return nil +} + +func (x *Armadillo_Content) GetNoteReplyMessage() *Armadillo_Content_NoteReplyMessage { + if x, ok := x.GetContent().(*Armadillo_Content_NoteReplyMessage_); ok { + return x.NoteReplyMessage + } + return nil +} + +type isArmadillo_Content_Content interface { + isArmadillo_Content_Content() +} + +type Armadillo_Content_CommonSticker_ struct { + CommonSticker *Armadillo_Content_CommonSticker `protobuf:"bytes,1,opt,name=commonSticker,proto3,oneof"` +} + +type Armadillo_Content_ScreenshotAction_ struct { + ScreenshotAction *Armadillo_Content_ScreenshotAction `protobuf:"bytes,3,opt,name=screenshotAction,proto3,oneof"` +} + +type Armadillo_Content_ExtendedContentMessage struct { + ExtendedContentMessage *waArmadilloXMA.ExtendedContentMessage `protobuf:"bytes,4,opt,name=extendedContentMessage,proto3,oneof"` +} + +type Armadillo_Content_RavenMessage_ struct { + RavenMessage *Armadillo_Content_RavenMessage `protobuf:"bytes,5,opt,name=ravenMessage,proto3,oneof"` +} + +type Armadillo_Content_RavenActionNotifMessage_ struct { + RavenActionNotifMessage *Armadillo_Content_RavenActionNotifMessage `protobuf:"bytes,6,opt,name=ravenActionNotifMessage,proto3,oneof"` +} + +type Armadillo_Content_ExtendedMessageContentWithSear struct { + ExtendedMessageContentWithSear *Armadillo_Content_ExtendedContentMessageWithSear `protobuf:"bytes,7,opt,name=extendedMessageContentWithSear,proto3,oneof"` +} + +type Armadillo_Content_ImageGalleryMessage_ struct { + ImageGalleryMessage *Armadillo_Content_ImageGalleryMessage `protobuf:"bytes,8,opt,name=imageGalleryMessage,proto3,oneof"` +} + +type Armadillo_Content_PaymentsTransactionMessage_ struct { + PaymentsTransactionMessage *Armadillo_Content_PaymentsTransactionMessage `protobuf:"bytes,10,opt,name=paymentsTransactionMessage,proto3,oneof"` +} + +type Armadillo_Content_BumpExistingMessage_ struct { + BumpExistingMessage *Armadillo_Content_BumpExistingMessage `protobuf:"bytes,11,opt,name=bumpExistingMessage,proto3,oneof"` +} + +type Armadillo_Content_NoteReplyMessage_ struct { + NoteReplyMessage *Armadillo_Content_NoteReplyMessage `protobuf:"bytes,13,opt,name=noteReplyMessage,proto3,oneof"` +} + +func (*Armadillo_Content_CommonSticker_) isArmadillo_Content_Content() {} + +func (*Armadillo_Content_ScreenshotAction_) isArmadillo_Content_Content() {} + +func (*Armadillo_Content_ExtendedContentMessage) isArmadillo_Content_Content() {} + +func (*Armadillo_Content_RavenMessage_) isArmadillo_Content_Content() {} + +func (*Armadillo_Content_RavenActionNotifMessage_) isArmadillo_Content_Content() {} + +func (*Armadillo_Content_ExtendedMessageContentWithSear) isArmadillo_Content_Content() {} + +func (*Armadillo_Content_ImageGalleryMessage_) isArmadillo_Content_Content() {} + +func (*Armadillo_Content_PaymentsTransactionMessage_) isArmadillo_Content_Content() {} + +func (*Armadillo_Content_BumpExistingMessage_) isArmadillo_Content_Content() {} + +func (*Armadillo_Content_NoteReplyMessage_) isArmadillo_Content_Content() {} + +type Armadillo_Signal_EncryptedBackupsSecrets struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BackupID uint64 `protobuf:"varint,1,opt,name=backupID,proto3" json:"backupID,omitempty"` + ServerDataID uint64 `protobuf:"varint,2,opt,name=serverDataID,proto3" json:"serverDataID,omitempty"` + Epoch []*Armadillo_Signal_EncryptedBackupsSecrets_Epoch `protobuf:"bytes,3,rep,name=epoch,proto3" json:"epoch,omitempty"` + TempOcmfClientState []byte `protobuf:"bytes,4,opt,name=tempOcmfClientState,proto3" json:"tempOcmfClientState,omitempty"` + MailboxRootKey []byte `protobuf:"bytes,5,opt,name=mailboxRootKey,proto3" json:"mailboxRootKey,omitempty"` + ObliviousValidationToken []byte `protobuf:"bytes,6,opt,name=obliviousValidationToken,proto3" json:"obliviousValidationToken,omitempty"` +} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets) Reset() { + *x = Armadillo_Signal_EncryptedBackupsSecrets{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Signal_EncryptedBackupsSecrets) ProtoMessage() {} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Signal_EncryptedBackupsSecrets.ProtoReflect.Descriptor instead. +func (*Armadillo_Signal_EncryptedBackupsSecrets) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 3, 0} +} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets) GetBackupID() uint64 { + if x != nil { + return x.BackupID + } + return 0 +} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets) GetServerDataID() uint64 { + if x != nil { + return x.ServerDataID + } + return 0 +} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets) GetEpoch() []*Armadillo_Signal_EncryptedBackupsSecrets_Epoch { + if x != nil { + return x.Epoch + } + return nil +} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets) GetTempOcmfClientState() []byte { + if x != nil { + return x.TempOcmfClientState + } + return nil +} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets) GetMailboxRootKey() []byte { + if x != nil { + return x.MailboxRootKey + } + return nil +} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets) GetObliviousValidationToken() []byte { + if x != nil { + return x.ObliviousValidationToken + } + return nil +} + +type Armadillo_Signal_EncryptedBackupsSecrets_Epoch struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` + AnonID []byte `protobuf:"bytes,2,opt,name=anonID,proto3" json:"anonID,omitempty"` + RootKey []byte `protobuf:"bytes,3,opt,name=rootKey,proto3" json:"rootKey,omitempty"` + Status Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus `protobuf:"varint,4,opt,name=status,proto3,enum=WAArmadilloApplication.Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus" json:"status,omitempty"` +} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets_Epoch) Reset() { + *x = Armadillo_Signal_EncryptedBackupsSecrets_Epoch{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets_Epoch) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Signal_EncryptedBackupsSecrets_Epoch) ProtoMessage() {} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets_Epoch) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Signal_EncryptedBackupsSecrets_Epoch.ProtoReflect.Descriptor instead. +func (*Armadillo_Signal_EncryptedBackupsSecrets_Epoch) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 3, 0, 0} +} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets_Epoch) GetID() uint64 { + if x != nil { + return x.ID + } + return 0 +} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets_Epoch) GetAnonID() []byte { + if x != nil { + return x.AnonID + } + return nil +} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets_Epoch) GetRootKey() []byte { + if x != nil { + return x.RootKey + } + return nil +} + +func (x *Armadillo_Signal_EncryptedBackupsSecrets_Epoch) GetStatus() Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus { + if x != nil { + return x.Status + } + return Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EPOCHSTATUS_UNKNOWN +} + +type Armadillo_ApplicationData_AIBotResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SummonToken string `protobuf:"bytes,1,opt,name=summonToken,proto3" json:"summonToken,omitempty"` + MessageText string `protobuf:"bytes,2,opt,name=messageText,proto3" json:"messageText,omitempty"` + SerializedExtras string `protobuf:"bytes,3,opt,name=serializedExtras,proto3" json:"serializedExtras,omitempty"` +} + +func (x *Armadillo_ApplicationData_AIBotResponseMessage) Reset() { + *x = Armadillo_ApplicationData_AIBotResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_ApplicationData_AIBotResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_ApplicationData_AIBotResponseMessage) ProtoMessage() {} + +func (x *Armadillo_ApplicationData_AIBotResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_ApplicationData_AIBotResponseMessage.ProtoReflect.Descriptor instead. +func (*Armadillo_ApplicationData_AIBotResponseMessage) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 4, 0} +} + +func (x *Armadillo_ApplicationData_AIBotResponseMessage) GetSummonToken() string { + if x != nil { + return x.SummonToken + } + return "" +} + +func (x *Armadillo_ApplicationData_AIBotResponseMessage) GetMessageText() string { + if x != nil { + return x.MessageText + } + return "" +} + +func (x *Armadillo_ApplicationData_AIBotResponseMessage) GetSerializedExtras() string { + if x != nil { + return x.SerializedExtras + } + return "" +} + +type Armadillo_ApplicationData_MetadataSyncAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to ActionType: + // + // *Armadillo_ApplicationData_MetadataSyncAction_ChatAction + // *Armadillo_ApplicationData_MetadataSyncAction_MessageAction + ActionType isArmadillo_ApplicationData_MetadataSyncAction_ActionType `protobuf_oneof:"actionType"` + ActionTimestamp int64 `protobuf:"varint,1,opt,name=actionTimestamp,proto3" json:"actionTimestamp,omitempty"` +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction) Reset() { + *x = Armadillo_ApplicationData_MetadataSyncAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_ApplicationData_MetadataSyncAction) ProtoMessage() {} + +func (x *Armadillo_ApplicationData_MetadataSyncAction) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_ApplicationData_MetadataSyncAction.ProtoReflect.Descriptor instead. +func (*Armadillo_ApplicationData_MetadataSyncAction) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 4, 1} +} + +func (m *Armadillo_ApplicationData_MetadataSyncAction) GetActionType() isArmadillo_ApplicationData_MetadataSyncAction_ActionType { + if m != nil { + return m.ActionType + } + return nil +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction) GetChatAction() *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction { + if x, ok := x.GetActionType().(*Armadillo_ApplicationData_MetadataSyncAction_ChatAction); ok { + return x.ChatAction + } + return nil +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction) GetMessageAction() *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction { + if x, ok := x.GetActionType().(*Armadillo_ApplicationData_MetadataSyncAction_MessageAction); ok { + return x.MessageAction + } + return nil +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction) GetActionTimestamp() int64 { + if x != nil { + return x.ActionTimestamp + } + return 0 +} + +type isArmadillo_ApplicationData_MetadataSyncAction_ActionType interface { + isArmadillo_ApplicationData_MetadataSyncAction_ActionType() +} + +type Armadillo_ApplicationData_MetadataSyncAction_ChatAction struct { + ChatAction *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction `protobuf:"bytes,101,opt,name=chatAction,proto3,oneof"` +} + +type Armadillo_ApplicationData_MetadataSyncAction_MessageAction struct { + MessageAction *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction `protobuf:"bytes,102,opt,name=messageAction,proto3,oneof"` +} + +func (*Armadillo_ApplicationData_MetadataSyncAction_ChatAction) isArmadillo_ApplicationData_MetadataSyncAction_ActionType() { +} + +func (*Armadillo_ApplicationData_MetadataSyncAction_MessageAction) isArmadillo_ApplicationData_MetadataSyncAction_ActionType() { +} + +type Armadillo_ApplicationData_MetadataSyncNotification struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Actions []*Armadillo_ApplicationData_MetadataSyncAction `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` +} + +func (x *Armadillo_ApplicationData_MetadataSyncNotification) Reset() { + *x = Armadillo_ApplicationData_MetadataSyncNotification{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_ApplicationData_MetadataSyncNotification) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_ApplicationData_MetadataSyncNotification) ProtoMessage() {} + +func (x *Armadillo_ApplicationData_MetadataSyncNotification) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_ApplicationData_MetadataSyncNotification.ProtoReflect.Descriptor instead. +func (*Armadillo_ApplicationData_MetadataSyncNotification) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 4, 2} +} + +func (x *Armadillo_ApplicationData_MetadataSyncNotification) GetActions() []*Armadillo_ApplicationData_MetadataSyncAction { + if x != nil { + return x.Actions + } + return nil +} + +type Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Action: + // + // *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_MessageDelete + Action isArmadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_Action `protobuf_oneof:"action"` + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction) Reset() { + *x = Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction) ProtoMessage() {} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction.ProtoReflect.Descriptor instead. +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 4, 1, 0} +} + +func (m *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction) GetAction() isArmadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_Action { + if m != nil { + return m.Action + } + return nil +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction) GetMessageDelete() *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_ActionMessageDelete { + if x, ok := x.GetAction().(*Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_MessageDelete); ok { + return x.MessageDelete + } + return nil +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +type isArmadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_Action interface { + isArmadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_Action() +} + +type Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_MessageDelete struct { + MessageDelete *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_ActionMessageDelete `protobuf:"bytes,101,opt,name=messageDelete,proto3,oneof"` +} + +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_MessageDelete) isArmadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_Action() { +} + +type Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Action: + // + // *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatArchive + // *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatDelete + // *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatRead + Action isArmadillo_ApplicationData_MetadataSyncAction_SyncChatAction_Action `protobuf_oneof:"action"` + ChatID string `protobuf:"bytes,1,opt,name=chatID,proto3" json:"chatID,omitempty"` +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction) Reset() { + *x = Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction) ProtoMessage() {} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction.ProtoReflect.Descriptor instead. +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 4, 1, 1} +} + +func (m *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction) GetAction() isArmadillo_ApplicationData_MetadataSyncAction_SyncChatAction_Action { + if m != nil { + return m.Action + } + return nil +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction) GetChatArchive() *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive { + if x, ok := x.GetAction().(*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatArchive); ok { + return x.ChatArchive + } + return nil +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction) GetChatDelete() *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete { + if x, ok := x.GetAction().(*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatDelete); ok { + return x.ChatDelete + } + return nil +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction) GetChatRead() *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead { + if x, ok := x.GetAction().(*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatRead); ok { + return x.ChatRead + } + return nil +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction) GetChatID() string { + if x != nil { + return x.ChatID + } + return "" +} + +type isArmadillo_ApplicationData_MetadataSyncAction_SyncChatAction_Action interface { + isArmadillo_ApplicationData_MetadataSyncAction_SyncChatAction_Action() +} + +type Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatArchive struct { + ChatArchive *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive `protobuf:"bytes,101,opt,name=chatArchive,proto3,oneof"` +} + +type Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatDelete struct { + ChatDelete *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete `protobuf:"bytes,102,opt,name=chatDelete,proto3,oneof"` +} + +type Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatRead struct { + ChatRead *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead `protobuf:"bytes,103,opt,name=chatRead,proto3,oneof"` +} + +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatArchive) isArmadillo_ApplicationData_MetadataSyncAction_SyncChatAction_Action() { +} + +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatDelete) isArmadillo_ApplicationData_MetadataSyncAction_SyncChatAction_Action() { +} + +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatRead) isArmadillo_ApplicationData_MetadataSyncAction_SyncChatAction_Action() { +} + +type Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage) Reset() { + *x = Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage) ProtoMessage() {} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage.ProtoReflect.Descriptor instead. +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 4, 1, 2} +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +type Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LastMessageTimestamp int64 `protobuf:"varint,1,opt,name=lastMessageTimestamp,proto3" json:"lastMessageTimestamp,omitempty"` + LastSystemMessageTimestamp int64 `protobuf:"varint,2,opt,name=lastSystemMessageTimestamp,proto3" json:"lastSystemMessageTimestamp,omitempty"` + Messages []*Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"` +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange) Reset() { + *x = Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange) ProtoMessage() {} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange.ProtoReflect.Descriptor instead. +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 4, 1, 3} +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange) GetLastMessageTimestamp() int64 { + if x != nil { + return x.LastMessageTimestamp + } + return 0 +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange) GetLastSystemMessageTimestamp() int64 { + if x != nil { + return x.LastSystemMessageTimestamp + } + return 0 +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange) GetMessages() []*Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage { + if x != nil { + return x.Messages + } + return nil +} + +type Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_ActionMessageDelete struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_ActionMessageDelete) Reset() { + *x = Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_ActionMessageDelete{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_ActionMessageDelete) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_ActionMessageDelete) ProtoMessage() { +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_ActionMessageDelete) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_ActionMessageDelete.ProtoReflect.Descriptor instead. +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_ActionMessageDelete) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 4, 1, 0, 0} +} + +type Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MessageRange *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange,proto3" json:"messageRange,omitempty"` + Read bool `protobuf:"varint,2,opt,name=read,proto3" json:"read,omitempty"` +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead) Reset() { + *x = Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead) ProtoMessage() {} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead.ProtoReflect.Descriptor instead. +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 4, 1, 1, 0} +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead) GetMessageRange() *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange { + if x != nil { + return x.MessageRange + } + return nil +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead) GetRead() bool { + if x != nil { + return x.Read + } + return false +} + +type Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MessageRange *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange,proto3" json:"messageRange,omitempty"` +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete) Reset() { + *x = Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete) ProtoMessage() {} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete.ProtoReflect.Descriptor instead. +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 4, 1, 1, 1} +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete) GetMessageRange() *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange { + if x != nil { + return x.MessageRange + } + return nil +} + +type Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MessageRange *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange,proto3" json:"messageRange,omitempty"` + Archived bool `protobuf:"varint,2,opt,name=archived,proto3" json:"archived,omitempty"` +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive) Reset() { + *x = Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive) ProtoMessage() { +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive.ProtoReflect.Descriptor instead. +func (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 4, 1, 1, 2} +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive) GetMessageRange() *Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange { + if x != nil { + return x.MessageRange + } + return nil +} + +func (x *Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive) GetArchived() bool { + if x != nil { + return x.Archived + } + return false +} + +type Armadillo_Content_PaymentsTransactionMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TransactionID uint64 `protobuf:"varint,1,opt,name=transactionID,proto3" json:"transactionID,omitempty"` + Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` + Currency string `protobuf:"bytes,3,opt,name=currency,proto3" json:"currency,omitempty"` + PaymentStatus Armadillo_Content_PaymentsTransactionMessage_PaymentStatus `protobuf:"varint,4,opt,name=paymentStatus,proto3,enum=WAArmadilloApplication.Armadillo_Content_PaymentsTransactionMessage_PaymentStatus" json:"paymentStatus,omitempty"` + ExtendedContentMessage *waArmadilloXMA.ExtendedContentMessage `protobuf:"bytes,5,opt,name=extendedContentMessage,proto3" json:"extendedContentMessage,omitempty"` +} + +func (x *Armadillo_Content_PaymentsTransactionMessage) Reset() { + *x = Armadillo_Content_PaymentsTransactionMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Content_PaymentsTransactionMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Content_PaymentsTransactionMessage) ProtoMessage() {} + +func (x *Armadillo_Content_PaymentsTransactionMessage) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Content_PaymentsTransactionMessage.ProtoReflect.Descriptor instead. +func (*Armadillo_Content_PaymentsTransactionMessage) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 0} +} + +func (x *Armadillo_Content_PaymentsTransactionMessage) GetTransactionID() uint64 { + if x != nil { + return x.TransactionID + } + return 0 +} + +func (x *Armadillo_Content_PaymentsTransactionMessage) GetAmount() string { + if x != nil { + return x.Amount + } + return "" +} + +func (x *Armadillo_Content_PaymentsTransactionMessage) GetCurrency() string { + if x != nil { + return x.Currency + } + return "" +} + +func (x *Armadillo_Content_PaymentsTransactionMessage) GetPaymentStatus() Armadillo_Content_PaymentsTransactionMessage_PaymentStatus { + if x != nil { + return x.PaymentStatus + } + return Armadillo_Content_PaymentsTransactionMessage_PAYMENT_UNKNOWN +} + +func (x *Armadillo_Content_PaymentsTransactionMessage) GetExtendedContentMessage() *waArmadilloXMA.ExtendedContentMessage { + if x != nil { + return x.ExtendedContentMessage + } + return nil +} + +type Armadillo_Content_NoteReplyMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NoteID string `protobuf:"bytes,1,opt,name=noteID,proto3" json:"noteID,omitempty"` + NoteText *waCommon.MessageText `protobuf:"bytes,2,opt,name=noteText,proto3" json:"noteText,omitempty"` + NoteTimestampMS int64 `protobuf:"varint,3,opt,name=noteTimestampMS,proto3" json:"noteTimestampMS,omitempty"` + NoteReplyText *waCommon.MessageText `protobuf:"bytes,4,opt,name=noteReplyText,proto3" json:"noteReplyText,omitempty"` +} + +func (x *Armadillo_Content_NoteReplyMessage) Reset() { + *x = Armadillo_Content_NoteReplyMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Content_NoteReplyMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Content_NoteReplyMessage) ProtoMessage() {} + +func (x *Armadillo_Content_NoteReplyMessage) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Content_NoteReplyMessage.ProtoReflect.Descriptor instead. +func (*Armadillo_Content_NoteReplyMessage) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 1} +} + +func (x *Armadillo_Content_NoteReplyMessage) GetNoteID() string { + if x != nil { + return x.NoteID + } + return "" +} + +func (x *Armadillo_Content_NoteReplyMessage) GetNoteText() *waCommon.MessageText { + if x != nil { + return x.NoteText + } + return nil +} + +func (x *Armadillo_Content_NoteReplyMessage) GetNoteTimestampMS() int64 { + if x != nil { + return x.NoteTimestampMS + } + return 0 +} + +func (x *Armadillo_Content_NoteReplyMessage) GetNoteReplyText() *waCommon.MessageText { + if x != nil { + return x.NoteReplyText + } + return nil +} + +type Armadillo_Content_BumpExistingMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *Armadillo_Content_BumpExistingMessage) Reset() { + *x = Armadillo_Content_BumpExistingMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Content_BumpExistingMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Content_BumpExistingMessage) ProtoMessage() {} + +func (x *Armadillo_Content_BumpExistingMessage) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Content_BumpExistingMessage.ProtoReflect.Descriptor instead. +func (*Armadillo_Content_BumpExistingMessage) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 2} +} + +func (x *Armadillo_Content_BumpExistingMessage) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +type Armadillo_Content_ImageGalleryMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Images []*waCommon.SubProtocol `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` +} + +func (x *Armadillo_Content_ImageGalleryMessage) Reset() { + *x = Armadillo_Content_ImageGalleryMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Content_ImageGalleryMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Content_ImageGalleryMessage) ProtoMessage() {} + +func (x *Armadillo_Content_ImageGalleryMessage) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Content_ImageGalleryMessage.ProtoReflect.Descriptor instead. +func (*Armadillo_Content_ImageGalleryMessage) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 3} +} + +func (x *Armadillo_Content_ImageGalleryMessage) GetImages() []*waCommon.SubProtocol { + if x != nil { + return x.Images + } + return nil +} + +type Armadillo_Content_ScreenshotAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScreenshotType Armadillo_Content_ScreenshotAction_ScreenshotType `protobuf:"varint,1,opt,name=screenshotType,proto3,enum=WAArmadilloApplication.Armadillo_Content_ScreenshotAction_ScreenshotType" json:"screenshotType,omitempty"` +} + +func (x *Armadillo_Content_ScreenshotAction) Reset() { + *x = Armadillo_Content_ScreenshotAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Content_ScreenshotAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Content_ScreenshotAction) ProtoMessage() {} + +func (x *Armadillo_Content_ScreenshotAction) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Content_ScreenshotAction.ProtoReflect.Descriptor instead. +func (*Armadillo_Content_ScreenshotAction) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 4} +} + +func (x *Armadillo_Content_ScreenshotAction) GetScreenshotType() Armadillo_Content_ScreenshotAction_ScreenshotType { + if x != nil { + return x.ScreenshotType + } + return Armadillo_Content_ScreenshotAction_SCREENSHOTTYPE_UNKNOWN +} + +type Armadillo_Content_ExtendedContentMessageWithSear struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SearID string `protobuf:"bytes,1,opt,name=searID,proto3" json:"searID,omitempty"` + Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` + NativeURL string `protobuf:"bytes,3,opt,name=nativeURL,proto3" json:"nativeURL,omitempty"` + SearAssociatedMessage *waCommon.SubProtocol `protobuf:"bytes,4,opt,name=searAssociatedMessage,proto3" json:"searAssociatedMessage,omitempty"` + SearSentWithMessageID string `protobuf:"bytes,5,opt,name=searSentWithMessageID,proto3" json:"searSentWithMessageID,omitempty"` +} + +func (x *Armadillo_Content_ExtendedContentMessageWithSear) Reset() { + *x = Armadillo_Content_ExtendedContentMessageWithSear{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Content_ExtendedContentMessageWithSear) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Content_ExtendedContentMessageWithSear) ProtoMessage() {} + +func (x *Armadillo_Content_ExtendedContentMessageWithSear) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Content_ExtendedContentMessageWithSear.ProtoReflect.Descriptor instead. +func (*Armadillo_Content_ExtendedContentMessageWithSear) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 5} +} + +func (x *Armadillo_Content_ExtendedContentMessageWithSear) GetSearID() string { + if x != nil { + return x.SearID + } + return "" +} + +func (x *Armadillo_Content_ExtendedContentMessageWithSear) GetPayload() []byte { + if x != nil { + return x.Payload + } + return nil +} + +func (x *Armadillo_Content_ExtendedContentMessageWithSear) GetNativeURL() string { + if x != nil { + return x.NativeURL + } + return "" +} + +func (x *Armadillo_Content_ExtendedContentMessageWithSear) GetSearAssociatedMessage() *waCommon.SubProtocol { + if x != nil { + return x.SearAssociatedMessage + } + return nil +} + +func (x *Armadillo_Content_ExtendedContentMessageWithSear) GetSearSentWithMessageID() string { + if x != nil { + return x.SearSentWithMessageID + } + return "" +} + +type Armadillo_Content_RavenActionNotifMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + ActionTimestamp int64 `protobuf:"varint,2,opt,name=actionTimestamp,proto3" json:"actionTimestamp,omitempty"` + ActionType Armadillo_Content_RavenActionNotifMessage_ActionType `protobuf:"varint,3,opt,name=actionType,proto3,enum=WAArmadilloApplication.Armadillo_Content_RavenActionNotifMessage_ActionType" json:"actionType,omitempty"` +} + +func (x *Armadillo_Content_RavenActionNotifMessage) Reset() { + *x = Armadillo_Content_RavenActionNotifMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Content_RavenActionNotifMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Content_RavenActionNotifMessage) ProtoMessage() {} + +func (x *Armadillo_Content_RavenActionNotifMessage) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Content_RavenActionNotifMessage.ProtoReflect.Descriptor instead. +func (*Armadillo_Content_RavenActionNotifMessage) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 6} +} + +func (x *Armadillo_Content_RavenActionNotifMessage) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *Armadillo_Content_RavenActionNotifMessage) GetActionTimestamp() int64 { + if x != nil { + return x.ActionTimestamp + } + return 0 +} + +func (x *Armadillo_Content_RavenActionNotifMessage) GetActionType() Armadillo_Content_RavenActionNotifMessage_ActionType { + if x != nil { + return x.ActionType + } + return Armadillo_Content_RavenActionNotifMessage_PLAYED +} + +type Armadillo_Content_RavenMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to MediaContent: + // + // *Armadillo_Content_RavenMessage_ImageMessage + // *Armadillo_Content_RavenMessage_VideoMessage + MediaContent isArmadillo_Content_RavenMessage_MediaContent `protobuf_oneof:"mediaContent"` + EphemeralType Armadillo_Content_RavenMessage_EphemeralType `protobuf:"varint,1,opt,name=ephemeralType,proto3,enum=WAArmadilloApplication.Armadillo_Content_RavenMessage_EphemeralType" json:"ephemeralType,omitempty"` +} + +func (x *Armadillo_Content_RavenMessage) Reset() { + *x = Armadillo_Content_RavenMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Content_RavenMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Content_RavenMessage) ProtoMessage() {} + +func (x *Armadillo_Content_RavenMessage) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Content_RavenMessage.ProtoReflect.Descriptor instead. +func (*Armadillo_Content_RavenMessage) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 7} +} + +func (m *Armadillo_Content_RavenMessage) GetMediaContent() isArmadillo_Content_RavenMessage_MediaContent { + if m != nil { + return m.MediaContent + } + return nil +} + +func (x *Armadillo_Content_RavenMessage) GetImageMessage() *waCommon.SubProtocol { + if x, ok := x.GetMediaContent().(*Armadillo_Content_RavenMessage_ImageMessage); ok { + return x.ImageMessage + } + return nil +} + +func (x *Armadillo_Content_RavenMessage) GetVideoMessage() *waCommon.SubProtocol { + if x, ok := x.GetMediaContent().(*Armadillo_Content_RavenMessage_VideoMessage); ok { + return x.VideoMessage + } + return nil +} + +func (x *Armadillo_Content_RavenMessage) GetEphemeralType() Armadillo_Content_RavenMessage_EphemeralType { + if x != nil { + return x.EphemeralType + } + return Armadillo_Content_RavenMessage_VIEW_ONCE +} + +type isArmadillo_Content_RavenMessage_MediaContent interface { + isArmadillo_Content_RavenMessage_MediaContent() +} + +type Armadillo_Content_RavenMessage_ImageMessage struct { + ImageMessage *waCommon.SubProtocol `protobuf:"bytes,2,opt,name=imageMessage,proto3,oneof"` +} + +type Armadillo_Content_RavenMessage_VideoMessage struct { + VideoMessage *waCommon.SubProtocol `protobuf:"bytes,3,opt,name=videoMessage,proto3,oneof"` +} + +func (*Armadillo_Content_RavenMessage_ImageMessage) isArmadillo_Content_RavenMessage_MediaContent() {} + +func (*Armadillo_Content_RavenMessage_VideoMessage) isArmadillo_Content_RavenMessage_MediaContent() {} + +type Armadillo_Content_CommonSticker struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StickerType Armadillo_Content_CommonSticker_StickerType `protobuf:"varint,1,opt,name=stickerType,proto3,enum=WAArmadilloApplication.Armadillo_Content_CommonSticker_StickerType" json:"stickerType,omitempty"` +} + +func (x *Armadillo_Content_CommonSticker) Reset() { + *x = Armadillo_Content_CommonSticker{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Armadillo_Content_CommonSticker) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Armadillo_Content_CommonSticker) ProtoMessage() {} + +func (x *Armadillo_Content_CommonSticker) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Armadillo_Content_CommonSticker.ProtoReflect.Descriptor instead. +func (*Armadillo_Content_CommonSticker) Descriptor() ([]byte, []int) { + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP(), []int{0, 5, 8} +} + +func (x *Armadillo_Content_CommonSticker) GetStickerType() Armadillo_Content_CommonSticker_StickerType { + if x != nil { + return x.StickerType + } + return Armadillo_Content_CommonSticker_STICKERTYPE_UNKNOWN +} + +var File_waArmadilloApplication_WAArmadilloApplication_proto protoreflect.FileDescriptor + +//go:embed WAArmadilloApplication.pb.raw +var file_waArmadilloApplication_WAArmadilloApplication_proto_rawDesc []byte + +var ( + file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescOnce sync.Once + file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescData = file_waArmadilloApplication_WAArmadilloApplication_proto_rawDesc +) + +func file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescGZIP() []byte { + file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescOnce.Do(func() { + file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescData = protoimpl.X.CompressGZIP(file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescData) + }) + return file_waArmadilloApplication_WAArmadilloApplication_proto_rawDescData +} + +var file_waArmadilloApplication_WAArmadilloApplication_proto_enumTypes = make([]protoimpl.EnumInfo, 6) +var file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes = make([]protoimpl.MessageInfo, 29) +var file_waArmadilloApplication_WAArmadilloApplication_proto_goTypes = []interface{}{ + (Armadillo_Signal_EncryptedBackupsSecrets_Epoch_EpochStatus)(0), // 0: WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets.Epoch.EpochStatus + (Armadillo_Content_PaymentsTransactionMessage_PaymentStatus)(0), // 1: WAArmadilloApplication.Armadillo.Content.PaymentsTransactionMessage.PaymentStatus + (Armadillo_Content_ScreenshotAction_ScreenshotType)(0), // 2: WAArmadilloApplication.Armadillo.Content.ScreenshotAction.ScreenshotType + (Armadillo_Content_RavenActionNotifMessage_ActionType)(0), // 3: WAArmadilloApplication.Armadillo.Content.RavenActionNotifMessage.ActionType + (Armadillo_Content_RavenMessage_EphemeralType)(0), // 4: WAArmadilloApplication.Armadillo.Content.RavenMessage.EphemeralType + (Armadillo_Content_CommonSticker_StickerType)(0), // 5: WAArmadilloApplication.Armadillo.Content.CommonSticker.StickerType + (*Armadillo)(nil), // 6: WAArmadilloApplication.Armadillo + (*Armadillo_Metadata)(nil), // 7: WAArmadilloApplication.Armadillo.Metadata + (*Armadillo_Payload)(nil), // 8: WAArmadilloApplication.Armadillo.Payload + (*Armadillo_SubProtocolPayload)(nil), // 9: WAArmadilloApplication.Armadillo.SubProtocolPayload + (*Armadillo_Signal)(nil), // 10: WAArmadilloApplication.Armadillo.Signal + (*Armadillo_ApplicationData)(nil), // 11: WAArmadilloApplication.Armadillo.ApplicationData + (*Armadillo_Content)(nil), // 12: WAArmadilloApplication.Armadillo.Content + (*Armadillo_Signal_EncryptedBackupsSecrets)(nil), // 13: WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets + (*Armadillo_Signal_EncryptedBackupsSecrets_Epoch)(nil), // 14: WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets.Epoch + (*Armadillo_ApplicationData_AIBotResponseMessage)(nil), // 15: WAArmadilloApplication.Armadillo.ApplicationData.AIBotResponseMessage + (*Armadillo_ApplicationData_MetadataSyncAction)(nil), // 16: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction + (*Armadillo_ApplicationData_MetadataSyncNotification)(nil), // 17: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncNotification + (*Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction)(nil), // 18: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction + (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction)(nil), // 19: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction + (*Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage)(nil), // 20: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessage + (*Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange)(nil), // 21: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange + (*Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_ActionMessageDelete)(nil), // 22: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.ActionMessageDelete + (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead)(nil), // 23: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatRead + (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete)(nil), // 24: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatDelete + (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive)(nil), // 25: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatArchive + (*Armadillo_Content_PaymentsTransactionMessage)(nil), // 26: WAArmadilloApplication.Armadillo.Content.PaymentsTransactionMessage + (*Armadillo_Content_NoteReplyMessage)(nil), // 27: WAArmadilloApplication.Armadillo.Content.NoteReplyMessage + (*Armadillo_Content_BumpExistingMessage)(nil), // 28: WAArmadilloApplication.Armadillo.Content.BumpExistingMessage + (*Armadillo_Content_ImageGalleryMessage)(nil), // 29: WAArmadilloApplication.Armadillo.Content.ImageGalleryMessage + (*Armadillo_Content_ScreenshotAction)(nil), // 30: WAArmadilloApplication.Armadillo.Content.ScreenshotAction + (*Armadillo_Content_ExtendedContentMessageWithSear)(nil), // 31: WAArmadilloApplication.Armadillo.Content.ExtendedContentMessageWithSear + (*Armadillo_Content_RavenActionNotifMessage)(nil), // 32: WAArmadilloApplication.Armadillo.Content.RavenActionNotifMessage + (*Armadillo_Content_RavenMessage)(nil), // 33: WAArmadilloApplication.Armadillo.Content.RavenMessage + (*Armadillo_Content_CommonSticker)(nil), // 34: WAArmadilloApplication.Armadillo.Content.CommonSticker + (waCommon.FutureProofBehavior)(0), // 35: WACommon.FutureProofBehavior + (*waArmadilloXMA.ExtendedContentMessage)(nil), // 36: WAArmadilloXMA.ExtendedContentMessage + (*waCommon.MessageKey)(nil), // 37: WACommon.MessageKey + (*waCommon.MessageText)(nil), // 38: WACommon.MessageText + (*waCommon.SubProtocol)(nil), // 39: WACommon.SubProtocol +} +var file_waArmadilloApplication_WAArmadilloApplication_proto_depIdxs = []int32{ + 8, // 0: WAArmadilloApplication.Armadillo.payload:type_name -> WAArmadilloApplication.Armadillo.Payload + 7, // 1: WAArmadilloApplication.Armadillo.metadata:type_name -> WAArmadilloApplication.Armadillo.Metadata + 12, // 2: WAArmadilloApplication.Armadillo.Payload.content:type_name -> WAArmadilloApplication.Armadillo.Content + 11, // 3: WAArmadilloApplication.Armadillo.Payload.applicationData:type_name -> WAArmadilloApplication.Armadillo.ApplicationData + 10, // 4: WAArmadilloApplication.Armadillo.Payload.signal:type_name -> WAArmadilloApplication.Armadillo.Signal + 9, // 5: WAArmadilloApplication.Armadillo.Payload.subProtocol:type_name -> WAArmadilloApplication.Armadillo.SubProtocolPayload + 35, // 6: WAArmadilloApplication.Armadillo.SubProtocolPayload.futureProof:type_name -> WACommon.FutureProofBehavior + 13, // 7: WAArmadilloApplication.Armadillo.Signal.encryptedBackupsSecrets:type_name -> WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets + 17, // 8: WAArmadilloApplication.Armadillo.ApplicationData.metadataSync:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncNotification + 15, // 9: WAArmadilloApplication.Armadillo.ApplicationData.aiBotResponse:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.AIBotResponseMessage + 34, // 10: WAArmadilloApplication.Armadillo.Content.commonSticker:type_name -> WAArmadilloApplication.Armadillo.Content.CommonSticker + 30, // 11: WAArmadilloApplication.Armadillo.Content.screenshotAction:type_name -> WAArmadilloApplication.Armadillo.Content.ScreenshotAction + 36, // 12: WAArmadilloApplication.Armadillo.Content.extendedContentMessage:type_name -> WAArmadilloXMA.ExtendedContentMessage + 33, // 13: WAArmadilloApplication.Armadillo.Content.ravenMessage:type_name -> WAArmadilloApplication.Armadillo.Content.RavenMessage + 32, // 14: WAArmadilloApplication.Armadillo.Content.ravenActionNotifMessage:type_name -> WAArmadilloApplication.Armadillo.Content.RavenActionNotifMessage + 31, // 15: WAArmadilloApplication.Armadillo.Content.extendedMessageContentWithSear:type_name -> WAArmadilloApplication.Armadillo.Content.ExtendedContentMessageWithSear + 29, // 16: WAArmadilloApplication.Armadillo.Content.imageGalleryMessage:type_name -> WAArmadilloApplication.Armadillo.Content.ImageGalleryMessage + 26, // 17: WAArmadilloApplication.Armadillo.Content.paymentsTransactionMessage:type_name -> WAArmadilloApplication.Armadillo.Content.PaymentsTransactionMessage + 28, // 18: WAArmadilloApplication.Armadillo.Content.bumpExistingMessage:type_name -> WAArmadilloApplication.Armadillo.Content.BumpExistingMessage + 27, // 19: WAArmadilloApplication.Armadillo.Content.noteReplyMessage:type_name -> WAArmadilloApplication.Armadillo.Content.NoteReplyMessage + 14, // 20: WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets.epoch:type_name -> WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets.Epoch + 0, // 21: WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets.Epoch.status:type_name -> WAArmadilloApplication.Armadillo.Signal.EncryptedBackupsSecrets.Epoch.EpochStatus + 19, // 22: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.chatAction:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction + 18, // 23: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.messageAction:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction + 16, // 24: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncNotification.actions:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction + 22, // 25: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.messageDelete:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.ActionMessageDelete + 37, // 26: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncMessageAction.key:type_name -> WACommon.MessageKey + 25, // 27: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.chatArchive:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatArchive + 24, // 28: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.chatDelete:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatDelete + 23, // 29: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.chatRead:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatRead + 37, // 30: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessage.key:type_name -> WACommon.MessageKey + 20, // 31: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange.messages:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessage + 21, // 32: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatRead.messageRange:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange + 21, // 33: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatDelete.messageRange:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange + 21, // 34: WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncChatAction.ActionChatArchive.messageRange:type_name -> WAArmadilloApplication.Armadillo.ApplicationData.MetadataSyncAction.SyncActionMessageRange + 1, // 35: WAArmadilloApplication.Armadillo.Content.PaymentsTransactionMessage.paymentStatus:type_name -> WAArmadilloApplication.Armadillo.Content.PaymentsTransactionMessage.PaymentStatus + 36, // 36: WAArmadilloApplication.Armadillo.Content.PaymentsTransactionMessage.extendedContentMessage:type_name -> WAArmadilloXMA.ExtendedContentMessage + 38, // 37: WAArmadilloApplication.Armadillo.Content.NoteReplyMessage.noteText:type_name -> WACommon.MessageText + 38, // 38: WAArmadilloApplication.Armadillo.Content.NoteReplyMessage.noteReplyText:type_name -> WACommon.MessageText + 37, // 39: WAArmadilloApplication.Armadillo.Content.BumpExistingMessage.key:type_name -> WACommon.MessageKey + 39, // 40: WAArmadilloApplication.Armadillo.Content.ImageGalleryMessage.images:type_name -> WACommon.SubProtocol + 2, // 41: WAArmadilloApplication.Armadillo.Content.ScreenshotAction.screenshotType:type_name -> WAArmadilloApplication.Armadillo.Content.ScreenshotAction.ScreenshotType + 39, // 42: WAArmadilloApplication.Armadillo.Content.ExtendedContentMessageWithSear.searAssociatedMessage:type_name -> WACommon.SubProtocol + 37, // 43: WAArmadilloApplication.Armadillo.Content.RavenActionNotifMessage.key:type_name -> WACommon.MessageKey + 3, // 44: WAArmadilloApplication.Armadillo.Content.RavenActionNotifMessage.actionType:type_name -> WAArmadilloApplication.Armadillo.Content.RavenActionNotifMessage.ActionType + 39, // 45: WAArmadilloApplication.Armadillo.Content.RavenMessage.imageMessage:type_name -> WACommon.SubProtocol + 39, // 46: WAArmadilloApplication.Armadillo.Content.RavenMessage.videoMessage:type_name -> WACommon.SubProtocol + 4, // 47: WAArmadilloApplication.Armadillo.Content.RavenMessage.ephemeralType:type_name -> WAArmadilloApplication.Armadillo.Content.RavenMessage.EphemeralType + 5, // 48: WAArmadilloApplication.Armadillo.Content.CommonSticker.stickerType:type_name -> WAArmadilloApplication.Armadillo.Content.CommonSticker.StickerType + 49, // [49:49] is the sub-list for method output_type + 49, // [49:49] is the sub-list for method input_type + 49, // [49:49] is the sub-list for extension type_name + 49, // [49:49] is the sub-list for extension extendee + 0, // [0:49] is the sub-list for field type_name +} + +func init() { file_waArmadilloApplication_WAArmadilloApplication_proto_init() } +func file_waArmadilloApplication_WAArmadilloApplication_proto_init() { + if File_waArmadilloApplication_WAArmadilloApplication_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Metadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Payload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_SubProtocolPayload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Signal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_ApplicationData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Content); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Signal_EncryptedBackupsSecrets); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Signal_EncryptedBackupsSecrets_Epoch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_ApplicationData_AIBotResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_ApplicationData_MetadataSyncAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_ApplicationData_MetadataSyncNotification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_ApplicationData_MetadataSyncAction_SyncActionMessageRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_ActionMessageDelete); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatRead); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatDelete); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ActionChatArchive); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Content_PaymentsTransactionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Content_NoteReplyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Content_BumpExistingMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Content_ImageGalleryMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Content_ScreenshotAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Content_ExtendedContentMessageWithSear); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Content_RavenActionNotifMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Content_RavenMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Armadillo_Content_CommonSticker); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*Armadillo_Payload_Content)(nil), + (*Armadillo_Payload_ApplicationData)(nil), + (*Armadillo_Payload_Signal)(nil), + (*Armadillo_Payload_SubProtocol)(nil), + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[4].OneofWrappers = []interface{}{ + (*Armadillo_Signal_EncryptedBackupsSecrets_)(nil), + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[5].OneofWrappers = []interface{}{ + (*Armadillo_ApplicationData_MetadataSync)(nil), + (*Armadillo_ApplicationData_AiBotResponse)(nil), + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[6].OneofWrappers = []interface{}{ + (*Armadillo_Content_CommonSticker_)(nil), + (*Armadillo_Content_ScreenshotAction_)(nil), + (*Armadillo_Content_ExtendedContentMessage)(nil), + (*Armadillo_Content_RavenMessage_)(nil), + (*Armadillo_Content_RavenActionNotifMessage_)(nil), + (*Armadillo_Content_ExtendedMessageContentWithSear)(nil), + (*Armadillo_Content_ImageGalleryMessage_)(nil), + (*Armadillo_Content_PaymentsTransactionMessage_)(nil), + (*Armadillo_Content_BumpExistingMessage_)(nil), + (*Armadillo_Content_NoteReplyMessage_)(nil), + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[10].OneofWrappers = []interface{}{ + (*Armadillo_ApplicationData_MetadataSyncAction_ChatAction)(nil), + (*Armadillo_ApplicationData_MetadataSyncAction_MessageAction)(nil), + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[12].OneofWrappers = []interface{}{ + (*Armadillo_ApplicationData_MetadataSyncAction_SyncMessageAction_MessageDelete)(nil), + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[13].OneofWrappers = []interface{}{ + (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatArchive)(nil), + (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatDelete)(nil), + (*Armadillo_ApplicationData_MetadataSyncAction_SyncChatAction_ChatRead)(nil), + } + file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes[27].OneofWrappers = []interface{}{ + (*Armadillo_Content_RavenMessage_ImageMessage)(nil), + (*Armadillo_Content_RavenMessage_VideoMessage)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waArmadilloApplication_WAArmadilloApplication_proto_rawDesc, + NumEnums: 6, + NumMessages: 29, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waArmadilloApplication_WAArmadilloApplication_proto_goTypes, + DependencyIndexes: file_waArmadilloApplication_WAArmadilloApplication_proto_depIdxs, + EnumInfos: file_waArmadilloApplication_WAArmadilloApplication_proto_enumTypes, + MessageInfos: file_waArmadilloApplication_WAArmadilloApplication_proto_msgTypes, + }.Build() + File_waArmadilloApplication_WAArmadilloApplication_proto = out.File + file_waArmadilloApplication_WAArmadilloApplication_proto_rawDesc = nil + file_waArmadilloApplication_WAArmadilloApplication_proto_goTypes = nil + file_waArmadilloApplication_WAArmadilloApplication_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/WAArmadilloApplication.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/WAArmadilloApplication.pb.raw new file mode 100644 index 00000000..5af063fa Binary files /dev/null and b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/WAArmadilloApplication.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/WAArmadilloApplication.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/WAArmadilloApplication.proto new file mode 100644 index 00000000..a9ca1d27 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/WAArmadilloApplication.proto @@ -0,0 +1,245 @@ +syntax = "proto3"; +package WAArmadilloApplication; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication"; + +import "waArmadilloXMA/WAArmadilloXMA.proto"; +import "waCommon/WACommon.proto"; + +message Armadillo { + message Metadata { + } + + message Payload { + oneof payload { + Content content = 1; + ApplicationData applicationData = 2; + Signal signal = 3; + SubProtocolPayload subProtocol = 4; + } + } + + message SubProtocolPayload { + WACommon.FutureProofBehavior futureProof = 1; + } + + message Signal { + message EncryptedBackupsSecrets { + message Epoch { + enum EpochStatus { + EPOCHSTATUS_UNKNOWN = 0; + ES_OPEN = 1; + ES_CLOSE = 2; + } + + uint64 ID = 1; + bytes anonID = 2; + bytes rootKey = 3; + EpochStatus status = 4; + } + + uint64 backupID = 1; + uint64 serverDataID = 2; + repeated Epoch epoch = 3; + bytes tempOcmfClientState = 4; + bytes mailboxRootKey = 5; + bytes obliviousValidationToken = 6; + } + + oneof signal { + EncryptedBackupsSecrets encryptedBackupsSecrets = 1; + } + } + + message ApplicationData { + message AIBotResponseMessage { + string summonToken = 1; + string messageText = 2; + string serializedExtras = 3; + } + + message MetadataSyncAction { + message SyncMessageAction { + message ActionMessageDelete { + } + + oneof action { + ActionMessageDelete messageDelete = 101; + } + + WACommon.MessageKey key = 1; + } + + message SyncChatAction { + message ActionChatRead { + SyncActionMessageRange messageRange = 1; + bool read = 2; + } + + message ActionChatDelete { + SyncActionMessageRange messageRange = 1; + } + + message ActionChatArchive { + SyncActionMessageRange messageRange = 1; + bool archived = 2; + } + + oneof action { + ActionChatArchive chatArchive = 101; + ActionChatDelete chatDelete = 102; + ActionChatRead chatRead = 103; + } + + string chatID = 1; + } + + message SyncActionMessage { + WACommon.MessageKey key = 1; + int64 timestamp = 2; + } + + message SyncActionMessageRange { + int64 lastMessageTimestamp = 1; + int64 lastSystemMessageTimestamp = 2; + repeated SyncActionMessage messages = 3; + } + + oneof actionType { + SyncChatAction chatAction = 101; + SyncMessageAction messageAction = 102; + } + + int64 actionTimestamp = 1; + } + + message MetadataSyncNotification { + repeated MetadataSyncAction actions = 2; + } + + oneof applicationData { + MetadataSyncNotification metadataSync = 1; + AIBotResponseMessage aiBotResponse = 2; + } + } + + message Content { + message PaymentsTransactionMessage { + enum PaymentStatus { + PAYMENT_UNKNOWN = 0; + REQUEST_INITED = 4; + REQUEST_DECLINED = 5; + REQUEST_TRANSFER_INITED = 6; + REQUEST_TRANSFER_COMPLETED = 7; + REQUEST_TRANSFER_FAILED = 8; + REQUEST_CANCELED = 9; + REQUEST_EXPIRED = 10; + TRANSFER_INITED = 11; + TRANSFER_PENDING = 12; + TRANSFER_PENDING_RECIPIENT_VERIFICATION = 13; + TRANSFER_CANCELED = 14; + TRANSFER_COMPLETED = 15; + TRANSFER_NO_RECEIVER_CREDENTIAL_NO_RTS_PENDING_CANCELED = 16; + TRANSFER_NO_RECEIVER_CREDENTIAL_NO_RTS_PENDING_OTHER = 17; + TRANSFER_REFUNDED = 18; + TRANSFER_PARTIAL_REFUND = 19; + TRANSFER_CHARGED_BACK = 20; + TRANSFER_EXPIRED = 21; + TRANSFER_DECLINED = 22; + TRANSFER_UNAVAILABLE = 23; + } + + uint64 transactionID = 1; + string amount = 2; + string currency = 3; + PaymentStatus paymentStatus = 4; + WAArmadilloXMA.ExtendedContentMessage extendedContentMessage = 5; + } + + message NoteReplyMessage { + string noteID = 1; + WACommon.MessageText noteText = 2; + int64 noteTimestampMS = 3; + WACommon.MessageText noteReplyText = 4; + } + + message BumpExistingMessage { + WACommon.MessageKey key = 1; + } + + message ImageGalleryMessage { + repeated WACommon.SubProtocol images = 1; + } + + message ScreenshotAction { + enum ScreenshotType { + SCREENSHOTTYPE_UNKNOWN = 0; + SCREENSHOT_IMAGE = 1; + SCREEN_RECORDING = 2; + } + + ScreenshotType screenshotType = 1; + } + + message ExtendedContentMessageWithSear { + string searID = 1; + bytes payload = 2; + string nativeURL = 3; + WACommon.SubProtocol searAssociatedMessage = 4; + string searSentWithMessageID = 5; + } + + message RavenActionNotifMessage { + enum ActionType { + PLAYED = 0; + SCREENSHOT = 1; + FORCE_DISABLE = 2; + } + + WACommon.MessageKey key = 1; + int64 actionTimestamp = 2; + ActionType actionType = 3; + } + + message RavenMessage { + enum EphemeralType { + VIEW_ONCE = 0; + ALLOW_REPLAY = 1; + KEEP_IN_CHAT = 2; + } + + oneof mediaContent { + WACommon.SubProtocol imageMessage = 2; + WACommon.SubProtocol videoMessage = 3; + } + + EphemeralType ephemeralType = 1; + } + + message CommonSticker { + enum StickerType { + STICKERTYPE_UNKNOWN = 0; + SMALL_LIKE = 1; + MEDIUM_LIKE = 2; + LARGE_LIKE = 3; + } + + StickerType stickerType = 1; + } + + oneof content { + CommonSticker commonSticker = 1; + ScreenshotAction screenshotAction = 3; + WAArmadilloXMA.ExtendedContentMessage extendedContentMessage = 4; + RavenMessage ravenMessage = 5; + RavenActionNotifMessage ravenActionNotifMessage = 6; + ExtendedContentMessageWithSear extendedMessageContentWithSear = 7; + ImageGalleryMessage imageGalleryMessage = 8; + PaymentsTransactionMessage paymentsTransactionMessage = 10; + BumpExistingMessage bumpExistingMessage = 11; + NoteReplyMessage noteReplyMessage = 13; + } + } + + Payload payload = 1; + Metadata metadata = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/extra.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/extra.go new file mode 100644 index 00000000..152b9372 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication/extra.go @@ -0,0 +1,3 @@ +package waArmadilloApplication + +func (*Armadillo) IsMessageApplicationSub() {} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloBackupMessage/WAArmadilloBackupMessage.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloBackupMessage/WAArmadilloBackupMessage.pb.go new file mode 100644 index 00000000..da53e64a --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloBackupMessage/WAArmadilloBackupMessage.pb.go @@ -0,0 +1,317 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waArmadilloBackupMessage/WAArmadilloBackupMessage.proto + +package waArmadilloBackupMessage + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type BackupMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *BackupMessage_Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` +} + +func (x *BackupMessage) Reset() { + *x = BackupMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BackupMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BackupMessage) ProtoMessage() {} + +func (x *BackupMessage) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BackupMessage.ProtoReflect.Descriptor instead. +func (*BackupMessage) Descriptor() ([]byte, []int) { + return file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescGZIP(), []int{0} +} + +func (x *BackupMessage) GetMetadata() *BackupMessage_Metadata { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *BackupMessage) GetPayload() []byte { + if x != nil { + return x.Payload + } + return nil +} + +type BackupMessage_Metadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SenderID string `protobuf:"bytes,1,opt,name=senderID,proto3" json:"senderID,omitempty"` + MessageID string `protobuf:"bytes,2,opt,name=messageID,proto3" json:"messageID,omitempty"` + TimestampMS int64 `protobuf:"varint,3,opt,name=timestampMS,proto3" json:"timestampMS,omitempty"` + FrankingMetadata *BackupMessage_Metadata_FrankingMetadata `protobuf:"bytes,4,opt,name=frankingMetadata,proto3" json:"frankingMetadata,omitempty"` + PayloadVersion int32 `protobuf:"varint,5,opt,name=payloadVersion,proto3" json:"payloadVersion,omitempty"` + FutureProofBehavior int32 `protobuf:"varint,6,opt,name=futureProofBehavior,proto3" json:"futureProofBehavior,omitempty"` +} + +func (x *BackupMessage_Metadata) Reset() { + *x = BackupMessage_Metadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BackupMessage_Metadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BackupMessage_Metadata) ProtoMessage() {} + +func (x *BackupMessage_Metadata) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BackupMessage_Metadata.ProtoReflect.Descriptor instead. +func (*BackupMessage_Metadata) Descriptor() ([]byte, []int) { + return file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *BackupMessage_Metadata) GetSenderID() string { + if x != nil { + return x.SenderID + } + return "" +} + +func (x *BackupMessage_Metadata) GetMessageID() string { + if x != nil { + return x.MessageID + } + return "" +} + +func (x *BackupMessage_Metadata) GetTimestampMS() int64 { + if x != nil { + return x.TimestampMS + } + return 0 +} + +func (x *BackupMessage_Metadata) GetFrankingMetadata() *BackupMessage_Metadata_FrankingMetadata { + if x != nil { + return x.FrankingMetadata + } + return nil +} + +func (x *BackupMessage_Metadata) GetPayloadVersion() int32 { + if x != nil { + return x.PayloadVersion + } + return 0 +} + +func (x *BackupMessage_Metadata) GetFutureProofBehavior() int32 { + if x != nil { + return x.FutureProofBehavior + } + return 0 +} + +type BackupMessage_Metadata_FrankingMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FrankingTag []byte `protobuf:"bytes,3,opt,name=frankingTag,proto3" json:"frankingTag,omitempty"` + ReportingTag []byte `protobuf:"bytes,4,opt,name=reportingTag,proto3" json:"reportingTag,omitempty"` +} + +func (x *BackupMessage_Metadata_FrankingMetadata) Reset() { + *x = BackupMessage_Metadata_FrankingMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BackupMessage_Metadata_FrankingMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BackupMessage_Metadata_FrankingMetadata) ProtoMessage() {} + +func (x *BackupMessage_Metadata_FrankingMetadata) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BackupMessage_Metadata_FrankingMetadata.ProtoReflect.Descriptor instead. +func (*BackupMessage_Metadata_FrankingMetadata) Descriptor() ([]byte, []int) { + return file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescGZIP(), []int{0, 0, 0} +} + +func (x *BackupMessage_Metadata_FrankingMetadata) GetFrankingTag() []byte { + if x != nil { + return x.FrankingTag + } + return nil +} + +func (x *BackupMessage_Metadata_FrankingMetadata) GetReportingTag() []byte { + if x != nil { + return x.ReportingTag + } + return nil +} + +var File_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto protoreflect.FileDescriptor + +//go:embed WAArmadilloBackupMessage.pb.raw +var file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDesc []byte + +var ( + file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescOnce sync.Once + file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescData = file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDesc +) + +func file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescGZIP() []byte { + file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescOnce.Do(func() { + file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescData = protoimpl.X.CompressGZIP(file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescData) + }) + return file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDescData +} + +var file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_goTypes = []interface{}{ + (*BackupMessage)(nil), // 0: WAArmadilloBackupMessage.BackupMessage + (*BackupMessage_Metadata)(nil), // 1: WAArmadilloBackupMessage.BackupMessage.Metadata + (*BackupMessage_Metadata_FrankingMetadata)(nil), // 2: WAArmadilloBackupMessage.BackupMessage.Metadata.FrankingMetadata +} +var file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_depIdxs = []int32{ + 1, // 0: WAArmadilloBackupMessage.BackupMessage.metadata:type_name -> WAArmadilloBackupMessage.BackupMessage.Metadata + 2, // 1: WAArmadilloBackupMessage.BackupMessage.Metadata.frankingMetadata:type_name -> WAArmadilloBackupMessage.BackupMessage.Metadata.FrankingMetadata + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_init() } +func file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_init() { + if File_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BackupMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BackupMessage_Metadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BackupMessage_Metadata_FrankingMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_goTypes, + DependencyIndexes: file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_depIdxs, + MessageInfos: file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_msgTypes, + }.Build() + File_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto = out.File + file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_rawDesc = nil + file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_goTypes = nil + file_waArmadilloBackupMessage_WAArmadilloBackupMessage_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloBackupMessage/WAArmadilloBackupMessage.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloBackupMessage/WAArmadilloBackupMessage.pb.raw new file mode 100644 index 00000000..e458e0be --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloBackupMessage/WAArmadilloBackupMessage.pb.raw @@ -0,0 +1,15 @@ + +7waArmadilloBackupMessage/WAArmadilloBackupMessage.protoWAArmadilloBackupMessage"ƒ + BackupMessageL +metadata ( 20.WAArmadilloBackupMessage.BackupMessage.MetadataRmetadata +payload ( Rpayload‰ +Metadata +senderID ( RsenderID + messageID ( R messageID + timestampMS (R timestampMSm +frankingMetadata ( 2A.WAArmadilloBackupMessage.BackupMessage.Metadata.FrankingMetadataRfrankingMetadata& +payloadVersion (RpayloadVersion0 +futureProofBehavior (RfutureProofBehaviorX +FrankingMetadata + frankingTag ( R frankingTag" + reportingTag ( R reportingTagB?Z=go.mau.fi/whatsmeow/binary/armadillo/waArmadilloBackupMessagebproto3 \ No newline at end of file diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloBackupMessage/WAArmadilloBackupMessage.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloBackupMessage/WAArmadilloBackupMessage.proto new file mode 100644 index 00000000..7da4b00e --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloBackupMessage/WAArmadilloBackupMessage.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; +package WAArmadilloBackupMessage; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waArmadilloBackupMessage"; + +message BackupMessage { + message Metadata { + message FrankingMetadata { + bytes frankingTag = 3; + bytes reportingTag = 4; + } + + string senderID = 1; + string messageID = 2; + int64 timestampMS = 3; + FrankingMetadata frankingMetadata = 4; + int32 payloadVersion = 5; + int32 futureProofBehavior = 6; + } + + Metadata metadata = 1; + bytes payload = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloICDC/WAArmadilloICDC.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloICDC/WAArmadilloICDC.pb.go new file mode 100644 index 00000000..6511100b --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloICDC/WAArmadilloICDC.pb.go @@ -0,0 +1,231 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waArmadilloICDC/WAArmadilloICDC.proto + +package waArmadilloICDC + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ICDCIdentityList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Seq int32 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Devices [][]byte `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"` + SigningDeviceIndex int32 `protobuf:"varint,4,opt,name=signingDeviceIndex,proto3" json:"signingDeviceIndex,omitempty"` +} + +func (x *ICDCIdentityList) Reset() { + *x = ICDCIdentityList{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloICDC_WAArmadilloICDC_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ICDCIdentityList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ICDCIdentityList) ProtoMessage() {} + +func (x *ICDCIdentityList) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloICDC_WAArmadilloICDC_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ICDCIdentityList.ProtoReflect.Descriptor instead. +func (*ICDCIdentityList) Descriptor() ([]byte, []int) { + return file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescGZIP(), []int{0} +} + +func (x *ICDCIdentityList) GetSeq() int32 { + if x != nil { + return x.Seq + } + return 0 +} + +func (x *ICDCIdentityList) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +func (x *ICDCIdentityList) GetDevices() [][]byte { + if x != nil { + return x.Devices + } + return nil +} + +func (x *ICDCIdentityList) GetSigningDeviceIndex() int32 { + if x != nil { + return x.SigningDeviceIndex + } + return 0 +} + +type SignedICDCIdentityList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details []byte `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` +} + +func (x *SignedICDCIdentityList) Reset() { + *x = SignedICDCIdentityList{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloICDC_WAArmadilloICDC_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SignedICDCIdentityList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SignedICDCIdentityList) ProtoMessage() {} + +func (x *SignedICDCIdentityList) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloICDC_WAArmadilloICDC_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SignedICDCIdentityList.ProtoReflect.Descriptor instead. +func (*SignedICDCIdentityList) Descriptor() ([]byte, []int) { + return file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescGZIP(), []int{1} +} + +func (x *SignedICDCIdentityList) GetDetails() []byte { + if x != nil { + return x.Details + } + return nil +} + +func (x *SignedICDCIdentityList) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +var File_waArmadilloICDC_WAArmadilloICDC_proto protoreflect.FileDescriptor + +//go:embed WAArmadilloICDC.pb.raw +var file_waArmadilloICDC_WAArmadilloICDC_proto_rawDesc []byte + +var ( + file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescOnce sync.Once + file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescData = file_waArmadilloICDC_WAArmadilloICDC_proto_rawDesc +) + +func file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescGZIP() []byte { + file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescOnce.Do(func() { + file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescData = protoimpl.X.CompressGZIP(file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescData) + }) + return file_waArmadilloICDC_WAArmadilloICDC_proto_rawDescData +} + +var file_waArmadilloICDC_WAArmadilloICDC_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_waArmadilloICDC_WAArmadilloICDC_proto_goTypes = []interface{}{ + (*ICDCIdentityList)(nil), // 0: WAArmadilloICDC.ICDCIdentityList + (*SignedICDCIdentityList)(nil), // 1: WAArmadilloICDC.SignedICDCIdentityList +} +var file_waArmadilloICDC_WAArmadilloICDC_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_waArmadilloICDC_WAArmadilloICDC_proto_init() } +func file_waArmadilloICDC_WAArmadilloICDC_proto_init() { + if File_waArmadilloICDC_WAArmadilloICDC_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waArmadilloICDC_WAArmadilloICDC_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ICDCIdentityList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloICDC_WAArmadilloICDC_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignedICDCIdentityList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waArmadilloICDC_WAArmadilloICDC_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waArmadilloICDC_WAArmadilloICDC_proto_goTypes, + DependencyIndexes: file_waArmadilloICDC_WAArmadilloICDC_proto_depIdxs, + MessageInfos: file_waArmadilloICDC_WAArmadilloICDC_proto_msgTypes, + }.Build() + File_waArmadilloICDC_WAArmadilloICDC_proto = out.File + file_waArmadilloICDC_WAArmadilloICDC_proto_rawDesc = nil + file_waArmadilloICDC_WAArmadilloICDC_proto_goTypes = nil + file_waArmadilloICDC_WAArmadilloICDC_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloICDC/WAArmadilloICDC.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloICDC/WAArmadilloICDC.pb.raw new file mode 100644 index 00000000..e608f573 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloICDC/WAArmadilloICDC.pb.raw @@ -0,0 +1,10 @@ + +%waArmadilloICDC/WAArmadilloICDC.protoWAArmadilloICDC"Œ +ICDCIdentityList +seq (Rseq + timestamp (R timestamp +devices ( Rdevices. +signingDeviceIndex (RsigningDeviceIndex"P +SignedICDCIdentityList +details ( Rdetails + signature ( R signatureB6Z4go.mau.fi/whatsmeow/binary/armadillo/waArmadilloICDCbproto3 \ No newline at end of file diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloICDC/WAArmadilloICDC.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloICDC/WAArmadilloICDC.proto new file mode 100644 index 00000000..6fdc70b3 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloICDC/WAArmadilloICDC.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; +package WAArmadilloICDC; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waArmadilloICDC"; + +message ICDCIdentityList { + int32 seq = 1; + int64 timestamp = 2; + repeated bytes devices = 3; + int32 signingDeviceIndex = 4; +} + +message SignedICDCIdentityList { + bytes details = 1; + bytes signature = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA/WAArmadilloXMA.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA/WAArmadilloXMA.pb.go new file mode 100644 index 00000000..dc8dfdf1 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA/WAArmadilloXMA.pb.go @@ -0,0 +1,785 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waArmadilloXMA/WAArmadilloXMA.proto + +package waArmadilloXMA + +import ( + reflect "reflect" + sync "sync" + + waCommon "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ExtendedContentMessage_OverlayIconGlyph int32 + +const ( + ExtendedContentMessage_INFO ExtendedContentMessage_OverlayIconGlyph = 0 + ExtendedContentMessage_EYE_OFF ExtendedContentMessage_OverlayIconGlyph = 1 + ExtendedContentMessage_NEWS_OFF ExtendedContentMessage_OverlayIconGlyph = 2 + ExtendedContentMessage_WARNING ExtendedContentMessage_OverlayIconGlyph = 3 + ExtendedContentMessage_PRIVATE ExtendedContentMessage_OverlayIconGlyph = 4 + ExtendedContentMessage_NONE ExtendedContentMessage_OverlayIconGlyph = 5 + ExtendedContentMessage_MEDIA_LABEL ExtendedContentMessage_OverlayIconGlyph = 6 + ExtendedContentMessage_POST_COVER ExtendedContentMessage_OverlayIconGlyph = 7 + ExtendedContentMessage_POST_LABEL ExtendedContentMessage_OverlayIconGlyph = 8 + ExtendedContentMessage_WARNING_SCREENS ExtendedContentMessage_OverlayIconGlyph = 9 +) + +// Enum value maps for ExtendedContentMessage_OverlayIconGlyph. +var ( + ExtendedContentMessage_OverlayIconGlyph_name = map[int32]string{ + 0: "INFO", + 1: "EYE_OFF", + 2: "NEWS_OFF", + 3: "WARNING", + 4: "PRIVATE", + 5: "NONE", + 6: "MEDIA_LABEL", + 7: "POST_COVER", + 8: "POST_LABEL", + 9: "WARNING_SCREENS", + } + ExtendedContentMessage_OverlayIconGlyph_value = map[string]int32{ + "INFO": 0, + "EYE_OFF": 1, + "NEWS_OFF": 2, + "WARNING": 3, + "PRIVATE": 4, + "NONE": 5, + "MEDIA_LABEL": 6, + "POST_COVER": 7, + "POST_LABEL": 8, + "WARNING_SCREENS": 9, + } +) + +func (x ExtendedContentMessage_OverlayIconGlyph) Enum() *ExtendedContentMessage_OverlayIconGlyph { + p := new(ExtendedContentMessage_OverlayIconGlyph) + *p = x + return p +} + +func (x ExtendedContentMessage_OverlayIconGlyph) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExtendedContentMessage_OverlayIconGlyph) Descriptor() protoreflect.EnumDescriptor { + return file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[0].Descriptor() +} + +func (ExtendedContentMessage_OverlayIconGlyph) Type() protoreflect.EnumType { + return &file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[0] +} + +func (x ExtendedContentMessage_OverlayIconGlyph) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ExtendedContentMessage_OverlayIconGlyph.Descriptor instead. +func (ExtendedContentMessage_OverlayIconGlyph) EnumDescriptor() ([]byte, []int) { + return file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP(), []int{0, 0} +} + +type ExtendedContentMessage_CtaButtonType int32 + +const ( + ExtendedContentMessage_CTABUTTONTYPE_UNKNOWN ExtendedContentMessage_CtaButtonType = 0 + ExtendedContentMessage_OPEN_NATIVE ExtendedContentMessage_CtaButtonType = 11 +) + +// Enum value maps for ExtendedContentMessage_CtaButtonType. +var ( + ExtendedContentMessage_CtaButtonType_name = map[int32]string{ + 0: "CTABUTTONTYPE_UNKNOWN", + 11: "OPEN_NATIVE", + } + ExtendedContentMessage_CtaButtonType_value = map[string]int32{ + "CTABUTTONTYPE_UNKNOWN": 0, + "OPEN_NATIVE": 11, + } +) + +func (x ExtendedContentMessage_CtaButtonType) Enum() *ExtendedContentMessage_CtaButtonType { + p := new(ExtendedContentMessage_CtaButtonType) + *p = x + return p +} + +func (x ExtendedContentMessage_CtaButtonType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExtendedContentMessage_CtaButtonType) Descriptor() protoreflect.EnumDescriptor { + return file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[1].Descriptor() +} + +func (ExtendedContentMessage_CtaButtonType) Type() protoreflect.EnumType { + return &file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[1] +} + +func (x ExtendedContentMessage_CtaButtonType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ExtendedContentMessage_CtaButtonType.Descriptor instead. +func (ExtendedContentMessage_CtaButtonType) EnumDescriptor() ([]byte, []int) { + return file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP(), []int{0, 1} +} + +type ExtendedContentMessage_XmaLayoutType int32 + +const ( + ExtendedContentMessage_SINGLE ExtendedContentMessage_XmaLayoutType = 0 + ExtendedContentMessage_PORTRAIT ExtendedContentMessage_XmaLayoutType = 3 + ExtendedContentMessage_STANDARD_DXMA ExtendedContentMessage_XmaLayoutType = 12 + ExtendedContentMessage_LIST_DXMA ExtendedContentMessage_XmaLayoutType = 15 +) + +// Enum value maps for ExtendedContentMessage_XmaLayoutType. +var ( + ExtendedContentMessage_XmaLayoutType_name = map[int32]string{ + 0: "SINGLE", + 3: "PORTRAIT", + 12: "STANDARD_DXMA", + 15: "LIST_DXMA", + } + ExtendedContentMessage_XmaLayoutType_value = map[string]int32{ + "SINGLE": 0, + "PORTRAIT": 3, + "STANDARD_DXMA": 12, + "LIST_DXMA": 15, + } +) + +func (x ExtendedContentMessage_XmaLayoutType) Enum() *ExtendedContentMessage_XmaLayoutType { + p := new(ExtendedContentMessage_XmaLayoutType) + *p = x + return p +} + +func (x ExtendedContentMessage_XmaLayoutType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExtendedContentMessage_XmaLayoutType) Descriptor() protoreflect.EnumDescriptor { + return file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[2].Descriptor() +} + +func (ExtendedContentMessage_XmaLayoutType) Type() protoreflect.EnumType { + return &file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[2] +} + +func (x ExtendedContentMessage_XmaLayoutType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ExtendedContentMessage_XmaLayoutType.Descriptor instead. +func (ExtendedContentMessage_XmaLayoutType) EnumDescriptor() ([]byte, []int) { + return file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP(), []int{0, 2} +} + +type ExtendedContentMessage_ExtendedContentType int32 + +const ( + ExtendedContentMessage_EXTENDEDCONTENTTYPE_UNKNOWN ExtendedContentMessage_ExtendedContentType = 0 + ExtendedContentMessage_IG_STORY_PHOTO_MENTION ExtendedContentMessage_ExtendedContentType = 4 + ExtendedContentMessage_IG_SINGLE_IMAGE_POST_SHARE ExtendedContentMessage_ExtendedContentType = 9 + ExtendedContentMessage_IG_MULTIPOST_SHARE ExtendedContentMessage_ExtendedContentType = 10 + ExtendedContentMessage_IG_SINGLE_VIDEO_POST_SHARE ExtendedContentMessage_ExtendedContentType = 11 + ExtendedContentMessage_IG_STORY_PHOTO_SHARE ExtendedContentMessage_ExtendedContentType = 12 + ExtendedContentMessage_IG_STORY_VIDEO_SHARE ExtendedContentMessage_ExtendedContentType = 13 + ExtendedContentMessage_IG_CLIPS_SHARE ExtendedContentMessage_ExtendedContentType = 14 + ExtendedContentMessage_IG_IGTV_SHARE ExtendedContentMessage_ExtendedContentType = 15 + ExtendedContentMessage_IG_SHOP_SHARE ExtendedContentMessage_ExtendedContentType = 16 + ExtendedContentMessage_IG_PROFILE_SHARE ExtendedContentMessage_ExtendedContentType = 19 + ExtendedContentMessage_IG_STORY_PHOTO_HIGHLIGHT_SHARE ExtendedContentMessage_ExtendedContentType = 20 + ExtendedContentMessage_IG_STORY_VIDEO_HIGHLIGHT_SHARE ExtendedContentMessage_ExtendedContentType = 21 + ExtendedContentMessage_IG_STORY_REPLY ExtendedContentMessage_ExtendedContentType = 22 + ExtendedContentMessage_IG_STORY_REACTION ExtendedContentMessage_ExtendedContentType = 23 + ExtendedContentMessage_IG_STORY_VIDEO_MENTION ExtendedContentMessage_ExtendedContentType = 24 + ExtendedContentMessage_IG_STORY_HIGHLIGHT_REPLY ExtendedContentMessage_ExtendedContentType = 25 + ExtendedContentMessage_IG_STORY_HIGHLIGHT_REACTION ExtendedContentMessage_ExtendedContentType = 26 + ExtendedContentMessage_IG_EXTERNAL_LINK ExtendedContentMessage_ExtendedContentType = 27 + ExtendedContentMessage_IG_RECEIVER_FETCH ExtendedContentMessage_ExtendedContentType = 28 + ExtendedContentMessage_FB_FEED_SHARE ExtendedContentMessage_ExtendedContentType = 1000 + ExtendedContentMessage_FB_STORY_REPLY ExtendedContentMessage_ExtendedContentType = 1001 + ExtendedContentMessage_FB_STORY_SHARE ExtendedContentMessage_ExtendedContentType = 1002 + ExtendedContentMessage_FB_STORY_MENTION ExtendedContentMessage_ExtendedContentType = 1003 + ExtendedContentMessage_FB_FEED_VIDEO_SHARE ExtendedContentMessage_ExtendedContentType = 1004 + ExtendedContentMessage_FB_GAMING_CUSTOM_UPDATE ExtendedContentMessage_ExtendedContentType = 1005 + ExtendedContentMessage_FB_PRODUCER_STORY_REPLY ExtendedContentMessage_ExtendedContentType = 1006 + ExtendedContentMessage_FB_EVENT ExtendedContentMessage_ExtendedContentType = 1007 + ExtendedContentMessage_FB_FEED_POST_PRIVATE_REPLY ExtendedContentMessage_ExtendedContentType = 1008 + ExtendedContentMessage_FB_SHORT ExtendedContentMessage_ExtendedContentType = 1009 + ExtendedContentMessage_FB_COMMENT_MENTION_SHARE ExtendedContentMessage_ExtendedContentType = 1010 + ExtendedContentMessage_MSG_EXTERNAL_LINK_SHARE ExtendedContentMessage_ExtendedContentType = 2000 + ExtendedContentMessage_MSG_P2P_PAYMENT ExtendedContentMessage_ExtendedContentType = 2001 + ExtendedContentMessage_MSG_LOCATION_SHARING ExtendedContentMessage_ExtendedContentType = 2002 + ExtendedContentMessage_MSG_LOCATION_SHARING_V2 ExtendedContentMessage_ExtendedContentType = 2003 + ExtendedContentMessage_MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY ExtendedContentMessage_ExtendedContentType = 2004 + ExtendedContentMessage_MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY ExtendedContentMessage_ExtendedContentType = 2005 + ExtendedContentMessage_MSG_RECEIVER_FETCH ExtendedContentMessage_ExtendedContentType = 2006 + ExtendedContentMessage_MSG_IG_MEDIA_SHARE ExtendedContentMessage_ExtendedContentType = 2007 + ExtendedContentMessage_MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE ExtendedContentMessage_ExtendedContentType = 2008 + ExtendedContentMessage_MSG_REELS_LIST ExtendedContentMessage_ExtendedContentType = 2009 + ExtendedContentMessage_MSG_CONTACT ExtendedContentMessage_ExtendedContentType = 2010 + ExtendedContentMessage_RTC_AUDIO_CALL ExtendedContentMessage_ExtendedContentType = 3000 + ExtendedContentMessage_RTC_VIDEO_CALL ExtendedContentMessage_ExtendedContentType = 3001 + ExtendedContentMessage_RTC_MISSED_AUDIO_CALL ExtendedContentMessage_ExtendedContentType = 3002 + ExtendedContentMessage_RTC_MISSED_VIDEO_CALL ExtendedContentMessage_ExtendedContentType = 3003 + ExtendedContentMessage_RTC_GROUP_AUDIO_CALL ExtendedContentMessage_ExtendedContentType = 3004 + ExtendedContentMessage_RTC_GROUP_VIDEO_CALL ExtendedContentMessage_ExtendedContentType = 3005 + ExtendedContentMessage_RTC_MISSED_GROUP_AUDIO_CALL ExtendedContentMessage_ExtendedContentType = 3006 + ExtendedContentMessage_RTC_MISSED_GROUP_VIDEO_CALL ExtendedContentMessage_ExtendedContentType = 3007 + ExtendedContentMessage_DATACLASS_SENDER_COPY ExtendedContentMessage_ExtendedContentType = 4000 +) + +// Enum value maps for ExtendedContentMessage_ExtendedContentType. +var ( + ExtendedContentMessage_ExtendedContentType_name = map[int32]string{ + 0: "EXTENDEDCONTENTTYPE_UNKNOWN", + 4: "IG_STORY_PHOTO_MENTION", + 9: "IG_SINGLE_IMAGE_POST_SHARE", + 10: "IG_MULTIPOST_SHARE", + 11: "IG_SINGLE_VIDEO_POST_SHARE", + 12: "IG_STORY_PHOTO_SHARE", + 13: "IG_STORY_VIDEO_SHARE", + 14: "IG_CLIPS_SHARE", + 15: "IG_IGTV_SHARE", + 16: "IG_SHOP_SHARE", + 19: "IG_PROFILE_SHARE", + 20: "IG_STORY_PHOTO_HIGHLIGHT_SHARE", + 21: "IG_STORY_VIDEO_HIGHLIGHT_SHARE", + 22: "IG_STORY_REPLY", + 23: "IG_STORY_REACTION", + 24: "IG_STORY_VIDEO_MENTION", + 25: "IG_STORY_HIGHLIGHT_REPLY", + 26: "IG_STORY_HIGHLIGHT_REACTION", + 27: "IG_EXTERNAL_LINK", + 28: "IG_RECEIVER_FETCH", + 1000: "FB_FEED_SHARE", + 1001: "FB_STORY_REPLY", + 1002: "FB_STORY_SHARE", + 1003: "FB_STORY_MENTION", + 1004: "FB_FEED_VIDEO_SHARE", + 1005: "FB_GAMING_CUSTOM_UPDATE", + 1006: "FB_PRODUCER_STORY_REPLY", + 1007: "FB_EVENT", + 1008: "FB_FEED_POST_PRIVATE_REPLY", + 1009: "FB_SHORT", + 1010: "FB_COMMENT_MENTION_SHARE", + 2000: "MSG_EXTERNAL_LINK_SHARE", + 2001: "MSG_P2P_PAYMENT", + 2002: "MSG_LOCATION_SHARING", + 2003: "MSG_LOCATION_SHARING_V2", + 2004: "MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY", + 2005: "MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY", + 2006: "MSG_RECEIVER_FETCH", + 2007: "MSG_IG_MEDIA_SHARE", + 2008: "MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE", + 2009: "MSG_REELS_LIST", + 2010: "MSG_CONTACT", + 3000: "RTC_AUDIO_CALL", + 3001: "RTC_VIDEO_CALL", + 3002: "RTC_MISSED_AUDIO_CALL", + 3003: "RTC_MISSED_VIDEO_CALL", + 3004: "RTC_GROUP_AUDIO_CALL", + 3005: "RTC_GROUP_VIDEO_CALL", + 3006: "RTC_MISSED_GROUP_AUDIO_CALL", + 3007: "RTC_MISSED_GROUP_VIDEO_CALL", + 4000: "DATACLASS_SENDER_COPY", + } + ExtendedContentMessage_ExtendedContentType_value = map[string]int32{ + "EXTENDEDCONTENTTYPE_UNKNOWN": 0, + "IG_STORY_PHOTO_MENTION": 4, + "IG_SINGLE_IMAGE_POST_SHARE": 9, + "IG_MULTIPOST_SHARE": 10, + "IG_SINGLE_VIDEO_POST_SHARE": 11, + "IG_STORY_PHOTO_SHARE": 12, + "IG_STORY_VIDEO_SHARE": 13, + "IG_CLIPS_SHARE": 14, + "IG_IGTV_SHARE": 15, + "IG_SHOP_SHARE": 16, + "IG_PROFILE_SHARE": 19, + "IG_STORY_PHOTO_HIGHLIGHT_SHARE": 20, + "IG_STORY_VIDEO_HIGHLIGHT_SHARE": 21, + "IG_STORY_REPLY": 22, + "IG_STORY_REACTION": 23, + "IG_STORY_VIDEO_MENTION": 24, + "IG_STORY_HIGHLIGHT_REPLY": 25, + "IG_STORY_HIGHLIGHT_REACTION": 26, + "IG_EXTERNAL_LINK": 27, + "IG_RECEIVER_FETCH": 28, + "FB_FEED_SHARE": 1000, + "FB_STORY_REPLY": 1001, + "FB_STORY_SHARE": 1002, + "FB_STORY_MENTION": 1003, + "FB_FEED_VIDEO_SHARE": 1004, + "FB_GAMING_CUSTOM_UPDATE": 1005, + "FB_PRODUCER_STORY_REPLY": 1006, + "FB_EVENT": 1007, + "FB_FEED_POST_PRIVATE_REPLY": 1008, + "FB_SHORT": 1009, + "FB_COMMENT_MENTION_SHARE": 1010, + "MSG_EXTERNAL_LINK_SHARE": 2000, + "MSG_P2P_PAYMENT": 2001, + "MSG_LOCATION_SHARING": 2002, + "MSG_LOCATION_SHARING_V2": 2003, + "MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY": 2004, + "MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY": 2005, + "MSG_RECEIVER_FETCH": 2006, + "MSG_IG_MEDIA_SHARE": 2007, + "MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE": 2008, + "MSG_REELS_LIST": 2009, + "MSG_CONTACT": 2010, + "RTC_AUDIO_CALL": 3000, + "RTC_VIDEO_CALL": 3001, + "RTC_MISSED_AUDIO_CALL": 3002, + "RTC_MISSED_VIDEO_CALL": 3003, + "RTC_GROUP_AUDIO_CALL": 3004, + "RTC_GROUP_VIDEO_CALL": 3005, + "RTC_MISSED_GROUP_AUDIO_CALL": 3006, + "RTC_MISSED_GROUP_VIDEO_CALL": 3007, + "DATACLASS_SENDER_COPY": 4000, + } +) + +func (x ExtendedContentMessage_ExtendedContentType) Enum() *ExtendedContentMessage_ExtendedContentType { + p := new(ExtendedContentMessage_ExtendedContentType) + *p = x + return p +} + +func (x ExtendedContentMessage_ExtendedContentType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExtendedContentMessage_ExtendedContentType) Descriptor() protoreflect.EnumDescriptor { + return file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[3].Descriptor() +} + +func (ExtendedContentMessage_ExtendedContentType) Type() protoreflect.EnumType { + return &file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes[3] +} + +func (x ExtendedContentMessage_ExtendedContentType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ExtendedContentMessage_ExtendedContentType.Descriptor instead. +func (ExtendedContentMessage_ExtendedContentType) EnumDescriptor() ([]byte, []int) { + return file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP(), []int{0, 3} +} + +type ExtendedContentMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AssociatedMessage *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=associatedMessage,proto3" json:"associatedMessage,omitempty"` + TargetType ExtendedContentMessage_ExtendedContentType `protobuf:"varint,2,opt,name=targetType,proto3,enum=WAArmadilloXMA.ExtendedContentMessage_ExtendedContentType" json:"targetType,omitempty"` + TargetUsername string `protobuf:"bytes,3,opt,name=targetUsername,proto3" json:"targetUsername,omitempty"` + TargetID string `protobuf:"bytes,4,opt,name=targetID,proto3" json:"targetID,omitempty"` + TargetExpiringAtSec int64 `protobuf:"varint,5,opt,name=targetExpiringAtSec,proto3" json:"targetExpiringAtSec,omitempty"` + XmaLayoutType ExtendedContentMessage_XmaLayoutType `protobuf:"varint,6,opt,name=xmaLayoutType,proto3,enum=WAArmadilloXMA.ExtendedContentMessage_XmaLayoutType" json:"xmaLayoutType,omitempty"` + Ctas []*ExtendedContentMessage_CTA `protobuf:"bytes,7,rep,name=ctas,proto3" json:"ctas,omitempty"` + Previews []*waCommon.SubProtocol `protobuf:"bytes,8,rep,name=previews,proto3" json:"previews,omitempty"` + TitleText string `protobuf:"bytes,9,opt,name=titleText,proto3" json:"titleText,omitempty"` + SubtitleText string `protobuf:"bytes,10,opt,name=subtitleText,proto3" json:"subtitleText,omitempty"` + MaxTitleNumOfLines uint32 `protobuf:"varint,11,opt,name=maxTitleNumOfLines,proto3" json:"maxTitleNumOfLines,omitempty"` + MaxSubtitleNumOfLines uint32 `protobuf:"varint,12,opt,name=maxSubtitleNumOfLines,proto3" json:"maxSubtitleNumOfLines,omitempty"` + Favicon *waCommon.SubProtocol `protobuf:"bytes,13,opt,name=favicon,proto3" json:"favicon,omitempty"` + HeaderImage *waCommon.SubProtocol `protobuf:"bytes,14,opt,name=headerImage,proto3" json:"headerImage,omitempty"` + HeaderTitle string `protobuf:"bytes,15,opt,name=headerTitle,proto3" json:"headerTitle,omitempty"` + OverlayIconGlyph ExtendedContentMessage_OverlayIconGlyph `protobuf:"varint,16,opt,name=overlayIconGlyph,proto3,enum=WAArmadilloXMA.ExtendedContentMessage_OverlayIconGlyph" json:"overlayIconGlyph,omitempty"` + OverlayTitle string `protobuf:"bytes,17,opt,name=overlayTitle,proto3" json:"overlayTitle,omitempty"` + OverlayDescription string `protobuf:"bytes,18,opt,name=overlayDescription,proto3" json:"overlayDescription,omitempty"` + SentWithMessageID string `protobuf:"bytes,19,opt,name=sentWithMessageID,proto3" json:"sentWithMessageID,omitempty"` + MessageText string `protobuf:"bytes,20,opt,name=messageText,proto3" json:"messageText,omitempty"` + HeaderSubtitle string `protobuf:"bytes,21,opt,name=headerSubtitle,proto3" json:"headerSubtitle,omitempty"` + XmaDataclass string `protobuf:"bytes,22,opt,name=xmaDataclass,proto3" json:"xmaDataclass,omitempty"` + ContentRef string `protobuf:"bytes,23,opt,name=contentRef,proto3" json:"contentRef,omitempty"` +} + +func (x *ExtendedContentMessage) Reset() { + *x = ExtendedContentMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExtendedContentMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExtendedContentMessage) ProtoMessage() {} + +func (x *ExtendedContentMessage) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExtendedContentMessage.ProtoReflect.Descriptor instead. +func (*ExtendedContentMessage) Descriptor() ([]byte, []int) { + return file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP(), []int{0} +} + +func (x *ExtendedContentMessage) GetAssociatedMessage() *waCommon.SubProtocol { + if x != nil { + return x.AssociatedMessage + } + return nil +} + +func (x *ExtendedContentMessage) GetTargetType() ExtendedContentMessage_ExtendedContentType { + if x != nil { + return x.TargetType + } + return ExtendedContentMessage_EXTENDEDCONTENTTYPE_UNKNOWN +} + +func (x *ExtendedContentMessage) GetTargetUsername() string { + if x != nil { + return x.TargetUsername + } + return "" +} + +func (x *ExtendedContentMessage) GetTargetID() string { + if x != nil { + return x.TargetID + } + return "" +} + +func (x *ExtendedContentMessage) GetTargetExpiringAtSec() int64 { + if x != nil { + return x.TargetExpiringAtSec + } + return 0 +} + +func (x *ExtendedContentMessage) GetXmaLayoutType() ExtendedContentMessage_XmaLayoutType { + if x != nil { + return x.XmaLayoutType + } + return ExtendedContentMessage_SINGLE +} + +func (x *ExtendedContentMessage) GetCtas() []*ExtendedContentMessage_CTA { + if x != nil { + return x.Ctas + } + return nil +} + +func (x *ExtendedContentMessage) GetPreviews() []*waCommon.SubProtocol { + if x != nil { + return x.Previews + } + return nil +} + +func (x *ExtendedContentMessage) GetTitleText() string { + if x != nil { + return x.TitleText + } + return "" +} + +func (x *ExtendedContentMessage) GetSubtitleText() string { + if x != nil { + return x.SubtitleText + } + return "" +} + +func (x *ExtendedContentMessage) GetMaxTitleNumOfLines() uint32 { + if x != nil { + return x.MaxTitleNumOfLines + } + return 0 +} + +func (x *ExtendedContentMessage) GetMaxSubtitleNumOfLines() uint32 { + if x != nil { + return x.MaxSubtitleNumOfLines + } + return 0 +} + +func (x *ExtendedContentMessage) GetFavicon() *waCommon.SubProtocol { + if x != nil { + return x.Favicon + } + return nil +} + +func (x *ExtendedContentMessage) GetHeaderImage() *waCommon.SubProtocol { + if x != nil { + return x.HeaderImage + } + return nil +} + +func (x *ExtendedContentMessage) GetHeaderTitle() string { + if x != nil { + return x.HeaderTitle + } + return "" +} + +func (x *ExtendedContentMessage) GetOverlayIconGlyph() ExtendedContentMessage_OverlayIconGlyph { + if x != nil { + return x.OverlayIconGlyph + } + return ExtendedContentMessage_INFO +} + +func (x *ExtendedContentMessage) GetOverlayTitle() string { + if x != nil { + return x.OverlayTitle + } + return "" +} + +func (x *ExtendedContentMessage) GetOverlayDescription() string { + if x != nil { + return x.OverlayDescription + } + return "" +} + +func (x *ExtendedContentMessage) GetSentWithMessageID() string { + if x != nil { + return x.SentWithMessageID + } + return "" +} + +func (x *ExtendedContentMessage) GetMessageText() string { + if x != nil { + return x.MessageText + } + return "" +} + +func (x *ExtendedContentMessage) GetHeaderSubtitle() string { + if x != nil { + return x.HeaderSubtitle + } + return "" +} + +func (x *ExtendedContentMessage) GetXmaDataclass() string { + if x != nil { + return x.XmaDataclass + } + return "" +} + +func (x *ExtendedContentMessage) GetContentRef() string { + if x != nil { + return x.ContentRef + } + return "" +} + +type ExtendedContentMessage_CTA struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ButtonType ExtendedContentMessage_CtaButtonType `protobuf:"varint,1,opt,name=buttonType,proto3,enum=WAArmadilloXMA.ExtendedContentMessage_CtaButtonType" json:"buttonType,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + ActionURL string `protobuf:"bytes,3,opt,name=actionURL,proto3" json:"actionURL,omitempty"` + NativeURL string `protobuf:"bytes,4,opt,name=nativeURL,proto3" json:"nativeURL,omitempty"` + CtaType string `protobuf:"bytes,5,opt,name=ctaType,proto3" json:"ctaType,omitempty"` +} + +func (x *ExtendedContentMessage_CTA) Reset() { + *x = ExtendedContentMessage_CTA{} + if protoimpl.UnsafeEnabled { + mi := &file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExtendedContentMessage_CTA) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExtendedContentMessage_CTA) ProtoMessage() {} + +func (x *ExtendedContentMessage_CTA) ProtoReflect() protoreflect.Message { + mi := &file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExtendedContentMessage_CTA.ProtoReflect.Descriptor instead. +func (*ExtendedContentMessage_CTA) Descriptor() ([]byte, []int) { + return file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *ExtendedContentMessage_CTA) GetButtonType() ExtendedContentMessage_CtaButtonType { + if x != nil { + return x.ButtonType + } + return ExtendedContentMessage_CTABUTTONTYPE_UNKNOWN +} + +func (x *ExtendedContentMessage_CTA) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *ExtendedContentMessage_CTA) GetActionURL() string { + if x != nil { + return x.ActionURL + } + return "" +} + +func (x *ExtendedContentMessage_CTA) GetNativeURL() string { + if x != nil { + return x.NativeURL + } + return "" +} + +func (x *ExtendedContentMessage_CTA) GetCtaType() string { + if x != nil { + return x.CtaType + } + return "" +} + +var File_waArmadilloXMA_WAArmadilloXMA_proto protoreflect.FileDescriptor + +//go:embed WAArmadilloXMA.pb.raw +var file_waArmadilloXMA_WAArmadilloXMA_proto_rawDesc []byte + +var ( + file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescOnce sync.Once + file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescData = file_waArmadilloXMA_WAArmadilloXMA_proto_rawDesc +) + +func file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescGZIP() []byte { + file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescOnce.Do(func() { + file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescData = protoimpl.X.CompressGZIP(file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescData) + }) + return file_waArmadilloXMA_WAArmadilloXMA_proto_rawDescData +} + +var file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes = make([]protoimpl.EnumInfo, 4) +var file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_waArmadilloXMA_WAArmadilloXMA_proto_goTypes = []interface{}{ + (ExtendedContentMessage_OverlayIconGlyph)(0), // 0: WAArmadilloXMA.ExtendedContentMessage.OverlayIconGlyph + (ExtendedContentMessage_CtaButtonType)(0), // 1: WAArmadilloXMA.ExtendedContentMessage.CtaButtonType + (ExtendedContentMessage_XmaLayoutType)(0), // 2: WAArmadilloXMA.ExtendedContentMessage.XmaLayoutType + (ExtendedContentMessage_ExtendedContentType)(0), // 3: WAArmadilloXMA.ExtendedContentMessage.ExtendedContentType + (*ExtendedContentMessage)(nil), // 4: WAArmadilloXMA.ExtendedContentMessage + (*ExtendedContentMessage_CTA)(nil), // 5: WAArmadilloXMA.ExtendedContentMessage.CTA + (*waCommon.SubProtocol)(nil), // 6: WACommon.SubProtocol +} +var file_waArmadilloXMA_WAArmadilloXMA_proto_depIdxs = []int32{ + 6, // 0: WAArmadilloXMA.ExtendedContentMessage.associatedMessage:type_name -> WACommon.SubProtocol + 3, // 1: WAArmadilloXMA.ExtendedContentMessage.targetType:type_name -> WAArmadilloXMA.ExtendedContentMessage.ExtendedContentType + 2, // 2: WAArmadilloXMA.ExtendedContentMessage.xmaLayoutType:type_name -> WAArmadilloXMA.ExtendedContentMessage.XmaLayoutType + 5, // 3: WAArmadilloXMA.ExtendedContentMessage.ctas:type_name -> WAArmadilloXMA.ExtendedContentMessage.CTA + 6, // 4: WAArmadilloXMA.ExtendedContentMessage.previews:type_name -> WACommon.SubProtocol + 6, // 5: WAArmadilloXMA.ExtendedContentMessage.favicon:type_name -> WACommon.SubProtocol + 6, // 6: WAArmadilloXMA.ExtendedContentMessage.headerImage:type_name -> WACommon.SubProtocol + 0, // 7: WAArmadilloXMA.ExtendedContentMessage.overlayIconGlyph:type_name -> WAArmadilloXMA.ExtendedContentMessage.OverlayIconGlyph + 1, // 8: WAArmadilloXMA.ExtendedContentMessage.CTA.buttonType:type_name -> WAArmadilloXMA.ExtendedContentMessage.CtaButtonType + 9, // [9:9] is the sub-list for method output_type + 9, // [9:9] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name +} + +func init() { file_waArmadilloXMA_WAArmadilloXMA_proto_init() } +func file_waArmadilloXMA_WAArmadilloXMA_proto_init() { + if File_waArmadilloXMA_WAArmadilloXMA_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExtendedContentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExtendedContentMessage_CTA); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waArmadilloXMA_WAArmadilloXMA_proto_rawDesc, + NumEnums: 4, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waArmadilloXMA_WAArmadilloXMA_proto_goTypes, + DependencyIndexes: file_waArmadilloXMA_WAArmadilloXMA_proto_depIdxs, + EnumInfos: file_waArmadilloXMA_WAArmadilloXMA_proto_enumTypes, + MessageInfos: file_waArmadilloXMA_WAArmadilloXMA_proto_msgTypes, + }.Build() + File_waArmadilloXMA_WAArmadilloXMA_proto = out.File + file_waArmadilloXMA_WAArmadilloXMA_proto_rawDesc = nil + file_waArmadilloXMA_WAArmadilloXMA_proto_goTypes = nil + file_waArmadilloXMA_WAArmadilloXMA_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA/WAArmadilloXMA.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA/WAArmadilloXMA.pb.raw new file mode 100644 index 00000000..54a83943 Binary files /dev/null and b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA/WAArmadilloXMA.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA/WAArmadilloXMA.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA/WAArmadilloXMA.proto new file mode 100644 index 00000000..7197a241 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA/WAArmadilloXMA.proto @@ -0,0 +1,118 @@ +syntax = "proto3"; +package WAArmadilloXMA; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waArmadilloXMA"; + +import "waCommon/WACommon.proto"; + +message ExtendedContentMessage { + enum OverlayIconGlyph { + INFO = 0; + EYE_OFF = 1; + NEWS_OFF = 2; + WARNING = 3; + PRIVATE = 4; + NONE = 5; + MEDIA_LABEL = 6; + POST_COVER = 7; + POST_LABEL = 8; + WARNING_SCREENS = 9; + } + + enum CtaButtonType { + CTABUTTONTYPE_UNKNOWN = 0; + OPEN_NATIVE = 11; + } + + enum XmaLayoutType { + SINGLE = 0; + PORTRAIT = 3; + STANDARD_DXMA = 12; + LIST_DXMA = 15; + } + + enum ExtendedContentType { + EXTENDEDCONTENTTYPE_UNKNOWN = 0; + IG_STORY_PHOTO_MENTION = 4; + IG_SINGLE_IMAGE_POST_SHARE = 9; + IG_MULTIPOST_SHARE = 10; + IG_SINGLE_VIDEO_POST_SHARE = 11; + IG_STORY_PHOTO_SHARE = 12; + IG_STORY_VIDEO_SHARE = 13; + IG_CLIPS_SHARE = 14; + IG_IGTV_SHARE = 15; + IG_SHOP_SHARE = 16; + IG_PROFILE_SHARE = 19; + IG_STORY_PHOTO_HIGHLIGHT_SHARE = 20; + IG_STORY_VIDEO_HIGHLIGHT_SHARE = 21; + IG_STORY_REPLY = 22; + IG_STORY_REACTION = 23; + IG_STORY_VIDEO_MENTION = 24; + IG_STORY_HIGHLIGHT_REPLY = 25; + IG_STORY_HIGHLIGHT_REACTION = 26; + IG_EXTERNAL_LINK = 27; + IG_RECEIVER_FETCH = 28; + FB_FEED_SHARE = 1000; + FB_STORY_REPLY = 1001; + FB_STORY_SHARE = 1002; + FB_STORY_MENTION = 1003; + FB_FEED_VIDEO_SHARE = 1004; + FB_GAMING_CUSTOM_UPDATE = 1005; + FB_PRODUCER_STORY_REPLY = 1006; + FB_EVENT = 1007; + FB_FEED_POST_PRIVATE_REPLY = 1008; + FB_SHORT = 1009; + FB_COMMENT_MENTION_SHARE = 1010; + MSG_EXTERNAL_LINK_SHARE = 2000; + MSG_P2P_PAYMENT = 2001; + MSG_LOCATION_SHARING = 2002; + MSG_LOCATION_SHARING_V2 = 2003; + MSG_HIGHLIGHTS_TAB_FRIEND_UPDATES_REPLY = 2004; + MSG_HIGHLIGHTS_TAB_LOCAL_EVENT_REPLY = 2005; + MSG_RECEIVER_FETCH = 2006; + MSG_IG_MEDIA_SHARE = 2007; + MSG_GEN_AI_SEARCH_PLUGIN_RESPONSE = 2008; + MSG_REELS_LIST = 2009; + MSG_CONTACT = 2010; + RTC_AUDIO_CALL = 3000; + RTC_VIDEO_CALL = 3001; + RTC_MISSED_AUDIO_CALL = 3002; + RTC_MISSED_VIDEO_CALL = 3003; + RTC_GROUP_AUDIO_CALL = 3004; + RTC_GROUP_VIDEO_CALL = 3005; + RTC_MISSED_GROUP_AUDIO_CALL = 3006; + RTC_MISSED_GROUP_VIDEO_CALL = 3007; + DATACLASS_SENDER_COPY = 4000; + } + + message CTA { + CtaButtonType buttonType = 1; + string title = 2; + string actionURL = 3; + string nativeURL = 4; + string ctaType = 5; + } + + WACommon.SubProtocol associatedMessage = 1; + ExtendedContentType targetType = 2; + string targetUsername = 3; + string targetID = 4; + int64 targetExpiringAtSec = 5; + XmaLayoutType xmaLayoutType = 6; + repeated CTA ctas = 7; + repeated WACommon.SubProtocol previews = 8; + string titleText = 9; + string subtitleText = 10; + uint32 maxTitleNumOfLines = 11; + uint32 maxSubtitleNumOfLines = 12; + WACommon.SubProtocol favicon = 13; + WACommon.SubProtocol headerImage = 14; + string headerTitle = 15; + OverlayIconGlyph overlayIconGlyph = 16; + string overlayTitle = 17; + string overlayDescription = 18; + string sentWithMessageID = 19; + string messageText = 20; + string headerSubtitle = 21; + string xmaDataclass = 22; + string contentRef = 23; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCert/WACert.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCert/WACert.pb.go new file mode 100644 index 00000000..6d3dacc4 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCert/WACert.pb.go @@ -0,0 +1,469 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waCert/WACert.proto + +package waCert + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type NoiseCertificate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details []byte `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` +} + +func (x *NoiseCertificate) Reset() { + *x = NoiseCertificate{} + if protoimpl.UnsafeEnabled { + mi := &file_waCert_WACert_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NoiseCertificate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NoiseCertificate) ProtoMessage() {} + +func (x *NoiseCertificate) ProtoReflect() protoreflect.Message { + mi := &file_waCert_WACert_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NoiseCertificate.ProtoReflect.Descriptor instead. +func (*NoiseCertificate) Descriptor() ([]byte, []int) { + return file_waCert_WACert_proto_rawDescGZIP(), []int{0} +} + +func (x *NoiseCertificate) GetDetails() []byte { + if x != nil { + return x.Details + } + return nil +} + +func (x *NoiseCertificate) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +type CertChain struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Leaf *CertChain_NoiseCertificate `protobuf:"bytes,1,opt,name=leaf,proto3" json:"leaf,omitempty"` + Intermediate *CertChain_NoiseCertificate `protobuf:"bytes,2,opt,name=intermediate,proto3" json:"intermediate,omitempty"` +} + +func (x *CertChain) Reset() { + *x = CertChain{} + if protoimpl.UnsafeEnabled { + mi := &file_waCert_WACert_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertChain) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertChain) ProtoMessage() {} + +func (x *CertChain) ProtoReflect() protoreflect.Message { + mi := &file_waCert_WACert_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertChain.ProtoReflect.Descriptor instead. +func (*CertChain) Descriptor() ([]byte, []int) { + return file_waCert_WACert_proto_rawDescGZIP(), []int{1} +} + +func (x *CertChain) GetLeaf() *CertChain_NoiseCertificate { + if x != nil { + return x.Leaf + } + return nil +} + +func (x *CertChain) GetIntermediate() *CertChain_NoiseCertificate { + if x != nil { + return x.Intermediate + } + return nil +} + +type NoiseCertificate_Details struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Serial uint32 `protobuf:"varint,1,opt,name=serial,proto3" json:"serial,omitempty"` + Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"` + Expires uint64 `protobuf:"varint,3,opt,name=expires,proto3" json:"expires,omitempty"` + Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` + Key []byte `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *NoiseCertificate_Details) Reset() { + *x = NoiseCertificate_Details{} + if protoimpl.UnsafeEnabled { + mi := &file_waCert_WACert_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NoiseCertificate_Details) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NoiseCertificate_Details) ProtoMessage() {} + +func (x *NoiseCertificate_Details) ProtoReflect() protoreflect.Message { + mi := &file_waCert_WACert_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NoiseCertificate_Details.ProtoReflect.Descriptor instead. +func (*NoiseCertificate_Details) Descriptor() ([]byte, []int) { + return file_waCert_WACert_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *NoiseCertificate_Details) GetSerial() uint32 { + if x != nil { + return x.Serial + } + return 0 +} + +func (x *NoiseCertificate_Details) GetIssuer() string { + if x != nil { + return x.Issuer + } + return "" +} + +func (x *NoiseCertificate_Details) GetExpires() uint64 { + if x != nil { + return x.Expires + } + return 0 +} + +func (x *NoiseCertificate_Details) GetSubject() string { + if x != nil { + return x.Subject + } + return "" +} + +func (x *NoiseCertificate_Details) GetKey() []byte { + if x != nil { + return x.Key + } + return nil +} + +type CertChain_NoiseCertificate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details []byte `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` +} + +func (x *CertChain_NoiseCertificate) Reset() { + *x = CertChain_NoiseCertificate{} + if protoimpl.UnsafeEnabled { + mi := &file_waCert_WACert_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertChain_NoiseCertificate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertChain_NoiseCertificate) ProtoMessage() {} + +func (x *CertChain_NoiseCertificate) ProtoReflect() protoreflect.Message { + mi := &file_waCert_WACert_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertChain_NoiseCertificate.ProtoReflect.Descriptor instead. +func (*CertChain_NoiseCertificate) Descriptor() ([]byte, []int) { + return file_waCert_WACert_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *CertChain_NoiseCertificate) GetDetails() []byte { + if x != nil { + return x.Details + } + return nil +} + +func (x *CertChain_NoiseCertificate) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +type CertChain_NoiseCertificate_Details struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Serial uint32 `protobuf:"varint,1,opt,name=serial,proto3" json:"serial,omitempty"` + IssuerSerial uint32 `protobuf:"varint,2,opt,name=issuerSerial,proto3" json:"issuerSerial,omitempty"` + Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` + NotBefore uint64 `protobuf:"varint,4,opt,name=notBefore,proto3" json:"notBefore,omitempty"` + NotAfter uint64 `protobuf:"varint,5,opt,name=notAfter,proto3" json:"notAfter,omitempty"` +} + +func (x *CertChain_NoiseCertificate_Details) Reset() { + *x = CertChain_NoiseCertificate_Details{} + if protoimpl.UnsafeEnabled { + mi := &file_waCert_WACert_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertChain_NoiseCertificate_Details) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertChain_NoiseCertificate_Details) ProtoMessage() {} + +func (x *CertChain_NoiseCertificate_Details) ProtoReflect() protoreflect.Message { + mi := &file_waCert_WACert_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertChain_NoiseCertificate_Details.ProtoReflect.Descriptor instead. +func (*CertChain_NoiseCertificate_Details) Descriptor() ([]byte, []int) { + return file_waCert_WACert_proto_rawDescGZIP(), []int{1, 0, 0} +} + +func (x *CertChain_NoiseCertificate_Details) GetSerial() uint32 { + if x != nil { + return x.Serial + } + return 0 +} + +func (x *CertChain_NoiseCertificate_Details) GetIssuerSerial() uint32 { + if x != nil { + return x.IssuerSerial + } + return 0 +} + +func (x *CertChain_NoiseCertificate_Details) GetKey() []byte { + if x != nil { + return x.Key + } + return nil +} + +func (x *CertChain_NoiseCertificate_Details) GetNotBefore() uint64 { + if x != nil { + return x.NotBefore + } + return 0 +} + +func (x *CertChain_NoiseCertificate_Details) GetNotAfter() uint64 { + if x != nil { + return x.NotAfter + } + return 0 +} + +var File_waCert_WACert_proto protoreflect.FileDescriptor + +//go:embed WACert.pb.raw +var file_waCert_WACert_proto_rawDesc []byte + +var ( + file_waCert_WACert_proto_rawDescOnce sync.Once + file_waCert_WACert_proto_rawDescData = file_waCert_WACert_proto_rawDesc +) + +func file_waCert_WACert_proto_rawDescGZIP() []byte { + file_waCert_WACert_proto_rawDescOnce.Do(func() { + file_waCert_WACert_proto_rawDescData = protoimpl.X.CompressGZIP(file_waCert_WACert_proto_rawDescData) + }) + return file_waCert_WACert_proto_rawDescData +} + +var file_waCert_WACert_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_waCert_WACert_proto_goTypes = []interface{}{ + (*NoiseCertificate)(nil), // 0: WACert.NoiseCertificate + (*CertChain)(nil), // 1: WACert.CertChain + (*NoiseCertificate_Details)(nil), // 2: WACert.NoiseCertificate.Details + (*CertChain_NoiseCertificate)(nil), // 3: WACert.CertChain.NoiseCertificate + (*CertChain_NoiseCertificate_Details)(nil), // 4: WACert.CertChain.NoiseCertificate.Details +} +var file_waCert_WACert_proto_depIdxs = []int32{ + 3, // 0: WACert.CertChain.leaf:type_name -> WACert.CertChain.NoiseCertificate + 3, // 1: WACert.CertChain.intermediate:type_name -> WACert.CertChain.NoiseCertificate + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_waCert_WACert_proto_init() } +func file_waCert_WACert_proto_init() { + if File_waCert_WACert_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waCert_WACert_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NoiseCertificate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCert_WACert_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertChain); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCert_WACert_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NoiseCertificate_Details); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCert_WACert_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertChain_NoiseCertificate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCert_WACert_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertChain_NoiseCertificate_Details); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waCert_WACert_proto_rawDesc, + NumEnums: 0, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waCert_WACert_proto_goTypes, + DependencyIndexes: file_waCert_WACert_proto_depIdxs, + MessageInfos: file_waCert_WACert_proto_msgTypes, + }.Build() + File_waCert_WACert_proto = out.File + file_waCert_WACert_proto_rawDesc = nil + file_waCert_WACert_proto_goTypes = nil + file_waCert_WACert_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCert/WACert.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCert/WACert.pb.raw new file mode 100644 index 00000000..dbce5c5f --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCert/WACert.pb.raw @@ -0,0 +1,23 @@ + +waCert/WACert.protoWACert"Ë +NoiseCertificate +details ( Rdetails + signature ( R signature +Details +serial ( Rserial +issuer ( Rissuer +expires (Rexpires +subject ( Rsubject +key ( Rkey"ì + CertChain6 +leaf ( 2".WACert.CertChain.NoiseCertificateRleafF + intermediate ( 2".WACert.CertChain.NoiseCertificateR intermediateÞ +NoiseCertificate +details ( Rdetails + signature ( R signature‘ +Details +serial ( Rserial" + issuerSerial ( R issuerSerial +key ( Rkey + notBefore (R notBefore +notAfter (RnotAfterB-Z+go.mau.fi/whatsmeow/binary/armadillo/waCertbproto3 \ No newline at end of file diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCert/WACert.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCert/WACert.proto new file mode 100644 index 00000000..1edb06c9 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCert/WACert.proto @@ -0,0 +1,34 @@ +syntax = "proto3"; +package WACert; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waCert"; + +message NoiseCertificate { + message Details { + uint32 serial = 1; + string issuer = 2; + uint64 expires = 3; + string subject = 4; + bytes key = 5; + } + + bytes details = 1; + bytes signature = 2; +} + +message CertChain { + message NoiseCertificate { + message Details { + uint32 serial = 1; + uint32 issuerSerial = 2; + bytes key = 3; + uint64 notBefore = 4; + uint64 notAfter = 5; + } + + bytes details = 1; + bytes signature = 2; + } + + NoiseCertificate leaf = 1; + NoiseCertificate intermediate = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.pb.go new file mode 100644 index 00000000..1224d43a --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.pb.go @@ -0,0 +1,498 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waCommon/WACommon.proto + +package waCommon + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type FutureProofBehavior int32 + +const ( + FutureProofBehavior_PLACEHOLDER FutureProofBehavior = 0 + FutureProofBehavior_NO_PLACEHOLDER FutureProofBehavior = 1 + FutureProofBehavior_IGNORE FutureProofBehavior = 2 +) + +// Enum value maps for FutureProofBehavior. +var ( + FutureProofBehavior_name = map[int32]string{ + 0: "PLACEHOLDER", + 1: "NO_PLACEHOLDER", + 2: "IGNORE", + } + FutureProofBehavior_value = map[string]int32{ + "PLACEHOLDER": 0, + "NO_PLACEHOLDER": 1, + "IGNORE": 2, + } +) + +func (x FutureProofBehavior) Enum() *FutureProofBehavior { + p := new(FutureProofBehavior) + *p = x + return p +} + +func (x FutureProofBehavior) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FutureProofBehavior) Descriptor() protoreflect.EnumDescriptor { + return file_waCommon_WACommon_proto_enumTypes[0].Descriptor() +} + +func (FutureProofBehavior) Type() protoreflect.EnumType { + return &file_waCommon_WACommon_proto_enumTypes[0] +} + +func (x FutureProofBehavior) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FutureProofBehavior.Descriptor instead. +func (FutureProofBehavior) EnumDescriptor() ([]byte, []int) { + return file_waCommon_WACommon_proto_rawDescGZIP(), []int{0} +} + +type Command_CommandType int32 + +const ( + Command_COMMANDTYPE_UNKNOWN Command_CommandType = 0 + Command_EVERYONE Command_CommandType = 1 + Command_SILENT Command_CommandType = 2 + Command_AI Command_CommandType = 3 +) + +// Enum value maps for Command_CommandType. +var ( + Command_CommandType_name = map[int32]string{ + 0: "COMMANDTYPE_UNKNOWN", + 1: "EVERYONE", + 2: "SILENT", + 3: "AI", + } + Command_CommandType_value = map[string]int32{ + "COMMANDTYPE_UNKNOWN": 0, + "EVERYONE": 1, + "SILENT": 2, + "AI": 3, + } +) + +func (x Command_CommandType) Enum() *Command_CommandType { + p := new(Command_CommandType) + *p = x + return p +} + +func (x Command_CommandType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Command_CommandType) Descriptor() protoreflect.EnumDescriptor { + return file_waCommon_WACommon_proto_enumTypes[1].Descriptor() +} + +func (Command_CommandType) Type() protoreflect.EnumType { + return &file_waCommon_WACommon_proto_enumTypes[1] +} + +func (x Command_CommandType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Command_CommandType.Descriptor instead. +func (Command_CommandType) EnumDescriptor() ([]byte, []int) { + return file_waCommon_WACommon_proto_rawDescGZIP(), []int{1, 0} +} + +type MessageKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RemoteJID string `protobuf:"bytes,1,opt,name=remoteJID,proto3" json:"remoteJID,omitempty"` + FromMe bool `protobuf:"varint,2,opt,name=fromMe,proto3" json:"fromMe,omitempty"` + ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"` + Participant string `protobuf:"bytes,4,opt,name=participant,proto3" json:"participant,omitempty"` +} + +func (x *MessageKey) Reset() { + *x = MessageKey{} + if protoimpl.UnsafeEnabled { + mi := &file_waCommon_WACommon_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageKey) ProtoMessage() {} + +func (x *MessageKey) ProtoReflect() protoreflect.Message { + mi := &file_waCommon_WACommon_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageKey.ProtoReflect.Descriptor instead. +func (*MessageKey) Descriptor() ([]byte, []int) { + return file_waCommon_WACommon_proto_rawDescGZIP(), []int{0} +} + +func (x *MessageKey) GetRemoteJID() string { + if x != nil { + return x.RemoteJID + } + return "" +} + +func (x *MessageKey) GetFromMe() bool { + if x != nil { + return x.FromMe + } + return false +} + +func (x *MessageKey) GetID() string { + if x != nil { + return x.ID + } + return "" +} + +func (x *MessageKey) GetParticipant() string { + if x != nil { + return x.Participant + } + return "" +} + +type Command struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CommandType Command_CommandType `protobuf:"varint,1,opt,name=commandType,proto3,enum=WACommon.Command_CommandType" json:"commandType,omitempty"` + Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + Length uint32 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"` + ValidationToken string `protobuf:"bytes,4,opt,name=validationToken,proto3" json:"validationToken,omitempty"` +} + +func (x *Command) Reset() { + *x = Command{} + if protoimpl.UnsafeEnabled { + mi := &file_waCommon_WACommon_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Command) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Command) ProtoMessage() {} + +func (x *Command) ProtoReflect() protoreflect.Message { + mi := &file_waCommon_WACommon_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Command.ProtoReflect.Descriptor instead. +func (*Command) Descriptor() ([]byte, []int) { + return file_waCommon_WACommon_proto_rawDescGZIP(), []int{1} +} + +func (x *Command) GetCommandType() Command_CommandType { + if x != nil { + return x.CommandType + } + return Command_COMMANDTYPE_UNKNOWN +} + +func (x *Command) GetOffset() uint32 { + if x != nil { + return x.Offset + } + return 0 +} + +func (x *Command) GetLength() uint32 { + if x != nil { + return x.Length + } + return 0 +} + +func (x *Command) GetValidationToken() string { + if x != nil { + return x.ValidationToken + } + return "" +} + +type MessageText struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` + MentionedJID []string `protobuf:"bytes,2,rep,name=mentionedJID,proto3" json:"mentionedJID,omitempty"` + Commands []*Command `protobuf:"bytes,3,rep,name=commands,proto3" json:"commands,omitempty"` +} + +func (x *MessageText) Reset() { + *x = MessageText{} + if protoimpl.UnsafeEnabled { + mi := &file_waCommon_WACommon_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageText) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageText) ProtoMessage() {} + +func (x *MessageText) ProtoReflect() protoreflect.Message { + mi := &file_waCommon_WACommon_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageText.ProtoReflect.Descriptor instead. +func (*MessageText) Descriptor() ([]byte, []int) { + return file_waCommon_WACommon_proto_rawDescGZIP(), []int{2} +} + +func (x *MessageText) GetText() string { + if x != nil { + return x.Text + } + return "" +} + +func (x *MessageText) GetMentionedJID() []string { + if x != nil { + return x.MentionedJID + } + return nil +} + +func (x *MessageText) GetCommands() []*Command { + if x != nil { + return x.Commands + } + return nil +} + +type SubProtocol struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` +} + +func (x *SubProtocol) Reset() { + *x = SubProtocol{} + if protoimpl.UnsafeEnabled { + mi := &file_waCommon_WACommon_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SubProtocol) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SubProtocol) ProtoMessage() {} + +func (x *SubProtocol) ProtoReflect() protoreflect.Message { + mi := &file_waCommon_WACommon_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SubProtocol.ProtoReflect.Descriptor instead. +func (*SubProtocol) Descriptor() ([]byte, []int) { + return file_waCommon_WACommon_proto_rawDescGZIP(), []int{3} +} + +func (x *SubProtocol) GetPayload() []byte { + if x != nil { + return x.Payload + } + return nil +} + +func (x *SubProtocol) GetVersion() int32 { + if x != nil { + return x.Version + } + return 0 +} + +var File_waCommon_WACommon_proto protoreflect.FileDescriptor + +//go:embed WACommon.pb.raw +var file_waCommon_WACommon_proto_rawDesc []byte + +var ( + file_waCommon_WACommon_proto_rawDescOnce sync.Once + file_waCommon_WACommon_proto_rawDescData = file_waCommon_WACommon_proto_rawDesc +) + +func file_waCommon_WACommon_proto_rawDescGZIP() []byte { + file_waCommon_WACommon_proto_rawDescOnce.Do(func() { + file_waCommon_WACommon_proto_rawDescData = protoimpl.X.CompressGZIP(file_waCommon_WACommon_proto_rawDescData) + }) + return file_waCommon_WACommon_proto_rawDescData +} + +var file_waCommon_WACommon_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_waCommon_WACommon_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_waCommon_WACommon_proto_goTypes = []interface{}{ + (FutureProofBehavior)(0), // 0: WACommon.FutureProofBehavior + (Command_CommandType)(0), // 1: WACommon.Command.CommandType + (*MessageKey)(nil), // 2: WACommon.MessageKey + (*Command)(nil), // 3: WACommon.Command + (*MessageText)(nil), // 4: WACommon.MessageText + (*SubProtocol)(nil), // 5: WACommon.SubProtocol +} +var file_waCommon_WACommon_proto_depIdxs = []int32{ + 1, // 0: WACommon.Command.commandType:type_name -> WACommon.Command.CommandType + 3, // 1: WACommon.MessageText.commands:type_name -> WACommon.Command + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_waCommon_WACommon_proto_init() } +func file_waCommon_WACommon_proto_init() { + if File_waCommon_WACommon_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waCommon_WACommon_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCommon_WACommon_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Command); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCommon_WACommon_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageText); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waCommon_WACommon_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubProtocol); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waCommon_WACommon_proto_rawDesc, + NumEnums: 2, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waCommon_WACommon_proto_goTypes, + DependencyIndexes: file_waCommon_WACommon_proto_depIdxs, + EnumInfos: file_waCommon_WACommon_proto_enumTypes, + MessageInfos: file_waCommon_WACommon_proto_msgTypes, + }.Build() + File_waCommon_WACommon_proto = out.File + file_waCommon_WACommon_proto_rawDesc = nil + file_waCommon_WACommon_proto_goTypes = nil + file_waCommon_WACommon_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.pb.raw new file mode 100644 index 00000000..ae70e896 Binary files /dev/null and b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.proto new file mode 100644 index 00000000..d236b770 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waCommon/WACommon.proto @@ -0,0 +1,41 @@ +syntax = "proto3"; +package WACommon; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waCommon"; + +enum FutureProofBehavior { + PLACEHOLDER = 0; + NO_PLACEHOLDER = 1; + IGNORE = 2; +} + +message MessageKey { + string remoteJID = 1; + bool fromMe = 2; + string ID = 3; + string participant = 4; +} + +message Command { + enum CommandType { + COMMANDTYPE_UNKNOWN = 0; + EVERYONE = 1; + SILENT = 2; + AI = 3; + } + + CommandType commandType = 1; + uint32 offset = 2; + uint32 length = 3; + string validationToken = 4; +} + +message MessageText { + string text = 1; + repeated string mentionedJID = 2; + repeated Command commands = 3; +} + +message SubProtocol { + bytes payload = 1; + int32 version = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.pb.go new file mode 100644 index 00000000..38b42f23 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.pb.go @@ -0,0 +1,3069 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waConsumerApplication/WAConsumerApplication.proto + +package waConsumerApplication + +import ( + reflect "reflect" + sync "sync" + + waCommon "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ConsumerApplication_Metadata_SpecialTextSize int32 + +const ( + ConsumerApplication_Metadata_SPECIALTEXTSIZE_UNKNOWN ConsumerApplication_Metadata_SpecialTextSize = 0 + ConsumerApplication_Metadata_SMALL ConsumerApplication_Metadata_SpecialTextSize = 1 + ConsumerApplication_Metadata_MEDIUM ConsumerApplication_Metadata_SpecialTextSize = 2 + ConsumerApplication_Metadata_LARGE ConsumerApplication_Metadata_SpecialTextSize = 3 +) + +// Enum value maps for ConsumerApplication_Metadata_SpecialTextSize. +var ( + ConsumerApplication_Metadata_SpecialTextSize_name = map[int32]string{ + 0: "SPECIALTEXTSIZE_UNKNOWN", + 1: "SMALL", + 2: "MEDIUM", + 3: "LARGE", + } + ConsumerApplication_Metadata_SpecialTextSize_value = map[string]int32{ + "SPECIALTEXTSIZE_UNKNOWN": 0, + "SMALL": 1, + "MEDIUM": 2, + "LARGE": 3, + } +) + +func (x ConsumerApplication_Metadata_SpecialTextSize) Enum() *ConsumerApplication_Metadata_SpecialTextSize { + p := new(ConsumerApplication_Metadata_SpecialTextSize) + *p = x + return p +} + +func (x ConsumerApplication_Metadata_SpecialTextSize) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ConsumerApplication_Metadata_SpecialTextSize) Descriptor() protoreflect.EnumDescriptor { + return file_waConsumerApplication_WAConsumerApplication_proto_enumTypes[0].Descriptor() +} + +func (ConsumerApplication_Metadata_SpecialTextSize) Type() protoreflect.EnumType { + return &file_waConsumerApplication_WAConsumerApplication_proto_enumTypes[0] +} + +func (x ConsumerApplication_Metadata_SpecialTextSize) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ConsumerApplication_Metadata_SpecialTextSize.Descriptor instead. +func (ConsumerApplication_Metadata_SpecialTextSize) EnumDescriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 2, 0} +} + +type ConsumerApplication_StatusTextMesage_FontType int32 + +const ( + ConsumerApplication_StatusTextMesage_SANS_SERIF ConsumerApplication_StatusTextMesage_FontType = 0 + ConsumerApplication_StatusTextMesage_SERIF ConsumerApplication_StatusTextMesage_FontType = 1 + ConsumerApplication_StatusTextMesage_NORICAN_REGULAR ConsumerApplication_StatusTextMesage_FontType = 2 + ConsumerApplication_StatusTextMesage_BRYNDAN_WRITE ConsumerApplication_StatusTextMesage_FontType = 3 + ConsumerApplication_StatusTextMesage_BEBASNEUE_REGULAR ConsumerApplication_StatusTextMesage_FontType = 4 + ConsumerApplication_StatusTextMesage_OSWALD_HEAVY ConsumerApplication_StatusTextMesage_FontType = 5 +) + +// Enum value maps for ConsumerApplication_StatusTextMesage_FontType. +var ( + ConsumerApplication_StatusTextMesage_FontType_name = map[int32]string{ + 0: "SANS_SERIF", + 1: "SERIF", + 2: "NORICAN_REGULAR", + 3: "BRYNDAN_WRITE", + 4: "BEBASNEUE_REGULAR", + 5: "OSWALD_HEAVY", + } + ConsumerApplication_StatusTextMesage_FontType_value = map[string]int32{ + "SANS_SERIF": 0, + "SERIF": 1, + "NORICAN_REGULAR": 2, + "BRYNDAN_WRITE": 3, + "BEBASNEUE_REGULAR": 4, + "OSWALD_HEAVY": 5, + } +) + +func (x ConsumerApplication_StatusTextMesage_FontType) Enum() *ConsumerApplication_StatusTextMesage_FontType { + p := new(ConsumerApplication_StatusTextMesage_FontType) + *p = x + return p +} + +func (x ConsumerApplication_StatusTextMesage_FontType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ConsumerApplication_StatusTextMesage_FontType) Descriptor() protoreflect.EnumDescriptor { + return file_waConsumerApplication_WAConsumerApplication_proto_enumTypes[1].Descriptor() +} + +func (ConsumerApplication_StatusTextMesage_FontType) Type() protoreflect.EnumType { + return &file_waConsumerApplication_WAConsumerApplication_proto_enumTypes[1] +} + +func (x ConsumerApplication_StatusTextMesage_FontType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ConsumerApplication_StatusTextMesage_FontType.Descriptor instead. +func (ConsumerApplication_StatusTextMesage_FontType) EnumDescriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 20, 0} +} + +type ConsumerApplication_ExtendedTextMessage_PreviewType int32 + +const ( + ConsumerApplication_ExtendedTextMessage_NONE ConsumerApplication_ExtendedTextMessage_PreviewType = 0 + ConsumerApplication_ExtendedTextMessage_VIDEO ConsumerApplication_ExtendedTextMessage_PreviewType = 1 +) + +// Enum value maps for ConsumerApplication_ExtendedTextMessage_PreviewType. +var ( + ConsumerApplication_ExtendedTextMessage_PreviewType_name = map[int32]string{ + 0: "NONE", + 1: "VIDEO", + } + ConsumerApplication_ExtendedTextMessage_PreviewType_value = map[string]int32{ + "NONE": 0, + "VIDEO": 1, + } +) + +func (x ConsumerApplication_ExtendedTextMessage_PreviewType) Enum() *ConsumerApplication_ExtendedTextMessage_PreviewType { + p := new(ConsumerApplication_ExtendedTextMessage_PreviewType) + *p = x + return p +} + +func (x ConsumerApplication_ExtendedTextMessage_PreviewType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ConsumerApplication_ExtendedTextMessage_PreviewType) Descriptor() protoreflect.EnumDescriptor { + return file_waConsumerApplication_WAConsumerApplication_proto_enumTypes[2].Descriptor() +} + +func (ConsumerApplication_ExtendedTextMessage_PreviewType) Type() protoreflect.EnumType { + return &file_waConsumerApplication_WAConsumerApplication_proto_enumTypes[2] +} + +func (x ConsumerApplication_ExtendedTextMessage_PreviewType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ConsumerApplication_ExtendedTextMessage_PreviewType.Descriptor instead. +func (ConsumerApplication_ExtendedTextMessage_PreviewType) EnumDescriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 21, 0} +} + +type ConsumerApplication struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Payload *ConsumerApplication_Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + Metadata *ConsumerApplication_Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` +} + +func (x *ConsumerApplication) Reset() { + *x = ConsumerApplication{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication) ProtoMessage() {} + +func (x *ConsumerApplication) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication.ProtoReflect.Descriptor instead. +func (*ConsumerApplication) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0} +} + +func (x *ConsumerApplication) GetPayload() *ConsumerApplication_Payload { + if x != nil { + return x.Payload + } + return nil +} + +func (x *ConsumerApplication) GetMetadata() *ConsumerApplication_Metadata { + if x != nil { + return x.Metadata + } + return nil +} + +type ConsumerApplication_Payload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Payload: + // + // *ConsumerApplication_Payload_Content + // *ConsumerApplication_Payload_ApplicationData + // *ConsumerApplication_Payload_Signal + // *ConsumerApplication_Payload_SubProtocol + Payload isConsumerApplication_Payload_Payload `protobuf_oneof:"payload"` +} + +func (x *ConsumerApplication_Payload) Reset() { + *x = ConsumerApplication_Payload{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_Payload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_Payload) ProtoMessage() {} + +func (x *ConsumerApplication_Payload) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_Payload.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_Payload) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 0} +} + +func (m *ConsumerApplication_Payload) GetPayload() isConsumerApplication_Payload_Payload { + if m != nil { + return m.Payload + } + return nil +} + +func (x *ConsumerApplication_Payload) GetContent() *ConsumerApplication_Content { + if x, ok := x.GetPayload().(*ConsumerApplication_Payload_Content); ok { + return x.Content + } + return nil +} + +func (x *ConsumerApplication_Payload) GetApplicationData() *ConsumerApplication_ApplicationData { + if x, ok := x.GetPayload().(*ConsumerApplication_Payload_ApplicationData); ok { + return x.ApplicationData + } + return nil +} + +func (x *ConsumerApplication_Payload) GetSignal() *ConsumerApplication_Signal { + if x, ok := x.GetPayload().(*ConsumerApplication_Payload_Signal); ok { + return x.Signal + } + return nil +} + +func (x *ConsumerApplication_Payload) GetSubProtocol() *ConsumerApplication_SubProtocolPayload { + if x, ok := x.GetPayload().(*ConsumerApplication_Payload_SubProtocol); ok { + return x.SubProtocol + } + return nil +} + +type isConsumerApplication_Payload_Payload interface { + isConsumerApplication_Payload_Payload() +} + +type ConsumerApplication_Payload_Content struct { + Content *ConsumerApplication_Content `protobuf:"bytes,1,opt,name=content,proto3,oneof"` +} + +type ConsumerApplication_Payload_ApplicationData struct { + ApplicationData *ConsumerApplication_ApplicationData `protobuf:"bytes,2,opt,name=applicationData,proto3,oneof"` +} + +type ConsumerApplication_Payload_Signal struct { + Signal *ConsumerApplication_Signal `protobuf:"bytes,3,opt,name=signal,proto3,oneof"` +} + +type ConsumerApplication_Payload_SubProtocol struct { + SubProtocol *ConsumerApplication_SubProtocolPayload `protobuf:"bytes,4,opt,name=subProtocol,proto3,oneof"` +} + +func (*ConsumerApplication_Payload_Content) isConsumerApplication_Payload_Payload() {} + +func (*ConsumerApplication_Payload_ApplicationData) isConsumerApplication_Payload_Payload() {} + +func (*ConsumerApplication_Payload_Signal) isConsumerApplication_Payload_Payload() {} + +func (*ConsumerApplication_Payload_SubProtocol) isConsumerApplication_Payload_Payload() {} + +type ConsumerApplication_SubProtocolPayload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FutureProof waCommon.FutureProofBehavior `protobuf:"varint,1,opt,name=futureProof,proto3,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"` +} + +func (x *ConsumerApplication_SubProtocolPayload) Reset() { + *x = ConsumerApplication_SubProtocolPayload{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_SubProtocolPayload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_SubProtocolPayload) ProtoMessage() {} + +func (x *ConsumerApplication_SubProtocolPayload) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_SubProtocolPayload.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_SubProtocolPayload) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *ConsumerApplication_SubProtocolPayload) GetFutureProof() waCommon.FutureProofBehavior { + if x != nil { + return x.FutureProof + } + return waCommon.FutureProofBehavior(0) +} + +type ConsumerApplication_Metadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SpecialTextSize ConsumerApplication_Metadata_SpecialTextSize `protobuf:"varint,1,opt,name=specialTextSize,proto3,enum=WAConsumerApplication.ConsumerApplication_Metadata_SpecialTextSize" json:"specialTextSize,omitempty"` +} + +func (x *ConsumerApplication_Metadata) Reset() { + *x = ConsumerApplication_Metadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_Metadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_Metadata) ProtoMessage() {} + +func (x *ConsumerApplication_Metadata) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_Metadata.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_Metadata) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 2} +} + +func (x *ConsumerApplication_Metadata) GetSpecialTextSize() ConsumerApplication_Metadata_SpecialTextSize { + if x != nil { + return x.SpecialTextSize + } + return ConsumerApplication_Metadata_SPECIALTEXTSIZE_UNKNOWN +} + +type ConsumerApplication_Signal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ConsumerApplication_Signal) Reset() { + *x = ConsumerApplication_Signal{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_Signal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_Signal) ProtoMessage() {} + +func (x *ConsumerApplication_Signal) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_Signal.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_Signal) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 3} +} + +type ConsumerApplication_ApplicationData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to ApplicationContent: + // + // *ConsumerApplication_ApplicationData_Revoke + ApplicationContent isConsumerApplication_ApplicationData_ApplicationContent `protobuf_oneof:"applicationContent"` +} + +func (x *ConsumerApplication_ApplicationData) Reset() { + *x = ConsumerApplication_ApplicationData{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_ApplicationData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_ApplicationData) ProtoMessage() {} + +func (x *ConsumerApplication_ApplicationData) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_ApplicationData.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_ApplicationData) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 4} +} + +func (m *ConsumerApplication_ApplicationData) GetApplicationContent() isConsumerApplication_ApplicationData_ApplicationContent { + if m != nil { + return m.ApplicationContent + } + return nil +} + +func (x *ConsumerApplication_ApplicationData) GetRevoke() *ConsumerApplication_RevokeMessage { + if x, ok := x.GetApplicationContent().(*ConsumerApplication_ApplicationData_Revoke); ok { + return x.Revoke + } + return nil +} + +type isConsumerApplication_ApplicationData_ApplicationContent interface { + isConsumerApplication_ApplicationData_ApplicationContent() +} + +type ConsumerApplication_ApplicationData_Revoke struct { + Revoke *ConsumerApplication_RevokeMessage `protobuf:"bytes,1,opt,name=revoke,proto3,oneof"` +} + +func (*ConsumerApplication_ApplicationData_Revoke) isConsumerApplication_ApplicationData_ApplicationContent() { +} + +type ConsumerApplication_Content struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Content: + // + // *ConsumerApplication_Content_MessageText + // *ConsumerApplication_Content_ImageMessage + // *ConsumerApplication_Content_ContactMessage + // *ConsumerApplication_Content_LocationMessage + // *ConsumerApplication_Content_ExtendedTextMessage + // *ConsumerApplication_Content_StatusTextMessage + // *ConsumerApplication_Content_DocumentMessage + // *ConsumerApplication_Content_AudioMessage + // *ConsumerApplication_Content_VideoMessage + // *ConsumerApplication_Content_ContactsArrayMessage + // *ConsumerApplication_Content_LiveLocationMessage + // *ConsumerApplication_Content_StickerMessage + // *ConsumerApplication_Content_GroupInviteMessage + // *ConsumerApplication_Content_ViewOnceMessage + // *ConsumerApplication_Content_ReactionMessage + // *ConsumerApplication_Content_PollCreationMessage + // *ConsumerApplication_Content_PollUpdateMessage + // *ConsumerApplication_Content_EditMessage + Content isConsumerApplication_Content_Content `protobuf_oneof:"content"` +} + +func (x *ConsumerApplication_Content) Reset() { + *x = ConsumerApplication_Content{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_Content) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_Content) ProtoMessage() {} + +func (x *ConsumerApplication_Content) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_Content.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_Content) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 5} +} + +func (m *ConsumerApplication_Content) GetContent() isConsumerApplication_Content_Content { + if m != nil { + return m.Content + } + return nil +} + +func (x *ConsumerApplication_Content) GetMessageText() *waCommon.MessageText { + if x, ok := x.GetContent().(*ConsumerApplication_Content_MessageText); ok { + return x.MessageText + } + return nil +} + +func (x *ConsumerApplication_Content) GetImageMessage() *ConsumerApplication_ImageMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_ImageMessage); ok { + return x.ImageMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetContactMessage() *ConsumerApplication_ContactMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_ContactMessage); ok { + return x.ContactMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetLocationMessage() *ConsumerApplication_LocationMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_LocationMessage); ok { + return x.LocationMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetExtendedTextMessage() *ConsumerApplication_ExtendedTextMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_ExtendedTextMessage); ok { + return x.ExtendedTextMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetStatusTextMessage() *ConsumerApplication_StatusTextMesage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_StatusTextMessage); ok { + return x.StatusTextMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetDocumentMessage() *ConsumerApplication_DocumentMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_DocumentMessage); ok { + return x.DocumentMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetAudioMessage() *ConsumerApplication_AudioMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_AudioMessage); ok { + return x.AudioMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetVideoMessage() *ConsumerApplication_VideoMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_VideoMessage); ok { + return x.VideoMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetContactsArrayMessage() *ConsumerApplication_ContactsArrayMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_ContactsArrayMessage); ok { + return x.ContactsArrayMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetLiveLocationMessage() *ConsumerApplication_LiveLocationMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_LiveLocationMessage); ok { + return x.LiveLocationMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetStickerMessage() *ConsumerApplication_StickerMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_StickerMessage); ok { + return x.StickerMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetGroupInviteMessage() *ConsumerApplication_GroupInviteMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_GroupInviteMessage); ok { + return x.GroupInviteMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetViewOnceMessage() *ConsumerApplication_ViewOnceMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_ViewOnceMessage); ok { + return x.ViewOnceMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetReactionMessage() *ConsumerApplication_ReactionMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_ReactionMessage); ok { + return x.ReactionMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetPollCreationMessage() *ConsumerApplication_PollCreationMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_PollCreationMessage); ok { + return x.PollCreationMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetPollUpdateMessage() *ConsumerApplication_PollUpdateMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_PollUpdateMessage); ok { + return x.PollUpdateMessage + } + return nil +} + +func (x *ConsumerApplication_Content) GetEditMessage() *ConsumerApplication_EditMessage { + if x, ok := x.GetContent().(*ConsumerApplication_Content_EditMessage); ok { + return x.EditMessage + } + return nil +} + +type isConsumerApplication_Content_Content interface { + isConsumerApplication_Content_Content() +} + +type ConsumerApplication_Content_MessageText struct { + MessageText *waCommon.MessageText `protobuf:"bytes,1,opt,name=messageText,proto3,oneof"` +} + +type ConsumerApplication_Content_ImageMessage struct { + ImageMessage *ConsumerApplication_ImageMessage `protobuf:"bytes,2,opt,name=imageMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_ContactMessage struct { + ContactMessage *ConsumerApplication_ContactMessage `protobuf:"bytes,3,opt,name=contactMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_LocationMessage struct { + LocationMessage *ConsumerApplication_LocationMessage `protobuf:"bytes,4,opt,name=locationMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_ExtendedTextMessage struct { + ExtendedTextMessage *ConsumerApplication_ExtendedTextMessage `protobuf:"bytes,5,opt,name=extendedTextMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_StatusTextMessage struct { + StatusTextMessage *ConsumerApplication_StatusTextMesage `protobuf:"bytes,6,opt,name=statusTextMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_DocumentMessage struct { + DocumentMessage *ConsumerApplication_DocumentMessage `protobuf:"bytes,7,opt,name=documentMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_AudioMessage struct { + AudioMessage *ConsumerApplication_AudioMessage `protobuf:"bytes,8,opt,name=audioMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_VideoMessage struct { + VideoMessage *ConsumerApplication_VideoMessage `protobuf:"bytes,9,opt,name=videoMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_ContactsArrayMessage struct { + ContactsArrayMessage *ConsumerApplication_ContactsArrayMessage `protobuf:"bytes,10,opt,name=contactsArrayMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_LiveLocationMessage struct { + LiveLocationMessage *ConsumerApplication_LiveLocationMessage `protobuf:"bytes,11,opt,name=liveLocationMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_StickerMessage struct { + StickerMessage *ConsumerApplication_StickerMessage `protobuf:"bytes,12,opt,name=stickerMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_GroupInviteMessage struct { + GroupInviteMessage *ConsumerApplication_GroupInviteMessage `protobuf:"bytes,13,opt,name=groupInviteMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_ViewOnceMessage struct { + ViewOnceMessage *ConsumerApplication_ViewOnceMessage `protobuf:"bytes,14,opt,name=viewOnceMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_ReactionMessage struct { + ReactionMessage *ConsumerApplication_ReactionMessage `protobuf:"bytes,16,opt,name=reactionMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_PollCreationMessage struct { + PollCreationMessage *ConsumerApplication_PollCreationMessage `protobuf:"bytes,17,opt,name=pollCreationMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_PollUpdateMessage struct { + PollUpdateMessage *ConsumerApplication_PollUpdateMessage `protobuf:"bytes,18,opt,name=pollUpdateMessage,proto3,oneof"` +} + +type ConsumerApplication_Content_EditMessage struct { + EditMessage *ConsumerApplication_EditMessage `protobuf:"bytes,19,opt,name=editMessage,proto3,oneof"` +} + +func (*ConsumerApplication_Content_MessageText) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_ImageMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_ContactMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_LocationMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_ExtendedTextMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_StatusTextMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_DocumentMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_AudioMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_VideoMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_ContactsArrayMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_LiveLocationMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_StickerMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_GroupInviteMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_ViewOnceMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_ReactionMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_PollCreationMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_PollUpdateMessage) isConsumerApplication_Content_Content() {} + +func (*ConsumerApplication_Content_EditMessage) isConsumerApplication_Content_Content() {} + +type ConsumerApplication_EditMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Message *waCommon.MessageText `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + TimestampMS int64 `protobuf:"varint,3,opt,name=timestampMS,proto3" json:"timestampMS,omitempty"` +} + +func (x *ConsumerApplication_EditMessage) Reset() { + *x = ConsumerApplication_EditMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_EditMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_EditMessage) ProtoMessage() {} + +func (x *ConsumerApplication_EditMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_EditMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_EditMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 6} +} + +func (x *ConsumerApplication_EditMessage) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *ConsumerApplication_EditMessage) GetMessage() *waCommon.MessageText { + if x != nil { + return x.Message + } + return nil +} + +func (x *ConsumerApplication_EditMessage) GetTimestampMS() int64 { + if x != nil { + return x.TimestampMS + } + return 0 +} + +type ConsumerApplication_PollAddOptionMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PollOption []*ConsumerApplication_Option `protobuf:"bytes,1,rep,name=pollOption,proto3" json:"pollOption,omitempty"` +} + +func (x *ConsumerApplication_PollAddOptionMessage) Reset() { + *x = ConsumerApplication_PollAddOptionMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_PollAddOptionMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_PollAddOptionMessage) ProtoMessage() {} + +func (x *ConsumerApplication_PollAddOptionMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_PollAddOptionMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_PollAddOptionMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 7} +} + +func (x *ConsumerApplication_PollAddOptionMessage) GetPollOption() []*ConsumerApplication_Option { + if x != nil { + return x.PollOption + } + return nil +} + +type ConsumerApplication_PollVoteMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SelectedOptions [][]byte `protobuf:"bytes,1,rep,name=selectedOptions,proto3" json:"selectedOptions,omitempty"` + SenderTimestampMS int64 `protobuf:"varint,2,opt,name=senderTimestampMS,proto3" json:"senderTimestampMS,omitempty"` +} + +func (x *ConsumerApplication_PollVoteMessage) Reset() { + *x = ConsumerApplication_PollVoteMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_PollVoteMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_PollVoteMessage) ProtoMessage() {} + +func (x *ConsumerApplication_PollVoteMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_PollVoteMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_PollVoteMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 8} +} + +func (x *ConsumerApplication_PollVoteMessage) GetSelectedOptions() [][]byte { + if x != nil { + return x.SelectedOptions + } + return nil +} + +func (x *ConsumerApplication_PollVoteMessage) GetSenderTimestampMS() int64 { + if x != nil { + return x.SenderTimestampMS + } + return 0 +} + +type ConsumerApplication_PollEncValue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EncPayload []byte `protobuf:"bytes,1,opt,name=encPayload,proto3" json:"encPayload,omitempty"` + EncIV []byte `protobuf:"bytes,2,opt,name=encIV,proto3" json:"encIV,omitempty"` +} + +func (x *ConsumerApplication_PollEncValue) Reset() { + *x = ConsumerApplication_PollEncValue{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_PollEncValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_PollEncValue) ProtoMessage() {} + +func (x *ConsumerApplication_PollEncValue) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_PollEncValue.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_PollEncValue) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 9} +} + +func (x *ConsumerApplication_PollEncValue) GetEncPayload() []byte { + if x != nil { + return x.EncPayload + } + return nil +} + +func (x *ConsumerApplication_PollEncValue) GetEncIV() []byte { + if x != nil { + return x.EncIV + } + return nil +} + +type ConsumerApplication_PollUpdateMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PollCreationMessageKey *waCommon.MessageKey `protobuf:"bytes,1,opt,name=pollCreationMessageKey,proto3" json:"pollCreationMessageKey,omitempty"` + Vote *ConsumerApplication_PollEncValue `protobuf:"bytes,2,opt,name=vote,proto3" json:"vote,omitempty"` + AddOption *ConsumerApplication_PollEncValue `protobuf:"bytes,3,opt,name=addOption,proto3" json:"addOption,omitempty"` +} + +func (x *ConsumerApplication_PollUpdateMessage) Reset() { + *x = ConsumerApplication_PollUpdateMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_PollUpdateMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_PollUpdateMessage) ProtoMessage() {} + +func (x *ConsumerApplication_PollUpdateMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_PollUpdateMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_PollUpdateMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 10} +} + +func (x *ConsumerApplication_PollUpdateMessage) GetPollCreationMessageKey() *waCommon.MessageKey { + if x != nil { + return x.PollCreationMessageKey + } + return nil +} + +func (x *ConsumerApplication_PollUpdateMessage) GetVote() *ConsumerApplication_PollEncValue { + if x != nil { + return x.Vote + } + return nil +} + +func (x *ConsumerApplication_PollUpdateMessage) GetAddOption() *ConsumerApplication_PollEncValue { + if x != nil { + return x.AddOption + } + return nil +} + +type ConsumerApplication_PollCreationMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EncKey []byte `protobuf:"bytes,1,opt,name=encKey,proto3" json:"encKey,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Options []*ConsumerApplication_Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` + SelectableOptionsCount uint32 `protobuf:"varint,4,opt,name=selectableOptionsCount,proto3" json:"selectableOptionsCount,omitempty"` +} + +func (x *ConsumerApplication_PollCreationMessage) Reset() { + *x = ConsumerApplication_PollCreationMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_PollCreationMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_PollCreationMessage) ProtoMessage() {} + +func (x *ConsumerApplication_PollCreationMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_PollCreationMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_PollCreationMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 11} +} + +func (x *ConsumerApplication_PollCreationMessage) GetEncKey() []byte { + if x != nil { + return x.EncKey + } + return nil +} + +func (x *ConsumerApplication_PollCreationMessage) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ConsumerApplication_PollCreationMessage) GetOptions() []*ConsumerApplication_Option { + if x != nil { + return x.Options + } + return nil +} + +func (x *ConsumerApplication_PollCreationMessage) GetSelectableOptionsCount() uint32 { + if x != nil { + return x.SelectableOptionsCount + } + return 0 +} + +type ConsumerApplication_Option struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OptionName string `protobuf:"bytes,1,opt,name=optionName,proto3" json:"optionName,omitempty"` +} + +func (x *ConsumerApplication_Option) Reset() { + *x = ConsumerApplication_Option{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_Option) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_Option) ProtoMessage() {} + +func (x *ConsumerApplication_Option) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_Option.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_Option) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 12} +} + +func (x *ConsumerApplication_Option) GetOptionName() string { + if x != nil { + return x.OptionName + } + return "" +} + +type ConsumerApplication_ReactionMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` + GroupingKey string `protobuf:"bytes,3,opt,name=groupingKey,proto3" json:"groupingKey,omitempty"` + SenderTimestampMS int64 `protobuf:"varint,4,opt,name=senderTimestampMS,proto3" json:"senderTimestampMS,omitempty"` + ReactionMetadataDataclassData string `protobuf:"bytes,5,opt,name=reactionMetadataDataclassData,proto3" json:"reactionMetadataDataclassData,omitempty"` + Style int32 `protobuf:"varint,6,opt,name=style,proto3" json:"style,omitempty"` +} + +func (x *ConsumerApplication_ReactionMessage) Reset() { + *x = ConsumerApplication_ReactionMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_ReactionMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_ReactionMessage) ProtoMessage() {} + +func (x *ConsumerApplication_ReactionMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_ReactionMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_ReactionMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 13} +} + +func (x *ConsumerApplication_ReactionMessage) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *ConsumerApplication_ReactionMessage) GetText() string { + if x != nil { + return x.Text + } + return "" +} + +func (x *ConsumerApplication_ReactionMessage) GetGroupingKey() string { + if x != nil { + return x.GroupingKey + } + return "" +} + +func (x *ConsumerApplication_ReactionMessage) GetSenderTimestampMS() int64 { + if x != nil { + return x.SenderTimestampMS + } + return 0 +} + +func (x *ConsumerApplication_ReactionMessage) GetReactionMetadataDataclassData() string { + if x != nil { + return x.ReactionMetadataDataclassData + } + return "" +} + +func (x *ConsumerApplication_ReactionMessage) GetStyle() int32 { + if x != nil { + return x.Style + } + return 0 +} + +type ConsumerApplication_RevokeMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *ConsumerApplication_RevokeMessage) Reset() { + *x = ConsumerApplication_RevokeMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_RevokeMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_RevokeMessage) ProtoMessage() {} + +func (x *ConsumerApplication_RevokeMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_RevokeMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_RevokeMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 14} +} + +func (x *ConsumerApplication_RevokeMessage) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +type ConsumerApplication_ViewOnceMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to ViewOnceContent: + // + // *ConsumerApplication_ViewOnceMessage_ImageMessage + // *ConsumerApplication_ViewOnceMessage_VideoMessage + ViewOnceContent isConsumerApplication_ViewOnceMessage_ViewOnceContent `protobuf_oneof:"viewOnceContent"` +} + +func (x *ConsumerApplication_ViewOnceMessage) Reset() { + *x = ConsumerApplication_ViewOnceMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_ViewOnceMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_ViewOnceMessage) ProtoMessage() {} + +func (x *ConsumerApplication_ViewOnceMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_ViewOnceMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_ViewOnceMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 15} +} + +func (m *ConsumerApplication_ViewOnceMessage) GetViewOnceContent() isConsumerApplication_ViewOnceMessage_ViewOnceContent { + if m != nil { + return m.ViewOnceContent + } + return nil +} + +func (x *ConsumerApplication_ViewOnceMessage) GetImageMessage() *ConsumerApplication_ImageMessage { + if x, ok := x.GetViewOnceContent().(*ConsumerApplication_ViewOnceMessage_ImageMessage); ok { + return x.ImageMessage + } + return nil +} + +func (x *ConsumerApplication_ViewOnceMessage) GetVideoMessage() *ConsumerApplication_VideoMessage { + if x, ok := x.GetViewOnceContent().(*ConsumerApplication_ViewOnceMessage_VideoMessage); ok { + return x.VideoMessage + } + return nil +} + +type isConsumerApplication_ViewOnceMessage_ViewOnceContent interface { + isConsumerApplication_ViewOnceMessage_ViewOnceContent() +} + +type ConsumerApplication_ViewOnceMessage_ImageMessage struct { + ImageMessage *ConsumerApplication_ImageMessage `protobuf:"bytes,1,opt,name=imageMessage,proto3,oneof"` +} + +type ConsumerApplication_ViewOnceMessage_VideoMessage struct { + VideoMessage *ConsumerApplication_VideoMessage `protobuf:"bytes,2,opt,name=videoMessage,proto3,oneof"` +} + +func (*ConsumerApplication_ViewOnceMessage_ImageMessage) isConsumerApplication_ViewOnceMessage_ViewOnceContent() { +} + +func (*ConsumerApplication_ViewOnceMessage_VideoMessage) isConsumerApplication_ViewOnceMessage_ViewOnceContent() { +} + +type ConsumerApplication_GroupInviteMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupJID string `protobuf:"bytes,1,opt,name=groupJID,proto3" json:"groupJID,omitempty"` + InviteCode string `protobuf:"bytes,2,opt,name=inviteCode,proto3" json:"inviteCode,omitempty"` + InviteExpiration int64 `protobuf:"varint,3,opt,name=inviteExpiration,proto3" json:"inviteExpiration,omitempty"` + GroupName string `protobuf:"bytes,4,opt,name=groupName,proto3" json:"groupName,omitempty"` + JPEGThumbnail []byte `protobuf:"bytes,5,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` + Caption *waCommon.MessageText `protobuf:"bytes,6,opt,name=caption,proto3" json:"caption,omitempty"` +} + +func (x *ConsumerApplication_GroupInviteMessage) Reset() { + *x = ConsumerApplication_GroupInviteMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_GroupInviteMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_GroupInviteMessage) ProtoMessage() {} + +func (x *ConsumerApplication_GroupInviteMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_GroupInviteMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_GroupInviteMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 16} +} + +func (x *ConsumerApplication_GroupInviteMessage) GetGroupJID() string { + if x != nil { + return x.GroupJID + } + return "" +} + +func (x *ConsumerApplication_GroupInviteMessage) GetInviteCode() string { + if x != nil { + return x.InviteCode + } + return "" +} + +func (x *ConsumerApplication_GroupInviteMessage) GetInviteExpiration() int64 { + if x != nil { + return x.InviteExpiration + } + return 0 +} + +func (x *ConsumerApplication_GroupInviteMessage) GetGroupName() string { + if x != nil { + return x.GroupName + } + return "" +} + +func (x *ConsumerApplication_GroupInviteMessage) GetJPEGThumbnail() []byte { + if x != nil { + return x.JPEGThumbnail + } + return nil +} + +func (x *ConsumerApplication_GroupInviteMessage) GetCaption() *waCommon.MessageText { + if x != nil { + return x.Caption + } + return nil +} + +type ConsumerApplication_LiveLocationMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Location *ConsumerApplication_Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` + AccuracyInMeters uint32 `protobuf:"varint,2,opt,name=accuracyInMeters,proto3" json:"accuracyInMeters,omitempty"` + SpeedInMps float32 `protobuf:"fixed32,3,opt,name=speedInMps,proto3" json:"speedInMps,omitempty"` + DegreesClockwiseFromMagneticNorth uint32 `protobuf:"varint,4,opt,name=degreesClockwiseFromMagneticNorth,proto3" json:"degreesClockwiseFromMagneticNorth,omitempty"` + Caption *waCommon.MessageText `protobuf:"bytes,5,opt,name=caption,proto3" json:"caption,omitempty"` + SequenceNumber int64 `protobuf:"varint,6,opt,name=sequenceNumber,proto3" json:"sequenceNumber,omitempty"` + TimeOffset uint32 `protobuf:"varint,7,opt,name=timeOffset,proto3" json:"timeOffset,omitempty"` +} + +func (x *ConsumerApplication_LiveLocationMessage) Reset() { + *x = ConsumerApplication_LiveLocationMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_LiveLocationMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_LiveLocationMessage) ProtoMessage() {} + +func (x *ConsumerApplication_LiveLocationMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_LiveLocationMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_LiveLocationMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 17} +} + +func (x *ConsumerApplication_LiveLocationMessage) GetLocation() *ConsumerApplication_Location { + if x != nil { + return x.Location + } + return nil +} + +func (x *ConsumerApplication_LiveLocationMessage) GetAccuracyInMeters() uint32 { + if x != nil { + return x.AccuracyInMeters + } + return 0 +} + +func (x *ConsumerApplication_LiveLocationMessage) GetSpeedInMps() float32 { + if x != nil { + return x.SpeedInMps + } + return 0 +} + +func (x *ConsumerApplication_LiveLocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 { + if x != nil { + return x.DegreesClockwiseFromMagneticNorth + } + return 0 +} + +func (x *ConsumerApplication_LiveLocationMessage) GetCaption() *waCommon.MessageText { + if x != nil { + return x.Caption + } + return nil +} + +func (x *ConsumerApplication_LiveLocationMessage) GetSequenceNumber() int64 { + if x != nil { + return x.SequenceNumber + } + return 0 +} + +func (x *ConsumerApplication_LiveLocationMessage) GetTimeOffset() uint32 { + if x != nil { + return x.TimeOffset + } + return 0 +} + +type ConsumerApplication_ContactsArrayMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DisplayName string `protobuf:"bytes,1,opt,name=displayName,proto3" json:"displayName,omitempty"` + Contacts []*ConsumerApplication_ContactMessage `protobuf:"bytes,2,rep,name=contacts,proto3" json:"contacts,omitempty"` +} + +func (x *ConsumerApplication_ContactsArrayMessage) Reset() { + *x = ConsumerApplication_ContactsArrayMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_ContactsArrayMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_ContactsArrayMessage) ProtoMessage() {} + +func (x *ConsumerApplication_ContactsArrayMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_ContactsArrayMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_ContactsArrayMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 18} +} + +func (x *ConsumerApplication_ContactsArrayMessage) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +func (x *ConsumerApplication_ContactsArrayMessage) GetContacts() []*ConsumerApplication_ContactMessage { + if x != nil { + return x.Contacts + } + return nil +} + +type ConsumerApplication_ContactMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Contact *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=contact,proto3" json:"contact,omitempty"` +} + +func (x *ConsumerApplication_ContactMessage) Reset() { + *x = ConsumerApplication_ContactMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_ContactMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_ContactMessage) ProtoMessage() {} + +func (x *ConsumerApplication_ContactMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_ContactMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_ContactMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 19} +} + +func (x *ConsumerApplication_ContactMessage) GetContact() *waCommon.SubProtocol { + if x != nil { + return x.Contact + } + return nil +} + +type ConsumerApplication_StatusTextMesage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Text *ConsumerApplication_ExtendedTextMessage `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` + TextArgb uint32 `protobuf:"fixed32,6,opt,name=textArgb,proto3" json:"textArgb,omitempty"` + BackgroundArgb uint32 `protobuf:"fixed32,7,opt,name=backgroundArgb,proto3" json:"backgroundArgb,omitempty"` + Font ConsumerApplication_StatusTextMesage_FontType `protobuf:"varint,8,opt,name=font,proto3,enum=WAConsumerApplication.ConsumerApplication_StatusTextMesage_FontType" json:"font,omitempty"` +} + +func (x *ConsumerApplication_StatusTextMesage) Reset() { + *x = ConsumerApplication_StatusTextMesage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_StatusTextMesage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_StatusTextMesage) ProtoMessage() {} + +func (x *ConsumerApplication_StatusTextMesage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_StatusTextMesage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_StatusTextMesage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 20} +} + +func (x *ConsumerApplication_StatusTextMesage) GetText() *ConsumerApplication_ExtendedTextMessage { + if x != nil { + return x.Text + } + return nil +} + +func (x *ConsumerApplication_StatusTextMesage) GetTextArgb() uint32 { + if x != nil { + return x.TextArgb + } + return 0 +} + +func (x *ConsumerApplication_StatusTextMesage) GetBackgroundArgb() uint32 { + if x != nil { + return x.BackgroundArgb + } + return 0 +} + +func (x *ConsumerApplication_StatusTextMesage) GetFont() ConsumerApplication_StatusTextMesage_FontType { + if x != nil { + return x.Font + } + return ConsumerApplication_StatusTextMesage_SANS_SERIF +} + +type ConsumerApplication_ExtendedTextMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Text *waCommon.MessageText `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` + MatchedText string `protobuf:"bytes,2,opt,name=matchedText,proto3" json:"matchedText,omitempty"` + CanonicalURL string `protobuf:"bytes,3,opt,name=canonicalURL,proto3" json:"canonicalURL,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` + Thumbnail *waCommon.SubProtocol `protobuf:"bytes,6,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` + PreviewType ConsumerApplication_ExtendedTextMessage_PreviewType `protobuf:"varint,7,opt,name=previewType,proto3,enum=WAConsumerApplication.ConsumerApplication_ExtendedTextMessage_PreviewType" json:"previewType,omitempty"` +} + +func (x *ConsumerApplication_ExtendedTextMessage) Reset() { + *x = ConsumerApplication_ExtendedTextMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_ExtendedTextMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_ExtendedTextMessage) ProtoMessage() {} + +func (x *ConsumerApplication_ExtendedTextMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_ExtendedTextMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_ExtendedTextMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 21} +} + +func (x *ConsumerApplication_ExtendedTextMessage) GetText() *waCommon.MessageText { + if x != nil { + return x.Text + } + return nil +} + +func (x *ConsumerApplication_ExtendedTextMessage) GetMatchedText() string { + if x != nil { + return x.MatchedText + } + return "" +} + +func (x *ConsumerApplication_ExtendedTextMessage) GetCanonicalURL() string { + if x != nil { + return x.CanonicalURL + } + return "" +} + +func (x *ConsumerApplication_ExtendedTextMessage) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +func (x *ConsumerApplication_ExtendedTextMessage) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *ConsumerApplication_ExtendedTextMessage) GetThumbnail() *waCommon.SubProtocol { + if x != nil { + return x.Thumbnail + } + return nil +} + +func (x *ConsumerApplication_ExtendedTextMessage) GetPreviewType() ConsumerApplication_ExtendedTextMessage_PreviewType { + if x != nil { + return x.PreviewType + } + return ConsumerApplication_ExtendedTextMessage_NONE +} + +type ConsumerApplication_LocationMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Location *ConsumerApplication_Location `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *ConsumerApplication_LocationMessage) Reset() { + *x = ConsumerApplication_LocationMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_LocationMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_LocationMessage) ProtoMessage() {} + +func (x *ConsumerApplication_LocationMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_LocationMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_LocationMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 22} +} + +func (x *ConsumerApplication_LocationMessage) GetLocation() *ConsumerApplication_Location { + if x != nil { + return x.Location + } + return nil +} + +func (x *ConsumerApplication_LocationMessage) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type ConsumerApplication_StickerMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sticker *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=sticker,proto3" json:"sticker,omitempty"` +} + +func (x *ConsumerApplication_StickerMessage) Reset() { + *x = ConsumerApplication_StickerMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_StickerMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_StickerMessage) ProtoMessage() {} + +func (x *ConsumerApplication_StickerMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_StickerMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_StickerMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 23} +} + +func (x *ConsumerApplication_StickerMessage) GetSticker() *waCommon.SubProtocol { + if x != nil { + return x.Sticker + } + return nil +} + +type ConsumerApplication_DocumentMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Document *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` + FileName string `protobuf:"bytes,2,opt,name=fileName,proto3" json:"fileName,omitempty"` +} + +func (x *ConsumerApplication_DocumentMessage) Reset() { + *x = ConsumerApplication_DocumentMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_DocumentMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_DocumentMessage) ProtoMessage() {} + +func (x *ConsumerApplication_DocumentMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_DocumentMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_DocumentMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 24} +} + +func (x *ConsumerApplication_DocumentMessage) GetDocument() *waCommon.SubProtocol { + if x != nil { + return x.Document + } + return nil +} + +func (x *ConsumerApplication_DocumentMessage) GetFileName() string { + if x != nil { + return x.FileName + } + return "" +} + +type ConsumerApplication_VideoMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Video *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"` + Caption *waCommon.MessageText `protobuf:"bytes,2,opt,name=caption,proto3" json:"caption,omitempty"` +} + +func (x *ConsumerApplication_VideoMessage) Reset() { + *x = ConsumerApplication_VideoMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_VideoMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_VideoMessage) ProtoMessage() {} + +func (x *ConsumerApplication_VideoMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_VideoMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_VideoMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 25} +} + +func (x *ConsumerApplication_VideoMessage) GetVideo() *waCommon.SubProtocol { + if x != nil { + return x.Video + } + return nil +} + +func (x *ConsumerApplication_VideoMessage) GetCaption() *waCommon.MessageText { + if x != nil { + return x.Caption + } + return nil +} + +type ConsumerApplication_AudioMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Audio *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=audio,proto3" json:"audio,omitempty"` + PTT bool `protobuf:"varint,2,opt,name=PTT,proto3" json:"PTT,omitempty"` +} + +func (x *ConsumerApplication_AudioMessage) Reset() { + *x = ConsumerApplication_AudioMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_AudioMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_AudioMessage) ProtoMessage() {} + +func (x *ConsumerApplication_AudioMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_AudioMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_AudioMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 26} +} + +func (x *ConsumerApplication_AudioMessage) GetAudio() *waCommon.SubProtocol { + if x != nil { + return x.Audio + } + return nil +} + +func (x *ConsumerApplication_AudioMessage) GetPTT() bool { + if x != nil { + return x.PTT + } + return false +} + +type ConsumerApplication_ImageMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Image *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` + Caption *waCommon.MessageText `protobuf:"bytes,2,opt,name=caption,proto3" json:"caption,omitempty"` +} + +func (x *ConsumerApplication_ImageMessage) Reset() { + *x = ConsumerApplication_ImageMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_ImageMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_ImageMessage) ProtoMessage() {} + +func (x *ConsumerApplication_ImageMessage) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_ImageMessage.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_ImageMessage) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 27} +} + +func (x *ConsumerApplication_ImageMessage) GetImage() *waCommon.SubProtocol { + if x != nil { + return x.Image + } + return nil +} + +func (x *ConsumerApplication_ImageMessage) GetCaption() *waCommon.MessageText { + if x != nil { + return x.Caption + } + return nil +} + +type ConsumerApplication_InteractiveAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Action: + // + // *ConsumerApplication_InteractiveAnnotation_Location + Action isConsumerApplication_InteractiveAnnotation_Action `protobuf_oneof:"action"` + PolygonVertices []*ConsumerApplication_Point `protobuf:"bytes,1,rep,name=polygonVertices,proto3" json:"polygonVertices,omitempty"` +} + +func (x *ConsumerApplication_InteractiveAnnotation) Reset() { + *x = ConsumerApplication_InteractiveAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_InteractiveAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_InteractiveAnnotation) ProtoMessage() {} + +func (x *ConsumerApplication_InteractiveAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_InteractiveAnnotation.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_InteractiveAnnotation) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 28} +} + +func (m *ConsumerApplication_InteractiveAnnotation) GetAction() isConsumerApplication_InteractiveAnnotation_Action { + if m != nil { + return m.Action + } + return nil +} + +func (x *ConsumerApplication_InteractiveAnnotation) GetLocation() *ConsumerApplication_Location { + if x, ok := x.GetAction().(*ConsumerApplication_InteractiveAnnotation_Location); ok { + return x.Location + } + return nil +} + +func (x *ConsumerApplication_InteractiveAnnotation) GetPolygonVertices() []*ConsumerApplication_Point { + if x != nil { + return x.PolygonVertices + } + return nil +} + +type isConsumerApplication_InteractiveAnnotation_Action interface { + isConsumerApplication_InteractiveAnnotation_Action() +} + +type ConsumerApplication_InteractiveAnnotation_Location struct { + Location *ConsumerApplication_Location `protobuf:"bytes,2,opt,name=location,proto3,oneof"` +} + +func (*ConsumerApplication_InteractiveAnnotation_Location) isConsumerApplication_InteractiveAnnotation_Action() { +} + +type ConsumerApplication_Point struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` + Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` +} + +func (x *ConsumerApplication_Point) Reset() { + *x = ConsumerApplication_Point{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_Point) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_Point) ProtoMessage() {} + +func (x *ConsumerApplication_Point) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_Point.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_Point) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 29} +} + +func (x *ConsumerApplication_Point) GetX() float64 { + if x != nil { + return x.X + } + return 0 +} + +func (x *ConsumerApplication_Point) GetY() float64 { + if x != nil { + return x.Y + } + return 0 +} + +type ConsumerApplication_Location struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DegreesLatitude float64 `protobuf:"fixed64,1,opt,name=degreesLatitude,proto3" json:"degreesLatitude,omitempty"` + DegreesLongitude float64 `protobuf:"fixed64,2,opt,name=degreesLongitude,proto3" json:"degreesLongitude,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *ConsumerApplication_Location) Reset() { + *x = ConsumerApplication_Location{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_Location) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_Location) ProtoMessage() {} + +func (x *ConsumerApplication_Location) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_Location.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_Location) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 30} +} + +func (x *ConsumerApplication_Location) GetDegreesLatitude() float64 { + if x != nil { + return x.DegreesLatitude + } + return 0 +} + +func (x *ConsumerApplication_Location) GetDegreesLongitude() float64 { + if x != nil { + return x.DegreesLongitude + } + return 0 +} + +func (x *ConsumerApplication_Location) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type ConsumerApplication_MediaPayload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Protocol *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` +} + +func (x *ConsumerApplication_MediaPayload) Reset() { + *x = ConsumerApplication_MediaPayload{} + if protoimpl.UnsafeEnabled { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConsumerApplication_MediaPayload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConsumerApplication_MediaPayload) ProtoMessage() {} + +func (x *ConsumerApplication_MediaPayload) ProtoReflect() protoreflect.Message { + mi := &file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConsumerApplication_MediaPayload.ProtoReflect.Descriptor instead. +func (*ConsumerApplication_MediaPayload) Descriptor() ([]byte, []int) { + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP(), []int{0, 31} +} + +func (x *ConsumerApplication_MediaPayload) GetProtocol() *waCommon.SubProtocol { + if x != nil { + return x.Protocol + } + return nil +} + +var File_waConsumerApplication_WAConsumerApplication_proto protoreflect.FileDescriptor + +//go:embed WAConsumerApplication.pb.raw +var file_waConsumerApplication_WAConsumerApplication_proto_rawDesc []byte + +var ( + file_waConsumerApplication_WAConsumerApplication_proto_rawDescOnce sync.Once + file_waConsumerApplication_WAConsumerApplication_proto_rawDescData = file_waConsumerApplication_WAConsumerApplication_proto_rawDesc +) + +func file_waConsumerApplication_WAConsumerApplication_proto_rawDescGZIP() []byte { + file_waConsumerApplication_WAConsumerApplication_proto_rawDescOnce.Do(func() { + file_waConsumerApplication_WAConsumerApplication_proto_rawDescData = protoimpl.X.CompressGZIP(file_waConsumerApplication_WAConsumerApplication_proto_rawDescData) + }) + return file_waConsumerApplication_WAConsumerApplication_proto_rawDescData +} + +var file_waConsumerApplication_WAConsumerApplication_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_waConsumerApplication_WAConsumerApplication_proto_msgTypes = make([]protoimpl.MessageInfo, 33) +var file_waConsumerApplication_WAConsumerApplication_proto_goTypes = []interface{}{ + (ConsumerApplication_Metadata_SpecialTextSize)(0), // 0: WAConsumerApplication.ConsumerApplication.Metadata.SpecialTextSize + (ConsumerApplication_StatusTextMesage_FontType)(0), // 1: WAConsumerApplication.ConsumerApplication.StatusTextMesage.FontType + (ConsumerApplication_ExtendedTextMessage_PreviewType)(0), // 2: WAConsumerApplication.ConsumerApplication.ExtendedTextMessage.PreviewType + (*ConsumerApplication)(nil), // 3: WAConsumerApplication.ConsumerApplication + (*ConsumerApplication_Payload)(nil), // 4: WAConsumerApplication.ConsumerApplication.Payload + (*ConsumerApplication_SubProtocolPayload)(nil), // 5: WAConsumerApplication.ConsumerApplication.SubProtocolPayload + (*ConsumerApplication_Metadata)(nil), // 6: WAConsumerApplication.ConsumerApplication.Metadata + (*ConsumerApplication_Signal)(nil), // 7: WAConsumerApplication.ConsumerApplication.Signal + (*ConsumerApplication_ApplicationData)(nil), // 8: WAConsumerApplication.ConsumerApplication.ApplicationData + (*ConsumerApplication_Content)(nil), // 9: WAConsumerApplication.ConsumerApplication.Content + (*ConsumerApplication_EditMessage)(nil), // 10: WAConsumerApplication.ConsumerApplication.EditMessage + (*ConsumerApplication_PollAddOptionMessage)(nil), // 11: WAConsumerApplication.ConsumerApplication.PollAddOptionMessage + (*ConsumerApplication_PollVoteMessage)(nil), // 12: WAConsumerApplication.ConsumerApplication.PollVoteMessage + (*ConsumerApplication_PollEncValue)(nil), // 13: WAConsumerApplication.ConsumerApplication.PollEncValue + (*ConsumerApplication_PollUpdateMessage)(nil), // 14: WAConsumerApplication.ConsumerApplication.PollUpdateMessage + (*ConsumerApplication_PollCreationMessage)(nil), // 15: WAConsumerApplication.ConsumerApplication.PollCreationMessage + (*ConsumerApplication_Option)(nil), // 16: WAConsumerApplication.ConsumerApplication.Option + (*ConsumerApplication_ReactionMessage)(nil), // 17: WAConsumerApplication.ConsumerApplication.ReactionMessage + (*ConsumerApplication_RevokeMessage)(nil), // 18: WAConsumerApplication.ConsumerApplication.RevokeMessage + (*ConsumerApplication_ViewOnceMessage)(nil), // 19: WAConsumerApplication.ConsumerApplication.ViewOnceMessage + (*ConsumerApplication_GroupInviteMessage)(nil), // 20: WAConsumerApplication.ConsumerApplication.GroupInviteMessage + (*ConsumerApplication_LiveLocationMessage)(nil), // 21: WAConsumerApplication.ConsumerApplication.LiveLocationMessage + (*ConsumerApplication_ContactsArrayMessage)(nil), // 22: WAConsumerApplication.ConsumerApplication.ContactsArrayMessage + (*ConsumerApplication_ContactMessage)(nil), // 23: WAConsumerApplication.ConsumerApplication.ContactMessage + (*ConsumerApplication_StatusTextMesage)(nil), // 24: WAConsumerApplication.ConsumerApplication.StatusTextMesage + (*ConsumerApplication_ExtendedTextMessage)(nil), // 25: WAConsumerApplication.ConsumerApplication.ExtendedTextMessage + (*ConsumerApplication_LocationMessage)(nil), // 26: WAConsumerApplication.ConsumerApplication.LocationMessage + (*ConsumerApplication_StickerMessage)(nil), // 27: WAConsumerApplication.ConsumerApplication.StickerMessage + (*ConsumerApplication_DocumentMessage)(nil), // 28: WAConsumerApplication.ConsumerApplication.DocumentMessage + (*ConsumerApplication_VideoMessage)(nil), // 29: WAConsumerApplication.ConsumerApplication.VideoMessage + (*ConsumerApplication_AudioMessage)(nil), // 30: WAConsumerApplication.ConsumerApplication.AudioMessage + (*ConsumerApplication_ImageMessage)(nil), // 31: WAConsumerApplication.ConsumerApplication.ImageMessage + (*ConsumerApplication_InteractiveAnnotation)(nil), // 32: WAConsumerApplication.ConsumerApplication.InteractiveAnnotation + (*ConsumerApplication_Point)(nil), // 33: WAConsumerApplication.ConsumerApplication.Point + (*ConsumerApplication_Location)(nil), // 34: WAConsumerApplication.ConsumerApplication.Location + (*ConsumerApplication_MediaPayload)(nil), // 35: WAConsumerApplication.ConsumerApplication.MediaPayload + (waCommon.FutureProofBehavior)(0), // 36: WACommon.FutureProofBehavior + (*waCommon.MessageText)(nil), // 37: WACommon.MessageText + (*waCommon.MessageKey)(nil), // 38: WACommon.MessageKey + (*waCommon.SubProtocol)(nil), // 39: WACommon.SubProtocol +} +var file_waConsumerApplication_WAConsumerApplication_proto_depIdxs = []int32{ + 4, // 0: WAConsumerApplication.ConsumerApplication.payload:type_name -> WAConsumerApplication.ConsumerApplication.Payload + 6, // 1: WAConsumerApplication.ConsumerApplication.metadata:type_name -> WAConsumerApplication.ConsumerApplication.Metadata + 9, // 2: WAConsumerApplication.ConsumerApplication.Payload.content:type_name -> WAConsumerApplication.ConsumerApplication.Content + 8, // 3: WAConsumerApplication.ConsumerApplication.Payload.applicationData:type_name -> WAConsumerApplication.ConsumerApplication.ApplicationData + 7, // 4: WAConsumerApplication.ConsumerApplication.Payload.signal:type_name -> WAConsumerApplication.ConsumerApplication.Signal + 5, // 5: WAConsumerApplication.ConsumerApplication.Payload.subProtocol:type_name -> WAConsumerApplication.ConsumerApplication.SubProtocolPayload + 36, // 6: WAConsumerApplication.ConsumerApplication.SubProtocolPayload.futureProof:type_name -> WACommon.FutureProofBehavior + 0, // 7: WAConsumerApplication.ConsumerApplication.Metadata.specialTextSize:type_name -> WAConsumerApplication.ConsumerApplication.Metadata.SpecialTextSize + 18, // 8: WAConsumerApplication.ConsumerApplication.ApplicationData.revoke:type_name -> WAConsumerApplication.ConsumerApplication.RevokeMessage + 37, // 9: WAConsumerApplication.ConsumerApplication.Content.messageText:type_name -> WACommon.MessageText + 31, // 10: WAConsumerApplication.ConsumerApplication.Content.imageMessage:type_name -> WAConsumerApplication.ConsumerApplication.ImageMessage + 23, // 11: WAConsumerApplication.ConsumerApplication.Content.contactMessage:type_name -> WAConsumerApplication.ConsumerApplication.ContactMessage + 26, // 12: WAConsumerApplication.ConsumerApplication.Content.locationMessage:type_name -> WAConsumerApplication.ConsumerApplication.LocationMessage + 25, // 13: WAConsumerApplication.ConsumerApplication.Content.extendedTextMessage:type_name -> WAConsumerApplication.ConsumerApplication.ExtendedTextMessage + 24, // 14: WAConsumerApplication.ConsumerApplication.Content.statusTextMessage:type_name -> WAConsumerApplication.ConsumerApplication.StatusTextMesage + 28, // 15: WAConsumerApplication.ConsumerApplication.Content.documentMessage:type_name -> WAConsumerApplication.ConsumerApplication.DocumentMessage + 30, // 16: WAConsumerApplication.ConsumerApplication.Content.audioMessage:type_name -> WAConsumerApplication.ConsumerApplication.AudioMessage + 29, // 17: WAConsumerApplication.ConsumerApplication.Content.videoMessage:type_name -> WAConsumerApplication.ConsumerApplication.VideoMessage + 22, // 18: WAConsumerApplication.ConsumerApplication.Content.contactsArrayMessage:type_name -> WAConsumerApplication.ConsumerApplication.ContactsArrayMessage + 21, // 19: WAConsumerApplication.ConsumerApplication.Content.liveLocationMessage:type_name -> WAConsumerApplication.ConsumerApplication.LiveLocationMessage + 27, // 20: WAConsumerApplication.ConsumerApplication.Content.stickerMessage:type_name -> WAConsumerApplication.ConsumerApplication.StickerMessage + 20, // 21: WAConsumerApplication.ConsumerApplication.Content.groupInviteMessage:type_name -> WAConsumerApplication.ConsumerApplication.GroupInviteMessage + 19, // 22: WAConsumerApplication.ConsumerApplication.Content.viewOnceMessage:type_name -> WAConsumerApplication.ConsumerApplication.ViewOnceMessage + 17, // 23: WAConsumerApplication.ConsumerApplication.Content.reactionMessage:type_name -> WAConsumerApplication.ConsumerApplication.ReactionMessage + 15, // 24: WAConsumerApplication.ConsumerApplication.Content.pollCreationMessage:type_name -> WAConsumerApplication.ConsumerApplication.PollCreationMessage + 14, // 25: WAConsumerApplication.ConsumerApplication.Content.pollUpdateMessage:type_name -> WAConsumerApplication.ConsumerApplication.PollUpdateMessage + 10, // 26: WAConsumerApplication.ConsumerApplication.Content.editMessage:type_name -> WAConsumerApplication.ConsumerApplication.EditMessage + 38, // 27: WAConsumerApplication.ConsumerApplication.EditMessage.key:type_name -> WACommon.MessageKey + 37, // 28: WAConsumerApplication.ConsumerApplication.EditMessage.message:type_name -> WACommon.MessageText + 16, // 29: WAConsumerApplication.ConsumerApplication.PollAddOptionMessage.pollOption:type_name -> WAConsumerApplication.ConsumerApplication.Option + 38, // 30: WAConsumerApplication.ConsumerApplication.PollUpdateMessage.pollCreationMessageKey:type_name -> WACommon.MessageKey + 13, // 31: WAConsumerApplication.ConsumerApplication.PollUpdateMessage.vote:type_name -> WAConsumerApplication.ConsumerApplication.PollEncValue + 13, // 32: WAConsumerApplication.ConsumerApplication.PollUpdateMessage.addOption:type_name -> WAConsumerApplication.ConsumerApplication.PollEncValue + 16, // 33: WAConsumerApplication.ConsumerApplication.PollCreationMessage.options:type_name -> WAConsumerApplication.ConsumerApplication.Option + 38, // 34: WAConsumerApplication.ConsumerApplication.ReactionMessage.key:type_name -> WACommon.MessageKey + 38, // 35: WAConsumerApplication.ConsumerApplication.RevokeMessage.key:type_name -> WACommon.MessageKey + 31, // 36: WAConsumerApplication.ConsumerApplication.ViewOnceMessage.imageMessage:type_name -> WAConsumerApplication.ConsumerApplication.ImageMessage + 29, // 37: WAConsumerApplication.ConsumerApplication.ViewOnceMessage.videoMessage:type_name -> WAConsumerApplication.ConsumerApplication.VideoMessage + 37, // 38: WAConsumerApplication.ConsumerApplication.GroupInviteMessage.caption:type_name -> WACommon.MessageText + 34, // 39: WAConsumerApplication.ConsumerApplication.LiveLocationMessage.location:type_name -> WAConsumerApplication.ConsumerApplication.Location + 37, // 40: WAConsumerApplication.ConsumerApplication.LiveLocationMessage.caption:type_name -> WACommon.MessageText + 23, // 41: WAConsumerApplication.ConsumerApplication.ContactsArrayMessage.contacts:type_name -> WAConsumerApplication.ConsumerApplication.ContactMessage + 39, // 42: WAConsumerApplication.ConsumerApplication.ContactMessage.contact:type_name -> WACommon.SubProtocol + 25, // 43: WAConsumerApplication.ConsumerApplication.StatusTextMesage.text:type_name -> WAConsumerApplication.ConsumerApplication.ExtendedTextMessage + 1, // 44: WAConsumerApplication.ConsumerApplication.StatusTextMesage.font:type_name -> WAConsumerApplication.ConsumerApplication.StatusTextMesage.FontType + 37, // 45: WAConsumerApplication.ConsumerApplication.ExtendedTextMessage.text:type_name -> WACommon.MessageText + 39, // 46: WAConsumerApplication.ConsumerApplication.ExtendedTextMessage.thumbnail:type_name -> WACommon.SubProtocol + 2, // 47: WAConsumerApplication.ConsumerApplication.ExtendedTextMessage.previewType:type_name -> WAConsumerApplication.ConsumerApplication.ExtendedTextMessage.PreviewType + 34, // 48: WAConsumerApplication.ConsumerApplication.LocationMessage.location:type_name -> WAConsumerApplication.ConsumerApplication.Location + 39, // 49: WAConsumerApplication.ConsumerApplication.StickerMessage.sticker:type_name -> WACommon.SubProtocol + 39, // 50: WAConsumerApplication.ConsumerApplication.DocumentMessage.document:type_name -> WACommon.SubProtocol + 39, // 51: WAConsumerApplication.ConsumerApplication.VideoMessage.video:type_name -> WACommon.SubProtocol + 37, // 52: WAConsumerApplication.ConsumerApplication.VideoMessage.caption:type_name -> WACommon.MessageText + 39, // 53: WAConsumerApplication.ConsumerApplication.AudioMessage.audio:type_name -> WACommon.SubProtocol + 39, // 54: WAConsumerApplication.ConsumerApplication.ImageMessage.image:type_name -> WACommon.SubProtocol + 37, // 55: WAConsumerApplication.ConsumerApplication.ImageMessage.caption:type_name -> WACommon.MessageText + 34, // 56: WAConsumerApplication.ConsumerApplication.InteractiveAnnotation.location:type_name -> WAConsumerApplication.ConsumerApplication.Location + 33, // 57: WAConsumerApplication.ConsumerApplication.InteractiveAnnotation.polygonVertices:type_name -> WAConsumerApplication.ConsumerApplication.Point + 39, // 58: WAConsumerApplication.ConsumerApplication.MediaPayload.protocol:type_name -> WACommon.SubProtocol + 59, // [59:59] is the sub-list for method output_type + 59, // [59:59] is the sub-list for method input_type + 59, // [59:59] is the sub-list for extension type_name + 59, // [59:59] is the sub-list for extension extendee + 0, // [0:59] is the sub-list for field type_name +} + +func init() { file_waConsumerApplication_WAConsumerApplication_proto_init() } +func file_waConsumerApplication_WAConsumerApplication_proto_init() { + if File_waConsumerApplication_WAConsumerApplication_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_Payload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_SubProtocolPayload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_Metadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_Signal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_ApplicationData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_Content); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_EditMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_PollAddOptionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_PollVoteMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_PollEncValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_PollUpdateMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_PollCreationMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_Option); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_ReactionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_RevokeMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_ViewOnceMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_GroupInviteMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_LiveLocationMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_ContactsArrayMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_ContactMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_StatusTextMesage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_ExtendedTextMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_LocationMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_StickerMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_DocumentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_VideoMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_AudioMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_ImageMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_InteractiveAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_Point); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_Location); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsumerApplication_MediaPayload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*ConsumerApplication_Payload_Content)(nil), + (*ConsumerApplication_Payload_ApplicationData)(nil), + (*ConsumerApplication_Payload_Signal)(nil), + (*ConsumerApplication_Payload_SubProtocol)(nil), + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[5].OneofWrappers = []interface{}{ + (*ConsumerApplication_ApplicationData_Revoke)(nil), + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[6].OneofWrappers = []interface{}{ + (*ConsumerApplication_Content_MessageText)(nil), + (*ConsumerApplication_Content_ImageMessage)(nil), + (*ConsumerApplication_Content_ContactMessage)(nil), + (*ConsumerApplication_Content_LocationMessage)(nil), + (*ConsumerApplication_Content_ExtendedTextMessage)(nil), + (*ConsumerApplication_Content_StatusTextMessage)(nil), + (*ConsumerApplication_Content_DocumentMessage)(nil), + (*ConsumerApplication_Content_AudioMessage)(nil), + (*ConsumerApplication_Content_VideoMessage)(nil), + (*ConsumerApplication_Content_ContactsArrayMessage)(nil), + (*ConsumerApplication_Content_LiveLocationMessage)(nil), + (*ConsumerApplication_Content_StickerMessage)(nil), + (*ConsumerApplication_Content_GroupInviteMessage)(nil), + (*ConsumerApplication_Content_ViewOnceMessage)(nil), + (*ConsumerApplication_Content_ReactionMessage)(nil), + (*ConsumerApplication_Content_PollCreationMessage)(nil), + (*ConsumerApplication_Content_PollUpdateMessage)(nil), + (*ConsumerApplication_Content_EditMessage)(nil), + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[16].OneofWrappers = []interface{}{ + (*ConsumerApplication_ViewOnceMessage_ImageMessage)(nil), + (*ConsumerApplication_ViewOnceMessage_VideoMessage)(nil), + } + file_waConsumerApplication_WAConsumerApplication_proto_msgTypes[29].OneofWrappers = []interface{}{ + (*ConsumerApplication_InteractiveAnnotation_Location)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waConsumerApplication_WAConsumerApplication_proto_rawDesc, + NumEnums: 3, + NumMessages: 33, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waConsumerApplication_WAConsumerApplication_proto_goTypes, + DependencyIndexes: file_waConsumerApplication_WAConsumerApplication_proto_depIdxs, + EnumInfos: file_waConsumerApplication_WAConsumerApplication_proto_enumTypes, + MessageInfos: file_waConsumerApplication_WAConsumerApplication_proto_msgTypes, + }.Build() + File_waConsumerApplication_WAConsumerApplication_proto = out.File + file_waConsumerApplication_WAConsumerApplication_proto_rawDesc = nil + file_waConsumerApplication_WAConsumerApplication_proto_goTypes = nil + file_waConsumerApplication_WAConsumerApplication_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.pb.raw new file mode 100644 index 00000000..54bdd5a8 Binary files /dev/null and b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.proto new file mode 100644 index 00000000..7c4adcba --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/WAConsumerApplication.proto @@ -0,0 +1,234 @@ +syntax = "proto3"; +package WAConsumerApplication; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication"; + +import "waCommon/WACommon.proto"; + +message ConsumerApplication { + message Payload { + oneof payload { + Content content = 1; + ApplicationData applicationData = 2; + Signal signal = 3; + SubProtocolPayload subProtocol = 4; + } + } + + message SubProtocolPayload { + WACommon.FutureProofBehavior futureProof = 1; + } + + message Metadata { + enum SpecialTextSize { + SPECIALTEXTSIZE_UNKNOWN = 0; + SMALL = 1; + MEDIUM = 2; + LARGE = 3; + } + + SpecialTextSize specialTextSize = 1; + } + + message Signal { + } + + message ApplicationData { + oneof applicationContent { + RevokeMessage revoke = 1; + } + } + + message Content { + oneof content { + WACommon.MessageText messageText = 1; + ImageMessage imageMessage = 2; + ContactMessage contactMessage = 3; + LocationMessage locationMessage = 4; + ExtendedTextMessage extendedTextMessage = 5; + StatusTextMesage statusTextMessage = 6; + DocumentMessage documentMessage = 7; + AudioMessage audioMessage = 8; + VideoMessage videoMessage = 9; + ContactsArrayMessage contactsArrayMessage = 10; + LiveLocationMessage liveLocationMessage = 11; + StickerMessage stickerMessage = 12; + GroupInviteMessage groupInviteMessage = 13; + ViewOnceMessage viewOnceMessage = 14; + ReactionMessage reactionMessage = 16; + PollCreationMessage pollCreationMessage = 17; + PollUpdateMessage pollUpdateMessage = 18; + EditMessage editMessage = 19; + } + } + + message EditMessage { + WACommon.MessageKey key = 1; + WACommon.MessageText message = 2; + int64 timestampMS = 3; + } + + message PollAddOptionMessage { + repeated Option pollOption = 1; + } + + message PollVoteMessage { + repeated bytes selectedOptions = 1; + int64 senderTimestampMS = 2; + } + + message PollEncValue { + bytes encPayload = 1; + bytes encIV = 2; + } + + message PollUpdateMessage { + WACommon.MessageKey pollCreationMessageKey = 1; + PollEncValue vote = 2; + PollEncValue addOption = 3; + } + + message PollCreationMessage { + bytes encKey = 1; + string name = 2; + repeated Option options = 3; + uint32 selectableOptionsCount = 4; + } + + message Option { + string optionName = 1; + } + + message ReactionMessage { + WACommon.MessageKey key = 1; + string text = 2; + string groupingKey = 3; + int64 senderTimestampMS = 4; + string reactionMetadataDataclassData = 5; + int32 style = 6; + } + + message RevokeMessage { + WACommon.MessageKey key = 1; + } + + message ViewOnceMessage { + oneof viewOnceContent { + ImageMessage imageMessage = 1; + VideoMessage videoMessage = 2; + } + } + + message GroupInviteMessage { + string groupJID = 1; + string inviteCode = 2; + int64 inviteExpiration = 3; + string groupName = 4; + bytes JPEGThumbnail = 5; + WACommon.MessageText caption = 6; + } + + message LiveLocationMessage { + Location location = 1; + uint32 accuracyInMeters = 2; + float speedInMps = 3; + uint32 degreesClockwiseFromMagneticNorth = 4; + WACommon.MessageText caption = 5; + int64 sequenceNumber = 6; + uint32 timeOffset = 7; + } + + message ContactsArrayMessage { + string displayName = 1; + repeated ContactMessage contacts = 2; + } + + message ContactMessage { + WACommon.SubProtocol contact = 1; + } + + message StatusTextMesage { + enum FontType { + SANS_SERIF = 0; + SERIF = 1; + NORICAN_REGULAR = 2; + BRYNDAN_WRITE = 3; + BEBASNEUE_REGULAR = 4; + OSWALD_HEAVY = 5; + } + + ExtendedTextMessage text = 1; + fixed32 textArgb = 6; + fixed32 backgroundArgb = 7; + FontType font = 8; + } + + message ExtendedTextMessage { + enum PreviewType { + NONE = 0; + VIDEO = 1; + } + + WACommon.MessageText text = 1; + string matchedText = 2; + string canonicalURL = 3; + string description = 4; + string title = 5; + WACommon.SubProtocol thumbnail = 6; + PreviewType previewType = 7; + } + + message LocationMessage { + Location location = 1; + string address = 2; + } + + message StickerMessage { + WACommon.SubProtocol sticker = 1; + } + + message DocumentMessage { + WACommon.SubProtocol document = 1; + string fileName = 2; + } + + message VideoMessage { + WACommon.SubProtocol video = 1; + WACommon.MessageText caption = 2; + } + + message AudioMessage { + WACommon.SubProtocol audio = 1; + bool PTT = 2; + } + + message ImageMessage { + WACommon.SubProtocol image = 1; + WACommon.MessageText caption = 2; + } + + message InteractiveAnnotation { + oneof action { + Location location = 2; + } + + repeated Point polygonVertices = 1; + } + + message Point { + double x = 1; + double y = 2; + } + + message Location { + double degreesLatitude = 1; + double degreesLongitude = 2; + string name = 3; + } + + message MediaPayload { + WACommon.SubProtocol protocol = 1; + } + + Payload payload = 1; + Metadata metadata = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/extra.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/extra.go new file mode 100644 index 00000000..df6d2e20 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication/extra.go @@ -0,0 +1,82 @@ +package waConsumerApplication + +import ( + "go.mau.fi/whatsmeow/binary/armadillo/armadilloutil" + "go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport" +) + +type ConsumerApplication_Content_Content = isConsumerApplication_Content_Content + +func (*ConsumerApplication) IsMessageApplicationSub() {} + +const ( + ImageTransportVersion = 1 + StickerTransportVersion = 1 + VideoTransportVersion = 1 + AudioTransportVersion = 1 + DocumentTransportVersion = 1 + ContactTransportVersion = 1 +) + +func (msg *ConsumerApplication_ImageMessage) Decode() (dec *waMediaTransport.ImageTransport, err error) { + return armadilloutil.Unmarshal(&waMediaTransport.ImageTransport{}, msg.GetImage(), ImageTransportVersion) +} + +func (msg *ConsumerApplication_ImageMessage) Set(payload *waMediaTransport.ImageTransport) (err error) { + msg.Image, err = armadilloutil.Marshal(payload, ImageTransportVersion) + return +} + +func (msg *ConsumerApplication_StickerMessage) Decode() (dec *waMediaTransport.StickerTransport, err error) { + return armadilloutil.Unmarshal(&waMediaTransport.StickerTransport{}, msg.GetSticker(), StickerTransportVersion) +} + +func (msg *ConsumerApplication_StickerMessage) Set(payload *waMediaTransport.StickerTransport) (err error) { + msg.Sticker, err = armadilloutil.Marshal(payload, StickerTransportVersion) + return +} + +func (msg *ConsumerApplication_ExtendedTextMessage) DecodeThumbnail() (dec *waMediaTransport.ImageTransport, err error) { + return armadilloutil.Unmarshal(&waMediaTransport.ImageTransport{}, msg.GetThumbnail(), ImageTransportVersion) +} + +func (msg *ConsumerApplication_ExtendedTextMessage) SetThumbnail(payload *waMediaTransport.ImageTransport) (err error) { + msg.Thumbnail, err = armadilloutil.Marshal(payload, ImageTransportVersion) + return +} + +func (msg *ConsumerApplication_VideoMessage) Decode() (dec *waMediaTransport.VideoTransport, err error) { + return armadilloutil.Unmarshal(&waMediaTransport.VideoTransport{}, msg.GetVideo(), VideoTransportVersion) +} + +func (msg *ConsumerApplication_VideoMessage) Set(payload *waMediaTransport.VideoTransport) (err error) { + msg.Video, err = armadilloutil.Marshal(payload, VideoTransportVersion) + return +} + +func (msg *ConsumerApplication_AudioMessage) Decode() (dec *waMediaTransport.AudioTransport, err error) { + return armadilloutil.Unmarshal(&waMediaTransport.AudioTransport{}, msg.GetAudio(), AudioTransportVersion) +} + +func (msg *ConsumerApplication_AudioMessage) Set(payload *waMediaTransport.AudioTransport) (err error) { + msg.Audio, err = armadilloutil.Marshal(payload, AudioTransportVersion) + return +} + +func (msg *ConsumerApplication_DocumentMessage) Decode() (dec *waMediaTransport.DocumentTransport, err error) { + return armadilloutil.Unmarshal(&waMediaTransport.DocumentTransport{}, msg.GetDocument(), DocumentTransportVersion) +} + +func (msg *ConsumerApplication_DocumentMessage) Set(payload *waMediaTransport.DocumentTransport) (err error) { + msg.Document, err = armadilloutil.Marshal(payload, DocumentTransportVersion) + return +} + +func (msg *ConsumerApplication_ContactMessage) Decode() (dec *waMediaTransport.ContactTransport, err error) { + return armadilloutil.Unmarshal(&waMediaTransport.ContactTransport{}, msg.GetContact(), ContactTransportVersion) +} + +func (msg *ConsumerApplication_ContactMessage) Set(payload *waMediaTransport.ContactTransport) (err error) { + msg.Contact, err = armadilloutil.Marshal(payload, ContactTransportVersion) + return +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waE2E/WAE2E.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waE2E/WAE2E.pb.go new file mode 100644 index 00000000..5c5f32b6 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waE2E/WAE2E.pb.go @@ -0,0 +1,16792 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waE2E/WAE2E.proto + +package waE2E + +import ( + reflect "reflect" + sync "sync" + + waAdv "go.mau.fi/whatsmeow/binary/armadillo/waAdv" + waCommon "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + waMmsRetry "go.mau.fi/whatsmeow/binary/armadillo/waMmsRetry" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type KeepType int32 + +const ( + KeepType_UNKNOWN KeepType = 0 + KeepType_KEEP_FOR_ALL KeepType = 1 + KeepType_UNDO_KEEP_FOR_ALL KeepType = 2 +) + +// Enum value maps for KeepType. +var ( + KeepType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "KEEP_FOR_ALL", + 2: "UNDO_KEEP_FOR_ALL", + } + KeepType_value = map[string]int32{ + "UNKNOWN": 0, + "KEEP_FOR_ALL": 1, + "UNDO_KEEP_FOR_ALL": 2, + } +) + +func (x KeepType) Enum() *KeepType { + p := new(KeepType) + *p = x + return p +} + +func (x KeepType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (KeepType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[0].Descriptor() +} + +func (KeepType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[0] +} + +func (x KeepType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use KeepType.Descriptor instead. +func (KeepType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0} +} + +type Message_PeerDataOperationRequestType int32 + +const ( + Message_UPLOAD_STICKER Message_PeerDataOperationRequestType = 0 + Message_SEND_RECENT_STICKER_BOOTSTRAP Message_PeerDataOperationRequestType = 1 + Message_GENERATE_LINK_PREVIEW Message_PeerDataOperationRequestType = 2 + Message_HISTORY_SYNC_ON_DEMAND Message_PeerDataOperationRequestType = 3 + Message_PLACEHOLDER_MESSAGE_RESEND Message_PeerDataOperationRequestType = 4 +) + +// Enum value maps for Message_PeerDataOperationRequestType. +var ( + Message_PeerDataOperationRequestType_name = map[int32]string{ + 0: "UPLOAD_STICKER", + 1: "SEND_RECENT_STICKER_BOOTSTRAP", + 2: "GENERATE_LINK_PREVIEW", + 3: "HISTORY_SYNC_ON_DEMAND", + 4: "PLACEHOLDER_MESSAGE_RESEND", + } + Message_PeerDataOperationRequestType_value = map[string]int32{ + "UPLOAD_STICKER": 0, + "SEND_RECENT_STICKER_BOOTSTRAP": 1, + "GENERATE_LINK_PREVIEW": 2, + "HISTORY_SYNC_ON_DEMAND": 3, + "PLACEHOLDER_MESSAGE_RESEND": 4, + } +) + +func (x Message_PeerDataOperationRequestType) Enum() *Message_PeerDataOperationRequestType { + p := new(Message_PeerDataOperationRequestType) + *p = x + return p +} + +func (x Message_PeerDataOperationRequestType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_PeerDataOperationRequestType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[1].Descriptor() +} + +func (Message_PeerDataOperationRequestType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[1] +} + +func (x Message_PeerDataOperationRequestType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_PeerDataOperationRequestType.Descriptor instead. +func (Message_PeerDataOperationRequestType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 0} +} + +type Message_PlaceholderMessage_PlaceholderType int32 + +const ( + Message_PlaceholderMessage_MASK_LINKED_DEVICES Message_PlaceholderMessage_PlaceholderType = 0 +) + +// Enum value maps for Message_PlaceholderMessage_PlaceholderType. +var ( + Message_PlaceholderMessage_PlaceholderType_name = map[int32]string{ + 0: "MASK_LINKED_DEVICES", + } + Message_PlaceholderMessage_PlaceholderType_value = map[string]int32{ + "MASK_LINKED_DEVICES": 0, + } +) + +func (x Message_PlaceholderMessage_PlaceholderType) Enum() *Message_PlaceholderMessage_PlaceholderType { + p := new(Message_PlaceholderMessage_PlaceholderType) + *p = x + return p +} + +func (x Message_PlaceholderMessage_PlaceholderType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_PlaceholderMessage_PlaceholderType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[2].Descriptor() +} + +func (Message_PlaceholderMessage_PlaceholderType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[2] +} + +func (x Message_PlaceholderMessage_PlaceholderType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_PlaceholderMessage_PlaceholderType.Descriptor instead. +func (Message_PlaceholderMessage_PlaceholderType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 0, 0} +} + +type Message_BCallMessage_MediaType int32 + +const ( + Message_BCallMessage_UNKNOWN Message_BCallMessage_MediaType = 0 + Message_BCallMessage_AUDIO Message_BCallMessage_MediaType = 1 + Message_BCallMessage_VIDEO Message_BCallMessage_MediaType = 2 +) + +// Enum value maps for Message_BCallMessage_MediaType. +var ( + Message_BCallMessage_MediaType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "AUDIO", + 2: "VIDEO", + } + Message_BCallMessage_MediaType_value = map[string]int32{ + "UNKNOWN": 0, + "AUDIO": 1, + "VIDEO": 2, + } +) + +func (x Message_BCallMessage_MediaType) Enum() *Message_BCallMessage_MediaType { + p := new(Message_BCallMessage_MediaType) + *p = x + return p +} + +func (x Message_BCallMessage_MediaType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_BCallMessage_MediaType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[3].Descriptor() +} + +func (Message_BCallMessage_MediaType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[3] +} + +func (x Message_BCallMessage_MediaType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_BCallMessage_MediaType.Descriptor instead. +func (Message_BCallMessage_MediaType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 1, 0} +} + +type Message_CallLogMessage_CallOutcome int32 + +const ( + Message_CallLogMessage_CONNECTED Message_CallLogMessage_CallOutcome = 0 + Message_CallLogMessage_MISSED Message_CallLogMessage_CallOutcome = 1 + Message_CallLogMessage_FAILED Message_CallLogMessage_CallOutcome = 2 + Message_CallLogMessage_REJECTED Message_CallLogMessage_CallOutcome = 3 + Message_CallLogMessage_ACCEPTED_ELSEWHERE Message_CallLogMessage_CallOutcome = 4 + Message_CallLogMessage_ONGOING Message_CallLogMessage_CallOutcome = 5 + Message_CallLogMessage_SILENCED_BY_DND Message_CallLogMessage_CallOutcome = 6 + Message_CallLogMessage_SILENCED_UNKNOWN_CALLER Message_CallLogMessage_CallOutcome = 7 +) + +// Enum value maps for Message_CallLogMessage_CallOutcome. +var ( + Message_CallLogMessage_CallOutcome_name = map[int32]string{ + 0: "CONNECTED", + 1: "MISSED", + 2: "FAILED", + 3: "REJECTED", + 4: "ACCEPTED_ELSEWHERE", + 5: "ONGOING", + 6: "SILENCED_BY_DND", + 7: "SILENCED_UNKNOWN_CALLER", + } + Message_CallLogMessage_CallOutcome_value = map[string]int32{ + "CONNECTED": 0, + "MISSED": 1, + "FAILED": 2, + "REJECTED": 3, + "ACCEPTED_ELSEWHERE": 4, + "ONGOING": 5, + "SILENCED_BY_DND": 6, + "SILENCED_UNKNOWN_CALLER": 7, + } +) + +func (x Message_CallLogMessage_CallOutcome) Enum() *Message_CallLogMessage_CallOutcome { + p := new(Message_CallLogMessage_CallOutcome) + *p = x + return p +} + +func (x Message_CallLogMessage_CallOutcome) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_CallLogMessage_CallOutcome) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[4].Descriptor() +} + +func (Message_CallLogMessage_CallOutcome) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[4] +} + +func (x Message_CallLogMessage_CallOutcome) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_CallLogMessage_CallOutcome.Descriptor instead. +func (Message_CallLogMessage_CallOutcome) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 2, 0} +} + +type Message_CallLogMessage_CallType int32 + +const ( + Message_CallLogMessage_REGULAR Message_CallLogMessage_CallType = 0 + Message_CallLogMessage_SCHEDULED_CALL Message_CallLogMessage_CallType = 1 + Message_CallLogMessage_VOICE_CHAT Message_CallLogMessage_CallType = 2 +) + +// Enum value maps for Message_CallLogMessage_CallType. +var ( + Message_CallLogMessage_CallType_name = map[int32]string{ + 0: "REGULAR", + 1: "SCHEDULED_CALL", + 2: "VOICE_CHAT", + } + Message_CallLogMessage_CallType_value = map[string]int32{ + "REGULAR": 0, + "SCHEDULED_CALL": 1, + "VOICE_CHAT": 2, + } +) + +func (x Message_CallLogMessage_CallType) Enum() *Message_CallLogMessage_CallType { + p := new(Message_CallLogMessage_CallType) + *p = x + return p +} + +func (x Message_CallLogMessage_CallType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_CallLogMessage_CallType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[5].Descriptor() +} + +func (Message_CallLogMessage_CallType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[5] +} + +func (x Message_CallLogMessage_CallType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_CallLogMessage_CallType.Descriptor instead. +func (Message_CallLogMessage_CallType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 2, 1} +} + +type Message_ScheduledCallEditMessage_EditType int32 + +const ( + Message_ScheduledCallEditMessage_UNKNOWN Message_ScheduledCallEditMessage_EditType = 0 + Message_ScheduledCallEditMessage_CANCEL Message_ScheduledCallEditMessage_EditType = 1 +) + +// Enum value maps for Message_ScheduledCallEditMessage_EditType. +var ( + Message_ScheduledCallEditMessage_EditType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "CANCEL", + } + Message_ScheduledCallEditMessage_EditType_value = map[string]int32{ + "UNKNOWN": 0, + "CANCEL": 1, + } +) + +func (x Message_ScheduledCallEditMessage_EditType) Enum() *Message_ScheduledCallEditMessage_EditType { + p := new(Message_ScheduledCallEditMessage_EditType) + *p = x + return p +} + +func (x Message_ScheduledCallEditMessage_EditType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_ScheduledCallEditMessage_EditType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[6].Descriptor() +} + +func (Message_ScheduledCallEditMessage_EditType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[6] +} + +func (x Message_ScheduledCallEditMessage_EditType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_ScheduledCallEditMessage_EditType.Descriptor instead. +func (Message_ScheduledCallEditMessage_EditType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 3, 0} +} + +type Message_ScheduledCallCreationMessage_CallType int32 + +const ( + Message_ScheduledCallCreationMessage_UNKNOWN Message_ScheduledCallCreationMessage_CallType = 0 + Message_ScheduledCallCreationMessage_VOICE Message_ScheduledCallCreationMessage_CallType = 1 + Message_ScheduledCallCreationMessage_VIDEO Message_ScheduledCallCreationMessage_CallType = 2 +) + +// Enum value maps for Message_ScheduledCallCreationMessage_CallType. +var ( + Message_ScheduledCallCreationMessage_CallType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "VOICE", + 2: "VIDEO", + } + Message_ScheduledCallCreationMessage_CallType_value = map[string]int32{ + "UNKNOWN": 0, + "VOICE": 1, + "VIDEO": 2, + } +) + +func (x Message_ScheduledCallCreationMessage_CallType) Enum() *Message_ScheduledCallCreationMessage_CallType { + p := new(Message_ScheduledCallCreationMessage_CallType) + *p = x + return p +} + +func (x Message_ScheduledCallCreationMessage_CallType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_ScheduledCallCreationMessage_CallType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[7].Descriptor() +} + +func (Message_ScheduledCallCreationMessage_CallType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[7] +} + +func (x Message_ScheduledCallCreationMessage_CallType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_ScheduledCallCreationMessage_CallType.Descriptor instead. +func (Message_ScheduledCallCreationMessage_CallType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 4, 0} +} + +type Message_EventResponseMessage_EventResponseType int32 + +const ( + Message_EventResponseMessage_UNKNOWN Message_EventResponseMessage_EventResponseType = 0 + Message_EventResponseMessage_GOING Message_EventResponseMessage_EventResponseType = 1 + Message_EventResponseMessage_NOT_GOING Message_EventResponseMessage_EventResponseType = 2 +) + +// Enum value maps for Message_EventResponseMessage_EventResponseType. +var ( + Message_EventResponseMessage_EventResponseType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "GOING", + 2: "NOT_GOING", + } + Message_EventResponseMessage_EventResponseType_value = map[string]int32{ + "UNKNOWN": 0, + "GOING": 1, + "NOT_GOING": 2, + } +) + +func (x Message_EventResponseMessage_EventResponseType) Enum() *Message_EventResponseMessage_EventResponseType { + p := new(Message_EventResponseMessage_EventResponseType) + *p = x + return p +} + +func (x Message_EventResponseMessage_EventResponseType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_EventResponseMessage_EventResponseType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[8].Descriptor() +} + +func (Message_EventResponseMessage_EventResponseType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[8] +} + +func (x Message_EventResponseMessage_EventResponseType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_EventResponseMessage_EventResponseType.Descriptor instead. +func (Message_EventResponseMessage_EventResponseType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 5, 0} +} + +type Message_PinInChatMessage_Type int32 + +const ( + Message_PinInChatMessage_UNKNOWN_TYPE Message_PinInChatMessage_Type = 0 + Message_PinInChatMessage_PIN_FOR_ALL Message_PinInChatMessage_Type = 1 + Message_PinInChatMessage_UNPIN_FOR_ALL Message_PinInChatMessage_Type = 2 +) + +// Enum value maps for Message_PinInChatMessage_Type. +var ( + Message_PinInChatMessage_Type_name = map[int32]string{ + 0: "UNKNOWN_TYPE", + 1: "PIN_FOR_ALL", + 2: "UNPIN_FOR_ALL", + } + Message_PinInChatMessage_Type_value = map[string]int32{ + "UNKNOWN_TYPE": 0, + "PIN_FOR_ALL": 1, + "UNPIN_FOR_ALL": 2, + } +) + +func (x Message_PinInChatMessage_Type) Enum() *Message_PinInChatMessage_Type { + p := new(Message_PinInChatMessage_Type) + *p = x + return p +} + +func (x Message_PinInChatMessage_Type) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_PinInChatMessage_Type) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[9].Descriptor() +} + +func (Message_PinInChatMessage_Type) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[9] +} + +func (x Message_PinInChatMessage_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_PinInChatMessage_Type.Descriptor instead. +func (Message_PinInChatMessage_Type) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 6, 0} +} + +type Message_ButtonsResponseMessage_Type int32 + +const ( + Message_ButtonsResponseMessage_UNKNOWN Message_ButtonsResponseMessage_Type = 0 + Message_ButtonsResponseMessage_DISPLAY_TEXT Message_ButtonsResponseMessage_Type = 1 +) + +// Enum value maps for Message_ButtonsResponseMessage_Type. +var ( + Message_ButtonsResponseMessage_Type_name = map[int32]string{ + 0: "UNKNOWN", + 1: "DISPLAY_TEXT", + } + Message_ButtonsResponseMessage_Type_value = map[string]int32{ + "UNKNOWN": 0, + "DISPLAY_TEXT": 1, + } +) + +func (x Message_ButtonsResponseMessage_Type) Enum() *Message_ButtonsResponseMessage_Type { + p := new(Message_ButtonsResponseMessage_Type) + *p = x + return p +} + +func (x Message_ButtonsResponseMessage_Type) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_ButtonsResponseMessage_Type) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[10].Descriptor() +} + +func (Message_ButtonsResponseMessage_Type) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[10] +} + +func (x Message_ButtonsResponseMessage_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_ButtonsResponseMessage_Type.Descriptor instead. +func (Message_ButtonsResponseMessage_Type) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 7, 0} +} + +type Message_ButtonsMessage_HeaderType int32 + +const ( + Message_ButtonsMessage_UNKNOWN Message_ButtonsMessage_HeaderType = 0 + Message_ButtonsMessage_EMPTY Message_ButtonsMessage_HeaderType = 1 + Message_ButtonsMessage_TEXT Message_ButtonsMessage_HeaderType = 2 + Message_ButtonsMessage_DOCUMENT Message_ButtonsMessage_HeaderType = 3 + Message_ButtonsMessage_IMAGE Message_ButtonsMessage_HeaderType = 4 + Message_ButtonsMessage_VIDEO Message_ButtonsMessage_HeaderType = 5 + Message_ButtonsMessage_LOCATION Message_ButtonsMessage_HeaderType = 6 +) + +// Enum value maps for Message_ButtonsMessage_HeaderType. +var ( + Message_ButtonsMessage_HeaderType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "EMPTY", + 2: "TEXT", + 3: "DOCUMENT", + 4: "IMAGE", + 5: "VIDEO", + 6: "LOCATION", + } + Message_ButtonsMessage_HeaderType_value = map[string]int32{ + "UNKNOWN": 0, + "EMPTY": 1, + "TEXT": 2, + "DOCUMENT": 3, + "IMAGE": 4, + "VIDEO": 5, + "LOCATION": 6, + } +) + +func (x Message_ButtonsMessage_HeaderType) Enum() *Message_ButtonsMessage_HeaderType { + p := new(Message_ButtonsMessage_HeaderType) + *p = x + return p +} + +func (x Message_ButtonsMessage_HeaderType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_ButtonsMessage_HeaderType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[11].Descriptor() +} + +func (Message_ButtonsMessage_HeaderType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[11] +} + +func (x Message_ButtonsMessage_HeaderType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_ButtonsMessage_HeaderType.Descriptor instead. +func (Message_ButtonsMessage_HeaderType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 8, 0} +} + +type Message_ButtonsMessage_Button_Type int32 + +const ( + Message_ButtonsMessage_Button_UNKNOWN Message_ButtonsMessage_Button_Type = 0 + Message_ButtonsMessage_Button_RESPONSE Message_ButtonsMessage_Button_Type = 1 + Message_ButtonsMessage_Button_NATIVE_FLOW Message_ButtonsMessage_Button_Type = 2 +) + +// Enum value maps for Message_ButtonsMessage_Button_Type. +var ( + Message_ButtonsMessage_Button_Type_name = map[int32]string{ + 0: "UNKNOWN", + 1: "RESPONSE", + 2: "NATIVE_FLOW", + } + Message_ButtonsMessage_Button_Type_value = map[string]int32{ + "UNKNOWN": 0, + "RESPONSE": 1, + "NATIVE_FLOW": 2, + } +) + +func (x Message_ButtonsMessage_Button_Type) Enum() *Message_ButtonsMessage_Button_Type { + p := new(Message_ButtonsMessage_Button_Type) + *p = x + return p +} + +func (x Message_ButtonsMessage_Button_Type) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_ButtonsMessage_Button_Type) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[12].Descriptor() +} + +func (Message_ButtonsMessage_Button_Type) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[12] +} + +func (x Message_ButtonsMessage_Button_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_ButtonsMessage_Button_Type.Descriptor instead. +func (Message_ButtonsMessage_Button_Type) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 8, 0, 0} +} + +type Message_GroupInviteMessage_GroupType int32 + +const ( + Message_GroupInviteMessage_DEFAULT Message_GroupInviteMessage_GroupType = 0 + Message_GroupInviteMessage_PARENT Message_GroupInviteMessage_GroupType = 1 +) + +// Enum value maps for Message_GroupInviteMessage_GroupType. +var ( + Message_GroupInviteMessage_GroupType_name = map[int32]string{ + 0: "DEFAULT", + 1: "PARENT", + } + Message_GroupInviteMessage_GroupType_value = map[string]int32{ + "DEFAULT": 0, + "PARENT": 1, + } +) + +func (x Message_GroupInviteMessage_GroupType) Enum() *Message_GroupInviteMessage_GroupType { + p := new(Message_GroupInviteMessage_GroupType) + *p = x + return p +} + +func (x Message_GroupInviteMessage_GroupType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_GroupInviteMessage_GroupType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[13].Descriptor() +} + +func (Message_GroupInviteMessage_GroupType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[13] +} + +func (x Message_GroupInviteMessage_GroupType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_GroupInviteMessage_GroupType.Descriptor instead. +func (Message_GroupInviteMessage_GroupType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 9, 0} +} + +type Message_InteractiveResponseMessage_Body_Format int32 + +const ( + Message_InteractiveResponseMessage_Body_DEFAULT Message_InteractiveResponseMessage_Body_Format = 0 + Message_InteractiveResponseMessage_Body_EXTENSIONS_1 Message_InteractiveResponseMessage_Body_Format = 1 +) + +// Enum value maps for Message_InteractiveResponseMessage_Body_Format. +var ( + Message_InteractiveResponseMessage_Body_Format_name = map[int32]string{ + 0: "DEFAULT", + 1: "EXTENSIONS_1", + } + Message_InteractiveResponseMessage_Body_Format_value = map[string]int32{ + "DEFAULT": 0, + "EXTENSIONS_1": 1, + } +) + +func (x Message_InteractiveResponseMessage_Body_Format) Enum() *Message_InteractiveResponseMessage_Body_Format { + p := new(Message_InteractiveResponseMessage_Body_Format) + *p = x + return p +} + +func (x Message_InteractiveResponseMessage_Body_Format) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_InteractiveResponseMessage_Body_Format) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[14].Descriptor() +} + +func (Message_InteractiveResponseMessage_Body_Format) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[14] +} + +func (x Message_InteractiveResponseMessage_Body_Format) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_InteractiveResponseMessage_Body_Format.Descriptor instead. +func (Message_InteractiveResponseMessage_Body_Format) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 10, 0, 0} +} + +type Message_InteractiveMessage_ShopMessage_Surface int32 + +const ( + Message_InteractiveMessage_ShopMessage_UNKNOWN_SURFACE Message_InteractiveMessage_ShopMessage_Surface = 0 + Message_InteractiveMessage_ShopMessage_FB Message_InteractiveMessage_ShopMessage_Surface = 1 + Message_InteractiveMessage_ShopMessage_IG Message_InteractiveMessage_ShopMessage_Surface = 2 + Message_InteractiveMessage_ShopMessage_WA Message_InteractiveMessage_ShopMessage_Surface = 3 +) + +// Enum value maps for Message_InteractiveMessage_ShopMessage_Surface. +var ( + Message_InteractiveMessage_ShopMessage_Surface_name = map[int32]string{ + 0: "UNKNOWN_SURFACE", + 1: "FB", + 2: "IG", + 3: "WA", + } + Message_InteractiveMessage_ShopMessage_Surface_value = map[string]int32{ + "UNKNOWN_SURFACE": 0, + "FB": 1, + "IG": 2, + "WA": 3, + } +) + +func (x Message_InteractiveMessage_ShopMessage_Surface) Enum() *Message_InteractiveMessage_ShopMessage_Surface { + p := new(Message_InteractiveMessage_ShopMessage_Surface) + *p = x + return p +} + +func (x Message_InteractiveMessage_ShopMessage_Surface) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_InteractiveMessage_ShopMessage_Surface) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[15].Descriptor() +} + +func (Message_InteractiveMessage_ShopMessage_Surface) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[15] +} + +func (x Message_InteractiveMessage_ShopMessage_Surface) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_InteractiveMessage_ShopMessage_Surface.Descriptor instead. +func (Message_InteractiveMessage_ShopMessage_Surface) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 11, 0, 0} +} + +type Message_ListResponseMessage_ListType int32 + +const ( + Message_ListResponseMessage_UNKNOWN Message_ListResponseMessage_ListType = 0 + Message_ListResponseMessage_SINGLE_SELECT Message_ListResponseMessage_ListType = 1 +) + +// Enum value maps for Message_ListResponseMessage_ListType. +var ( + Message_ListResponseMessage_ListType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "SINGLE_SELECT", + } + Message_ListResponseMessage_ListType_value = map[string]int32{ + "UNKNOWN": 0, + "SINGLE_SELECT": 1, + } +) + +func (x Message_ListResponseMessage_ListType) Enum() *Message_ListResponseMessage_ListType { + p := new(Message_ListResponseMessage_ListType) + *p = x + return p +} + +func (x Message_ListResponseMessage_ListType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_ListResponseMessage_ListType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[16].Descriptor() +} + +func (Message_ListResponseMessage_ListType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[16] +} + +func (x Message_ListResponseMessage_ListType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_ListResponseMessage_ListType.Descriptor instead. +func (Message_ListResponseMessage_ListType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 12, 0} +} + +type Message_ListMessage_ListType int32 + +const ( + Message_ListMessage_UNKNOWN Message_ListMessage_ListType = 0 + Message_ListMessage_SINGLE_SELECT Message_ListMessage_ListType = 1 + Message_ListMessage_PRODUCT_LIST Message_ListMessage_ListType = 2 +) + +// Enum value maps for Message_ListMessage_ListType. +var ( + Message_ListMessage_ListType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "SINGLE_SELECT", + 2: "PRODUCT_LIST", + } + Message_ListMessage_ListType_value = map[string]int32{ + "UNKNOWN": 0, + "SINGLE_SELECT": 1, + "PRODUCT_LIST": 2, + } +) + +func (x Message_ListMessage_ListType) Enum() *Message_ListMessage_ListType { + p := new(Message_ListMessage_ListType) + *p = x + return p +} + +func (x Message_ListMessage_ListType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_ListMessage_ListType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[17].Descriptor() +} + +func (Message_ListMessage_ListType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[17] +} + +func (x Message_ListMessage_ListType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_ListMessage_ListType.Descriptor instead. +func (Message_ListMessage_ListType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 13, 0} +} + +type Message_OrderMessage_OrderSurface int32 + +const ( + Message_OrderMessage_ORDERSURFACE_UNKNOWN Message_OrderMessage_OrderSurface = 0 + Message_OrderMessage_CATALOG Message_OrderMessage_OrderSurface = 1 +) + +// Enum value maps for Message_OrderMessage_OrderSurface. +var ( + Message_OrderMessage_OrderSurface_name = map[int32]string{ + 0: "ORDERSURFACE_UNKNOWN", + 1: "CATALOG", + } + Message_OrderMessage_OrderSurface_value = map[string]int32{ + "ORDERSURFACE_UNKNOWN": 0, + "CATALOG": 1, + } +) + +func (x Message_OrderMessage_OrderSurface) Enum() *Message_OrderMessage_OrderSurface { + p := new(Message_OrderMessage_OrderSurface) + *p = x + return p +} + +func (x Message_OrderMessage_OrderSurface) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_OrderMessage_OrderSurface) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[18].Descriptor() +} + +func (Message_OrderMessage_OrderSurface) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[18] +} + +func (x Message_OrderMessage_OrderSurface) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_OrderMessage_OrderSurface.Descriptor instead. +func (Message_OrderMessage_OrderSurface) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 14, 0} +} + +type Message_OrderMessage_OrderStatus int32 + +const ( + Message_OrderMessage_ORDERSTATUS_UNKNOWN Message_OrderMessage_OrderStatus = 0 + Message_OrderMessage_INQUIRY Message_OrderMessage_OrderStatus = 1 + Message_OrderMessage_ACCEPTED Message_OrderMessage_OrderStatus = 2 + Message_OrderMessage_DECLINED Message_OrderMessage_OrderStatus = 3 +) + +// Enum value maps for Message_OrderMessage_OrderStatus. +var ( + Message_OrderMessage_OrderStatus_name = map[int32]string{ + 0: "ORDERSTATUS_UNKNOWN", + 1: "INQUIRY", + 2: "ACCEPTED", + 3: "DECLINED", + } + Message_OrderMessage_OrderStatus_value = map[string]int32{ + "ORDERSTATUS_UNKNOWN": 0, + "INQUIRY": 1, + "ACCEPTED": 2, + "DECLINED": 3, + } +) + +func (x Message_OrderMessage_OrderStatus) Enum() *Message_OrderMessage_OrderStatus { + p := new(Message_OrderMessage_OrderStatus) + *p = x + return p +} + +func (x Message_OrderMessage_OrderStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_OrderMessage_OrderStatus) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[19].Descriptor() +} + +func (Message_OrderMessage_OrderStatus) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[19] +} + +func (x Message_OrderMessage_OrderStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_OrderMessage_OrderStatus.Descriptor instead. +func (Message_OrderMessage_OrderStatus) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 14, 1} +} + +type Message_PaymentInviteMessage_ServiceType int32 + +const ( + Message_PaymentInviteMessage_UNKNOWN Message_PaymentInviteMessage_ServiceType = 0 + Message_PaymentInviteMessage_FBPAY Message_PaymentInviteMessage_ServiceType = 1 + Message_PaymentInviteMessage_NOVI Message_PaymentInviteMessage_ServiceType = 2 + Message_PaymentInviteMessage_UPI Message_PaymentInviteMessage_ServiceType = 3 +) + +// Enum value maps for Message_PaymentInviteMessage_ServiceType. +var ( + Message_PaymentInviteMessage_ServiceType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "FBPAY", + 2: "NOVI", + 3: "UPI", + } + Message_PaymentInviteMessage_ServiceType_value = map[string]int32{ + "UNKNOWN": 0, + "FBPAY": 1, + "NOVI": 2, + "UPI": 3, + } +) + +func (x Message_PaymentInviteMessage_ServiceType) Enum() *Message_PaymentInviteMessage_ServiceType { + p := new(Message_PaymentInviteMessage_ServiceType) + *p = x + return p +} + +func (x Message_PaymentInviteMessage_ServiceType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_PaymentInviteMessage_ServiceType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[20].Descriptor() +} + +func (Message_PaymentInviteMessage_ServiceType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[20] +} + +func (x Message_PaymentInviteMessage_ServiceType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_PaymentInviteMessage_ServiceType.Descriptor instead. +func (Message_PaymentInviteMessage_ServiceType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 15, 0} +} + +type Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType int32 + +const ( + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CALENDARTYPE_UNKNOWN Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType = 0 + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_GREGORIAN Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType = 1 + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SOLAR_HIJRI Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType = 2 +) + +// Enum value maps for Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType. +var ( + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType_name = map[int32]string{ + 0: "CALENDARTYPE_UNKNOWN", + 1: "GREGORIAN", + 2: "SOLAR_HIJRI", + } + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType_value = map[string]int32{ + "CALENDARTYPE_UNKNOWN": 0, + "GREGORIAN": 1, + "SOLAR_HIJRI": 2, + } +) + +func (x Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Enum() *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType { + p := new(Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) + *p = x + return p +} + +func (x Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[21].Descriptor() +} + +func (Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[21] +} + +func (x Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType.Descriptor instead. +func (Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 16, 0, 0, 0, 0} +} + +type Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType int32 + +const ( + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DAYOFWEEKTYPE_UNKNOWN Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 0 + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_MONDAY Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 1 + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_TUESDAY Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 2 + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_WEDNESDAY Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 3 + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_THURSDAY Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 4 + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_FRIDAY Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 5 + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SATURDAY Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 6 + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_SUNDAY Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType = 7 +) + +// Enum value maps for Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType. +var ( + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType_name = map[int32]string{ + 0: "DAYOFWEEKTYPE_UNKNOWN", + 1: "MONDAY", + 2: "TUESDAY", + 3: "WEDNESDAY", + 4: "THURSDAY", + 5: "FRIDAY", + 6: "SATURDAY", + 7: "SUNDAY", + } + Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType_value = map[string]int32{ + "DAYOFWEEKTYPE_UNKNOWN": 0, + "MONDAY": 1, + "TUESDAY": 2, + "WEDNESDAY": 3, + "THURSDAY": 4, + "FRIDAY": 5, + "SATURDAY": 6, + "SUNDAY": 7, + } +) + +func (x Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Enum() *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType { + p := new(Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) + *p = x + return p +} + +func (x Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[22].Descriptor() +} + +func (Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[22] +} + +func (x Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType.Descriptor instead. +func (Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 16, 0, 0, 0, 1} +} + +type Message_HistorySyncNotification_HistorySyncType int32 + +const ( + Message_HistorySyncNotification_INITIAL_BOOTSTRAP Message_HistorySyncNotification_HistorySyncType = 0 + Message_HistorySyncNotification_INITIAL_STATUS_V3 Message_HistorySyncNotification_HistorySyncType = 1 + Message_HistorySyncNotification_FULL Message_HistorySyncNotification_HistorySyncType = 2 + Message_HistorySyncNotification_RECENT Message_HistorySyncNotification_HistorySyncType = 3 + Message_HistorySyncNotification_PUSH_NAME Message_HistorySyncNotification_HistorySyncType = 4 + Message_HistorySyncNotification_NON_BLOCKING_DATA Message_HistorySyncNotification_HistorySyncType = 5 + Message_HistorySyncNotification_ON_DEMAND Message_HistorySyncNotification_HistorySyncType = 6 +) + +// Enum value maps for Message_HistorySyncNotification_HistorySyncType. +var ( + Message_HistorySyncNotification_HistorySyncType_name = map[int32]string{ + 0: "INITIAL_BOOTSTRAP", + 1: "INITIAL_STATUS_V3", + 2: "FULL", + 3: "RECENT", + 4: "PUSH_NAME", + 5: "NON_BLOCKING_DATA", + 6: "ON_DEMAND", + } + Message_HistorySyncNotification_HistorySyncType_value = map[string]int32{ + "INITIAL_BOOTSTRAP": 0, + "INITIAL_STATUS_V3": 1, + "FULL": 2, + "RECENT": 3, + "PUSH_NAME": 4, + "NON_BLOCKING_DATA": 5, + "ON_DEMAND": 6, + } +) + +func (x Message_HistorySyncNotification_HistorySyncType) Enum() *Message_HistorySyncNotification_HistorySyncType { + p := new(Message_HistorySyncNotification_HistorySyncType) + *p = x + return p +} + +func (x Message_HistorySyncNotification_HistorySyncType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_HistorySyncNotification_HistorySyncType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[23].Descriptor() +} + +func (Message_HistorySyncNotification_HistorySyncType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[23] +} + +func (x Message_HistorySyncNotification_HistorySyncType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_HistorySyncNotification_HistorySyncType.Descriptor instead. +func (Message_HistorySyncNotification_HistorySyncType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 17, 0} +} + +type Message_RequestWelcomeMessageMetadata_LocalChatState int32 + +const ( + Message_RequestWelcomeMessageMetadata_EMPTY Message_RequestWelcomeMessageMetadata_LocalChatState = 0 + Message_RequestWelcomeMessageMetadata_NON_EMPTY Message_RequestWelcomeMessageMetadata_LocalChatState = 1 +) + +// Enum value maps for Message_RequestWelcomeMessageMetadata_LocalChatState. +var ( + Message_RequestWelcomeMessageMetadata_LocalChatState_name = map[int32]string{ + 0: "EMPTY", + 1: "NON_EMPTY", + } + Message_RequestWelcomeMessageMetadata_LocalChatState_value = map[string]int32{ + "EMPTY": 0, + "NON_EMPTY": 1, + } +) + +func (x Message_RequestWelcomeMessageMetadata_LocalChatState) Enum() *Message_RequestWelcomeMessageMetadata_LocalChatState { + p := new(Message_RequestWelcomeMessageMetadata_LocalChatState) + *p = x + return p +} + +func (x Message_RequestWelcomeMessageMetadata_LocalChatState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_RequestWelcomeMessageMetadata_LocalChatState) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[24].Descriptor() +} + +func (Message_RequestWelcomeMessageMetadata_LocalChatState) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[24] +} + +func (x Message_RequestWelcomeMessageMetadata_LocalChatState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_RequestWelcomeMessageMetadata_LocalChatState.Descriptor instead. +func (Message_RequestWelcomeMessageMetadata_LocalChatState) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 18, 0} +} + +type Message_ProtocolMessage_Type int32 + +const ( + Message_ProtocolMessage_REVOKE Message_ProtocolMessage_Type = 0 + Message_ProtocolMessage_EPHEMERAL_SETTING Message_ProtocolMessage_Type = 3 + Message_ProtocolMessage_EPHEMERAL_SYNC_RESPONSE Message_ProtocolMessage_Type = 4 + Message_ProtocolMessage_HISTORY_SYNC_NOTIFICATION Message_ProtocolMessage_Type = 5 + Message_ProtocolMessage_APP_STATE_SYNC_KEY_SHARE Message_ProtocolMessage_Type = 6 + Message_ProtocolMessage_APP_STATE_SYNC_KEY_REQUEST Message_ProtocolMessage_Type = 7 + Message_ProtocolMessage_MSG_FANOUT_BACKFILL_REQUEST Message_ProtocolMessage_Type = 8 + Message_ProtocolMessage_INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC Message_ProtocolMessage_Type = 9 + Message_ProtocolMessage_APP_STATE_FATAL_EXCEPTION_NOTIFICATION Message_ProtocolMessage_Type = 10 + Message_ProtocolMessage_SHARE_PHONE_NUMBER Message_ProtocolMessage_Type = 11 + Message_ProtocolMessage_MESSAGE_EDIT Message_ProtocolMessage_Type = 14 + Message_ProtocolMessage_PEER_DATA_OPERATION_REQUEST_MESSAGE Message_ProtocolMessage_Type = 16 + Message_ProtocolMessage_PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE Message_ProtocolMessage_Type = 17 + Message_ProtocolMessage_REQUEST_WELCOME_MESSAGE Message_ProtocolMessage_Type = 18 + Message_ProtocolMessage_BOT_FEEDBACK_MESSAGE Message_ProtocolMessage_Type = 19 + Message_ProtocolMessage_MEDIA_NOTIFY_MESSAGE Message_ProtocolMessage_Type = 20 +) + +// Enum value maps for Message_ProtocolMessage_Type. +var ( + Message_ProtocolMessage_Type_name = map[int32]string{ + 0: "REVOKE", + 3: "EPHEMERAL_SETTING", + 4: "EPHEMERAL_SYNC_RESPONSE", + 5: "HISTORY_SYNC_NOTIFICATION", + 6: "APP_STATE_SYNC_KEY_SHARE", + 7: "APP_STATE_SYNC_KEY_REQUEST", + 8: "MSG_FANOUT_BACKFILL_REQUEST", + 9: "INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC", + 10: "APP_STATE_FATAL_EXCEPTION_NOTIFICATION", + 11: "SHARE_PHONE_NUMBER", + 14: "MESSAGE_EDIT", + 16: "PEER_DATA_OPERATION_REQUEST_MESSAGE", + 17: "PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE", + 18: "REQUEST_WELCOME_MESSAGE", + 19: "BOT_FEEDBACK_MESSAGE", + 20: "MEDIA_NOTIFY_MESSAGE", + } + Message_ProtocolMessage_Type_value = map[string]int32{ + "REVOKE": 0, + "EPHEMERAL_SETTING": 3, + "EPHEMERAL_SYNC_RESPONSE": 4, + "HISTORY_SYNC_NOTIFICATION": 5, + "APP_STATE_SYNC_KEY_SHARE": 6, + "APP_STATE_SYNC_KEY_REQUEST": 7, + "MSG_FANOUT_BACKFILL_REQUEST": 8, + "INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC": 9, + "APP_STATE_FATAL_EXCEPTION_NOTIFICATION": 10, + "SHARE_PHONE_NUMBER": 11, + "MESSAGE_EDIT": 14, + "PEER_DATA_OPERATION_REQUEST_MESSAGE": 16, + "PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE": 17, + "REQUEST_WELCOME_MESSAGE": 18, + "BOT_FEEDBACK_MESSAGE": 19, + "MEDIA_NOTIFY_MESSAGE": 20, + } +) + +func (x Message_ProtocolMessage_Type) Enum() *Message_ProtocolMessage_Type { + p := new(Message_ProtocolMessage_Type) + *p = x + return p +} + +func (x Message_ProtocolMessage_Type) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_ProtocolMessage_Type) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[25].Descriptor() +} + +func (Message_ProtocolMessage_Type) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[25] +} + +func (x Message_ProtocolMessage_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_ProtocolMessage_Type.Descriptor instead. +func (Message_ProtocolMessage_Type) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 19, 0} +} + +type Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive int32 + +const ( + Message_BotFeedbackMessage_BOTFEEDBACKKINDMULTIPLEPOSITIVE_UNKNOWN Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive = 0 + Message_BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive = 1 +) + +// Enum value maps for Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive. +var ( + Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive_name = map[int32]string{ + 0: "BOTFEEDBACKKINDMULTIPLEPOSITIVE_UNKNOWN", + 1: "BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC", + } + Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive_value = map[string]int32{ + "BOTFEEDBACKKINDMULTIPLEPOSITIVE_UNKNOWN": 0, + "BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC": 1, + } +) + +func (x Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive) Enum() *Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive { + p := new(Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive) + *p = x + return p +} + +func (x Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[26].Descriptor() +} + +func (Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[26] +} + +func (x Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive.Descriptor instead. +func (Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 20, 0} +} + +type Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative int32 + +const ( + Message_BotFeedbackMessage_BOTFEEDBACKKINDMULTIPLENEGATIVE_UNKNOWN Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative = 0 + Message_BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative = 1 + Message_BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative = 2 + Message_BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative = 4 + Message_BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative = 8 + Message_BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative = 16 + Message_BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative = 32 + Message_BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative = 64 + Message_BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative = 128 + Message_BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative = 256 +) + +// Enum value maps for Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative. +var ( + Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative_name = map[int32]string{ + 0: "BOTFEEDBACKKINDMULTIPLENEGATIVE_UNKNOWN", + 1: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC", + 2: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL", + 4: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING", + 8: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE", + 16: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE", + 32: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER", + 64: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED", + 128: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING", + 256: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT", + } + Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative_value = map[string]int32{ + "BOTFEEDBACKKINDMULTIPLENEGATIVE_UNKNOWN": 0, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC": 1, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL": 2, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING": 4, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE": 8, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE": 16, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER": 32, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED": 64, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING": 128, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT": 256, + } +) + +func (x Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative) Enum() *Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative { + p := new(Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative) + *p = x + return p +} + +func (x Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[27].Descriptor() +} + +func (Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[27] +} + +func (x Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative.Descriptor instead. +func (Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 20, 1} +} + +type Message_BotFeedbackMessage_BotFeedbackKind int32 + +const ( + Message_BotFeedbackMessage_BOT_FEEDBACK_POSITIVE Message_BotFeedbackMessage_BotFeedbackKind = 0 + Message_BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_GENERIC Message_BotFeedbackMessage_BotFeedbackKind = 1 + Message_BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HELPFUL Message_BotFeedbackMessage_BotFeedbackKind = 2 + Message_BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_INTERESTING Message_BotFeedbackMessage_BotFeedbackKind = 3 + Message_BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_ACCURATE Message_BotFeedbackMessage_BotFeedbackKind = 4 + Message_BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_SAFE Message_BotFeedbackMessage_BotFeedbackKind = 5 + Message_BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_OTHER Message_BotFeedbackMessage_BotFeedbackKind = 6 + Message_BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_REFUSED Message_BotFeedbackMessage_BotFeedbackKind = 7 + Message_BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING Message_BotFeedbackMessage_BotFeedbackKind = 8 + Message_BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT Message_BotFeedbackMessage_BotFeedbackKind = 9 +) + +// Enum value maps for Message_BotFeedbackMessage_BotFeedbackKind. +var ( + Message_BotFeedbackMessage_BotFeedbackKind_name = map[int32]string{ + 0: "BOT_FEEDBACK_POSITIVE", + 1: "BOT_FEEDBACK_NEGATIVE_GENERIC", + 2: "BOT_FEEDBACK_NEGATIVE_HELPFUL", + 3: "BOT_FEEDBACK_NEGATIVE_INTERESTING", + 4: "BOT_FEEDBACK_NEGATIVE_ACCURATE", + 5: "BOT_FEEDBACK_NEGATIVE_SAFE", + 6: "BOT_FEEDBACK_NEGATIVE_OTHER", + 7: "BOT_FEEDBACK_NEGATIVE_REFUSED", + 8: "BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING", + 9: "BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT", + } + Message_BotFeedbackMessage_BotFeedbackKind_value = map[string]int32{ + "BOT_FEEDBACK_POSITIVE": 0, + "BOT_FEEDBACK_NEGATIVE_GENERIC": 1, + "BOT_FEEDBACK_NEGATIVE_HELPFUL": 2, + "BOT_FEEDBACK_NEGATIVE_INTERESTING": 3, + "BOT_FEEDBACK_NEGATIVE_ACCURATE": 4, + "BOT_FEEDBACK_NEGATIVE_SAFE": 5, + "BOT_FEEDBACK_NEGATIVE_OTHER": 6, + "BOT_FEEDBACK_NEGATIVE_REFUSED": 7, + "BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING": 8, + "BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT": 9, + } +) + +func (x Message_BotFeedbackMessage_BotFeedbackKind) Enum() *Message_BotFeedbackMessage_BotFeedbackKind { + p := new(Message_BotFeedbackMessage_BotFeedbackKind) + *p = x + return p +} + +func (x Message_BotFeedbackMessage_BotFeedbackKind) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_BotFeedbackMessage_BotFeedbackKind) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[28].Descriptor() +} + +func (Message_BotFeedbackMessage_BotFeedbackKind) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[28] +} + +func (x Message_BotFeedbackMessage_BotFeedbackKind) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_BotFeedbackMessage_BotFeedbackKind.Descriptor instead. +func (Message_BotFeedbackMessage_BotFeedbackKind) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 20, 2} +} + +type Message_VideoMessage_Attribution int32 + +const ( + Message_VideoMessage_NONE Message_VideoMessage_Attribution = 0 + Message_VideoMessage_GIPHY Message_VideoMessage_Attribution = 1 + Message_VideoMessage_TENOR Message_VideoMessage_Attribution = 2 +) + +// Enum value maps for Message_VideoMessage_Attribution. +var ( + Message_VideoMessage_Attribution_name = map[int32]string{ + 0: "NONE", + 1: "GIPHY", + 2: "TENOR", + } + Message_VideoMessage_Attribution_value = map[string]int32{ + "NONE": 0, + "GIPHY": 1, + "TENOR": 2, + } +) + +func (x Message_VideoMessage_Attribution) Enum() *Message_VideoMessage_Attribution { + p := new(Message_VideoMessage_Attribution) + *p = x + return p +} + +func (x Message_VideoMessage_Attribution) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_VideoMessage_Attribution) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[29].Descriptor() +} + +func (Message_VideoMessage_Attribution) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[29] +} + +func (x Message_VideoMessage_Attribution) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_VideoMessage_Attribution.Descriptor instead. +func (Message_VideoMessage_Attribution) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 21, 0} +} + +type Message_ExtendedTextMessage_InviteLinkGroupType int32 + +const ( + Message_ExtendedTextMessage_DEFAULT Message_ExtendedTextMessage_InviteLinkGroupType = 0 + Message_ExtendedTextMessage_PARENT Message_ExtendedTextMessage_InviteLinkGroupType = 1 + Message_ExtendedTextMessage_SUB Message_ExtendedTextMessage_InviteLinkGroupType = 2 + Message_ExtendedTextMessage_DEFAULT_SUB Message_ExtendedTextMessage_InviteLinkGroupType = 3 +) + +// Enum value maps for Message_ExtendedTextMessage_InviteLinkGroupType. +var ( + Message_ExtendedTextMessage_InviteLinkGroupType_name = map[int32]string{ + 0: "DEFAULT", + 1: "PARENT", + 2: "SUB", + 3: "DEFAULT_SUB", + } + Message_ExtendedTextMessage_InviteLinkGroupType_value = map[string]int32{ + "DEFAULT": 0, + "PARENT": 1, + "SUB": 2, + "DEFAULT_SUB": 3, + } +) + +func (x Message_ExtendedTextMessage_InviteLinkGroupType) Enum() *Message_ExtendedTextMessage_InviteLinkGroupType { + p := new(Message_ExtendedTextMessage_InviteLinkGroupType) + *p = x + return p +} + +func (x Message_ExtendedTextMessage_InviteLinkGroupType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_ExtendedTextMessage_InviteLinkGroupType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[30].Descriptor() +} + +func (Message_ExtendedTextMessage_InviteLinkGroupType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[30] +} + +func (x Message_ExtendedTextMessage_InviteLinkGroupType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_ExtendedTextMessage_InviteLinkGroupType.Descriptor instead. +func (Message_ExtendedTextMessage_InviteLinkGroupType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 22, 0} +} + +type Message_ExtendedTextMessage_PreviewType int32 + +const ( + Message_ExtendedTextMessage_NONE Message_ExtendedTextMessage_PreviewType = 0 + Message_ExtendedTextMessage_VIDEO Message_ExtendedTextMessage_PreviewType = 1 + Message_ExtendedTextMessage_PLACEHOLDER Message_ExtendedTextMessage_PreviewType = 4 + Message_ExtendedTextMessage_IMAGE Message_ExtendedTextMessage_PreviewType = 5 +) + +// Enum value maps for Message_ExtendedTextMessage_PreviewType. +var ( + Message_ExtendedTextMessage_PreviewType_name = map[int32]string{ + 0: "NONE", + 1: "VIDEO", + 4: "PLACEHOLDER", + 5: "IMAGE", + } + Message_ExtendedTextMessage_PreviewType_value = map[string]int32{ + "NONE": 0, + "VIDEO": 1, + "PLACEHOLDER": 4, + "IMAGE": 5, + } +) + +func (x Message_ExtendedTextMessage_PreviewType) Enum() *Message_ExtendedTextMessage_PreviewType { + p := new(Message_ExtendedTextMessage_PreviewType) + *p = x + return p +} + +func (x Message_ExtendedTextMessage_PreviewType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_ExtendedTextMessage_PreviewType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[31].Descriptor() +} + +func (Message_ExtendedTextMessage_PreviewType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[31] +} + +func (x Message_ExtendedTextMessage_PreviewType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_ExtendedTextMessage_PreviewType.Descriptor instead. +func (Message_ExtendedTextMessage_PreviewType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 22, 1} +} + +type Message_ExtendedTextMessage_FontType int32 + +const ( + Message_ExtendedTextMessage_SYSTEM Message_ExtendedTextMessage_FontType = 0 + Message_ExtendedTextMessage_SYSTEM_TEXT Message_ExtendedTextMessage_FontType = 1 + Message_ExtendedTextMessage_FB_SCRIPT Message_ExtendedTextMessage_FontType = 2 + Message_ExtendedTextMessage_SYSTEM_BOLD Message_ExtendedTextMessage_FontType = 6 + Message_ExtendedTextMessage_MORNINGBREEZE_REGULAR Message_ExtendedTextMessage_FontType = 7 + Message_ExtendedTextMessage_CALISTOGA_REGULAR Message_ExtendedTextMessage_FontType = 8 + Message_ExtendedTextMessage_EXO2_EXTRABOLD Message_ExtendedTextMessage_FontType = 9 + Message_ExtendedTextMessage_COURIERPRIME_BOLD Message_ExtendedTextMessage_FontType = 10 +) + +// Enum value maps for Message_ExtendedTextMessage_FontType. +var ( + Message_ExtendedTextMessage_FontType_name = map[int32]string{ + 0: "SYSTEM", + 1: "SYSTEM_TEXT", + 2: "FB_SCRIPT", + 6: "SYSTEM_BOLD", + 7: "MORNINGBREEZE_REGULAR", + 8: "CALISTOGA_REGULAR", + 9: "EXO2_EXTRABOLD", + 10: "COURIERPRIME_BOLD", + } + Message_ExtendedTextMessage_FontType_value = map[string]int32{ + "SYSTEM": 0, + "SYSTEM_TEXT": 1, + "FB_SCRIPT": 2, + "SYSTEM_BOLD": 6, + "MORNINGBREEZE_REGULAR": 7, + "CALISTOGA_REGULAR": 8, + "EXO2_EXTRABOLD": 9, + "COURIERPRIME_BOLD": 10, + } +) + +func (x Message_ExtendedTextMessage_FontType) Enum() *Message_ExtendedTextMessage_FontType { + p := new(Message_ExtendedTextMessage_FontType) + *p = x + return p +} + +func (x Message_ExtendedTextMessage_FontType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_ExtendedTextMessage_FontType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[32].Descriptor() +} + +func (Message_ExtendedTextMessage_FontType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[32] +} + +func (x Message_ExtendedTextMessage_FontType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_ExtendedTextMessage_FontType.Descriptor instead. +func (Message_ExtendedTextMessage_FontType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 22, 2} +} + +type Message_InvoiceMessage_AttachmentType int32 + +const ( + Message_InvoiceMessage_IMAGE Message_InvoiceMessage_AttachmentType = 0 + Message_InvoiceMessage_PDF Message_InvoiceMessage_AttachmentType = 1 +) + +// Enum value maps for Message_InvoiceMessage_AttachmentType. +var ( + Message_InvoiceMessage_AttachmentType_name = map[int32]string{ + 0: "IMAGE", + 1: "PDF", + } + Message_InvoiceMessage_AttachmentType_value = map[string]int32{ + "IMAGE": 0, + "PDF": 1, + } +) + +func (x Message_InvoiceMessage_AttachmentType) Enum() *Message_InvoiceMessage_AttachmentType { + p := new(Message_InvoiceMessage_AttachmentType) + *p = x + return p +} + +func (x Message_InvoiceMessage_AttachmentType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Message_InvoiceMessage_AttachmentType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[33].Descriptor() +} + +func (Message_InvoiceMessage_AttachmentType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[33] +} + +func (x Message_InvoiceMessage_AttachmentType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Message_InvoiceMessage_AttachmentType.Descriptor instead. +func (Message_InvoiceMessage_AttachmentType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 23, 0} +} + +type ContextInfo_ForwardedNewsletterMessageInfo_ContentType int32 + +const ( + ContextInfo_ForwardedNewsletterMessageInfo_CONTENTTYPE_UNKNOWN ContextInfo_ForwardedNewsletterMessageInfo_ContentType = 0 + ContextInfo_ForwardedNewsletterMessageInfo_UPDATE ContextInfo_ForwardedNewsletterMessageInfo_ContentType = 1 + ContextInfo_ForwardedNewsletterMessageInfo_UPDATE_CARD ContextInfo_ForwardedNewsletterMessageInfo_ContentType = 2 + ContextInfo_ForwardedNewsletterMessageInfo_LINK_CARD ContextInfo_ForwardedNewsletterMessageInfo_ContentType = 3 +) + +// Enum value maps for ContextInfo_ForwardedNewsletterMessageInfo_ContentType. +var ( + ContextInfo_ForwardedNewsletterMessageInfo_ContentType_name = map[int32]string{ + 0: "CONTENTTYPE_UNKNOWN", + 1: "UPDATE", + 2: "UPDATE_CARD", + 3: "LINK_CARD", + } + ContextInfo_ForwardedNewsletterMessageInfo_ContentType_value = map[string]int32{ + "CONTENTTYPE_UNKNOWN": 0, + "UPDATE": 1, + "UPDATE_CARD": 2, + "LINK_CARD": 3, + } +) + +func (x ContextInfo_ForwardedNewsletterMessageInfo_ContentType) Enum() *ContextInfo_ForwardedNewsletterMessageInfo_ContentType { + p := new(ContextInfo_ForwardedNewsletterMessageInfo_ContentType) + *p = x + return p +} + +func (x ContextInfo_ForwardedNewsletterMessageInfo_ContentType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ContextInfo_ForwardedNewsletterMessageInfo_ContentType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[34].Descriptor() +} + +func (ContextInfo_ForwardedNewsletterMessageInfo_ContentType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[34] +} + +func (x ContextInfo_ForwardedNewsletterMessageInfo_ContentType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ContextInfo_ForwardedNewsletterMessageInfo_ContentType.Descriptor instead. +func (ContextInfo_ForwardedNewsletterMessageInfo_ContentType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{1, 0, 0} +} + +type ContextInfo_ExternalAdReplyInfo_MediaType int32 + +const ( + ContextInfo_ExternalAdReplyInfo_NONE ContextInfo_ExternalAdReplyInfo_MediaType = 0 + ContextInfo_ExternalAdReplyInfo_IMAGE ContextInfo_ExternalAdReplyInfo_MediaType = 1 + ContextInfo_ExternalAdReplyInfo_VIDEO ContextInfo_ExternalAdReplyInfo_MediaType = 2 +) + +// Enum value maps for ContextInfo_ExternalAdReplyInfo_MediaType. +var ( + ContextInfo_ExternalAdReplyInfo_MediaType_name = map[int32]string{ + 0: "NONE", + 1: "IMAGE", + 2: "VIDEO", + } + ContextInfo_ExternalAdReplyInfo_MediaType_value = map[string]int32{ + "NONE": 0, + "IMAGE": 1, + "VIDEO": 2, + } +) + +func (x ContextInfo_ExternalAdReplyInfo_MediaType) Enum() *ContextInfo_ExternalAdReplyInfo_MediaType { + p := new(ContextInfo_ExternalAdReplyInfo_MediaType) + *p = x + return p +} + +func (x ContextInfo_ExternalAdReplyInfo_MediaType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ContextInfo_ExternalAdReplyInfo_MediaType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[35].Descriptor() +} + +func (ContextInfo_ExternalAdReplyInfo_MediaType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[35] +} + +func (x ContextInfo_ExternalAdReplyInfo_MediaType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ContextInfo_ExternalAdReplyInfo_MediaType.Descriptor instead. +func (ContextInfo_ExternalAdReplyInfo_MediaType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{1, 1, 0} +} + +type ContextInfo_AdReplyInfo_MediaType int32 + +const ( + ContextInfo_AdReplyInfo_NONE ContextInfo_AdReplyInfo_MediaType = 0 + ContextInfo_AdReplyInfo_IMAGE ContextInfo_AdReplyInfo_MediaType = 1 + ContextInfo_AdReplyInfo_VIDEO ContextInfo_AdReplyInfo_MediaType = 2 +) + +// Enum value maps for ContextInfo_AdReplyInfo_MediaType. +var ( + ContextInfo_AdReplyInfo_MediaType_name = map[int32]string{ + 0: "NONE", + 1: "IMAGE", + 2: "VIDEO", + } + ContextInfo_AdReplyInfo_MediaType_value = map[string]int32{ + "NONE": 0, + "IMAGE": 1, + "VIDEO": 2, + } +) + +func (x ContextInfo_AdReplyInfo_MediaType) Enum() *ContextInfo_AdReplyInfo_MediaType { + p := new(ContextInfo_AdReplyInfo_MediaType) + *p = x + return p +} + +func (x ContextInfo_AdReplyInfo_MediaType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ContextInfo_AdReplyInfo_MediaType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[36].Descriptor() +} + +func (ContextInfo_AdReplyInfo_MediaType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[36] +} + +func (x ContextInfo_AdReplyInfo_MediaType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ContextInfo_AdReplyInfo_MediaType.Descriptor instead. +func (ContextInfo_AdReplyInfo_MediaType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{1, 2, 0} +} + +type BotPluginMetadata_PluginType int32 + +const ( + BotPluginMetadata_PLUGINTYPE_UNKNOWN BotPluginMetadata_PluginType = 0 + BotPluginMetadata_REELS BotPluginMetadata_PluginType = 1 + BotPluginMetadata_SEARCH BotPluginMetadata_PluginType = 2 +) + +// Enum value maps for BotPluginMetadata_PluginType. +var ( + BotPluginMetadata_PluginType_name = map[int32]string{ + 0: "PLUGINTYPE_UNKNOWN", + 1: "REELS", + 2: "SEARCH", + } + BotPluginMetadata_PluginType_value = map[string]int32{ + "PLUGINTYPE_UNKNOWN": 0, + "REELS": 1, + "SEARCH": 2, + } +) + +func (x BotPluginMetadata_PluginType) Enum() *BotPluginMetadata_PluginType { + p := new(BotPluginMetadata_PluginType) + *p = x + return p +} + +func (x BotPluginMetadata_PluginType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BotPluginMetadata_PluginType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[37].Descriptor() +} + +func (BotPluginMetadata_PluginType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[37] +} + +func (x BotPluginMetadata_PluginType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use BotPluginMetadata_PluginType.Descriptor instead. +func (BotPluginMetadata_PluginType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{2, 0} +} + +type BotPluginMetadata_SearchProvider int32 + +const ( + BotPluginMetadata_SEARCHPROVIDER_UNKNOWN BotPluginMetadata_SearchProvider = 0 + BotPluginMetadata_BING BotPluginMetadata_SearchProvider = 1 + BotPluginMetadata_GOOGLE BotPluginMetadata_SearchProvider = 2 +) + +// Enum value maps for BotPluginMetadata_SearchProvider. +var ( + BotPluginMetadata_SearchProvider_name = map[int32]string{ + 0: "SEARCHPROVIDER_UNKNOWN", + 1: "BING", + 2: "GOOGLE", + } + BotPluginMetadata_SearchProvider_value = map[string]int32{ + "SEARCHPROVIDER_UNKNOWN": 0, + "BING": 1, + "GOOGLE": 2, + } +) + +func (x BotPluginMetadata_SearchProvider) Enum() *BotPluginMetadata_SearchProvider { + p := new(BotPluginMetadata_SearchProvider) + *p = x + return p +} + +func (x BotPluginMetadata_SearchProvider) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BotPluginMetadata_SearchProvider) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[38].Descriptor() +} + +func (BotPluginMetadata_SearchProvider) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[38] +} + +func (x BotPluginMetadata_SearchProvider) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use BotPluginMetadata_SearchProvider.Descriptor instead. +func (BotPluginMetadata_SearchProvider) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{2, 1} +} + +type HydratedTemplateButton_HydratedURLButton_WebviewPresentationType int32 + +const ( + HydratedTemplateButton_HydratedURLButton_WEBVIEWPRESENTATIONTYPE_UNKNOWN HydratedTemplateButton_HydratedURLButton_WebviewPresentationType = 0 + HydratedTemplateButton_HydratedURLButton_FULL HydratedTemplateButton_HydratedURLButton_WebviewPresentationType = 1 + HydratedTemplateButton_HydratedURLButton_TALL HydratedTemplateButton_HydratedURLButton_WebviewPresentationType = 2 + HydratedTemplateButton_HydratedURLButton_COMPACT HydratedTemplateButton_HydratedURLButton_WebviewPresentationType = 3 +) + +// Enum value maps for HydratedTemplateButton_HydratedURLButton_WebviewPresentationType. +var ( + HydratedTemplateButton_HydratedURLButton_WebviewPresentationType_name = map[int32]string{ + 0: "WEBVIEWPRESENTATIONTYPE_UNKNOWN", + 1: "FULL", + 2: "TALL", + 3: "COMPACT", + } + HydratedTemplateButton_HydratedURLButton_WebviewPresentationType_value = map[string]int32{ + "WEBVIEWPRESENTATIONTYPE_UNKNOWN": 0, + "FULL": 1, + "TALL": 2, + "COMPACT": 3, + } +) + +func (x HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) Enum() *HydratedTemplateButton_HydratedURLButton_WebviewPresentationType { + p := new(HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) + *p = x + return p +} + +func (x HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[39].Descriptor() +} + +func (HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[39] +} + +func (x HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use HydratedTemplateButton_HydratedURLButton_WebviewPresentationType.Descriptor instead. +func (HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{3, 0, 0} +} + +type PaymentBackground_Type int32 + +const ( + PaymentBackground_UNKNOWN PaymentBackground_Type = 0 + PaymentBackground_DEFAULT PaymentBackground_Type = 1 +) + +// Enum value maps for PaymentBackground_Type. +var ( + PaymentBackground_Type_name = map[int32]string{ + 0: "UNKNOWN", + 1: "DEFAULT", + } + PaymentBackground_Type_value = map[string]int32{ + "UNKNOWN": 0, + "DEFAULT": 1, + } +) + +func (x PaymentBackground_Type) Enum() *PaymentBackground_Type { + p := new(PaymentBackground_Type) + *p = x + return p +} + +func (x PaymentBackground_Type) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PaymentBackground_Type) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[40].Descriptor() +} + +func (PaymentBackground_Type) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[40] +} + +func (x PaymentBackground_Type) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PaymentBackground_Type.Descriptor instead. +func (PaymentBackground_Type) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{4, 0} +} + +type DisappearingMode_Trigger int32 + +const ( + DisappearingMode_UNKNOWN DisappearingMode_Trigger = 0 + DisappearingMode_CHAT_SETTING DisappearingMode_Trigger = 1 + DisappearingMode_ACCOUNT_SETTING DisappearingMode_Trigger = 2 + DisappearingMode_BULK_CHANGE DisappearingMode_Trigger = 3 + DisappearingMode_TRIGGER_CHANGED_TO_COEX DisappearingMode_Trigger = 4 +) + +// Enum value maps for DisappearingMode_Trigger. +var ( + DisappearingMode_Trigger_name = map[int32]string{ + 0: "UNKNOWN", + 1: "CHAT_SETTING", + 2: "ACCOUNT_SETTING", + 3: "BULK_CHANGE", + 4: "TRIGGER_CHANGED_TO_COEX", + } + DisappearingMode_Trigger_value = map[string]int32{ + "UNKNOWN": 0, + "CHAT_SETTING": 1, + "ACCOUNT_SETTING": 2, + "BULK_CHANGE": 3, + "TRIGGER_CHANGED_TO_COEX": 4, + } +) + +func (x DisappearingMode_Trigger) Enum() *DisappearingMode_Trigger { + p := new(DisappearingMode_Trigger) + *p = x + return p +} + +func (x DisappearingMode_Trigger) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DisappearingMode_Trigger) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[41].Descriptor() +} + +func (DisappearingMode_Trigger) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[41] +} + +func (x DisappearingMode_Trigger) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DisappearingMode_Trigger.Descriptor instead. +func (DisappearingMode_Trigger) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{5, 0} +} + +type DisappearingMode_Initiator int32 + +const ( + DisappearingMode_CHANGED_IN_CHAT DisappearingMode_Initiator = 0 + DisappearingMode_INITIATED_BY_ME DisappearingMode_Initiator = 1 + DisappearingMode_INITIATED_BY_OTHER DisappearingMode_Initiator = 2 + DisappearingMode_CHANGED_TO_COEX DisappearingMode_Initiator = 3 +) + +// Enum value maps for DisappearingMode_Initiator. +var ( + DisappearingMode_Initiator_name = map[int32]string{ + 0: "CHANGED_IN_CHAT", + 1: "INITIATED_BY_ME", + 2: "INITIATED_BY_OTHER", + 3: "CHANGED_TO_COEX", + } + DisappearingMode_Initiator_value = map[string]int32{ + "CHANGED_IN_CHAT": 0, + "INITIATED_BY_ME": 1, + "INITIATED_BY_OTHER": 2, + "CHANGED_TO_COEX": 3, + } +) + +func (x DisappearingMode_Initiator) Enum() *DisappearingMode_Initiator { + p := new(DisappearingMode_Initiator) + *p = x + return p +} + +func (x DisappearingMode_Initiator) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DisappearingMode_Initiator) Descriptor() protoreflect.EnumDescriptor { + return file_waE2E_WAE2E_proto_enumTypes[42].Descriptor() +} + +func (DisappearingMode_Initiator) Type() protoreflect.EnumType { + return &file_waE2E_WAE2E_proto_enumTypes[42] +} + +func (x DisappearingMode_Initiator) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use DisappearingMode_Initiator.Descriptor instead. +func (DisappearingMode_Initiator) EnumDescriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{5, 1} +} + +type Message struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Conversation string `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"` + SenderKeyDistributionMessage *Message_SenderKeyDistributionMessage `protobuf:"bytes,2,opt,name=senderKeyDistributionMessage,proto3" json:"senderKeyDistributionMessage,omitempty"` + ImageMessage *Message_ImageMessage `protobuf:"bytes,3,opt,name=imageMessage,proto3" json:"imageMessage,omitempty"` + ContactMessage *Message_ContactMessage `protobuf:"bytes,4,opt,name=contactMessage,proto3" json:"contactMessage,omitempty"` + LocationMessage *Message_LocationMessage `protobuf:"bytes,5,opt,name=locationMessage,proto3" json:"locationMessage,omitempty"` + ExtendedTextMessage *Message_ExtendedTextMessage `protobuf:"bytes,6,opt,name=extendedTextMessage,proto3" json:"extendedTextMessage,omitempty"` + DocumentMessage *Message_DocumentMessage `protobuf:"bytes,7,opt,name=documentMessage,proto3" json:"documentMessage,omitempty"` + AudioMessage *Message_AudioMessage `protobuf:"bytes,8,opt,name=audioMessage,proto3" json:"audioMessage,omitempty"` + VideoMessage *Message_VideoMessage `protobuf:"bytes,9,opt,name=videoMessage,proto3" json:"videoMessage,omitempty"` + Call *Message_Call `protobuf:"bytes,10,opt,name=call,proto3" json:"call,omitempty"` + Chat *Message_Chat `protobuf:"bytes,11,opt,name=chat,proto3" json:"chat,omitempty"` + ProtocolMessage *Message_ProtocolMessage `protobuf:"bytes,12,opt,name=protocolMessage,proto3" json:"protocolMessage,omitempty"` + ContactsArrayMessage *Message_ContactsArrayMessage `protobuf:"bytes,13,opt,name=contactsArrayMessage,proto3" json:"contactsArrayMessage,omitempty"` + HighlyStructuredMessage *Message_HighlyStructuredMessage `protobuf:"bytes,14,opt,name=highlyStructuredMessage,proto3" json:"highlyStructuredMessage,omitempty"` + FastRatchetKeySenderKeyDistributionMessage *Message_SenderKeyDistributionMessage `protobuf:"bytes,15,opt,name=fastRatchetKeySenderKeyDistributionMessage,proto3" json:"fastRatchetKeySenderKeyDistributionMessage,omitempty"` + SendPaymentMessage *Message_SendPaymentMessage `protobuf:"bytes,16,opt,name=sendPaymentMessage,proto3" json:"sendPaymentMessage,omitempty"` + LiveLocationMessage *Message_LiveLocationMessage `protobuf:"bytes,18,opt,name=liveLocationMessage,proto3" json:"liveLocationMessage,omitempty"` + RequestPaymentMessage *Message_RequestPaymentMessage `protobuf:"bytes,22,opt,name=requestPaymentMessage,proto3" json:"requestPaymentMessage,omitempty"` + DeclinePaymentRequestMessage *Message_DeclinePaymentRequestMessage `protobuf:"bytes,23,opt,name=declinePaymentRequestMessage,proto3" json:"declinePaymentRequestMessage,omitempty"` + CancelPaymentRequestMessage *Message_CancelPaymentRequestMessage `protobuf:"bytes,24,opt,name=cancelPaymentRequestMessage,proto3" json:"cancelPaymentRequestMessage,omitempty"` + TemplateMessage *Message_TemplateMessage `protobuf:"bytes,25,opt,name=templateMessage,proto3" json:"templateMessage,omitempty"` + StickerMessage *Message_StickerMessage `protobuf:"bytes,26,opt,name=stickerMessage,proto3" json:"stickerMessage,omitempty"` + GroupInviteMessage *Message_GroupInviteMessage `protobuf:"bytes,28,opt,name=groupInviteMessage,proto3" json:"groupInviteMessage,omitempty"` + TemplateButtonReplyMessage *Message_TemplateButtonReplyMessage `protobuf:"bytes,29,opt,name=templateButtonReplyMessage,proto3" json:"templateButtonReplyMessage,omitempty"` + ProductMessage *Message_ProductMessage `protobuf:"bytes,30,opt,name=productMessage,proto3" json:"productMessage,omitempty"` + DeviceSentMessage *Message_DeviceSentMessage `protobuf:"bytes,31,opt,name=deviceSentMessage,proto3" json:"deviceSentMessage,omitempty"` + MessageContextInfo *MessageContextInfo `protobuf:"bytes,35,opt,name=messageContextInfo,proto3" json:"messageContextInfo,omitempty"` + ListMessage *Message_ListMessage `protobuf:"bytes,36,opt,name=listMessage,proto3" json:"listMessage,omitempty"` + ViewOnceMessage *Message_FutureProofMessage `protobuf:"bytes,37,opt,name=viewOnceMessage,proto3" json:"viewOnceMessage,omitempty"` + OrderMessage *Message_OrderMessage `protobuf:"bytes,38,opt,name=orderMessage,proto3" json:"orderMessage,omitempty"` + ListResponseMessage *Message_ListResponseMessage `protobuf:"bytes,39,opt,name=listResponseMessage,proto3" json:"listResponseMessage,omitempty"` + EphemeralMessage *Message_FutureProofMessage `protobuf:"bytes,40,opt,name=ephemeralMessage,proto3" json:"ephemeralMessage,omitempty"` + InvoiceMessage *Message_InvoiceMessage `protobuf:"bytes,41,opt,name=invoiceMessage,proto3" json:"invoiceMessage,omitempty"` + ButtonsMessage *Message_ButtonsMessage `protobuf:"bytes,42,opt,name=buttonsMessage,proto3" json:"buttonsMessage,omitempty"` + ButtonsResponseMessage *Message_ButtonsResponseMessage `protobuf:"bytes,43,opt,name=buttonsResponseMessage,proto3" json:"buttonsResponseMessage,omitempty"` + PaymentInviteMessage *Message_PaymentInviteMessage `protobuf:"bytes,44,opt,name=paymentInviteMessage,proto3" json:"paymentInviteMessage,omitempty"` + InteractiveMessage *Message_InteractiveMessage `protobuf:"bytes,45,opt,name=interactiveMessage,proto3" json:"interactiveMessage,omitempty"` + ReactionMessage *Message_ReactionMessage `protobuf:"bytes,46,opt,name=reactionMessage,proto3" json:"reactionMessage,omitempty"` + StickerSyncRmrMessage *Message_StickerSyncRMRMessage `protobuf:"bytes,47,opt,name=stickerSyncRmrMessage,proto3" json:"stickerSyncRmrMessage,omitempty"` + InteractiveResponseMessage *Message_InteractiveResponseMessage `protobuf:"bytes,48,opt,name=interactiveResponseMessage,proto3" json:"interactiveResponseMessage,omitempty"` + PollCreationMessage *Message_PollCreationMessage `protobuf:"bytes,49,opt,name=pollCreationMessage,proto3" json:"pollCreationMessage,omitempty"` + PollUpdateMessage *Message_PollUpdateMessage `protobuf:"bytes,50,opt,name=pollUpdateMessage,proto3" json:"pollUpdateMessage,omitempty"` + KeepInChatMessage *Message_KeepInChatMessage `protobuf:"bytes,51,opt,name=keepInChatMessage,proto3" json:"keepInChatMessage,omitempty"` + DocumentWithCaptionMessage *Message_FutureProofMessage `protobuf:"bytes,53,opt,name=documentWithCaptionMessage,proto3" json:"documentWithCaptionMessage,omitempty"` + RequestPhoneNumberMessage *Message_RequestPhoneNumberMessage `protobuf:"bytes,54,opt,name=requestPhoneNumberMessage,proto3" json:"requestPhoneNumberMessage,omitempty"` + ViewOnceMessageV2 *Message_FutureProofMessage `protobuf:"bytes,55,opt,name=viewOnceMessageV2,proto3" json:"viewOnceMessageV2,omitempty"` + EncReactionMessage *Message_EncReactionMessage `protobuf:"bytes,56,opt,name=encReactionMessage,proto3" json:"encReactionMessage,omitempty"` + EditedMessage *Message_FutureProofMessage `protobuf:"bytes,58,opt,name=editedMessage,proto3" json:"editedMessage,omitempty"` + ViewOnceMessageV2Extension *Message_FutureProofMessage `protobuf:"bytes,59,opt,name=viewOnceMessageV2Extension,proto3" json:"viewOnceMessageV2Extension,omitempty"` + PollCreationMessageV2 *Message_PollCreationMessage `protobuf:"bytes,60,opt,name=pollCreationMessageV2,proto3" json:"pollCreationMessageV2,omitempty"` + ScheduledCallCreationMessage *Message_ScheduledCallCreationMessage `protobuf:"bytes,61,opt,name=scheduledCallCreationMessage,proto3" json:"scheduledCallCreationMessage,omitempty"` + GroupMentionedMessage *Message_FutureProofMessage `protobuf:"bytes,62,opt,name=groupMentionedMessage,proto3" json:"groupMentionedMessage,omitempty"` + PinInChatMessage *Message_PinInChatMessage `protobuf:"bytes,63,opt,name=pinInChatMessage,proto3" json:"pinInChatMessage,omitempty"` + PollCreationMessageV3 *Message_PollCreationMessage `protobuf:"bytes,64,opt,name=pollCreationMessageV3,proto3" json:"pollCreationMessageV3,omitempty"` + ScheduledCallEditMessage *Message_ScheduledCallEditMessage `protobuf:"bytes,65,opt,name=scheduledCallEditMessage,proto3" json:"scheduledCallEditMessage,omitempty"` + PtvMessage *Message_VideoMessage `protobuf:"bytes,66,opt,name=ptvMessage,proto3" json:"ptvMessage,omitempty"` + BotInvokeMessage *Message_FutureProofMessage `protobuf:"bytes,67,opt,name=botInvokeMessage,proto3" json:"botInvokeMessage,omitempty"` + CallLogMesssage *Message_CallLogMessage `protobuf:"bytes,69,opt,name=callLogMesssage,proto3" json:"callLogMesssage,omitempty"` + MessageHistoryBundle *Message_MessageHistoryBundle `protobuf:"bytes,70,opt,name=messageHistoryBundle,proto3" json:"messageHistoryBundle,omitempty"` + EncCommentMessage *Message_EncCommentMessage `protobuf:"bytes,71,opt,name=encCommentMessage,proto3" json:"encCommentMessage,omitempty"` + BcallMessage *Message_BCallMessage `protobuf:"bytes,72,opt,name=bcallMessage,proto3" json:"bcallMessage,omitempty"` + LottieStickerMessage *Message_FutureProofMessage `protobuf:"bytes,74,opt,name=lottieStickerMessage,proto3" json:"lottieStickerMessage,omitempty"` + EventMessage *Message_EventMessage `protobuf:"bytes,75,opt,name=eventMessage,proto3" json:"eventMessage,omitempty"` + EncEventResponseMessage *Message_EncEventResponseMessage `protobuf:"bytes,76,opt,name=encEventResponseMessage,proto3" json:"encEventResponseMessage,omitempty"` + CommentMessage *Message_CommentMessage `protobuf:"bytes,77,opt,name=commentMessage,proto3" json:"commentMessage,omitempty"` + NewsletterAdminInviteMessage *Message_NewsletterAdminInviteMessage `protobuf:"bytes,78,opt,name=newsletterAdminInviteMessage,proto3" json:"newsletterAdminInviteMessage,omitempty"` + ExtendedTextMessageWithParentKey *Message_ExtendedTextMessageWithParentKey `protobuf:"bytes,79,opt,name=extendedTextMessageWithParentKey,proto3" json:"extendedTextMessageWithParentKey,omitempty"` + PlaceholderMessage *Message_PlaceholderMessage `protobuf:"bytes,80,opt,name=placeholderMessage,proto3" json:"placeholderMessage,omitempty"` +} + +func (x *Message) Reset() { + *x = Message{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message) ProtoMessage() {} + +func (x *Message) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message.ProtoReflect.Descriptor instead. +func (*Message) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0} +} + +func (x *Message) GetConversation() string { + if x != nil { + return x.Conversation + } + return "" +} + +func (x *Message) GetSenderKeyDistributionMessage() *Message_SenderKeyDistributionMessage { + if x != nil { + return x.SenderKeyDistributionMessage + } + return nil +} + +func (x *Message) GetImageMessage() *Message_ImageMessage { + if x != nil { + return x.ImageMessage + } + return nil +} + +func (x *Message) GetContactMessage() *Message_ContactMessage { + if x != nil { + return x.ContactMessage + } + return nil +} + +func (x *Message) GetLocationMessage() *Message_LocationMessage { + if x != nil { + return x.LocationMessage + } + return nil +} + +func (x *Message) GetExtendedTextMessage() *Message_ExtendedTextMessage { + if x != nil { + return x.ExtendedTextMessage + } + return nil +} + +func (x *Message) GetDocumentMessage() *Message_DocumentMessage { + if x != nil { + return x.DocumentMessage + } + return nil +} + +func (x *Message) GetAudioMessage() *Message_AudioMessage { + if x != nil { + return x.AudioMessage + } + return nil +} + +func (x *Message) GetVideoMessage() *Message_VideoMessage { + if x != nil { + return x.VideoMessage + } + return nil +} + +func (x *Message) GetCall() *Message_Call { + if x != nil { + return x.Call + } + return nil +} + +func (x *Message) GetChat() *Message_Chat { + if x != nil { + return x.Chat + } + return nil +} + +func (x *Message) GetProtocolMessage() *Message_ProtocolMessage { + if x != nil { + return x.ProtocolMessage + } + return nil +} + +func (x *Message) GetContactsArrayMessage() *Message_ContactsArrayMessage { + if x != nil { + return x.ContactsArrayMessage + } + return nil +} + +func (x *Message) GetHighlyStructuredMessage() *Message_HighlyStructuredMessage { + if x != nil { + return x.HighlyStructuredMessage + } + return nil +} + +func (x *Message) GetFastRatchetKeySenderKeyDistributionMessage() *Message_SenderKeyDistributionMessage { + if x != nil { + return x.FastRatchetKeySenderKeyDistributionMessage + } + return nil +} + +func (x *Message) GetSendPaymentMessage() *Message_SendPaymentMessage { + if x != nil { + return x.SendPaymentMessage + } + return nil +} + +func (x *Message) GetLiveLocationMessage() *Message_LiveLocationMessage { + if x != nil { + return x.LiveLocationMessage + } + return nil +} + +func (x *Message) GetRequestPaymentMessage() *Message_RequestPaymentMessage { + if x != nil { + return x.RequestPaymentMessage + } + return nil +} + +func (x *Message) GetDeclinePaymentRequestMessage() *Message_DeclinePaymentRequestMessage { + if x != nil { + return x.DeclinePaymentRequestMessage + } + return nil +} + +func (x *Message) GetCancelPaymentRequestMessage() *Message_CancelPaymentRequestMessage { + if x != nil { + return x.CancelPaymentRequestMessage + } + return nil +} + +func (x *Message) GetTemplateMessage() *Message_TemplateMessage { + if x != nil { + return x.TemplateMessage + } + return nil +} + +func (x *Message) GetStickerMessage() *Message_StickerMessage { + if x != nil { + return x.StickerMessage + } + return nil +} + +func (x *Message) GetGroupInviteMessage() *Message_GroupInviteMessage { + if x != nil { + return x.GroupInviteMessage + } + return nil +} + +func (x *Message) GetTemplateButtonReplyMessage() *Message_TemplateButtonReplyMessage { + if x != nil { + return x.TemplateButtonReplyMessage + } + return nil +} + +func (x *Message) GetProductMessage() *Message_ProductMessage { + if x != nil { + return x.ProductMessage + } + return nil +} + +func (x *Message) GetDeviceSentMessage() *Message_DeviceSentMessage { + if x != nil { + return x.DeviceSentMessage + } + return nil +} + +func (x *Message) GetMessageContextInfo() *MessageContextInfo { + if x != nil { + return x.MessageContextInfo + } + return nil +} + +func (x *Message) GetListMessage() *Message_ListMessage { + if x != nil { + return x.ListMessage + } + return nil +} + +func (x *Message) GetViewOnceMessage() *Message_FutureProofMessage { + if x != nil { + return x.ViewOnceMessage + } + return nil +} + +func (x *Message) GetOrderMessage() *Message_OrderMessage { + if x != nil { + return x.OrderMessage + } + return nil +} + +func (x *Message) GetListResponseMessage() *Message_ListResponseMessage { + if x != nil { + return x.ListResponseMessage + } + return nil +} + +func (x *Message) GetEphemeralMessage() *Message_FutureProofMessage { + if x != nil { + return x.EphemeralMessage + } + return nil +} + +func (x *Message) GetInvoiceMessage() *Message_InvoiceMessage { + if x != nil { + return x.InvoiceMessage + } + return nil +} + +func (x *Message) GetButtonsMessage() *Message_ButtonsMessage { + if x != nil { + return x.ButtonsMessage + } + return nil +} + +func (x *Message) GetButtonsResponseMessage() *Message_ButtonsResponseMessage { + if x != nil { + return x.ButtonsResponseMessage + } + return nil +} + +func (x *Message) GetPaymentInviteMessage() *Message_PaymentInviteMessage { + if x != nil { + return x.PaymentInviteMessage + } + return nil +} + +func (x *Message) GetInteractiveMessage() *Message_InteractiveMessage { + if x != nil { + return x.InteractiveMessage + } + return nil +} + +func (x *Message) GetReactionMessage() *Message_ReactionMessage { + if x != nil { + return x.ReactionMessage + } + return nil +} + +func (x *Message) GetStickerSyncRmrMessage() *Message_StickerSyncRMRMessage { + if x != nil { + return x.StickerSyncRmrMessage + } + return nil +} + +func (x *Message) GetInteractiveResponseMessage() *Message_InteractiveResponseMessage { + if x != nil { + return x.InteractiveResponseMessage + } + return nil +} + +func (x *Message) GetPollCreationMessage() *Message_PollCreationMessage { + if x != nil { + return x.PollCreationMessage + } + return nil +} + +func (x *Message) GetPollUpdateMessage() *Message_PollUpdateMessage { + if x != nil { + return x.PollUpdateMessage + } + return nil +} + +func (x *Message) GetKeepInChatMessage() *Message_KeepInChatMessage { + if x != nil { + return x.KeepInChatMessage + } + return nil +} + +func (x *Message) GetDocumentWithCaptionMessage() *Message_FutureProofMessage { + if x != nil { + return x.DocumentWithCaptionMessage + } + return nil +} + +func (x *Message) GetRequestPhoneNumberMessage() *Message_RequestPhoneNumberMessage { + if x != nil { + return x.RequestPhoneNumberMessage + } + return nil +} + +func (x *Message) GetViewOnceMessageV2() *Message_FutureProofMessage { + if x != nil { + return x.ViewOnceMessageV2 + } + return nil +} + +func (x *Message) GetEncReactionMessage() *Message_EncReactionMessage { + if x != nil { + return x.EncReactionMessage + } + return nil +} + +func (x *Message) GetEditedMessage() *Message_FutureProofMessage { + if x != nil { + return x.EditedMessage + } + return nil +} + +func (x *Message) GetViewOnceMessageV2Extension() *Message_FutureProofMessage { + if x != nil { + return x.ViewOnceMessageV2Extension + } + return nil +} + +func (x *Message) GetPollCreationMessageV2() *Message_PollCreationMessage { + if x != nil { + return x.PollCreationMessageV2 + } + return nil +} + +func (x *Message) GetScheduledCallCreationMessage() *Message_ScheduledCallCreationMessage { + if x != nil { + return x.ScheduledCallCreationMessage + } + return nil +} + +func (x *Message) GetGroupMentionedMessage() *Message_FutureProofMessage { + if x != nil { + return x.GroupMentionedMessage + } + return nil +} + +func (x *Message) GetPinInChatMessage() *Message_PinInChatMessage { + if x != nil { + return x.PinInChatMessage + } + return nil +} + +func (x *Message) GetPollCreationMessageV3() *Message_PollCreationMessage { + if x != nil { + return x.PollCreationMessageV3 + } + return nil +} + +func (x *Message) GetScheduledCallEditMessage() *Message_ScheduledCallEditMessage { + if x != nil { + return x.ScheduledCallEditMessage + } + return nil +} + +func (x *Message) GetPtvMessage() *Message_VideoMessage { + if x != nil { + return x.PtvMessage + } + return nil +} + +func (x *Message) GetBotInvokeMessage() *Message_FutureProofMessage { + if x != nil { + return x.BotInvokeMessage + } + return nil +} + +func (x *Message) GetCallLogMesssage() *Message_CallLogMessage { + if x != nil { + return x.CallLogMesssage + } + return nil +} + +func (x *Message) GetMessageHistoryBundle() *Message_MessageHistoryBundle { + if x != nil { + return x.MessageHistoryBundle + } + return nil +} + +func (x *Message) GetEncCommentMessage() *Message_EncCommentMessage { + if x != nil { + return x.EncCommentMessage + } + return nil +} + +func (x *Message) GetBcallMessage() *Message_BCallMessage { + if x != nil { + return x.BcallMessage + } + return nil +} + +func (x *Message) GetLottieStickerMessage() *Message_FutureProofMessage { + if x != nil { + return x.LottieStickerMessage + } + return nil +} + +func (x *Message) GetEventMessage() *Message_EventMessage { + if x != nil { + return x.EventMessage + } + return nil +} + +func (x *Message) GetEncEventResponseMessage() *Message_EncEventResponseMessage { + if x != nil { + return x.EncEventResponseMessage + } + return nil +} + +func (x *Message) GetCommentMessage() *Message_CommentMessage { + if x != nil { + return x.CommentMessage + } + return nil +} + +func (x *Message) GetNewsletterAdminInviteMessage() *Message_NewsletterAdminInviteMessage { + if x != nil { + return x.NewsletterAdminInviteMessage + } + return nil +} + +func (x *Message) GetExtendedTextMessageWithParentKey() *Message_ExtendedTextMessageWithParentKey { + if x != nil { + return x.ExtendedTextMessageWithParentKey + } + return nil +} + +func (x *Message) GetPlaceholderMessage() *Message_PlaceholderMessage { + if x != nil { + return x.PlaceholderMessage + } + return nil +} + +type ContextInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StanzaID string `protobuf:"bytes,1,opt,name=stanzaID,proto3" json:"stanzaID,omitempty"` + Participant string `protobuf:"bytes,2,opt,name=participant,proto3" json:"participant,omitempty"` + QuotedMessage *Message `protobuf:"bytes,3,opt,name=quotedMessage,proto3" json:"quotedMessage,omitempty"` + RemoteJID string `protobuf:"bytes,4,opt,name=remoteJID,proto3" json:"remoteJID,omitempty"` + MentionedJID []string `protobuf:"bytes,15,rep,name=mentionedJID,proto3" json:"mentionedJID,omitempty"` + ConversionSource string `protobuf:"bytes,18,opt,name=conversionSource,proto3" json:"conversionSource,omitempty"` + ConversionData []byte `protobuf:"bytes,19,opt,name=conversionData,proto3" json:"conversionData,omitempty"` + ConversionDelaySeconds uint32 `protobuf:"varint,20,opt,name=conversionDelaySeconds,proto3" json:"conversionDelaySeconds,omitempty"` + ForwardingScore uint32 `protobuf:"varint,21,opt,name=forwardingScore,proto3" json:"forwardingScore,omitempty"` + IsForwarded bool `protobuf:"varint,22,opt,name=isForwarded,proto3" json:"isForwarded,omitempty"` + QuotedAd *ContextInfo_AdReplyInfo `protobuf:"bytes,23,opt,name=quotedAd,proto3" json:"quotedAd,omitempty"` + PlaceholderKey *waCommon.MessageKey `protobuf:"bytes,24,opt,name=placeholderKey,proto3" json:"placeholderKey,omitempty"` + Expiration uint32 `protobuf:"varint,25,opt,name=expiration,proto3" json:"expiration,omitempty"` + EphemeralSettingTimestamp int64 `protobuf:"varint,26,opt,name=ephemeralSettingTimestamp,proto3" json:"ephemeralSettingTimestamp,omitempty"` + EphemeralSharedSecret []byte `protobuf:"bytes,27,opt,name=ephemeralSharedSecret,proto3" json:"ephemeralSharedSecret,omitempty"` + ExternalAdReply *ContextInfo_ExternalAdReplyInfo `protobuf:"bytes,28,opt,name=externalAdReply,proto3" json:"externalAdReply,omitempty"` + EntryPointConversionSource string `protobuf:"bytes,29,opt,name=entryPointConversionSource,proto3" json:"entryPointConversionSource,omitempty"` + EntryPointConversionApp string `protobuf:"bytes,30,opt,name=entryPointConversionApp,proto3" json:"entryPointConversionApp,omitempty"` + EntryPointConversionDelaySeconds uint32 `protobuf:"varint,31,opt,name=entryPointConversionDelaySeconds,proto3" json:"entryPointConversionDelaySeconds,omitempty"` + DisappearingMode *DisappearingMode `protobuf:"bytes,32,opt,name=disappearingMode,proto3" json:"disappearingMode,omitempty"` + ActionLink *ActionLink `protobuf:"bytes,33,opt,name=actionLink,proto3" json:"actionLink,omitempty"` + GroupSubject string `protobuf:"bytes,34,opt,name=groupSubject,proto3" json:"groupSubject,omitempty"` + ParentGroupJID string `protobuf:"bytes,35,opt,name=parentGroupJID,proto3" json:"parentGroupJID,omitempty"` + TrustBannerType string `protobuf:"bytes,37,opt,name=trustBannerType,proto3" json:"trustBannerType,omitempty"` + TrustBannerAction uint32 `protobuf:"varint,38,opt,name=trustBannerAction,proto3" json:"trustBannerAction,omitempty"` + IsSampled bool `protobuf:"varint,39,opt,name=isSampled,proto3" json:"isSampled,omitempty"` + GroupMentions []*GroupMention `protobuf:"bytes,40,rep,name=groupMentions,proto3" json:"groupMentions,omitempty"` + Utm *ContextInfo_UTMInfo `protobuf:"bytes,41,opt,name=utm,proto3" json:"utm,omitempty"` + ForwardedNewsletterMessageInfo *ContextInfo_ForwardedNewsletterMessageInfo `protobuf:"bytes,43,opt,name=forwardedNewsletterMessageInfo,proto3" json:"forwardedNewsletterMessageInfo,omitempty"` + BusinessMessageForwardInfo *ContextInfo_BusinessMessageForwardInfo `protobuf:"bytes,44,opt,name=businessMessageForwardInfo,proto3" json:"businessMessageForwardInfo,omitempty"` + SmbClientCampaignID string `protobuf:"bytes,45,opt,name=smbClientCampaignID,proto3" json:"smbClientCampaignID,omitempty"` + SmbServerCampaignID string `protobuf:"bytes,46,opt,name=smbServerCampaignID,proto3" json:"smbServerCampaignID,omitempty"` + DataSharingContext *ContextInfo_DataSharingContext `protobuf:"bytes,47,opt,name=dataSharingContext,proto3" json:"dataSharingContext,omitempty"` +} + +func (x *ContextInfo) Reset() { + *x = ContextInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContextInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContextInfo) ProtoMessage() {} + +func (x *ContextInfo) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContextInfo.ProtoReflect.Descriptor instead. +func (*ContextInfo) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{1} +} + +func (x *ContextInfo) GetStanzaID() string { + if x != nil { + return x.StanzaID + } + return "" +} + +func (x *ContextInfo) GetParticipant() string { + if x != nil { + return x.Participant + } + return "" +} + +func (x *ContextInfo) GetQuotedMessage() *Message { + if x != nil { + return x.QuotedMessage + } + return nil +} + +func (x *ContextInfo) GetRemoteJID() string { + if x != nil { + return x.RemoteJID + } + return "" +} + +func (x *ContextInfo) GetMentionedJID() []string { + if x != nil { + return x.MentionedJID + } + return nil +} + +func (x *ContextInfo) GetConversionSource() string { + if x != nil { + return x.ConversionSource + } + return "" +} + +func (x *ContextInfo) GetConversionData() []byte { + if x != nil { + return x.ConversionData + } + return nil +} + +func (x *ContextInfo) GetConversionDelaySeconds() uint32 { + if x != nil { + return x.ConversionDelaySeconds + } + return 0 +} + +func (x *ContextInfo) GetForwardingScore() uint32 { + if x != nil { + return x.ForwardingScore + } + return 0 +} + +func (x *ContextInfo) GetIsForwarded() bool { + if x != nil { + return x.IsForwarded + } + return false +} + +func (x *ContextInfo) GetQuotedAd() *ContextInfo_AdReplyInfo { + if x != nil { + return x.QuotedAd + } + return nil +} + +func (x *ContextInfo) GetPlaceholderKey() *waCommon.MessageKey { + if x != nil { + return x.PlaceholderKey + } + return nil +} + +func (x *ContextInfo) GetExpiration() uint32 { + if x != nil { + return x.Expiration + } + return 0 +} + +func (x *ContextInfo) GetEphemeralSettingTimestamp() int64 { + if x != nil { + return x.EphemeralSettingTimestamp + } + return 0 +} + +func (x *ContextInfo) GetEphemeralSharedSecret() []byte { + if x != nil { + return x.EphemeralSharedSecret + } + return nil +} + +func (x *ContextInfo) GetExternalAdReply() *ContextInfo_ExternalAdReplyInfo { + if x != nil { + return x.ExternalAdReply + } + return nil +} + +func (x *ContextInfo) GetEntryPointConversionSource() string { + if x != nil { + return x.EntryPointConversionSource + } + return "" +} + +func (x *ContextInfo) GetEntryPointConversionApp() string { + if x != nil { + return x.EntryPointConversionApp + } + return "" +} + +func (x *ContextInfo) GetEntryPointConversionDelaySeconds() uint32 { + if x != nil { + return x.EntryPointConversionDelaySeconds + } + return 0 +} + +func (x *ContextInfo) GetDisappearingMode() *DisappearingMode { + if x != nil { + return x.DisappearingMode + } + return nil +} + +func (x *ContextInfo) GetActionLink() *ActionLink { + if x != nil { + return x.ActionLink + } + return nil +} + +func (x *ContextInfo) GetGroupSubject() string { + if x != nil { + return x.GroupSubject + } + return "" +} + +func (x *ContextInfo) GetParentGroupJID() string { + if x != nil { + return x.ParentGroupJID + } + return "" +} + +func (x *ContextInfo) GetTrustBannerType() string { + if x != nil { + return x.TrustBannerType + } + return "" +} + +func (x *ContextInfo) GetTrustBannerAction() uint32 { + if x != nil { + return x.TrustBannerAction + } + return 0 +} + +func (x *ContextInfo) GetIsSampled() bool { + if x != nil { + return x.IsSampled + } + return false +} + +func (x *ContextInfo) GetGroupMentions() []*GroupMention { + if x != nil { + return x.GroupMentions + } + return nil +} + +func (x *ContextInfo) GetUtm() *ContextInfo_UTMInfo { + if x != nil { + return x.Utm + } + return nil +} + +func (x *ContextInfo) GetForwardedNewsletterMessageInfo() *ContextInfo_ForwardedNewsletterMessageInfo { + if x != nil { + return x.ForwardedNewsletterMessageInfo + } + return nil +} + +func (x *ContextInfo) GetBusinessMessageForwardInfo() *ContextInfo_BusinessMessageForwardInfo { + if x != nil { + return x.BusinessMessageForwardInfo + } + return nil +} + +func (x *ContextInfo) GetSmbClientCampaignID() string { + if x != nil { + return x.SmbClientCampaignID + } + return "" +} + +func (x *ContextInfo) GetSmbServerCampaignID() string { + if x != nil { + return x.SmbServerCampaignID + } + return "" +} + +func (x *ContextInfo) GetDataSharingContext() *ContextInfo_DataSharingContext { + if x != nil { + return x.DataSharingContext + } + return nil +} + +type BotPluginMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Provider BotPluginMetadata_SearchProvider `protobuf:"varint,1,opt,name=provider,proto3,enum=WAE2E.BotPluginMetadata_SearchProvider" json:"provider,omitempty"` + PluginType BotPluginMetadata_PluginType `protobuf:"varint,2,opt,name=pluginType,proto3,enum=WAE2E.BotPluginMetadata_PluginType" json:"pluginType,omitempty"` + ThumbnailCDNURL string `protobuf:"bytes,3,opt,name=thumbnailCDNURL,proto3" json:"thumbnailCDNURL,omitempty"` + ProfilePhotoCDNURL string `protobuf:"bytes,4,opt,name=profilePhotoCDNURL,proto3" json:"profilePhotoCDNURL,omitempty"` + SearchProviderURL string `protobuf:"bytes,5,opt,name=searchProviderURL,proto3" json:"searchProviderURL,omitempty"` + ReferenceIndex uint32 `protobuf:"varint,6,opt,name=referenceIndex,proto3" json:"referenceIndex,omitempty"` + ExpectedLinksCount uint32 `protobuf:"varint,7,opt,name=expectedLinksCount,proto3" json:"expectedLinksCount,omitempty"` + PluginVersion uint32 `protobuf:"varint,8,opt,name=pluginVersion,proto3" json:"pluginVersion,omitempty"` +} + +func (x *BotPluginMetadata) Reset() { + *x = BotPluginMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BotPluginMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BotPluginMetadata) ProtoMessage() {} + +func (x *BotPluginMetadata) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BotPluginMetadata.ProtoReflect.Descriptor instead. +func (*BotPluginMetadata) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{2} +} + +func (x *BotPluginMetadata) GetProvider() BotPluginMetadata_SearchProvider { + if x != nil { + return x.Provider + } + return BotPluginMetadata_SEARCHPROVIDER_UNKNOWN +} + +func (x *BotPluginMetadata) GetPluginType() BotPluginMetadata_PluginType { + if x != nil { + return x.PluginType + } + return BotPluginMetadata_PLUGINTYPE_UNKNOWN +} + +func (x *BotPluginMetadata) GetThumbnailCDNURL() string { + if x != nil { + return x.ThumbnailCDNURL + } + return "" +} + +func (x *BotPluginMetadata) GetProfilePhotoCDNURL() string { + if x != nil { + return x.ProfilePhotoCDNURL + } + return "" +} + +func (x *BotPluginMetadata) GetSearchProviderURL() string { + if x != nil { + return x.SearchProviderURL + } + return "" +} + +func (x *BotPluginMetadata) GetReferenceIndex() uint32 { + if x != nil { + return x.ReferenceIndex + } + return 0 +} + +func (x *BotPluginMetadata) GetExpectedLinksCount() uint32 { + if x != nil { + return x.ExpectedLinksCount + } + return 0 +} + +func (x *BotPluginMetadata) GetPluginVersion() uint32 { + if x != nil { + return x.PluginVersion + } + return 0 +} + +type HydratedTemplateButton struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to HydratedButton: + // + // *HydratedTemplateButton_QuickReplyButton + // *HydratedTemplateButton_UrlButton + // *HydratedTemplateButton_CallButton + HydratedButton isHydratedTemplateButton_HydratedButton `protobuf_oneof:"hydratedButton"` + Index uint32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` +} + +func (x *HydratedTemplateButton) Reset() { + *x = HydratedTemplateButton{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HydratedTemplateButton) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HydratedTemplateButton) ProtoMessage() {} + +func (x *HydratedTemplateButton) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HydratedTemplateButton.ProtoReflect.Descriptor instead. +func (*HydratedTemplateButton) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{3} +} + +func (m *HydratedTemplateButton) GetHydratedButton() isHydratedTemplateButton_HydratedButton { + if m != nil { + return m.HydratedButton + } + return nil +} + +func (x *HydratedTemplateButton) GetQuickReplyButton() *HydratedTemplateButton_HydratedQuickReplyButton { + if x, ok := x.GetHydratedButton().(*HydratedTemplateButton_QuickReplyButton); ok { + return x.QuickReplyButton + } + return nil +} + +func (x *HydratedTemplateButton) GetUrlButton() *HydratedTemplateButton_HydratedURLButton { + if x, ok := x.GetHydratedButton().(*HydratedTemplateButton_UrlButton); ok { + return x.UrlButton + } + return nil +} + +func (x *HydratedTemplateButton) GetCallButton() *HydratedTemplateButton_HydratedCallButton { + if x, ok := x.GetHydratedButton().(*HydratedTemplateButton_CallButton); ok { + return x.CallButton + } + return nil +} + +func (x *HydratedTemplateButton) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +type isHydratedTemplateButton_HydratedButton interface { + isHydratedTemplateButton_HydratedButton() +} + +type HydratedTemplateButton_QuickReplyButton struct { + QuickReplyButton *HydratedTemplateButton_HydratedQuickReplyButton `protobuf:"bytes,1,opt,name=quickReplyButton,proto3,oneof"` +} + +type HydratedTemplateButton_UrlButton struct { + UrlButton *HydratedTemplateButton_HydratedURLButton `protobuf:"bytes,2,opt,name=urlButton,proto3,oneof"` +} + +type HydratedTemplateButton_CallButton struct { + CallButton *HydratedTemplateButton_HydratedCallButton `protobuf:"bytes,3,opt,name=callButton,proto3,oneof"` +} + +func (*HydratedTemplateButton_QuickReplyButton) isHydratedTemplateButton_HydratedButton() {} + +func (*HydratedTemplateButton_UrlButton) isHydratedTemplateButton_HydratedButton() {} + +func (*HydratedTemplateButton_CallButton) isHydratedTemplateButton_HydratedButton() {} + +type PaymentBackground struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` + FileLength uint64 `protobuf:"varint,2,opt,name=fileLength,proto3" json:"fileLength,omitempty"` + Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` + Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` + Mimetype string `protobuf:"bytes,5,opt,name=mimetype,proto3" json:"mimetype,omitempty"` + PlaceholderArgb uint32 `protobuf:"fixed32,6,opt,name=placeholderArgb,proto3" json:"placeholderArgb,omitempty"` + TextArgb uint32 `protobuf:"fixed32,7,opt,name=textArgb,proto3" json:"textArgb,omitempty"` + SubtextArgb uint32 `protobuf:"fixed32,8,opt,name=subtextArgb,proto3" json:"subtextArgb,omitempty"` + MediaData *PaymentBackground_MediaData `protobuf:"bytes,9,opt,name=mediaData,proto3" json:"mediaData,omitempty"` + Type PaymentBackground_Type `protobuf:"varint,10,opt,name=type,proto3,enum=WAE2E.PaymentBackground_Type" json:"type,omitempty"` +} + +func (x *PaymentBackground) Reset() { + *x = PaymentBackground{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PaymentBackground) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PaymentBackground) ProtoMessage() {} + +func (x *PaymentBackground) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PaymentBackground.ProtoReflect.Descriptor instead. +func (*PaymentBackground) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{4} +} + +func (x *PaymentBackground) GetID() string { + if x != nil { + return x.ID + } + return "" +} + +func (x *PaymentBackground) GetFileLength() uint64 { + if x != nil { + return x.FileLength + } + return 0 +} + +func (x *PaymentBackground) GetWidth() uint32 { + if x != nil { + return x.Width + } + return 0 +} + +func (x *PaymentBackground) GetHeight() uint32 { + if x != nil { + return x.Height + } + return 0 +} + +func (x *PaymentBackground) GetMimetype() string { + if x != nil { + return x.Mimetype + } + return "" +} + +func (x *PaymentBackground) GetPlaceholderArgb() uint32 { + if x != nil { + return x.PlaceholderArgb + } + return 0 +} + +func (x *PaymentBackground) GetTextArgb() uint32 { + if x != nil { + return x.TextArgb + } + return 0 +} + +func (x *PaymentBackground) GetSubtextArgb() uint32 { + if x != nil { + return x.SubtextArgb + } + return 0 +} + +func (x *PaymentBackground) GetMediaData() *PaymentBackground_MediaData { + if x != nil { + return x.MediaData + } + return nil +} + +func (x *PaymentBackground) GetType() PaymentBackground_Type { + if x != nil { + return x.Type + } + return PaymentBackground_UNKNOWN +} + +type DisappearingMode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Initiator DisappearingMode_Initiator `protobuf:"varint,1,opt,name=initiator,proto3,enum=WAE2E.DisappearingMode_Initiator" json:"initiator,omitempty"` + Trigger DisappearingMode_Trigger `protobuf:"varint,2,opt,name=trigger,proto3,enum=WAE2E.DisappearingMode_Trigger" json:"trigger,omitempty"` + InitiatorDeviceJID string `protobuf:"bytes,3,opt,name=initiatorDeviceJID,proto3" json:"initiatorDeviceJID,omitempty"` + InitiatedByMe bool `protobuf:"varint,4,opt,name=initiatedByMe,proto3" json:"initiatedByMe,omitempty"` +} + +func (x *DisappearingMode) Reset() { + *x = DisappearingMode{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisappearingMode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisappearingMode) ProtoMessage() {} + +func (x *DisappearingMode) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisappearingMode.ProtoReflect.Descriptor instead. +func (*DisappearingMode) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{5} +} + +func (x *DisappearingMode) GetInitiator() DisappearingMode_Initiator { + if x != nil { + return x.Initiator + } + return DisappearingMode_CHANGED_IN_CHAT +} + +func (x *DisappearingMode) GetTrigger() DisappearingMode_Trigger { + if x != nil { + return x.Trigger + } + return DisappearingMode_UNKNOWN +} + +func (x *DisappearingMode) GetInitiatorDeviceJID() string { + if x != nil { + return x.InitiatorDeviceJID + } + return "" +} + +func (x *DisappearingMode) GetInitiatedByMe() bool { + if x != nil { + return x.InitiatedByMe + } + return false +} + +type BotAvatarMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sentiment uint32 `protobuf:"varint,1,opt,name=sentiment,proto3" json:"sentiment,omitempty"` + BehaviorGraph string `protobuf:"bytes,2,opt,name=behaviorGraph,proto3" json:"behaviorGraph,omitempty"` + Action uint32 `protobuf:"varint,3,opt,name=action,proto3" json:"action,omitempty"` + Intensity uint32 `protobuf:"varint,4,opt,name=intensity,proto3" json:"intensity,omitempty"` + WordCount uint32 `protobuf:"varint,5,opt,name=wordCount,proto3" json:"wordCount,omitempty"` +} + +func (x *BotAvatarMetadata) Reset() { + *x = BotAvatarMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BotAvatarMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BotAvatarMetadata) ProtoMessage() {} + +func (x *BotAvatarMetadata) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BotAvatarMetadata.ProtoReflect.Descriptor instead. +func (*BotAvatarMetadata) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{6} +} + +func (x *BotAvatarMetadata) GetSentiment() uint32 { + if x != nil { + return x.Sentiment + } + return 0 +} + +func (x *BotAvatarMetadata) GetBehaviorGraph() string { + if x != nil { + return x.BehaviorGraph + } + return "" +} + +func (x *BotAvatarMetadata) GetAction() uint32 { + if x != nil { + return x.Action + } + return 0 +} + +func (x *BotAvatarMetadata) GetIntensity() uint32 { + if x != nil { + return x.Intensity + } + return 0 +} + +func (x *BotAvatarMetadata) GetWordCount() uint32 { + if x != nil { + return x.WordCount + } + return 0 +} + +type BotSuggestedPromptMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SuggestedPrompts []string `protobuf:"bytes,1,rep,name=suggestedPrompts,proto3" json:"suggestedPrompts,omitempty"` + SelectedPromptIndex uint32 `protobuf:"varint,2,opt,name=selectedPromptIndex,proto3" json:"selectedPromptIndex,omitempty"` +} + +func (x *BotSuggestedPromptMetadata) Reset() { + *x = BotSuggestedPromptMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BotSuggestedPromptMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BotSuggestedPromptMetadata) ProtoMessage() {} + +func (x *BotSuggestedPromptMetadata) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BotSuggestedPromptMetadata.ProtoReflect.Descriptor instead. +func (*BotSuggestedPromptMetadata) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{7} +} + +func (x *BotSuggestedPromptMetadata) GetSuggestedPrompts() []string { + if x != nil { + return x.SuggestedPrompts + } + return nil +} + +func (x *BotSuggestedPromptMetadata) GetSelectedPromptIndex() uint32 { + if x != nil { + return x.SelectedPromptIndex + } + return 0 +} + +type BotMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AvatarMetadata *BotAvatarMetadata `protobuf:"bytes,1,opt,name=avatarMetadata,proto3" json:"avatarMetadata,omitempty"` + PersonaID string `protobuf:"bytes,2,opt,name=personaID,proto3" json:"personaID,omitempty"` + PluginMetadata *BotPluginMetadata `protobuf:"bytes,3,opt,name=pluginMetadata,proto3" json:"pluginMetadata,omitempty"` + SuggestedPromptMetadata *BotSuggestedPromptMetadata `protobuf:"bytes,4,opt,name=suggestedPromptMetadata,proto3" json:"suggestedPromptMetadata,omitempty"` + InvokerJID string `protobuf:"bytes,5,opt,name=invokerJID,proto3" json:"invokerJID,omitempty"` +} + +func (x *BotMetadata) Reset() { + *x = BotMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BotMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BotMetadata) ProtoMessage() {} + +func (x *BotMetadata) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BotMetadata.ProtoReflect.Descriptor instead. +func (*BotMetadata) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{8} +} + +func (x *BotMetadata) GetAvatarMetadata() *BotAvatarMetadata { + if x != nil { + return x.AvatarMetadata + } + return nil +} + +func (x *BotMetadata) GetPersonaID() string { + if x != nil { + return x.PersonaID + } + return "" +} + +func (x *BotMetadata) GetPluginMetadata() *BotPluginMetadata { + if x != nil { + return x.PluginMetadata + } + return nil +} + +func (x *BotMetadata) GetSuggestedPromptMetadata() *BotSuggestedPromptMetadata { + if x != nil { + return x.SuggestedPromptMetadata + } + return nil +} + +func (x *BotMetadata) GetInvokerJID() string { + if x != nil { + return x.InvokerJID + } + return "" +} + +type MessageContextInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DeviceListMetadata *DeviceListMetadata `protobuf:"bytes,1,opt,name=deviceListMetadata,proto3" json:"deviceListMetadata,omitempty"` + DeviceListMetadataVersion int32 `protobuf:"varint,2,opt,name=deviceListMetadataVersion,proto3" json:"deviceListMetadataVersion,omitempty"` + MessageSecret []byte `protobuf:"bytes,3,opt,name=messageSecret,proto3" json:"messageSecret,omitempty"` + PaddingBytes []byte `protobuf:"bytes,4,opt,name=paddingBytes,proto3" json:"paddingBytes,omitempty"` + MessageAddOnDurationInSecs uint32 `protobuf:"varint,5,opt,name=messageAddOnDurationInSecs,proto3" json:"messageAddOnDurationInSecs,omitempty"` + BotMessageSecret []byte `protobuf:"bytes,6,opt,name=botMessageSecret,proto3" json:"botMessageSecret,omitempty"` + BotMetadata *BotMetadata `protobuf:"bytes,7,opt,name=botMetadata,proto3" json:"botMetadata,omitempty"` + ReportingTokenVersion int32 `protobuf:"varint,8,opt,name=reportingTokenVersion,proto3" json:"reportingTokenVersion,omitempty"` +} + +func (x *MessageContextInfo) Reset() { + *x = MessageContextInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageContextInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageContextInfo) ProtoMessage() {} + +func (x *MessageContextInfo) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageContextInfo.ProtoReflect.Descriptor instead. +func (*MessageContextInfo) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{9} +} + +func (x *MessageContextInfo) GetDeviceListMetadata() *DeviceListMetadata { + if x != nil { + return x.DeviceListMetadata + } + return nil +} + +func (x *MessageContextInfo) GetDeviceListMetadataVersion() int32 { + if x != nil { + return x.DeviceListMetadataVersion + } + return 0 +} + +func (x *MessageContextInfo) GetMessageSecret() []byte { + if x != nil { + return x.MessageSecret + } + return nil +} + +func (x *MessageContextInfo) GetPaddingBytes() []byte { + if x != nil { + return x.PaddingBytes + } + return nil +} + +func (x *MessageContextInfo) GetMessageAddOnDurationInSecs() uint32 { + if x != nil { + return x.MessageAddOnDurationInSecs + } + return 0 +} + +func (x *MessageContextInfo) GetBotMessageSecret() []byte { + if x != nil { + return x.BotMessageSecret + } + return nil +} + +func (x *MessageContextInfo) GetBotMetadata() *BotMetadata { + if x != nil { + return x.BotMetadata + } + return nil +} + +func (x *MessageContextInfo) GetReportingTokenVersion() int32 { + if x != nil { + return x.ReportingTokenVersion + } + return 0 +} + +type DeviceListMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SenderKeyHash []byte `protobuf:"bytes,1,opt,name=senderKeyHash,proto3" json:"senderKeyHash,omitempty"` + SenderTimestamp uint64 `protobuf:"varint,2,opt,name=senderTimestamp,proto3" json:"senderTimestamp,omitempty"` + SenderKeyIndexes []uint32 `protobuf:"varint,3,rep,packed,name=senderKeyIndexes,proto3" json:"senderKeyIndexes,omitempty"` + SenderAccountType waAdv.ADVEncryptionType `protobuf:"varint,4,opt,name=senderAccountType,proto3,enum=WAAdv.ADVEncryptionType" json:"senderAccountType,omitempty"` + ReceiverAccountType waAdv.ADVEncryptionType `protobuf:"varint,5,opt,name=receiverAccountType,proto3,enum=WAAdv.ADVEncryptionType" json:"receiverAccountType,omitempty"` + RecipientKeyHash []byte `protobuf:"bytes,8,opt,name=recipientKeyHash,proto3" json:"recipientKeyHash,omitempty"` + RecipientTimestamp uint64 `protobuf:"varint,9,opt,name=recipientTimestamp,proto3" json:"recipientTimestamp,omitempty"` + RecipientKeyIndexes []uint32 `protobuf:"varint,10,rep,packed,name=recipientKeyIndexes,proto3" json:"recipientKeyIndexes,omitempty"` +} + +func (x *DeviceListMetadata) Reset() { + *x = DeviceListMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceListMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceListMetadata) ProtoMessage() {} + +func (x *DeviceListMetadata) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceListMetadata.ProtoReflect.Descriptor instead. +func (*DeviceListMetadata) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{10} +} + +func (x *DeviceListMetadata) GetSenderKeyHash() []byte { + if x != nil { + return x.SenderKeyHash + } + return nil +} + +func (x *DeviceListMetadata) GetSenderTimestamp() uint64 { + if x != nil { + return x.SenderTimestamp + } + return 0 +} + +func (x *DeviceListMetadata) GetSenderKeyIndexes() []uint32 { + if x != nil { + return x.SenderKeyIndexes + } + return nil +} + +func (x *DeviceListMetadata) GetSenderAccountType() waAdv.ADVEncryptionType { + if x != nil { + return x.SenderAccountType + } + return waAdv.ADVEncryptionType(0) +} + +func (x *DeviceListMetadata) GetReceiverAccountType() waAdv.ADVEncryptionType { + if x != nil { + return x.ReceiverAccountType + } + return waAdv.ADVEncryptionType(0) +} + +func (x *DeviceListMetadata) GetRecipientKeyHash() []byte { + if x != nil { + return x.RecipientKeyHash + } + return nil +} + +func (x *DeviceListMetadata) GetRecipientTimestamp() uint64 { + if x != nil { + return x.RecipientTimestamp + } + return 0 +} + +func (x *DeviceListMetadata) GetRecipientKeyIndexes() []uint32 { + if x != nil { + return x.RecipientKeyIndexes + } + return nil +} + +type InteractiveAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Action: + // + // *InteractiveAnnotation_Location + // *InteractiveAnnotation_Newsletter + Action isInteractiveAnnotation_Action `protobuf_oneof:"action"` + PolygonVertices []*Point `protobuf:"bytes,1,rep,name=polygonVertices,proto3" json:"polygonVertices,omitempty"` + ShouldSkipConfirmation bool `protobuf:"varint,4,opt,name=shouldSkipConfirmation,proto3" json:"shouldSkipConfirmation,omitempty"` +} + +func (x *InteractiveAnnotation) Reset() { + *x = InteractiveAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractiveAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractiveAnnotation) ProtoMessage() {} + +func (x *InteractiveAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InteractiveAnnotation.ProtoReflect.Descriptor instead. +func (*InteractiveAnnotation) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{11} +} + +func (m *InteractiveAnnotation) GetAction() isInteractiveAnnotation_Action { + if m != nil { + return m.Action + } + return nil +} + +func (x *InteractiveAnnotation) GetLocation() *Location { + if x, ok := x.GetAction().(*InteractiveAnnotation_Location); ok { + return x.Location + } + return nil +} + +func (x *InteractiveAnnotation) GetNewsletter() *ContextInfo_ForwardedNewsletterMessageInfo { + if x, ok := x.GetAction().(*InteractiveAnnotation_Newsletter); ok { + return x.Newsletter + } + return nil +} + +func (x *InteractiveAnnotation) GetPolygonVertices() []*Point { + if x != nil { + return x.PolygonVertices + } + return nil +} + +func (x *InteractiveAnnotation) GetShouldSkipConfirmation() bool { + if x != nil { + return x.ShouldSkipConfirmation + } + return false +} + +type isInteractiveAnnotation_Action interface { + isInteractiveAnnotation_Action() +} + +type InteractiveAnnotation_Location struct { + Location *Location `protobuf:"bytes,2,opt,name=location,proto3,oneof"` +} + +type InteractiveAnnotation_Newsletter struct { + Newsletter *ContextInfo_ForwardedNewsletterMessageInfo `protobuf:"bytes,3,opt,name=newsletter,proto3,oneof"` +} + +func (*InteractiveAnnotation_Location) isInteractiveAnnotation_Action() {} + +func (*InteractiveAnnotation_Newsletter) isInteractiveAnnotation_Action() {} + +type Point struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + XDeprecated int32 `protobuf:"varint,1,opt,name=xDeprecated,proto3" json:"xDeprecated,omitempty"` + YDeprecated int32 `protobuf:"varint,2,opt,name=yDeprecated,proto3" json:"yDeprecated,omitempty"` + X float64 `protobuf:"fixed64,3,opt,name=x,proto3" json:"x,omitempty"` + Y float64 `protobuf:"fixed64,4,opt,name=y,proto3" json:"y,omitempty"` +} + +func (x *Point) Reset() { + *x = Point{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Point) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Point) ProtoMessage() {} + +func (x *Point) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Point.ProtoReflect.Descriptor instead. +func (*Point) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{12} +} + +func (x *Point) GetXDeprecated() int32 { + if x != nil { + return x.XDeprecated + } + return 0 +} + +func (x *Point) GetYDeprecated() int32 { + if x != nil { + return x.YDeprecated + } + return 0 +} + +func (x *Point) GetX() float64 { + if x != nil { + return x.X + } + return 0 +} + +func (x *Point) GetY() float64 { + if x != nil { + return x.Y + } + return 0 +} + +type Location struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DegreesLatitude float64 `protobuf:"fixed64,1,opt,name=degreesLatitude,proto3" json:"degreesLatitude,omitempty"` + DegreesLongitude float64 `protobuf:"fixed64,2,opt,name=degreesLongitude,proto3" json:"degreesLongitude,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *Location) Reset() { + *x = Location{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Location) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Location) ProtoMessage() {} + +func (x *Location) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Location.ProtoReflect.Descriptor instead. +func (*Location) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{13} +} + +func (x *Location) GetDegreesLatitude() float64 { + if x != nil { + return x.DegreesLatitude + } + return 0 +} + +func (x *Location) GetDegreesLongitude() float64 { + if x != nil { + return x.DegreesLongitude + } + return 0 +} + +func (x *Location) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type TemplateButton struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Button: + // + // *TemplateButton_QuickReplyButton_ + // *TemplateButton_UrlButton + // *TemplateButton_CallButton_ + Button isTemplateButton_Button `protobuf_oneof:"button"` + Index uint32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` +} + +func (x *TemplateButton) Reset() { + *x = TemplateButton{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TemplateButton) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TemplateButton) ProtoMessage() {} + +func (x *TemplateButton) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TemplateButton.ProtoReflect.Descriptor instead. +func (*TemplateButton) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{14} +} + +func (m *TemplateButton) GetButton() isTemplateButton_Button { + if m != nil { + return m.Button + } + return nil +} + +func (x *TemplateButton) GetQuickReplyButton() *TemplateButton_QuickReplyButton { + if x, ok := x.GetButton().(*TemplateButton_QuickReplyButton_); ok { + return x.QuickReplyButton + } + return nil +} + +func (x *TemplateButton) GetUrlButton() *TemplateButton_URLButton { + if x, ok := x.GetButton().(*TemplateButton_UrlButton); ok { + return x.UrlButton + } + return nil +} + +func (x *TemplateButton) GetCallButton() *TemplateButton_CallButton { + if x, ok := x.GetButton().(*TemplateButton_CallButton_); ok { + return x.CallButton + } + return nil +} + +func (x *TemplateButton) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +type isTemplateButton_Button interface { + isTemplateButton_Button() +} + +type TemplateButton_QuickReplyButton_ struct { + QuickReplyButton *TemplateButton_QuickReplyButton `protobuf:"bytes,1,opt,name=quickReplyButton,proto3,oneof"` +} + +type TemplateButton_UrlButton struct { + UrlButton *TemplateButton_URLButton `protobuf:"bytes,2,opt,name=urlButton,proto3,oneof"` +} + +type TemplateButton_CallButton_ struct { + CallButton *TemplateButton_CallButton `protobuf:"bytes,3,opt,name=callButton,proto3,oneof"` +} + +func (*TemplateButton_QuickReplyButton_) isTemplateButton_Button() {} + +func (*TemplateButton_UrlButton) isTemplateButton_Button() {} + +func (*TemplateButton_CallButton_) isTemplateButton_Button() {} + +type Money struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` + Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + CurrencyCode string `protobuf:"bytes,3,opt,name=currencyCode,proto3" json:"currencyCode,omitempty"` +} + +func (x *Money) Reset() { + *x = Money{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Money) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Money) ProtoMessage() {} + +func (x *Money) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Money.ProtoReflect.Descriptor instead. +func (*Money) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{15} +} + +func (x *Money) GetValue() int64 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *Money) GetOffset() uint32 { + if x != nil { + return x.Offset + } + return 0 +} + +func (x *Money) GetCurrencyCode() string { + if x != nil { + return x.CurrencyCode + } + return "" +} + +type ActionLink struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` + ButtonTitle string `protobuf:"bytes,2,opt,name=buttonTitle,proto3" json:"buttonTitle,omitempty"` +} + +func (x *ActionLink) Reset() { + *x = ActionLink{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ActionLink) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ActionLink) ProtoMessage() {} + +func (x *ActionLink) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ActionLink.ProtoReflect.Descriptor instead. +func (*ActionLink) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{16} +} + +func (x *ActionLink) GetURL() string { + if x != nil { + return x.URL + } + return "" +} + +func (x *ActionLink) GetButtonTitle() string { + if x != nil { + return x.ButtonTitle + } + return "" +} + +type GroupMention struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupJID string `protobuf:"bytes,1,opt,name=groupJID,proto3" json:"groupJID,omitempty"` + GroupSubject string `protobuf:"bytes,2,opt,name=groupSubject,proto3" json:"groupSubject,omitempty"` +} + +func (x *GroupMention) Reset() { + *x = GroupMention{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GroupMention) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GroupMention) ProtoMessage() {} + +func (x *GroupMention) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GroupMention.ProtoReflect.Descriptor instead. +func (*GroupMention) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{17} +} + +func (x *GroupMention) GetGroupJID() string { + if x != nil { + return x.GroupJID + } + return "" +} + +func (x *GroupMention) GetGroupSubject() string { + if x != nil { + return x.GroupSubject + } + return "" +} + +type MessageSecretMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version int32 `protobuf:"fixed32,1,opt,name=version,proto3" json:"version,omitempty"` + EncIV []byte `protobuf:"bytes,2,opt,name=encIV,proto3" json:"encIV,omitempty"` + EncPayload []byte `protobuf:"bytes,3,opt,name=encPayload,proto3" json:"encPayload,omitempty"` +} + +func (x *MessageSecretMessage) Reset() { + *x = MessageSecretMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageSecretMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageSecretMessage) ProtoMessage() {} + +func (x *MessageSecretMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageSecretMessage.ProtoReflect.Descriptor instead. +func (*MessageSecretMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{18} +} + +func (x *MessageSecretMessage) GetVersion() int32 { + if x != nil { + return x.Version + } + return 0 +} + +func (x *MessageSecretMessage) GetEncIV() []byte { + if x != nil { + return x.EncIV + } + return nil +} + +func (x *MessageSecretMessage) GetEncPayload() []byte { + if x != nil { + return x.EncPayload + } + return nil +} + +type MediaNotifyMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExpressPathURL string `protobuf:"bytes,1,opt,name=expressPathURL,proto3" json:"expressPathURL,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,2,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` + FileLength uint64 `protobuf:"varint,3,opt,name=fileLength,proto3" json:"fileLength,omitempty"` +} + +func (x *MediaNotifyMessage) Reset() { + *x = MediaNotifyMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MediaNotifyMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MediaNotifyMessage) ProtoMessage() {} + +func (x *MediaNotifyMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MediaNotifyMessage.ProtoReflect.Descriptor instead. +func (*MediaNotifyMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{19} +} + +func (x *MediaNotifyMessage) GetExpressPathURL() string { + if x != nil { + return x.ExpressPathURL + } + return "" +} + +func (x *MediaNotifyMessage) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *MediaNotifyMessage) GetFileLength() uint64 { + if x != nil { + return x.FileLength + } + return 0 +} + +type Message_PlaceholderMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type Message_PlaceholderMessage_PlaceholderType `protobuf:"varint,1,opt,name=type,proto3,enum=WAE2E.Message_PlaceholderMessage_PlaceholderType" json:"type,omitempty"` +} + +func (x *Message_PlaceholderMessage) Reset() { + *x = Message_PlaceholderMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PlaceholderMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PlaceholderMessage) ProtoMessage() {} + +func (x *Message_PlaceholderMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PlaceholderMessage.ProtoReflect.Descriptor instead. +func (*Message_PlaceholderMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *Message_PlaceholderMessage) GetType() Message_PlaceholderMessage_PlaceholderType { + if x != nil { + return x.Type + } + return Message_PlaceholderMessage_MASK_LINKED_DEVICES +} + +type Message_BCallMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SessionID string `protobuf:"bytes,1,opt,name=sessionID,proto3" json:"sessionID,omitempty"` + MediaType Message_BCallMessage_MediaType `protobuf:"varint,2,opt,name=mediaType,proto3,enum=WAE2E.Message_BCallMessage_MediaType" json:"mediaType,omitempty"` + MasterKey []byte `protobuf:"bytes,3,opt,name=masterKey,proto3" json:"masterKey,omitempty"` + Caption string `protobuf:"bytes,4,opt,name=caption,proto3" json:"caption,omitempty"` +} + +func (x *Message_BCallMessage) Reset() { + *x = Message_BCallMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_BCallMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_BCallMessage) ProtoMessage() {} + +func (x *Message_BCallMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_BCallMessage.ProtoReflect.Descriptor instead. +func (*Message_BCallMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *Message_BCallMessage) GetSessionID() string { + if x != nil { + return x.SessionID + } + return "" +} + +func (x *Message_BCallMessage) GetMediaType() Message_BCallMessage_MediaType { + if x != nil { + return x.MediaType + } + return Message_BCallMessage_UNKNOWN +} + +func (x *Message_BCallMessage) GetMasterKey() []byte { + if x != nil { + return x.MasterKey + } + return nil +} + +func (x *Message_BCallMessage) GetCaption() string { + if x != nil { + return x.Caption + } + return "" +} + +type Message_CallLogMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsVideo bool `protobuf:"varint,1,opt,name=isVideo,proto3" json:"isVideo,omitempty"` + CallOutcome Message_CallLogMessage_CallOutcome `protobuf:"varint,2,opt,name=callOutcome,proto3,enum=WAE2E.Message_CallLogMessage_CallOutcome" json:"callOutcome,omitempty"` + DurationSecs int64 `protobuf:"varint,3,opt,name=durationSecs,proto3" json:"durationSecs,omitempty"` + CallType Message_CallLogMessage_CallType `protobuf:"varint,4,opt,name=callType,proto3,enum=WAE2E.Message_CallLogMessage_CallType" json:"callType,omitempty"` + Participants []*Message_CallLogMessage_CallParticipant `protobuf:"bytes,5,rep,name=participants,proto3" json:"participants,omitempty"` +} + +func (x *Message_CallLogMessage) Reset() { + *x = Message_CallLogMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_CallLogMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_CallLogMessage) ProtoMessage() {} + +func (x *Message_CallLogMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_CallLogMessage.ProtoReflect.Descriptor instead. +func (*Message_CallLogMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 2} +} + +func (x *Message_CallLogMessage) GetIsVideo() bool { + if x != nil { + return x.IsVideo + } + return false +} + +func (x *Message_CallLogMessage) GetCallOutcome() Message_CallLogMessage_CallOutcome { + if x != nil { + return x.CallOutcome + } + return Message_CallLogMessage_CONNECTED +} + +func (x *Message_CallLogMessage) GetDurationSecs() int64 { + if x != nil { + return x.DurationSecs + } + return 0 +} + +func (x *Message_CallLogMessage) GetCallType() Message_CallLogMessage_CallType { + if x != nil { + return x.CallType + } + return Message_CallLogMessage_REGULAR +} + +func (x *Message_CallLogMessage) GetParticipants() []*Message_CallLogMessage_CallParticipant { + if x != nil { + return x.Participants + } + return nil +} + +type Message_ScheduledCallEditMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + EditType Message_ScheduledCallEditMessage_EditType `protobuf:"varint,2,opt,name=editType,proto3,enum=WAE2E.Message_ScheduledCallEditMessage_EditType" json:"editType,omitempty"` +} + +func (x *Message_ScheduledCallEditMessage) Reset() { + *x = Message_ScheduledCallEditMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ScheduledCallEditMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ScheduledCallEditMessage) ProtoMessage() {} + +func (x *Message_ScheduledCallEditMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ScheduledCallEditMessage.ProtoReflect.Descriptor instead. +func (*Message_ScheduledCallEditMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 3} +} + +func (x *Message_ScheduledCallEditMessage) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *Message_ScheduledCallEditMessage) GetEditType() Message_ScheduledCallEditMessage_EditType { + if x != nil { + return x.EditType + } + return Message_ScheduledCallEditMessage_UNKNOWN +} + +type Message_ScheduledCallCreationMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScheduledTimestampMS int64 `protobuf:"varint,1,opt,name=scheduledTimestampMS,proto3" json:"scheduledTimestampMS,omitempty"` + CallType Message_ScheduledCallCreationMessage_CallType `protobuf:"varint,2,opt,name=callType,proto3,enum=WAE2E.Message_ScheduledCallCreationMessage_CallType" json:"callType,omitempty"` + Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` +} + +func (x *Message_ScheduledCallCreationMessage) Reset() { + *x = Message_ScheduledCallCreationMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ScheduledCallCreationMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ScheduledCallCreationMessage) ProtoMessage() {} + +func (x *Message_ScheduledCallCreationMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ScheduledCallCreationMessage.ProtoReflect.Descriptor instead. +func (*Message_ScheduledCallCreationMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 4} +} + +func (x *Message_ScheduledCallCreationMessage) GetScheduledTimestampMS() int64 { + if x != nil { + return x.ScheduledTimestampMS + } + return 0 +} + +func (x *Message_ScheduledCallCreationMessage) GetCallType() Message_ScheduledCallCreationMessage_CallType { + if x != nil { + return x.CallType + } + return Message_ScheduledCallCreationMessage_UNKNOWN +} + +func (x *Message_ScheduledCallCreationMessage) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +type Message_EventResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Response Message_EventResponseMessage_EventResponseType `protobuf:"varint,1,opt,name=response,proto3,enum=WAE2E.Message_EventResponseMessage_EventResponseType" json:"response,omitempty"` + TimestampMS int64 `protobuf:"varint,2,opt,name=timestampMS,proto3" json:"timestampMS,omitempty"` +} + +func (x *Message_EventResponseMessage) Reset() { + *x = Message_EventResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_EventResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_EventResponseMessage) ProtoMessage() {} + +func (x *Message_EventResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_EventResponseMessage.ProtoReflect.Descriptor instead. +func (*Message_EventResponseMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 5} +} + +func (x *Message_EventResponseMessage) GetResponse() Message_EventResponseMessage_EventResponseType { + if x != nil { + return x.Response + } + return Message_EventResponseMessage_UNKNOWN +} + +func (x *Message_EventResponseMessage) GetTimestampMS() int64 { + if x != nil { + return x.TimestampMS + } + return 0 +} + +type Message_PinInChatMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Type Message_PinInChatMessage_Type `protobuf:"varint,2,opt,name=type,proto3,enum=WAE2E.Message_PinInChatMessage_Type" json:"type,omitempty"` + SenderTimestampMS int64 `protobuf:"varint,3,opt,name=senderTimestampMS,proto3" json:"senderTimestampMS,omitempty"` +} + +func (x *Message_PinInChatMessage) Reset() { + *x = Message_PinInChatMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PinInChatMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PinInChatMessage) ProtoMessage() {} + +func (x *Message_PinInChatMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PinInChatMessage.ProtoReflect.Descriptor instead. +func (*Message_PinInChatMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 6} +} + +func (x *Message_PinInChatMessage) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *Message_PinInChatMessage) GetType() Message_PinInChatMessage_Type { + if x != nil { + return x.Type + } + return Message_PinInChatMessage_UNKNOWN_TYPE +} + +func (x *Message_PinInChatMessage) GetSenderTimestampMS() int64 { + if x != nil { + return x.SenderTimestampMS + } + return 0 +} + +type Message_ButtonsResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Response: + // + // *Message_ButtonsResponseMessage_SelectedDisplayText + Response isMessage_ButtonsResponseMessage_Response `protobuf_oneof:"response"` + SelectedButtonID string `protobuf:"bytes,1,opt,name=selectedButtonID,proto3" json:"selectedButtonID,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + Type Message_ButtonsResponseMessage_Type `protobuf:"varint,4,opt,name=type,proto3,enum=WAE2E.Message_ButtonsResponseMessage_Type" json:"type,omitempty"` +} + +func (x *Message_ButtonsResponseMessage) Reset() { + *x = Message_ButtonsResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ButtonsResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ButtonsResponseMessage) ProtoMessage() {} + +func (x *Message_ButtonsResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ButtonsResponseMessage.ProtoReflect.Descriptor instead. +func (*Message_ButtonsResponseMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 7} +} + +func (m *Message_ButtonsResponseMessage) GetResponse() isMessage_ButtonsResponseMessage_Response { + if m != nil { + return m.Response + } + return nil +} + +func (x *Message_ButtonsResponseMessage) GetSelectedDisplayText() string { + if x, ok := x.GetResponse().(*Message_ButtonsResponseMessage_SelectedDisplayText); ok { + return x.SelectedDisplayText + } + return "" +} + +func (x *Message_ButtonsResponseMessage) GetSelectedButtonID() string { + if x != nil { + return x.SelectedButtonID + } + return "" +} + +func (x *Message_ButtonsResponseMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_ButtonsResponseMessage) GetType() Message_ButtonsResponseMessage_Type { + if x != nil { + return x.Type + } + return Message_ButtonsResponseMessage_UNKNOWN +} + +type isMessage_ButtonsResponseMessage_Response interface { + isMessage_ButtonsResponseMessage_Response() +} + +type Message_ButtonsResponseMessage_SelectedDisplayText struct { + SelectedDisplayText string `protobuf:"bytes,2,opt,name=selectedDisplayText,proto3,oneof"` +} + +func (*Message_ButtonsResponseMessage_SelectedDisplayText) isMessage_ButtonsResponseMessage_Response() { +} + +type Message_ButtonsMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Header: + // + // *Message_ButtonsMessage_Text + // *Message_ButtonsMessage_DocumentMessage + // *Message_ButtonsMessage_ImageMessage + // *Message_ButtonsMessage_VideoMessage + // *Message_ButtonsMessage_LocationMessage + Header isMessage_ButtonsMessage_Header `protobuf_oneof:"header"` + ContentText string `protobuf:"bytes,6,opt,name=contentText,proto3" json:"contentText,omitempty"` + FooterText string `protobuf:"bytes,7,opt,name=footerText,proto3" json:"footerText,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,8,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + Buttons []*Message_ButtonsMessage_Button `protobuf:"bytes,9,rep,name=buttons,proto3" json:"buttons,omitempty"` + HeaderType Message_ButtonsMessage_HeaderType `protobuf:"varint,10,opt,name=headerType,proto3,enum=WAE2E.Message_ButtonsMessage_HeaderType" json:"headerType,omitempty"` +} + +func (x *Message_ButtonsMessage) Reset() { + *x = Message_ButtonsMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ButtonsMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ButtonsMessage) ProtoMessage() {} + +func (x *Message_ButtonsMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ButtonsMessage.ProtoReflect.Descriptor instead. +func (*Message_ButtonsMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 8} +} + +func (m *Message_ButtonsMessage) GetHeader() isMessage_ButtonsMessage_Header { + if m != nil { + return m.Header + } + return nil +} + +func (x *Message_ButtonsMessage) GetText() string { + if x, ok := x.GetHeader().(*Message_ButtonsMessage_Text); ok { + return x.Text + } + return "" +} + +func (x *Message_ButtonsMessage) GetDocumentMessage() *Message_DocumentMessage { + if x, ok := x.GetHeader().(*Message_ButtonsMessage_DocumentMessage); ok { + return x.DocumentMessage + } + return nil +} + +func (x *Message_ButtonsMessage) GetImageMessage() *Message_ImageMessage { + if x, ok := x.GetHeader().(*Message_ButtonsMessage_ImageMessage); ok { + return x.ImageMessage + } + return nil +} + +func (x *Message_ButtonsMessage) GetVideoMessage() *Message_VideoMessage { + if x, ok := x.GetHeader().(*Message_ButtonsMessage_VideoMessage); ok { + return x.VideoMessage + } + return nil +} + +func (x *Message_ButtonsMessage) GetLocationMessage() *Message_LocationMessage { + if x, ok := x.GetHeader().(*Message_ButtonsMessage_LocationMessage); ok { + return x.LocationMessage + } + return nil +} + +func (x *Message_ButtonsMessage) GetContentText() string { + if x != nil { + return x.ContentText + } + return "" +} + +func (x *Message_ButtonsMessage) GetFooterText() string { + if x != nil { + return x.FooterText + } + return "" +} + +func (x *Message_ButtonsMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_ButtonsMessage) GetButtons() []*Message_ButtonsMessage_Button { + if x != nil { + return x.Buttons + } + return nil +} + +func (x *Message_ButtonsMessage) GetHeaderType() Message_ButtonsMessage_HeaderType { + if x != nil { + return x.HeaderType + } + return Message_ButtonsMessage_UNKNOWN +} + +type isMessage_ButtonsMessage_Header interface { + isMessage_ButtonsMessage_Header() +} + +type Message_ButtonsMessage_Text struct { + Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"` +} + +type Message_ButtonsMessage_DocumentMessage struct { + DocumentMessage *Message_DocumentMessage `protobuf:"bytes,2,opt,name=documentMessage,proto3,oneof"` +} + +type Message_ButtonsMessage_ImageMessage struct { + ImageMessage *Message_ImageMessage `protobuf:"bytes,3,opt,name=imageMessage,proto3,oneof"` +} + +type Message_ButtonsMessage_VideoMessage struct { + VideoMessage *Message_VideoMessage `protobuf:"bytes,4,opt,name=videoMessage,proto3,oneof"` +} + +type Message_ButtonsMessage_LocationMessage struct { + LocationMessage *Message_LocationMessage `protobuf:"bytes,5,opt,name=locationMessage,proto3,oneof"` +} + +func (*Message_ButtonsMessage_Text) isMessage_ButtonsMessage_Header() {} + +func (*Message_ButtonsMessage_DocumentMessage) isMessage_ButtonsMessage_Header() {} + +func (*Message_ButtonsMessage_ImageMessage) isMessage_ButtonsMessage_Header() {} + +func (*Message_ButtonsMessage_VideoMessage) isMessage_ButtonsMessage_Header() {} + +func (*Message_ButtonsMessage_LocationMessage) isMessage_ButtonsMessage_Header() {} + +type Message_GroupInviteMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupJID string `protobuf:"bytes,1,opt,name=groupJID,proto3" json:"groupJID,omitempty"` + InviteCode string `protobuf:"bytes,2,opt,name=inviteCode,proto3" json:"inviteCode,omitempty"` + InviteExpiration int64 `protobuf:"varint,3,opt,name=inviteExpiration,proto3" json:"inviteExpiration,omitempty"` + GroupName string `protobuf:"bytes,4,opt,name=groupName,proto3" json:"groupName,omitempty"` + JPEGThumbnail []byte `protobuf:"bytes,5,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` + Caption string `protobuf:"bytes,6,opt,name=caption,proto3" json:"caption,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,7,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + GroupType Message_GroupInviteMessage_GroupType `protobuf:"varint,8,opt,name=groupType,proto3,enum=WAE2E.Message_GroupInviteMessage_GroupType" json:"groupType,omitempty"` +} + +func (x *Message_GroupInviteMessage) Reset() { + *x = Message_GroupInviteMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_GroupInviteMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_GroupInviteMessage) ProtoMessage() {} + +func (x *Message_GroupInviteMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_GroupInviteMessage.ProtoReflect.Descriptor instead. +func (*Message_GroupInviteMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 9} +} + +func (x *Message_GroupInviteMessage) GetGroupJID() string { + if x != nil { + return x.GroupJID + } + return "" +} + +func (x *Message_GroupInviteMessage) GetInviteCode() string { + if x != nil { + return x.InviteCode + } + return "" +} + +func (x *Message_GroupInviteMessage) GetInviteExpiration() int64 { + if x != nil { + return x.InviteExpiration + } + return 0 +} + +func (x *Message_GroupInviteMessage) GetGroupName() string { + if x != nil { + return x.GroupName + } + return "" +} + +func (x *Message_GroupInviteMessage) GetJPEGThumbnail() []byte { + if x != nil { + return x.JPEGThumbnail + } + return nil +} + +func (x *Message_GroupInviteMessage) GetCaption() string { + if x != nil { + return x.Caption + } + return "" +} + +func (x *Message_GroupInviteMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_GroupInviteMessage) GetGroupType() Message_GroupInviteMessage_GroupType { + if x != nil { + return x.GroupType + } + return Message_GroupInviteMessage_DEFAULT +} + +type Message_InteractiveResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to InteractiveResponseMessage: + // + // *Message_InteractiveResponseMessage_NativeFlowResponseMessage_ + InteractiveResponseMessage isMessage_InteractiveResponseMessage_InteractiveResponseMessage `protobuf_oneof:"interactiveResponseMessage"` + Body *Message_InteractiveResponseMessage_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,15,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` +} + +func (x *Message_InteractiveResponseMessage) Reset() { + *x = Message_InteractiveResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_InteractiveResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_InteractiveResponseMessage) ProtoMessage() {} + +func (x *Message_InteractiveResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_InteractiveResponseMessage.ProtoReflect.Descriptor instead. +func (*Message_InteractiveResponseMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 10} +} + +func (m *Message_InteractiveResponseMessage) GetInteractiveResponseMessage() isMessage_InteractiveResponseMessage_InteractiveResponseMessage { + if m != nil { + return m.InteractiveResponseMessage + } + return nil +} + +func (x *Message_InteractiveResponseMessage) GetNativeFlowResponseMessage() *Message_InteractiveResponseMessage_NativeFlowResponseMessage { + if x, ok := x.GetInteractiveResponseMessage().(*Message_InteractiveResponseMessage_NativeFlowResponseMessage_); ok { + return x.NativeFlowResponseMessage + } + return nil +} + +func (x *Message_InteractiveResponseMessage) GetBody() *Message_InteractiveResponseMessage_Body { + if x != nil { + return x.Body + } + return nil +} + +func (x *Message_InteractiveResponseMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +type isMessage_InteractiveResponseMessage_InteractiveResponseMessage interface { + isMessage_InteractiveResponseMessage_InteractiveResponseMessage() +} + +type Message_InteractiveResponseMessage_NativeFlowResponseMessage_ struct { + NativeFlowResponseMessage *Message_InteractiveResponseMessage_NativeFlowResponseMessage `protobuf:"bytes,2,opt,name=nativeFlowResponseMessage,proto3,oneof"` +} + +func (*Message_InteractiveResponseMessage_NativeFlowResponseMessage_) isMessage_InteractiveResponseMessage_InteractiveResponseMessage() { +} + +type Message_InteractiveMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to InteractiveMessage: + // + // *Message_InteractiveMessage_ShopStorefrontMessage + // *Message_InteractiveMessage_CollectionMessage_ + // *Message_InteractiveMessage_NativeFlowMessage_ + // *Message_InteractiveMessage_CarouselMessage_ + InteractiveMessage isMessage_InteractiveMessage_InteractiveMessage `protobuf_oneof:"interactiveMessage"` + Header *Message_InteractiveMessage_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + Body *Message_InteractiveMessage_Body `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` + Footer *Message_InteractiveMessage_Footer `protobuf:"bytes,3,opt,name=footer,proto3" json:"footer,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,15,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` +} + +func (x *Message_InteractiveMessage) Reset() { + *x = Message_InteractiveMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_InteractiveMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_InteractiveMessage) ProtoMessage() {} + +func (x *Message_InteractiveMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_InteractiveMessage.ProtoReflect.Descriptor instead. +func (*Message_InteractiveMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 11} +} + +func (m *Message_InteractiveMessage) GetInteractiveMessage() isMessage_InteractiveMessage_InteractiveMessage { + if m != nil { + return m.InteractiveMessage + } + return nil +} + +func (x *Message_InteractiveMessage) GetShopStorefrontMessage() *Message_InteractiveMessage_ShopMessage { + if x, ok := x.GetInteractiveMessage().(*Message_InteractiveMessage_ShopStorefrontMessage); ok { + return x.ShopStorefrontMessage + } + return nil +} + +func (x *Message_InteractiveMessage) GetCollectionMessage() *Message_InteractiveMessage_CollectionMessage { + if x, ok := x.GetInteractiveMessage().(*Message_InteractiveMessage_CollectionMessage_); ok { + return x.CollectionMessage + } + return nil +} + +func (x *Message_InteractiveMessage) GetNativeFlowMessage() *Message_InteractiveMessage_NativeFlowMessage { + if x, ok := x.GetInteractiveMessage().(*Message_InteractiveMessage_NativeFlowMessage_); ok { + return x.NativeFlowMessage + } + return nil +} + +func (x *Message_InteractiveMessage) GetCarouselMessage() *Message_InteractiveMessage_CarouselMessage { + if x, ok := x.GetInteractiveMessage().(*Message_InteractiveMessage_CarouselMessage_); ok { + return x.CarouselMessage + } + return nil +} + +func (x *Message_InteractiveMessage) GetHeader() *Message_InteractiveMessage_Header { + if x != nil { + return x.Header + } + return nil +} + +func (x *Message_InteractiveMessage) GetBody() *Message_InteractiveMessage_Body { + if x != nil { + return x.Body + } + return nil +} + +func (x *Message_InteractiveMessage) GetFooter() *Message_InteractiveMessage_Footer { + if x != nil { + return x.Footer + } + return nil +} + +func (x *Message_InteractiveMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +type isMessage_InteractiveMessage_InteractiveMessage interface { + isMessage_InteractiveMessage_InteractiveMessage() +} + +type Message_InteractiveMessage_ShopStorefrontMessage struct { + ShopStorefrontMessage *Message_InteractiveMessage_ShopMessage `protobuf:"bytes,4,opt,name=shopStorefrontMessage,proto3,oneof"` +} + +type Message_InteractiveMessage_CollectionMessage_ struct { + CollectionMessage *Message_InteractiveMessage_CollectionMessage `protobuf:"bytes,5,opt,name=collectionMessage,proto3,oneof"` +} + +type Message_InteractiveMessage_NativeFlowMessage_ struct { + NativeFlowMessage *Message_InteractiveMessage_NativeFlowMessage `protobuf:"bytes,6,opt,name=nativeFlowMessage,proto3,oneof"` +} + +type Message_InteractiveMessage_CarouselMessage_ struct { + CarouselMessage *Message_InteractiveMessage_CarouselMessage `protobuf:"bytes,7,opt,name=carouselMessage,proto3,oneof"` +} + +func (*Message_InteractiveMessage_ShopStorefrontMessage) isMessage_InteractiveMessage_InteractiveMessage() { +} + +func (*Message_InteractiveMessage_CollectionMessage_) isMessage_InteractiveMessage_InteractiveMessage() { +} + +func (*Message_InteractiveMessage_NativeFlowMessage_) isMessage_InteractiveMessage_InteractiveMessage() { +} + +func (*Message_InteractiveMessage_CarouselMessage_) isMessage_InteractiveMessage_InteractiveMessage() { +} + +type Message_ListResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + ListType Message_ListResponseMessage_ListType `protobuf:"varint,2,opt,name=listType,proto3,enum=WAE2E.Message_ListResponseMessage_ListType" json:"listType,omitempty"` + SingleSelectReply *Message_ListResponseMessage_SingleSelectReply `protobuf:"bytes,3,opt,name=singleSelectReply,proto3" json:"singleSelectReply,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,4,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` +} + +func (x *Message_ListResponseMessage) Reset() { + *x = Message_ListResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ListResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ListResponseMessage) ProtoMessage() {} + +func (x *Message_ListResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ListResponseMessage.ProtoReflect.Descriptor instead. +func (*Message_ListResponseMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 12} +} + +func (x *Message_ListResponseMessage) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *Message_ListResponseMessage) GetListType() Message_ListResponseMessage_ListType { + if x != nil { + return x.ListType + } + return Message_ListResponseMessage_UNKNOWN +} + +func (x *Message_ListResponseMessage) GetSingleSelectReply() *Message_ListResponseMessage_SingleSelectReply { + if x != nil { + return x.SingleSelectReply + } + return nil +} + +func (x *Message_ListResponseMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_ListResponseMessage) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +type Message_ListMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + ButtonText string `protobuf:"bytes,3,opt,name=buttonText,proto3" json:"buttonText,omitempty"` + ListType Message_ListMessage_ListType `protobuf:"varint,4,opt,name=listType,proto3,enum=WAE2E.Message_ListMessage_ListType" json:"listType,omitempty"` + Sections []*Message_ListMessage_Section `protobuf:"bytes,5,rep,name=sections,proto3" json:"sections,omitempty"` + ProductListInfo *Message_ListMessage_ProductListInfo `protobuf:"bytes,6,opt,name=productListInfo,proto3" json:"productListInfo,omitempty"` + FooterText string `protobuf:"bytes,7,opt,name=footerText,proto3" json:"footerText,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,8,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` +} + +func (x *Message_ListMessage) Reset() { + *x = Message_ListMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ListMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ListMessage) ProtoMessage() {} + +func (x *Message_ListMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ListMessage.ProtoReflect.Descriptor instead. +func (*Message_ListMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 13} +} + +func (x *Message_ListMessage) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *Message_ListMessage) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +func (x *Message_ListMessage) GetButtonText() string { + if x != nil { + return x.ButtonText + } + return "" +} + +func (x *Message_ListMessage) GetListType() Message_ListMessage_ListType { + if x != nil { + return x.ListType + } + return Message_ListMessage_UNKNOWN +} + +func (x *Message_ListMessage) GetSections() []*Message_ListMessage_Section { + if x != nil { + return x.Sections + } + return nil +} + +func (x *Message_ListMessage) GetProductListInfo() *Message_ListMessage_ProductListInfo { + if x != nil { + return x.ProductListInfo + } + return nil +} + +func (x *Message_ListMessage) GetFooterText() string { + if x != nil { + return x.FooterText + } + return "" +} + +func (x *Message_ListMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +type Message_OrderMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OrderID string `protobuf:"bytes,1,opt,name=orderID,proto3" json:"orderID,omitempty"` + Thumbnail []byte `protobuf:"bytes,2,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` + ItemCount int32 `protobuf:"varint,3,opt,name=itemCount,proto3" json:"itemCount,omitempty"` + Status Message_OrderMessage_OrderStatus `protobuf:"varint,4,opt,name=status,proto3,enum=WAE2E.Message_OrderMessage_OrderStatus" json:"status,omitempty"` + Surface Message_OrderMessage_OrderSurface `protobuf:"varint,5,opt,name=surface,proto3,enum=WAE2E.Message_OrderMessage_OrderSurface" json:"surface,omitempty"` + Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` + OrderTitle string `protobuf:"bytes,7,opt,name=orderTitle,proto3" json:"orderTitle,omitempty"` + SellerJID string `protobuf:"bytes,8,opt,name=sellerJID,proto3" json:"sellerJID,omitempty"` + Token string `protobuf:"bytes,9,opt,name=token,proto3" json:"token,omitempty"` + TotalAmount1000 int64 `protobuf:"varint,10,opt,name=totalAmount1000,proto3" json:"totalAmount1000,omitempty"` + TotalCurrencyCode string `protobuf:"bytes,11,opt,name=totalCurrencyCode,proto3" json:"totalCurrencyCode,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + MessageVersion int32 `protobuf:"varint,12,opt,name=messageVersion,proto3" json:"messageVersion,omitempty"` + OrderRequestMessageID *waCommon.MessageKey `protobuf:"bytes,13,opt,name=orderRequestMessageID,proto3" json:"orderRequestMessageID,omitempty"` +} + +func (x *Message_OrderMessage) Reset() { + *x = Message_OrderMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_OrderMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_OrderMessage) ProtoMessage() {} + +func (x *Message_OrderMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_OrderMessage.ProtoReflect.Descriptor instead. +func (*Message_OrderMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 14} +} + +func (x *Message_OrderMessage) GetOrderID() string { + if x != nil { + return x.OrderID + } + return "" +} + +func (x *Message_OrderMessage) GetThumbnail() []byte { + if x != nil { + return x.Thumbnail + } + return nil +} + +func (x *Message_OrderMessage) GetItemCount() int32 { + if x != nil { + return x.ItemCount + } + return 0 +} + +func (x *Message_OrderMessage) GetStatus() Message_OrderMessage_OrderStatus { + if x != nil { + return x.Status + } + return Message_OrderMessage_ORDERSTATUS_UNKNOWN +} + +func (x *Message_OrderMessage) GetSurface() Message_OrderMessage_OrderSurface { + if x != nil { + return x.Surface + } + return Message_OrderMessage_ORDERSURFACE_UNKNOWN +} + +func (x *Message_OrderMessage) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *Message_OrderMessage) GetOrderTitle() string { + if x != nil { + return x.OrderTitle + } + return "" +} + +func (x *Message_OrderMessage) GetSellerJID() string { + if x != nil { + return x.SellerJID + } + return "" +} + +func (x *Message_OrderMessage) GetToken() string { + if x != nil { + return x.Token + } + return "" +} + +func (x *Message_OrderMessage) GetTotalAmount1000() int64 { + if x != nil { + return x.TotalAmount1000 + } + return 0 +} + +func (x *Message_OrderMessage) GetTotalCurrencyCode() string { + if x != nil { + return x.TotalCurrencyCode + } + return "" +} + +func (x *Message_OrderMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_OrderMessage) GetMessageVersion() int32 { + if x != nil { + return x.MessageVersion + } + return 0 +} + +func (x *Message_OrderMessage) GetOrderRequestMessageID() *waCommon.MessageKey { + if x != nil { + return x.OrderRequestMessageID + } + return nil +} + +type Message_PaymentInviteMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServiceType Message_PaymentInviteMessage_ServiceType `protobuf:"varint,1,opt,name=serviceType,proto3,enum=WAE2E.Message_PaymentInviteMessage_ServiceType" json:"serviceType,omitempty"` + ExpiryTimestamp int64 `protobuf:"varint,2,opt,name=expiryTimestamp,proto3" json:"expiryTimestamp,omitempty"` +} + +func (x *Message_PaymentInviteMessage) Reset() { + *x = Message_PaymentInviteMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PaymentInviteMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PaymentInviteMessage) ProtoMessage() {} + +func (x *Message_PaymentInviteMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PaymentInviteMessage.ProtoReflect.Descriptor instead. +func (*Message_PaymentInviteMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 15} +} + +func (x *Message_PaymentInviteMessage) GetServiceType() Message_PaymentInviteMessage_ServiceType { + if x != nil { + return x.ServiceType + } + return Message_PaymentInviteMessage_UNKNOWN +} + +func (x *Message_PaymentInviteMessage) GetExpiryTimestamp() int64 { + if x != nil { + return x.ExpiryTimestamp + } + return 0 +} + +type Message_HighlyStructuredMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + ElementName string `protobuf:"bytes,2,opt,name=elementName,proto3" json:"elementName,omitempty"` + Params []string `protobuf:"bytes,3,rep,name=params,proto3" json:"params,omitempty"` + FallbackLg string `protobuf:"bytes,4,opt,name=fallbackLg,proto3" json:"fallbackLg,omitempty"` + FallbackLc string `protobuf:"bytes,5,opt,name=fallbackLc,proto3" json:"fallbackLc,omitempty"` + LocalizableParams []*Message_HighlyStructuredMessage_HSMLocalizableParameter `protobuf:"bytes,6,rep,name=localizableParams,proto3" json:"localizableParams,omitempty"` + DeterministicLg string `protobuf:"bytes,7,opt,name=deterministicLg,proto3" json:"deterministicLg,omitempty"` + DeterministicLc string `protobuf:"bytes,8,opt,name=deterministicLc,proto3" json:"deterministicLc,omitempty"` + HydratedHsm *Message_TemplateMessage `protobuf:"bytes,9,opt,name=hydratedHsm,proto3" json:"hydratedHsm,omitempty"` +} + +func (x *Message_HighlyStructuredMessage) Reset() { + *x = Message_HighlyStructuredMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_HighlyStructuredMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_HighlyStructuredMessage) ProtoMessage() {} + +func (x *Message_HighlyStructuredMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_HighlyStructuredMessage.ProtoReflect.Descriptor instead. +func (*Message_HighlyStructuredMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 16} +} + +func (x *Message_HighlyStructuredMessage) GetNamespace() string { + if x != nil { + return x.Namespace + } + return "" +} + +func (x *Message_HighlyStructuredMessage) GetElementName() string { + if x != nil { + return x.ElementName + } + return "" +} + +func (x *Message_HighlyStructuredMessage) GetParams() []string { + if x != nil { + return x.Params + } + return nil +} + +func (x *Message_HighlyStructuredMessage) GetFallbackLg() string { + if x != nil { + return x.FallbackLg + } + return "" +} + +func (x *Message_HighlyStructuredMessage) GetFallbackLc() string { + if x != nil { + return x.FallbackLc + } + return "" +} + +func (x *Message_HighlyStructuredMessage) GetLocalizableParams() []*Message_HighlyStructuredMessage_HSMLocalizableParameter { + if x != nil { + return x.LocalizableParams + } + return nil +} + +func (x *Message_HighlyStructuredMessage) GetDeterministicLg() string { + if x != nil { + return x.DeterministicLg + } + return "" +} + +func (x *Message_HighlyStructuredMessage) GetDeterministicLc() string { + if x != nil { + return x.DeterministicLc + } + return "" +} + +func (x *Message_HighlyStructuredMessage) GetHydratedHsm() *Message_TemplateMessage { + if x != nil { + return x.HydratedHsm + } + return nil +} + +type Message_HistorySyncNotification struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileSHA256 []byte `protobuf:"bytes,1,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` + FileLength uint64 `protobuf:"varint,2,opt,name=fileLength,proto3" json:"fileLength,omitempty"` + MediaKey []byte `protobuf:"bytes,3,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,4,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` + DirectPath string `protobuf:"bytes,5,opt,name=directPath,proto3" json:"directPath,omitempty"` + SyncType Message_HistorySyncNotification_HistorySyncType `protobuf:"varint,6,opt,name=syncType,proto3,enum=WAE2E.Message_HistorySyncNotification_HistorySyncType" json:"syncType,omitempty"` + ChunkOrder uint32 `protobuf:"varint,7,opt,name=chunkOrder,proto3" json:"chunkOrder,omitempty"` + OriginalMessageID string `protobuf:"bytes,8,opt,name=originalMessageID,proto3" json:"originalMessageID,omitempty"` + Progress uint32 `protobuf:"varint,9,opt,name=progress,proto3" json:"progress,omitempty"` + OldestMsgInChunkTimestampSec int64 `protobuf:"varint,10,opt,name=oldestMsgInChunkTimestampSec,proto3" json:"oldestMsgInChunkTimestampSec,omitempty"` + InitialHistBootstrapInlinePayload []byte `protobuf:"bytes,11,opt,name=initialHistBootstrapInlinePayload,proto3" json:"initialHistBootstrapInlinePayload,omitempty"` + PeerDataRequestSessionID string `protobuf:"bytes,12,opt,name=peerDataRequestSessionID,proto3" json:"peerDataRequestSessionID,omitempty"` +} + +func (x *Message_HistorySyncNotification) Reset() { + *x = Message_HistorySyncNotification{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_HistorySyncNotification) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_HistorySyncNotification) ProtoMessage() {} + +func (x *Message_HistorySyncNotification) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_HistorySyncNotification.ProtoReflect.Descriptor instead. +func (*Message_HistorySyncNotification) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 17} +} + +func (x *Message_HistorySyncNotification) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *Message_HistorySyncNotification) GetFileLength() uint64 { + if x != nil { + return x.FileLength + } + return 0 +} + +func (x *Message_HistorySyncNotification) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *Message_HistorySyncNotification) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *Message_HistorySyncNotification) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *Message_HistorySyncNotification) GetSyncType() Message_HistorySyncNotification_HistorySyncType { + if x != nil { + return x.SyncType + } + return Message_HistorySyncNotification_INITIAL_BOOTSTRAP +} + +func (x *Message_HistorySyncNotification) GetChunkOrder() uint32 { + if x != nil { + return x.ChunkOrder + } + return 0 +} + +func (x *Message_HistorySyncNotification) GetOriginalMessageID() string { + if x != nil { + return x.OriginalMessageID + } + return "" +} + +func (x *Message_HistorySyncNotification) GetProgress() uint32 { + if x != nil { + return x.Progress + } + return 0 +} + +func (x *Message_HistorySyncNotification) GetOldestMsgInChunkTimestampSec() int64 { + if x != nil { + return x.OldestMsgInChunkTimestampSec + } + return 0 +} + +func (x *Message_HistorySyncNotification) GetInitialHistBootstrapInlinePayload() []byte { + if x != nil { + return x.InitialHistBootstrapInlinePayload + } + return nil +} + +func (x *Message_HistorySyncNotification) GetPeerDataRequestSessionID() string { + if x != nil { + return x.PeerDataRequestSessionID + } + return "" +} + +type Message_RequestWelcomeMessageMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LocalChatState Message_RequestWelcomeMessageMetadata_LocalChatState `protobuf:"varint,1,opt,name=localChatState,proto3,enum=WAE2E.Message_RequestWelcomeMessageMetadata_LocalChatState" json:"localChatState,omitempty"` +} + +func (x *Message_RequestWelcomeMessageMetadata) Reset() { + *x = Message_RequestWelcomeMessageMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_RequestWelcomeMessageMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_RequestWelcomeMessageMetadata) ProtoMessage() {} + +func (x *Message_RequestWelcomeMessageMetadata) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_RequestWelcomeMessageMetadata.ProtoReflect.Descriptor instead. +func (*Message_RequestWelcomeMessageMetadata) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 18} +} + +func (x *Message_RequestWelcomeMessageMetadata) GetLocalChatState() Message_RequestWelcomeMessageMetadata_LocalChatState { + if x != nil { + return x.LocalChatState + } + return Message_RequestWelcomeMessageMetadata_EMPTY +} + +type Message_ProtocolMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Type Message_ProtocolMessage_Type `protobuf:"varint,2,opt,name=type,proto3,enum=WAE2E.Message_ProtocolMessage_Type" json:"type,omitempty"` + EphemeralExpiration uint32 `protobuf:"varint,4,opt,name=ephemeralExpiration,proto3" json:"ephemeralExpiration,omitempty"` + EphemeralSettingTimestamp int64 `protobuf:"varint,5,opt,name=ephemeralSettingTimestamp,proto3" json:"ephemeralSettingTimestamp,omitempty"` + HistorySyncNotification *Message_HistorySyncNotification `protobuf:"bytes,6,opt,name=historySyncNotification,proto3" json:"historySyncNotification,omitempty"` + AppStateSyncKeyShare *Message_AppStateSyncKeyShare `protobuf:"bytes,7,opt,name=appStateSyncKeyShare,proto3" json:"appStateSyncKeyShare,omitempty"` + AppStateSyncKeyRequest *Message_AppStateSyncKeyRequest `protobuf:"bytes,8,opt,name=appStateSyncKeyRequest,proto3" json:"appStateSyncKeyRequest,omitempty"` + InitialSecurityNotificationSettingSync *Message_InitialSecurityNotificationSettingSync `protobuf:"bytes,9,opt,name=initialSecurityNotificationSettingSync,proto3" json:"initialSecurityNotificationSettingSync,omitempty"` + AppStateFatalExceptionNotification *Message_AppStateFatalExceptionNotification `protobuf:"bytes,10,opt,name=appStateFatalExceptionNotification,proto3" json:"appStateFatalExceptionNotification,omitempty"` + DisappearingMode *DisappearingMode `protobuf:"bytes,11,opt,name=disappearingMode,proto3" json:"disappearingMode,omitempty"` + EditedMessage *Message `protobuf:"bytes,14,opt,name=editedMessage,proto3" json:"editedMessage,omitempty"` + TimestampMS int64 `protobuf:"varint,15,opt,name=timestampMS,proto3" json:"timestampMS,omitempty"` + PeerDataOperationRequestMessage *Message_PeerDataOperationRequestMessage `protobuf:"bytes,16,opt,name=peerDataOperationRequestMessage,proto3" json:"peerDataOperationRequestMessage,omitempty"` + PeerDataOperationRequestResponseMessage *Message_PeerDataOperationRequestResponseMessage `protobuf:"bytes,17,opt,name=peerDataOperationRequestResponseMessage,proto3" json:"peerDataOperationRequestResponseMessage,omitempty"` + BotFeedbackMessage *Message_BotFeedbackMessage `protobuf:"bytes,18,opt,name=botFeedbackMessage,proto3" json:"botFeedbackMessage,omitempty"` + InvokerJID string `protobuf:"bytes,19,opt,name=invokerJID,proto3" json:"invokerJID,omitempty"` + RequestWelcomeMessageMetadata *Message_RequestWelcomeMessageMetadata `protobuf:"bytes,20,opt,name=requestWelcomeMessageMetadata,proto3" json:"requestWelcomeMessageMetadata,omitempty"` + MediaNotifyMessage *MediaNotifyMessage `protobuf:"bytes,21,opt,name=mediaNotifyMessage,proto3" json:"mediaNotifyMessage,omitempty"` +} + +func (x *Message_ProtocolMessage) Reset() { + *x = Message_ProtocolMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ProtocolMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ProtocolMessage) ProtoMessage() {} + +func (x *Message_ProtocolMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ProtocolMessage.ProtoReflect.Descriptor instead. +func (*Message_ProtocolMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 19} +} + +func (x *Message_ProtocolMessage) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *Message_ProtocolMessage) GetType() Message_ProtocolMessage_Type { + if x != nil { + return x.Type + } + return Message_ProtocolMessage_REVOKE +} + +func (x *Message_ProtocolMessage) GetEphemeralExpiration() uint32 { + if x != nil { + return x.EphemeralExpiration + } + return 0 +} + +func (x *Message_ProtocolMessage) GetEphemeralSettingTimestamp() int64 { + if x != nil { + return x.EphemeralSettingTimestamp + } + return 0 +} + +func (x *Message_ProtocolMessage) GetHistorySyncNotification() *Message_HistorySyncNotification { + if x != nil { + return x.HistorySyncNotification + } + return nil +} + +func (x *Message_ProtocolMessage) GetAppStateSyncKeyShare() *Message_AppStateSyncKeyShare { + if x != nil { + return x.AppStateSyncKeyShare + } + return nil +} + +func (x *Message_ProtocolMessage) GetAppStateSyncKeyRequest() *Message_AppStateSyncKeyRequest { + if x != nil { + return x.AppStateSyncKeyRequest + } + return nil +} + +func (x *Message_ProtocolMessage) GetInitialSecurityNotificationSettingSync() *Message_InitialSecurityNotificationSettingSync { + if x != nil { + return x.InitialSecurityNotificationSettingSync + } + return nil +} + +func (x *Message_ProtocolMessage) GetAppStateFatalExceptionNotification() *Message_AppStateFatalExceptionNotification { + if x != nil { + return x.AppStateFatalExceptionNotification + } + return nil +} + +func (x *Message_ProtocolMessage) GetDisappearingMode() *DisappearingMode { + if x != nil { + return x.DisappearingMode + } + return nil +} + +func (x *Message_ProtocolMessage) GetEditedMessage() *Message { + if x != nil { + return x.EditedMessage + } + return nil +} + +func (x *Message_ProtocolMessage) GetTimestampMS() int64 { + if x != nil { + return x.TimestampMS + } + return 0 +} + +func (x *Message_ProtocolMessage) GetPeerDataOperationRequestMessage() *Message_PeerDataOperationRequestMessage { + if x != nil { + return x.PeerDataOperationRequestMessage + } + return nil +} + +func (x *Message_ProtocolMessage) GetPeerDataOperationRequestResponseMessage() *Message_PeerDataOperationRequestResponseMessage { + if x != nil { + return x.PeerDataOperationRequestResponseMessage + } + return nil +} + +func (x *Message_ProtocolMessage) GetBotFeedbackMessage() *Message_BotFeedbackMessage { + if x != nil { + return x.BotFeedbackMessage + } + return nil +} + +func (x *Message_ProtocolMessage) GetInvokerJID() string { + if x != nil { + return x.InvokerJID + } + return "" +} + +func (x *Message_ProtocolMessage) GetRequestWelcomeMessageMetadata() *Message_RequestWelcomeMessageMetadata { + if x != nil { + return x.RequestWelcomeMessageMetadata + } + return nil +} + +func (x *Message_ProtocolMessage) GetMediaNotifyMessage() *MediaNotifyMessage { + if x != nil { + return x.MediaNotifyMessage + } + return nil +} + +type Message_BotFeedbackMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MessageKey *waCommon.MessageKey `protobuf:"bytes,1,opt,name=messageKey,proto3" json:"messageKey,omitempty"` + Kind Message_BotFeedbackMessage_BotFeedbackKind `protobuf:"varint,2,opt,name=kind,proto3,enum=WAE2E.Message_BotFeedbackMessage_BotFeedbackKind" json:"kind,omitempty"` + Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` + KindNegative uint64 `protobuf:"varint,4,opt,name=kindNegative,proto3" json:"kindNegative,omitempty"` + KindPositive uint64 `protobuf:"varint,5,opt,name=kindPositive,proto3" json:"kindPositive,omitempty"` +} + +func (x *Message_BotFeedbackMessage) Reset() { + *x = Message_BotFeedbackMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_BotFeedbackMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_BotFeedbackMessage) ProtoMessage() {} + +func (x *Message_BotFeedbackMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_BotFeedbackMessage.ProtoReflect.Descriptor instead. +func (*Message_BotFeedbackMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 20} +} + +func (x *Message_BotFeedbackMessage) GetMessageKey() *waCommon.MessageKey { + if x != nil { + return x.MessageKey + } + return nil +} + +func (x *Message_BotFeedbackMessage) GetKind() Message_BotFeedbackMessage_BotFeedbackKind { + if x != nil { + return x.Kind + } + return Message_BotFeedbackMessage_BOT_FEEDBACK_POSITIVE +} + +func (x *Message_BotFeedbackMessage) GetText() string { + if x != nil { + return x.Text + } + return "" +} + +func (x *Message_BotFeedbackMessage) GetKindNegative() uint64 { + if x != nil { + return x.KindNegative + } + return 0 +} + +func (x *Message_BotFeedbackMessage) GetKindPositive() uint64 { + if x != nil { + return x.KindPositive + } + return 0 +} + +type Message_VideoMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` + Mimetype string `protobuf:"bytes,2,opt,name=mimetype,proto3" json:"mimetype,omitempty"` + FileSHA256 []byte `protobuf:"bytes,3,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` + FileLength uint64 `protobuf:"varint,4,opt,name=fileLength,proto3" json:"fileLength,omitempty"` + Seconds uint32 `protobuf:"varint,5,opt,name=seconds,proto3" json:"seconds,omitempty"` + MediaKey []byte `protobuf:"bytes,6,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + Caption string `protobuf:"bytes,7,opt,name=caption,proto3" json:"caption,omitempty"` + GifPlayback bool `protobuf:"varint,8,opt,name=gifPlayback,proto3" json:"gifPlayback,omitempty"` + Height uint32 `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"` + Width uint32 `protobuf:"varint,10,opt,name=width,proto3" json:"width,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,11,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` + InteractiveAnnotations []*InteractiveAnnotation `protobuf:"bytes,12,rep,name=interactiveAnnotations,proto3" json:"interactiveAnnotations,omitempty"` + DirectPath string `protobuf:"bytes,13,opt,name=directPath,proto3" json:"directPath,omitempty"` + MediaKeyTimestamp int64 `protobuf:"varint,14,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"` + JPEGThumbnail []byte `protobuf:"bytes,16,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + StreamingSidecar []byte `protobuf:"bytes,18,opt,name=streamingSidecar,proto3" json:"streamingSidecar,omitempty"` + GifAttribution Message_VideoMessage_Attribution `protobuf:"varint,19,opt,name=gifAttribution,proto3,enum=WAE2E.Message_VideoMessage_Attribution" json:"gifAttribution,omitempty"` + ViewOnce bool `protobuf:"varint,20,opt,name=viewOnce,proto3" json:"viewOnce,omitempty"` + ThumbnailDirectPath string `protobuf:"bytes,21,opt,name=thumbnailDirectPath,proto3" json:"thumbnailDirectPath,omitempty"` + ThumbnailSHA256 []byte `protobuf:"bytes,22,opt,name=thumbnailSHA256,proto3" json:"thumbnailSHA256,omitempty"` + ThumbnailEncSHA256 []byte `protobuf:"bytes,23,opt,name=thumbnailEncSHA256,proto3" json:"thumbnailEncSHA256,omitempty"` + StaticURL string `protobuf:"bytes,24,opt,name=staticURL,proto3" json:"staticURL,omitempty"` + Annotations []*InteractiveAnnotation `protobuf:"bytes,25,rep,name=annotations,proto3" json:"annotations,omitempty"` +} + +func (x *Message_VideoMessage) Reset() { + *x = Message_VideoMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_VideoMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_VideoMessage) ProtoMessage() {} + +func (x *Message_VideoMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_VideoMessage.ProtoReflect.Descriptor instead. +func (*Message_VideoMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 21} +} + +func (x *Message_VideoMessage) GetURL() string { + if x != nil { + return x.URL + } + return "" +} + +func (x *Message_VideoMessage) GetMimetype() string { + if x != nil { + return x.Mimetype + } + return "" +} + +func (x *Message_VideoMessage) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *Message_VideoMessage) GetFileLength() uint64 { + if x != nil { + return x.FileLength + } + return 0 +} + +func (x *Message_VideoMessage) GetSeconds() uint32 { + if x != nil { + return x.Seconds + } + return 0 +} + +func (x *Message_VideoMessage) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *Message_VideoMessage) GetCaption() string { + if x != nil { + return x.Caption + } + return "" +} + +func (x *Message_VideoMessage) GetGifPlayback() bool { + if x != nil { + return x.GifPlayback + } + return false +} + +func (x *Message_VideoMessage) GetHeight() uint32 { + if x != nil { + return x.Height + } + return 0 +} + +func (x *Message_VideoMessage) GetWidth() uint32 { + if x != nil { + return x.Width + } + return 0 +} + +func (x *Message_VideoMessage) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *Message_VideoMessage) GetInteractiveAnnotations() []*InteractiveAnnotation { + if x != nil { + return x.InteractiveAnnotations + } + return nil +} + +func (x *Message_VideoMessage) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *Message_VideoMessage) GetMediaKeyTimestamp() int64 { + if x != nil { + return x.MediaKeyTimestamp + } + return 0 +} + +func (x *Message_VideoMessage) GetJPEGThumbnail() []byte { + if x != nil { + return x.JPEGThumbnail + } + return nil +} + +func (x *Message_VideoMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_VideoMessage) GetStreamingSidecar() []byte { + if x != nil { + return x.StreamingSidecar + } + return nil +} + +func (x *Message_VideoMessage) GetGifAttribution() Message_VideoMessage_Attribution { + if x != nil { + return x.GifAttribution + } + return Message_VideoMessage_NONE +} + +func (x *Message_VideoMessage) GetViewOnce() bool { + if x != nil { + return x.ViewOnce + } + return false +} + +func (x *Message_VideoMessage) GetThumbnailDirectPath() string { + if x != nil { + return x.ThumbnailDirectPath + } + return "" +} + +func (x *Message_VideoMessage) GetThumbnailSHA256() []byte { + if x != nil { + return x.ThumbnailSHA256 + } + return nil +} + +func (x *Message_VideoMessage) GetThumbnailEncSHA256() []byte { + if x != nil { + return x.ThumbnailEncSHA256 + } + return nil +} + +func (x *Message_VideoMessage) GetStaticURL() string { + if x != nil { + return x.StaticURL + } + return "" +} + +func (x *Message_VideoMessage) GetAnnotations() []*InteractiveAnnotation { + if x != nil { + return x.Annotations + } + return nil +} + +type Message_ExtendedTextMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` + MatchedText string `protobuf:"bytes,2,opt,name=matchedText,proto3" json:"matchedText,omitempty"` + CanonicalURL string `protobuf:"bytes,4,opt,name=canonicalURL,proto3" json:"canonicalURL,omitempty"` + Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` + Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"` + TextArgb uint32 `protobuf:"fixed32,7,opt,name=textArgb,proto3" json:"textArgb,omitempty"` + BackgroundArgb uint32 `protobuf:"fixed32,8,opt,name=backgroundArgb,proto3" json:"backgroundArgb,omitempty"` + Font Message_ExtendedTextMessage_FontType `protobuf:"varint,9,opt,name=font,proto3,enum=WAE2E.Message_ExtendedTextMessage_FontType" json:"font,omitempty"` + PreviewType Message_ExtendedTextMessage_PreviewType `protobuf:"varint,10,opt,name=previewType,proto3,enum=WAE2E.Message_ExtendedTextMessage_PreviewType" json:"previewType,omitempty"` + JPEGThumbnail []byte `protobuf:"bytes,16,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + DoNotPlayInline bool `protobuf:"varint,18,opt,name=doNotPlayInline,proto3" json:"doNotPlayInline,omitempty"` + ThumbnailDirectPath string `protobuf:"bytes,19,opt,name=thumbnailDirectPath,proto3" json:"thumbnailDirectPath,omitempty"` + ThumbnailSHA256 []byte `protobuf:"bytes,20,opt,name=thumbnailSHA256,proto3" json:"thumbnailSHA256,omitempty"` + ThumbnailEncSHA256 []byte `protobuf:"bytes,21,opt,name=thumbnailEncSHA256,proto3" json:"thumbnailEncSHA256,omitempty"` + MediaKey []byte `protobuf:"bytes,22,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + MediaKeyTimestamp int64 `protobuf:"varint,23,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"` + ThumbnailHeight uint32 `protobuf:"varint,24,opt,name=thumbnailHeight,proto3" json:"thumbnailHeight,omitempty"` + ThumbnailWidth uint32 `protobuf:"varint,25,opt,name=thumbnailWidth,proto3" json:"thumbnailWidth,omitempty"` + InviteLinkGroupType Message_ExtendedTextMessage_InviteLinkGroupType `protobuf:"varint,26,opt,name=inviteLinkGroupType,proto3,enum=WAE2E.Message_ExtendedTextMessage_InviteLinkGroupType" json:"inviteLinkGroupType,omitempty"` + InviteLinkParentGroupSubjectV2 string `protobuf:"bytes,27,opt,name=inviteLinkParentGroupSubjectV2,proto3" json:"inviteLinkParentGroupSubjectV2,omitempty"` + InviteLinkParentGroupThumbnailV2 []byte `protobuf:"bytes,28,opt,name=inviteLinkParentGroupThumbnailV2,proto3" json:"inviteLinkParentGroupThumbnailV2,omitempty"` + InviteLinkGroupTypeV2 Message_ExtendedTextMessage_InviteLinkGroupType `protobuf:"varint,29,opt,name=inviteLinkGroupTypeV2,proto3,enum=WAE2E.Message_ExtendedTextMessage_InviteLinkGroupType" json:"inviteLinkGroupTypeV2,omitempty"` + ViewOnce bool `protobuf:"varint,30,opt,name=viewOnce,proto3" json:"viewOnce,omitempty"` +} + +func (x *Message_ExtendedTextMessage) Reset() { + *x = Message_ExtendedTextMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ExtendedTextMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ExtendedTextMessage) ProtoMessage() {} + +func (x *Message_ExtendedTextMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ExtendedTextMessage.ProtoReflect.Descriptor instead. +func (*Message_ExtendedTextMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 22} +} + +func (x *Message_ExtendedTextMessage) GetText() string { + if x != nil { + return x.Text + } + return "" +} + +func (x *Message_ExtendedTextMessage) GetMatchedText() string { + if x != nil { + return x.MatchedText + } + return "" +} + +func (x *Message_ExtendedTextMessage) GetCanonicalURL() string { + if x != nil { + return x.CanonicalURL + } + return "" +} + +func (x *Message_ExtendedTextMessage) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +func (x *Message_ExtendedTextMessage) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *Message_ExtendedTextMessage) GetTextArgb() uint32 { + if x != nil { + return x.TextArgb + } + return 0 +} + +func (x *Message_ExtendedTextMessage) GetBackgroundArgb() uint32 { + if x != nil { + return x.BackgroundArgb + } + return 0 +} + +func (x *Message_ExtendedTextMessage) GetFont() Message_ExtendedTextMessage_FontType { + if x != nil { + return x.Font + } + return Message_ExtendedTextMessage_SYSTEM +} + +func (x *Message_ExtendedTextMessage) GetPreviewType() Message_ExtendedTextMessage_PreviewType { + if x != nil { + return x.PreviewType + } + return Message_ExtendedTextMessage_NONE +} + +func (x *Message_ExtendedTextMessage) GetJPEGThumbnail() []byte { + if x != nil { + return x.JPEGThumbnail + } + return nil +} + +func (x *Message_ExtendedTextMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_ExtendedTextMessage) GetDoNotPlayInline() bool { + if x != nil { + return x.DoNotPlayInline + } + return false +} + +func (x *Message_ExtendedTextMessage) GetThumbnailDirectPath() string { + if x != nil { + return x.ThumbnailDirectPath + } + return "" +} + +func (x *Message_ExtendedTextMessage) GetThumbnailSHA256() []byte { + if x != nil { + return x.ThumbnailSHA256 + } + return nil +} + +func (x *Message_ExtendedTextMessage) GetThumbnailEncSHA256() []byte { + if x != nil { + return x.ThumbnailEncSHA256 + } + return nil +} + +func (x *Message_ExtendedTextMessage) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *Message_ExtendedTextMessage) GetMediaKeyTimestamp() int64 { + if x != nil { + return x.MediaKeyTimestamp + } + return 0 +} + +func (x *Message_ExtendedTextMessage) GetThumbnailHeight() uint32 { + if x != nil { + return x.ThumbnailHeight + } + return 0 +} + +func (x *Message_ExtendedTextMessage) GetThumbnailWidth() uint32 { + if x != nil { + return x.ThumbnailWidth + } + return 0 +} + +func (x *Message_ExtendedTextMessage) GetInviteLinkGroupType() Message_ExtendedTextMessage_InviteLinkGroupType { + if x != nil { + return x.InviteLinkGroupType + } + return Message_ExtendedTextMessage_DEFAULT +} + +func (x *Message_ExtendedTextMessage) GetInviteLinkParentGroupSubjectV2() string { + if x != nil { + return x.InviteLinkParentGroupSubjectV2 + } + return "" +} + +func (x *Message_ExtendedTextMessage) GetInviteLinkParentGroupThumbnailV2() []byte { + if x != nil { + return x.InviteLinkParentGroupThumbnailV2 + } + return nil +} + +func (x *Message_ExtendedTextMessage) GetInviteLinkGroupTypeV2() Message_ExtendedTextMessage_InviteLinkGroupType { + if x != nil { + return x.InviteLinkGroupTypeV2 + } + return Message_ExtendedTextMessage_DEFAULT +} + +func (x *Message_ExtendedTextMessage) GetViewOnce() bool { + if x != nil { + return x.ViewOnce + } + return false +} + +type Message_InvoiceMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Note string `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"` + Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` + AttachmentType Message_InvoiceMessage_AttachmentType `protobuf:"varint,3,opt,name=attachmentType,proto3,enum=WAE2E.Message_InvoiceMessage_AttachmentType" json:"attachmentType,omitempty"` + AttachmentMimetype string `protobuf:"bytes,4,opt,name=attachmentMimetype,proto3" json:"attachmentMimetype,omitempty"` + AttachmentMediaKey []byte `protobuf:"bytes,5,opt,name=attachmentMediaKey,proto3" json:"attachmentMediaKey,omitempty"` + AttachmentMediaKeyTimestamp int64 `protobuf:"varint,6,opt,name=attachmentMediaKeyTimestamp,proto3" json:"attachmentMediaKeyTimestamp,omitempty"` + AttachmentFileSHA256 []byte `protobuf:"bytes,7,opt,name=attachmentFileSHA256,proto3" json:"attachmentFileSHA256,omitempty"` + AttachmentFileEncSHA256 []byte `protobuf:"bytes,8,opt,name=attachmentFileEncSHA256,proto3" json:"attachmentFileEncSHA256,omitempty"` + AttachmentDirectPath string `protobuf:"bytes,9,opt,name=attachmentDirectPath,proto3" json:"attachmentDirectPath,omitempty"` + AttachmentJPEGThumbnail []byte `protobuf:"bytes,10,opt,name=attachmentJPEGThumbnail,proto3" json:"attachmentJPEGThumbnail,omitempty"` +} + +func (x *Message_InvoiceMessage) Reset() { + *x = Message_InvoiceMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_InvoiceMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_InvoiceMessage) ProtoMessage() {} + +func (x *Message_InvoiceMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_InvoiceMessage.ProtoReflect.Descriptor instead. +func (*Message_InvoiceMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 23} +} + +func (x *Message_InvoiceMessage) GetNote() string { + if x != nil { + return x.Note + } + return "" +} + +func (x *Message_InvoiceMessage) GetToken() string { + if x != nil { + return x.Token + } + return "" +} + +func (x *Message_InvoiceMessage) GetAttachmentType() Message_InvoiceMessage_AttachmentType { + if x != nil { + return x.AttachmentType + } + return Message_InvoiceMessage_IMAGE +} + +func (x *Message_InvoiceMessage) GetAttachmentMimetype() string { + if x != nil { + return x.AttachmentMimetype + } + return "" +} + +func (x *Message_InvoiceMessage) GetAttachmentMediaKey() []byte { + if x != nil { + return x.AttachmentMediaKey + } + return nil +} + +func (x *Message_InvoiceMessage) GetAttachmentMediaKeyTimestamp() int64 { + if x != nil { + return x.AttachmentMediaKeyTimestamp + } + return 0 +} + +func (x *Message_InvoiceMessage) GetAttachmentFileSHA256() []byte { + if x != nil { + return x.AttachmentFileSHA256 + } + return nil +} + +func (x *Message_InvoiceMessage) GetAttachmentFileEncSHA256() []byte { + if x != nil { + return x.AttachmentFileEncSHA256 + } + return nil +} + +func (x *Message_InvoiceMessage) GetAttachmentDirectPath() string { + if x != nil { + return x.AttachmentDirectPath + } + return "" +} + +func (x *Message_InvoiceMessage) GetAttachmentJPEGThumbnail() []byte { + if x != nil { + return x.AttachmentJPEGThumbnail + } + return nil +} + +type Message_ExtendedTextMessageWithParentKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + LinkMessage *Message_ExtendedTextMessage `protobuf:"bytes,2,opt,name=linkMessage,proto3" json:"linkMessage,omitempty"` +} + +func (x *Message_ExtendedTextMessageWithParentKey) Reset() { + *x = Message_ExtendedTextMessageWithParentKey{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ExtendedTextMessageWithParentKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ExtendedTextMessageWithParentKey) ProtoMessage() {} + +func (x *Message_ExtendedTextMessageWithParentKey) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ExtendedTextMessageWithParentKey.ProtoReflect.Descriptor instead. +func (*Message_ExtendedTextMessageWithParentKey) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 24} +} + +func (x *Message_ExtendedTextMessageWithParentKey) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *Message_ExtendedTextMessageWithParentKey) GetLinkMessage() *Message_ExtendedTextMessage { + if x != nil { + return x.LinkMessage + } + return nil +} + +type Message_MessageHistoryBundle struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Mimetype string `protobuf:"bytes,2,opt,name=mimetype,proto3" json:"mimetype,omitempty"` + FileSHA256 []byte `protobuf:"bytes,3,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` + MediaKey []byte `protobuf:"bytes,5,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,6,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` + DirectPath string `protobuf:"bytes,7,opt,name=directPath,proto3" json:"directPath,omitempty"` + MediaKeyTimestamp int64 `protobuf:"varint,8,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,9,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + Participants []string `protobuf:"bytes,10,rep,name=participants,proto3" json:"participants,omitempty"` +} + +func (x *Message_MessageHistoryBundle) Reset() { + *x = Message_MessageHistoryBundle{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_MessageHistoryBundle) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_MessageHistoryBundle) ProtoMessage() {} + +func (x *Message_MessageHistoryBundle) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_MessageHistoryBundle.ProtoReflect.Descriptor instead. +func (*Message_MessageHistoryBundle) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 25} +} + +func (x *Message_MessageHistoryBundle) GetMimetype() string { + if x != nil { + return x.Mimetype + } + return "" +} + +func (x *Message_MessageHistoryBundle) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *Message_MessageHistoryBundle) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *Message_MessageHistoryBundle) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *Message_MessageHistoryBundle) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *Message_MessageHistoryBundle) GetMediaKeyTimestamp() int64 { + if x != nil { + return x.MediaKeyTimestamp + } + return 0 +} + +func (x *Message_MessageHistoryBundle) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_MessageHistoryBundle) GetParticipants() []string { + if x != nil { + return x.Participants + } + return nil +} + +type Message_EncEventResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EventCreationMessageKey *waCommon.MessageKey `protobuf:"bytes,1,opt,name=eventCreationMessageKey,proto3" json:"eventCreationMessageKey,omitempty"` + EncPayload []byte `protobuf:"bytes,2,opt,name=encPayload,proto3" json:"encPayload,omitempty"` + EncIV []byte `protobuf:"bytes,3,opt,name=encIV,proto3" json:"encIV,omitempty"` +} + +func (x *Message_EncEventResponseMessage) Reset() { + *x = Message_EncEventResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_EncEventResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_EncEventResponseMessage) ProtoMessage() {} + +func (x *Message_EncEventResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_EncEventResponseMessage.ProtoReflect.Descriptor instead. +func (*Message_EncEventResponseMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 26} +} + +func (x *Message_EncEventResponseMessage) GetEventCreationMessageKey() *waCommon.MessageKey { + if x != nil { + return x.EventCreationMessageKey + } + return nil +} + +func (x *Message_EncEventResponseMessage) GetEncPayload() []byte { + if x != nil { + return x.EncPayload + } + return nil +} + +func (x *Message_EncEventResponseMessage) GetEncIV() []byte { + if x != nil { + return x.EncIV + } + return nil +} + +type Message_EventMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ContextInfo *ContextInfo `protobuf:"bytes,1,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + IsCanceled bool `protobuf:"varint,2,opt,name=isCanceled,proto3" json:"isCanceled,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + Location *Message_LocationMessage `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` + JoinLink string `protobuf:"bytes,6,opt,name=joinLink,proto3" json:"joinLink,omitempty"` + StartTime int64 `protobuf:"varint,7,opt,name=startTime,proto3" json:"startTime,omitempty"` +} + +func (x *Message_EventMessage) Reset() { + *x = Message_EventMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_EventMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_EventMessage) ProtoMessage() {} + +func (x *Message_EventMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_EventMessage.ProtoReflect.Descriptor instead. +func (*Message_EventMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 27} +} + +func (x *Message_EventMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_EventMessage) GetIsCanceled() bool { + if x != nil { + return x.IsCanceled + } + return false +} + +func (x *Message_EventMessage) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Message_EventMessage) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +func (x *Message_EventMessage) GetLocation() *Message_LocationMessage { + if x != nil { + return x.Location + } + return nil +} + +func (x *Message_EventMessage) GetJoinLink() string { + if x != nil { + return x.JoinLink + } + return "" +} + +func (x *Message_EventMessage) GetStartTime() int64 { + if x != nil { + return x.StartTime + } + return 0 +} + +type Message_CommentMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + TargetMessageKey *waCommon.MessageKey `protobuf:"bytes,2,opt,name=targetMessageKey,proto3" json:"targetMessageKey,omitempty"` +} + +func (x *Message_CommentMessage) Reset() { + *x = Message_CommentMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_CommentMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_CommentMessage) ProtoMessage() {} + +func (x *Message_CommentMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[48] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_CommentMessage.ProtoReflect.Descriptor instead. +func (*Message_CommentMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 28} +} + +func (x *Message_CommentMessage) GetMessage() *Message { + if x != nil { + return x.Message + } + return nil +} + +func (x *Message_CommentMessage) GetTargetMessageKey() *waCommon.MessageKey { + if x != nil { + return x.TargetMessageKey + } + return nil +} + +type Message_EncCommentMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetMessageKey *waCommon.MessageKey `protobuf:"bytes,1,opt,name=targetMessageKey,proto3" json:"targetMessageKey,omitempty"` + EncPayload []byte `protobuf:"bytes,2,opt,name=encPayload,proto3" json:"encPayload,omitempty"` + EncIV []byte `protobuf:"bytes,3,opt,name=encIV,proto3" json:"encIV,omitempty"` +} + +func (x *Message_EncCommentMessage) Reset() { + *x = Message_EncCommentMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_EncCommentMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_EncCommentMessage) ProtoMessage() {} + +func (x *Message_EncCommentMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_EncCommentMessage.ProtoReflect.Descriptor instead. +func (*Message_EncCommentMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 29} +} + +func (x *Message_EncCommentMessage) GetTargetMessageKey() *waCommon.MessageKey { + if x != nil { + return x.TargetMessageKey + } + return nil +} + +func (x *Message_EncCommentMessage) GetEncPayload() []byte { + if x != nil { + return x.EncPayload + } + return nil +} + +func (x *Message_EncCommentMessage) GetEncIV() []byte { + if x != nil { + return x.EncIV + } + return nil +} + +type Message_EncReactionMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetMessageKey *waCommon.MessageKey `protobuf:"bytes,1,opt,name=targetMessageKey,proto3" json:"targetMessageKey,omitempty"` + EncPayload []byte `protobuf:"bytes,2,opt,name=encPayload,proto3" json:"encPayload,omitempty"` + EncIV []byte `protobuf:"bytes,3,opt,name=encIV,proto3" json:"encIV,omitempty"` +} + +func (x *Message_EncReactionMessage) Reset() { + *x = Message_EncReactionMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_EncReactionMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_EncReactionMessage) ProtoMessage() {} + +func (x *Message_EncReactionMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[50] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_EncReactionMessage.ProtoReflect.Descriptor instead. +func (*Message_EncReactionMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 30} +} + +func (x *Message_EncReactionMessage) GetTargetMessageKey() *waCommon.MessageKey { + if x != nil { + return x.TargetMessageKey + } + return nil +} + +func (x *Message_EncReactionMessage) GetEncPayload() []byte { + if x != nil { + return x.EncPayload + } + return nil +} + +func (x *Message_EncReactionMessage) GetEncIV() []byte { + if x != nil { + return x.EncIV + } + return nil +} + +type Message_KeepInChatMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + KeepType KeepType `protobuf:"varint,2,opt,name=keepType,proto3,enum=WAE2E.KeepType" json:"keepType,omitempty"` + TimestampMS int64 `protobuf:"varint,3,opt,name=timestampMS,proto3" json:"timestampMS,omitempty"` +} + +func (x *Message_KeepInChatMessage) Reset() { + *x = Message_KeepInChatMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_KeepInChatMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_KeepInChatMessage) ProtoMessage() {} + +func (x *Message_KeepInChatMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[51] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_KeepInChatMessage.ProtoReflect.Descriptor instead. +func (*Message_KeepInChatMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 31} +} + +func (x *Message_KeepInChatMessage) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *Message_KeepInChatMessage) GetKeepType() KeepType { + if x != nil { + return x.KeepType + } + return KeepType_UNKNOWN +} + +func (x *Message_KeepInChatMessage) GetTimestampMS() int64 { + if x != nil { + return x.TimestampMS + } + return 0 +} + +type Message_PollVoteMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SelectedOptions [][]byte `protobuf:"bytes,1,rep,name=selectedOptions,proto3" json:"selectedOptions,omitempty"` +} + +func (x *Message_PollVoteMessage) Reset() { + *x = Message_PollVoteMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PollVoteMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PollVoteMessage) ProtoMessage() {} + +func (x *Message_PollVoteMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[52] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PollVoteMessage.ProtoReflect.Descriptor instead. +func (*Message_PollVoteMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 32} +} + +func (x *Message_PollVoteMessage) GetSelectedOptions() [][]byte { + if x != nil { + return x.SelectedOptions + } + return nil +} + +type Message_PollEncValue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EncPayload []byte `protobuf:"bytes,1,opt,name=encPayload,proto3" json:"encPayload,omitempty"` + EncIV []byte `protobuf:"bytes,2,opt,name=encIV,proto3" json:"encIV,omitempty"` +} + +func (x *Message_PollEncValue) Reset() { + *x = Message_PollEncValue{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PollEncValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PollEncValue) ProtoMessage() {} + +func (x *Message_PollEncValue) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[53] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PollEncValue.ProtoReflect.Descriptor instead. +func (*Message_PollEncValue) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 33} +} + +func (x *Message_PollEncValue) GetEncPayload() []byte { + if x != nil { + return x.EncPayload + } + return nil +} + +func (x *Message_PollEncValue) GetEncIV() []byte { + if x != nil { + return x.EncIV + } + return nil +} + +type Message_PollUpdateMessageMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Message_PollUpdateMessageMetadata) Reset() { + *x = Message_PollUpdateMessageMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PollUpdateMessageMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PollUpdateMessageMetadata) ProtoMessage() {} + +func (x *Message_PollUpdateMessageMetadata) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[54] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PollUpdateMessageMetadata.ProtoReflect.Descriptor instead. +func (*Message_PollUpdateMessageMetadata) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 34} +} + +type Message_PollUpdateMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PollCreationMessageKey *waCommon.MessageKey `protobuf:"bytes,1,opt,name=pollCreationMessageKey,proto3" json:"pollCreationMessageKey,omitempty"` + Vote *Message_PollEncValue `protobuf:"bytes,2,opt,name=vote,proto3" json:"vote,omitempty"` + Metadata *Message_PollUpdateMessageMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` + SenderTimestampMS int64 `protobuf:"varint,4,opt,name=senderTimestampMS,proto3" json:"senderTimestampMS,omitempty"` +} + +func (x *Message_PollUpdateMessage) Reset() { + *x = Message_PollUpdateMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PollUpdateMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PollUpdateMessage) ProtoMessage() {} + +func (x *Message_PollUpdateMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[55] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PollUpdateMessage.ProtoReflect.Descriptor instead. +func (*Message_PollUpdateMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 35} +} + +func (x *Message_PollUpdateMessage) GetPollCreationMessageKey() *waCommon.MessageKey { + if x != nil { + return x.PollCreationMessageKey + } + return nil +} + +func (x *Message_PollUpdateMessage) GetVote() *Message_PollEncValue { + if x != nil { + return x.Vote + } + return nil +} + +func (x *Message_PollUpdateMessage) GetMetadata() *Message_PollUpdateMessageMetadata { + if x != nil { + return x.Metadata + } + return nil +} + +func (x *Message_PollUpdateMessage) GetSenderTimestampMS() int64 { + if x != nil { + return x.SenderTimestampMS + } + return 0 +} + +type Message_PollCreationMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EncKey []byte `protobuf:"bytes,1,opt,name=encKey,proto3" json:"encKey,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Options []*Message_PollCreationMessage_Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` + SelectableOptionsCount uint32 `protobuf:"varint,4,opt,name=selectableOptionsCount,proto3" json:"selectableOptionsCount,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,5,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` +} + +func (x *Message_PollCreationMessage) Reset() { + *x = Message_PollCreationMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PollCreationMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PollCreationMessage) ProtoMessage() {} + +func (x *Message_PollCreationMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[56] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PollCreationMessage.ProtoReflect.Descriptor instead. +func (*Message_PollCreationMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 36} +} + +func (x *Message_PollCreationMessage) GetEncKey() []byte { + if x != nil { + return x.EncKey + } + return nil +} + +func (x *Message_PollCreationMessage) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Message_PollCreationMessage) GetOptions() []*Message_PollCreationMessage_Option { + if x != nil { + return x.Options + } + return nil +} + +func (x *Message_PollCreationMessage) GetSelectableOptionsCount() uint32 { + if x != nil { + return x.SelectableOptionsCount + } + return 0 +} + +func (x *Message_PollCreationMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +type Message_StickerSyncRMRMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Filehash []string `protobuf:"bytes,1,rep,name=filehash,proto3" json:"filehash,omitempty"` + RmrSource string `protobuf:"bytes,2,opt,name=rmrSource,proto3" json:"rmrSource,omitempty"` + RequestTimestamp int64 `protobuf:"varint,3,opt,name=requestTimestamp,proto3" json:"requestTimestamp,omitempty"` +} + +func (x *Message_StickerSyncRMRMessage) Reset() { + *x = Message_StickerSyncRMRMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_StickerSyncRMRMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_StickerSyncRMRMessage) ProtoMessage() {} + +func (x *Message_StickerSyncRMRMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[57] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_StickerSyncRMRMessage.ProtoReflect.Descriptor instead. +func (*Message_StickerSyncRMRMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 37} +} + +func (x *Message_StickerSyncRMRMessage) GetFilehash() []string { + if x != nil { + return x.Filehash + } + return nil +} + +func (x *Message_StickerSyncRMRMessage) GetRmrSource() string { + if x != nil { + return x.RmrSource + } + return "" +} + +func (x *Message_StickerSyncRMRMessage) GetRequestTimestamp() int64 { + if x != nil { + return x.RequestTimestamp + } + return 0 +} + +type Message_ReactionMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` + GroupingKey string `protobuf:"bytes,3,opt,name=groupingKey,proto3" json:"groupingKey,omitempty"` + SenderTimestampMS int64 `protobuf:"varint,4,opt,name=senderTimestampMS,proto3" json:"senderTimestampMS,omitempty"` +} + +func (x *Message_ReactionMessage) Reset() { + *x = Message_ReactionMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ReactionMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ReactionMessage) ProtoMessage() {} + +func (x *Message_ReactionMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[58] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ReactionMessage.ProtoReflect.Descriptor instead. +func (*Message_ReactionMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 38} +} + +func (x *Message_ReactionMessage) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *Message_ReactionMessage) GetText() string { + if x != nil { + return x.Text + } + return "" +} + +func (x *Message_ReactionMessage) GetGroupingKey() string { + if x != nil { + return x.GroupingKey + } + return "" +} + +func (x *Message_ReactionMessage) GetSenderTimestampMS() int64 { + if x != nil { + return x.SenderTimestampMS + } + return 0 +} + +type Message_FutureProofMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *Message_FutureProofMessage) Reset() { + *x = Message_FutureProofMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_FutureProofMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_FutureProofMessage) ProtoMessage() {} + +func (x *Message_FutureProofMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[59] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_FutureProofMessage.ProtoReflect.Descriptor instead. +func (*Message_FutureProofMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 39} +} + +func (x *Message_FutureProofMessage) GetMessage() *Message { + if x != nil { + return x.Message + } + return nil +} + +type Message_DeviceSentMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DestinationJID string `protobuf:"bytes,1,opt,name=destinationJID,proto3" json:"destinationJID,omitempty"` + Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Phash string `protobuf:"bytes,3,opt,name=phash,proto3" json:"phash,omitempty"` +} + +func (x *Message_DeviceSentMessage) Reset() { + *x = Message_DeviceSentMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_DeviceSentMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_DeviceSentMessage) ProtoMessage() {} + +func (x *Message_DeviceSentMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[60] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_DeviceSentMessage.ProtoReflect.Descriptor instead. +func (*Message_DeviceSentMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 40} +} + +func (x *Message_DeviceSentMessage) GetDestinationJID() string { + if x != nil { + return x.DestinationJID + } + return "" +} + +func (x *Message_DeviceSentMessage) GetMessage() *Message { + if x != nil { + return x.Message + } + return nil +} + +func (x *Message_DeviceSentMessage) GetPhash() string { + if x != nil { + return x.Phash + } + return "" +} + +type Message_RequestPhoneNumberMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ContextInfo *ContextInfo `protobuf:"bytes,1,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` +} + +func (x *Message_RequestPhoneNumberMessage) Reset() { + *x = Message_RequestPhoneNumberMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_RequestPhoneNumberMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_RequestPhoneNumberMessage) ProtoMessage() {} + +func (x *Message_RequestPhoneNumberMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[61] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_RequestPhoneNumberMessage.ProtoReflect.Descriptor instead. +func (*Message_RequestPhoneNumberMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 41} +} + +func (x *Message_RequestPhoneNumberMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +type Message_NewsletterAdminInviteMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NewsletterJID string `protobuf:"bytes,1,opt,name=newsletterJID,proto3" json:"newsletterJID,omitempty"` + NewsletterName string `protobuf:"bytes,2,opt,name=newsletterName,proto3" json:"newsletterName,omitempty"` + JPEGThumbnail []byte `protobuf:"bytes,3,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` + Caption string `protobuf:"bytes,4,opt,name=caption,proto3" json:"caption,omitempty"` + InviteExpiration int64 `protobuf:"varint,5,opt,name=inviteExpiration,proto3" json:"inviteExpiration,omitempty"` +} + +func (x *Message_NewsletterAdminInviteMessage) Reset() { + *x = Message_NewsletterAdminInviteMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_NewsletterAdminInviteMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_NewsletterAdminInviteMessage) ProtoMessage() {} + +func (x *Message_NewsletterAdminInviteMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[62] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_NewsletterAdminInviteMessage.ProtoReflect.Descriptor instead. +func (*Message_NewsletterAdminInviteMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 42} +} + +func (x *Message_NewsletterAdminInviteMessage) GetNewsletterJID() string { + if x != nil { + return x.NewsletterJID + } + return "" +} + +func (x *Message_NewsletterAdminInviteMessage) GetNewsletterName() string { + if x != nil { + return x.NewsletterName + } + return "" +} + +func (x *Message_NewsletterAdminInviteMessage) GetJPEGThumbnail() []byte { + if x != nil { + return x.JPEGThumbnail + } + return nil +} + +func (x *Message_NewsletterAdminInviteMessage) GetCaption() string { + if x != nil { + return x.Caption + } + return "" +} + +func (x *Message_NewsletterAdminInviteMessage) GetInviteExpiration() int64 { + if x != nil { + return x.InviteExpiration + } + return 0 +} + +type Message_ProductMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Product *Message_ProductMessage_ProductSnapshot `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` + BusinessOwnerJID string `protobuf:"bytes,2,opt,name=businessOwnerJID,proto3" json:"businessOwnerJID,omitempty"` + Catalog *Message_ProductMessage_CatalogSnapshot `protobuf:"bytes,4,opt,name=catalog,proto3" json:"catalog,omitempty"` + Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` + Footer string `protobuf:"bytes,6,opt,name=footer,proto3" json:"footer,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` +} + +func (x *Message_ProductMessage) Reset() { + *x = Message_ProductMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ProductMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ProductMessage) ProtoMessage() {} + +func (x *Message_ProductMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[63] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ProductMessage.ProtoReflect.Descriptor instead. +func (*Message_ProductMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 43} +} + +func (x *Message_ProductMessage) GetProduct() *Message_ProductMessage_ProductSnapshot { + if x != nil { + return x.Product + } + return nil +} + +func (x *Message_ProductMessage) GetBusinessOwnerJID() string { + if x != nil { + return x.BusinessOwnerJID + } + return "" +} + +func (x *Message_ProductMessage) GetCatalog() *Message_ProductMessage_CatalogSnapshot { + if x != nil { + return x.Catalog + } + return nil +} + +func (x *Message_ProductMessage) GetBody() string { + if x != nil { + return x.Body + } + return "" +} + +func (x *Message_ProductMessage) GetFooter() string { + if x != nil { + return x.Footer + } + return "" +} + +func (x *Message_ProductMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +type Message_TemplateButtonReplyMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SelectedID string `protobuf:"bytes,1,opt,name=selectedID,proto3" json:"selectedID,omitempty"` + SelectedDisplayText string `protobuf:"bytes,2,opt,name=selectedDisplayText,proto3" json:"selectedDisplayText,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + SelectedIndex uint32 `protobuf:"varint,4,opt,name=selectedIndex,proto3" json:"selectedIndex,omitempty"` + SelectedCarouselCardIndex uint32 `protobuf:"varint,5,opt,name=selectedCarouselCardIndex,proto3" json:"selectedCarouselCardIndex,omitempty"` +} + +func (x *Message_TemplateButtonReplyMessage) Reset() { + *x = Message_TemplateButtonReplyMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_TemplateButtonReplyMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_TemplateButtonReplyMessage) ProtoMessage() {} + +func (x *Message_TemplateButtonReplyMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[64] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_TemplateButtonReplyMessage.ProtoReflect.Descriptor instead. +func (*Message_TemplateButtonReplyMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 44} +} + +func (x *Message_TemplateButtonReplyMessage) GetSelectedID() string { + if x != nil { + return x.SelectedID + } + return "" +} + +func (x *Message_TemplateButtonReplyMessage) GetSelectedDisplayText() string { + if x != nil { + return x.SelectedDisplayText + } + return "" +} + +func (x *Message_TemplateButtonReplyMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_TemplateButtonReplyMessage) GetSelectedIndex() uint32 { + if x != nil { + return x.SelectedIndex + } + return 0 +} + +func (x *Message_TemplateButtonReplyMessage) GetSelectedCarouselCardIndex() uint32 { + if x != nil { + return x.SelectedCarouselCardIndex + } + return 0 +} + +type Message_TemplateMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Format: + // + // *Message_TemplateMessage_FourRowTemplate_ + // *Message_TemplateMessage_HydratedFourRowTemplate_ + // *Message_TemplateMessage_InteractiveMessageTemplate + Format isMessage_TemplateMessage_Format `protobuf_oneof:"format"` + ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + HydratedTemplate *Message_TemplateMessage_HydratedFourRowTemplate `protobuf:"bytes,4,opt,name=hydratedTemplate,proto3" json:"hydratedTemplate,omitempty"` + TemplateID string `protobuf:"bytes,9,opt,name=templateID,proto3" json:"templateID,omitempty"` +} + +func (x *Message_TemplateMessage) Reset() { + *x = Message_TemplateMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_TemplateMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_TemplateMessage) ProtoMessage() {} + +func (x *Message_TemplateMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_TemplateMessage.ProtoReflect.Descriptor instead. +func (*Message_TemplateMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 45} +} + +func (m *Message_TemplateMessage) GetFormat() isMessage_TemplateMessage_Format { + if m != nil { + return m.Format + } + return nil +} + +func (x *Message_TemplateMessage) GetFourRowTemplate() *Message_TemplateMessage_FourRowTemplate { + if x, ok := x.GetFormat().(*Message_TemplateMessage_FourRowTemplate_); ok { + return x.FourRowTemplate + } + return nil +} + +func (x *Message_TemplateMessage) GetHydratedFourRowTemplate() *Message_TemplateMessage_HydratedFourRowTemplate { + if x, ok := x.GetFormat().(*Message_TemplateMessage_HydratedFourRowTemplate_); ok { + return x.HydratedFourRowTemplate + } + return nil +} + +func (x *Message_TemplateMessage) GetInteractiveMessageTemplate() *Message_InteractiveMessage { + if x, ok := x.GetFormat().(*Message_TemplateMessage_InteractiveMessageTemplate); ok { + return x.InteractiveMessageTemplate + } + return nil +} + +func (x *Message_TemplateMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_TemplateMessage) GetHydratedTemplate() *Message_TemplateMessage_HydratedFourRowTemplate { + if x != nil { + return x.HydratedTemplate + } + return nil +} + +func (x *Message_TemplateMessage) GetTemplateID() string { + if x != nil { + return x.TemplateID + } + return "" +} + +type isMessage_TemplateMessage_Format interface { + isMessage_TemplateMessage_Format() +} + +type Message_TemplateMessage_FourRowTemplate_ struct { + FourRowTemplate *Message_TemplateMessage_FourRowTemplate `protobuf:"bytes,1,opt,name=fourRowTemplate,proto3,oneof"` +} + +type Message_TemplateMessage_HydratedFourRowTemplate_ struct { + HydratedFourRowTemplate *Message_TemplateMessage_HydratedFourRowTemplate `protobuf:"bytes,2,opt,name=hydratedFourRowTemplate,proto3,oneof"` +} + +type Message_TemplateMessage_InteractiveMessageTemplate struct { + InteractiveMessageTemplate *Message_InteractiveMessage `protobuf:"bytes,5,opt,name=interactiveMessageTemplate,proto3,oneof"` +} + +func (*Message_TemplateMessage_FourRowTemplate_) isMessage_TemplateMessage_Format() {} + +func (*Message_TemplateMessage_HydratedFourRowTemplate_) isMessage_TemplateMessage_Format() {} + +func (*Message_TemplateMessage_InteractiveMessageTemplate) isMessage_TemplateMessage_Format() {} + +type Message_StickerMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` + FileSHA256 []byte `protobuf:"bytes,2,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,3,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` + MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + Mimetype string `protobuf:"bytes,5,opt,name=mimetype,proto3" json:"mimetype,omitempty"` + Height uint32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` + Width uint32 `protobuf:"varint,7,opt,name=width,proto3" json:"width,omitempty"` + DirectPath string `protobuf:"bytes,8,opt,name=directPath,proto3" json:"directPath,omitempty"` + FileLength uint64 `protobuf:"varint,9,opt,name=fileLength,proto3" json:"fileLength,omitempty"` + MediaKeyTimestamp int64 `protobuf:"varint,10,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"` + FirstFrameLength uint32 `protobuf:"varint,11,opt,name=firstFrameLength,proto3" json:"firstFrameLength,omitempty"` + FirstFrameSidecar []byte `protobuf:"bytes,12,opt,name=firstFrameSidecar,proto3" json:"firstFrameSidecar,omitempty"` + IsAnimated bool `protobuf:"varint,13,opt,name=isAnimated,proto3" json:"isAnimated,omitempty"` + PngThumbnail []byte `protobuf:"bytes,16,opt,name=pngThumbnail,proto3" json:"pngThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + StickerSentTS int64 `protobuf:"varint,18,opt,name=stickerSentTS,proto3" json:"stickerSentTS,omitempty"` + IsAvatar bool `protobuf:"varint,19,opt,name=isAvatar,proto3" json:"isAvatar,omitempty"` + IsAiSticker bool `protobuf:"varint,20,opt,name=isAiSticker,proto3" json:"isAiSticker,omitempty"` + IsLottie bool `protobuf:"varint,21,opt,name=isLottie,proto3" json:"isLottie,omitempty"` +} + +func (x *Message_StickerMessage) Reset() { + *x = Message_StickerMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_StickerMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_StickerMessage) ProtoMessage() {} + +func (x *Message_StickerMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[66] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_StickerMessage.ProtoReflect.Descriptor instead. +func (*Message_StickerMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 46} +} + +func (x *Message_StickerMessage) GetURL() string { + if x != nil { + return x.URL + } + return "" +} + +func (x *Message_StickerMessage) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *Message_StickerMessage) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *Message_StickerMessage) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *Message_StickerMessage) GetMimetype() string { + if x != nil { + return x.Mimetype + } + return "" +} + +func (x *Message_StickerMessage) GetHeight() uint32 { + if x != nil { + return x.Height + } + return 0 +} + +func (x *Message_StickerMessage) GetWidth() uint32 { + if x != nil { + return x.Width + } + return 0 +} + +func (x *Message_StickerMessage) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *Message_StickerMessage) GetFileLength() uint64 { + if x != nil { + return x.FileLength + } + return 0 +} + +func (x *Message_StickerMessage) GetMediaKeyTimestamp() int64 { + if x != nil { + return x.MediaKeyTimestamp + } + return 0 +} + +func (x *Message_StickerMessage) GetFirstFrameLength() uint32 { + if x != nil { + return x.FirstFrameLength + } + return 0 +} + +func (x *Message_StickerMessage) GetFirstFrameSidecar() []byte { + if x != nil { + return x.FirstFrameSidecar + } + return nil +} + +func (x *Message_StickerMessage) GetIsAnimated() bool { + if x != nil { + return x.IsAnimated + } + return false +} + +func (x *Message_StickerMessage) GetPngThumbnail() []byte { + if x != nil { + return x.PngThumbnail + } + return nil +} + +func (x *Message_StickerMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_StickerMessage) GetStickerSentTS() int64 { + if x != nil { + return x.StickerSentTS + } + return 0 +} + +func (x *Message_StickerMessage) GetIsAvatar() bool { + if x != nil { + return x.IsAvatar + } + return false +} + +func (x *Message_StickerMessage) GetIsAiSticker() bool { + if x != nil { + return x.IsAiSticker + } + return false +} + +func (x *Message_StickerMessage) GetIsLottie() bool { + if x != nil { + return x.IsLottie + } + return false +} + +type Message_LiveLocationMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DegreesLatitude float64 `protobuf:"fixed64,1,opt,name=degreesLatitude,proto3" json:"degreesLatitude,omitempty"` + DegreesLongitude float64 `protobuf:"fixed64,2,opt,name=degreesLongitude,proto3" json:"degreesLongitude,omitempty"` + AccuracyInMeters uint32 `protobuf:"varint,3,opt,name=accuracyInMeters,proto3" json:"accuracyInMeters,omitempty"` + SpeedInMps float32 `protobuf:"fixed32,4,opt,name=speedInMps,proto3" json:"speedInMps,omitempty"` + DegreesClockwiseFromMagneticNorth uint32 `protobuf:"varint,5,opt,name=degreesClockwiseFromMagneticNorth,proto3" json:"degreesClockwiseFromMagneticNorth,omitempty"` + Caption string `protobuf:"bytes,6,opt,name=caption,proto3" json:"caption,omitempty"` + SequenceNumber int64 `protobuf:"varint,7,opt,name=sequenceNumber,proto3" json:"sequenceNumber,omitempty"` + TimeOffset uint32 `protobuf:"varint,8,opt,name=timeOffset,proto3" json:"timeOffset,omitempty"` + JPEGThumbnail []byte `protobuf:"bytes,16,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` +} + +func (x *Message_LiveLocationMessage) Reset() { + *x = Message_LiveLocationMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_LiveLocationMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_LiveLocationMessage) ProtoMessage() {} + +func (x *Message_LiveLocationMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[67] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_LiveLocationMessage.ProtoReflect.Descriptor instead. +func (*Message_LiveLocationMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 47} +} + +func (x *Message_LiveLocationMessage) GetDegreesLatitude() float64 { + if x != nil { + return x.DegreesLatitude + } + return 0 +} + +func (x *Message_LiveLocationMessage) GetDegreesLongitude() float64 { + if x != nil { + return x.DegreesLongitude + } + return 0 +} + +func (x *Message_LiveLocationMessage) GetAccuracyInMeters() uint32 { + if x != nil { + return x.AccuracyInMeters + } + return 0 +} + +func (x *Message_LiveLocationMessage) GetSpeedInMps() float32 { + if x != nil { + return x.SpeedInMps + } + return 0 +} + +func (x *Message_LiveLocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 { + if x != nil { + return x.DegreesClockwiseFromMagneticNorth + } + return 0 +} + +func (x *Message_LiveLocationMessage) GetCaption() string { + if x != nil { + return x.Caption + } + return "" +} + +func (x *Message_LiveLocationMessage) GetSequenceNumber() int64 { + if x != nil { + return x.SequenceNumber + } + return 0 +} + +func (x *Message_LiveLocationMessage) GetTimeOffset() uint32 { + if x != nil { + return x.TimeOffset + } + return 0 +} + +func (x *Message_LiveLocationMessage) GetJPEGThumbnail() []byte { + if x != nil { + return x.JPEGThumbnail + } + return nil +} + +func (x *Message_LiveLocationMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +type Message_CancelPaymentRequestMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *Message_CancelPaymentRequestMessage) Reset() { + *x = Message_CancelPaymentRequestMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_CancelPaymentRequestMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_CancelPaymentRequestMessage) ProtoMessage() {} + +func (x *Message_CancelPaymentRequestMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[68] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_CancelPaymentRequestMessage.ProtoReflect.Descriptor instead. +func (*Message_CancelPaymentRequestMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 48} +} + +func (x *Message_CancelPaymentRequestMessage) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +type Message_DeclinePaymentRequestMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *Message_DeclinePaymentRequestMessage) Reset() { + *x = Message_DeclinePaymentRequestMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_DeclinePaymentRequestMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_DeclinePaymentRequestMessage) ProtoMessage() {} + +func (x *Message_DeclinePaymentRequestMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[69] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_DeclinePaymentRequestMessage.ProtoReflect.Descriptor instead. +func (*Message_DeclinePaymentRequestMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 49} +} + +func (x *Message_DeclinePaymentRequestMessage) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +type Message_RequestPaymentMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NoteMessage *Message `protobuf:"bytes,4,opt,name=noteMessage,proto3" json:"noteMessage,omitempty"` + CurrencyCodeIso4217 string `protobuf:"bytes,1,opt,name=currencyCodeIso4217,proto3" json:"currencyCodeIso4217,omitempty"` + Amount1000 uint64 `protobuf:"varint,2,opt,name=amount1000,proto3" json:"amount1000,omitempty"` + RequestFrom string `protobuf:"bytes,3,opt,name=requestFrom,proto3" json:"requestFrom,omitempty"` + ExpiryTimestamp int64 `protobuf:"varint,5,opt,name=expiryTimestamp,proto3" json:"expiryTimestamp,omitempty"` + Amount *Money `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"` + Background *PaymentBackground `protobuf:"bytes,7,opt,name=background,proto3" json:"background,omitempty"` +} + +func (x *Message_RequestPaymentMessage) Reset() { + *x = Message_RequestPaymentMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_RequestPaymentMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_RequestPaymentMessage) ProtoMessage() {} + +func (x *Message_RequestPaymentMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[70] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_RequestPaymentMessage.ProtoReflect.Descriptor instead. +func (*Message_RequestPaymentMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 50} +} + +func (x *Message_RequestPaymentMessage) GetNoteMessage() *Message { + if x != nil { + return x.NoteMessage + } + return nil +} + +func (x *Message_RequestPaymentMessage) GetCurrencyCodeIso4217() string { + if x != nil { + return x.CurrencyCodeIso4217 + } + return "" +} + +func (x *Message_RequestPaymentMessage) GetAmount1000() uint64 { + if x != nil { + return x.Amount1000 + } + return 0 +} + +func (x *Message_RequestPaymentMessage) GetRequestFrom() string { + if x != nil { + return x.RequestFrom + } + return "" +} + +func (x *Message_RequestPaymentMessage) GetExpiryTimestamp() int64 { + if x != nil { + return x.ExpiryTimestamp + } + return 0 +} + +func (x *Message_RequestPaymentMessage) GetAmount() *Money { + if x != nil { + return x.Amount + } + return nil +} + +func (x *Message_RequestPaymentMessage) GetBackground() *PaymentBackground { + if x != nil { + return x.Background + } + return nil +} + +type Message_SendPaymentMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NoteMessage *Message `protobuf:"bytes,2,opt,name=noteMessage,proto3" json:"noteMessage,omitempty"` + RequestMessageKey *waCommon.MessageKey `protobuf:"bytes,3,opt,name=requestMessageKey,proto3" json:"requestMessageKey,omitempty"` + Background *PaymentBackground `protobuf:"bytes,4,opt,name=background,proto3" json:"background,omitempty"` +} + +func (x *Message_SendPaymentMessage) Reset() { + *x = Message_SendPaymentMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_SendPaymentMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_SendPaymentMessage) ProtoMessage() {} + +func (x *Message_SendPaymentMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[71] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_SendPaymentMessage.ProtoReflect.Descriptor instead. +func (*Message_SendPaymentMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 51} +} + +func (x *Message_SendPaymentMessage) GetNoteMessage() *Message { + if x != nil { + return x.NoteMessage + } + return nil +} + +func (x *Message_SendPaymentMessage) GetRequestMessageKey() *waCommon.MessageKey { + if x != nil { + return x.RequestMessageKey + } + return nil +} + +func (x *Message_SendPaymentMessage) GetBackground() *PaymentBackground { + if x != nil { + return x.Background + } + return nil +} + +type Message_ContactsArrayMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DisplayName string `protobuf:"bytes,1,opt,name=displayName,proto3" json:"displayName,omitempty"` + Contacts []*Message_ContactMessage `protobuf:"bytes,2,rep,name=contacts,proto3" json:"contacts,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` +} + +func (x *Message_ContactsArrayMessage) Reset() { + *x = Message_ContactsArrayMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ContactsArrayMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ContactsArrayMessage) ProtoMessage() {} + +func (x *Message_ContactsArrayMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[72] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ContactsArrayMessage.ProtoReflect.Descriptor instead. +func (*Message_ContactsArrayMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 52} +} + +func (x *Message_ContactsArrayMessage) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +func (x *Message_ContactsArrayMessage) GetContacts() []*Message_ContactMessage { + if x != nil { + return x.Contacts + } + return nil +} + +func (x *Message_ContactsArrayMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +type Message_InitialSecurityNotificationSettingSync struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SecurityNotificationEnabled bool `protobuf:"varint,1,opt,name=securityNotificationEnabled,proto3" json:"securityNotificationEnabled,omitempty"` +} + +func (x *Message_InitialSecurityNotificationSettingSync) Reset() { + *x = Message_InitialSecurityNotificationSettingSync{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_InitialSecurityNotificationSettingSync) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_InitialSecurityNotificationSettingSync) ProtoMessage() {} + +func (x *Message_InitialSecurityNotificationSettingSync) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[73] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_InitialSecurityNotificationSettingSync.ProtoReflect.Descriptor instead. +func (*Message_InitialSecurityNotificationSettingSync) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 53} +} + +func (x *Message_InitialSecurityNotificationSettingSync) GetSecurityNotificationEnabled() bool { + if x != nil { + return x.SecurityNotificationEnabled + } + return false +} + +type Message_PeerDataOperationRequestResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PeerDataOperationRequestType Message_PeerDataOperationRequestType `protobuf:"varint,1,opt,name=peerDataOperationRequestType,proto3,enum=WAE2E.Message_PeerDataOperationRequestType" json:"peerDataOperationRequestType,omitempty"` + StanzaID string `protobuf:"bytes,2,opt,name=stanzaID,proto3" json:"stanzaID,omitempty"` + PeerDataOperationResult []*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult `protobuf:"bytes,3,rep,name=peerDataOperationResult,proto3" json:"peerDataOperationResult,omitempty"` +} + +func (x *Message_PeerDataOperationRequestResponseMessage) Reset() { + *x = Message_PeerDataOperationRequestResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PeerDataOperationRequestResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PeerDataOperationRequestResponseMessage) ProtoMessage() {} + +func (x *Message_PeerDataOperationRequestResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[74] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PeerDataOperationRequestResponseMessage.ProtoReflect.Descriptor instead. +func (*Message_PeerDataOperationRequestResponseMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 54} +} + +func (x *Message_PeerDataOperationRequestResponseMessage) GetPeerDataOperationRequestType() Message_PeerDataOperationRequestType { + if x != nil { + return x.PeerDataOperationRequestType + } + return Message_UPLOAD_STICKER +} + +func (x *Message_PeerDataOperationRequestResponseMessage) GetStanzaID() string { + if x != nil { + return x.StanzaID + } + return "" +} + +func (x *Message_PeerDataOperationRequestResponseMessage) GetPeerDataOperationResult() []*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult { + if x != nil { + return x.PeerDataOperationResult + } + return nil +} + +type Message_PeerDataOperationRequestMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PeerDataOperationRequestType Message_PeerDataOperationRequestType `protobuf:"varint,1,opt,name=peerDataOperationRequestType,proto3,enum=WAE2E.Message_PeerDataOperationRequestType" json:"peerDataOperationRequestType,omitempty"` + RequestStickerReupload []*Message_PeerDataOperationRequestMessage_RequestStickerReupload `protobuf:"bytes,2,rep,name=requestStickerReupload,proto3" json:"requestStickerReupload,omitempty"` + RequestURLPreview []*Message_PeerDataOperationRequestMessage_RequestUrlPreview `protobuf:"bytes,3,rep,name=requestURLPreview,proto3" json:"requestURLPreview,omitempty"` + HistorySyncOnDemandRequest *Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest `protobuf:"bytes,4,opt,name=historySyncOnDemandRequest,proto3" json:"historySyncOnDemandRequest,omitempty"` + PlaceholderMessageResendRequest []*Message_PeerDataOperationRequestMessage_PlaceholderMessageResendRequest `protobuf:"bytes,5,rep,name=placeholderMessageResendRequest,proto3" json:"placeholderMessageResendRequest,omitempty"` +} + +func (x *Message_PeerDataOperationRequestMessage) Reset() { + *x = Message_PeerDataOperationRequestMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PeerDataOperationRequestMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PeerDataOperationRequestMessage) ProtoMessage() {} + +func (x *Message_PeerDataOperationRequestMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[75] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PeerDataOperationRequestMessage.ProtoReflect.Descriptor instead. +func (*Message_PeerDataOperationRequestMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 55} +} + +func (x *Message_PeerDataOperationRequestMessage) GetPeerDataOperationRequestType() Message_PeerDataOperationRequestType { + if x != nil { + return x.PeerDataOperationRequestType + } + return Message_UPLOAD_STICKER +} + +func (x *Message_PeerDataOperationRequestMessage) GetRequestStickerReupload() []*Message_PeerDataOperationRequestMessage_RequestStickerReupload { + if x != nil { + return x.RequestStickerReupload + } + return nil +} + +func (x *Message_PeerDataOperationRequestMessage) GetRequestURLPreview() []*Message_PeerDataOperationRequestMessage_RequestUrlPreview { + if x != nil { + return x.RequestURLPreview + } + return nil +} + +func (x *Message_PeerDataOperationRequestMessage) GetHistorySyncOnDemandRequest() *Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest { + if x != nil { + return x.HistorySyncOnDemandRequest + } + return nil +} + +func (x *Message_PeerDataOperationRequestMessage) GetPlaceholderMessageResendRequest() []*Message_PeerDataOperationRequestMessage_PlaceholderMessageResendRequest { + if x != nil { + return x.PlaceholderMessageResendRequest + } + return nil +} + +type Message_AppStateFatalExceptionNotification struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CollectionNames []string `protobuf:"bytes,1,rep,name=collectionNames,proto3" json:"collectionNames,omitempty"` + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *Message_AppStateFatalExceptionNotification) Reset() { + *x = Message_AppStateFatalExceptionNotification{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_AppStateFatalExceptionNotification) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_AppStateFatalExceptionNotification) ProtoMessage() {} + +func (x *Message_AppStateFatalExceptionNotification) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[76] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_AppStateFatalExceptionNotification.ProtoReflect.Descriptor instead. +func (*Message_AppStateFatalExceptionNotification) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 56} +} + +func (x *Message_AppStateFatalExceptionNotification) GetCollectionNames() []string { + if x != nil { + return x.CollectionNames + } + return nil +} + +func (x *Message_AppStateFatalExceptionNotification) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +type Message_AppStateSyncKeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KeyIDs []*Message_AppStateSyncKeyId `protobuf:"bytes,1,rep,name=keyIDs,proto3" json:"keyIDs,omitempty"` +} + +func (x *Message_AppStateSyncKeyRequest) Reset() { + *x = Message_AppStateSyncKeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_AppStateSyncKeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_AppStateSyncKeyRequest) ProtoMessage() {} + +func (x *Message_AppStateSyncKeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[77] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_AppStateSyncKeyRequest.ProtoReflect.Descriptor instead. +func (*Message_AppStateSyncKeyRequest) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 57} +} + +func (x *Message_AppStateSyncKeyRequest) GetKeyIDs() []*Message_AppStateSyncKeyId { + if x != nil { + return x.KeyIDs + } + return nil +} + +type Message_AppStateSyncKeyShare struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keys []*Message_AppStateSyncKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` +} + +func (x *Message_AppStateSyncKeyShare) Reset() { + *x = Message_AppStateSyncKeyShare{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_AppStateSyncKeyShare) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_AppStateSyncKeyShare) ProtoMessage() {} + +func (x *Message_AppStateSyncKeyShare) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[78] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_AppStateSyncKeyShare.ProtoReflect.Descriptor instead. +func (*Message_AppStateSyncKeyShare) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 58} +} + +func (x *Message_AppStateSyncKeyShare) GetKeys() []*Message_AppStateSyncKey { + if x != nil { + return x.Keys + } + return nil +} + +type Message_AppStateSyncKeyData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KeyData []byte `protobuf:"bytes,1,opt,name=keyData,proto3" json:"keyData,omitempty"` + Fingerprint *Message_AppStateSyncKeyFingerprint `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` + Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *Message_AppStateSyncKeyData) Reset() { + *x = Message_AppStateSyncKeyData{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_AppStateSyncKeyData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_AppStateSyncKeyData) ProtoMessage() {} + +func (x *Message_AppStateSyncKeyData) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[79] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_AppStateSyncKeyData.ProtoReflect.Descriptor instead. +func (*Message_AppStateSyncKeyData) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 59} +} + +func (x *Message_AppStateSyncKeyData) GetKeyData() []byte { + if x != nil { + return x.KeyData + } + return nil +} + +func (x *Message_AppStateSyncKeyData) GetFingerprint() *Message_AppStateSyncKeyFingerprint { + if x != nil { + return x.Fingerprint + } + return nil +} + +func (x *Message_AppStateSyncKeyData) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +type Message_AppStateSyncKeyFingerprint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawID uint32 `protobuf:"varint,1,opt,name=rawID,proto3" json:"rawID,omitempty"` + CurrentIndex uint32 `protobuf:"varint,2,opt,name=currentIndex,proto3" json:"currentIndex,omitempty"` + DeviceIndexes []uint32 `protobuf:"varint,3,rep,packed,name=deviceIndexes,proto3" json:"deviceIndexes,omitempty"` +} + +func (x *Message_AppStateSyncKeyFingerprint) Reset() { + *x = Message_AppStateSyncKeyFingerprint{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_AppStateSyncKeyFingerprint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_AppStateSyncKeyFingerprint) ProtoMessage() {} + +func (x *Message_AppStateSyncKeyFingerprint) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[80] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_AppStateSyncKeyFingerprint.ProtoReflect.Descriptor instead. +func (*Message_AppStateSyncKeyFingerprint) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 60} +} + +func (x *Message_AppStateSyncKeyFingerprint) GetRawID() uint32 { + if x != nil { + return x.RawID + } + return 0 +} + +func (x *Message_AppStateSyncKeyFingerprint) GetCurrentIndex() uint32 { + if x != nil { + return x.CurrentIndex + } + return 0 +} + +func (x *Message_AppStateSyncKeyFingerprint) GetDeviceIndexes() []uint32 { + if x != nil { + return x.DeviceIndexes + } + return nil +} + +type Message_AppStateSyncKeyId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KeyID []byte `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` +} + +func (x *Message_AppStateSyncKeyId) Reset() { + *x = Message_AppStateSyncKeyId{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_AppStateSyncKeyId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_AppStateSyncKeyId) ProtoMessage() {} + +func (x *Message_AppStateSyncKeyId) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[81] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_AppStateSyncKeyId.ProtoReflect.Descriptor instead. +func (*Message_AppStateSyncKeyId) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 61} +} + +func (x *Message_AppStateSyncKeyId) GetKeyID() []byte { + if x != nil { + return x.KeyID + } + return nil +} + +type Message_AppStateSyncKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KeyID *Message_AppStateSyncKeyId `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` + KeyData *Message_AppStateSyncKeyData `protobuf:"bytes,2,opt,name=keyData,proto3" json:"keyData,omitempty"` +} + +func (x *Message_AppStateSyncKey) Reset() { + *x = Message_AppStateSyncKey{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_AppStateSyncKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_AppStateSyncKey) ProtoMessage() {} + +func (x *Message_AppStateSyncKey) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[82] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_AppStateSyncKey.ProtoReflect.Descriptor instead. +func (*Message_AppStateSyncKey) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 62} +} + +func (x *Message_AppStateSyncKey) GetKeyID() *Message_AppStateSyncKeyId { + if x != nil { + return x.KeyID + } + return nil +} + +func (x *Message_AppStateSyncKey) GetKeyData() *Message_AppStateSyncKeyData { + if x != nil { + return x.KeyData + } + return nil +} + +type Message_Chat struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DisplayName string `protobuf:"bytes,1,opt,name=displayName,proto3" json:"displayName,omitempty"` + ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"` +} + +func (x *Message_Chat) Reset() { + *x = Message_Chat{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_Chat) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_Chat) ProtoMessage() {} + +func (x *Message_Chat) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[83] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_Chat.ProtoReflect.Descriptor instead. +func (*Message_Chat) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 63} +} + +func (x *Message_Chat) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +func (x *Message_Chat) GetID() string { + if x != nil { + return x.ID + } + return "" +} + +type Message_Call struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CallKey []byte `protobuf:"bytes,1,opt,name=callKey,proto3" json:"callKey,omitempty"` + ConversionSource string `protobuf:"bytes,2,opt,name=conversionSource,proto3" json:"conversionSource,omitempty"` + ConversionData []byte `protobuf:"bytes,3,opt,name=conversionData,proto3" json:"conversionData,omitempty"` + ConversionDelaySeconds uint32 `protobuf:"varint,4,opt,name=conversionDelaySeconds,proto3" json:"conversionDelaySeconds,omitempty"` +} + +func (x *Message_Call) Reset() { + *x = Message_Call{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_Call) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_Call) ProtoMessage() {} + +func (x *Message_Call) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[84] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_Call.ProtoReflect.Descriptor instead. +func (*Message_Call) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 64} +} + +func (x *Message_Call) GetCallKey() []byte { + if x != nil { + return x.CallKey + } + return nil +} + +func (x *Message_Call) GetConversionSource() string { + if x != nil { + return x.ConversionSource + } + return "" +} + +func (x *Message_Call) GetConversionData() []byte { + if x != nil { + return x.ConversionData + } + return nil +} + +func (x *Message_Call) GetConversionDelaySeconds() uint32 { + if x != nil { + return x.ConversionDelaySeconds + } + return 0 +} + +type Message_AudioMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` + Mimetype string `protobuf:"bytes,2,opt,name=mimetype,proto3" json:"mimetype,omitempty"` + FileSHA256 []byte `protobuf:"bytes,3,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` + FileLength uint64 `protobuf:"varint,4,opt,name=fileLength,proto3" json:"fileLength,omitempty"` + Seconds uint32 `protobuf:"varint,5,opt,name=seconds,proto3" json:"seconds,omitempty"` + PTT bool `protobuf:"varint,6,opt,name=PTT,proto3" json:"PTT,omitempty"` + MediaKey []byte `protobuf:"bytes,7,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,8,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` + DirectPath string `protobuf:"bytes,9,opt,name=directPath,proto3" json:"directPath,omitempty"` + MediaKeyTimestamp int64 `protobuf:"varint,10,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + StreamingSidecar []byte `protobuf:"bytes,18,opt,name=streamingSidecar,proto3" json:"streamingSidecar,omitempty"` + Waveform []byte `protobuf:"bytes,19,opt,name=waveform,proto3" json:"waveform,omitempty"` + BackgroundArgb uint32 `protobuf:"fixed32,20,opt,name=backgroundArgb,proto3" json:"backgroundArgb,omitempty"` + ViewOnce bool `protobuf:"varint,21,opt,name=viewOnce,proto3" json:"viewOnce,omitempty"` +} + +func (x *Message_AudioMessage) Reset() { + *x = Message_AudioMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_AudioMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_AudioMessage) ProtoMessage() {} + +func (x *Message_AudioMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[85] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_AudioMessage.ProtoReflect.Descriptor instead. +func (*Message_AudioMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 65} +} + +func (x *Message_AudioMessage) GetURL() string { + if x != nil { + return x.URL + } + return "" +} + +func (x *Message_AudioMessage) GetMimetype() string { + if x != nil { + return x.Mimetype + } + return "" +} + +func (x *Message_AudioMessage) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *Message_AudioMessage) GetFileLength() uint64 { + if x != nil { + return x.FileLength + } + return 0 +} + +func (x *Message_AudioMessage) GetSeconds() uint32 { + if x != nil { + return x.Seconds + } + return 0 +} + +func (x *Message_AudioMessage) GetPTT() bool { + if x != nil { + return x.PTT + } + return false +} + +func (x *Message_AudioMessage) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *Message_AudioMessage) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *Message_AudioMessage) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *Message_AudioMessage) GetMediaKeyTimestamp() int64 { + if x != nil { + return x.MediaKeyTimestamp + } + return 0 +} + +func (x *Message_AudioMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_AudioMessage) GetStreamingSidecar() []byte { + if x != nil { + return x.StreamingSidecar + } + return nil +} + +func (x *Message_AudioMessage) GetWaveform() []byte { + if x != nil { + return x.Waveform + } + return nil +} + +func (x *Message_AudioMessage) GetBackgroundArgb() uint32 { + if x != nil { + return x.BackgroundArgb + } + return 0 +} + +func (x *Message_AudioMessage) GetViewOnce() bool { + if x != nil { + return x.ViewOnce + } + return false +} + +type Message_DocumentMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` + Mimetype string `protobuf:"bytes,2,opt,name=mimetype,proto3" json:"mimetype,omitempty"` + Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` + FileSHA256 []byte `protobuf:"bytes,4,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` + FileLength uint64 `protobuf:"varint,5,opt,name=fileLength,proto3" json:"fileLength,omitempty"` + PageCount uint32 `protobuf:"varint,6,opt,name=pageCount,proto3" json:"pageCount,omitempty"` + MediaKey []byte `protobuf:"bytes,7,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + FileName string `protobuf:"bytes,8,opt,name=fileName,proto3" json:"fileName,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,9,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` + DirectPath string `protobuf:"bytes,10,opt,name=directPath,proto3" json:"directPath,omitempty"` + MediaKeyTimestamp int64 `protobuf:"varint,11,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"` + ContactVcard bool `protobuf:"varint,12,opt,name=contactVcard,proto3" json:"contactVcard,omitempty"` + ThumbnailDirectPath string `protobuf:"bytes,13,opt,name=thumbnailDirectPath,proto3" json:"thumbnailDirectPath,omitempty"` + ThumbnailSHA256 []byte `protobuf:"bytes,14,opt,name=thumbnailSHA256,proto3" json:"thumbnailSHA256,omitempty"` + ThumbnailEncSHA256 []byte `protobuf:"bytes,15,opt,name=thumbnailEncSHA256,proto3" json:"thumbnailEncSHA256,omitempty"` + JPEGThumbnail []byte `protobuf:"bytes,16,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + ThumbnailHeight uint32 `protobuf:"varint,18,opt,name=thumbnailHeight,proto3" json:"thumbnailHeight,omitempty"` + ThumbnailWidth uint32 `protobuf:"varint,19,opt,name=thumbnailWidth,proto3" json:"thumbnailWidth,omitempty"` + Caption string `protobuf:"bytes,20,opt,name=caption,proto3" json:"caption,omitempty"` +} + +func (x *Message_DocumentMessage) Reset() { + *x = Message_DocumentMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_DocumentMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_DocumentMessage) ProtoMessage() {} + +func (x *Message_DocumentMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[86] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_DocumentMessage.ProtoReflect.Descriptor instead. +func (*Message_DocumentMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 66} +} + +func (x *Message_DocumentMessage) GetURL() string { + if x != nil { + return x.URL + } + return "" +} + +func (x *Message_DocumentMessage) GetMimetype() string { + if x != nil { + return x.Mimetype + } + return "" +} + +func (x *Message_DocumentMessage) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *Message_DocumentMessage) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *Message_DocumentMessage) GetFileLength() uint64 { + if x != nil { + return x.FileLength + } + return 0 +} + +func (x *Message_DocumentMessage) GetPageCount() uint32 { + if x != nil { + return x.PageCount + } + return 0 +} + +func (x *Message_DocumentMessage) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *Message_DocumentMessage) GetFileName() string { + if x != nil { + return x.FileName + } + return "" +} + +func (x *Message_DocumentMessage) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *Message_DocumentMessage) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *Message_DocumentMessage) GetMediaKeyTimestamp() int64 { + if x != nil { + return x.MediaKeyTimestamp + } + return 0 +} + +func (x *Message_DocumentMessage) GetContactVcard() bool { + if x != nil { + return x.ContactVcard + } + return false +} + +func (x *Message_DocumentMessage) GetThumbnailDirectPath() string { + if x != nil { + return x.ThumbnailDirectPath + } + return "" +} + +func (x *Message_DocumentMessage) GetThumbnailSHA256() []byte { + if x != nil { + return x.ThumbnailSHA256 + } + return nil +} + +func (x *Message_DocumentMessage) GetThumbnailEncSHA256() []byte { + if x != nil { + return x.ThumbnailEncSHA256 + } + return nil +} + +func (x *Message_DocumentMessage) GetJPEGThumbnail() []byte { + if x != nil { + return x.JPEGThumbnail + } + return nil +} + +func (x *Message_DocumentMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_DocumentMessage) GetThumbnailHeight() uint32 { + if x != nil { + return x.ThumbnailHeight + } + return 0 +} + +func (x *Message_DocumentMessage) GetThumbnailWidth() uint32 { + if x != nil { + return x.ThumbnailWidth + } + return 0 +} + +func (x *Message_DocumentMessage) GetCaption() string { + if x != nil { + return x.Caption + } + return "" +} + +type Message_LocationMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DegreesLatitude float64 `protobuf:"fixed64,1,opt,name=degreesLatitude,proto3" json:"degreesLatitude,omitempty"` + DegreesLongitude float64 `protobuf:"fixed64,2,opt,name=degreesLongitude,proto3" json:"degreesLongitude,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` + URL string `protobuf:"bytes,5,opt,name=URL,proto3" json:"URL,omitempty"` + IsLive bool `protobuf:"varint,6,opt,name=isLive,proto3" json:"isLive,omitempty"` + AccuracyInMeters uint32 `protobuf:"varint,7,opt,name=accuracyInMeters,proto3" json:"accuracyInMeters,omitempty"` + SpeedInMps float32 `protobuf:"fixed32,8,opt,name=speedInMps,proto3" json:"speedInMps,omitempty"` + DegreesClockwiseFromMagneticNorth uint32 `protobuf:"varint,9,opt,name=degreesClockwiseFromMagneticNorth,proto3" json:"degreesClockwiseFromMagneticNorth,omitempty"` + Comment string `protobuf:"bytes,11,opt,name=comment,proto3" json:"comment,omitempty"` + JPEGThumbnail []byte `protobuf:"bytes,16,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` +} + +func (x *Message_LocationMessage) Reset() { + *x = Message_LocationMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[87] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_LocationMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_LocationMessage) ProtoMessage() {} + +func (x *Message_LocationMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[87] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_LocationMessage.ProtoReflect.Descriptor instead. +func (*Message_LocationMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 67} +} + +func (x *Message_LocationMessage) GetDegreesLatitude() float64 { + if x != nil { + return x.DegreesLatitude + } + return 0 +} + +func (x *Message_LocationMessage) GetDegreesLongitude() float64 { + if x != nil { + return x.DegreesLongitude + } + return 0 +} + +func (x *Message_LocationMessage) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Message_LocationMessage) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *Message_LocationMessage) GetURL() string { + if x != nil { + return x.URL + } + return "" +} + +func (x *Message_LocationMessage) GetIsLive() bool { + if x != nil { + return x.IsLive + } + return false +} + +func (x *Message_LocationMessage) GetAccuracyInMeters() uint32 { + if x != nil { + return x.AccuracyInMeters + } + return 0 +} + +func (x *Message_LocationMessage) GetSpeedInMps() float32 { + if x != nil { + return x.SpeedInMps + } + return 0 +} + +func (x *Message_LocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 { + if x != nil { + return x.DegreesClockwiseFromMagneticNorth + } + return 0 +} + +func (x *Message_LocationMessage) GetComment() string { + if x != nil { + return x.Comment + } + return "" +} + +func (x *Message_LocationMessage) GetJPEGThumbnail() []byte { + if x != nil { + return x.JPEGThumbnail + } + return nil +} + +func (x *Message_LocationMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +type Message_ContactMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DisplayName string `protobuf:"bytes,1,opt,name=displayName,proto3" json:"displayName,omitempty"` + Vcard string `protobuf:"bytes,16,opt,name=vcard,proto3" json:"vcard,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` +} + +func (x *Message_ContactMessage) Reset() { + *x = Message_ContactMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[88] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ContactMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ContactMessage) ProtoMessage() {} + +func (x *Message_ContactMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[88] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ContactMessage.ProtoReflect.Descriptor instead. +func (*Message_ContactMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 68} +} + +func (x *Message_ContactMessage) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +func (x *Message_ContactMessage) GetVcard() string { + if x != nil { + return x.Vcard + } + return "" +} + +func (x *Message_ContactMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +type Message_ImageMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` + Mimetype string `protobuf:"bytes,2,opt,name=mimetype,proto3" json:"mimetype,omitempty"` + Caption string `protobuf:"bytes,3,opt,name=caption,proto3" json:"caption,omitempty"` + FileSHA256 []byte `protobuf:"bytes,4,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` + FileLength uint64 `protobuf:"varint,5,opt,name=fileLength,proto3" json:"fileLength,omitempty"` + Height uint32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` + Width uint32 `protobuf:"varint,7,opt,name=width,proto3" json:"width,omitempty"` + MediaKey []byte `protobuf:"bytes,8,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,9,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` + InteractiveAnnotations []*InteractiveAnnotation `protobuf:"bytes,10,rep,name=interactiveAnnotations,proto3" json:"interactiveAnnotations,omitempty"` + DirectPath string `protobuf:"bytes,11,opt,name=directPath,proto3" json:"directPath,omitempty"` + MediaKeyTimestamp int64 `protobuf:"varint,12,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"` + JPEGThumbnail []byte `protobuf:"bytes,16,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo,proto3" json:"contextInfo,omitempty"` + FirstScanSidecar []byte `protobuf:"bytes,18,opt,name=firstScanSidecar,proto3" json:"firstScanSidecar,omitempty"` + FirstScanLength uint32 `protobuf:"varint,19,opt,name=firstScanLength,proto3" json:"firstScanLength,omitempty"` + ExperimentGroupID uint32 `protobuf:"varint,20,opt,name=experimentGroupID,proto3" json:"experimentGroupID,omitempty"` + ScansSidecar []byte `protobuf:"bytes,21,opt,name=scansSidecar,proto3" json:"scansSidecar,omitempty"` + ScanLengths []uint32 `protobuf:"varint,22,rep,packed,name=scanLengths,proto3" json:"scanLengths,omitempty"` + MidQualityFileSHA256 []byte `protobuf:"bytes,23,opt,name=midQualityFileSHA256,proto3" json:"midQualityFileSHA256,omitempty"` + MidQualityFileEncSHA256 []byte `protobuf:"bytes,24,opt,name=midQualityFileEncSHA256,proto3" json:"midQualityFileEncSHA256,omitempty"` + ViewOnce bool `protobuf:"varint,25,opt,name=viewOnce,proto3" json:"viewOnce,omitempty"` + ThumbnailDirectPath string `protobuf:"bytes,26,opt,name=thumbnailDirectPath,proto3" json:"thumbnailDirectPath,omitempty"` + ThumbnailSHA256 []byte `protobuf:"bytes,27,opt,name=thumbnailSHA256,proto3" json:"thumbnailSHA256,omitempty"` + ThumbnailEncSHA256 []byte `protobuf:"bytes,28,opt,name=thumbnailEncSHA256,proto3" json:"thumbnailEncSHA256,omitempty"` + StaticURL string `protobuf:"bytes,29,opt,name=staticURL,proto3" json:"staticURL,omitempty"` + Annotations []*InteractiveAnnotation `protobuf:"bytes,30,rep,name=annotations,proto3" json:"annotations,omitempty"` +} + +func (x *Message_ImageMessage) Reset() { + *x = Message_ImageMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[89] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ImageMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ImageMessage) ProtoMessage() {} + +func (x *Message_ImageMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[89] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ImageMessage.ProtoReflect.Descriptor instead. +func (*Message_ImageMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 69} +} + +func (x *Message_ImageMessage) GetURL() string { + if x != nil { + return x.URL + } + return "" +} + +func (x *Message_ImageMessage) GetMimetype() string { + if x != nil { + return x.Mimetype + } + return "" +} + +func (x *Message_ImageMessage) GetCaption() string { + if x != nil { + return x.Caption + } + return "" +} + +func (x *Message_ImageMessage) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *Message_ImageMessage) GetFileLength() uint64 { + if x != nil { + return x.FileLength + } + return 0 +} + +func (x *Message_ImageMessage) GetHeight() uint32 { + if x != nil { + return x.Height + } + return 0 +} + +func (x *Message_ImageMessage) GetWidth() uint32 { + if x != nil { + return x.Width + } + return 0 +} + +func (x *Message_ImageMessage) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *Message_ImageMessage) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *Message_ImageMessage) GetInteractiveAnnotations() []*InteractiveAnnotation { + if x != nil { + return x.InteractiveAnnotations + } + return nil +} + +func (x *Message_ImageMessage) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *Message_ImageMessage) GetMediaKeyTimestamp() int64 { + if x != nil { + return x.MediaKeyTimestamp + } + return 0 +} + +func (x *Message_ImageMessage) GetJPEGThumbnail() []byte { + if x != nil { + return x.JPEGThumbnail + } + return nil +} + +func (x *Message_ImageMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *Message_ImageMessage) GetFirstScanSidecar() []byte { + if x != nil { + return x.FirstScanSidecar + } + return nil +} + +func (x *Message_ImageMessage) GetFirstScanLength() uint32 { + if x != nil { + return x.FirstScanLength + } + return 0 +} + +func (x *Message_ImageMessage) GetExperimentGroupID() uint32 { + if x != nil { + return x.ExperimentGroupID + } + return 0 +} + +func (x *Message_ImageMessage) GetScansSidecar() []byte { + if x != nil { + return x.ScansSidecar + } + return nil +} + +func (x *Message_ImageMessage) GetScanLengths() []uint32 { + if x != nil { + return x.ScanLengths + } + return nil +} + +func (x *Message_ImageMessage) GetMidQualityFileSHA256() []byte { + if x != nil { + return x.MidQualityFileSHA256 + } + return nil +} + +func (x *Message_ImageMessage) GetMidQualityFileEncSHA256() []byte { + if x != nil { + return x.MidQualityFileEncSHA256 + } + return nil +} + +func (x *Message_ImageMessage) GetViewOnce() bool { + if x != nil { + return x.ViewOnce + } + return false +} + +func (x *Message_ImageMessage) GetThumbnailDirectPath() string { + if x != nil { + return x.ThumbnailDirectPath + } + return "" +} + +func (x *Message_ImageMessage) GetThumbnailSHA256() []byte { + if x != nil { + return x.ThumbnailSHA256 + } + return nil +} + +func (x *Message_ImageMessage) GetThumbnailEncSHA256() []byte { + if x != nil { + return x.ThumbnailEncSHA256 + } + return nil +} + +func (x *Message_ImageMessage) GetStaticURL() string { + if x != nil { + return x.StaticURL + } + return "" +} + +func (x *Message_ImageMessage) GetAnnotations() []*InteractiveAnnotation { + if x != nil { + return x.Annotations + } + return nil +} + +type Message_SenderKeyDistributionMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"` + AxolotlSenderKeyDistributionMessage []byte `protobuf:"bytes,2,opt,name=axolotlSenderKeyDistributionMessage,proto3" json:"axolotlSenderKeyDistributionMessage,omitempty"` +} + +func (x *Message_SenderKeyDistributionMessage) Reset() { + *x = Message_SenderKeyDistributionMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_SenderKeyDistributionMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_SenderKeyDistributionMessage) ProtoMessage() {} + +func (x *Message_SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[90] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_SenderKeyDistributionMessage.ProtoReflect.Descriptor instead. +func (*Message_SenderKeyDistributionMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 70} +} + +func (x *Message_SenderKeyDistributionMessage) GetGroupID() string { + if x != nil { + return x.GroupID + } + return "" +} + +func (x *Message_SenderKeyDistributionMessage) GetAxolotlSenderKeyDistributionMessage() []byte { + if x != nil { + return x.AxolotlSenderKeyDistributionMessage + } + return nil +} + +type Message_CallLogMessage_CallParticipant struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JID string `protobuf:"bytes,1,opt,name=JID,proto3" json:"JID,omitempty"` + CallOutcome Message_CallLogMessage_CallOutcome `protobuf:"varint,2,opt,name=callOutcome,proto3,enum=WAE2E.Message_CallLogMessage_CallOutcome" json:"callOutcome,omitempty"` +} + +func (x *Message_CallLogMessage_CallParticipant) Reset() { + *x = Message_CallLogMessage_CallParticipant{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[91] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_CallLogMessage_CallParticipant) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_CallLogMessage_CallParticipant) ProtoMessage() {} + +func (x *Message_CallLogMessage_CallParticipant) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[91] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_CallLogMessage_CallParticipant.ProtoReflect.Descriptor instead. +func (*Message_CallLogMessage_CallParticipant) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 2, 0} +} + +func (x *Message_CallLogMessage_CallParticipant) GetJID() string { + if x != nil { + return x.JID + } + return "" +} + +func (x *Message_CallLogMessage_CallParticipant) GetCallOutcome() Message_CallLogMessage_CallOutcome { + if x != nil { + return x.CallOutcome + } + return Message_CallLogMessage_CONNECTED +} + +type Message_ButtonsMessage_Button struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ButtonID string `protobuf:"bytes,1,opt,name=buttonID,proto3" json:"buttonID,omitempty"` + ButtonText *Message_ButtonsMessage_Button_ButtonText `protobuf:"bytes,2,opt,name=buttonText,proto3" json:"buttonText,omitempty"` + Type Message_ButtonsMessage_Button_Type `protobuf:"varint,3,opt,name=type,proto3,enum=WAE2E.Message_ButtonsMessage_Button_Type" json:"type,omitempty"` + NativeFlowInfo *Message_ButtonsMessage_Button_NativeFlowInfo `protobuf:"bytes,4,opt,name=nativeFlowInfo,proto3" json:"nativeFlowInfo,omitempty"` +} + +func (x *Message_ButtonsMessage_Button) Reset() { + *x = Message_ButtonsMessage_Button{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ButtonsMessage_Button) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ButtonsMessage_Button) ProtoMessage() {} + +func (x *Message_ButtonsMessage_Button) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[92] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ButtonsMessage_Button.ProtoReflect.Descriptor instead. +func (*Message_ButtonsMessage_Button) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 8, 0} +} + +func (x *Message_ButtonsMessage_Button) GetButtonID() string { + if x != nil { + return x.ButtonID + } + return "" +} + +func (x *Message_ButtonsMessage_Button) GetButtonText() *Message_ButtonsMessage_Button_ButtonText { + if x != nil { + return x.ButtonText + } + return nil +} + +func (x *Message_ButtonsMessage_Button) GetType() Message_ButtonsMessage_Button_Type { + if x != nil { + return x.Type + } + return Message_ButtonsMessage_Button_UNKNOWN +} + +func (x *Message_ButtonsMessage_Button) GetNativeFlowInfo() *Message_ButtonsMessage_Button_NativeFlowInfo { + if x != nil { + return x.NativeFlowInfo + } + return nil +} + +type Message_ButtonsMessage_Button_NativeFlowInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + ParamsJSON string `protobuf:"bytes,2,opt,name=paramsJSON,proto3" json:"paramsJSON,omitempty"` +} + +func (x *Message_ButtonsMessage_Button_NativeFlowInfo) Reset() { + *x = Message_ButtonsMessage_Button_NativeFlowInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ButtonsMessage_Button_NativeFlowInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ButtonsMessage_Button_NativeFlowInfo) ProtoMessage() {} + +func (x *Message_ButtonsMessage_Button_NativeFlowInfo) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[93] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ButtonsMessage_Button_NativeFlowInfo.ProtoReflect.Descriptor instead. +func (*Message_ButtonsMessage_Button_NativeFlowInfo) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 8, 0, 0} +} + +func (x *Message_ButtonsMessage_Button_NativeFlowInfo) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Message_ButtonsMessage_Button_NativeFlowInfo) GetParamsJSON() string { + if x != nil { + return x.ParamsJSON + } + return "" +} + +type Message_ButtonsMessage_Button_ButtonText struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DisplayText string `protobuf:"bytes,1,opt,name=displayText,proto3" json:"displayText,omitempty"` +} + +func (x *Message_ButtonsMessage_Button_ButtonText) Reset() { + *x = Message_ButtonsMessage_Button_ButtonText{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ButtonsMessage_Button_ButtonText) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ButtonsMessage_Button_ButtonText) ProtoMessage() {} + +func (x *Message_ButtonsMessage_Button_ButtonText) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[94] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ButtonsMessage_Button_ButtonText.ProtoReflect.Descriptor instead. +func (*Message_ButtonsMessage_Button_ButtonText) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 8, 0, 1} +} + +func (x *Message_ButtonsMessage_Button_ButtonText) GetDisplayText() string { + if x != nil { + return x.DisplayText + } + return "" +} + +type Message_InteractiveResponseMessage_Body struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` + Format Message_InteractiveResponseMessage_Body_Format `protobuf:"varint,2,opt,name=format,proto3,enum=WAE2E.Message_InteractiveResponseMessage_Body_Format" json:"format,omitempty"` +} + +func (x *Message_InteractiveResponseMessage_Body) Reset() { + *x = Message_InteractiveResponseMessage_Body{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_InteractiveResponseMessage_Body) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_InteractiveResponseMessage_Body) ProtoMessage() {} + +func (x *Message_InteractiveResponseMessage_Body) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[95] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_InteractiveResponseMessage_Body.ProtoReflect.Descriptor instead. +func (*Message_InteractiveResponseMessage_Body) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 10, 0} +} + +func (x *Message_InteractiveResponseMessage_Body) GetText() string { + if x != nil { + return x.Text + } + return "" +} + +func (x *Message_InteractiveResponseMessage_Body) GetFormat() Message_InteractiveResponseMessage_Body_Format { + if x != nil { + return x.Format + } + return Message_InteractiveResponseMessage_Body_DEFAULT +} + +type Message_InteractiveResponseMessage_NativeFlowResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + ParamsJSON string `protobuf:"bytes,2,opt,name=paramsJSON,proto3" json:"paramsJSON,omitempty"` + Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` +} + +func (x *Message_InteractiveResponseMessage_NativeFlowResponseMessage) Reset() { + *x = Message_InteractiveResponseMessage_NativeFlowResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_InteractiveResponseMessage_NativeFlowResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_InteractiveResponseMessage_NativeFlowResponseMessage) ProtoMessage() {} + +func (x *Message_InteractiveResponseMessage_NativeFlowResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[96] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_InteractiveResponseMessage_NativeFlowResponseMessage.ProtoReflect.Descriptor instead. +func (*Message_InteractiveResponseMessage_NativeFlowResponseMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 10, 1} +} + +func (x *Message_InteractiveResponseMessage_NativeFlowResponseMessage) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Message_InteractiveResponseMessage_NativeFlowResponseMessage) GetParamsJSON() string { + if x != nil { + return x.ParamsJSON + } + return "" +} + +func (x *Message_InteractiveResponseMessage_NativeFlowResponseMessage) GetVersion() int32 { + if x != nil { + return x.Version + } + return 0 +} + +type Message_InteractiveMessage_ShopMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` + Surface Message_InteractiveMessage_ShopMessage_Surface `protobuf:"varint,2,opt,name=surface,proto3,enum=WAE2E.Message_InteractiveMessage_ShopMessage_Surface" json:"surface,omitempty"` + MessageVersion int32 `protobuf:"varint,3,opt,name=messageVersion,proto3" json:"messageVersion,omitempty"` +} + +func (x *Message_InteractiveMessage_ShopMessage) Reset() { + *x = Message_InteractiveMessage_ShopMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_InteractiveMessage_ShopMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_InteractiveMessage_ShopMessage) ProtoMessage() {} + +func (x *Message_InteractiveMessage_ShopMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[97] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_InteractiveMessage_ShopMessage.ProtoReflect.Descriptor instead. +func (*Message_InteractiveMessage_ShopMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 11, 0} +} + +func (x *Message_InteractiveMessage_ShopMessage) GetID() string { + if x != nil { + return x.ID + } + return "" +} + +func (x *Message_InteractiveMessage_ShopMessage) GetSurface() Message_InteractiveMessage_ShopMessage_Surface { + if x != nil { + return x.Surface + } + return Message_InteractiveMessage_ShopMessage_UNKNOWN_SURFACE +} + +func (x *Message_InteractiveMessage_ShopMessage) GetMessageVersion() int32 { + if x != nil { + return x.MessageVersion + } + return 0 +} + +type Message_InteractiveMessage_CarouselMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cards []*Message_InteractiveMessage `protobuf:"bytes,1,rep,name=cards,proto3" json:"cards,omitempty"` + MessageVersion int32 `protobuf:"varint,2,opt,name=messageVersion,proto3" json:"messageVersion,omitempty"` +} + +func (x *Message_InteractiveMessage_CarouselMessage) Reset() { + *x = Message_InteractiveMessage_CarouselMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_InteractiveMessage_CarouselMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_InteractiveMessage_CarouselMessage) ProtoMessage() {} + +func (x *Message_InteractiveMessage_CarouselMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[98] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_InteractiveMessage_CarouselMessage.ProtoReflect.Descriptor instead. +func (*Message_InteractiveMessage_CarouselMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 11, 1} +} + +func (x *Message_InteractiveMessage_CarouselMessage) GetCards() []*Message_InteractiveMessage { + if x != nil { + return x.Cards + } + return nil +} + +func (x *Message_InteractiveMessage_CarouselMessage) GetMessageVersion() int32 { + if x != nil { + return x.MessageVersion + } + return 0 +} + +type Message_InteractiveMessage_NativeFlowMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Buttons []*Message_InteractiveMessage_NativeFlowMessage_NativeFlowButton `protobuf:"bytes,1,rep,name=buttons,proto3" json:"buttons,omitempty"` + MessageParamsJSON string `protobuf:"bytes,2,opt,name=messageParamsJSON,proto3" json:"messageParamsJSON,omitempty"` + MessageVersion int32 `protobuf:"varint,3,opt,name=messageVersion,proto3" json:"messageVersion,omitempty"` +} + +func (x *Message_InteractiveMessage_NativeFlowMessage) Reset() { + *x = Message_InteractiveMessage_NativeFlowMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[99] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_InteractiveMessage_NativeFlowMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_InteractiveMessage_NativeFlowMessage) ProtoMessage() {} + +func (x *Message_InteractiveMessage_NativeFlowMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[99] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_InteractiveMessage_NativeFlowMessage.ProtoReflect.Descriptor instead. +func (*Message_InteractiveMessage_NativeFlowMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 11, 2} +} + +func (x *Message_InteractiveMessage_NativeFlowMessage) GetButtons() []*Message_InteractiveMessage_NativeFlowMessage_NativeFlowButton { + if x != nil { + return x.Buttons + } + return nil +} + +func (x *Message_InteractiveMessage_NativeFlowMessage) GetMessageParamsJSON() string { + if x != nil { + return x.MessageParamsJSON + } + return "" +} + +func (x *Message_InteractiveMessage_NativeFlowMessage) GetMessageVersion() int32 { + if x != nil { + return x.MessageVersion + } + return 0 +} + +type Message_InteractiveMessage_CollectionMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BizJID string `protobuf:"bytes,1,opt,name=bizJID,proto3" json:"bizJID,omitempty"` + ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"` + MessageVersion int32 `protobuf:"varint,3,opt,name=messageVersion,proto3" json:"messageVersion,omitempty"` +} + +func (x *Message_InteractiveMessage_CollectionMessage) Reset() { + *x = Message_InteractiveMessage_CollectionMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[100] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_InteractiveMessage_CollectionMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_InteractiveMessage_CollectionMessage) ProtoMessage() {} + +func (x *Message_InteractiveMessage_CollectionMessage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[100] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_InteractiveMessage_CollectionMessage.ProtoReflect.Descriptor instead. +func (*Message_InteractiveMessage_CollectionMessage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 11, 3} +} + +func (x *Message_InteractiveMessage_CollectionMessage) GetBizJID() string { + if x != nil { + return x.BizJID + } + return "" +} + +func (x *Message_InteractiveMessage_CollectionMessage) GetID() string { + if x != nil { + return x.ID + } + return "" +} + +func (x *Message_InteractiveMessage_CollectionMessage) GetMessageVersion() int32 { + if x != nil { + return x.MessageVersion + } + return 0 +} + +type Message_InteractiveMessage_Footer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` +} + +func (x *Message_InteractiveMessage_Footer) Reset() { + *x = Message_InteractiveMessage_Footer{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[101] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_InteractiveMessage_Footer) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_InteractiveMessage_Footer) ProtoMessage() {} + +func (x *Message_InteractiveMessage_Footer) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[101] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_InteractiveMessage_Footer.ProtoReflect.Descriptor instead. +func (*Message_InteractiveMessage_Footer) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 11, 4} +} + +func (x *Message_InteractiveMessage_Footer) GetText() string { + if x != nil { + return x.Text + } + return "" +} + +type Message_InteractiveMessage_Body struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` +} + +func (x *Message_InteractiveMessage_Body) Reset() { + *x = Message_InteractiveMessage_Body{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[102] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_InteractiveMessage_Body) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_InteractiveMessage_Body) ProtoMessage() {} + +func (x *Message_InteractiveMessage_Body) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[102] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_InteractiveMessage_Body.ProtoReflect.Descriptor instead. +func (*Message_InteractiveMessage_Body) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 11, 5} +} + +func (x *Message_InteractiveMessage_Body) GetText() string { + if x != nil { + return x.Text + } + return "" +} + +type Message_InteractiveMessage_Header struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Media: + // + // *Message_InteractiveMessage_Header_DocumentMessage + // *Message_InteractiveMessage_Header_ImageMessage + // *Message_InteractiveMessage_Header_JPEGThumbnail + // *Message_InteractiveMessage_Header_VideoMessage + // *Message_InteractiveMessage_Header_LocationMessage + Media isMessage_InteractiveMessage_Header_Media `protobuf_oneof:"media"` + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` + HasMediaAttachment bool `protobuf:"varint,5,opt,name=hasMediaAttachment,proto3" json:"hasMediaAttachment,omitempty"` +} + +func (x *Message_InteractiveMessage_Header) Reset() { + *x = Message_InteractiveMessage_Header{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_InteractiveMessage_Header) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_InteractiveMessage_Header) ProtoMessage() {} + +func (x *Message_InteractiveMessage_Header) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[103] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_InteractiveMessage_Header.ProtoReflect.Descriptor instead. +func (*Message_InteractiveMessage_Header) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 11, 6} +} + +func (m *Message_InteractiveMessage_Header) GetMedia() isMessage_InteractiveMessage_Header_Media { + if m != nil { + return m.Media + } + return nil +} + +func (x *Message_InteractiveMessage_Header) GetDocumentMessage() *Message_DocumentMessage { + if x, ok := x.GetMedia().(*Message_InteractiveMessage_Header_DocumentMessage); ok { + return x.DocumentMessage + } + return nil +} + +func (x *Message_InteractiveMessage_Header) GetImageMessage() *Message_ImageMessage { + if x, ok := x.GetMedia().(*Message_InteractiveMessage_Header_ImageMessage); ok { + return x.ImageMessage + } + return nil +} + +func (x *Message_InteractiveMessage_Header) GetJPEGThumbnail() []byte { + if x, ok := x.GetMedia().(*Message_InteractiveMessage_Header_JPEGThumbnail); ok { + return x.JPEGThumbnail + } + return nil +} + +func (x *Message_InteractiveMessage_Header) GetVideoMessage() *Message_VideoMessage { + if x, ok := x.GetMedia().(*Message_InteractiveMessage_Header_VideoMessage); ok { + return x.VideoMessage + } + return nil +} + +func (x *Message_InteractiveMessage_Header) GetLocationMessage() *Message_LocationMessage { + if x, ok := x.GetMedia().(*Message_InteractiveMessage_Header_LocationMessage); ok { + return x.LocationMessage + } + return nil +} + +func (x *Message_InteractiveMessage_Header) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *Message_InteractiveMessage_Header) GetSubtitle() string { + if x != nil { + return x.Subtitle + } + return "" +} + +func (x *Message_InteractiveMessage_Header) GetHasMediaAttachment() bool { + if x != nil { + return x.HasMediaAttachment + } + return false +} + +type isMessage_InteractiveMessage_Header_Media interface { + isMessage_InteractiveMessage_Header_Media() +} + +type Message_InteractiveMessage_Header_DocumentMessage struct { + DocumentMessage *Message_DocumentMessage `protobuf:"bytes,3,opt,name=documentMessage,proto3,oneof"` +} + +type Message_InteractiveMessage_Header_ImageMessage struct { + ImageMessage *Message_ImageMessage `protobuf:"bytes,4,opt,name=imageMessage,proto3,oneof"` +} + +type Message_InteractiveMessage_Header_JPEGThumbnail struct { + JPEGThumbnail []byte `protobuf:"bytes,6,opt,name=JPEGThumbnail,proto3,oneof"` +} + +type Message_InteractiveMessage_Header_VideoMessage struct { + VideoMessage *Message_VideoMessage `protobuf:"bytes,7,opt,name=videoMessage,proto3,oneof"` +} + +type Message_InteractiveMessage_Header_LocationMessage struct { + LocationMessage *Message_LocationMessage `protobuf:"bytes,8,opt,name=locationMessage,proto3,oneof"` +} + +func (*Message_InteractiveMessage_Header_DocumentMessage) isMessage_InteractiveMessage_Header_Media() { +} + +func (*Message_InteractiveMessage_Header_ImageMessage) isMessage_InteractiveMessage_Header_Media() {} + +func (*Message_InteractiveMessage_Header_JPEGThumbnail) isMessage_InteractiveMessage_Header_Media() {} + +func (*Message_InteractiveMessage_Header_VideoMessage) isMessage_InteractiveMessage_Header_Media() {} + +func (*Message_InteractiveMessage_Header_LocationMessage) isMessage_InteractiveMessage_Header_Media() { +} + +type Message_InteractiveMessage_NativeFlowMessage_NativeFlowButton struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + ButtonParamsJSON string `protobuf:"bytes,2,opt,name=buttonParamsJSON,proto3" json:"buttonParamsJSON,omitempty"` +} + +func (x *Message_InteractiveMessage_NativeFlowMessage_NativeFlowButton) Reset() { + *x = Message_InteractiveMessage_NativeFlowMessage_NativeFlowButton{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[104] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_InteractiveMessage_NativeFlowMessage_NativeFlowButton) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoMessage() {} + +func (x *Message_InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[104] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_InteractiveMessage_NativeFlowMessage_NativeFlowButton.ProtoReflect.Descriptor instead. +func (*Message_InteractiveMessage_NativeFlowMessage_NativeFlowButton) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 11, 2, 0} +} + +func (x *Message_InteractiveMessage_NativeFlowMessage_NativeFlowButton) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Message_InteractiveMessage_NativeFlowMessage_NativeFlowButton) GetButtonParamsJSON() string { + if x != nil { + return x.ButtonParamsJSON + } + return "" +} + +type Message_ListResponseMessage_SingleSelectReply struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SelectedRowID string `protobuf:"bytes,1,opt,name=selectedRowID,proto3" json:"selectedRowID,omitempty"` +} + +func (x *Message_ListResponseMessage_SingleSelectReply) Reset() { + *x = Message_ListResponseMessage_SingleSelectReply{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[105] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ListResponseMessage_SingleSelectReply) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ListResponseMessage_SingleSelectReply) ProtoMessage() {} + +func (x *Message_ListResponseMessage_SingleSelectReply) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[105] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ListResponseMessage_SingleSelectReply.ProtoReflect.Descriptor instead. +func (*Message_ListResponseMessage_SingleSelectReply) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 12, 0} +} + +func (x *Message_ListResponseMessage_SingleSelectReply) GetSelectedRowID() string { + if x != nil { + return x.SelectedRowID + } + return "" +} + +type Message_ListMessage_ProductListInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProductSections []*Message_ListMessage_ProductSection `protobuf:"bytes,1,rep,name=productSections,proto3" json:"productSections,omitempty"` + HeaderImage *Message_ListMessage_ProductListHeaderImage `protobuf:"bytes,2,opt,name=headerImage,proto3" json:"headerImage,omitempty"` + BusinessOwnerJID string `protobuf:"bytes,3,opt,name=businessOwnerJID,proto3" json:"businessOwnerJID,omitempty"` +} + +func (x *Message_ListMessage_ProductListInfo) Reset() { + *x = Message_ListMessage_ProductListInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[106] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ListMessage_ProductListInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ListMessage_ProductListInfo) ProtoMessage() {} + +func (x *Message_ListMessage_ProductListInfo) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[106] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ListMessage_ProductListInfo.ProtoReflect.Descriptor instead. +func (*Message_ListMessage_ProductListInfo) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 13, 0} +} + +func (x *Message_ListMessage_ProductListInfo) GetProductSections() []*Message_ListMessage_ProductSection { + if x != nil { + return x.ProductSections + } + return nil +} + +func (x *Message_ListMessage_ProductListInfo) GetHeaderImage() *Message_ListMessage_ProductListHeaderImage { + if x != nil { + return x.HeaderImage + } + return nil +} + +func (x *Message_ListMessage_ProductListInfo) GetBusinessOwnerJID() string { + if x != nil { + return x.BusinessOwnerJID + } + return "" +} + +type Message_ListMessage_ProductListHeaderImage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProductID string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"` + JPEGThumbnail []byte `protobuf:"bytes,2,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` +} + +func (x *Message_ListMessage_ProductListHeaderImage) Reset() { + *x = Message_ListMessage_ProductListHeaderImage{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[107] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ListMessage_ProductListHeaderImage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ListMessage_ProductListHeaderImage) ProtoMessage() {} + +func (x *Message_ListMessage_ProductListHeaderImage) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[107] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ListMessage_ProductListHeaderImage.ProtoReflect.Descriptor instead. +func (*Message_ListMessage_ProductListHeaderImage) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 13, 1} +} + +func (x *Message_ListMessage_ProductListHeaderImage) GetProductID() string { + if x != nil { + return x.ProductID + } + return "" +} + +func (x *Message_ListMessage_ProductListHeaderImage) GetJPEGThumbnail() []byte { + if x != nil { + return x.JPEGThumbnail + } + return nil +} + +type Message_ListMessage_ProductSection struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Products []*Message_ListMessage_Product `protobuf:"bytes,2,rep,name=products,proto3" json:"products,omitempty"` +} + +func (x *Message_ListMessage_ProductSection) Reset() { + *x = Message_ListMessage_ProductSection{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[108] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ListMessage_ProductSection) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ListMessage_ProductSection) ProtoMessage() {} + +func (x *Message_ListMessage_ProductSection) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[108] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ListMessage_ProductSection.ProtoReflect.Descriptor instead. +func (*Message_ListMessage_ProductSection) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 13, 2} +} + +func (x *Message_ListMessage_ProductSection) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *Message_ListMessage_ProductSection) GetProducts() []*Message_ListMessage_Product { + if x != nil { + return x.Products + } + return nil +} + +type Message_ListMessage_Product struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProductID string `protobuf:"bytes,1,opt,name=productID,proto3" json:"productID,omitempty"` +} + +func (x *Message_ListMessage_Product) Reset() { + *x = Message_ListMessage_Product{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[109] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ListMessage_Product) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ListMessage_Product) ProtoMessage() {} + +func (x *Message_ListMessage_Product) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[109] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ListMessage_Product.ProtoReflect.Descriptor instead. +func (*Message_ListMessage_Product) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 13, 3} +} + +func (x *Message_ListMessage_Product) GetProductID() string { + if x != nil { + return x.ProductID + } + return "" +} + +type Message_ListMessage_Section struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Rows []*Message_ListMessage_Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"` +} + +func (x *Message_ListMessage_Section) Reset() { + *x = Message_ListMessage_Section{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[110] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ListMessage_Section) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ListMessage_Section) ProtoMessage() {} + +func (x *Message_ListMessage_Section) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[110] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ListMessage_Section.ProtoReflect.Descriptor instead. +func (*Message_ListMessage_Section) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 13, 4} +} + +func (x *Message_ListMessage_Section) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *Message_ListMessage_Section) GetRows() []*Message_ListMessage_Row { + if x != nil { + return x.Rows + } + return nil +} + +type Message_ListMessage_Row struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + RowID string `protobuf:"bytes,3,opt,name=rowID,proto3" json:"rowID,omitempty"` +} + +func (x *Message_ListMessage_Row) Reset() { + *x = Message_ListMessage_Row{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[111] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ListMessage_Row) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ListMessage_Row) ProtoMessage() {} + +func (x *Message_ListMessage_Row) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[111] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ListMessage_Row.ProtoReflect.Descriptor instead. +func (*Message_ListMessage_Row) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 13, 5} +} + +func (x *Message_ListMessage_Row) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *Message_ListMessage_Row) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +func (x *Message_ListMessage_Row) GetRowID() string { + if x != nil { + return x.RowID + } + return "" +} + +type Message_HighlyStructuredMessage_HSMLocalizableParameter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to ParamOneof: + // + // *Message_HighlyStructuredMessage_HSMLocalizableParameter_Currency + // *Message_HighlyStructuredMessage_HSMLocalizableParameter_DateTime + ParamOneof isMessage_HighlyStructuredMessage_HSMLocalizableParameter_ParamOneof `protobuf_oneof:"paramOneof"` + Default string `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"` +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter) Reset() { + *x = Message_HighlyStructuredMessage_HSMLocalizableParameter{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[112] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_HighlyStructuredMessage_HSMLocalizableParameter) ProtoMessage() {} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[112] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_HighlyStructuredMessage_HSMLocalizableParameter.ProtoReflect.Descriptor instead. +func (*Message_HighlyStructuredMessage_HSMLocalizableParameter) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 16, 0} +} + +func (m *Message_HighlyStructuredMessage_HSMLocalizableParameter) GetParamOneof() isMessage_HighlyStructuredMessage_HSMLocalizableParameter_ParamOneof { + if m != nil { + return m.ParamOneof + } + return nil +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter) GetCurrency() *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency { + if x, ok := x.GetParamOneof().(*Message_HighlyStructuredMessage_HSMLocalizableParameter_Currency); ok { + return x.Currency + } + return nil +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter) GetDateTime() *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime { + if x, ok := x.GetParamOneof().(*Message_HighlyStructuredMessage_HSMLocalizableParameter_DateTime); ok { + return x.DateTime + } + return nil +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter) GetDefault() string { + if x != nil { + return x.Default + } + return "" +} + +type isMessage_HighlyStructuredMessage_HSMLocalizableParameter_ParamOneof interface { + isMessage_HighlyStructuredMessage_HSMLocalizableParameter_ParamOneof() +} + +type Message_HighlyStructuredMessage_HSMLocalizableParameter_Currency struct { + Currency *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency `protobuf:"bytes,2,opt,name=currency,proto3,oneof"` +} + +type Message_HighlyStructuredMessage_HSMLocalizableParameter_DateTime struct { + DateTime *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime `protobuf:"bytes,3,opt,name=dateTime,proto3,oneof"` +} + +func (*Message_HighlyStructuredMessage_HSMLocalizableParameter_Currency) isMessage_HighlyStructuredMessage_HSMLocalizableParameter_ParamOneof() { +} + +func (*Message_HighlyStructuredMessage_HSMLocalizableParameter_DateTime) isMessage_HighlyStructuredMessage_HSMLocalizableParameter_ParamOneof() { +} + +type Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to DatetimeOneof: + // + // *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component + // *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch + DatetimeOneof isMessage_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof `protobuf_oneof:"datetimeOneof"` +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) Reset() { + *x = Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[113] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) ProtoMessage() {} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[113] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime.ProtoReflect.Descriptor instead. +func (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 16, 0, 0} +} + +func (m *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) GetDatetimeOneof() isMessage_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof { + if m != nil { + return m.DatetimeOneof + } + return nil +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) GetComponent() *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent { + if x, ok := x.GetDatetimeOneof().(*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component); ok { + return x.Component + } + return nil +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) GetUnixEpoch() *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch { + if x, ok := x.GetDatetimeOneof().(*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch); ok { + return x.UnixEpoch + } + return nil +} + +type isMessage_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof interface { + isMessage_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof() +} + +type Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component struct { + Component *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent `protobuf:"bytes,1,opt,name=component,proto3,oneof"` +} + +type Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch struct { + UnixEpoch *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch `protobuf:"bytes,2,opt,name=unixEpoch,proto3,oneof"` +} + +func (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component) isMessage_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof() { +} + +func (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch) isMessage_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof() { +} + +type Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurrencyCode string `protobuf:"bytes,1,opt,name=currencyCode,proto3" json:"currencyCode,omitempty"` + Amount1000 int64 `protobuf:"varint,2,opt,name=amount1000,proto3" json:"amount1000,omitempty"` +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) Reset() { + *x = Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[114] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) ProtoMessage() {} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[114] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency.ProtoReflect.Descriptor instead. +func (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 16, 0, 1} +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) GetCurrencyCode() string { + if x != nil { + return x.CurrencyCode + } + return "" +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) GetAmount1000() int64 { + if x != nil { + return x.Amount1000 + } + return 0 +} + +type Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DayOfWeek Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType `protobuf:"varint,1,opt,name=dayOfWeek,proto3,enum=WAE2E.Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType" json:"dayOfWeek,omitempty"` + Year uint32 `protobuf:"varint,2,opt,name=year,proto3" json:"year,omitempty"` + Month uint32 `protobuf:"varint,3,opt,name=month,proto3" json:"month,omitempty"` + DayOfMonth uint32 `protobuf:"varint,4,opt,name=dayOfMonth,proto3" json:"dayOfMonth,omitempty"` + Hour uint32 `protobuf:"varint,5,opt,name=hour,proto3" json:"hour,omitempty"` + Minute uint32 `protobuf:"varint,6,opt,name=minute,proto3" json:"minute,omitempty"` + Calendar Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType `protobuf:"varint,7,opt,name=calendar,proto3,enum=WAE2E.Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType" json:"calendar,omitempty"` +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) Reset() { + *x = Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[115] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) ProtoMessage() { +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[115] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent.ProtoReflect.Descriptor instead. +func (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 16, 0, 0, 0} +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetDayOfWeek() Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType { + if x != nil { + return x.DayOfWeek + } + return Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DAYOFWEEKTYPE_UNKNOWN +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetYear() uint32 { + if x != nil { + return x.Year + } + return 0 +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetMonth() uint32 { + if x != nil { + return x.Month + } + return 0 +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetDayOfMonth() uint32 { + if x != nil { + return x.DayOfMonth + } + return 0 +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetHour() uint32 { + if x != nil { + return x.Hour + } + return 0 +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetMinute() uint32 { + if x != nil { + return x.Minute + } + return 0 +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetCalendar() Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType { + if x != nil { + return x.Calendar + } + return Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CALENDARTYPE_UNKNOWN +} + +type Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) Reset() { + *x = Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[116] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) ProtoMessage() { +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[116] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch.ProtoReflect.Descriptor instead. +func (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 16, 0, 0, 1} +} + +func (x *Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +type Message_PollCreationMessage_Option struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + OptionName string `protobuf:"bytes,1,opt,name=optionName,proto3" json:"optionName,omitempty"` +} + +func (x *Message_PollCreationMessage_Option) Reset() { + *x = Message_PollCreationMessage_Option{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[117] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PollCreationMessage_Option) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PollCreationMessage_Option) ProtoMessage() {} + +func (x *Message_PollCreationMessage_Option) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[117] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PollCreationMessage_Option.ProtoReflect.Descriptor instead. +func (*Message_PollCreationMessage_Option) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 36, 0} +} + +func (x *Message_PollCreationMessage_Option) GetOptionName() string { + if x != nil { + return x.OptionName + } + return "" +} + +type Message_ProductMessage_ProductSnapshot struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProductImage *Message_ImageMessage `protobuf:"bytes,1,opt,name=productImage,proto3" json:"productImage,omitempty"` + ProductID string `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"` + Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + CurrencyCode string `protobuf:"bytes,5,opt,name=currencyCode,proto3" json:"currencyCode,omitempty"` + PriceAmount1000 int64 `protobuf:"varint,6,opt,name=priceAmount1000,proto3" json:"priceAmount1000,omitempty"` + RetailerID string `protobuf:"bytes,7,opt,name=retailerID,proto3" json:"retailerID,omitempty"` + URL string `protobuf:"bytes,8,opt,name=URL,proto3" json:"URL,omitempty"` + ProductImageCount uint32 `protobuf:"varint,9,opt,name=productImageCount,proto3" json:"productImageCount,omitempty"` + FirstImageID string `protobuf:"bytes,11,opt,name=firstImageID,proto3" json:"firstImageID,omitempty"` + SalePriceAmount1000 int64 `protobuf:"varint,12,opt,name=salePriceAmount1000,proto3" json:"salePriceAmount1000,omitempty"` +} + +func (x *Message_ProductMessage_ProductSnapshot) Reset() { + *x = Message_ProductMessage_ProductSnapshot{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[118] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ProductMessage_ProductSnapshot) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ProductMessage_ProductSnapshot) ProtoMessage() {} + +func (x *Message_ProductMessage_ProductSnapshot) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[118] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ProductMessage_ProductSnapshot.ProtoReflect.Descriptor instead. +func (*Message_ProductMessage_ProductSnapshot) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 43, 0} +} + +func (x *Message_ProductMessage_ProductSnapshot) GetProductImage() *Message_ImageMessage { + if x != nil { + return x.ProductImage + } + return nil +} + +func (x *Message_ProductMessage_ProductSnapshot) GetProductID() string { + if x != nil { + return x.ProductID + } + return "" +} + +func (x *Message_ProductMessage_ProductSnapshot) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *Message_ProductMessage_ProductSnapshot) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +func (x *Message_ProductMessage_ProductSnapshot) GetCurrencyCode() string { + if x != nil { + return x.CurrencyCode + } + return "" +} + +func (x *Message_ProductMessage_ProductSnapshot) GetPriceAmount1000() int64 { + if x != nil { + return x.PriceAmount1000 + } + return 0 +} + +func (x *Message_ProductMessage_ProductSnapshot) GetRetailerID() string { + if x != nil { + return x.RetailerID + } + return "" +} + +func (x *Message_ProductMessage_ProductSnapshot) GetURL() string { + if x != nil { + return x.URL + } + return "" +} + +func (x *Message_ProductMessage_ProductSnapshot) GetProductImageCount() uint32 { + if x != nil { + return x.ProductImageCount + } + return 0 +} + +func (x *Message_ProductMessage_ProductSnapshot) GetFirstImageID() string { + if x != nil { + return x.FirstImageID + } + return "" +} + +func (x *Message_ProductMessage_ProductSnapshot) GetSalePriceAmount1000() int64 { + if x != nil { + return x.SalePriceAmount1000 + } + return 0 +} + +type Message_ProductMessage_CatalogSnapshot struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CatalogImage *Message_ImageMessage `protobuf:"bytes,1,opt,name=catalogImage,proto3" json:"catalogImage,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` +} + +func (x *Message_ProductMessage_CatalogSnapshot) Reset() { + *x = Message_ProductMessage_CatalogSnapshot{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[119] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_ProductMessage_CatalogSnapshot) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_ProductMessage_CatalogSnapshot) ProtoMessage() {} + +func (x *Message_ProductMessage_CatalogSnapshot) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[119] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_ProductMessage_CatalogSnapshot.ProtoReflect.Descriptor instead. +func (*Message_ProductMessage_CatalogSnapshot) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 43, 1} +} + +func (x *Message_ProductMessage_CatalogSnapshot) GetCatalogImage() *Message_ImageMessage { + if x != nil { + return x.CatalogImage + } + return nil +} + +func (x *Message_ProductMessage_CatalogSnapshot) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *Message_ProductMessage_CatalogSnapshot) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +type Message_TemplateMessage_HydratedFourRowTemplate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Title: + // + // *Message_TemplateMessage_HydratedFourRowTemplate_DocumentMessage + // *Message_TemplateMessage_HydratedFourRowTemplate_HydratedTitleText + // *Message_TemplateMessage_HydratedFourRowTemplate_ImageMessage + // *Message_TemplateMessage_HydratedFourRowTemplate_VideoMessage + // *Message_TemplateMessage_HydratedFourRowTemplate_LocationMessage + Title isMessage_TemplateMessage_HydratedFourRowTemplate_Title `protobuf_oneof:"title"` + HydratedContentText string `protobuf:"bytes,6,opt,name=hydratedContentText,proto3" json:"hydratedContentText,omitempty"` + HydratedFooterText string `protobuf:"bytes,7,opt,name=hydratedFooterText,proto3" json:"hydratedFooterText,omitempty"` + HydratedButtons []*HydratedTemplateButton `protobuf:"bytes,8,rep,name=hydratedButtons,proto3" json:"hydratedButtons,omitempty"` + TemplateID string `protobuf:"bytes,9,opt,name=templateID,proto3" json:"templateID,omitempty"` + MaskLinkedDevices bool `protobuf:"varint,10,opt,name=maskLinkedDevices,proto3" json:"maskLinkedDevices,omitempty"` +} + +func (x *Message_TemplateMessage_HydratedFourRowTemplate) Reset() { + *x = Message_TemplateMessage_HydratedFourRowTemplate{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[120] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_TemplateMessage_HydratedFourRowTemplate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_TemplateMessage_HydratedFourRowTemplate) ProtoMessage() {} + +func (x *Message_TemplateMessage_HydratedFourRowTemplate) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[120] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_TemplateMessage_HydratedFourRowTemplate.ProtoReflect.Descriptor instead. +func (*Message_TemplateMessage_HydratedFourRowTemplate) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 45, 0} +} + +func (m *Message_TemplateMessage_HydratedFourRowTemplate) GetTitle() isMessage_TemplateMessage_HydratedFourRowTemplate_Title { + if m != nil { + return m.Title + } + return nil +} + +func (x *Message_TemplateMessage_HydratedFourRowTemplate) GetDocumentMessage() *Message_DocumentMessage { + if x, ok := x.GetTitle().(*Message_TemplateMessage_HydratedFourRowTemplate_DocumentMessage); ok { + return x.DocumentMessage + } + return nil +} + +func (x *Message_TemplateMessage_HydratedFourRowTemplate) GetHydratedTitleText() string { + if x, ok := x.GetTitle().(*Message_TemplateMessage_HydratedFourRowTemplate_HydratedTitleText); ok { + return x.HydratedTitleText + } + return "" +} + +func (x *Message_TemplateMessage_HydratedFourRowTemplate) GetImageMessage() *Message_ImageMessage { + if x, ok := x.GetTitle().(*Message_TemplateMessage_HydratedFourRowTemplate_ImageMessage); ok { + return x.ImageMessage + } + return nil +} + +func (x *Message_TemplateMessage_HydratedFourRowTemplate) GetVideoMessage() *Message_VideoMessage { + if x, ok := x.GetTitle().(*Message_TemplateMessage_HydratedFourRowTemplate_VideoMessage); ok { + return x.VideoMessage + } + return nil +} + +func (x *Message_TemplateMessage_HydratedFourRowTemplate) GetLocationMessage() *Message_LocationMessage { + if x, ok := x.GetTitle().(*Message_TemplateMessage_HydratedFourRowTemplate_LocationMessage); ok { + return x.LocationMessage + } + return nil +} + +func (x *Message_TemplateMessage_HydratedFourRowTemplate) GetHydratedContentText() string { + if x != nil { + return x.HydratedContentText + } + return "" +} + +func (x *Message_TemplateMessage_HydratedFourRowTemplate) GetHydratedFooterText() string { + if x != nil { + return x.HydratedFooterText + } + return "" +} + +func (x *Message_TemplateMessage_HydratedFourRowTemplate) GetHydratedButtons() []*HydratedTemplateButton { + if x != nil { + return x.HydratedButtons + } + return nil +} + +func (x *Message_TemplateMessage_HydratedFourRowTemplate) GetTemplateID() string { + if x != nil { + return x.TemplateID + } + return "" +} + +func (x *Message_TemplateMessage_HydratedFourRowTemplate) GetMaskLinkedDevices() bool { + if x != nil { + return x.MaskLinkedDevices + } + return false +} + +type isMessage_TemplateMessage_HydratedFourRowTemplate_Title interface { + isMessage_TemplateMessage_HydratedFourRowTemplate_Title() +} + +type Message_TemplateMessage_HydratedFourRowTemplate_DocumentMessage struct { + DocumentMessage *Message_DocumentMessage `protobuf:"bytes,1,opt,name=documentMessage,proto3,oneof"` +} + +type Message_TemplateMessage_HydratedFourRowTemplate_HydratedTitleText struct { + HydratedTitleText string `protobuf:"bytes,2,opt,name=hydratedTitleText,proto3,oneof"` +} + +type Message_TemplateMessage_HydratedFourRowTemplate_ImageMessage struct { + ImageMessage *Message_ImageMessage `protobuf:"bytes,3,opt,name=imageMessage,proto3,oneof"` +} + +type Message_TemplateMessage_HydratedFourRowTemplate_VideoMessage struct { + VideoMessage *Message_VideoMessage `protobuf:"bytes,4,opt,name=videoMessage,proto3,oneof"` +} + +type Message_TemplateMessage_HydratedFourRowTemplate_LocationMessage struct { + LocationMessage *Message_LocationMessage `protobuf:"bytes,5,opt,name=locationMessage,proto3,oneof"` +} + +func (*Message_TemplateMessage_HydratedFourRowTemplate_DocumentMessage) isMessage_TemplateMessage_HydratedFourRowTemplate_Title() { +} + +func (*Message_TemplateMessage_HydratedFourRowTemplate_HydratedTitleText) isMessage_TemplateMessage_HydratedFourRowTemplate_Title() { +} + +func (*Message_TemplateMessage_HydratedFourRowTemplate_ImageMessage) isMessage_TemplateMessage_HydratedFourRowTemplate_Title() { +} + +func (*Message_TemplateMessage_HydratedFourRowTemplate_VideoMessage) isMessage_TemplateMessage_HydratedFourRowTemplate_Title() { +} + +func (*Message_TemplateMessage_HydratedFourRowTemplate_LocationMessage) isMessage_TemplateMessage_HydratedFourRowTemplate_Title() { +} + +type Message_TemplateMessage_FourRowTemplate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Title: + // + // *Message_TemplateMessage_FourRowTemplate_DocumentMessage + // *Message_TemplateMessage_FourRowTemplate_HighlyStructuredMessage + // *Message_TemplateMessage_FourRowTemplate_ImageMessage + // *Message_TemplateMessage_FourRowTemplate_VideoMessage + // *Message_TemplateMessage_FourRowTemplate_LocationMessage + Title isMessage_TemplateMessage_FourRowTemplate_Title `protobuf_oneof:"title"` + Content *Message_HighlyStructuredMessage `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` + Footer *Message_HighlyStructuredMessage `protobuf:"bytes,7,opt,name=footer,proto3" json:"footer,omitempty"` + Buttons []*TemplateButton `protobuf:"bytes,8,rep,name=buttons,proto3" json:"buttons,omitempty"` +} + +func (x *Message_TemplateMessage_FourRowTemplate) Reset() { + *x = Message_TemplateMessage_FourRowTemplate{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[121] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_TemplateMessage_FourRowTemplate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_TemplateMessage_FourRowTemplate) ProtoMessage() {} + +func (x *Message_TemplateMessage_FourRowTemplate) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[121] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_TemplateMessage_FourRowTemplate.ProtoReflect.Descriptor instead. +func (*Message_TemplateMessage_FourRowTemplate) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 45, 1} +} + +func (m *Message_TemplateMessage_FourRowTemplate) GetTitle() isMessage_TemplateMessage_FourRowTemplate_Title { + if m != nil { + return m.Title + } + return nil +} + +func (x *Message_TemplateMessage_FourRowTemplate) GetDocumentMessage() *Message_DocumentMessage { + if x, ok := x.GetTitle().(*Message_TemplateMessage_FourRowTemplate_DocumentMessage); ok { + return x.DocumentMessage + } + return nil +} + +func (x *Message_TemplateMessage_FourRowTemplate) GetHighlyStructuredMessage() *Message_HighlyStructuredMessage { + if x, ok := x.GetTitle().(*Message_TemplateMessage_FourRowTemplate_HighlyStructuredMessage); ok { + return x.HighlyStructuredMessage + } + return nil +} + +func (x *Message_TemplateMessage_FourRowTemplate) GetImageMessage() *Message_ImageMessage { + if x, ok := x.GetTitle().(*Message_TemplateMessage_FourRowTemplate_ImageMessage); ok { + return x.ImageMessage + } + return nil +} + +func (x *Message_TemplateMessage_FourRowTemplate) GetVideoMessage() *Message_VideoMessage { + if x, ok := x.GetTitle().(*Message_TemplateMessage_FourRowTemplate_VideoMessage); ok { + return x.VideoMessage + } + return nil +} + +func (x *Message_TemplateMessage_FourRowTemplate) GetLocationMessage() *Message_LocationMessage { + if x, ok := x.GetTitle().(*Message_TemplateMessage_FourRowTemplate_LocationMessage); ok { + return x.LocationMessage + } + return nil +} + +func (x *Message_TemplateMessage_FourRowTemplate) GetContent() *Message_HighlyStructuredMessage { + if x != nil { + return x.Content + } + return nil +} + +func (x *Message_TemplateMessage_FourRowTemplate) GetFooter() *Message_HighlyStructuredMessage { + if x != nil { + return x.Footer + } + return nil +} + +func (x *Message_TemplateMessage_FourRowTemplate) GetButtons() []*TemplateButton { + if x != nil { + return x.Buttons + } + return nil +} + +type isMessage_TemplateMessage_FourRowTemplate_Title interface { + isMessage_TemplateMessage_FourRowTemplate_Title() +} + +type Message_TemplateMessage_FourRowTemplate_DocumentMessage struct { + DocumentMessage *Message_DocumentMessage `protobuf:"bytes,1,opt,name=documentMessage,proto3,oneof"` +} + +type Message_TemplateMessage_FourRowTemplate_HighlyStructuredMessage struct { + HighlyStructuredMessage *Message_HighlyStructuredMessage `protobuf:"bytes,2,opt,name=highlyStructuredMessage,proto3,oneof"` +} + +type Message_TemplateMessage_FourRowTemplate_ImageMessage struct { + ImageMessage *Message_ImageMessage `protobuf:"bytes,3,opt,name=imageMessage,proto3,oneof"` +} + +type Message_TemplateMessage_FourRowTemplate_VideoMessage struct { + VideoMessage *Message_VideoMessage `protobuf:"bytes,4,opt,name=videoMessage,proto3,oneof"` +} + +type Message_TemplateMessage_FourRowTemplate_LocationMessage struct { + LocationMessage *Message_LocationMessage `protobuf:"bytes,5,opt,name=locationMessage,proto3,oneof"` +} + +func (*Message_TemplateMessage_FourRowTemplate_DocumentMessage) isMessage_TemplateMessage_FourRowTemplate_Title() { +} + +func (*Message_TemplateMessage_FourRowTemplate_HighlyStructuredMessage) isMessage_TemplateMessage_FourRowTemplate_Title() { +} + +func (*Message_TemplateMessage_FourRowTemplate_ImageMessage) isMessage_TemplateMessage_FourRowTemplate_Title() { +} + +func (*Message_TemplateMessage_FourRowTemplate_VideoMessage) isMessage_TemplateMessage_FourRowTemplate_Title() { +} + +func (*Message_TemplateMessage_FourRowTemplate_LocationMessage) isMessage_TemplateMessage_FourRowTemplate_Title() { +} + +type Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MediaUploadResult waMmsRetry.MediaRetryNotification_ResultType `protobuf:"varint,1,opt,name=mediaUploadResult,proto3,enum=WAMmsRetry.MediaRetryNotification_ResultType" json:"mediaUploadResult,omitempty"` + StickerMessage *Message_StickerMessage `protobuf:"bytes,2,opt,name=stickerMessage,proto3" json:"stickerMessage,omitempty"` + LinkPreviewResponse *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse `protobuf:"bytes,3,opt,name=linkPreviewResponse,proto3" json:"linkPreviewResponse,omitempty"` + PlaceholderMessageResendResponse *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse `protobuf:"bytes,4,opt,name=placeholderMessageResendResponse,proto3" json:"placeholderMessageResendResponse,omitempty"` +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Reset() { + *x = Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[122] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoMessage() {} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[122] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult.ProtoReflect.Descriptor instead. +func (*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 54, 0} +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetMediaUploadResult() waMmsRetry.MediaRetryNotification_ResultType { + if x != nil { + return x.MediaUploadResult + } + return waMmsRetry.MediaRetryNotification_ResultType(0) +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetStickerMessage() *Message_StickerMessage { + if x != nil { + return x.StickerMessage + } + return nil +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetLinkPreviewResponse() *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse { + if x != nil { + return x.LinkPreviewResponse + } + return nil +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetPlaceholderMessageResendResponse() *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse { + if x != nil { + return x.PlaceholderMessageResendResponse + } + return nil +} + +type Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + WebMessageInfoBytes []byte `protobuf:"bytes,1,opt,name=webMessageInfoBytes,proto3" json:"webMessageInfoBytes,omitempty"` +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) Reset() { + *x = Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[123] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) ProtoMessage() { +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[123] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse.ProtoReflect.Descriptor instead. +func (*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 54, 0, 0} +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) GetWebMessageInfoBytes() []byte { + if x != nil { + return x.WebMessageInfoBytes + } + return nil +} + +type Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + ThumbData []byte `protobuf:"bytes,4,opt,name=thumbData,proto3" json:"thumbData,omitempty"` + CanonicalURL string `protobuf:"bytes,5,opt,name=canonicalURL,proto3" json:"canonicalURL,omitempty"` + MatchText string `protobuf:"bytes,6,opt,name=matchText,proto3" json:"matchText,omitempty"` + PreviewType string `protobuf:"bytes,7,opt,name=previewType,proto3" json:"previewType,omitempty"` + HqThumbnail *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail `protobuf:"bytes,8,opt,name=hqThumbnail,proto3" json:"hqThumbnail,omitempty"` +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) Reset() { + *x = Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[124] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) ProtoMessage() { +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[124] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse.ProtoReflect.Descriptor instead. +func (*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 54, 0, 1} +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetURL() string { + if x != nil { + return x.URL + } + return "" +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetThumbData() []byte { + if x != nil { + return x.ThumbData + } + return nil +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetCanonicalURL() string { + if x != nil { + return x.CanonicalURL + } + return "" +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetMatchText() string { + if x != nil { + return x.MatchText + } + return "" +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetPreviewType() string { + if x != nil { + return x.PreviewType + } + return "" +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetHqThumbnail() *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail { + if x != nil { + return x.HqThumbnail + } + return nil +} + +type Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DirectPath string `protobuf:"bytes,1,opt,name=directPath,proto3" json:"directPath,omitempty"` + ThumbHash string `protobuf:"bytes,2,opt,name=thumbHash,proto3" json:"thumbHash,omitempty"` + EncThumbHash string `protobuf:"bytes,3,opt,name=encThumbHash,proto3" json:"encThumbHash,omitempty"` + MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + MediaKeyTimestampMS int64 `protobuf:"varint,5,opt,name=mediaKeyTimestampMS,proto3" json:"mediaKeyTimestampMS,omitempty"` + ThumbWidth int32 `protobuf:"varint,6,opt,name=thumbWidth,proto3" json:"thumbWidth,omitempty"` + ThumbHeight int32 `protobuf:"varint,7,opt,name=thumbHeight,proto3" json:"thumbHeight,omitempty"` +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) Reset() { + *x = Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[125] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) ProtoMessage() { +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[125] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail.ProtoReflect.Descriptor instead. +func (*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 54, 0, 1, 0} +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbHash() string { + if x != nil { + return x.ThumbHash + } + return "" +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetEncThumbHash() string { + if x != nil { + return x.EncThumbHash + } + return "" +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetMediaKeyTimestampMS() int64 { + if x != nil { + return x.MediaKeyTimestampMS + } + return 0 +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbWidth() int32 { + if x != nil { + return x.ThumbWidth + } + return 0 +} + +func (x *Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbHeight() int32 { + if x != nil { + return x.ThumbHeight + } + return 0 +} + +type Message_PeerDataOperationRequestMessage_PlaceholderMessageResendRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MessageKey *waCommon.MessageKey `protobuf:"bytes,1,opt,name=messageKey,proto3" json:"messageKey,omitempty"` +} + +func (x *Message_PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) Reset() { + *x = Message_PeerDataOperationRequestMessage_PlaceholderMessageResendRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[126] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) ProtoMessage() {} + +func (x *Message_PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[126] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PeerDataOperationRequestMessage_PlaceholderMessageResendRequest.ProtoReflect.Descriptor instead. +func (*Message_PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 55, 0} +} + +func (x *Message_PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) GetMessageKey() *waCommon.MessageKey { + if x != nil { + return x.MessageKey + } + return nil +} + +type Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChatJID string `protobuf:"bytes,1,opt,name=chatJID,proto3" json:"chatJID,omitempty"` + OldestMsgID string `protobuf:"bytes,2,opt,name=oldestMsgID,proto3" json:"oldestMsgID,omitempty"` + OldestMsgFromMe bool `protobuf:"varint,3,opt,name=oldestMsgFromMe,proto3" json:"oldestMsgFromMe,omitempty"` + OnDemandMsgCount int32 `protobuf:"varint,4,opt,name=onDemandMsgCount,proto3" json:"onDemandMsgCount,omitempty"` + OldestMsgTimestampMS int64 `protobuf:"varint,5,opt,name=oldestMsgTimestampMS,proto3" json:"oldestMsgTimestampMS,omitempty"` +} + +func (x *Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Reset() { + *x = Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[127] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoMessage() {} + +func (x *Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[127] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest.ProtoReflect.Descriptor instead. +func (*Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 55, 1} +} + +func (x *Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetChatJID() string { + if x != nil { + return x.ChatJID + } + return "" +} + +func (x *Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgID() string { + if x != nil { + return x.OldestMsgID + } + return "" +} + +func (x *Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgFromMe() bool { + if x != nil { + return x.OldestMsgFromMe + } + return false +} + +func (x *Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOnDemandMsgCount() int32 { + if x != nil { + return x.OnDemandMsgCount + } + return 0 +} + +func (x *Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgTimestampMS() int64 { + if x != nil { + return x.OldestMsgTimestampMS + } + return 0 +} + +type Message_PeerDataOperationRequestMessage_RequestUrlPreview struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` + IncludeHqThumbnail bool `protobuf:"varint,2,opt,name=includeHqThumbnail,proto3" json:"includeHqThumbnail,omitempty"` +} + +func (x *Message_PeerDataOperationRequestMessage_RequestUrlPreview) Reset() { + *x = Message_PeerDataOperationRequestMessage_RequestUrlPreview{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[128] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PeerDataOperationRequestMessage_RequestUrlPreview) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PeerDataOperationRequestMessage_RequestUrlPreview) ProtoMessage() {} + +func (x *Message_PeerDataOperationRequestMessage_RequestUrlPreview) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[128] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PeerDataOperationRequestMessage_RequestUrlPreview.ProtoReflect.Descriptor instead. +func (*Message_PeerDataOperationRequestMessage_RequestUrlPreview) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 55, 2} +} + +func (x *Message_PeerDataOperationRequestMessage_RequestUrlPreview) GetURL() string { + if x != nil { + return x.URL + } + return "" +} + +func (x *Message_PeerDataOperationRequestMessage_RequestUrlPreview) GetIncludeHqThumbnail() bool { + if x != nil { + return x.IncludeHqThumbnail + } + return false +} + +type Message_PeerDataOperationRequestMessage_RequestStickerReupload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileSHA256 string `protobuf:"bytes,1,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` +} + +func (x *Message_PeerDataOperationRequestMessage_RequestStickerReupload) Reset() { + *x = Message_PeerDataOperationRequestMessage_RequestStickerReupload{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[129] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Message_PeerDataOperationRequestMessage_RequestStickerReupload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Message_PeerDataOperationRequestMessage_RequestStickerReupload) ProtoMessage() {} + +func (x *Message_PeerDataOperationRequestMessage_RequestStickerReupload) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[129] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Message_PeerDataOperationRequestMessage_RequestStickerReupload.ProtoReflect.Descriptor instead. +func (*Message_PeerDataOperationRequestMessage_RequestStickerReupload) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{0, 55, 3} +} + +func (x *Message_PeerDataOperationRequestMessage_RequestStickerReupload) GetFileSHA256() string { + if x != nil { + return x.FileSHA256 + } + return "" +} + +type ContextInfo_ForwardedNewsletterMessageInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NewsletterJID string `protobuf:"bytes,1,opt,name=newsletterJID,proto3" json:"newsletterJID,omitempty"` + ServerMessageID int32 `protobuf:"varint,2,opt,name=serverMessageID,proto3" json:"serverMessageID,omitempty"` + NewsletterName string `protobuf:"bytes,3,opt,name=newsletterName,proto3" json:"newsletterName,omitempty"` + ContentType ContextInfo_ForwardedNewsletterMessageInfo_ContentType `protobuf:"varint,4,opt,name=contentType,proto3,enum=WAE2E.ContextInfo_ForwardedNewsletterMessageInfo_ContentType" json:"contentType,omitempty"` + AccessibilityText string `protobuf:"bytes,5,opt,name=accessibilityText,proto3" json:"accessibilityText,omitempty"` +} + +func (x *ContextInfo_ForwardedNewsletterMessageInfo) Reset() { + *x = ContextInfo_ForwardedNewsletterMessageInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[130] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContextInfo_ForwardedNewsletterMessageInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContextInfo_ForwardedNewsletterMessageInfo) ProtoMessage() {} + +func (x *ContextInfo_ForwardedNewsletterMessageInfo) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[130] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContextInfo_ForwardedNewsletterMessageInfo.ProtoReflect.Descriptor instead. +func (*ContextInfo_ForwardedNewsletterMessageInfo) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *ContextInfo_ForwardedNewsletterMessageInfo) GetNewsletterJID() string { + if x != nil { + return x.NewsletterJID + } + return "" +} + +func (x *ContextInfo_ForwardedNewsletterMessageInfo) GetServerMessageID() int32 { + if x != nil { + return x.ServerMessageID + } + return 0 +} + +func (x *ContextInfo_ForwardedNewsletterMessageInfo) GetNewsletterName() string { + if x != nil { + return x.NewsletterName + } + return "" +} + +func (x *ContextInfo_ForwardedNewsletterMessageInfo) GetContentType() ContextInfo_ForwardedNewsletterMessageInfo_ContentType { + if x != nil { + return x.ContentType + } + return ContextInfo_ForwardedNewsletterMessageInfo_CONTENTTYPE_UNKNOWN +} + +func (x *ContextInfo_ForwardedNewsletterMessageInfo) GetAccessibilityText() string { + if x != nil { + return x.AccessibilityText + } + return "" +} + +type ContextInfo_ExternalAdReplyInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` + MediaType ContextInfo_ExternalAdReplyInfo_MediaType `protobuf:"varint,3,opt,name=mediaType,proto3,enum=WAE2E.ContextInfo_ExternalAdReplyInfo_MediaType" json:"mediaType,omitempty"` + ThumbnailURL string `protobuf:"bytes,4,opt,name=thumbnailURL,proto3" json:"thumbnailURL,omitempty"` + MediaURL string `protobuf:"bytes,5,opt,name=mediaURL,proto3" json:"mediaURL,omitempty"` + Thumbnail []byte `protobuf:"bytes,6,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` + SourceType string `protobuf:"bytes,7,opt,name=sourceType,proto3" json:"sourceType,omitempty"` + SourceID string `protobuf:"bytes,8,opt,name=sourceID,proto3" json:"sourceID,omitempty"` + SourceURL string `protobuf:"bytes,9,opt,name=sourceURL,proto3" json:"sourceURL,omitempty"` + ContainsAutoReply bool `protobuf:"varint,10,opt,name=containsAutoReply,proto3" json:"containsAutoReply,omitempty"` + RenderLargerThumbnail bool `protobuf:"varint,11,opt,name=renderLargerThumbnail,proto3" json:"renderLargerThumbnail,omitempty"` + ShowAdAttribution bool `protobuf:"varint,12,opt,name=showAdAttribution,proto3" json:"showAdAttribution,omitempty"` + CtwaClid string `protobuf:"bytes,13,opt,name=ctwaClid,proto3" json:"ctwaClid,omitempty"` + Ref string `protobuf:"bytes,14,opt,name=ref,proto3" json:"ref,omitempty"` +} + +func (x *ContextInfo_ExternalAdReplyInfo) Reset() { + *x = ContextInfo_ExternalAdReplyInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[131] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContextInfo_ExternalAdReplyInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContextInfo_ExternalAdReplyInfo) ProtoMessage() {} + +func (x *ContextInfo_ExternalAdReplyInfo) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[131] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContextInfo_ExternalAdReplyInfo.ProtoReflect.Descriptor instead. +func (*ContextInfo_ExternalAdReplyInfo) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{1, 1} +} + +func (x *ContextInfo_ExternalAdReplyInfo) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *ContextInfo_ExternalAdReplyInfo) GetBody() string { + if x != nil { + return x.Body + } + return "" +} + +func (x *ContextInfo_ExternalAdReplyInfo) GetMediaType() ContextInfo_ExternalAdReplyInfo_MediaType { + if x != nil { + return x.MediaType + } + return ContextInfo_ExternalAdReplyInfo_NONE +} + +func (x *ContextInfo_ExternalAdReplyInfo) GetThumbnailURL() string { + if x != nil { + return x.ThumbnailURL + } + return "" +} + +func (x *ContextInfo_ExternalAdReplyInfo) GetMediaURL() string { + if x != nil { + return x.MediaURL + } + return "" +} + +func (x *ContextInfo_ExternalAdReplyInfo) GetThumbnail() []byte { + if x != nil { + return x.Thumbnail + } + return nil +} + +func (x *ContextInfo_ExternalAdReplyInfo) GetSourceType() string { + if x != nil { + return x.SourceType + } + return "" +} + +func (x *ContextInfo_ExternalAdReplyInfo) GetSourceID() string { + if x != nil { + return x.SourceID + } + return "" +} + +func (x *ContextInfo_ExternalAdReplyInfo) GetSourceURL() string { + if x != nil { + return x.SourceURL + } + return "" +} + +func (x *ContextInfo_ExternalAdReplyInfo) GetContainsAutoReply() bool { + if x != nil { + return x.ContainsAutoReply + } + return false +} + +func (x *ContextInfo_ExternalAdReplyInfo) GetRenderLargerThumbnail() bool { + if x != nil { + return x.RenderLargerThumbnail + } + return false +} + +func (x *ContextInfo_ExternalAdReplyInfo) GetShowAdAttribution() bool { + if x != nil { + return x.ShowAdAttribution + } + return false +} + +func (x *ContextInfo_ExternalAdReplyInfo) GetCtwaClid() string { + if x != nil { + return x.CtwaClid + } + return "" +} + +func (x *ContextInfo_ExternalAdReplyInfo) GetRef() string { + if x != nil { + return x.Ref + } + return "" +} + +type ContextInfo_AdReplyInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AdvertiserName string `protobuf:"bytes,1,opt,name=advertiserName,proto3" json:"advertiserName,omitempty"` + MediaType ContextInfo_AdReplyInfo_MediaType `protobuf:"varint,2,opt,name=mediaType,proto3,enum=WAE2E.ContextInfo_AdReplyInfo_MediaType" json:"mediaType,omitempty"` + JPEGThumbnail []byte `protobuf:"bytes,16,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` + Caption string `protobuf:"bytes,17,opt,name=caption,proto3" json:"caption,omitempty"` +} + +func (x *ContextInfo_AdReplyInfo) Reset() { + *x = ContextInfo_AdReplyInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[132] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContextInfo_AdReplyInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContextInfo_AdReplyInfo) ProtoMessage() {} + +func (x *ContextInfo_AdReplyInfo) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[132] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContextInfo_AdReplyInfo.ProtoReflect.Descriptor instead. +func (*ContextInfo_AdReplyInfo) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{1, 2} +} + +func (x *ContextInfo_AdReplyInfo) GetAdvertiserName() string { + if x != nil { + return x.AdvertiserName + } + return "" +} + +func (x *ContextInfo_AdReplyInfo) GetMediaType() ContextInfo_AdReplyInfo_MediaType { + if x != nil { + return x.MediaType + } + return ContextInfo_AdReplyInfo_NONE +} + +func (x *ContextInfo_AdReplyInfo) GetJPEGThumbnail() []byte { + if x != nil { + return x.JPEGThumbnail + } + return nil +} + +func (x *ContextInfo_AdReplyInfo) GetCaption() string { + if x != nil { + return x.Caption + } + return "" +} + +type ContextInfo_DataSharingContext struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShowMmDisclosure bool `protobuf:"varint,1,opt,name=showMmDisclosure,proto3" json:"showMmDisclosure,omitempty"` +} + +func (x *ContextInfo_DataSharingContext) Reset() { + *x = ContextInfo_DataSharingContext{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[133] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContextInfo_DataSharingContext) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContextInfo_DataSharingContext) ProtoMessage() {} + +func (x *ContextInfo_DataSharingContext) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[133] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContextInfo_DataSharingContext.ProtoReflect.Descriptor instead. +func (*ContextInfo_DataSharingContext) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{1, 3} +} + +func (x *ContextInfo_DataSharingContext) GetShowMmDisclosure() bool { + if x != nil { + return x.ShowMmDisclosure + } + return false +} + +type ContextInfo_UTMInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UtmSource string `protobuf:"bytes,1,opt,name=utmSource,proto3" json:"utmSource,omitempty"` + UtmCampaign string `protobuf:"bytes,2,opt,name=utmCampaign,proto3" json:"utmCampaign,omitempty"` +} + +func (x *ContextInfo_UTMInfo) Reset() { + *x = ContextInfo_UTMInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[134] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContextInfo_UTMInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContextInfo_UTMInfo) ProtoMessage() {} + +func (x *ContextInfo_UTMInfo) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[134] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContextInfo_UTMInfo.ProtoReflect.Descriptor instead. +func (*ContextInfo_UTMInfo) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{1, 4} +} + +func (x *ContextInfo_UTMInfo) GetUtmSource() string { + if x != nil { + return x.UtmSource + } + return "" +} + +func (x *ContextInfo_UTMInfo) GetUtmCampaign() string { + if x != nil { + return x.UtmCampaign + } + return "" +} + +type ContextInfo_BusinessMessageForwardInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BusinessOwnerJID string `protobuf:"bytes,1,opt,name=businessOwnerJID,proto3" json:"businessOwnerJID,omitempty"` +} + +func (x *ContextInfo_BusinessMessageForwardInfo) Reset() { + *x = ContextInfo_BusinessMessageForwardInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[135] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContextInfo_BusinessMessageForwardInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContextInfo_BusinessMessageForwardInfo) ProtoMessage() {} + +func (x *ContextInfo_BusinessMessageForwardInfo) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[135] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContextInfo_BusinessMessageForwardInfo.ProtoReflect.Descriptor instead. +func (*ContextInfo_BusinessMessageForwardInfo) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{1, 5} +} + +func (x *ContextInfo_BusinessMessageForwardInfo) GetBusinessOwnerJID() string { + if x != nil { + return x.BusinessOwnerJID + } + return "" +} + +type HydratedTemplateButton_HydratedURLButton struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DisplayText string `protobuf:"bytes,1,opt,name=displayText,proto3" json:"displayText,omitempty"` + URL string `protobuf:"bytes,2,opt,name=URL,proto3" json:"URL,omitempty"` + ConsentedUsersURL string `protobuf:"bytes,3,opt,name=consentedUsersURL,proto3" json:"consentedUsersURL,omitempty"` + WebviewPresentation HydratedTemplateButton_HydratedURLButton_WebviewPresentationType `protobuf:"varint,4,opt,name=webviewPresentation,proto3,enum=WAE2E.HydratedTemplateButton_HydratedURLButton_WebviewPresentationType" json:"webviewPresentation,omitempty"` +} + +func (x *HydratedTemplateButton_HydratedURLButton) Reset() { + *x = HydratedTemplateButton_HydratedURLButton{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[136] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HydratedTemplateButton_HydratedURLButton) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HydratedTemplateButton_HydratedURLButton) ProtoMessage() {} + +func (x *HydratedTemplateButton_HydratedURLButton) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[136] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HydratedTemplateButton_HydratedURLButton.ProtoReflect.Descriptor instead. +func (*HydratedTemplateButton_HydratedURLButton) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{3, 0} +} + +func (x *HydratedTemplateButton_HydratedURLButton) GetDisplayText() string { + if x != nil { + return x.DisplayText + } + return "" +} + +func (x *HydratedTemplateButton_HydratedURLButton) GetURL() string { + if x != nil { + return x.URL + } + return "" +} + +func (x *HydratedTemplateButton_HydratedURLButton) GetConsentedUsersURL() string { + if x != nil { + return x.ConsentedUsersURL + } + return "" +} + +func (x *HydratedTemplateButton_HydratedURLButton) GetWebviewPresentation() HydratedTemplateButton_HydratedURLButton_WebviewPresentationType { + if x != nil { + return x.WebviewPresentation + } + return HydratedTemplateButton_HydratedURLButton_WEBVIEWPRESENTATIONTYPE_UNKNOWN +} + +type HydratedTemplateButton_HydratedCallButton struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DisplayText string `protobuf:"bytes,1,opt,name=displayText,proto3" json:"displayText,omitempty"` + PhoneNumber string `protobuf:"bytes,2,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"` +} + +func (x *HydratedTemplateButton_HydratedCallButton) Reset() { + *x = HydratedTemplateButton_HydratedCallButton{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[137] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HydratedTemplateButton_HydratedCallButton) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HydratedTemplateButton_HydratedCallButton) ProtoMessage() {} + +func (x *HydratedTemplateButton_HydratedCallButton) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[137] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HydratedTemplateButton_HydratedCallButton.ProtoReflect.Descriptor instead. +func (*HydratedTemplateButton_HydratedCallButton) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{3, 1} +} + +func (x *HydratedTemplateButton_HydratedCallButton) GetDisplayText() string { + if x != nil { + return x.DisplayText + } + return "" +} + +func (x *HydratedTemplateButton_HydratedCallButton) GetPhoneNumber() string { + if x != nil { + return x.PhoneNumber + } + return "" +} + +type HydratedTemplateButton_HydratedQuickReplyButton struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DisplayText string `protobuf:"bytes,1,opt,name=displayText,proto3" json:"displayText,omitempty"` + ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"` +} + +func (x *HydratedTemplateButton_HydratedQuickReplyButton) Reset() { + *x = HydratedTemplateButton_HydratedQuickReplyButton{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[138] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HydratedTemplateButton_HydratedQuickReplyButton) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HydratedTemplateButton_HydratedQuickReplyButton) ProtoMessage() {} + +func (x *HydratedTemplateButton_HydratedQuickReplyButton) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[138] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HydratedTemplateButton_HydratedQuickReplyButton.ProtoReflect.Descriptor instead. +func (*HydratedTemplateButton_HydratedQuickReplyButton) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{3, 2} +} + +func (x *HydratedTemplateButton_HydratedQuickReplyButton) GetDisplayText() string { + if x != nil { + return x.DisplayText + } + return "" +} + +func (x *HydratedTemplateButton_HydratedQuickReplyButton) GetID() string { + if x != nil { + return x.ID + } + return "" +} + +type PaymentBackground_MediaData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MediaKey []byte `protobuf:"bytes,1,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + MediaKeyTimestamp int64 `protobuf:"varint,2,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"` + FileSHA256 []byte `protobuf:"bytes,3,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,4,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` + DirectPath string `protobuf:"bytes,5,opt,name=directPath,proto3" json:"directPath,omitempty"` +} + +func (x *PaymentBackground_MediaData) Reset() { + *x = PaymentBackground_MediaData{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[139] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PaymentBackground_MediaData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PaymentBackground_MediaData) ProtoMessage() {} + +func (x *PaymentBackground_MediaData) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[139] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PaymentBackground_MediaData.ProtoReflect.Descriptor instead. +func (*PaymentBackground_MediaData) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{4, 0} +} + +func (x *PaymentBackground_MediaData) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *PaymentBackground_MediaData) GetMediaKeyTimestamp() int64 { + if x != nil { + return x.MediaKeyTimestamp + } + return 0 +} + +func (x *PaymentBackground_MediaData) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *PaymentBackground_MediaData) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *PaymentBackground_MediaData) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +type TemplateButton_CallButton struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DisplayText *Message_HighlyStructuredMessage `protobuf:"bytes,1,opt,name=displayText,proto3" json:"displayText,omitempty"` + PhoneNumber *Message_HighlyStructuredMessage `protobuf:"bytes,2,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"` +} + +func (x *TemplateButton_CallButton) Reset() { + *x = TemplateButton_CallButton{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[140] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TemplateButton_CallButton) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TemplateButton_CallButton) ProtoMessage() {} + +func (x *TemplateButton_CallButton) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[140] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TemplateButton_CallButton.ProtoReflect.Descriptor instead. +func (*TemplateButton_CallButton) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{14, 0} +} + +func (x *TemplateButton_CallButton) GetDisplayText() *Message_HighlyStructuredMessage { + if x != nil { + return x.DisplayText + } + return nil +} + +func (x *TemplateButton_CallButton) GetPhoneNumber() *Message_HighlyStructuredMessage { + if x != nil { + return x.PhoneNumber + } + return nil +} + +type TemplateButton_URLButton struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DisplayText *Message_HighlyStructuredMessage `protobuf:"bytes,1,opt,name=displayText,proto3" json:"displayText,omitempty"` + URL *Message_HighlyStructuredMessage `protobuf:"bytes,2,opt,name=URL,proto3" json:"URL,omitempty"` +} + +func (x *TemplateButton_URLButton) Reset() { + *x = TemplateButton_URLButton{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[141] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TemplateButton_URLButton) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TemplateButton_URLButton) ProtoMessage() {} + +func (x *TemplateButton_URLButton) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[141] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TemplateButton_URLButton.ProtoReflect.Descriptor instead. +func (*TemplateButton_URLButton) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{14, 1} +} + +func (x *TemplateButton_URLButton) GetDisplayText() *Message_HighlyStructuredMessage { + if x != nil { + return x.DisplayText + } + return nil +} + +func (x *TemplateButton_URLButton) GetURL() *Message_HighlyStructuredMessage { + if x != nil { + return x.URL + } + return nil +} + +type TemplateButton_QuickReplyButton struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DisplayText *Message_HighlyStructuredMessage `protobuf:"bytes,1,opt,name=displayText,proto3" json:"displayText,omitempty"` + ID string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"` +} + +func (x *TemplateButton_QuickReplyButton) Reset() { + *x = TemplateButton_QuickReplyButton{} + if protoimpl.UnsafeEnabled { + mi := &file_waE2E_WAE2E_proto_msgTypes[142] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TemplateButton_QuickReplyButton) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TemplateButton_QuickReplyButton) ProtoMessage() {} + +func (x *TemplateButton_QuickReplyButton) ProtoReflect() protoreflect.Message { + mi := &file_waE2E_WAE2E_proto_msgTypes[142] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TemplateButton_QuickReplyButton.ProtoReflect.Descriptor instead. +func (*TemplateButton_QuickReplyButton) Descriptor() ([]byte, []int) { + return file_waE2E_WAE2E_proto_rawDescGZIP(), []int{14, 2} +} + +func (x *TemplateButton_QuickReplyButton) GetDisplayText() *Message_HighlyStructuredMessage { + if x != nil { + return x.DisplayText + } + return nil +} + +func (x *TemplateButton_QuickReplyButton) GetID() string { + if x != nil { + return x.ID + } + return "" +} + +var File_waE2E_WAE2E_proto protoreflect.FileDescriptor + +//go:embed WAE2E.pb.raw +var file_waE2E_WAE2E_proto_rawDesc []byte + +var ( + file_waE2E_WAE2E_proto_rawDescOnce sync.Once + file_waE2E_WAE2E_proto_rawDescData = file_waE2E_WAE2E_proto_rawDesc +) + +func file_waE2E_WAE2E_proto_rawDescGZIP() []byte { + file_waE2E_WAE2E_proto_rawDescOnce.Do(func() { + file_waE2E_WAE2E_proto_rawDescData = protoimpl.X.CompressGZIP(file_waE2E_WAE2E_proto_rawDescData) + }) + return file_waE2E_WAE2E_proto_rawDescData +} + +var file_waE2E_WAE2E_proto_enumTypes = make([]protoimpl.EnumInfo, 43) +var file_waE2E_WAE2E_proto_msgTypes = make([]protoimpl.MessageInfo, 143) +var file_waE2E_WAE2E_proto_goTypes = []interface{}{ + (KeepType)(0), // 0: WAE2E.KeepType + (Message_PeerDataOperationRequestType)(0), // 1: WAE2E.Message.PeerDataOperationRequestType + (Message_PlaceholderMessage_PlaceholderType)(0), // 2: WAE2E.Message.PlaceholderMessage.PlaceholderType + (Message_BCallMessage_MediaType)(0), // 3: WAE2E.Message.BCallMessage.MediaType + (Message_CallLogMessage_CallOutcome)(0), // 4: WAE2E.Message.CallLogMessage.CallOutcome + (Message_CallLogMessage_CallType)(0), // 5: WAE2E.Message.CallLogMessage.CallType + (Message_ScheduledCallEditMessage_EditType)(0), // 6: WAE2E.Message.ScheduledCallEditMessage.EditType + (Message_ScheduledCallCreationMessage_CallType)(0), // 7: WAE2E.Message.ScheduledCallCreationMessage.CallType + (Message_EventResponseMessage_EventResponseType)(0), // 8: WAE2E.Message.EventResponseMessage.EventResponseType + (Message_PinInChatMessage_Type)(0), // 9: WAE2E.Message.PinInChatMessage.Type + (Message_ButtonsResponseMessage_Type)(0), // 10: WAE2E.Message.ButtonsResponseMessage.Type + (Message_ButtonsMessage_HeaderType)(0), // 11: WAE2E.Message.ButtonsMessage.HeaderType + (Message_ButtonsMessage_Button_Type)(0), // 12: WAE2E.Message.ButtonsMessage.Button.Type + (Message_GroupInviteMessage_GroupType)(0), // 13: WAE2E.Message.GroupInviteMessage.GroupType + (Message_InteractiveResponseMessage_Body_Format)(0), // 14: WAE2E.Message.InteractiveResponseMessage.Body.Format + (Message_InteractiveMessage_ShopMessage_Surface)(0), // 15: WAE2E.Message.InteractiveMessage.ShopMessage.Surface + (Message_ListResponseMessage_ListType)(0), // 16: WAE2E.Message.ListResponseMessage.ListType + (Message_ListMessage_ListType)(0), // 17: WAE2E.Message.ListMessage.ListType + (Message_OrderMessage_OrderSurface)(0), // 18: WAE2E.Message.OrderMessage.OrderSurface + (Message_OrderMessage_OrderStatus)(0), // 19: WAE2E.Message.OrderMessage.OrderStatus + (Message_PaymentInviteMessage_ServiceType)(0), // 20: WAE2E.Message.PaymentInviteMessage.ServiceType + (Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType)(0), // 21: WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType + (Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType)(0), // 22: WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType + (Message_HistorySyncNotification_HistorySyncType)(0), // 23: WAE2E.Message.HistorySyncNotification.HistorySyncType + (Message_RequestWelcomeMessageMetadata_LocalChatState)(0), // 24: WAE2E.Message.RequestWelcomeMessageMetadata.LocalChatState + (Message_ProtocolMessage_Type)(0), // 25: WAE2E.Message.ProtocolMessage.Type + (Message_BotFeedbackMessage_BotFeedbackKindMultiplePositive)(0), // 26: WAE2E.Message.BotFeedbackMessage.BotFeedbackKindMultiplePositive + (Message_BotFeedbackMessage_BotFeedbackKindMultipleNegative)(0), // 27: WAE2E.Message.BotFeedbackMessage.BotFeedbackKindMultipleNegative + (Message_BotFeedbackMessage_BotFeedbackKind)(0), // 28: WAE2E.Message.BotFeedbackMessage.BotFeedbackKind + (Message_VideoMessage_Attribution)(0), // 29: WAE2E.Message.VideoMessage.Attribution + (Message_ExtendedTextMessage_InviteLinkGroupType)(0), // 30: WAE2E.Message.ExtendedTextMessage.InviteLinkGroupType + (Message_ExtendedTextMessage_PreviewType)(0), // 31: WAE2E.Message.ExtendedTextMessage.PreviewType + (Message_ExtendedTextMessage_FontType)(0), // 32: WAE2E.Message.ExtendedTextMessage.FontType + (Message_InvoiceMessage_AttachmentType)(0), // 33: WAE2E.Message.InvoiceMessage.AttachmentType + (ContextInfo_ForwardedNewsletterMessageInfo_ContentType)(0), // 34: WAE2E.ContextInfo.ForwardedNewsletterMessageInfo.ContentType + (ContextInfo_ExternalAdReplyInfo_MediaType)(0), // 35: WAE2E.ContextInfo.ExternalAdReplyInfo.MediaType + (ContextInfo_AdReplyInfo_MediaType)(0), // 36: WAE2E.ContextInfo.AdReplyInfo.MediaType + (BotPluginMetadata_PluginType)(0), // 37: WAE2E.BotPluginMetadata.PluginType + (BotPluginMetadata_SearchProvider)(0), // 38: WAE2E.BotPluginMetadata.SearchProvider + (HydratedTemplateButton_HydratedURLButton_WebviewPresentationType)(0), // 39: WAE2E.HydratedTemplateButton.HydratedURLButton.WebviewPresentationType + (PaymentBackground_Type)(0), // 40: WAE2E.PaymentBackground.Type + (DisappearingMode_Trigger)(0), // 41: WAE2E.DisappearingMode.Trigger + (DisappearingMode_Initiator)(0), // 42: WAE2E.DisappearingMode.Initiator + (*Message)(nil), // 43: WAE2E.Message + (*ContextInfo)(nil), // 44: WAE2E.ContextInfo + (*BotPluginMetadata)(nil), // 45: WAE2E.BotPluginMetadata + (*HydratedTemplateButton)(nil), // 46: WAE2E.HydratedTemplateButton + (*PaymentBackground)(nil), // 47: WAE2E.PaymentBackground + (*DisappearingMode)(nil), // 48: WAE2E.DisappearingMode + (*BotAvatarMetadata)(nil), // 49: WAE2E.BotAvatarMetadata + (*BotSuggestedPromptMetadata)(nil), // 50: WAE2E.BotSuggestedPromptMetadata + (*BotMetadata)(nil), // 51: WAE2E.BotMetadata + (*MessageContextInfo)(nil), // 52: WAE2E.MessageContextInfo + (*DeviceListMetadata)(nil), // 53: WAE2E.DeviceListMetadata + (*InteractiveAnnotation)(nil), // 54: WAE2E.InteractiveAnnotation + (*Point)(nil), // 55: WAE2E.Point + (*Location)(nil), // 56: WAE2E.Location + (*TemplateButton)(nil), // 57: WAE2E.TemplateButton + (*Money)(nil), // 58: WAE2E.Money + (*ActionLink)(nil), // 59: WAE2E.ActionLink + (*GroupMention)(nil), // 60: WAE2E.GroupMention + (*MessageSecretMessage)(nil), // 61: WAE2E.MessageSecretMessage + (*MediaNotifyMessage)(nil), // 62: WAE2E.MediaNotifyMessage + (*Message_PlaceholderMessage)(nil), // 63: WAE2E.Message.PlaceholderMessage + (*Message_BCallMessage)(nil), // 64: WAE2E.Message.BCallMessage + (*Message_CallLogMessage)(nil), // 65: WAE2E.Message.CallLogMessage + (*Message_ScheduledCallEditMessage)(nil), // 66: WAE2E.Message.ScheduledCallEditMessage + (*Message_ScheduledCallCreationMessage)(nil), // 67: WAE2E.Message.ScheduledCallCreationMessage + (*Message_EventResponseMessage)(nil), // 68: WAE2E.Message.EventResponseMessage + (*Message_PinInChatMessage)(nil), // 69: WAE2E.Message.PinInChatMessage + (*Message_ButtonsResponseMessage)(nil), // 70: WAE2E.Message.ButtonsResponseMessage + (*Message_ButtonsMessage)(nil), // 71: WAE2E.Message.ButtonsMessage + (*Message_GroupInviteMessage)(nil), // 72: WAE2E.Message.GroupInviteMessage + (*Message_InteractiveResponseMessage)(nil), // 73: WAE2E.Message.InteractiveResponseMessage + (*Message_InteractiveMessage)(nil), // 74: WAE2E.Message.InteractiveMessage + (*Message_ListResponseMessage)(nil), // 75: WAE2E.Message.ListResponseMessage + (*Message_ListMessage)(nil), // 76: WAE2E.Message.ListMessage + (*Message_OrderMessage)(nil), // 77: WAE2E.Message.OrderMessage + (*Message_PaymentInviteMessage)(nil), // 78: WAE2E.Message.PaymentInviteMessage + (*Message_HighlyStructuredMessage)(nil), // 79: WAE2E.Message.HighlyStructuredMessage + (*Message_HistorySyncNotification)(nil), // 80: WAE2E.Message.HistorySyncNotification + (*Message_RequestWelcomeMessageMetadata)(nil), // 81: WAE2E.Message.RequestWelcomeMessageMetadata + (*Message_ProtocolMessage)(nil), // 82: WAE2E.Message.ProtocolMessage + (*Message_BotFeedbackMessage)(nil), // 83: WAE2E.Message.BotFeedbackMessage + (*Message_VideoMessage)(nil), // 84: WAE2E.Message.VideoMessage + (*Message_ExtendedTextMessage)(nil), // 85: WAE2E.Message.ExtendedTextMessage + (*Message_InvoiceMessage)(nil), // 86: WAE2E.Message.InvoiceMessage + (*Message_ExtendedTextMessageWithParentKey)(nil), // 87: WAE2E.Message.ExtendedTextMessageWithParentKey + (*Message_MessageHistoryBundle)(nil), // 88: WAE2E.Message.MessageHistoryBundle + (*Message_EncEventResponseMessage)(nil), // 89: WAE2E.Message.EncEventResponseMessage + (*Message_EventMessage)(nil), // 90: WAE2E.Message.EventMessage + (*Message_CommentMessage)(nil), // 91: WAE2E.Message.CommentMessage + (*Message_EncCommentMessage)(nil), // 92: WAE2E.Message.EncCommentMessage + (*Message_EncReactionMessage)(nil), // 93: WAE2E.Message.EncReactionMessage + (*Message_KeepInChatMessage)(nil), // 94: WAE2E.Message.KeepInChatMessage + (*Message_PollVoteMessage)(nil), // 95: WAE2E.Message.PollVoteMessage + (*Message_PollEncValue)(nil), // 96: WAE2E.Message.PollEncValue + (*Message_PollUpdateMessageMetadata)(nil), // 97: WAE2E.Message.PollUpdateMessageMetadata + (*Message_PollUpdateMessage)(nil), // 98: WAE2E.Message.PollUpdateMessage + (*Message_PollCreationMessage)(nil), // 99: WAE2E.Message.PollCreationMessage + (*Message_StickerSyncRMRMessage)(nil), // 100: WAE2E.Message.StickerSyncRMRMessage + (*Message_ReactionMessage)(nil), // 101: WAE2E.Message.ReactionMessage + (*Message_FutureProofMessage)(nil), // 102: WAE2E.Message.FutureProofMessage + (*Message_DeviceSentMessage)(nil), // 103: WAE2E.Message.DeviceSentMessage + (*Message_RequestPhoneNumberMessage)(nil), // 104: WAE2E.Message.RequestPhoneNumberMessage + (*Message_NewsletterAdminInviteMessage)(nil), // 105: WAE2E.Message.NewsletterAdminInviteMessage + (*Message_ProductMessage)(nil), // 106: WAE2E.Message.ProductMessage + (*Message_TemplateButtonReplyMessage)(nil), // 107: WAE2E.Message.TemplateButtonReplyMessage + (*Message_TemplateMessage)(nil), // 108: WAE2E.Message.TemplateMessage + (*Message_StickerMessage)(nil), // 109: WAE2E.Message.StickerMessage + (*Message_LiveLocationMessage)(nil), // 110: WAE2E.Message.LiveLocationMessage + (*Message_CancelPaymentRequestMessage)(nil), // 111: WAE2E.Message.CancelPaymentRequestMessage + (*Message_DeclinePaymentRequestMessage)(nil), // 112: WAE2E.Message.DeclinePaymentRequestMessage + (*Message_RequestPaymentMessage)(nil), // 113: WAE2E.Message.RequestPaymentMessage + (*Message_SendPaymentMessage)(nil), // 114: WAE2E.Message.SendPaymentMessage + (*Message_ContactsArrayMessage)(nil), // 115: WAE2E.Message.ContactsArrayMessage + (*Message_InitialSecurityNotificationSettingSync)(nil), // 116: WAE2E.Message.InitialSecurityNotificationSettingSync + (*Message_PeerDataOperationRequestResponseMessage)(nil), // 117: WAE2E.Message.PeerDataOperationRequestResponseMessage + (*Message_PeerDataOperationRequestMessage)(nil), // 118: WAE2E.Message.PeerDataOperationRequestMessage + (*Message_AppStateFatalExceptionNotification)(nil), // 119: WAE2E.Message.AppStateFatalExceptionNotification + (*Message_AppStateSyncKeyRequest)(nil), // 120: WAE2E.Message.AppStateSyncKeyRequest + (*Message_AppStateSyncKeyShare)(nil), // 121: WAE2E.Message.AppStateSyncKeyShare + (*Message_AppStateSyncKeyData)(nil), // 122: WAE2E.Message.AppStateSyncKeyData + (*Message_AppStateSyncKeyFingerprint)(nil), // 123: WAE2E.Message.AppStateSyncKeyFingerprint + (*Message_AppStateSyncKeyId)(nil), // 124: WAE2E.Message.AppStateSyncKeyId + (*Message_AppStateSyncKey)(nil), // 125: WAE2E.Message.AppStateSyncKey + (*Message_Chat)(nil), // 126: WAE2E.Message.Chat + (*Message_Call)(nil), // 127: WAE2E.Message.Call + (*Message_AudioMessage)(nil), // 128: WAE2E.Message.AudioMessage + (*Message_DocumentMessage)(nil), // 129: WAE2E.Message.DocumentMessage + (*Message_LocationMessage)(nil), // 130: WAE2E.Message.LocationMessage + (*Message_ContactMessage)(nil), // 131: WAE2E.Message.ContactMessage + (*Message_ImageMessage)(nil), // 132: WAE2E.Message.ImageMessage + (*Message_SenderKeyDistributionMessage)(nil), // 133: WAE2E.Message.SenderKeyDistributionMessage + (*Message_CallLogMessage_CallParticipant)(nil), // 134: WAE2E.Message.CallLogMessage.CallParticipant + (*Message_ButtonsMessage_Button)(nil), // 135: WAE2E.Message.ButtonsMessage.Button + (*Message_ButtonsMessage_Button_NativeFlowInfo)(nil), // 136: WAE2E.Message.ButtonsMessage.Button.NativeFlowInfo + (*Message_ButtonsMessage_Button_ButtonText)(nil), // 137: WAE2E.Message.ButtonsMessage.Button.ButtonText + (*Message_InteractiveResponseMessage_Body)(nil), // 138: WAE2E.Message.InteractiveResponseMessage.Body + (*Message_InteractiveResponseMessage_NativeFlowResponseMessage)(nil), // 139: WAE2E.Message.InteractiveResponseMessage.NativeFlowResponseMessage + (*Message_InteractiveMessage_ShopMessage)(nil), // 140: WAE2E.Message.InteractiveMessage.ShopMessage + (*Message_InteractiveMessage_CarouselMessage)(nil), // 141: WAE2E.Message.InteractiveMessage.CarouselMessage + (*Message_InteractiveMessage_NativeFlowMessage)(nil), // 142: WAE2E.Message.InteractiveMessage.NativeFlowMessage + (*Message_InteractiveMessage_CollectionMessage)(nil), // 143: WAE2E.Message.InteractiveMessage.CollectionMessage + (*Message_InteractiveMessage_Footer)(nil), // 144: WAE2E.Message.InteractiveMessage.Footer + (*Message_InteractiveMessage_Body)(nil), // 145: WAE2E.Message.InteractiveMessage.Body + (*Message_InteractiveMessage_Header)(nil), // 146: WAE2E.Message.InteractiveMessage.Header + (*Message_InteractiveMessage_NativeFlowMessage_NativeFlowButton)(nil), // 147: WAE2E.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton + (*Message_ListResponseMessage_SingleSelectReply)(nil), // 148: WAE2E.Message.ListResponseMessage.SingleSelectReply + (*Message_ListMessage_ProductListInfo)(nil), // 149: WAE2E.Message.ListMessage.ProductListInfo + (*Message_ListMessage_ProductListHeaderImage)(nil), // 150: WAE2E.Message.ListMessage.ProductListHeaderImage + (*Message_ListMessage_ProductSection)(nil), // 151: WAE2E.Message.ListMessage.ProductSection + (*Message_ListMessage_Product)(nil), // 152: WAE2E.Message.ListMessage.Product + (*Message_ListMessage_Section)(nil), // 153: WAE2E.Message.ListMessage.Section + (*Message_ListMessage_Row)(nil), // 154: WAE2E.Message.ListMessage.Row + (*Message_HighlyStructuredMessage_HSMLocalizableParameter)(nil), // 155: WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter + (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime)(nil), // 156: WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime + (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency)(nil), // 157: WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency + (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent)(nil), // 158: WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent + (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch)(nil), // 159: WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch + (*Message_PollCreationMessage_Option)(nil), // 160: WAE2E.Message.PollCreationMessage.Option + (*Message_ProductMessage_ProductSnapshot)(nil), // 161: WAE2E.Message.ProductMessage.ProductSnapshot + (*Message_ProductMessage_CatalogSnapshot)(nil), // 162: WAE2E.Message.ProductMessage.CatalogSnapshot + (*Message_TemplateMessage_HydratedFourRowTemplate)(nil), // 163: WAE2E.Message.TemplateMessage.HydratedFourRowTemplate + (*Message_TemplateMessage_FourRowTemplate)(nil), // 164: WAE2E.Message.TemplateMessage.FourRowTemplate + (*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult)(nil), // 165: WAE2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult + (*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse)(nil), // 166: WAE2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse + (*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse)(nil), // 167: WAE2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse + (*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail)(nil), // 168: WAE2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail + (*Message_PeerDataOperationRequestMessage_PlaceholderMessageResendRequest)(nil), // 169: WAE2E.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest + (*Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest)(nil), // 170: WAE2E.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest + (*Message_PeerDataOperationRequestMessage_RequestUrlPreview)(nil), // 171: WAE2E.Message.PeerDataOperationRequestMessage.RequestUrlPreview + (*Message_PeerDataOperationRequestMessage_RequestStickerReupload)(nil), // 172: WAE2E.Message.PeerDataOperationRequestMessage.RequestStickerReupload + (*ContextInfo_ForwardedNewsletterMessageInfo)(nil), // 173: WAE2E.ContextInfo.ForwardedNewsletterMessageInfo + (*ContextInfo_ExternalAdReplyInfo)(nil), // 174: WAE2E.ContextInfo.ExternalAdReplyInfo + (*ContextInfo_AdReplyInfo)(nil), // 175: WAE2E.ContextInfo.AdReplyInfo + (*ContextInfo_DataSharingContext)(nil), // 176: WAE2E.ContextInfo.DataSharingContext + (*ContextInfo_UTMInfo)(nil), // 177: WAE2E.ContextInfo.UTMInfo + (*ContextInfo_BusinessMessageForwardInfo)(nil), // 178: WAE2E.ContextInfo.BusinessMessageForwardInfo + (*HydratedTemplateButton_HydratedURLButton)(nil), // 179: WAE2E.HydratedTemplateButton.HydratedURLButton + (*HydratedTemplateButton_HydratedCallButton)(nil), // 180: WAE2E.HydratedTemplateButton.HydratedCallButton + (*HydratedTemplateButton_HydratedQuickReplyButton)(nil), // 181: WAE2E.HydratedTemplateButton.HydratedQuickReplyButton + (*PaymentBackground_MediaData)(nil), // 182: WAE2E.PaymentBackground.MediaData + (*TemplateButton_CallButton)(nil), // 183: WAE2E.TemplateButton.CallButton + (*TemplateButton_URLButton)(nil), // 184: WAE2E.TemplateButton.URLButton + (*TemplateButton_QuickReplyButton)(nil), // 185: WAE2E.TemplateButton.QuickReplyButton + (*waCommon.MessageKey)(nil), // 186: WACommon.MessageKey + (waAdv.ADVEncryptionType)(0), // 187: WAAdv.ADVEncryptionType + (waMmsRetry.MediaRetryNotification_ResultType)(0), // 188: WAMmsRetry.MediaRetryNotification.ResultType +} +var file_waE2E_WAE2E_proto_depIdxs = []int32{ + 133, // 0: WAE2E.Message.senderKeyDistributionMessage:type_name -> WAE2E.Message.SenderKeyDistributionMessage + 132, // 1: WAE2E.Message.imageMessage:type_name -> WAE2E.Message.ImageMessage + 131, // 2: WAE2E.Message.contactMessage:type_name -> WAE2E.Message.ContactMessage + 130, // 3: WAE2E.Message.locationMessage:type_name -> WAE2E.Message.LocationMessage + 85, // 4: WAE2E.Message.extendedTextMessage:type_name -> WAE2E.Message.ExtendedTextMessage + 129, // 5: WAE2E.Message.documentMessage:type_name -> WAE2E.Message.DocumentMessage + 128, // 6: WAE2E.Message.audioMessage:type_name -> WAE2E.Message.AudioMessage + 84, // 7: WAE2E.Message.videoMessage:type_name -> WAE2E.Message.VideoMessage + 127, // 8: WAE2E.Message.call:type_name -> WAE2E.Message.Call + 126, // 9: WAE2E.Message.chat:type_name -> WAE2E.Message.Chat + 82, // 10: WAE2E.Message.protocolMessage:type_name -> WAE2E.Message.ProtocolMessage + 115, // 11: WAE2E.Message.contactsArrayMessage:type_name -> WAE2E.Message.ContactsArrayMessage + 79, // 12: WAE2E.Message.highlyStructuredMessage:type_name -> WAE2E.Message.HighlyStructuredMessage + 133, // 13: WAE2E.Message.fastRatchetKeySenderKeyDistributionMessage:type_name -> WAE2E.Message.SenderKeyDistributionMessage + 114, // 14: WAE2E.Message.sendPaymentMessage:type_name -> WAE2E.Message.SendPaymentMessage + 110, // 15: WAE2E.Message.liveLocationMessage:type_name -> WAE2E.Message.LiveLocationMessage + 113, // 16: WAE2E.Message.requestPaymentMessage:type_name -> WAE2E.Message.RequestPaymentMessage + 112, // 17: WAE2E.Message.declinePaymentRequestMessage:type_name -> WAE2E.Message.DeclinePaymentRequestMessage + 111, // 18: WAE2E.Message.cancelPaymentRequestMessage:type_name -> WAE2E.Message.CancelPaymentRequestMessage + 108, // 19: WAE2E.Message.templateMessage:type_name -> WAE2E.Message.TemplateMessage + 109, // 20: WAE2E.Message.stickerMessage:type_name -> WAE2E.Message.StickerMessage + 72, // 21: WAE2E.Message.groupInviteMessage:type_name -> WAE2E.Message.GroupInviteMessage + 107, // 22: WAE2E.Message.templateButtonReplyMessage:type_name -> WAE2E.Message.TemplateButtonReplyMessage + 106, // 23: WAE2E.Message.productMessage:type_name -> WAE2E.Message.ProductMessage + 103, // 24: WAE2E.Message.deviceSentMessage:type_name -> WAE2E.Message.DeviceSentMessage + 52, // 25: WAE2E.Message.messageContextInfo:type_name -> WAE2E.MessageContextInfo + 76, // 26: WAE2E.Message.listMessage:type_name -> WAE2E.Message.ListMessage + 102, // 27: WAE2E.Message.viewOnceMessage:type_name -> WAE2E.Message.FutureProofMessage + 77, // 28: WAE2E.Message.orderMessage:type_name -> WAE2E.Message.OrderMessage + 75, // 29: WAE2E.Message.listResponseMessage:type_name -> WAE2E.Message.ListResponseMessage + 102, // 30: WAE2E.Message.ephemeralMessage:type_name -> WAE2E.Message.FutureProofMessage + 86, // 31: WAE2E.Message.invoiceMessage:type_name -> WAE2E.Message.InvoiceMessage + 71, // 32: WAE2E.Message.buttonsMessage:type_name -> WAE2E.Message.ButtonsMessage + 70, // 33: WAE2E.Message.buttonsResponseMessage:type_name -> WAE2E.Message.ButtonsResponseMessage + 78, // 34: WAE2E.Message.paymentInviteMessage:type_name -> WAE2E.Message.PaymentInviteMessage + 74, // 35: WAE2E.Message.interactiveMessage:type_name -> WAE2E.Message.InteractiveMessage + 101, // 36: WAE2E.Message.reactionMessage:type_name -> WAE2E.Message.ReactionMessage + 100, // 37: WAE2E.Message.stickerSyncRmrMessage:type_name -> WAE2E.Message.StickerSyncRMRMessage + 73, // 38: WAE2E.Message.interactiveResponseMessage:type_name -> WAE2E.Message.InteractiveResponseMessage + 99, // 39: WAE2E.Message.pollCreationMessage:type_name -> WAE2E.Message.PollCreationMessage + 98, // 40: WAE2E.Message.pollUpdateMessage:type_name -> WAE2E.Message.PollUpdateMessage + 94, // 41: WAE2E.Message.keepInChatMessage:type_name -> WAE2E.Message.KeepInChatMessage + 102, // 42: WAE2E.Message.documentWithCaptionMessage:type_name -> WAE2E.Message.FutureProofMessage + 104, // 43: WAE2E.Message.requestPhoneNumberMessage:type_name -> WAE2E.Message.RequestPhoneNumberMessage + 102, // 44: WAE2E.Message.viewOnceMessageV2:type_name -> WAE2E.Message.FutureProofMessage + 93, // 45: WAE2E.Message.encReactionMessage:type_name -> WAE2E.Message.EncReactionMessage + 102, // 46: WAE2E.Message.editedMessage:type_name -> WAE2E.Message.FutureProofMessage + 102, // 47: WAE2E.Message.viewOnceMessageV2Extension:type_name -> WAE2E.Message.FutureProofMessage + 99, // 48: WAE2E.Message.pollCreationMessageV2:type_name -> WAE2E.Message.PollCreationMessage + 67, // 49: WAE2E.Message.scheduledCallCreationMessage:type_name -> WAE2E.Message.ScheduledCallCreationMessage + 102, // 50: WAE2E.Message.groupMentionedMessage:type_name -> WAE2E.Message.FutureProofMessage + 69, // 51: WAE2E.Message.pinInChatMessage:type_name -> WAE2E.Message.PinInChatMessage + 99, // 52: WAE2E.Message.pollCreationMessageV3:type_name -> WAE2E.Message.PollCreationMessage + 66, // 53: WAE2E.Message.scheduledCallEditMessage:type_name -> WAE2E.Message.ScheduledCallEditMessage + 84, // 54: WAE2E.Message.ptvMessage:type_name -> WAE2E.Message.VideoMessage + 102, // 55: WAE2E.Message.botInvokeMessage:type_name -> WAE2E.Message.FutureProofMessage + 65, // 56: WAE2E.Message.callLogMesssage:type_name -> WAE2E.Message.CallLogMessage + 88, // 57: WAE2E.Message.messageHistoryBundle:type_name -> WAE2E.Message.MessageHistoryBundle + 92, // 58: WAE2E.Message.encCommentMessage:type_name -> WAE2E.Message.EncCommentMessage + 64, // 59: WAE2E.Message.bcallMessage:type_name -> WAE2E.Message.BCallMessage + 102, // 60: WAE2E.Message.lottieStickerMessage:type_name -> WAE2E.Message.FutureProofMessage + 90, // 61: WAE2E.Message.eventMessage:type_name -> WAE2E.Message.EventMessage + 89, // 62: WAE2E.Message.encEventResponseMessage:type_name -> WAE2E.Message.EncEventResponseMessage + 91, // 63: WAE2E.Message.commentMessage:type_name -> WAE2E.Message.CommentMessage + 105, // 64: WAE2E.Message.newsletterAdminInviteMessage:type_name -> WAE2E.Message.NewsletterAdminInviteMessage + 87, // 65: WAE2E.Message.extendedTextMessageWithParentKey:type_name -> WAE2E.Message.ExtendedTextMessageWithParentKey + 63, // 66: WAE2E.Message.placeholderMessage:type_name -> WAE2E.Message.PlaceholderMessage + 43, // 67: WAE2E.ContextInfo.quotedMessage:type_name -> WAE2E.Message + 175, // 68: WAE2E.ContextInfo.quotedAd:type_name -> WAE2E.ContextInfo.AdReplyInfo + 186, // 69: WAE2E.ContextInfo.placeholderKey:type_name -> WACommon.MessageKey + 174, // 70: WAE2E.ContextInfo.externalAdReply:type_name -> WAE2E.ContextInfo.ExternalAdReplyInfo + 48, // 71: WAE2E.ContextInfo.disappearingMode:type_name -> WAE2E.DisappearingMode + 59, // 72: WAE2E.ContextInfo.actionLink:type_name -> WAE2E.ActionLink + 60, // 73: WAE2E.ContextInfo.groupMentions:type_name -> WAE2E.GroupMention + 177, // 74: WAE2E.ContextInfo.utm:type_name -> WAE2E.ContextInfo.UTMInfo + 173, // 75: WAE2E.ContextInfo.forwardedNewsletterMessageInfo:type_name -> WAE2E.ContextInfo.ForwardedNewsletterMessageInfo + 178, // 76: WAE2E.ContextInfo.businessMessageForwardInfo:type_name -> WAE2E.ContextInfo.BusinessMessageForwardInfo + 176, // 77: WAE2E.ContextInfo.dataSharingContext:type_name -> WAE2E.ContextInfo.DataSharingContext + 38, // 78: WAE2E.BotPluginMetadata.provider:type_name -> WAE2E.BotPluginMetadata.SearchProvider + 37, // 79: WAE2E.BotPluginMetadata.pluginType:type_name -> WAE2E.BotPluginMetadata.PluginType + 181, // 80: WAE2E.HydratedTemplateButton.quickReplyButton:type_name -> WAE2E.HydratedTemplateButton.HydratedQuickReplyButton + 179, // 81: WAE2E.HydratedTemplateButton.urlButton:type_name -> WAE2E.HydratedTemplateButton.HydratedURLButton + 180, // 82: WAE2E.HydratedTemplateButton.callButton:type_name -> WAE2E.HydratedTemplateButton.HydratedCallButton + 182, // 83: WAE2E.PaymentBackground.mediaData:type_name -> WAE2E.PaymentBackground.MediaData + 40, // 84: WAE2E.PaymentBackground.type:type_name -> WAE2E.PaymentBackground.Type + 42, // 85: WAE2E.DisappearingMode.initiator:type_name -> WAE2E.DisappearingMode.Initiator + 41, // 86: WAE2E.DisappearingMode.trigger:type_name -> WAE2E.DisappearingMode.Trigger + 49, // 87: WAE2E.BotMetadata.avatarMetadata:type_name -> WAE2E.BotAvatarMetadata + 45, // 88: WAE2E.BotMetadata.pluginMetadata:type_name -> WAE2E.BotPluginMetadata + 50, // 89: WAE2E.BotMetadata.suggestedPromptMetadata:type_name -> WAE2E.BotSuggestedPromptMetadata + 53, // 90: WAE2E.MessageContextInfo.deviceListMetadata:type_name -> WAE2E.DeviceListMetadata + 51, // 91: WAE2E.MessageContextInfo.botMetadata:type_name -> WAE2E.BotMetadata + 187, // 92: WAE2E.DeviceListMetadata.senderAccountType:type_name -> WAAdv.ADVEncryptionType + 187, // 93: WAE2E.DeviceListMetadata.receiverAccountType:type_name -> WAAdv.ADVEncryptionType + 56, // 94: WAE2E.InteractiveAnnotation.location:type_name -> WAE2E.Location + 173, // 95: WAE2E.InteractiveAnnotation.newsletter:type_name -> WAE2E.ContextInfo.ForwardedNewsletterMessageInfo + 55, // 96: WAE2E.InteractiveAnnotation.polygonVertices:type_name -> WAE2E.Point + 185, // 97: WAE2E.TemplateButton.quickReplyButton:type_name -> WAE2E.TemplateButton.QuickReplyButton + 184, // 98: WAE2E.TemplateButton.urlButton:type_name -> WAE2E.TemplateButton.URLButton + 183, // 99: WAE2E.TemplateButton.callButton:type_name -> WAE2E.TemplateButton.CallButton + 2, // 100: WAE2E.Message.PlaceholderMessage.type:type_name -> WAE2E.Message.PlaceholderMessage.PlaceholderType + 3, // 101: WAE2E.Message.BCallMessage.mediaType:type_name -> WAE2E.Message.BCallMessage.MediaType + 4, // 102: WAE2E.Message.CallLogMessage.callOutcome:type_name -> WAE2E.Message.CallLogMessage.CallOutcome + 5, // 103: WAE2E.Message.CallLogMessage.callType:type_name -> WAE2E.Message.CallLogMessage.CallType + 134, // 104: WAE2E.Message.CallLogMessage.participants:type_name -> WAE2E.Message.CallLogMessage.CallParticipant + 186, // 105: WAE2E.Message.ScheduledCallEditMessage.key:type_name -> WACommon.MessageKey + 6, // 106: WAE2E.Message.ScheduledCallEditMessage.editType:type_name -> WAE2E.Message.ScheduledCallEditMessage.EditType + 7, // 107: WAE2E.Message.ScheduledCallCreationMessage.callType:type_name -> WAE2E.Message.ScheduledCallCreationMessage.CallType + 8, // 108: WAE2E.Message.EventResponseMessage.response:type_name -> WAE2E.Message.EventResponseMessage.EventResponseType + 186, // 109: WAE2E.Message.PinInChatMessage.key:type_name -> WACommon.MessageKey + 9, // 110: WAE2E.Message.PinInChatMessage.type:type_name -> WAE2E.Message.PinInChatMessage.Type + 44, // 111: WAE2E.Message.ButtonsResponseMessage.contextInfo:type_name -> WAE2E.ContextInfo + 10, // 112: WAE2E.Message.ButtonsResponseMessage.type:type_name -> WAE2E.Message.ButtonsResponseMessage.Type + 129, // 113: WAE2E.Message.ButtonsMessage.documentMessage:type_name -> WAE2E.Message.DocumentMessage + 132, // 114: WAE2E.Message.ButtonsMessage.imageMessage:type_name -> WAE2E.Message.ImageMessage + 84, // 115: WAE2E.Message.ButtonsMessage.videoMessage:type_name -> WAE2E.Message.VideoMessage + 130, // 116: WAE2E.Message.ButtonsMessage.locationMessage:type_name -> WAE2E.Message.LocationMessage + 44, // 117: WAE2E.Message.ButtonsMessage.contextInfo:type_name -> WAE2E.ContextInfo + 135, // 118: WAE2E.Message.ButtonsMessage.buttons:type_name -> WAE2E.Message.ButtonsMessage.Button + 11, // 119: WAE2E.Message.ButtonsMessage.headerType:type_name -> WAE2E.Message.ButtonsMessage.HeaderType + 44, // 120: WAE2E.Message.GroupInviteMessage.contextInfo:type_name -> WAE2E.ContextInfo + 13, // 121: WAE2E.Message.GroupInviteMessage.groupType:type_name -> WAE2E.Message.GroupInviteMessage.GroupType + 139, // 122: WAE2E.Message.InteractiveResponseMessage.nativeFlowResponseMessage:type_name -> WAE2E.Message.InteractiveResponseMessage.NativeFlowResponseMessage + 138, // 123: WAE2E.Message.InteractiveResponseMessage.body:type_name -> WAE2E.Message.InteractiveResponseMessage.Body + 44, // 124: WAE2E.Message.InteractiveResponseMessage.contextInfo:type_name -> WAE2E.ContextInfo + 140, // 125: WAE2E.Message.InteractiveMessage.shopStorefrontMessage:type_name -> WAE2E.Message.InteractiveMessage.ShopMessage + 143, // 126: WAE2E.Message.InteractiveMessage.collectionMessage:type_name -> WAE2E.Message.InteractiveMessage.CollectionMessage + 142, // 127: WAE2E.Message.InteractiveMessage.nativeFlowMessage:type_name -> WAE2E.Message.InteractiveMessage.NativeFlowMessage + 141, // 128: WAE2E.Message.InteractiveMessage.carouselMessage:type_name -> WAE2E.Message.InteractiveMessage.CarouselMessage + 146, // 129: WAE2E.Message.InteractiveMessage.header:type_name -> WAE2E.Message.InteractiveMessage.Header + 145, // 130: WAE2E.Message.InteractiveMessage.body:type_name -> WAE2E.Message.InteractiveMessage.Body + 144, // 131: WAE2E.Message.InteractiveMessage.footer:type_name -> WAE2E.Message.InteractiveMessage.Footer + 44, // 132: WAE2E.Message.InteractiveMessage.contextInfo:type_name -> WAE2E.ContextInfo + 16, // 133: WAE2E.Message.ListResponseMessage.listType:type_name -> WAE2E.Message.ListResponseMessage.ListType + 148, // 134: WAE2E.Message.ListResponseMessage.singleSelectReply:type_name -> WAE2E.Message.ListResponseMessage.SingleSelectReply + 44, // 135: WAE2E.Message.ListResponseMessage.contextInfo:type_name -> WAE2E.ContextInfo + 17, // 136: WAE2E.Message.ListMessage.listType:type_name -> WAE2E.Message.ListMessage.ListType + 153, // 137: WAE2E.Message.ListMessage.sections:type_name -> WAE2E.Message.ListMessage.Section + 149, // 138: WAE2E.Message.ListMessage.productListInfo:type_name -> WAE2E.Message.ListMessage.ProductListInfo + 44, // 139: WAE2E.Message.ListMessage.contextInfo:type_name -> WAE2E.ContextInfo + 19, // 140: WAE2E.Message.OrderMessage.status:type_name -> WAE2E.Message.OrderMessage.OrderStatus + 18, // 141: WAE2E.Message.OrderMessage.surface:type_name -> WAE2E.Message.OrderMessage.OrderSurface + 44, // 142: WAE2E.Message.OrderMessage.contextInfo:type_name -> WAE2E.ContextInfo + 186, // 143: WAE2E.Message.OrderMessage.orderRequestMessageID:type_name -> WACommon.MessageKey + 20, // 144: WAE2E.Message.PaymentInviteMessage.serviceType:type_name -> WAE2E.Message.PaymentInviteMessage.ServiceType + 155, // 145: WAE2E.Message.HighlyStructuredMessage.localizableParams:type_name -> WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter + 108, // 146: WAE2E.Message.HighlyStructuredMessage.hydratedHsm:type_name -> WAE2E.Message.TemplateMessage + 23, // 147: WAE2E.Message.HistorySyncNotification.syncType:type_name -> WAE2E.Message.HistorySyncNotification.HistorySyncType + 24, // 148: WAE2E.Message.RequestWelcomeMessageMetadata.localChatState:type_name -> WAE2E.Message.RequestWelcomeMessageMetadata.LocalChatState + 186, // 149: WAE2E.Message.ProtocolMessage.key:type_name -> WACommon.MessageKey + 25, // 150: WAE2E.Message.ProtocolMessage.type:type_name -> WAE2E.Message.ProtocolMessage.Type + 80, // 151: WAE2E.Message.ProtocolMessage.historySyncNotification:type_name -> WAE2E.Message.HistorySyncNotification + 121, // 152: WAE2E.Message.ProtocolMessage.appStateSyncKeyShare:type_name -> WAE2E.Message.AppStateSyncKeyShare + 120, // 153: WAE2E.Message.ProtocolMessage.appStateSyncKeyRequest:type_name -> WAE2E.Message.AppStateSyncKeyRequest + 116, // 154: WAE2E.Message.ProtocolMessage.initialSecurityNotificationSettingSync:type_name -> WAE2E.Message.InitialSecurityNotificationSettingSync + 119, // 155: WAE2E.Message.ProtocolMessage.appStateFatalExceptionNotification:type_name -> WAE2E.Message.AppStateFatalExceptionNotification + 48, // 156: WAE2E.Message.ProtocolMessage.disappearingMode:type_name -> WAE2E.DisappearingMode + 43, // 157: WAE2E.Message.ProtocolMessage.editedMessage:type_name -> WAE2E.Message + 118, // 158: WAE2E.Message.ProtocolMessage.peerDataOperationRequestMessage:type_name -> WAE2E.Message.PeerDataOperationRequestMessage + 117, // 159: WAE2E.Message.ProtocolMessage.peerDataOperationRequestResponseMessage:type_name -> WAE2E.Message.PeerDataOperationRequestResponseMessage + 83, // 160: WAE2E.Message.ProtocolMessage.botFeedbackMessage:type_name -> WAE2E.Message.BotFeedbackMessage + 81, // 161: WAE2E.Message.ProtocolMessage.requestWelcomeMessageMetadata:type_name -> WAE2E.Message.RequestWelcomeMessageMetadata + 62, // 162: WAE2E.Message.ProtocolMessage.mediaNotifyMessage:type_name -> WAE2E.MediaNotifyMessage + 186, // 163: WAE2E.Message.BotFeedbackMessage.messageKey:type_name -> WACommon.MessageKey + 28, // 164: WAE2E.Message.BotFeedbackMessage.kind:type_name -> WAE2E.Message.BotFeedbackMessage.BotFeedbackKind + 54, // 165: WAE2E.Message.VideoMessage.interactiveAnnotations:type_name -> WAE2E.InteractiveAnnotation + 44, // 166: WAE2E.Message.VideoMessage.contextInfo:type_name -> WAE2E.ContextInfo + 29, // 167: WAE2E.Message.VideoMessage.gifAttribution:type_name -> WAE2E.Message.VideoMessage.Attribution + 54, // 168: WAE2E.Message.VideoMessage.annotations:type_name -> WAE2E.InteractiveAnnotation + 32, // 169: WAE2E.Message.ExtendedTextMessage.font:type_name -> WAE2E.Message.ExtendedTextMessage.FontType + 31, // 170: WAE2E.Message.ExtendedTextMessage.previewType:type_name -> WAE2E.Message.ExtendedTextMessage.PreviewType + 44, // 171: WAE2E.Message.ExtendedTextMessage.contextInfo:type_name -> WAE2E.ContextInfo + 30, // 172: WAE2E.Message.ExtendedTextMessage.inviteLinkGroupType:type_name -> WAE2E.Message.ExtendedTextMessage.InviteLinkGroupType + 30, // 173: WAE2E.Message.ExtendedTextMessage.inviteLinkGroupTypeV2:type_name -> WAE2E.Message.ExtendedTextMessage.InviteLinkGroupType + 33, // 174: WAE2E.Message.InvoiceMessage.attachmentType:type_name -> WAE2E.Message.InvoiceMessage.AttachmentType + 186, // 175: WAE2E.Message.ExtendedTextMessageWithParentKey.key:type_name -> WACommon.MessageKey + 85, // 176: WAE2E.Message.ExtendedTextMessageWithParentKey.linkMessage:type_name -> WAE2E.Message.ExtendedTextMessage + 44, // 177: WAE2E.Message.MessageHistoryBundle.contextInfo:type_name -> WAE2E.ContextInfo + 186, // 178: WAE2E.Message.EncEventResponseMessage.eventCreationMessageKey:type_name -> WACommon.MessageKey + 44, // 179: WAE2E.Message.EventMessage.contextInfo:type_name -> WAE2E.ContextInfo + 130, // 180: WAE2E.Message.EventMessage.location:type_name -> WAE2E.Message.LocationMessage + 43, // 181: WAE2E.Message.CommentMessage.message:type_name -> WAE2E.Message + 186, // 182: WAE2E.Message.CommentMessage.targetMessageKey:type_name -> WACommon.MessageKey + 186, // 183: WAE2E.Message.EncCommentMessage.targetMessageKey:type_name -> WACommon.MessageKey + 186, // 184: WAE2E.Message.EncReactionMessage.targetMessageKey:type_name -> WACommon.MessageKey + 186, // 185: WAE2E.Message.KeepInChatMessage.key:type_name -> WACommon.MessageKey + 0, // 186: WAE2E.Message.KeepInChatMessage.keepType:type_name -> WAE2E.KeepType + 186, // 187: WAE2E.Message.PollUpdateMessage.pollCreationMessageKey:type_name -> WACommon.MessageKey + 96, // 188: WAE2E.Message.PollUpdateMessage.vote:type_name -> WAE2E.Message.PollEncValue + 97, // 189: WAE2E.Message.PollUpdateMessage.metadata:type_name -> WAE2E.Message.PollUpdateMessageMetadata + 160, // 190: WAE2E.Message.PollCreationMessage.options:type_name -> WAE2E.Message.PollCreationMessage.Option + 44, // 191: WAE2E.Message.PollCreationMessage.contextInfo:type_name -> WAE2E.ContextInfo + 186, // 192: WAE2E.Message.ReactionMessage.key:type_name -> WACommon.MessageKey + 43, // 193: WAE2E.Message.FutureProofMessage.message:type_name -> WAE2E.Message + 43, // 194: WAE2E.Message.DeviceSentMessage.message:type_name -> WAE2E.Message + 44, // 195: WAE2E.Message.RequestPhoneNumberMessage.contextInfo:type_name -> WAE2E.ContextInfo + 161, // 196: WAE2E.Message.ProductMessage.product:type_name -> WAE2E.Message.ProductMessage.ProductSnapshot + 162, // 197: WAE2E.Message.ProductMessage.catalog:type_name -> WAE2E.Message.ProductMessage.CatalogSnapshot + 44, // 198: WAE2E.Message.ProductMessage.contextInfo:type_name -> WAE2E.ContextInfo + 44, // 199: WAE2E.Message.TemplateButtonReplyMessage.contextInfo:type_name -> WAE2E.ContextInfo + 164, // 200: WAE2E.Message.TemplateMessage.fourRowTemplate:type_name -> WAE2E.Message.TemplateMessage.FourRowTemplate + 163, // 201: WAE2E.Message.TemplateMessage.hydratedFourRowTemplate:type_name -> WAE2E.Message.TemplateMessage.HydratedFourRowTemplate + 74, // 202: WAE2E.Message.TemplateMessage.interactiveMessageTemplate:type_name -> WAE2E.Message.InteractiveMessage + 44, // 203: WAE2E.Message.TemplateMessage.contextInfo:type_name -> WAE2E.ContextInfo + 163, // 204: WAE2E.Message.TemplateMessage.hydratedTemplate:type_name -> WAE2E.Message.TemplateMessage.HydratedFourRowTemplate + 44, // 205: WAE2E.Message.StickerMessage.contextInfo:type_name -> WAE2E.ContextInfo + 44, // 206: WAE2E.Message.LiveLocationMessage.contextInfo:type_name -> WAE2E.ContextInfo + 186, // 207: WAE2E.Message.CancelPaymentRequestMessage.key:type_name -> WACommon.MessageKey + 186, // 208: WAE2E.Message.DeclinePaymentRequestMessage.key:type_name -> WACommon.MessageKey + 43, // 209: WAE2E.Message.RequestPaymentMessage.noteMessage:type_name -> WAE2E.Message + 58, // 210: WAE2E.Message.RequestPaymentMessage.amount:type_name -> WAE2E.Money + 47, // 211: WAE2E.Message.RequestPaymentMessage.background:type_name -> WAE2E.PaymentBackground + 43, // 212: WAE2E.Message.SendPaymentMessage.noteMessage:type_name -> WAE2E.Message + 186, // 213: WAE2E.Message.SendPaymentMessage.requestMessageKey:type_name -> WACommon.MessageKey + 47, // 214: WAE2E.Message.SendPaymentMessage.background:type_name -> WAE2E.PaymentBackground + 131, // 215: WAE2E.Message.ContactsArrayMessage.contacts:type_name -> WAE2E.Message.ContactMessage + 44, // 216: WAE2E.Message.ContactsArrayMessage.contextInfo:type_name -> WAE2E.ContextInfo + 1, // 217: WAE2E.Message.PeerDataOperationRequestResponseMessage.peerDataOperationRequestType:type_name -> WAE2E.Message.PeerDataOperationRequestType + 165, // 218: WAE2E.Message.PeerDataOperationRequestResponseMessage.peerDataOperationResult:type_name -> WAE2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult + 1, // 219: WAE2E.Message.PeerDataOperationRequestMessage.peerDataOperationRequestType:type_name -> WAE2E.Message.PeerDataOperationRequestType + 172, // 220: WAE2E.Message.PeerDataOperationRequestMessage.requestStickerReupload:type_name -> WAE2E.Message.PeerDataOperationRequestMessage.RequestStickerReupload + 171, // 221: WAE2E.Message.PeerDataOperationRequestMessage.requestURLPreview:type_name -> WAE2E.Message.PeerDataOperationRequestMessage.RequestUrlPreview + 170, // 222: WAE2E.Message.PeerDataOperationRequestMessage.historySyncOnDemandRequest:type_name -> WAE2E.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest + 169, // 223: WAE2E.Message.PeerDataOperationRequestMessage.placeholderMessageResendRequest:type_name -> WAE2E.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest + 124, // 224: WAE2E.Message.AppStateSyncKeyRequest.keyIDs:type_name -> WAE2E.Message.AppStateSyncKeyId + 125, // 225: WAE2E.Message.AppStateSyncKeyShare.keys:type_name -> WAE2E.Message.AppStateSyncKey + 123, // 226: WAE2E.Message.AppStateSyncKeyData.fingerprint:type_name -> WAE2E.Message.AppStateSyncKeyFingerprint + 124, // 227: WAE2E.Message.AppStateSyncKey.keyID:type_name -> WAE2E.Message.AppStateSyncKeyId + 122, // 228: WAE2E.Message.AppStateSyncKey.keyData:type_name -> WAE2E.Message.AppStateSyncKeyData + 44, // 229: WAE2E.Message.AudioMessage.contextInfo:type_name -> WAE2E.ContextInfo + 44, // 230: WAE2E.Message.DocumentMessage.contextInfo:type_name -> WAE2E.ContextInfo + 44, // 231: WAE2E.Message.LocationMessage.contextInfo:type_name -> WAE2E.ContextInfo + 44, // 232: WAE2E.Message.ContactMessage.contextInfo:type_name -> WAE2E.ContextInfo + 54, // 233: WAE2E.Message.ImageMessage.interactiveAnnotations:type_name -> WAE2E.InteractiveAnnotation + 44, // 234: WAE2E.Message.ImageMessage.contextInfo:type_name -> WAE2E.ContextInfo + 54, // 235: WAE2E.Message.ImageMessage.annotations:type_name -> WAE2E.InteractiveAnnotation + 4, // 236: WAE2E.Message.CallLogMessage.CallParticipant.callOutcome:type_name -> WAE2E.Message.CallLogMessage.CallOutcome + 137, // 237: WAE2E.Message.ButtonsMessage.Button.buttonText:type_name -> WAE2E.Message.ButtonsMessage.Button.ButtonText + 12, // 238: WAE2E.Message.ButtonsMessage.Button.type:type_name -> WAE2E.Message.ButtonsMessage.Button.Type + 136, // 239: WAE2E.Message.ButtonsMessage.Button.nativeFlowInfo:type_name -> WAE2E.Message.ButtonsMessage.Button.NativeFlowInfo + 14, // 240: WAE2E.Message.InteractiveResponseMessage.Body.format:type_name -> WAE2E.Message.InteractiveResponseMessage.Body.Format + 15, // 241: WAE2E.Message.InteractiveMessage.ShopMessage.surface:type_name -> WAE2E.Message.InteractiveMessage.ShopMessage.Surface + 74, // 242: WAE2E.Message.InteractiveMessage.CarouselMessage.cards:type_name -> WAE2E.Message.InteractiveMessage + 147, // 243: WAE2E.Message.InteractiveMessage.NativeFlowMessage.buttons:type_name -> WAE2E.Message.InteractiveMessage.NativeFlowMessage.NativeFlowButton + 129, // 244: WAE2E.Message.InteractiveMessage.Header.documentMessage:type_name -> WAE2E.Message.DocumentMessage + 132, // 245: WAE2E.Message.InteractiveMessage.Header.imageMessage:type_name -> WAE2E.Message.ImageMessage + 84, // 246: WAE2E.Message.InteractiveMessage.Header.videoMessage:type_name -> WAE2E.Message.VideoMessage + 130, // 247: WAE2E.Message.InteractiveMessage.Header.locationMessage:type_name -> WAE2E.Message.LocationMessage + 151, // 248: WAE2E.Message.ListMessage.ProductListInfo.productSections:type_name -> WAE2E.Message.ListMessage.ProductSection + 150, // 249: WAE2E.Message.ListMessage.ProductListInfo.headerImage:type_name -> WAE2E.Message.ListMessage.ProductListHeaderImage + 152, // 250: WAE2E.Message.ListMessage.ProductSection.products:type_name -> WAE2E.Message.ListMessage.Product + 154, // 251: WAE2E.Message.ListMessage.Section.rows:type_name -> WAE2E.Message.ListMessage.Row + 157, // 252: WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.currency:type_name -> WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency + 156, // 253: WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.dateTime:type_name -> WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime + 158, // 254: WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.component:type_name -> WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent + 159, // 255: WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.unixEpoch:type_name -> WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch + 22, // 256: WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.dayOfWeek:type_name -> WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType + 21, // 257: WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.calendar:type_name -> WAE2E.Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType + 132, // 258: WAE2E.Message.ProductMessage.ProductSnapshot.productImage:type_name -> WAE2E.Message.ImageMessage + 132, // 259: WAE2E.Message.ProductMessage.CatalogSnapshot.catalogImage:type_name -> WAE2E.Message.ImageMessage + 129, // 260: WAE2E.Message.TemplateMessage.HydratedFourRowTemplate.documentMessage:type_name -> WAE2E.Message.DocumentMessage + 132, // 261: WAE2E.Message.TemplateMessage.HydratedFourRowTemplate.imageMessage:type_name -> WAE2E.Message.ImageMessage + 84, // 262: WAE2E.Message.TemplateMessage.HydratedFourRowTemplate.videoMessage:type_name -> WAE2E.Message.VideoMessage + 130, // 263: WAE2E.Message.TemplateMessage.HydratedFourRowTemplate.locationMessage:type_name -> WAE2E.Message.LocationMessage + 46, // 264: WAE2E.Message.TemplateMessage.HydratedFourRowTemplate.hydratedButtons:type_name -> WAE2E.HydratedTemplateButton + 129, // 265: WAE2E.Message.TemplateMessage.FourRowTemplate.documentMessage:type_name -> WAE2E.Message.DocumentMessage + 79, // 266: WAE2E.Message.TemplateMessage.FourRowTemplate.highlyStructuredMessage:type_name -> WAE2E.Message.HighlyStructuredMessage + 132, // 267: WAE2E.Message.TemplateMessage.FourRowTemplate.imageMessage:type_name -> WAE2E.Message.ImageMessage + 84, // 268: WAE2E.Message.TemplateMessage.FourRowTemplate.videoMessage:type_name -> WAE2E.Message.VideoMessage + 130, // 269: WAE2E.Message.TemplateMessage.FourRowTemplate.locationMessage:type_name -> WAE2E.Message.LocationMessage + 79, // 270: WAE2E.Message.TemplateMessage.FourRowTemplate.content:type_name -> WAE2E.Message.HighlyStructuredMessage + 79, // 271: WAE2E.Message.TemplateMessage.FourRowTemplate.footer:type_name -> WAE2E.Message.HighlyStructuredMessage + 57, // 272: WAE2E.Message.TemplateMessage.FourRowTemplate.buttons:type_name -> WAE2E.TemplateButton + 188, // 273: WAE2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.mediaUploadResult:type_name -> WAMmsRetry.MediaRetryNotification.ResultType + 109, // 274: WAE2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.stickerMessage:type_name -> WAE2E.Message.StickerMessage + 167, // 275: WAE2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.linkPreviewResponse:type_name -> WAE2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse + 166, // 276: WAE2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.placeholderMessageResendResponse:type_name -> WAE2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse + 168, // 277: WAE2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.hqThumbnail:type_name -> WAE2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail + 186, // 278: WAE2E.Message.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest.messageKey:type_name -> WACommon.MessageKey + 34, // 279: WAE2E.ContextInfo.ForwardedNewsletterMessageInfo.contentType:type_name -> WAE2E.ContextInfo.ForwardedNewsletterMessageInfo.ContentType + 35, // 280: WAE2E.ContextInfo.ExternalAdReplyInfo.mediaType:type_name -> WAE2E.ContextInfo.ExternalAdReplyInfo.MediaType + 36, // 281: WAE2E.ContextInfo.AdReplyInfo.mediaType:type_name -> WAE2E.ContextInfo.AdReplyInfo.MediaType + 39, // 282: WAE2E.HydratedTemplateButton.HydratedURLButton.webviewPresentation:type_name -> WAE2E.HydratedTemplateButton.HydratedURLButton.WebviewPresentationType + 79, // 283: WAE2E.TemplateButton.CallButton.displayText:type_name -> WAE2E.Message.HighlyStructuredMessage + 79, // 284: WAE2E.TemplateButton.CallButton.phoneNumber:type_name -> WAE2E.Message.HighlyStructuredMessage + 79, // 285: WAE2E.TemplateButton.URLButton.displayText:type_name -> WAE2E.Message.HighlyStructuredMessage + 79, // 286: WAE2E.TemplateButton.URLButton.URL:type_name -> WAE2E.Message.HighlyStructuredMessage + 79, // 287: WAE2E.TemplateButton.QuickReplyButton.displayText:type_name -> WAE2E.Message.HighlyStructuredMessage + 288, // [288:288] is the sub-list for method output_type + 288, // [288:288] is the sub-list for method input_type + 288, // [288:288] is the sub-list for extension type_name + 288, // [288:288] is the sub-list for extension extendee + 0, // [0:288] is the sub-list for field type_name +} + +func init() { file_waE2E_WAE2E_proto_init() } +func file_waE2E_WAE2E_proto_init() { + if File_waE2E_WAE2E_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waE2E_WAE2E_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BotPluginMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HydratedTemplateButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaymentBackground); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisappearingMode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BotAvatarMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BotSuggestedPromptMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BotMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageContextInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceListMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Point); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Location); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TemplateButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Money); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ActionLink); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GroupMention); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageSecretMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MediaNotifyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PlaceholderMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_BCallMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_CallLogMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ScheduledCallEditMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ScheduledCallCreationMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_EventResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PinInChatMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ButtonsResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ButtonsMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_GroupInviteMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_InteractiveResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_InteractiveMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ListResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ListMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_OrderMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PaymentInviteMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_HighlyStructuredMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_HistorySyncNotification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_RequestWelcomeMessageMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ProtocolMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_BotFeedbackMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_VideoMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ExtendedTextMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_InvoiceMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ExtendedTextMessageWithParentKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_MessageHistoryBundle); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_EncEventResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_EventMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_CommentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_EncCommentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_EncReactionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_KeepInChatMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PollVoteMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PollEncValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PollUpdateMessageMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PollUpdateMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PollCreationMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_StickerSyncRMRMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ReactionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_FutureProofMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_DeviceSentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_RequestPhoneNumberMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_NewsletterAdminInviteMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ProductMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_TemplateButtonReplyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_TemplateMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_StickerMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_LiveLocationMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_CancelPaymentRequestMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_DeclinePaymentRequestMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_RequestPaymentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_SendPaymentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ContactsArrayMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_InitialSecurityNotificationSettingSync); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PeerDataOperationRequestResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PeerDataOperationRequestMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_AppStateFatalExceptionNotification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_AppStateSyncKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_AppStateSyncKeyShare); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_AppStateSyncKeyData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_AppStateSyncKeyFingerprint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_AppStateSyncKeyId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_AppStateSyncKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_Chat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_Call); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_AudioMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_DocumentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_LocationMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ContactMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ImageMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_SenderKeyDistributionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_CallLogMessage_CallParticipant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ButtonsMessage_Button); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ButtonsMessage_Button_NativeFlowInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ButtonsMessage_Button_ButtonText); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_InteractiveResponseMessage_Body); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_InteractiveResponseMessage_NativeFlowResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_InteractiveMessage_ShopMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_InteractiveMessage_CarouselMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_InteractiveMessage_NativeFlowMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_InteractiveMessage_CollectionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_InteractiveMessage_Footer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_InteractiveMessage_Body); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_InteractiveMessage_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_InteractiveMessage_NativeFlowMessage_NativeFlowButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ListResponseMessage_SingleSelectReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ListMessage_ProductListInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ListMessage_ProductListHeaderImage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ListMessage_ProductSection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ListMessage_Product); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ListMessage_Section); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ListMessage_Row); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_HighlyStructuredMessage_HSMLocalizableParameter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PollCreationMessage_Option); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ProductMessage_ProductSnapshot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_ProductMessage_CatalogSnapshot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_TemplateMessage_HydratedFourRowTemplate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_TemplateMessage_FourRowTemplate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PeerDataOperationRequestMessage_PlaceholderMessageResendRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PeerDataOperationRequestMessage_HistorySyncOnDemandRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PeerDataOperationRequestMessage_RequestUrlPreview); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Message_PeerDataOperationRequestMessage_RequestStickerReupload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_ForwardedNewsletterMessageInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_ExternalAdReplyInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_AdReplyInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_DataSharingContext); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_UTMInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContextInfo_BusinessMessageForwardInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HydratedTemplateButton_HydratedURLButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HydratedTemplateButton_HydratedCallButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HydratedTemplateButton_HydratedQuickReplyButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaymentBackground_MediaData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TemplateButton_CallButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TemplateButton_URLButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waE2E_WAE2E_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TemplateButton_QuickReplyButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_waE2E_WAE2E_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*HydratedTemplateButton_QuickReplyButton)(nil), + (*HydratedTemplateButton_UrlButton)(nil), + (*HydratedTemplateButton_CallButton)(nil), + } + file_waE2E_WAE2E_proto_msgTypes[11].OneofWrappers = []interface{}{ + (*InteractiveAnnotation_Location)(nil), + (*InteractiveAnnotation_Newsletter)(nil), + } + file_waE2E_WAE2E_proto_msgTypes[14].OneofWrappers = []interface{}{ + (*TemplateButton_QuickReplyButton_)(nil), + (*TemplateButton_UrlButton)(nil), + (*TemplateButton_CallButton_)(nil), + } + file_waE2E_WAE2E_proto_msgTypes[27].OneofWrappers = []interface{}{ + (*Message_ButtonsResponseMessage_SelectedDisplayText)(nil), + } + file_waE2E_WAE2E_proto_msgTypes[28].OneofWrappers = []interface{}{ + (*Message_ButtonsMessage_Text)(nil), + (*Message_ButtonsMessage_DocumentMessage)(nil), + (*Message_ButtonsMessage_ImageMessage)(nil), + (*Message_ButtonsMessage_VideoMessage)(nil), + (*Message_ButtonsMessage_LocationMessage)(nil), + } + file_waE2E_WAE2E_proto_msgTypes[30].OneofWrappers = []interface{}{ + (*Message_InteractiveResponseMessage_NativeFlowResponseMessage_)(nil), + } + file_waE2E_WAE2E_proto_msgTypes[31].OneofWrappers = []interface{}{ + (*Message_InteractiveMessage_ShopStorefrontMessage)(nil), + (*Message_InteractiveMessage_CollectionMessage_)(nil), + (*Message_InteractiveMessage_NativeFlowMessage_)(nil), + (*Message_InteractiveMessage_CarouselMessage_)(nil), + } + file_waE2E_WAE2E_proto_msgTypes[65].OneofWrappers = []interface{}{ + (*Message_TemplateMessage_FourRowTemplate_)(nil), + (*Message_TemplateMessage_HydratedFourRowTemplate_)(nil), + (*Message_TemplateMessage_InteractiveMessageTemplate)(nil), + } + file_waE2E_WAE2E_proto_msgTypes[103].OneofWrappers = []interface{}{ + (*Message_InteractiveMessage_Header_DocumentMessage)(nil), + (*Message_InteractiveMessage_Header_ImageMessage)(nil), + (*Message_InteractiveMessage_Header_JPEGThumbnail)(nil), + (*Message_InteractiveMessage_Header_VideoMessage)(nil), + (*Message_InteractiveMessage_Header_LocationMessage)(nil), + } + file_waE2E_WAE2E_proto_msgTypes[112].OneofWrappers = []interface{}{ + (*Message_HighlyStructuredMessage_HSMLocalizableParameter_Currency)(nil), + (*Message_HighlyStructuredMessage_HSMLocalizableParameter_DateTime)(nil), + } + file_waE2E_WAE2E_proto_msgTypes[113].OneofWrappers = []interface{}{ + (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component)(nil), + (*Message_HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch)(nil), + } + file_waE2E_WAE2E_proto_msgTypes[120].OneofWrappers = []interface{}{ + (*Message_TemplateMessage_HydratedFourRowTemplate_DocumentMessage)(nil), + (*Message_TemplateMessage_HydratedFourRowTemplate_HydratedTitleText)(nil), + (*Message_TemplateMessage_HydratedFourRowTemplate_ImageMessage)(nil), + (*Message_TemplateMessage_HydratedFourRowTemplate_VideoMessage)(nil), + (*Message_TemplateMessage_HydratedFourRowTemplate_LocationMessage)(nil), + } + file_waE2E_WAE2E_proto_msgTypes[121].OneofWrappers = []interface{}{ + (*Message_TemplateMessage_FourRowTemplate_DocumentMessage)(nil), + (*Message_TemplateMessage_FourRowTemplate_HighlyStructuredMessage)(nil), + (*Message_TemplateMessage_FourRowTemplate_ImageMessage)(nil), + (*Message_TemplateMessage_FourRowTemplate_VideoMessage)(nil), + (*Message_TemplateMessage_FourRowTemplate_LocationMessage)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waE2E_WAE2E_proto_rawDesc, + NumEnums: 43, + NumMessages: 143, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waE2E_WAE2E_proto_goTypes, + DependencyIndexes: file_waE2E_WAE2E_proto_depIdxs, + EnumInfos: file_waE2E_WAE2E_proto_enumTypes, + MessageInfos: file_waE2E_WAE2E_proto_msgTypes, + }.Build() + File_waE2E_WAE2E_proto = out.File + file_waE2E_WAE2E_proto_rawDesc = nil + file_waE2E_WAE2E_proto_goTypes = nil + file_waE2E_WAE2E_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waE2E/WAE2E.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waE2E/WAE2E.pb.raw new file mode 100644 index 00000000..da0e7962 Binary files /dev/null and b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waE2E/WAE2E.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waE2E/WAE2E.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waE2E/WAE2E.proto new file mode 100644 index 00000000..e866779c --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waE2E/WAE2E.proto @@ -0,0 +1,1552 @@ +syntax = "proto3"; +package WAE2E; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waE2E"; + +import "waAdv/WAAdv.proto"; +import "waMmsRetry/WAMmsRetry.proto"; +import "waCommon/WACommon.proto"; + +enum KeepType { + UNKNOWN = 0; + KEEP_FOR_ALL = 1; + UNDO_KEEP_FOR_ALL = 2; +} + +message Message { + enum PeerDataOperationRequestType { + UPLOAD_STICKER = 0; + SEND_RECENT_STICKER_BOOTSTRAP = 1; + GENERATE_LINK_PREVIEW = 2; + HISTORY_SYNC_ON_DEMAND = 3; + PLACEHOLDER_MESSAGE_RESEND = 4; + } + + message PlaceholderMessage { + enum PlaceholderType { + MASK_LINKED_DEVICES = 0; + } + + PlaceholderType type = 1; + } + + message BCallMessage { + enum MediaType { + UNKNOWN = 0; + AUDIO = 1; + VIDEO = 2; + } + + string sessionID = 1; + MediaType mediaType = 2; + bytes masterKey = 3; + string caption = 4; + } + + message CallLogMessage { + enum CallOutcome { + CONNECTED = 0; + MISSED = 1; + FAILED = 2; + REJECTED = 3; + ACCEPTED_ELSEWHERE = 4; + ONGOING = 5; + SILENCED_BY_DND = 6; + SILENCED_UNKNOWN_CALLER = 7; + } + + enum CallType { + REGULAR = 0; + SCHEDULED_CALL = 1; + VOICE_CHAT = 2; + } + + message CallParticipant { + string JID = 1; + CallOutcome callOutcome = 2; + } + + bool isVideo = 1; + CallOutcome callOutcome = 2; + int64 durationSecs = 3; + CallType callType = 4; + repeated CallParticipant participants = 5; + } + + message ScheduledCallEditMessage { + enum EditType { + UNKNOWN = 0; + CANCEL = 1; + } + + WACommon.MessageKey key = 1; + EditType editType = 2; + } + + message ScheduledCallCreationMessage { + enum CallType { + UNKNOWN = 0; + VOICE = 1; + VIDEO = 2; + } + + int64 scheduledTimestampMS = 1; + CallType callType = 2; + string title = 3; + } + + message EventResponseMessage { + enum EventResponseType { + UNKNOWN = 0; + GOING = 1; + NOT_GOING = 2; + } + + EventResponseType response = 1; + int64 timestampMS = 2; + } + + message PinInChatMessage { + enum Type { + UNKNOWN_TYPE = 0; + PIN_FOR_ALL = 1; + UNPIN_FOR_ALL = 2; + } + + WACommon.MessageKey key = 1; + Type type = 2; + int64 senderTimestampMS = 3; + } + + message ButtonsResponseMessage { + enum Type { + UNKNOWN = 0; + DISPLAY_TEXT = 1; + } + + oneof response { + string selectedDisplayText = 2; + } + + string selectedButtonID = 1; + ContextInfo contextInfo = 3; + Type type = 4; + } + + message ButtonsMessage { + enum HeaderType { + UNKNOWN = 0; + EMPTY = 1; + TEXT = 2; + DOCUMENT = 3; + IMAGE = 4; + VIDEO = 5; + LOCATION = 6; + } + + message Button { + enum Type { + UNKNOWN = 0; + RESPONSE = 1; + NATIVE_FLOW = 2; + } + + message NativeFlowInfo { + string name = 1; + string paramsJSON = 2; + } + + message ButtonText { + string displayText = 1; + } + + string buttonID = 1; + ButtonText buttonText = 2; + Type type = 3; + NativeFlowInfo nativeFlowInfo = 4; + } + + oneof header { + string text = 1; + DocumentMessage documentMessage = 2; + ImageMessage imageMessage = 3; + VideoMessage videoMessage = 4; + LocationMessage locationMessage = 5; + } + + string contentText = 6; + string footerText = 7; + ContextInfo contextInfo = 8; + repeated Button buttons = 9; + HeaderType headerType = 10; + } + + message GroupInviteMessage { + enum GroupType { + DEFAULT = 0; + PARENT = 1; + } + + string groupJID = 1; + string inviteCode = 2; + int64 inviteExpiration = 3; + string groupName = 4; + bytes JPEGThumbnail = 5; + string caption = 6; + ContextInfo contextInfo = 7; + GroupType groupType = 8; + } + + message InteractiveResponseMessage { + message Body { + enum Format { + DEFAULT = 0; + EXTENSIONS_1 = 1; + } + + string text = 1; + Format format = 2; + } + + message NativeFlowResponseMessage { + string name = 1; + string paramsJSON = 2; + int32 version = 3; + } + + oneof interactiveResponseMessage { + NativeFlowResponseMessage nativeFlowResponseMessage = 2; + } + + Body body = 1; + ContextInfo contextInfo = 15; + } + + message InteractiveMessage { + message ShopMessage { + enum Surface { + UNKNOWN_SURFACE = 0; + FB = 1; + IG = 2; + WA = 3; + } + + string ID = 1; + Surface surface = 2; + int32 messageVersion = 3; + } + + message CarouselMessage { + repeated InteractiveMessage cards = 1; + int32 messageVersion = 2; + } + + message NativeFlowMessage { + message NativeFlowButton { + string name = 1; + string buttonParamsJSON = 2; + } + + repeated NativeFlowButton buttons = 1; + string messageParamsJSON = 2; + int32 messageVersion = 3; + } + + message CollectionMessage { + string bizJID = 1; + string ID = 2; + int32 messageVersion = 3; + } + + message Footer { + string text = 1; + } + + message Body { + string text = 1; + } + + message Header { + oneof media { + DocumentMessage documentMessage = 3; + ImageMessage imageMessage = 4; + bytes JPEGThumbnail = 6; + VideoMessage videoMessage = 7; + LocationMessage locationMessage = 8; + } + + string title = 1; + string subtitle = 2; + bool hasMediaAttachment = 5; + } + + oneof interactiveMessage { + ShopMessage shopStorefrontMessage = 4; + CollectionMessage collectionMessage = 5; + NativeFlowMessage nativeFlowMessage = 6; + CarouselMessage carouselMessage = 7; + } + + Header header = 1; + Body body = 2; + Footer footer = 3; + ContextInfo contextInfo = 15; + } + + message ListResponseMessage { + enum ListType { + UNKNOWN = 0; + SINGLE_SELECT = 1; + } + + message SingleSelectReply { + string selectedRowID = 1; + } + + string title = 1; + ListType listType = 2; + SingleSelectReply singleSelectReply = 3; + ContextInfo contextInfo = 4; + string description = 5; + } + + message ListMessage { + enum ListType { + UNKNOWN = 0; + SINGLE_SELECT = 1; + PRODUCT_LIST = 2; + } + + message ProductListInfo { + repeated ProductSection productSections = 1; + ProductListHeaderImage headerImage = 2; + string businessOwnerJID = 3; + } + + message ProductListHeaderImage { + string productID = 1; + bytes JPEGThumbnail = 2; + } + + message ProductSection { + string title = 1; + repeated Product products = 2; + } + + message Product { + string productID = 1; + } + + message Section { + string title = 1; + repeated Row rows = 2; + } + + message Row { + string title = 1; + string description = 2; + string rowID = 3; + } + + string title = 1; + string description = 2; + string buttonText = 3; + ListType listType = 4; + repeated Section sections = 5; + ProductListInfo productListInfo = 6; + string footerText = 7; + ContextInfo contextInfo = 8; + } + + message OrderMessage { + enum OrderSurface { + ORDERSURFACE_UNKNOWN = 0; + CATALOG = 1; + } + + enum OrderStatus { + ORDERSTATUS_UNKNOWN = 0; + INQUIRY = 1; + ACCEPTED = 2; + DECLINED = 3; + } + + string orderID = 1; + bytes thumbnail = 2; + int32 itemCount = 3; + OrderStatus status = 4; + OrderSurface surface = 5; + string message = 6; + string orderTitle = 7; + string sellerJID = 8; + string token = 9; + int64 totalAmount1000 = 10; + string totalCurrencyCode = 11; + ContextInfo contextInfo = 17; + int32 messageVersion = 12; + WACommon.MessageKey orderRequestMessageID = 13; + } + + message PaymentInviteMessage { + enum ServiceType { + UNKNOWN = 0; + FBPAY = 1; + NOVI = 2; + UPI = 3; + } + + ServiceType serviceType = 1; + int64 expiryTimestamp = 2; + } + + message HighlyStructuredMessage { + message HSMLocalizableParameter { + message HSMDateTime { + message HSMDateTimeComponent { + enum CalendarType { + CALENDARTYPE_UNKNOWN = 0; + GREGORIAN = 1; + SOLAR_HIJRI = 2; + } + + enum DayOfWeekType { + DAYOFWEEKTYPE_UNKNOWN = 0; + MONDAY = 1; + TUESDAY = 2; + WEDNESDAY = 3; + THURSDAY = 4; + FRIDAY = 5; + SATURDAY = 6; + SUNDAY = 7; + } + + DayOfWeekType dayOfWeek = 1; + uint32 year = 2; + uint32 month = 3; + uint32 dayOfMonth = 4; + uint32 hour = 5; + uint32 minute = 6; + CalendarType calendar = 7; + } + + message HSMDateTimeUnixEpoch { + int64 timestamp = 1; + } + + oneof datetimeOneof { + HSMDateTimeComponent component = 1; + HSMDateTimeUnixEpoch unixEpoch = 2; + } + } + + message HSMCurrency { + string currencyCode = 1; + int64 amount1000 = 2; + } + + oneof paramOneof { + HSMCurrency currency = 2; + HSMDateTime dateTime = 3; + } + + string default = 1; + } + + string namespace = 1; + string elementName = 2; + repeated string params = 3; + string fallbackLg = 4; + string fallbackLc = 5; + repeated HSMLocalizableParameter localizableParams = 6; + string deterministicLg = 7; + string deterministicLc = 8; + TemplateMessage hydratedHsm = 9; + } + + message HistorySyncNotification { + enum HistorySyncType { + INITIAL_BOOTSTRAP = 0; + INITIAL_STATUS_V3 = 1; + FULL = 2; + RECENT = 3; + PUSH_NAME = 4; + NON_BLOCKING_DATA = 5; + ON_DEMAND = 6; + } + + bytes fileSHA256 = 1; + uint64 fileLength = 2; + bytes mediaKey = 3; + bytes fileEncSHA256 = 4; + string directPath = 5; + HistorySyncType syncType = 6; + uint32 chunkOrder = 7; + string originalMessageID = 8; + uint32 progress = 9; + int64 oldestMsgInChunkTimestampSec = 10; + bytes initialHistBootstrapInlinePayload = 11; + string peerDataRequestSessionID = 12; + } + + message RequestWelcomeMessageMetadata { + enum LocalChatState { + EMPTY = 0; + NON_EMPTY = 1; + } + + LocalChatState localChatState = 1; + } + + message ProtocolMessage { + enum Type { + REVOKE = 0; + EPHEMERAL_SETTING = 3; + EPHEMERAL_SYNC_RESPONSE = 4; + HISTORY_SYNC_NOTIFICATION = 5; + APP_STATE_SYNC_KEY_SHARE = 6; + APP_STATE_SYNC_KEY_REQUEST = 7; + MSG_FANOUT_BACKFILL_REQUEST = 8; + INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC = 9; + APP_STATE_FATAL_EXCEPTION_NOTIFICATION = 10; + SHARE_PHONE_NUMBER = 11; + MESSAGE_EDIT = 14; + PEER_DATA_OPERATION_REQUEST_MESSAGE = 16; + PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = 17; + REQUEST_WELCOME_MESSAGE = 18; + BOT_FEEDBACK_MESSAGE = 19; + MEDIA_NOTIFY_MESSAGE = 20; + } + + WACommon.MessageKey key = 1; + Type type = 2; + uint32 ephemeralExpiration = 4; + int64 ephemeralSettingTimestamp = 5; + HistorySyncNotification historySyncNotification = 6; + AppStateSyncKeyShare appStateSyncKeyShare = 7; + AppStateSyncKeyRequest appStateSyncKeyRequest = 8; + InitialSecurityNotificationSettingSync initialSecurityNotificationSettingSync = 9; + AppStateFatalExceptionNotification appStateFatalExceptionNotification = 10; + DisappearingMode disappearingMode = 11; + Message editedMessage = 14; + int64 timestampMS = 15; + PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16; + PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17; + BotFeedbackMessage botFeedbackMessage = 18; + string invokerJID = 19; + RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20; + MediaNotifyMessage mediaNotifyMessage = 21; + } + + message BotFeedbackMessage { + enum BotFeedbackKindMultiplePositive { + BOTFEEDBACKKINDMULTIPLEPOSITIVE_UNKNOWN = 0; + BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1; + } + + enum BotFeedbackKindMultipleNegative { + BOTFEEDBACKKINDMULTIPLENEGATIVE_UNKNOWN = 0; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256; + } + + enum BotFeedbackKind { + BOT_FEEDBACK_POSITIVE = 0; + BOT_FEEDBACK_NEGATIVE_GENERIC = 1; + BOT_FEEDBACK_NEGATIVE_HELPFUL = 2; + BOT_FEEDBACK_NEGATIVE_INTERESTING = 3; + BOT_FEEDBACK_NEGATIVE_ACCURATE = 4; + BOT_FEEDBACK_NEGATIVE_SAFE = 5; + BOT_FEEDBACK_NEGATIVE_OTHER = 6; + BOT_FEEDBACK_NEGATIVE_REFUSED = 7; + BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8; + BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9; + } + + WACommon.MessageKey messageKey = 1; + BotFeedbackKind kind = 2; + string text = 3; + uint64 kindNegative = 4; + uint64 kindPositive = 5; + } + + message VideoMessage { + enum Attribution { + NONE = 0; + GIPHY = 1; + TENOR = 2; + } + + string URL = 1; + string mimetype = 2; + bytes fileSHA256 = 3; + uint64 fileLength = 4; + uint32 seconds = 5; + bytes mediaKey = 6; + string caption = 7; + bool gifPlayback = 8; + uint32 height = 9; + uint32 width = 10; + bytes fileEncSHA256 = 11; + repeated InteractiveAnnotation interactiveAnnotations = 12; + string directPath = 13; + int64 mediaKeyTimestamp = 14; + bytes JPEGThumbnail = 16; + ContextInfo contextInfo = 17; + bytes streamingSidecar = 18; + Attribution gifAttribution = 19; + bool viewOnce = 20; + string thumbnailDirectPath = 21; + bytes thumbnailSHA256 = 22; + bytes thumbnailEncSHA256 = 23; + string staticURL = 24; + repeated InteractiveAnnotation annotations = 25; + } + + message ExtendedTextMessage { + enum InviteLinkGroupType { + DEFAULT = 0; + PARENT = 1; + SUB = 2; + DEFAULT_SUB = 3; + } + + enum PreviewType { + NONE = 0; + VIDEO = 1; + PLACEHOLDER = 4; + IMAGE = 5; + } + + enum FontType { + SYSTEM = 0; + SYSTEM_TEXT = 1; + FB_SCRIPT = 2; + SYSTEM_BOLD = 6; + MORNINGBREEZE_REGULAR = 7; + CALISTOGA_REGULAR = 8; + EXO2_EXTRABOLD = 9; + COURIERPRIME_BOLD = 10; + } + + string text = 1; + string matchedText = 2; + string canonicalURL = 4; + string description = 5; + string title = 6; + fixed32 textArgb = 7; + fixed32 backgroundArgb = 8; + FontType font = 9; + PreviewType previewType = 10; + bytes JPEGThumbnail = 16; + ContextInfo contextInfo = 17; + bool doNotPlayInline = 18; + string thumbnailDirectPath = 19; + bytes thumbnailSHA256 = 20; + bytes thumbnailEncSHA256 = 21; + bytes mediaKey = 22; + int64 mediaKeyTimestamp = 23; + uint32 thumbnailHeight = 24; + uint32 thumbnailWidth = 25; + InviteLinkGroupType inviteLinkGroupType = 26; + string inviteLinkParentGroupSubjectV2 = 27; + bytes inviteLinkParentGroupThumbnailV2 = 28; + InviteLinkGroupType inviteLinkGroupTypeV2 = 29; + bool viewOnce = 30; + } + + message InvoiceMessage { + enum AttachmentType { + IMAGE = 0; + PDF = 1; + } + + string note = 1; + string token = 2; + AttachmentType attachmentType = 3; + string attachmentMimetype = 4; + bytes attachmentMediaKey = 5; + int64 attachmentMediaKeyTimestamp = 6; + bytes attachmentFileSHA256 = 7; + bytes attachmentFileEncSHA256 = 8; + string attachmentDirectPath = 9; + bytes attachmentJPEGThumbnail = 10; + } + + message ExtendedTextMessageWithParentKey { + WACommon.MessageKey key = 1; + ExtendedTextMessage linkMessage = 2; + } + + message MessageHistoryBundle { + string mimetype = 2; + bytes fileSHA256 = 3; + bytes mediaKey = 5; + bytes fileEncSHA256 = 6; + string directPath = 7; + int64 mediaKeyTimestamp = 8; + ContextInfo contextInfo = 9; + repeated string participants = 10; + } + + message EncEventResponseMessage { + WACommon.MessageKey eventCreationMessageKey = 1; + bytes encPayload = 2; + bytes encIV = 3; + } + + message EventMessage { + ContextInfo contextInfo = 1; + bool isCanceled = 2; + string name = 3; + string description = 4; + LocationMessage location = 5; + string joinLink = 6; + int64 startTime = 7; + } + + message CommentMessage { + Message message = 1; + WACommon.MessageKey targetMessageKey = 2; + } + + message EncCommentMessage { + WACommon.MessageKey targetMessageKey = 1; + bytes encPayload = 2; + bytes encIV = 3; + } + + message EncReactionMessage { + WACommon.MessageKey targetMessageKey = 1; + bytes encPayload = 2; + bytes encIV = 3; + } + + message KeepInChatMessage { + WACommon.MessageKey key = 1; + KeepType keepType = 2; + int64 timestampMS = 3; + } + + message PollVoteMessage { + repeated bytes selectedOptions = 1; + } + + message PollEncValue { + bytes encPayload = 1; + bytes encIV = 2; + } + + message PollUpdateMessageMetadata { + } + + message PollUpdateMessage { + WACommon.MessageKey pollCreationMessageKey = 1; + PollEncValue vote = 2; + PollUpdateMessageMetadata metadata = 3; + int64 senderTimestampMS = 4; + } + + message PollCreationMessage { + message Option { + string optionName = 1; + } + + bytes encKey = 1; + string name = 2; + repeated Option options = 3; + uint32 selectableOptionsCount = 4; + ContextInfo contextInfo = 5; + } + + message StickerSyncRMRMessage { + repeated string filehash = 1; + string rmrSource = 2; + int64 requestTimestamp = 3; + } + + message ReactionMessage { + WACommon.MessageKey key = 1; + string text = 2; + string groupingKey = 3; + int64 senderTimestampMS = 4; + } + + message FutureProofMessage { + Message message = 1; + } + + message DeviceSentMessage { + string destinationJID = 1; + Message message = 2; + string phash = 3; + } + + message RequestPhoneNumberMessage { + ContextInfo contextInfo = 1; + } + + message NewsletterAdminInviteMessage { + string newsletterJID = 1; + string newsletterName = 2; + bytes JPEGThumbnail = 3; + string caption = 4; + int64 inviteExpiration = 5; + } + + message ProductMessage { + message ProductSnapshot { + ImageMessage productImage = 1; + string productID = 2; + string title = 3; + string description = 4; + string currencyCode = 5; + int64 priceAmount1000 = 6; + string retailerID = 7; + string URL = 8; + uint32 productImageCount = 9; + string firstImageID = 11; + int64 salePriceAmount1000 = 12; + } + + message CatalogSnapshot { + ImageMessage catalogImage = 1; + string title = 2; + string description = 3; + } + + ProductSnapshot product = 1; + string businessOwnerJID = 2; + CatalogSnapshot catalog = 4; + string body = 5; + string footer = 6; + ContextInfo contextInfo = 17; + } + + message TemplateButtonReplyMessage { + string selectedID = 1; + string selectedDisplayText = 2; + ContextInfo contextInfo = 3; + uint32 selectedIndex = 4; + uint32 selectedCarouselCardIndex = 5; + } + + message TemplateMessage { + message HydratedFourRowTemplate { + oneof title { + DocumentMessage documentMessage = 1; + string hydratedTitleText = 2; + ImageMessage imageMessage = 3; + VideoMessage videoMessage = 4; + LocationMessage locationMessage = 5; + } + + string hydratedContentText = 6; + string hydratedFooterText = 7; + repeated HydratedTemplateButton hydratedButtons = 8; + string templateID = 9; + bool maskLinkedDevices = 10; + } + + message FourRowTemplate { + oneof title { + DocumentMessage documentMessage = 1; + HighlyStructuredMessage highlyStructuredMessage = 2; + ImageMessage imageMessage = 3; + VideoMessage videoMessage = 4; + LocationMessage locationMessage = 5; + } + + HighlyStructuredMessage content = 6; + HighlyStructuredMessage footer = 7; + repeated TemplateButton buttons = 8; + } + + oneof format { + FourRowTemplate fourRowTemplate = 1; + HydratedFourRowTemplate hydratedFourRowTemplate = 2; + InteractiveMessage interactiveMessageTemplate = 5; + } + + ContextInfo contextInfo = 3; + HydratedFourRowTemplate hydratedTemplate = 4; + string templateID = 9; + } + + message StickerMessage { + string URL = 1; + bytes fileSHA256 = 2; + bytes fileEncSHA256 = 3; + bytes mediaKey = 4; + string mimetype = 5; + uint32 height = 6; + uint32 width = 7; + string directPath = 8; + uint64 fileLength = 9; + int64 mediaKeyTimestamp = 10; + uint32 firstFrameLength = 11; + bytes firstFrameSidecar = 12; + bool isAnimated = 13; + bytes pngThumbnail = 16; + ContextInfo contextInfo = 17; + int64 stickerSentTS = 18; + bool isAvatar = 19; + bool isAiSticker = 20; + bool isLottie = 21; + } + + message LiveLocationMessage { + double degreesLatitude = 1; + double degreesLongitude = 2; + uint32 accuracyInMeters = 3; + float speedInMps = 4; + uint32 degreesClockwiseFromMagneticNorth = 5; + string caption = 6; + int64 sequenceNumber = 7; + uint32 timeOffset = 8; + bytes JPEGThumbnail = 16; + ContextInfo contextInfo = 17; + } + + message CancelPaymentRequestMessage { + WACommon.MessageKey key = 1; + } + + message DeclinePaymentRequestMessage { + WACommon.MessageKey key = 1; + } + + message RequestPaymentMessage { + Message noteMessage = 4; + string currencyCodeIso4217 = 1; + uint64 amount1000 = 2; + string requestFrom = 3; + int64 expiryTimestamp = 5; + Money amount = 6; + PaymentBackground background = 7; + } + + message SendPaymentMessage { + Message noteMessage = 2; + WACommon.MessageKey requestMessageKey = 3; + PaymentBackground background = 4; + } + + message ContactsArrayMessage { + string displayName = 1; + repeated ContactMessage contacts = 2; + ContextInfo contextInfo = 17; + } + + message InitialSecurityNotificationSettingSync { + bool securityNotificationEnabled = 1; + } + + message PeerDataOperationRequestResponseMessage { + message PeerDataOperationResult { + message PlaceholderMessageResendResponse { + bytes webMessageInfoBytes = 1; + } + + message LinkPreviewResponse { + message LinkPreviewHighQualityThumbnail { + string directPath = 1; + string thumbHash = 2; + string encThumbHash = 3; + bytes mediaKey = 4; + int64 mediaKeyTimestampMS = 5; + int32 thumbWidth = 6; + int32 thumbHeight = 7; + } + + string URL = 1; + string title = 2; + string description = 3; + bytes thumbData = 4; + string canonicalURL = 5; + string matchText = 6; + string previewType = 7; + LinkPreviewHighQualityThumbnail hqThumbnail = 8; + } + + WAMmsRetry.MediaRetryNotification.ResultType mediaUploadResult = 1; + StickerMessage stickerMessage = 2; + LinkPreviewResponse linkPreviewResponse = 3; + PlaceholderMessageResendResponse placeholderMessageResendResponse = 4; + } + + PeerDataOperationRequestType peerDataOperationRequestType = 1; + string stanzaID = 2; + repeated PeerDataOperationResult peerDataOperationResult = 3; + } + + message PeerDataOperationRequestMessage { + message PlaceholderMessageResendRequest { + WACommon.MessageKey messageKey = 1; + } + + message HistorySyncOnDemandRequest { + string chatJID = 1; + string oldestMsgID = 2; + bool oldestMsgFromMe = 3; + int32 onDemandMsgCount = 4; + int64 oldestMsgTimestampMS = 5; + } + + message RequestUrlPreview { + string URL = 1; + bool includeHqThumbnail = 2; + } + + message RequestStickerReupload { + string fileSHA256 = 1; + } + + PeerDataOperationRequestType peerDataOperationRequestType = 1; + repeated RequestStickerReupload requestStickerReupload = 2; + repeated RequestUrlPreview requestURLPreview = 3; + HistorySyncOnDemandRequest historySyncOnDemandRequest = 4; + repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5; + } + + message AppStateFatalExceptionNotification { + repeated string collectionNames = 1; + int64 timestamp = 2; + } + + message AppStateSyncKeyRequest { + repeated AppStateSyncKeyId keyIDs = 1; + } + + message AppStateSyncKeyShare { + repeated AppStateSyncKey keys = 1; + } + + message AppStateSyncKeyData { + bytes keyData = 1; + AppStateSyncKeyFingerprint fingerprint = 2; + int64 timestamp = 3; + } + + message AppStateSyncKeyFingerprint { + uint32 rawID = 1; + uint32 currentIndex = 2; + repeated uint32 deviceIndexes = 3 [packed=true]; + } + + message AppStateSyncKeyId { + bytes keyID = 1; + } + + message AppStateSyncKey { + AppStateSyncKeyId keyID = 1; + AppStateSyncKeyData keyData = 2; + } + + message Chat { + string displayName = 1; + string ID = 2; + } + + message Call { + bytes callKey = 1; + string conversionSource = 2; + bytes conversionData = 3; + uint32 conversionDelaySeconds = 4; + } + + message AudioMessage { + string URL = 1; + string mimetype = 2; + bytes fileSHA256 = 3; + uint64 fileLength = 4; + uint32 seconds = 5; + bool PTT = 6; + bytes mediaKey = 7; + bytes fileEncSHA256 = 8; + string directPath = 9; + int64 mediaKeyTimestamp = 10; + ContextInfo contextInfo = 17; + bytes streamingSidecar = 18; + bytes waveform = 19; + fixed32 backgroundArgb = 20; + bool viewOnce = 21; + } + + message DocumentMessage { + string URL = 1; + string mimetype = 2; + string title = 3; + bytes fileSHA256 = 4; + uint64 fileLength = 5; + uint32 pageCount = 6; + bytes mediaKey = 7; + string fileName = 8; + bytes fileEncSHA256 = 9; + string directPath = 10; + int64 mediaKeyTimestamp = 11; + bool contactVcard = 12; + string thumbnailDirectPath = 13; + bytes thumbnailSHA256 = 14; + bytes thumbnailEncSHA256 = 15; + bytes JPEGThumbnail = 16; + ContextInfo contextInfo = 17; + uint32 thumbnailHeight = 18; + uint32 thumbnailWidth = 19; + string caption = 20; + } + + message LocationMessage { + double degreesLatitude = 1; + double degreesLongitude = 2; + string name = 3; + string address = 4; + string URL = 5; + bool isLive = 6; + uint32 accuracyInMeters = 7; + float speedInMps = 8; + uint32 degreesClockwiseFromMagneticNorth = 9; + string comment = 11; + bytes JPEGThumbnail = 16; + ContextInfo contextInfo = 17; + } + + message ContactMessage { + string displayName = 1; + string vcard = 16; + ContextInfo contextInfo = 17; + } + + message ImageMessage { + string URL = 1; + string mimetype = 2; + string caption = 3; + bytes fileSHA256 = 4; + uint64 fileLength = 5; + uint32 height = 6; + uint32 width = 7; + bytes mediaKey = 8; + bytes fileEncSHA256 = 9; + repeated InteractiveAnnotation interactiveAnnotations = 10; + string directPath = 11; + int64 mediaKeyTimestamp = 12; + bytes JPEGThumbnail = 16; + ContextInfo contextInfo = 17; + bytes firstScanSidecar = 18; + uint32 firstScanLength = 19; + uint32 experimentGroupID = 20; + bytes scansSidecar = 21; + repeated uint32 scanLengths = 22; + bytes midQualityFileSHA256 = 23; + bytes midQualityFileEncSHA256 = 24; + bool viewOnce = 25; + string thumbnailDirectPath = 26; + bytes thumbnailSHA256 = 27; + bytes thumbnailEncSHA256 = 28; + string staticURL = 29; + repeated InteractiveAnnotation annotations = 30; + } + + message SenderKeyDistributionMessage { + string groupID = 1; + bytes axolotlSenderKeyDistributionMessage = 2; + } + + string conversation = 1; + SenderKeyDistributionMessage senderKeyDistributionMessage = 2; + ImageMessage imageMessage = 3; + ContactMessage contactMessage = 4; + LocationMessage locationMessage = 5; + ExtendedTextMessage extendedTextMessage = 6; + DocumentMessage documentMessage = 7; + AudioMessage audioMessage = 8; + VideoMessage videoMessage = 9; + Call call = 10; + Chat chat = 11; + ProtocolMessage protocolMessage = 12; + ContactsArrayMessage contactsArrayMessage = 13; + HighlyStructuredMessage highlyStructuredMessage = 14; + SenderKeyDistributionMessage fastRatchetKeySenderKeyDistributionMessage = 15; + SendPaymentMessage sendPaymentMessage = 16; + LiveLocationMessage liveLocationMessage = 18; + RequestPaymentMessage requestPaymentMessage = 22; + DeclinePaymentRequestMessage declinePaymentRequestMessage = 23; + CancelPaymentRequestMessage cancelPaymentRequestMessage = 24; + TemplateMessage templateMessage = 25; + StickerMessage stickerMessage = 26; + GroupInviteMessage groupInviteMessage = 28; + TemplateButtonReplyMessage templateButtonReplyMessage = 29; + ProductMessage productMessage = 30; + DeviceSentMessage deviceSentMessage = 31; + MessageContextInfo messageContextInfo = 35; + ListMessage listMessage = 36; + FutureProofMessage viewOnceMessage = 37; + OrderMessage orderMessage = 38; + ListResponseMessage listResponseMessage = 39; + FutureProofMessage ephemeralMessage = 40; + InvoiceMessage invoiceMessage = 41; + ButtonsMessage buttonsMessage = 42; + ButtonsResponseMessage buttonsResponseMessage = 43; + PaymentInviteMessage paymentInviteMessage = 44; + InteractiveMessage interactiveMessage = 45; + ReactionMessage reactionMessage = 46; + StickerSyncRMRMessage stickerSyncRmrMessage = 47; + InteractiveResponseMessage interactiveResponseMessage = 48; + PollCreationMessage pollCreationMessage = 49; + PollUpdateMessage pollUpdateMessage = 50; + KeepInChatMessage keepInChatMessage = 51; + FutureProofMessage documentWithCaptionMessage = 53; + RequestPhoneNumberMessage requestPhoneNumberMessage = 54; + FutureProofMessage viewOnceMessageV2 = 55; + EncReactionMessage encReactionMessage = 56; + FutureProofMessage editedMessage = 58; + FutureProofMessage viewOnceMessageV2Extension = 59; + PollCreationMessage pollCreationMessageV2 = 60; + ScheduledCallCreationMessage scheduledCallCreationMessage = 61; + FutureProofMessage groupMentionedMessage = 62; + PinInChatMessage pinInChatMessage = 63; + PollCreationMessage pollCreationMessageV3 = 64; + ScheduledCallEditMessage scheduledCallEditMessage = 65; + VideoMessage ptvMessage = 66; + FutureProofMessage botInvokeMessage = 67; + CallLogMessage callLogMesssage = 69; + MessageHistoryBundle messageHistoryBundle = 70; + EncCommentMessage encCommentMessage = 71; + BCallMessage bcallMessage = 72; + FutureProofMessage lottieStickerMessage = 74; + EventMessage eventMessage = 75; + EncEventResponseMessage encEventResponseMessage = 76; + CommentMessage commentMessage = 77; + NewsletterAdminInviteMessage newsletterAdminInviteMessage = 78; + ExtendedTextMessageWithParentKey extendedTextMessageWithParentKey = 79; + PlaceholderMessage placeholderMessage = 80; +} + +message ContextInfo { + message ForwardedNewsletterMessageInfo { + enum ContentType { + CONTENTTYPE_UNKNOWN = 0; + UPDATE = 1; + UPDATE_CARD = 2; + LINK_CARD = 3; + } + + string newsletterJID = 1; + int32 serverMessageID = 2; + string newsletterName = 3; + ContentType contentType = 4; + string accessibilityText = 5; + } + + message ExternalAdReplyInfo { + enum MediaType { + NONE = 0; + IMAGE = 1; + VIDEO = 2; + } + + string title = 1; + string body = 2; + MediaType mediaType = 3; + string thumbnailURL = 4; + string mediaURL = 5; + bytes thumbnail = 6; + string sourceType = 7; + string sourceID = 8; + string sourceURL = 9; + bool containsAutoReply = 10; + bool renderLargerThumbnail = 11; + bool showAdAttribution = 12; + string ctwaClid = 13; + string ref = 14; + } + + message AdReplyInfo { + enum MediaType { + NONE = 0; + IMAGE = 1; + VIDEO = 2; + } + + string advertiserName = 1; + MediaType mediaType = 2; + bytes JPEGThumbnail = 16; + string caption = 17; + } + + message DataSharingContext { + bool showMmDisclosure = 1; + } + + message UTMInfo { + string utmSource = 1; + string utmCampaign = 2; + } + + message BusinessMessageForwardInfo { + string businessOwnerJID = 1; + } + + string stanzaID = 1; + string participant = 2; + Message quotedMessage = 3; + string remoteJID = 4; + repeated string mentionedJID = 15; + string conversionSource = 18; + bytes conversionData = 19; + uint32 conversionDelaySeconds = 20; + uint32 forwardingScore = 21; + bool isForwarded = 22; + AdReplyInfo quotedAd = 23; + WACommon.MessageKey placeholderKey = 24; + uint32 expiration = 25; + int64 ephemeralSettingTimestamp = 26; + bytes ephemeralSharedSecret = 27; + ExternalAdReplyInfo externalAdReply = 28; + string entryPointConversionSource = 29; + string entryPointConversionApp = 30; + uint32 entryPointConversionDelaySeconds = 31; + DisappearingMode disappearingMode = 32; + ActionLink actionLink = 33; + string groupSubject = 34; + string parentGroupJID = 35; + string trustBannerType = 37; + uint32 trustBannerAction = 38; + bool isSampled = 39; + repeated GroupMention groupMentions = 40; + UTMInfo utm = 41; + ForwardedNewsletterMessageInfo forwardedNewsletterMessageInfo = 43; + BusinessMessageForwardInfo businessMessageForwardInfo = 44; + string smbClientCampaignID = 45; + string smbServerCampaignID = 46; + DataSharingContext dataSharingContext = 47; +} + +message BotPluginMetadata { + enum PluginType { + PLUGINTYPE_UNKNOWN = 0; + REELS = 1; + SEARCH = 2; + } + + enum SearchProvider { + SEARCHPROVIDER_UNKNOWN = 0; + BING = 1; + GOOGLE = 2; + } + + SearchProvider provider = 1; + PluginType pluginType = 2; + string thumbnailCDNURL = 3; + string profilePhotoCDNURL = 4; + string searchProviderURL = 5; + uint32 referenceIndex = 6; + uint32 expectedLinksCount = 7; + uint32 pluginVersion = 8; +} + +message HydratedTemplateButton { + message HydratedURLButton { + enum WebviewPresentationType { + WEBVIEWPRESENTATIONTYPE_UNKNOWN = 0; + FULL = 1; + TALL = 2; + COMPACT = 3; + } + + string displayText = 1; + string URL = 2; + string consentedUsersURL = 3; + WebviewPresentationType webviewPresentation = 4; + } + + message HydratedCallButton { + string displayText = 1; + string phoneNumber = 2; + } + + message HydratedQuickReplyButton { + string displayText = 1; + string ID = 2; + } + + oneof hydratedButton { + HydratedQuickReplyButton quickReplyButton = 1; + HydratedURLButton urlButton = 2; + HydratedCallButton callButton = 3; + } + + uint32 index = 4; +} + +message PaymentBackground { + enum Type { + UNKNOWN = 0; + DEFAULT = 1; + } + + message MediaData { + bytes mediaKey = 1; + int64 mediaKeyTimestamp = 2; + bytes fileSHA256 = 3; + bytes fileEncSHA256 = 4; + string directPath = 5; + } + + string ID = 1; + uint64 fileLength = 2; + uint32 width = 3; + uint32 height = 4; + string mimetype = 5; + fixed32 placeholderArgb = 6; + fixed32 textArgb = 7; + fixed32 subtextArgb = 8; + MediaData mediaData = 9; + Type type = 10; +} + +message DisappearingMode { + enum Trigger { + UNKNOWN = 0; + CHAT_SETTING = 1; + ACCOUNT_SETTING = 2; + BULK_CHANGE = 3; + TRIGGER_CHANGED_TO_COEX = 4; + } + + enum Initiator { + CHANGED_IN_CHAT = 0; + INITIATED_BY_ME = 1; + INITIATED_BY_OTHER = 2; + CHANGED_TO_COEX = 3; + } + + Initiator initiator = 1; + Trigger trigger = 2; + string initiatorDeviceJID = 3; + bool initiatedByMe = 4; +} + +message BotAvatarMetadata { + uint32 sentiment = 1; + string behaviorGraph = 2; + uint32 action = 3; + uint32 intensity = 4; + uint32 wordCount = 5; +} + +message BotSuggestedPromptMetadata { + repeated string suggestedPrompts = 1; + uint32 selectedPromptIndex = 2; +} + +message BotMetadata { + BotAvatarMetadata avatarMetadata = 1; + string personaID = 2; + BotPluginMetadata pluginMetadata = 3; + BotSuggestedPromptMetadata suggestedPromptMetadata = 4; + string invokerJID = 5; +} + +message MessageContextInfo { + DeviceListMetadata deviceListMetadata = 1; + int32 deviceListMetadataVersion = 2; + bytes messageSecret = 3; + bytes paddingBytes = 4; + uint32 messageAddOnDurationInSecs = 5; + bytes botMessageSecret = 6; + BotMetadata botMetadata = 7; + int32 reportingTokenVersion = 8; +} + +message DeviceListMetadata { + bytes senderKeyHash = 1; + uint64 senderTimestamp = 2; + repeated uint32 senderKeyIndexes = 3 [packed=true]; + WAAdv.ADVEncryptionType senderAccountType = 4; + WAAdv.ADVEncryptionType receiverAccountType = 5; + bytes recipientKeyHash = 8; + uint64 recipientTimestamp = 9; + repeated uint32 recipientKeyIndexes = 10 [packed=true]; +} + +message InteractiveAnnotation { + oneof action { + Location location = 2; + ContextInfo.ForwardedNewsletterMessageInfo newsletter = 3; + } + + repeated Point polygonVertices = 1; + bool shouldSkipConfirmation = 4; +} + +message Point { + int32 xDeprecated = 1; + int32 yDeprecated = 2; + double x = 3; + double y = 4; +} + +message Location { + double degreesLatitude = 1; + double degreesLongitude = 2; + string name = 3; +} + +message TemplateButton { + message CallButton { + Message.HighlyStructuredMessage displayText = 1; + Message.HighlyStructuredMessage phoneNumber = 2; + } + + message URLButton { + Message.HighlyStructuredMessage displayText = 1; + Message.HighlyStructuredMessage URL = 2; + } + + message QuickReplyButton { + Message.HighlyStructuredMessage displayText = 1; + string ID = 2; + } + + oneof button { + QuickReplyButton quickReplyButton = 1; + URLButton urlButton = 2; + CallButton callButton = 3; + } + + uint32 index = 4; +} + +message Money { + int64 value = 1; + uint32 offset = 2; + string currencyCode = 3; +} + +message ActionLink { + string URL = 1; + string buttonTitle = 2; +} + +message GroupMention { + string groupJID = 1; + string groupSubject = 2; +} + +message MessageSecretMessage { + sfixed32 version = 1; + bytes encIV = 2; + bytes encPayload = 3; +} + +message MediaNotifyMessage { + string expressPathURL = 1; + bytes fileEncSHA256 = 2; + uint64 fileLength = 3; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaEntryData/WAMediaEntryData.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaEntryData/WAMediaEntryData.pb.go new file mode 100644 index 00000000..4ed8384b --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaEntryData/WAMediaEntryData.pb.go @@ -0,0 +1,421 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waMediaEntryData/WAMediaEntryData.proto + +package waMediaEntryData + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MediaEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileSHA256 []byte `protobuf:"bytes,1,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` + MediaKey []byte `protobuf:"bytes,2,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,3,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` + DirectPath string `protobuf:"bytes,4,opt,name=directPath,proto3" json:"directPath,omitempty"` + MediaKeyTimestamp int64 `protobuf:"varint,5,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"` + ServerMediaType string `protobuf:"bytes,6,opt,name=serverMediaType,proto3" json:"serverMediaType,omitempty"` + UploadToken []byte `protobuf:"bytes,7,opt,name=uploadToken,proto3" json:"uploadToken,omitempty"` + ValidatedTimestamp []byte `protobuf:"bytes,8,opt,name=validatedTimestamp,proto3" json:"validatedTimestamp,omitempty"` + Sidecar []byte `protobuf:"bytes,9,opt,name=sidecar,proto3" json:"sidecar,omitempty"` + ObjectID string `protobuf:"bytes,10,opt,name=objectID,proto3" json:"objectID,omitempty"` + FBID string `protobuf:"bytes,11,opt,name=FBID,proto3" json:"FBID,omitempty"` + DownloadableThumbnail *MediaEntry_DownloadableThumbnail `protobuf:"bytes,12,opt,name=downloadableThumbnail,proto3" json:"downloadableThumbnail,omitempty"` + Handle string `protobuf:"bytes,13,opt,name=handle,proto3" json:"handle,omitempty"` + Filename string `protobuf:"bytes,14,opt,name=filename,proto3" json:"filename,omitempty"` + ProgressiveJPEGDetails *MediaEntry_ProgressiveJpegDetails `protobuf:"bytes,15,opt,name=progressiveJPEGDetails,proto3" json:"progressiveJPEGDetails,omitempty"` +} + +func (x *MediaEntry) Reset() { + *x = MediaEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MediaEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MediaEntry) ProtoMessage() {} + +func (x *MediaEntry) ProtoReflect() protoreflect.Message { + mi := &file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MediaEntry.ProtoReflect.Descriptor instead. +func (*MediaEntry) Descriptor() ([]byte, []int) { + return file_waMediaEntryData_WAMediaEntryData_proto_rawDescGZIP(), []int{0} +} + +func (x *MediaEntry) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *MediaEntry) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *MediaEntry) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *MediaEntry) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *MediaEntry) GetMediaKeyTimestamp() int64 { + if x != nil { + return x.MediaKeyTimestamp + } + return 0 +} + +func (x *MediaEntry) GetServerMediaType() string { + if x != nil { + return x.ServerMediaType + } + return "" +} + +func (x *MediaEntry) GetUploadToken() []byte { + if x != nil { + return x.UploadToken + } + return nil +} + +func (x *MediaEntry) GetValidatedTimestamp() []byte { + if x != nil { + return x.ValidatedTimestamp + } + return nil +} + +func (x *MediaEntry) GetSidecar() []byte { + if x != nil { + return x.Sidecar + } + return nil +} + +func (x *MediaEntry) GetObjectID() string { + if x != nil { + return x.ObjectID + } + return "" +} + +func (x *MediaEntry) GetFBID() string { + if x != nil { + return x.FBID + } + return "" +} + +func (x *MediaEntry) GetDownloadableThumbnail() *MediaEntry_DownloadableThumbnail { + if x != nil { + return x.DownloadableThumbnail + } + return nil +} + +func (x *MediaEntry) GetHandle() string { + if x != nil { + return x.Handle + } + return "" +} + +func (x *MediaEntry) GetFilename() string { + if x != nil { + return x.Filename + } + return "" +} + +func (x *MediaEntry) GetProgressiveJPEGDetails() *MediaEntry_ProgressiveJpegDetails { + if x != nil { + return x.ProgressiveJPEGDetails + } + return nil +} + +type MediaEntry_ProgressiveJpegDetails struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ScanLengths []int64 `protobuf:"varint,1,rep,packed,name=scanLengths,proto3" json:"scanLengths,omitempty"` + Sidecar []byte `protobuf:"bytes,2,opt,name=sidecar,proto3" json:"sidecar,omitempty"` +} + +func (x *MediaEntry_ProgressiveJpegDetails) Reset() { + *x = MediaEntry_ProgressiveJpegDetails{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MediaEntry_ProgressiveJpegDetails) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MediaEntry_ProgressiveJpegDetails) ProtoMessage() {} + +func (x *MediaEntry_ProgressiveJpegDetails) ProtoReflect() protoreflect.Message { + mi := &file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MediaEntry_ProgressiveJpegDetails.ProtoReflect.Descriptor instead. +func (*MediaEntry_ProgressiveJpegDetails) Descriptor() ([]byte, []int) { + return file_waMediaEntryData_WAMediaEntryData_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *MediaEntry_ProgressiveJpegDetails) GetScanLengths() []int64 { + if x != nil { + return x.ScanLengths + } + return nil +} + +func (x *MediaEntry_ProgressiveJpegDetails) GetSidecar() []byte { + if x != nil { + return x.Sidecar + } + return nil +} + +type MediaEntry_DownloadableThumbnail struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileSHA256 []byte `protobuf:"bytes,1,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,2,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` + DirectPath string `protobuf:"bytes,3,opt,name=directPath,proto3" json:"directPath,omitempty"` + MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + MediaKeyTimestamp int64 `protobuf:"varint,5,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"` + ObjectID string `protobuf:"bytes,6,opt,name=objectID,proto3" json:"objectID,omitempty"` +} + +func (x *MediaEntry_DownloadableThumbnail) Reset() { + *x = MediaEntry_DownloadableThumbnail{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MediaEntry_DownloadableThumbnail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MediaEntry_DownloadableThumbnail) ProtoMessage() {} + +func (x *MediaEntry_DownloadableThumbnail) ProtoReflect() protoreflect.Message { + mi := &file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MediaEntry_DownloadableThumbnail.ProtoReflect.Descriptor instead. +func (*MediaEntry_DownloadableThumbnail) Descriptor() ([]byte, []int) { + return file_waMediaEntryData_WAMediaEntryData_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *MediaEntry_DownloadableThumbnail) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *MediaEntry_DownloadableThumbnail) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *MediaEntry_DownloadableThumbnail) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *MediaEntry_DownloadableThumbnail) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *MediaEntry_DownloadableThumbnail) GetMediaKeyTimestamp() int64 { + if x != nil { + return x.MediaKeyTimestamp + } + return 0 +} + +func (x *MediaEntry_DownloadableThumbnail) GetObjectID() string { + if x != nil { + return x.ObjectID + } + return "" +} + +var File_waMediaEntryData_WAMediaEntryData_proto protoreflect.FileDescriptor + +//go:embed WAMediaEntryData.pb.raw +var file_waMediaEntryData_WAMediaEntryData_proto_rawDesc []byte + +var ( + file_waMediaEntryData_WAMediaEntryData_proto_rawDescOnce sync.Once + file_waMediaEntryData_WAMediaEntryData_proto_rawDescData = file_waMediaEntryData_WAMediaEntryData_proto_rawDesc +) + +func file_waMediaEntryData_WAMediaEntryData_proto_rawDescGZIP() []byte { + file_waMediaEntryData_WAMediaEntryData_proto_rawDescOnce.Do(func() { + file_waMediaEntryData_WAMediaEntryData_proto_rawDescData = protoimpl.X.CompressGZIP(file_waMediaEntryData_WAMediaEntryData_proto_rawDescData) + }) + return file_waMediaEntryData_WAMediaEntryData_proto_rawDescData +} + +var file_waMediaEntryData_WAMediaEntryData_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_waMediaEntryData_WAMediaEntryData_proto_goTypes = []interface{}{ + (*MediaEntry)(nil), // 0: WAMediaEntryData.MediaEntry + (*MediaEntry_ProgressiveJpegDetails)(nil), // 1: WAMediaEntryData.MediaEntry.ProgressiveJpegDetails + (*MediaEntry_DownloadableThumbnail)(nil), // 2: WAMediaEntryData.MediaEntry.DownloadableThumbnail +} +var file_waMediaEntryData_WAMediaEntryData_proto_depIdxs = []int32{ + 2, // 0: WAMediaEntryData.MediaEntry.downloadableThumbnail:type_name -> WAMediaEntryData.MediaEntry.DownloadableThumbnail + 1, // 1: WAMediaEntryData.MediaEntry.progressiveJPEGDetails:type_name -> WAMediaEntryData.MediaEntry.ProgressiveJpegDetails + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_waMediaEntryData_WAMediaEntryData_proto_init() } +func file_waMediaEntryData_WAMediaEntryData_proto_init() { + if File_waMediaEntryData_WAMediaEntryData_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MediaEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MediaEntry_ProgressiveJpegDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaEntryData_WAMediaEntryData_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MediaEntry_DownloadableThumbnail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waMediaEntryData_WAMediaEntryData_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waMediaEntryData_WAMediaEntryData_proto_goTypes, + DependencyIndexes: file_waMediaEntryData_WAMediaEntryData_proto_depIdxs, + MessageInfos: file_waMediaEntryData_WAMediaEntryData_proto_msgTypes, + }.Build() + File_waMediaEntryData_WAMediaEntryData_proto = out.File + file_waMediaEntryData_WAMediaEntryData_proto_rawDesc = nil + file_waMediaEntryData_WAMediaEntryData_proto_goTypes = nil + file_waMediaEntryData_WAMediaEntryData_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaEntryData/WAMediaEntryData.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaEntryData/WAMediaEntryData.pb.raw new file mode 100644 index 00000000..da28de0c --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaEntryData/WAMediaEntryData.pb.raw @@ -0,0 +1,38 @@ + +'waMediaEntryData/WAMediaEntryData.protoWAMediaEntryData"É + +MediaEntry + +fileSHA256 ( R +fileSHA256 +mediaKey ( RmediaKey$ + fileEncSHA256 ( R fileEncSHA256 + +directPath ( R +directPath, +mediaKeyTimestamp (RmediaKeyTimestamp( +serverMediaType ( RserverMediaType + uploadToken ( R uploadToken. +validatedTimestamp ( RvalidatedTimestamp +sidecar ( Rsidecar +objectID + ( RobjectID +FBID ( RFBIDh +downloadableThumbnail ( 22.WAMediaEntryData.MediaEntry.DownloadableThumbnailRdownloadableThumbnail +handle ( Rhandle +filename ( Rfilenamek +progressiveJPEGDetails ( 23.WAMediaEntryData.MediaEntry.ProgressiveJpegDetailsRprogressiveJPEGDetailsT +ProgressiveJpegDetails + scanLengths (R scanLengths +sidecar ( Rsidecarã +DownloadableThumbnail + +fileSHA256 ( R +fileSHA256$ + fileEncSHA256 ( R fileEncSHA256 + +directPath ( R +directPath +mediaKey ( RmediaKey, +mediaKeyTimestamp (RmediaKeyTimestamp +objectID ( RobjectIDB7Z5go.mau.fi/whatsmeow/binary/armadillo/waMediaEntryDatabproto3 \ No newline at end of file diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaEntryData/WAMediaEntryData.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaEntryData/WAMediaEntryData.proto new file mode 100644 index 00000000..643b9e0d --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaEntryData/WAMediaEntryData.proto @@ -0,0 +1,35 @@ +syntax = "proto3"; +package WAMediaEntryData; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waMediaEntryData"; + +message MediaEntry { + message ProgressiveJpegDetails { + repeated int64 scanLengths = 1; + bytes sidecar = 2; + } + + message DownloadableThumbnail { + bytes fileSHA256 = 1; + bytes fileEncSHA256 = 2; + string directPath = 3; + bytes mediaKey = 4; + int64 mediaKeyTimestamp = 5; + string objectID = 6; + } + + bytes fileSHA256 = 1; + bytes mediaKey = 2; + bytes fileEncSHA256 = 3; + string directPath = 4; + int64 mediaKeyTimestamp = 5; + string serverMediaType = 6; + bytes uploadToken = 7; + bytes validatedTimestamp = 8; + bytes sidecar = 9; + string objectID = 10; + string FBID = 11; + DownloadableThumbnail downloadableThumbnail = 12; + string handle = 13; + string filename = 14; + ProgressiveJpegDetails progressiveJPEGDetails = 15; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.pb.go new file mode 100644 index 00000000..b2777161 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.pb.go @@ -0,0 +1,1962 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waMediaTransport/WAMediaTransport.proto + +package waMediaTransport + +import ( + reflect "reflect" + sync "sync" + + waCommon "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ImageTransport_Ancillary_HdType int32 + +const ( + ImageTransport_Ancillary_NONE ImageTransport_Ancillary_HdType = 0 + ImageTransport_Ancillary_LQ_4K ImageTransport_Ancillary_HdType = 1 + ImageTransport_Ancillary_HQ_4K ImageTransport_Ancillary_HdType = 2 +) + +// Enum value maps for ImageTransport_Ancillary_HdType. +var ( + ImageTransport_Ancillary_HdType_name = map[int32]string{ + 0: "NONE", + 1: "LQ_4K", + 2: "HQ_4K", + } + ImageTransport_Ancillary_HdType_value = map[string]int32{ + "NONE": 0, + "LQ_4K": 1, + "HQ_4K": 2, + } +) + +func (x ImageTransport_Ancillary_HdType) Enum() *ImageTransport_Ancillary_HdType { + p := new(ImageTransport_Ancillary_HdType) + *p = x + return p +} + +func (x ImageTransport_Ancillary_HdType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ImageTransport_Ancillary_HdType) Descriptor() protoreflect.EnumDescriptor { + return file_waMediaTransport_WAMediaTransport_proto_enumTypes[0].Descriptor() +} + +func (ImageTransport_Ancillary_HdType) Type() protoreflect.EnumType { + return &file_waMediaTransport_WAMediaTransport_proto_enumTypes[0] +} + +func (x ImageTransport_Ancillary_HdType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ImageTransport_Ancillary_HdType.Descriptor instead. +func (ImageTransport_Ancillary_HdType) EnumDescriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{1, 0, 0} +} + +type VideoTransport_Ancillary_Attribution int32 + +const ( + VideoTransport_Ancillary_NONE VideoTransport_Ancillary_Attribution = 0 + VideoTransport_Ancillary_GIPHY VideoTransport_Ancillary_Attribution = 1 + VideoTransport_Ancillary_TENOR VideoTransport_Ancillary_Attribution = 2 +) + +// Enum value maps for VideoTransport_Ancillary_Attribution. +var ( + VideoTransport_Ancillary_Attribution_name = map[int32]string{ + 0: "NONE", + 1: "GIPHY", + 2: "TENOR", + } + VideoTransport_Ancillary_Attribution_value = map[string]int32{ + "NONE": 0, + "GIPHY": 1, + "TENOR": 2, + } +) + +func (x VideoTransport_Ancillary_Attribution) Enum() *VideoTransport_Ancillary_Attribution { + p := new(VideoTransport_Ancillary_Attribution) + *p = x + return p +} + +func (x VideoTransport_Ancillary_Attribution) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (VideoTransport_Ancillary_Attribution) Descriptor() protoreflect.EnumDescriptor { + return file_waMediaTransport_WAMediaTransport_proto_enumTypes[1].Descriptor() +} + +func (VideoTransport_Ancillary_Attribution) Type() protoreflect.EnumType { + return &file_waMediaTransport_WAMediaTransport_proto_enumTypes[1] +} + +func (x VideoTransport_Ancillary_Attribution) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use VideoTransport_Ancillary_Attribution.Descriptor instead. +func (VideoTransport_Ancillary_Attribution) EnumDescriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{2, 0, 0} +} + +type WAMediaTransport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Integral *WAMediaTransport_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` + Ancillary *WAMediaTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` +} + +func (x *WAMediaTransport) Reset() { + *x = WAMediaTransport{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WAMediaTransport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WAMediaTransport) ProtoMessage() {} + +func (x *WAMediaTransport) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WAMediaTransport.ProtoReflect.Descriptor instead. +func (*WAMediaTransport) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{0} +} + +func (x *WAMediaTransport) GetIntegral() *WAMediaTransport_Integral { + if x != nil { + return x.Integral + } + return nil +} + +func (x *WAMediaTransport) GetAncillary() *WAMediaTransport_Ancillary { + if x != nil { + return x.Ancillary + } + return nil +} + +type ImageTransport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Integral *ImageTransport_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` + Ancillary *ImageTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` +} + +func (x *ImageTransport) Reset() { + *x = ImageTransport{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageTransport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageTransport) ProtoMessage() {} + +func (x *ImageTransport) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ImageTransport.ProtoReflect.Descriptor instead. +func (*ImageTransport) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{1} +} + +func (x *ImageTransport) GetIntegral() *ImageTransport_Integral { + if x != nil { + return x.Integral + } + return nil +} + +func (x *ImageTransport) GetAncillary() *ImageTransport_Ancillary { + if x != nil { + return x.Ancillary + } + return nil +} + +type VideoTransport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Integral *VideoTransport_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` + Ancillary *VideoTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` +} + +func (x *VideoTransport) Reset() { + *x = VideoTransport{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoTransport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoTransport) ProtoMessage() {} + +func (x *VideoTransport) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VideoTransport.ProtoReflect.Descriptor instead. +func (*VideoTransport) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{2} +} + +func (x *VideoTransport) GetIntegral() *VideoTransport_Integral { + if x != nil { + return x.Integral + } + return nil +} + +func (x *VideoTransport) GetAncillary() *VideoTransport_Ancillary { + if x != nil { + return x.Ancillary + } + return nil +} + +type AudioTransport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Integral *AudioTransport_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` + Ancillary *AudioTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` +} + +func (x *AudioTransport) Reset() { + *x = AudioTransport{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AudioTransport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AudioTransport) ProtoMessage() {} + +func (x *AudioTransport) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AudioTransport.ProtoReflect.Descriptor instead. +func (*AudioTransport) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{3} +} + +func (x *AudioTransport) GetIntegral() *AudioTransport_Integral { + if x != nil { + return x.Integral + } + return nil +} + +func (x *AudioTransport) GetAncillary() *AudioTransport_Ancillary { + if x != nil { + return x.Ancillary + } + return nil +} + +type DocumentTransport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Integral *DocumentTransport_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` + Ancillary *DocumentTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` +} + +func (x *DocumentTransport) Reset() { + *x = DocumentTransport{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DocumentTransport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DocumentTransport) ProtoMessage() {} + +func (x *DocumentTransport) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DocumentTransport.ProtoReflect.Descriptor instead. +func (*DocumentTransport) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{4} +} + +func (x *DocumentTransport) GetIntegral() *DocumentTransport_Integral { + if x != nil { + return x.Integral + } + return nil +} + +func (x *DocumentTransport) GetAncillary() *DocumentTransport_Ancillary { + if x != nil { + return x.Ancillary + } + return nil +} + +type StickerTransport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Integral *StickerTransport_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` + Ancillary *StickerTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` +} + +func (x *StickerTransport) Reset() { + *x = StickerTransport{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StickerTransport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StickerTransport) ProtoMessage() {} + +func (x *StickerTransport) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StickerTransport.ProtoReflect.Descriptor instead. +func (*StickerTransport) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{5} +} + +func (x *StickerTransport) GetIntegral() *StickerTransport_Integral { + if x != nil { + return x.Integral + } + return nil +} + +func (x *StickerTransport) GetAncillary() *StickerTransport_Ancillary { + if x != nil { + return x.Ancillary + } + return nil +} + +type ContactTransport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Integral *ContactTransport_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` + Ancillary *ContactTransport_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` +} + +func (x *ContactTransport) Reset() { + *x = ContactTransport{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContactTransport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContactTransport) ProtoMessage() {} + +func (x *ContactTransport) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContactTransport.ProtoReflect.Descriptor instead. +func (*ContactTransport) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{6} +} + +func (x *ContactTransport) GetIntegral() *ContactTransport_Integral { + if x != nil { + return x.Integral + } + return nil +} + +func (x *ContactTransport) GetAncillary() *ContactTransport_Ancillary { + if x != nil { + return x.Ancillary + } + return nil +} + +type WAMediaTransport_Ancillary struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileLength uint64 `protobuf:"varint,1,opt,name=fileLength,proto3" json:"fileLength,omitempty"` + Mimetype string `protobuf:"bytes,2,opt,name=mimetype,proto3" json:"mimetype,omitempty"` + Thumbnail *WAMediaTransport_Ancillary_Thumbnail `protobuf:"bytes,3,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` + ObjectID string `protobuf:"bytes,4,opt,name=objectID,proto3" json:"objectID,omitempty"` +} + +func (x *WAMediaTransport_Ancillary) Reset() { + *x = WAMediaTransport_Ancillary{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WAMediaTransport_Ancillary) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WAMediaTransport_Ancillary) ProtoMessage() {} + +func (x *WAMediaTransport_Ancillary) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WAMediaTransport_Ancillary.ProtoReflect.Descriptor instead. +func (*WAMediaTransport_Ancillary) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *WAMediaTransport_Ancillary) GetFileLength() uint64 { + if x != nil { + return x.FileLength + } + return 0 +} + +func (x *WAMediaTransport_Ancillary) GetMimetype() string { + if x != nil { + return x.Mimetype + } + return "" +} + +func (x *WAMediaTransport_Ancillary) GetThumbnail() *WAMediaTransport_Ancillary_Thumbnail { + if x != nil { + return x.Thumbnail + } + return nil +} + +func (x *WAMediaTransport_Ancillary) GetObjectID() string { + if x != nil { + return x.ObjectID + } + return "" +} + +type WAMediaTransport_Integral struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileSHA256 []byte `protobuf:"bytes,1,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` + MediaKey []byte `protobuf:"bytes,2,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,3,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` + DirectPath string `protobuf:"bytes,4,opt,name=directPath,proto3" json:"directPath,omitempty"` + MediaKeyTimestamp int64 `protobuf:"varint,5,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"` +} + +func (x *WAMediaTransport_Integral) Reset() { + *x = WAMediaTransport_Integral{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WAMediaTransport_Integral) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WAMediaTransport_Integral) ProtoMessage() {} + +func (x *WAMediaTransport_Integral) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WAMediaTransport_Integral.ProtoReflect.Descriptor instead. +func (*WAMediaTransport_Integral) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *WAMediaTransport_Integral) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *WAMediaTransport_Integral) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *WAMediaTransport_Integral) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *WAMediaTransport_Integral) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *WAMediaTransport_Integral) GetMediaKeyTimestamp() int64 { + if x != nil { + return x.MediaKeyTimestamp + } + return 0 +} + +type WAMediaTransport_Ancillary_Thumbnail struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + JPEGThumbnail []byte `protobuf:"bytes,1,opt,name=JPEGThumbnail,proto3" json:"JPEGThumbnail,omitempty"` + DownloadableThumbnail *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail `protobuf:"bytes,2,opt,name=downloadableThumbnail,proto3" json:"downloadableThumbnail,omitempty"` + ThumbnailWidth uint32 `protobuf:"varint,3,opt,name=thumbnailWidth,proto3" json:"thumbnailWidth,omitempty"` + ThumbnailHeight uint32 `protobuf:"varint,4,opt,name=thumbnailHeight,proto3" json:"thumbnailHeight,omitempty"` +} + +func (x *WAMediaTransport_Ancillary_Thumbnail) Reset() { + *x = WAMediaTransport_Ancillary_Thumbnail{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WAMediaTransport_Ancillary_Thumbnail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WAMediaTransport_Ancillary_Thumbnail) ProtoMessage() {} + +func (x *WAMediaTransport_Ancillary_Thumbnail) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WAMediaTransport_Ancillary_Thumbnail.ProtoReflect.Descriptor instead. +func (*WAMediaTransport_Ancillary_Thumbnail) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{0, 0, 0} +} + +func (x *WAMediaTransport_Ancillary_Thumbnail) GetJPEGThumbnail() []byte { + if x != nil { + return x.JPEGThumbnail + } + return nil +} + +func (x *WAMediaTransport_Ancillary_Thumbnail) GetDownloadableThumbnail() *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail { + if x != nil { + return x.DownloadableThumbnail + } + return nil +} + +func (x *WAMediaTransport_Ancillary_Thumbnail) GetThumbnailWidth() uint32 { + if x != nil { + return x.ThumbnailWidth + } + return 0 +} + +func (x *WAMediaTransport_Ancillary_Thumbnail) GetThumbnailHeight() uint32 { + if x != nil { + return x.ThumbnailHeight + } + return 0 +} + +type WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FileSHA256 []byte `protobuf:"bytes,1,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,2,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` + DirectPath string `protobuf:"bytes,3,opt,name=directPath,proto3" json:"directPath,omitempty"` + MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + MediaKeyTimestamp int64 `protobuf:"varint,5,opt,name=mediaKeyTimestamp,proto3" json:"mediaKeyTimestamp,omitempty"` + ObjectID string `protobuf:"bytes,6,opt,name=objectID,proto3" json:"objectID,omitempty"` +} + +func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) Reset() { + *x = WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) ProtoMessage() {} + +func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail.ProtoReflect.Descriptor instead. +func (*WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{0, 0, 0, 0} +} + +func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) GetMediaKeyTimestamp() int64 { + if x != nil { + return x.MediaKeyTimestamp + } + return 0 +} + +func (x *WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail) GetObjectID() string { + if x != nil { + return x.ObjectID + } + return "" +} + +type ImageTransport_Ancillary struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Height uint32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` + Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` + ScansSidecar []byte `protobuf:"bytes,3,opt,name=scansSidecar,proto3" json:"scansSidecar,omitempty"` + ScanLengths []uint32 `protobuf:"varint,4,rep,packed,name=scanLengths,proto3" json:"scanLengths,omitempty"` + MidQualityFileSHA256 []byte `protobuf:"bytes,5,opt,name=midQualityFileSHA256,proto3" json:"midQualityFileSHA256,omitempty"` + HdType ImageTransport_Ancillary_HdType `protobuf:"varint,6,opt,name=hdType,proto3,enum=WAMediaTransport.ImageTransport_Ancillary_HdType" json:"hdType,omitempty"` +} + +func (x *ImageTransport_Ancillary) Reset() { + *x = ImageTransport_Ancillary{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageTransport_Ancillary) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageTransport_Ancillary) ProtoMessage() {} + +func (x *ImageTransport_Ancillary) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ImageTransport_Ancillary.ProtoReflect.Descriptor instead. +func (*ImageTransport_Ancillary) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *ImageTransport_Ancillary) GetHeight() uint32 { + if x != nil { + return x.Height + } + return 0 +} + +func (x *ImageTransport_Ancillary) GetWidth() uint32 { + if x != nil { + return x.Width + } + return 0 +} + +func (x *ImageTransport_Ancillary) GetScansSidecar() []byte { + if x != nil { + return x.ScansSidecar + } + return nil +} + +func (x *ImageTransport_Ancillary) GetScanLengths() []uint32 { + if x != nil { + return x.ScanLengths + } + return nil +} + +func (x *ImageTransport_Ancillary) GetMidQualityFileSHA256() []byte { + if x != nil { + return x.MidQualityFileSHA256 + } + return nil +} + +func (x *ImageTransport_Ancillary) GetHdType() ImageTransport_Ancillary_HdType { + if x != nil { + return x.HdType + } + return ImageTransport_Ancillary_NONE +} + +type ImageTransport_Integral struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport,proto3" json:"transport,omitempty"` +} + +func (x *ImageTransport_Integral) Reset() { + *x = ImageTransport_Integral{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageTransport_Integral) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageTransport_Integral) ProtoMessage() {} + +func (x *ImageTransport_Integral) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ImageTransport_Integral.ProtoReflect.Descriptor instead. +func (*ImageTransport_Integral) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{1, 1} +} + +func (x *ImageTransport_Integral) GetTransport() *WAMediaTransport { + if x != nil { + return x.Transport + } + return nil +} + +type VideoTransport_Ancillary struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Seconds uint32 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` + Caption *waCommon.MessageText `protobuf:"bytes,2,opt,name=caption,proto3" json:"caption,omitempty"` + GifPlayback bool `protobuf:"varint,3,opt,name=gifPlayback,proto3" json:"gifPlayback,omitempty"` + Height uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"` + Width uint32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"` + Sidecar []byte `protobuf:"bytes,6,opt,name=sidecar,proto3" json:"sidecar,omitempty"` + GifAttribution VideoTransport_Ancillary_Attribution `protobuf:"varint,7,opt,name=gifAttribution,proto3,enum=WAMediaTransport.VideoTransport_Ancillary_Attribution" json:"gifAttribution,omitempty"` +} + +func (x *VideoTransport_Ancillary) Reset() { + *x = VideoTransport_Ancillary{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoTransport_Ancillary) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoTransport_Ancillary) ProtoMessage() {} + +func (x *VideoTransport_Ancillary) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VideoTransport_Ancillary.ProtoReflect.Descriptor instead. +func (*VideoTransport_Ancillary) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{2, 0} +} + +func (x *VideoTransport_Ancillary) GetSeconds() uint32 { + if x != nil { + return x.Seconds + } + return 0 +} + +func (x *VideoTransport_Ancillary) GetCaption() *waCommon.MessageText { + if x != nil { + return x.Caption + } + return nil +} + +func (x *VideoTransport_Ancillary) GetGifPlayback() bool { + if x != nil { + return x.GifPlayback + } + return false +} + +func (x *VideoTransport_Ancillary) GetHeight() uint32 { + if x != nil { + return x.Height + } + return 0 +} + +func (x *VideoTransport_Ancillary) GetWidth() uint32 { + if x != nil { + return x.Width + } + return 0 +} + +func (x *VideoTransport_Ancillary) GetSidecar() []byte { + if x != nil { + return x.Sidecar + } + return nil +} + +func (x *VideoTransport_Ancillary) GetGifAttribution() VideoTransport_Ancillary_Attribution { + if x != nil { + return x.GifAttribution + } + return VideoTransport_Ancillary_NONE +} + +type VideoTransport_Integral struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport,proto3" json:"transport,omitempty"` +} + +func (x *VideoTransport_Integral) Reset() { + *x = VideoTransport_Integral{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoTransport_Integral) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoTransport_Integral) ProtoMessage() {} + +func (x *VideoTransport_Integral) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VideoTransport_Integral.ProtoReflect.Descriptor instead. +func (*VideoTransport_Integral) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{2, 1} +} + +func (x *VideoTransport_Integral) GetTransport() *WAMediaTransport { + if x != nil { + return x.Transport + } + return nil +} + +type AudioTransport_Ancillary struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Seconds uint32 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` +} + +func (x *AudioTransport_Ancillary) Reset() { + *x = AudioTransport_Ancillary{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AudioTransport_Ancillary) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AudioTransport_Ancillary) ProtoMessage() {} + +func (x *AudioTransport_Ancillary) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AudioTransport_Ancillary.ProtoReflect.Descriptor instead. +func (*AudioTransport_Ancillary) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{3, 0} +} + +func (x *AudioTransport_Ancillary) GetSeconds() uint32 { + if x != nil { + return x.Seconds + } + return 0 +} + +type AudioTransport_Integral struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport,proto3" json:"transport,omitempty"` +} + +func (x *AudioTransport_Integral) Reset() { + *x = AudioTransport_Integral{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AudioTransport_Integral) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AudioTransport_Integral) ProtoMessage() {} + +func (x *AudioTransport_Integral) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AudioTransport_Integral.ProtoReflect.Descriptor instead. +func (*AudioTransport_Integral) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{3, 1} +} + +func (x *AudioTransport_Integral) GetTransport() *WAMediaTransport { + if x != nil { + return x.Transport + } + return nil +} + +type DocumentTransport_Ancillary struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PageCount uint32 `protobuf:"varint,1,opt,name=pageCount,proto3" json:"pageCount,omitempty"` +} + +func (x *DocumentTransport_Ancillary) Reset() { + *x = DocumentTransport_Ancillary{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DocumentTransport_Ancillary) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DocumentTransport_Ancillary) ProtoMessage() {} + +func (x *DocumentTransport_Ancillary) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DocumentTransport_Ancillary.ProtoReflect.Descriptor instead. +func (*DocumentTransport_Ancillary) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{4, 0} +} + +func (x *DocumentTransport_Ancillary) GetPageCount() uint32 { + if x != nil { + return x.PageCount + } + return 0 +} + +type DocumentTransport_Integral struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport,proto3" json:"transport,omitempty"` +} + +func (x *DocumentTransport_Integral) Reset() { + *x = DocumentTransport_Integral{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DocumentTransport_Integral) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DocumentTransport_Integral) ProtoMessage() {} + +func (x *DocumentTransport_Integral) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DocumentTransport_Integral.ProtoReflect.Descriptor instead. +func (*DocumentTransport_Integral) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{4, 1} +} + +func (x *DocumentTransport_Integral) GetTransport() *WAMediaTransport { + if x != nil { + return x.Transport + } + return nil +} + +type StickerTransport_Ancillary struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PageCount uint32 `protobuf:"varint,1,opt,name=pageCount,proto3" json:"pageCount,omitempty"` + Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` + Width uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"` + FirstFrameLength uint32 `protobuf:"varint,4,opt,name=firstFrameLength,proto3" json:"firstFrameLength,omitempty"` + FirstFrameSidecar []byte `protobuf:"bytes,5,opt,name=firstFrameSidecar,proto3" json:"firstFrameSidecar,omitempty"` + MustacheText string `protobuf:"bytes,6,opt,name=mustacheText,proto3" json:"mustacheText,omitempty"` + IsThirdParty bool `protobuf:"varint,7,opt,name=isThirdParty,proto3" json:"isThirdParty,omitempty"` + ReceiverFetchID string `protobuf:"bytes,8,opt,name=receiverFetchID,proto3" json:"receiverFetchID,omitempty"` +} + +func (x *StickerTransport_Ancillary) Reset() { + *x = StickerTransport_Ancillary{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StickerTransport_Ancillary) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StickerTransport_Ancillary) ProtoMessage() {} + +func (x *StickerTransport_Ancillary) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StickerTransport_Ancillary.ProtoReflect.Descriptor instead. +func (*StickerTransport_Ancillary) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{5, 0} +} + +func (x *StickerTransport_Ancillary) GetPageCount() uint32 { + if x != nil { + return x.PageCount + } + return 0 +} + +func (x *StickerTransport_Ancillary) GetHeight() uint32 { + if x != nil { + return x.Height + } + return 0 +} + +func (x *StickerTransport_Ancillary) GetWidth() uint32 { + if x != nil { + return x.Width + } + return 0 +} + +func (x *StickerTransport_Ancillary) GetFirstFrameLength() uint32 { + if x != nil { + return x.FirstFrameLength + } + return 0 +} + +func (x *StickerTransport_Ancillary) GetFirstFrameSidecar() []byte { + if x != nil { + return x.FirstFrameSidecar + } + return nil +} + +func (x *StickerTransport_Ancillary) GetMustacheText() string { + if x != nil { + return x.MustacheText + } + return "" +} + +func (x *StickerTransport_Ancillary) GetIsThirdParty() bool { + if x != nil { + return x.IsThirdParty + } + return false +} + +func (x *StickerTransport_Ancillary) GetReceiverFetchID() string { + if x != nil { + return x.ReceiverFetchID + } + return "" +} + +type StickerTransport_Integral struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Transport *WAMediaTransport `protobuf:"bytes,1,opt,name=transport,proto3" json:"transport,omitempty"` + IsAnimated bool `protobuf:"varint,2,opt,name=isAnimated,proto3" json:"isAnimated,omitempty"` + ReceiverFetchID string `protobuf:"bytes,3,opt,name=receiverFetchID,proto3" json:"receiverFetchID,omitempty"` +} + +func (x *StickerTransport_Integral) Reset() { + *x = StickerTransport_Integral{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StickerTransport_Integral) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StickerTransport_Integral) ProtoMessage() {} + +func (x *StickerTransport_Integral) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StickerTransport_Integral.ProtoReflect.Descriptor instead. +func (*StickerTransport_Integral) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{5, 1} +} + +func (x *StickerTransport_Integral) GetTransport() *WAMediaTransport { + if x != nil { + return x.Transport + } + return nil +} + +func (x *StickerTransport_Integral) GetIsAnimated() bool { + if x != nil { + return x.IsAnimated + } + return false +} + +func (x *StickerTransport_Integral) GetReceiverFetchID() string { + if x != nil { + return x.ReceiverFetchID + } + return "" +} + +type ContactTransport_Ancillary struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DisplayName string `protobuf:"bytes,1,opt,name=displayName,proto3" json:"displayName,omitempty"` +} + +func (x *ContactTransport_Ancillary) Reset() { + *x = ContactTransport_Ancillary{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContactTransport_Ancillary) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContactTransport_Ancillary) ProtoMessage() {} + +func (x *ContactTransport_Ancillary) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContactTransport_Ancillary.ProtoReflect.Descriptor instead. +func (*ContactTransport_Ancillary) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{6, 0} +} + +func (x *ContactTransport_Ancillary) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +type ContactTransport_Integral struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Contact: + // + // *ContactTransport_Integral_Vcard + // *ContactTransport_Integral_DownloadableVcard + Contact isContactTransport_Integral_Contact `protobuf_oneof:"contact"` +} + +func (x *ContactTransport_Integral) Reset() { + *x = ContactTransport_Integral{} + if protoimpl.UnsafeEnabled { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContactTransport_Integral) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContactTransport_Integral) ProtoMessage() {} + +func (x *ContactTransport_Integral) ProtoReflect() protoreflect.Message { + mi := &file_waMediaTransport_WAMediaTransport_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContactTransport_Integral.ProtoReflect.Descriptor instead. +func (*ContactTransport_Integral) Descriptor() ([]byte, []int) { + return file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP(), []int{6, 1} +} + +func (m *ContactTransport_Integral) GetContact() isContactTransport_Integral_Contact { + if m != nil { + return m.Contact + } + return nil +} + +func (x *ContactTransport_Integral) GetVcard() string { + if x, ok := x.GetContact().(*ContactTransport_Integral_Vcard); ok { + return x.Vcard + } + return "" +} + +func (x *ContactTransport_Integral) GetDownloadableVcard() *WAMediaTransport { + if x, ok := x.GetContact().(*ContactTransport_Integral_DownloadableVcard); ok { + return x.DownloadableVcard + } + return nil +} + +type isContactTransport_Integral_Contact interface { + isContactTransport_Integral_Contact() +} + +type ContactTransport_Integral_Vcard struct { + Vcard string `protobuf:"bytes,1,opt,name=vcard,proto3,oneof"` +} + +type ContactTransport_Integral_DownloadableVcard struct { + DownloadableVcard *WAMediaTransport `protobuf:"bytes,2,opt,name=downloadableVcard,proto3,oneof"` +} + +func (*ContactTransport_Integral_Vcard) isContactTransport_Integral_Contact() {} + +func (*ContactTransport_Integral_DownloadableVcard) isContactTransport_Integral_Contact() {} + +var File_waMediaTransport_WAMediaTransport_proto protoreflect.FileDescriptor + +//go:embed WAMediaTransport.pb.raw +var file_waMediaTransport_WAMediaTransport_proto_rawDesc []byte + +var ( + file_waMediaTransport_WAMediaTransport_proto_rawDescOnce sync.Once + file_waMediaTransport_WAMediaTransport_proto_rawDescData = file_waMediaTransport_WAMediaTransport_proto_rawDesc +) + +func file_waMediaTransport_WAMediaTransport_proto_rawDescGZIP() []byte { + file_waMediaTransport_WAMediaTransport_proto_rawDescOnce.Do(func() { + file_waMediaTransport_WAMediaTransport_proto_rawDescData = protoimpl.X.CompressGZIP(file_waMediaTransport_WAMediaTransport_proto_rawDescData) + }) + return file_waMediaTransport_WAMediaTransport_proto_rawDescData +} + +var file_waMediaTransport_WAMediaTransport_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_waMediaTransport_WAMediaTransport_proto_msgTypes = make([]protoimpl.MessageInfo, 23) +var file_waMediaTransport_WAMediaTransport_proto_goTypes = []interface{}{ + (ImageTransport_Ancillary_HdType)(0), // 0: WAMediaTransport.ImageTransport.Ancillary.HdType + (VideoTransport_Ancillary_Attribution)(0), // 1: WAMediaTransport.VideoTransport.Ancillary.Attribution + (*WAMediaTransport)(nil), // 2: WAMediaTransport.WAMediaTransport + (*ImageTransport)(nil), // 3: WAMediaTransport.ImageTransport + (*VideoTransport)(nil), // 4: WAMediaTransport.VideoTransport + (*AudioTransport)(nil), // 5: WAMediaTransport.AudioTransport + (*DocumentTransport)(nil), // 6: WAMediaTransport.DocumentTransport + (*StickerTransport)(nil), // 7: WAMediaTransport.StickerTransport + (*ContactTransport)(nil), // 8: WAMediaTransport.ContactTransport + (*WAMediaTransport_Ancillary)(nil), // 9: WAMediaTransport.WAMediaTransport.Ancillary + (*WAMediaTransport_Integral)(nil), // 10: WAMediaTransport.WAMediaTransport.Integral + (*WAMediaTransport_Ancillary_Thumbnail)(nil), // 11: WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail + (*WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail)(nil), // 12: WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail.DownloadableThumbnail + (*ImageTransport_Ancillary)(nil), // 13: WAMediaTransport.ImageTransport.Ancillary + (*ImageTransport_Integral)(nil), // 14: WAMediaTransport.ImageTransport.Integral + (*VideoTransport_Ancillary)(nil), // 15: WAMediaTransport.VideoTransport.Ancillary + (*VideoTransport_Integral)(nil), // 16: WAMediaTransport.VideoTransport.Integral + (*AudioTransport_Ancillary)(nil), // 17: WAMediaTransport.AudioTransport.Ancillary + (*AudioTransport_Integral)(nil), // 18: WAMediaTransport.AudioTransport.Integral + (*DocumentTransport_Ancillary)(nil), // 19: WAMediaTransport.DocumentTransport.Ancillary + (*DocumentTransport_Integral)(nil), // 20: WAMediaTransport.DocumentTransport.Integral + (*StickerTransport_Ancillary)(nil), // 21: WAMediaTransport.StickerTransport.Ancillary + (*StickerTransport_Integral)(nil), // 22: WAMediaTransport.StickerTransport.Integral + (*ContactTransport_Ancillary)(nil), // 23: WAMediaTransport.ContactTransport.Ancillary + (*ContactTransport_Integral)(nil), // 24: WAMediaTransport.ContactTransport.Integral + (*waCommon.MessageText)(nil), // 25: WACommon.MessageText +} +var file_waMediaTransport_WAMediaTransport_proto_depIdxs = []int32{ + 10, // 0: WAMediaTransport.WAMediaTransport.integral:type_name -> WAMediaTransport.WAMediaTransport.Integral + 9, // 1: WAMediaTransport.WAMediaTransport.ancillary:type_name -> WAMediaTransport.WAMediaTransport.Ancillary + 14, // 2: WAMediaTransport.ImageTransport.integral:type_name -> WAMediaTransport.ImageTransport.Integral + 13, // 3: WAMediaTransport.ImageTransport.ancillary:type_name -> WAMediaTransport.ImageTransport.Ancillary + 16, // 4: WAMediaTransport.VideoTransport.integral:type_name -> WAMediaTransport.VideoTransport.Integral + 15, // 5: WAMediaTransport.VideoTransport.ancillary:type_name -> WAMediaTransport.VideoTransport.Ancillary + 18, // 6: WAMediaTransport.AudioTransport.integral:type_name -> WAMediaTransport.AudioTransport.Integral + 17, // 7: WAMediaTransport.AudioTransport.ancillary:type_name -> WAMediaTransport.AudioTransport.Ancillary + 20, // 8: WAMediaTransport.DocumentTransport.integral:type_name -> WAMediaTransport.DocumentTransport.Integral + 19, // 9: WAMediaTransport.DocumentTransport.ancillary:type_name -> WAMediaTransport.DocumentTransport.Ancillary + 22, // 10: WAMediaTransport.StickerTransport.integral:type_name -> WAMediaTransport.StickerTransport.Integral + 21, // 11: WAMediaTransport.StickerTransport.ancillary:type_name -> WAMediaTransport.StickerTransport.Ancillary + 24, // 12: WAMediaTransport.ContactTransport.integral:type_name -> WAMediaTransport.ContactTransport.Integral + 23, // 13: WAMediaTransport.ContactTransport.ancillary:type_name -> WAMediaTransport.ContactTransport.Ancillary + 11, // 14: WAMediaTransport.WAMediaTransport.Ancillary.thumbnail:type_name -> WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail + 12, // 15: WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail.downloadableThumbnail:type_name -> WAMediaTransport.WAMediaTransport.Ancillary.Thumbnail.DownloadableThumbnail + 0, // 16: WAMediaTransport.ImageTransport.Ancillary.hdType:type_name -> WAMediaTransport.ImageTransport.Ancillary.HdType + 2, // 17: WAMediaTransport.ImageTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport + 25, // 18: WAMediaTransport.VideoTransport.Ancillary.caption:type_name -> WACommon.MessageText + 1, // 19: WAMediaTransport.VideoTransport.Ancillary.gifAttribution:type_name -> WAMediaTransport.VideoTransport.Ancillary.Attribution + 2, // 20: WAMediaTransport.VideoTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport + 2, // 21: WAMediaTransport.AudioTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport + 2, // 22: WAMediaTransport.DocumentTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport + 2, // 23: WAMediaTransport.StickerTransport.Integral.transport:type_name -> WAMediaTransport.WAMediaTransport + 2, // 24: WAMediaTransport.ContactTransport.Integral.downloadableVcard:type_name -> WAMediaTransport.WAMediaTransport + 25, // [25:25] is the sub-list for method output_type + 25, // [25:25] is the sub-list for method input_type + 25, // [25:25] is the sub-list for extension type_name + 25, // [25:25] is the sub-list for extension extendee + 0, // [0:25] is the sub-list for field type_name +} + +func init() { file_waMediaTransport_WAMediaTransport_proto_init() } +func file_waMediaTransport_WAMediaTransport_proto_init() { + if File_waMediaTransport_WAMediaTransport_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waMediaTransport_WAMediaTransport_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WAMediaTransport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageTransport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoTransport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AudioTransport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DocumentTransport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StickerTransport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContactTransport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WAMediaTransport_Ancillary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WAMediaTransport_Integral); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WAMediaTransport_Ancillary_Thumbnail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WAMediaTransport_Ancillary_Thumbnail_DownloadableThumbnail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageTransport_Ancillary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageTransport_Integral); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoTransport_Ancillary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoTransport_Integral); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AudioTransport_Ancillary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AudioTransport_Integral); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DocumentTransport_Ancillary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DocumentTransport_Integral); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StickerTransport_Ancillary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StickerTransport_Integral); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContactTransport_Ancillary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContactTransport_Integral); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_waMediaTransport_WAMediaTransport_proto_msgTypes[22].OneofWrappers = []interface{}{ + (*ContactTransport_Integral_Vcard)(nil), + (*ContactTransport_Integral_DownloadableVcard)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waMediaTransport_WAMediaTransport_proto_rawDesc, + NumEnums: 2, + NumMessages: 23, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waMediaTransport_WAMediaTransport_proto_goTypes, + DependencyIndexes: file_waMediaTransport_WAMediaTransport_proto_depIdxs, + EnumInfos: file_waMediaTransport_WAMediaTransport_proto_enumTypes, + MessageInfos: file_waMediaTransport_WAMediaTransport_proto_msgTypes, + }.Build() + File_waMediaTransport_WAMediaTransport_proto = out.File + file_waMediaTransport_WAMediaTransport_proto_rawDesc = nil + file_waMediaTransport_WAMediaTransport_proto_goTypes = nil + file_waMediaTransport_WAMediaTransport_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.pb.raw new file mode 100644 index 00000000..21385d32 Binary files /dev/null and b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.proto new file mode 100644 index 00000000..b76b2bb4 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport/WAMediaTransport.proto @@ -0,0 +1,154 @@ +syntax = "proto3"; +package WAMediaTransport; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport"; + +import "waCommon/WACommon.proto"; + +message WAMediaTransport { + message Ancillary { + message Thumbnail { + message DownloadableThumbnail { + bytes fileSHA256 = 1; + bytes fileEncSHA256 = 2; + string directPath = 3; + bytes mediaKey = 4; + int64 mediaKeyTimestamp = 5; + string objectID = 6; + } + + bytes JPEGThumbnail = 1; + DownloadableThumbnail downloadableThumbnail = 2; + uint32 thumbnailWidth = 3; + uint32 thumbnailHeight = 4; + } + + uint64 fileLength = 1; + string mimetype = 2; + Thumbnail thumbnail = 3; + string objectID = 4; + } + + message Integral { + bytes fileSHA256 = 1; + bytes mediaKey = 2; + bytes fileEncSHA256 = 3; + string directPath = 4; + int64 mediaKeyTimestamp = 5; + } + + Integral integral = 1; + Ancillary ancillary = 2; +} + +message ImageTransport { + message Ancillary { + enum HdType { + NONE = 0; + LQ_4K = 1; + HQ_4K = 2; + } + + uint32 height = 1; + uint32 width = 2; + bytes scansSidecar = 3; + repeated uint32 scanLengths = 4; + bytes midQualityFileSHA256 = 5; + HdType hdType = 6; + } + + message Integral { + WAMediaTransport transport = 1; + } + + Integral integral = 1; + Ancillary ancillary = 2; +} + +message VideoTransport { + message Ancillary { + enum Attribution { + NONE = 0; + GIPHY = 1; + TENOR = 2; + } + + uint32 seconds = 1; + WACommon.MessageText caption = 2; + bool gifPlayback = 3; + uint32 height = 4; + uint32 width = 5; + bytes sidecar = 6; + Attribution gifAttribution = 7; + } + + message Integral { + WAMediaTransport transport = 1; + } + + Integral integral = 1; + Ancillary ancillary = 2; +} + +message AudioTransport { + message Ancillary { + uint32 seconds = 1; + } + + message Integral { + WAMediaTransport transport = 1; + } + + Integral integral = 1; + Ancillary ancillary = 2; +} + +message DocumentTransport { + message Ancillary { + uint32 pageCount = 1; + } + + message Integral { + WAMediaTransport transport = 1; + } + + Integral integral = 1; + Ancillary ancillary = 2; +} + +message StickerTransport { + message Ancillary { + uint32 pageCount = 1; + uint32 height = 2; + uint32 width = 3; + uint32 firstFrameLength = 4; + bytes firstFrameSidecar = 5; + string mustacheText = 6; + bool isThirdParty = 7; + string receiverFetchID = 8; + } + + message Integral { + WAMediaTransport transport = 1; + bool isAnimated = 2; + string receiverFetchID = 3; + } + + Integral integral = 1; + Ancillary ancillary = 2; +} + +message ContactTransport { + message Ancillary { + string displayName = 1; + } + + message Integral { + oneof contact { + string vcard = 1; + WAMediaTransport downloadableVcard = 2; + } + } + + Integral integral = 1; + Ancillary ancillary = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMmsRetry/WAMmsRetry.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMmsRetry/WAMmsRetry.pb.go new file mode 100644 index 00000000..bec8650e --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMmsRetry/WAMmsRetry.pb.go @@ -0,0 +1,271 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waMmsRetry/WAMmsRetry.proto + +package waMmsRetry + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MediaRetryNotification_ResultType int32 + +const ( + MediaRetryNotification_GENERAL_ERROR MediaRetryNotification_ResultType = 0 + MediaRetryNotification_SUCCESS MediaRetryNotification_ResultType = 1 + MediaRetryNotification_NOT_FOUND MediaRetryNotification_ResultType = 2 + MediaRetryNotification_DECRYPTION_ERROR MediaRetryNotification_ResultType = 3 +) + +// Enum value maps for MediaRetryNotification_ResultType. +var ( + MediaRetryNotification_ResultType_name = map[int32]string{ + 0: "GENERAL_ERROR", + 1: "SUCCESS", + 2: "NOT_FOUND", + 3: "DECRYPTION_ERROR", + } + MediaRetryNotification_ResultType_value = map[string]int32{ + "GENERAL_ERROR": 0, + "SUCCESS": 1, + "NOT_FOUND": 2, + "DECRYPTION_ERROR": 3, + } +) + +func (x MediaRetryNotification_ResultType) Enum() *MediaRetryNotification_ResultType { + p := new(MediaRetryNotification_ResultType) + *p = x + return p +} + +func (x MediaRetryNotification_ResultType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MediaRetryNotification_ResultType) Descriptor() protoreflect.EnumDescriptor { + return file_waMmsRetry_WAMmsRetry_proto_enumTypes[0].Descriptor() +} + +func (MediaRetryNotification_ResultType) Type() protoreflect.EnumType { + return &file_waMmsRetry_WAMmsRetry_proto_enumTypes[0] +} + +func (x MediaRetryNotification_ResultType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MediaRetryNotification_ResultType.Descriptor instead. +func (MediaRetryNotification_ResultType) EnumDescriptor() ([]byte, []int) { + return file_waMmsRetry_WAMmsRetry_proto_rawDescGZIP(), []int{0, 0} +} + +type MediaRetryNotification struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StanzaID string `protobuf:"bytes,1,opt,name=stanzaID,proto3" json:"stanzaID,omitempty"` + DirectPath string `protobuf:"bytes,2,opt,name=directPath,proto3" json:"directPath,omitempty"` + Result MediaRetryNotification_ResultType `protobuf:"varint,3,opt,name=result,proto3,enum=WAMmsRetry.MediaRetryNotification_ResultType" json:"result,omitempty"` +} + +func (x *MediaRetryNotification) Reset() { + *x = MediaRetryNotification{} + if protoimpl.UnsafeEnabled { + mi := &file_waMmsRetry_WAMmsRetry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MediaRetryNotification) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MediaRetryNotification) ProtoMessage() {} + +func (x *MediaRetryNotification) ProtoReflect() protoreflect.Message { + mi := &file_waMmsRetry_WAMmsRetry_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MediaRetryNotification.ProtoReflect.Descriptor instead. +func (*MediaRetryNotification) Descriptor() ([]byte, []int) { + return file_waMmsRetry_WAMmsRetry_proto_rawDescGZIP(), []int{0} +} + +func (x *MediaRetryNotification) GetStanzaID() string { + if x != nil { + return x.StanzaID + } + return "" +} + +func (x *MediaRetryNotification) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *MediaRetryNotification) GetResult() MediaRetryNotification_ResultType { + if x != nil { + return x.Result + } + return MediaRetryNotification_GENERAL_ERROR +} + +type ServerErrorReceipt struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StanzaID string `protobuf:"bytes,1,opt,name=stanzaID,proto3" json:"stanzaID,omitempty"` +} + +func (x *ServerErrorReceipt) Reset() { + *x = ServerErrorReceipt{} + if protoimpl.UnsafeEnabled { + mi := &file_waMmsRetry_WAMmsRetry_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerErrorReceipt) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerErrorReceipt) ProtoMessage() {} + +func (x *ServerErrorReceipt) ProtoReflect() protoreflect.Message { + mi := &file_waMmsRetry_WAMmsRetry_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerErrorReceipt.ProtoReflect.Descriptor instead. +func (*ServerErrorReceipt) Descriptor() ([]byte, []int) { + return file_waMmsRetry_WAMmsRetry_proto_rawDescGZIP(), []int{1} +} + +func (x *ServerErrorReceipt) GetStanzaID() string { + if x != nil { + return x.StanzaID + } + return "" +} + +var File_waMmsRetry_WAMmsRetry_proto protoreflect.FileDescriptor + +//go:embed WAMmsRetry.pb.raw +var file_waMmsRetry_WAMmsRetry_proto_rawDesc []byte + +var ( + file_waMmsRetry_WAMmsRetry_proto_rawDescOnce sync.Once + file_waMmsRetry_WAMmsRetry_proto_rawDescData = file_waMmsRetry_WAMmsRetry_proto_rawDesc +) + +func file_waMmsRetry_WAMmsRetry_proto_rawDescGZIP() []byte { + file_waMmsRetry_WAMmsRetry_proto_rawDescOnce.Do(func() { + file_waMmsRetry_WAMmsRetry_proto_rawDescData = protoimpl.X.CompressGZIP(file_waMmsRetry_WAMmsRetry_proto_rawDescData) + }) + return file_waMmsRetry_WAMmsRetry_proto_rawDescData +} + +var file_waMmsRetry_WAMmsRetry_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_waMmsRetry_WAMmsRetry_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_waMmsRetry_WAMmsRetry_proto_goTypes = []interface{}{ + (MediaRetryNotification_ResultType)(0), // 0: WAMmsRetry.MediaRetryNotification.ResultType + (*MediaRetryNotification)(nil), // 1: WAMmsRetry.MediaRetryNotification + (*ServerErrorReceipt)(nil), // 2: WAMmsRetry.ServerErrorReceipt +} +var file_waMmsRetry_WAMmsRetry_proto_depIdxs = []int32{ + 0, // 0: WAMmsRetry.MediaRetryNotification.result:type_name -> WAMmsRetry.MediaRetryNotification.ResultType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_waMmsRetry_WAMmsRetry_proto_init() } +func file_waMmsRetry_WAMmsRetry_proto_init() { + if File_waMmsRetry_WAMmsRetry_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waMmsRetry_WAMmsRetry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MediaRetryNotification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMmsRetry_WAMmsRetry_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerErrorReceipt); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waMmsRetry_WAMmsRetry_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waMmsRetry_WAMmsRetry_proto_goTypes, + DependencyIndexes: file_waMmsRetry_WAMmsRetry_proto_depIdxs, + EnumInfos: file_waMmsRetry_WAMmsRetry_proto_enumTypes, + MessageInfos: file_waMmsRetry_WAMmsRetry_proto_msgTypes, + }.Build() + File_waMmsRetry_WAMmsRetry_proto = out.File + file_waMmsRetry_WAMmsRetry_proto_rawDesc = nil + file_waMmsRetry_WAMmsRetry_proto_goTypes = nil + file_waMmsRetry_WAMmsRetry_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMmsRetry/WAMmsRetry.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMmsRetry/WAMmsRetry.pb.raw new file mode 100644 index 00000000..2ab34e3f Binary files /dev/null and b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMmsRetry/WAMmsRetry.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMmsRetry/WAMmsRetry.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMmsRetry/WAMmsRetry.proto new file mode 100644 index 00000000..94b3f682 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMmsRetry/WAMmsRetry.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; +package WAMmsRetry; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waMmsRetry"; + +message MediaRetryNotification { + enum ResultType { + GENERAL_ERROR = 0; + SUCCESS = 1; + NOT_FOUND = 2; + DECRYPTION_ERROR = 3; + } + + string stanzaID = 1; + string directPath = 2; + ResultType result = 3; +} + +message ServerErrorReceipt { + string stanzaID = 1; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.pb.go new file mode 100644 index 00000000..4f0b25bc --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.pb.go @@ -0,0 +1,1120 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waMsgApplication/WAMsgApplication.proto + +package waMsgApplication + +import ( + reflect "reflect" + sync "sync" + + waCommon "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MessageApplication_Metadata_ThreadType int32 + +const ( + MessageApplication_Metadata_DEFAULT MessageApplication_Metadata_ThreadType = 0 + MessageApplication_Metadata_VANISH_MODE MessageApplication_Metadata_ThreadType = 1 + MessageApplication_Metadata_DISAPPEARING_MESSAGES MessageApplication_Metadata_ThreadType = 2 +) + +// Enum value maps for MessageApplication_Metadata_ThreadType. +var ( + MessageApplication_Metadata_ThreadType_name = map[int32]string{ + 0: "DEFAULT", + 1: "VANISH_MODE", + 2: "DISAPPEARING_MESSAGES", + } + MessageApplication_Metadata_ThreadType_value = map[string]int32{ + "DEFAULT": 0, + "VANISH_MODE": 1, + "DISAPPEARING_MESSAGES": 2, + } +) + +func (x MessageApplication_Metadata_ThreadType) Enum() *MessageApplication_Metadata_ThreadType { + p := new(MessageApplication_Metadata_ThreadType) + *p = x + return p +} + +func (x MessageApplication_Metadata_ThreadType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MessageApplication_Metadata_ThreadType) Descriptor() protoreflect.EnumDescriptor { + return file_waMsgApplication_WAMsgApplication_proto_enumTypes[0].Descriptor() +} + +func (MessageApplication_Metadata_ThreadType) Type() protoreflect.EnumType { + return &file_waMsgApplication_WAMsgApplication_proto_enumTypes[0] +} + +func (x MessageApplication_Metadata_ThreadType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MessageApplication_Metadata_ThreadType.Descriptor instead. +func (MessageApplication_Metadata_ThreadType) EnumDescriptor() ([]byte, []int) { + return file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP(), []int{0, 0, 0} +} + +type MessageApplication struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Payload *MessageApplication_Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + Metadata *MessageApplication_Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` +} + +func (x *MessageApplication) Reset() { + *x = MessageApplication{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageApplication) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageApplication) ProtoMessage() {} + +func (x *MessageApplication) ProtoReflect() protoreflect.Message { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageApplication.ProtoReflect.Descriptor instead. +func (*MessageApplication) Descriptor() ([]byte, []int) { + return file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP(), []int{0} +} + +func (x *MessageApplication) GetPayload() *MessageApplication_Payload { + if x != nil { + return x.Payload + } + return nil +} + +func (x *MessageApplication) GetMetadata() *MessageApplication_Metadata { + if x != nil { + return x.Metadata + } + return nil +} + +type MessageApplication_Metadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Ephemeral: + // + // *MessageApplication_Metadata_ChatEphemeralSetting + // *MessageApplication_Metadata_EphemeralSettingList + // *MessageApplication_Metadata_EphemeralSharedSecret + Ephemeral isMessageApplication_Metadata_Ephemeral `protobuf_oneof:"ephemeral"` + ForwardingScore uint32 `protobuf:"varint,5,opt,name=forwardingScore,proto3" json:"forwardingScore,omitempty"` + IsForwarded bool `protobuf:"varint,6,opt,name=isForwarded,proto3" json:"isForwarded,omitempty"` + BusinessMetadata *waCommon.SubProtocol `protobuf:"bytes,7,opt,name=businessMetadata,proto3" json:"businessMetadata,omitempty"` + FrankingKey []byte `protobuf:"bytes,8,opt,name=frankingKey,proto3" json:"frankingKey,omitempty"` + FrankingVersion int32 `protobuf:"varint,9,opt,name=frankingVersion,proto3" json:"frankingVersion,omitempty"` + QuotedMessage *MessageApplication_Metadata_QuotedMessage `protobuf:"bytes,10,opt,name=quotedMessage,proto3" json:"quotedMessage,omitempty"` + ThreadType MessageApplication_Metadata_ThreadType `protobuf:"varint,11,opt,name=threadType,proto3,enum=WAMsgApplication.MessageApplication_Metadata_ThreadType" json:"threadType,omitempty"` + ReadonlyMetadataDataclass string `protobuf:"bytes,12,opt,name=readonlyMetadataDataclass,proto3" json:"readonlyMetadataDataclass,omitempty"` + GroupID string `protobuf:"bytes,13,opt,name=groupID,proto3" json:"groupID,omitempty"` + GroupSize uint32 `protobuf:"varint,14,opt,name=groupSize,proto3" json:"groupSize,omitempty"` + GroupIndex uint32 `protobuf:"varint,15,opt,name=groupIndex,proto3" json:"groupIndex,omitempty"` + BotResponseID string `protobuf:"bytes,16,opt,name=botResponseID,proto3" json:"botResponseID,omitempty"` + CollapsibleID string `protobuf:"bytes,17,opt,name=collapsibleID,proto3" json:"collapsibleID,omitempty"` +} + +func (x *MessageApplication_Metadata) Reset() { + *x = MessageApplication_Metadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageApplication_Metadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageApplication_Metadata) ProtoMessage() {} + +func (x *MessageApplication_Metadata) ProtoReflect() protoreflect.Message { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageApplication_Metadata.ProtoReflect.Descriptor instead. +func (*MessageApplication_Metadata) Descriptor() ([]byte, []int) { + return file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP(), []int{0, 0} +} + +func (m *MessageApplication_Metadata) GetEphemeral() isMessageApplication_Metadata_Ephemeral { + if m != nil { + return m.Ephemeral + } + return nil +} + +func (x *MessageApplication_Metadata) GetChatEphemeralSetting() *MessageApplication_EphemeralSetting { + if x, ok := x.GetEphemeral().(*MessageApplication_Metadata_ChatEphemeralSetting); ok { + return x.ChatEphemeralSetting + } + return nil +} + +func (x *MessageApplication_Metadata) GetEphemeralSettingList() *MessageApplication_Metadata_EphemeralSettingMap { + if x, ok := x.GetEphemeral().(*MessageApplication_Metadata_EphemeralSettingList); ok { + return x.EphemeralSettingList + } + return nil +} + +func (x *MessageApplication_Metadata) GetEphemeralSharedSecret() []byte { + if x, ok := x.GetEphemeral().(*MessageApplication_Metadata_EphemeralSharedSecret); ok { + return x.EphemeralSharedSecret + } + return nil +} + +func (x *MessageApplication_Metadata) GetForwardingScore() uint32 { + if x != nil { + return x.ForwardingScore + } + return 0 +} + +func (x *MessageApplication_Metadata) GetIsForwarded() bool { + if x != nil { + return x.IsForwarded + } + return false +} + +func (x *MessageApplication_Metadata) GetBusinessMetadata() *waCommon.SubProtocol { + if x != nil { + return x.BusinessMetadata + } + return nil +} + +func (x *MessageApplication_Metadata) GetFrankingKey() []byte { + if x != nil { + return x.FrankingKey + } + return nil +} + +func (x *MessageApplication_Metadata) GetFrankingVersion() int32 { + if x != nil { + return x.FrankingVersion + } + return 0 +} + +func (x *MessageApplication_Metadata) GetQuotedMessage() *MessageApplication_Metadata_QuotedMessage { + if x != nil { + return x.QuotedMessage + } + return nil +} + +func (x *MessageApplication_Metadata) GetThreadType() MessageApplication_Metadata_ThreadType { + if x != nil { + return x.ThreadType + } + return MessageApplication_Metadata_DEFAULT +} + +func (x *MessageApplication_Metadata) GetReadonlyMetadataDataclass() string { + if x != nil { + return x.ReadonlyMetadataDataclass + } + return "" +} + +func (x *MessageApplication_Metadata) GetGroupID() string { + if x != nil { + return x.GroupID + } + return "" +} + +func (x *MessageApplication_Metadata) GetGroupSize() uint32 { + if x != nil { + return x.GroupSize + } + return 0 +} + +func (x *MessageApplication_Metadata) GetGroupIndex() uint32 { + if x != nil { + return x.GroupIndex + } + return 0 +} + +func (x *MessageApplication_Metadata) GetBotResponseID() string { + if x != nil { + return x.BotResponseID + } + return "" +} + +func (x *MessageApplication_Metadata) GetCollapsibleID() string { + if x != nil { + return x.CollapsibleID + } + return "" +} + +type isMessageApplication_Metadata_Ephemeral interface { + isMessageApplication_Metadata_Ephemeral() +} + +type MessageApplication_Metadata_ChatEphemeralSetting struct { + ChatEphemeralSetting *MessageApplication_EphemeralSetting `protobuf:"bytes,1,opt,name=chatEphemeralSetting,proto3,oneof"` +} + +type MessageApplication_Metadata_EphemeralSettingList struct { + EphemeralSettingList *MessageApplication_Metadata_EphemeralSettingMap `protobuf:"bytes,2,opt,name=ephemeralSettingList,proto3,oneof"` +} + +type MessageApplication_Metadata_EphemeralSharedSecret struct { + EphemeralSharedSecret []byte `protobuf:"bytes,3,opt,name=ephemeralSharedSecret,proto3,oneof"` +} + +func (*MessageApplication_Metadata_ChatEphemeralSetting) isMessageApplication_Metadata_Ephemeral() {} + +func (*MessageApplication_Metadata_EphemeralSettingList) isMessageApplication_Metadata_Ephemeral() {} + +func (*MessageApplication_Metadata_EphemeralSharedSecret) isMessageApplication_Metadata_Ephemeral() {} + +type MessageApplication_Payload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Content: + // + // *MessageApplication_Payload_CoreContent + // *MessageApplication_Payload_Signal + // *MessageApplication_Payload_ApplicationData + // *MessageApplication_Payload_SubProtocol + Content isMessageApplication_Payload_Content `protobuf_oneof:"content"` +} + +func (x *MessageApplication_Payload) Reset() { + *x = MessageApplication_Payload{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageApplication_Payload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageApplication_Payload) ProtoMessage() {} + +func (x *MessageApplication_Payload) ProtoReflect() protoreflect.Message { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageApplication_Payload.ProtoReflect.Descriptor instead. +func (*MessageApplication_Payload) Descriptor() ([]byte, []int) { + return file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP(), []int{0, 1} +} + +func (m *MessageApplication_Payload) GetContent() isMessageApplication_Payload_Content { + if m != nil { + return m.Content + } + return nil +} + +func (x *MessageApplication_Payload) GetCoreContent() *MessageApplication_Content { + if x, ok := x.GetContent().(*MessageApplication_Payload_CoreContent); ok { + return x.CoreContent + } + return nil +} + +func (x *MessageApplication_Payload) GetSignal() *MessageApplication_Signal { + if x, ok := x.GetContent().(*MessageApplication_Payload_Signal); ok { + return x.Signal + } + return nil +} + +func (x *MessageApplication_Payload) GetApplicationData() *MessageApplication_ApplicationData { + if x, ok := x.GetContent().(*MessageApplication_Payload_ApplicationData); ok { + return x.ApplicationData + } + return nil +} + +func (x *MessageApplication_Payload) GetSubProtocol() *MessageApplication_SubProtocolPayload { + if x, ok := x.GetContent().(*MessageApplication_Payload_SubProtocol); ok { + return x.SubProtocol + } + return nil +} + +type isMessageApplication_Payload_Content interface { + isMessageApplication_Payload_Content() +} + +type MessageApplication_Payload_CoreContent struct { + CoreContent *MessageApplication_Content `protobuf:"bytes,1,opt,name=coreContent,proto3,oneof"` +} + +type MessageApplication_Payload_Signal struct { + Signal *MessageApplication_Signal `protobuf:"bytes,2,opt,name=signal,proto3,oneof"` +} + +type MessageApplication_Payload_ApplicationData struct { + ApplicationData *MessageApplication_ApplicationData `protobuf:"bytes,3,opt,name=applicationData,proto3,oneof"` +} + +type MessageApplication_Payload_SubProtocol struct { + SubProtocol *MessageApplication_SubProtocolPayload `protobuf:"bytes,4,opt,name=subProtocol,proto3,oneof"` +} + +func (*MessageApplication_Payload_CoreContent) isMessageApplication_Payload_Content() {} + +func (*MessageApplication_Payload_Signal) isMessageApplication_Payload_Content() {} + +func (*MessageApplication_Payload_ApplicationData) isMessageApplication_Payload_Content() {} + +func (*MessageApplication_Payload_SubProtocol) isMessageApplication_Payload_Content() {} + +type MessageApplication_SubProtocolPayload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to SubProtocol: + // + // *MessageApplication_SubProtocolPayload_ConsumerMessage + // *MessageApplication_SubProtocolPayload_BusinessMessage + // *MessageApplication_SubProtocolPayload_PaymentMessage + // *MessageApplication_SubProtocolPayload_MultiDevice + // *MessageApplication_SubProtocolPayload_Voip + // *MessageApplication_SubProtocolPayload_Armadillo + SubProtocol isMessageApplication_SubProtocolPayload_SubProtocol `protobuf_oneof:"subProtocol"` + FutureProof waCommon.FutureProofBehavior `protobuf:"varint,1,opt,name=futureProof,proto3,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"` +} + +func (x *MessageApplication_SubProtocolPayload) Reset() { + *x = MessageApplication_SubProtocolPayload{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageApplication_SubProtocolPayload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageApplication_SubProtocolPayload) ProtoMessage() {} + +func (x *MessageApplication_SubProtocolPayload) ProtoReflect() protoreflect.Message { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageApplication_SubProtocolPayload.ProtoReflect.Descriptor instead. +func (*MessageApplication_SubProtocolPayload) Descriptor() ([]byte, []int) { + return file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP(), []int{0, 2} +} + +func (m *MessageApplication_SubProtocolPayload) GetSubProtocol() isMessageApplication_SubProtocolPayload_SubProtocol { + if m != nil { + return m.SubProtocol + } + return nil +} + +func (x *MessageApplication_SubProtocolPayload) GetConsumerMessage() *waCommon.SubProtocol { + if x, ok := x.GetSubProtocol().(*MessageApplication_SubProtocolPayload_ConsumerMessage); ok { + return x.ConsumerMessage + } + return nil +} + +func (x *MessageApplication_SubProtocolPayload) GetBusinessMessage() *waCommon.SubProtocol { + if x, ok := x.GetSubProtocol().(*MessageApplication_SubProtocolPayload_BusinessMessage); ok { + return x.BusinessMessage + } + return nil +} + +func (x *MessageApplication_SubProtocolPayload) GetPaymentMessage() *waCommon.SubProtocol { + if x, ok := x.GetSubProtocol().(*MessageApplication_SubProtocolPayload_PaymentMessage); ok { + return x.PaymentMessage + } + return nil +} + +func (x *MessageApplication_SubProtocolPayload) GetMultiDevice() *waCommon.SubProtocol { + if x, ok := x.GetSubProtocol().(*MessageApplication_SubProtocolPayload_MultiDevice); ok { + return x.MultiDevice + } + return nil +} + +func (x *MessageApplication_SubProtocolPayload) GetVoip() *waCommon.SubProtocol { + if x, ok := x.GetSubProtocol().(*MessageApplication_SubProtocolPayload_Voip); ok { + return x.Voip + } + return nil +} + +func (x *MessageApplication_SubProtocolPayload) GetArmadillo() *waCommon.SubProtocol { + if x, ok := x.GetSubProtocol().(*MessageApplication_SubProtocolPayload_Armadillo); ok { + return x.Armadillo + } + return nil +} + +func (x *MessageApplication_SubProtocolPayload) GetFutureProof() waCommon.FutureProofBehavior { + if x != nil { + return x.FutureProof + } + return waCommon.FutureProofBehavior(0) +} + +type isMessageApplication_SubProtocolPayload_SubProtocol interface { + isMessageApplication_SubProtocolPayload_SubProtocol() +} + +type MessageApplication_SubProtocolPayload_ConsumerMessage struct { + ConsumerMessage *waCommon.SubProtocol `protobuf:"bytes,2,opt,name=consumerMessage,proto3,oneof"` +} + +type MessageApplication_SubProtocolPayload_BusinessMessage struct { + BusinessMessage *waCommon.SubProtocol `protobuf:"bytes,3,opt,name=businessMessage,proto3,oneof"` +} + +type MessageApplication_SubProtocolPayload_PaymentMessage struct { + PaymentMessage *waCommon.SubProtocol `protobuf:"bytes,4,opt,name=paymentMessage,proto3,oneof"` +} + +type MessageApplication_SubProtocolPayload_MultiDevice struct { + MultiDevice *waCommon.SubProtocol `protobuf:"bytes,5,opt,name=multiDevice,proto3,oneof"` +} + +type MessageApplication_SubProtocolPayload_Voip struct { + Voip *waCommon.SubProtocol `protobuf:"bytes,6,opt,name=voip,proto3,oneof"` +} + +type MessageApplication_SubProtocolPayload_Armadillo struct { + Armadillo *waCommon.SubProtocol `protobuf:"bytes,7,opt,name=armadillo,proto3,oneof"` +} + +func (*MessageApplication_SubProtocolPayload_ConsumerMessage) isMessageApplication_SubProtocolPayload_SubProtocol() { +} + +func (*MessageApplication_SubProtocolPayload_BusinessMessage) isMessageApplication_SubProtocolPayload_SubProtocol() { +} + +func (*MessageApplication_SubProtocolPayload_PaymentMessage) isMessageApplication_SubProtocolPayload_SubProtocol() { +} + +func (*MessageApplication_SubProtocolPayload_MultiDevice) isMessageApplication_SubProtocolPayload_SubProtocol() { +} + +func (*MessageApplication_SubProtocolPayload_Voip) isMessageApplication_SubProtocolPayload_SubProtocol() { +} + +func (*MessageApplication_SubProtocolPayload_Armadillo) isMessageApplication_SubProtocolPayload_SubProtocol() { +} + +type MessageApplication_ApplicationData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MessageApplication_ApplicationData) Reset() { + *x = MessageApplication_ApplicationData{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageApplication_ApplicationData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageApplication_ApplicationData) ProtoMessage() {} + +func (x *MessageApplication_ApplicationData) ProtoReflect() protoreflect.Message { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageApplication_ApplicationData.ProtoReflect.Descriptor instead. +func (*MessageApplication_ApplicationData) Descriptor() ([]byte, []int) { + return file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP(), []int{0, 3} +} + +type MessageApplication_Signal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MessageApplication_Signal) Reset() { + *x = MessageApplication_Signal{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageApplication_Signal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageApplication_Signal) ProtoMessage() {} + +func (x *MessageApplication_Signal) ProtoReflect() protoreflect.Message { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageApplication_Signal.ProtoReflect.Descriptor instead. +func (*MessageApplication_Signal) Descriptor() ([]byte, []int) { + return file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP(), []int{0, 4} +} + +type MessageApplication_Content struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MessageApplication_Content) Reset() { + *x = MessageApplication_Content{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageApplication_Content) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageApplication_Content) ProtoMessage() {} + +func (x *MessageApplication_Content) ProtoReflect() protoreflect.Message { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageApplication_Content.ProtoReflect.Descriptor instead. +func (*MessageApplication_Content) Descriptor() ([]byte, []int) { + return file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP(), []int{0, 5} +} + +type MessageApplication_EphemeralSetting struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EphemeralExpiration uint32 `protobuf:"varint,2,opt,name=ephemeralExpiration,proto3" json:"ephemeralExpiration,omitempty"` + EphemeralSettingTimestamp int64 `protobuf:"varint,3,opt,name=ephemeralSettingTimestamp,proto3" json:"ephemeralSettingTimestamp,omitempty"` + IsEphemeralSettingReset bool `protobuf:"varint,4,opt,name=isEphemeralSettingReset,proto3" json:"isEphemeralSettingReset,omitempty"` +} + +func (x *MessageApplication_EphemeralSetting) Reset() { + *x = MessageApplication_EphemeralSetting{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageApplication_EphemeralSetting) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageApplication_EphemeralSetting) ProtoMessage() {} + +func (x *MessageApplication_EphemeralSetting) ProtoReflect() protoreflect.Message { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageApplication_EphemeralSetting.ProtoReflect.Descriptor instead. +func (*MessageApplication_EphemeralSetting) Descriptor() ([]byte, []int) { + return file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP(), []int{0, 6} +} + +func (x *MessageApplication_EphemeralSetting) GetEphemeralExpiration() uint32 { + if x != nil { + return x.EphemeralExpiration + } + return 0 +} + +func (x *MessageApplication_EphemeralSetting) GetEphemeralSettingTimestamp() int64 { + if x != nil { + return x.EphemeralSettingTimestamp + } + return 0 +} + +func (x *MessageApplication_EphemeralSetting) GetIsEphemeralSettingReset() bool { + if x != nil { + return x.IsEphemeralSettingReset + } + return false +} + +type MessageApplication_Metadata_QuotedMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StanzaID string `protobuf:"bytes,1,opt,name=stanzaID,proto3" json:"stanzaID,omitempty"` + RemoteJID string `protobuf:"bytes,2,opt,name=remoteJID,proto3" json:"remoteJID,omitempty"` + Participant string `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` + Payload *MessageApplication_Payload `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` +} + +func (x *MessageApplication_Metadata_QuotedMessage) Reset() { + *x = MessageApplication_Metadata_QuotedMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageApplication_Metadata_QuotedMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageApplication_Metadata_QuotedMessage) ProtoMessage() {} + +func (x *MessageApplication_Metadata_QuotedMessage) ProtoReflect() protoreflect.Message { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageApplication_Metadata_QuotedMessage.ProtoReflect.Descriptor instead. +func (*MessageApplication_Metadata_QuotedMessage) Descriptor() ([]byte, []int) { + return file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP(), []int{0, 0, 0} +} + +func (x *MessageApplication_Metadata_QuotedMessage) GetStanzaID() string { + if x != nil { + return x.StanzaID + } + return "" +} + +func (x *MessageApplication_Metadata_QuotedMessage) GetRemoteJID() string { + if x != nil { + return x.RemoteJID + } + return "" +} + +func (x *MessageApplication_Metadata_QuotedMessage) GetParticipant() string { + if x != nil { + return x.Participant + } + return "" +} + +func (x *MessageApplication_Metadata_QuotedMessage) GetPayload() *MessageApplication_Payload { + if x != nil { + return x.Payload + } + return nil +} + +type MessageApplication_Metadata_EphemeralSettingMap struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChatJID string `protobuf:"bytes,1,opt,name=chatJID,proto3" json:"chatJID,omitempty"` + EphemeralSetting *MessageApplication_EphemeralSetting `protobuf:"bytes,2,opt,name=ephemeralSetting,proto3" json:"ephemeralSetting,omitempty"` +} + +func (x *MessageApplication_Metadata_EphemeralSettingMap) Reset() { + *x = MessageApplication_Metadata_EphemeralSettingMap{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageApplication_Metadata_EphemeralSettingMap) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageApplication_Metadata_EphemeralSettingMap) ProtoMessage() {} + +func (x *MessageApplication_Metadata_EphemeralSettingMap) ProtoReflect() protoreflect.Message { + mi := &file_waMsgApplication_WAMsgApplication_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageApplication_Metadata_EphemeralSettingMap.ProtoReflect.Descriptor instead. +func (*MessageApplication_Metadata_EphemeralSettingMap) Descriptor() ([]byte, []int) { + return file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP(), []int{0, 0, 1} +} + +func (x *MessageApplication_Metadata_EphemeralSettingMap) GetChatJID() string { + if x != nil { + return x.ChatJID + } + return "" +} + +func (x *MessageApplication_Metadata_EphemeralSettingMap) GetEphemeralSetting() *MessageApplication_EphemeralSetting { + if x != nil { + return x.EphemeralSetting + } + return nil +} + +var File_waMsgApplication_WAMsgApplication_proto protoreflect.FileDescriptor + +//go:embed WAMsgApplication.pb.raw +var file_waMsgApplication_WAMsgApplication_proto_rawDesc []byte + +var ( + file_waMsgApplication_WAMsgApplication_proto_rawDescOnce sync.Once + file_waMsgApplication_WAMsgApplication_proto_rawDescData = file_waMsgApplication_WAMsgApplication_proto_rawDesc +) + +func file_waMsgApplication_WAMsgApplication_proto_rawDescGZIP() []byte { + file_waMsgApplication_WAMsgApplication_proto_rawDescOnce.Do(func() { + file_waMsgApplication_WAMsgApplication_proto_rawDescData = protoimpl.X.CompressGZIP(file_waMsgApplication_WAMsgApplication_proto_rawDescData) + }) + return file_waMsgApplication_WAMsgApplication_proto_rawDescData +} + +var file_waMsgApplication_WAMsgApplication_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_waMsgApplication_WAMsgApplication_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_waMsgApplication_WAMsgApplication_proto_goTypes = []interface{}{ + (MessageApplication_Metadata_ThreadType)(0), // 0: WAMsgApplication.MessageApplication.Metadata.ThreadType + (*MessageApplication)(nil), // 1: WAMsgApplication.MessageApplication + (*MessageApplication_Metadata)(nil), // 2: WAMsgApplication.MessageApplication.Metadata + (*MessageApplication_Payload)(nil), // 3: WAMsgApplication.MessageApplication.Payload + (*MessageApplication_SubProtocolPayload)(nil), // 4: WAMsgApplication.MessageApplication.SubProtocolPayload + (*MessageApplication_ApplicationData)(nil), // 5: WAMsgApplication.MessageApplication.ApplicationData + (*MessageApplication_Signal)(nil), // 6: WAMsgApplication.MessageApplication.Signal + (*MessageApplication_Content)(nil), // 7: WAMsgApplication.MessageApplication.Content + (*MessageApplication_EphemeralSetting)(nil), // 8: WAMsgApplication.MessageApplication.EphemeralSetting + (*MessageApplication_Metadata_QuotedMessage)(nil), // 9: WAMsgApplication.MessageApplication.Metadata.QuotedMessage + (*MessageApplication_Metadata_EphemeralSettingMap)(nil), // 10: WAMsgApplication.MessageApplication.Metadata.EphemeralSettingMap + (*waCommon.SubProtocol)(nil), // 11: WACommon.SubProtocol + (waCommon.FutureProofBehavior)(0), // 12: WACommon.FutureProofBehavior +} +var file_waMsgApplication_WAMsgApplication_proto_depIdxs = []int32{ + 3, // 0: WAMsgApplication.MessageApplication.payload:type_name -> WAMsgApplication.MessageApplication.Payload + 2, // 1: WAMsgApplication.MessageApplication.metadata:type_name -> WAMsgApplication.MessageApplication.Metadata + 8, // 2: WAMsgApplication.MessageApplication.Metadata.chatEphemeralSetting:type_name -> WAMsgApplication.MessageApplication.EphemeralSetting + 10, // 3: WAMsgApplication.MessageApplication.Metadata.ephemeralSettingList:type_name -> WAMsgApplication.MessageApplication.Metadata.EphemeralSettingMap + 11, // 4: WAMsgApplication.MessageApplication.Metadata.businessMetadata:type_name -> WACommon.SubProtocol + 9, // 5: WAMsgApplication.MessageApplication.Metadata.quotedMessage:type_name -> WAMsgApplication.MessageApplication.Metadata.QuotedMessage + 0, // 6: WAMsgApplication.MessageApplication.Metadata.threadType:type_name -> WAMsgApplication.MessageApplication.Metadata.ThreadType + 7, // 7: WAMsgApplication.MessageApplication.Payload.coreContent:type_name -> WAMsgApplication.MessageApplication.Content + 6, // 8: WAMsgApplication.MessageApplication.Payload.signal:type_name -> WAMsgApplication.MessageApplication.Signal + 5, // 9: WAMsgApplication.MessageApplication.Payload.applicationData:type_name -> WAMsgApplication.MessageApplication.ApplicationData + 4, // 10: WAMsgApplication.MessageApplication.Payload.subProtocol:type_name -> WAMsgApplication.MessageApplication.SubProtocolPayload + 11, // 11: WAMsgApplication.MessageApplication.SubProtocolPayload.consumerMessage:type_name -> WACommon.SubProtocol + 11, // 12: WAMsgApplication.MessageApplication.SubProtocolPayload.businessMessage:type_name -> WACommon.SubProtocol + 11, // 13: WAMsgApplication.MessageApplication.SubProtocolPayload.paymentMessage:type_name -> WACommon.SubProtocol + 11, // 14: WAMsgApplication.MessageApplication.SubProtocolPayload.multiDevice:type_name -> WACommon.SubProtocol + 11, // 15: WAMsgApplication.MessageApplication.SubProtocolPayload.voip:type_name -> WACommon.SubProtocol + 11, // 16: WAMsgApplication.MessageApplication.SubProtocolPayload.armadillo:type_name -> WACommon.SubProtocol + 12, // 17: WAMsgApplication.MessageApplication.SubProtocolPayload.futureProof:type_name -> WACommon.FutureProofBehavior + 3, // 18: WAMsgApplication.MessageApplication.Metadata.QuotedMessage.payload:type_name -> WAMsgApplication.MessageApplication.Payload + 8, // 19: WAMsgApplication.MessageApplication.Metadata.EphemeralSettingMap.ephemeralSetting:type_name -> WAMsgApplication.MessageApplication.EphemeralSetting + 20, // [20:20] is the sub-list for method output_type + 20, // [20:20] is the sub-list for method input_type + 20, // [20:20] is the sub-list for extension type_name + 20, // [20:20] is the sub-list for extension extendee + 0, // [0:20] is the sub-list for field type_name +} + +func init() { file_waMsgApplication_WAMsgApplication_proto_init() } +func file_waMsgApplication_WAMsgApplication_proto_init() { + if File_waMsgApplication_WAMsgApplication_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waMsgApplication_WAMsgApplication_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageApplication); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgApplication_WAMsgApplication_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageApplication_Metadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgApplication_WAMsgApplication_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageApplication_Payload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgApplication_WAMsgApplication_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageApplication_SubProtocolPayload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgApplication_WAMsgApplication_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageApplication_ApplicationData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgApplication_WAMsgApplication_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageApplication_Signal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgApplication_WAMsgApplication_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageApplication_Content); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgApplication_WAMsgApplication_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageApplication_EphemeralSetting); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgApplication_WAMsgApplication_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageApplication_Metadata_QuotedMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgApplication_WAMsgApplication_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageApplication_Metadata_EphemeralSettingMap); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_waMsgApplication_WAMsgApplication_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*MessageApplication_Metadata_ChatEphemeralSetting)(nil), + (*MessageApplication_Metadata_EphemeralSettingList)(nil), + (*MessageApplication_Metadata_EphemeralSharedSecret)(nil), + } + file_waMsgApplication_WAMsgApplication_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*MessageApplication_Payload_CoreContent)(nil), + (*MessageApplication_Payload_Signal)(nil), + (*MessageApplication_Payload_ApplicationData)(nil), + (*MessageApplication_Payload_SubProtocol)(nil), + } + file_waMsgApplication_WAMsgApplication_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*MessageApplication_SubProtocolPayload_ConsumerMessage)(nil), + (*MessageApplication_SubProtocolPayload_BusinessMessage)(nil), + (*MessageApplication_SubProtocolPayload_PaymentMessage)(nil), + (*MessageApplication_SubProtocolPayload_MultiDevice)(nil), + (*MessageApplication_SubProtocolPayload_Voip)(nil), + (*MessageApplication_SubProtocolPayload_Armadillo)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waMsgApplication_WAMsgApplication_proto_rawDesc, + NumEnums: 1, + NumMessages: 10, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waMsgApplication_WAMsgApplication_proto_goTypes, + DependencyIndexes: file_waMsgApplication_WAMsgApplication_proto_depIdxs, + EnumInfos: file_waMsgApplication_WAMsgApplication_proto_enumTypes, + MessageInfos: file_waMsgApplication_WAMsgApplication_proto_msgTypes, + }.Build() + File_waMsgApplication_WAMsgApplication_proto = out.File + file_waMsgApplication_WAMsgApplication_proto_rawDesc = nil + file_waMsgApplication_WAMsgApplication_proto_goTypes = nil + file_waMsgApplication_WAMsgApplication_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.pb.raw new file mode 100644 index 00000000..3beddc2c Binary files /dev/null and b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.proto new file mode 100644 index 00000000..d69a8862 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/WAMsgApplication.proto @@ -0,0 +1,87 @@ +syntax = "proto3"; +package WAMsgApplication; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication"; + +import "waCommon/WACommon.proto"; + +message MessageApplication { + message Metadata { + enum ThreadType { + DEFAULT = 0; + VANISH_MODE = 1; + DISAPPEARING_MESSAGES = 2; + } + + message QuotedMessage { + string stanzaID = 1; + string remoteJID = 2; + string participant = 3; + Payload payload = 4; + } + + message EphemeralSettingMap { + string chatJID = 1; + EphemeralSetting ephemeralSetting = 2; + } + + oneof ephemeral { + EphemeralSetting chatEphemeralSetting = 1; + EphemeralSettingMap ephemeralSettingList = 2; + bytes ephemeralSharedSecret = 3; + } + + uint32 forwardingScore = 5; + bool isForwarded = 6; + WACommon.SubProtocol businessMetadata = 7; + bytes frankingKey = 8; + int32 frankingVersion = 9; + QuotedMessage quotedMessage = 10; + ThreadType threadType = 11; + string readonlyMetadataDataclass = 12; + string groupID = 13; + uint32 groupSize = 14; + uint32 groupIndex = 15; + string botResponseID = 16; + string collapsibleID = 17; + } + + message Payload { + oneof content { + Content coreContent = 1; + Signal signal = 2; + ApplicationData applicationData = 3; + SubProtocolPayload subProtocol = 4; + } + } + + message SubProtocolPayload { + oneof subProtocol { + WACommon.SubProtocol consumerMessage = 2; + WACommon.SubProtocol businessMessage = 3; + WACommon.SubProtocol paymentMessage = 4; + WACommon.SubProtocol multiDevice = 5; + WACommon.SubProtocol voip = 6; + WACommon.SubProtocol armadillo = 7; + } + + WACommon.FutureProofBehavior futureProof = 1; + } + + message ApplicationData { + } + + message Signal { + } + + message Content { + } + + message EphemeralSetting { + uint32 ephemeralExpiration = 2; + int64 ephemeralSettingTimestamp = 3; + bool isEphemeralSettingReset = 4; + } + + Payload payload = 1; + Metadata metadata = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/extra.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/extra.go new file mode 100644 index 00000000..9f2a1f7c --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication/extra.go @@ -0,0 +1,41 @@ +package waMsgApplication + +import ( + "go.mau.fi/whatsmeow/binary/armadillo/armadilloutil" + "go.mau.fi/whatsmeow/binary/armadillo/waArmadilloApplication" + "go.mau.fi/whatsmeow/binary/armadillo/waConsumerApplication" + "go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice" +) + +const ( + ConsumerApplicationVersion = 1 + ArmadilloApplicationVersion = 1 + MultiDeviceApplicationVersion = 1 // TODO: check +) + +func (msg *MessageApplication_SubProtocolPayload_ConsumerMessage) Decode() (*waConsumerApplication.ConsumerApplication, error) { + return armadilloutil.Unmarshal(&waConsumerApplication.ConsumerApplication{}, msg.ConsumerMessage, ConsumerApplicationVersion) +} + +func (msg *MessageApplication_SubProtocolPayload_ConsumerMessage) Set(payload *waConsumerApplication.ConsumerApplication) (err error) { + msg.ConsumerMessage, err = armadilloutil.Marshal(payload, ConsumerApplicationVersion) + return +} + +func (msg *MessageApplication_SubProtocolPayload_Armadillo) Decode() (*waArmadilloApplication.Armadillo, error) { + return armadilloutil.Unmarshal(&waArmadilloApplication.Armadillo{}, msg.Armadillo, ArmadilloApplicationVersion) +} + +func (msg *MessageApplication_SubProtocolPayload_Armadillo) Set(payload *waArmadilloApplication.Armadillo) (err error) { + msg.Armadillo, err = armadilloutil.Marshal(payload, ArmadilloApplicationVersion) + return +} + +func (msg *MessageApplication_SubProtocolPayload_MultiDevice) Decode() (*waMultiDevice.MultiDevice, error) { + return armadilloutil.Unmarshal(&waMultiDevice.MultiDevice{}, msg.MultiDevice, MultiDeviceApplicationVersion) +} + +func (msg *MessageApplication_SubProtocolPayload_MultiDevice) Set(payload *waMultiDevice.MultiDevice) (err error) { + msg.MultiDevice, err = armadilloutil.Marshal(payload, MultiDeviceApplicationVersion) + return +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.pb.go new file mode 100644 index 00000000..7b7dde6e --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.pb.go @@ -0,0 +1,964 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waMsgTransport/WAMsgTransport.proto + +package waMsgTransport + +import ( + reflect "reflect" + sync "sync" + + waCommon "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MessageTransport_Protocol_Ancillary_BackupDirective_ActionType int32 + +const ( + MessageTransport_Protocol_Ancillary_BackupDirective_NOOP MessageTransport_Protocol_Ancillary_BackupDirective_ActionType = 0 + MessageTransport_Protocol_Ancillary_BackupDirective_UPSERT MessageTransport_Protocol_Ancillary_BackupDirective_ActionType = 1 + MessageTransport_Protocol_Ancillary_BackupDirective_DELETE MessageTransport_Protocol_Ancillary_BackupDirective_ActionType = 2 + MessageTransport_Protocol_Ancillary_BackupDirective_UPSERT_AND_DELETE MessageTransport_Protocol_Ancillary_BackupDirective_ActionType = 3 +) + +// Enum value maps for MessageTransport_Protocol_Ancillary_BackupDirective_ActionType. +var ( + MessageTransport_Protocol_Ancillary_BackupDirective_ActionType_name = map[int32]string{ + 0: "NOOP", + 1: "UPSERT", + 2: "DELETE", + 3: "UPSERT_AND_DELETE", + } + MessageTransport_Protocol_Ancillary_BackupDirective_ActionType_value = map[string]int32{ + "NOOP": 0, + "UPSERT": 1, + "DELETE": 2, + "UPSERT_AND_DELETE": 3, + } +) + +func (x MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) Enum() *MessageTransport_Protocol_Ancillary_BackupDirective_ActionType { + p := new(MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) + *p = x + return p +} + +func (x MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) Descriptor() protoreflect.EnumDescriptor { + return file_waMsgTransport_WAMsgTransport_proto_enumTypes[0].Descriptor() +} + +func (MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) Type() protoreflect.EnumType { + return &file_waMsgTransport_WAMsgTransport_proto_enumTypes[0] +} + +func (x MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MessageTransport_Protocol_Ancillary_BackupDirective_ActionType.Descriptor instead. +func (MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) EnumDescriptor() ([]byte, []int) { + return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 0, 0, 0} +} + +type MessageTransport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Payload *MessageTransport_Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + Protocol *MessageTransport_Protocol `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` +} + +func (x *MessageTransport) Reset() { + *x = MessageTransport{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageTransport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageTransport) ProtoMessage() {} + +func (x *MessageTransport) ProtoReflect() protoreflect.Message { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageTransport.ProtoReflect.Descriptor instead. +func (*MessageTransport) Descriptor() ([]byte, []int) { + return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0} +} + +func (x *MessageTransport) GetPayload() *MessageTransport_Payload { + if x != nil { + return x.Payload + } + return nil +} + +func (x *MessageTransport) GetProtocol() *MessageTransport_Protocol { + if x != nil { + return x.Protocol + } + return nil +} + +type DeviceListMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SenderKeyHash []byte `protobuf:"bytes,1,opt,name=senderKeyHash,proto3" json:"senderKeyHash,omitempty"` + SenderTimestamp uint64 `protobuf:"varint,2,opt,name=senderTimestamp,proto3" json:"senderTimestamp,omitempty"` + RecipientKeyHash []byte `protobuf:"bytes,8,opt,name=recipientKeyHash,proto3" json:"recipientKeyHash,omitempty"` + RecipientTimestamp uint64 `protobuf:"varint,9,opt,name=recipientTimestamp,proto3" json:"recipientTimestamp,omitempty"` +} + +func (x *DeviceListMetadata) Reset() { + *x = DeviceListMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceListMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceListMetadata) ProtoMessage() {} + +func (x *DeviceListMetadata) ProtoReflect() protoreflect.Message { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceListMetadata.ProtoReflect.Descriptor instead. +func (*DeviceListMetadata) Descriptor() ([]byte, []int) { + return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{1} +} + +func (x *DeviceListMetadata) GetSenderKeyHash() []byte { + if x != nil { + return x.SenderKeyHash + } + return nil +} + +func (x *DeviceListMetadata) GetSenderTimestamp() uint64 { + if x != nil { + return x.SenderTimestamp + } + return 0 +} + +func (x *DeviceListMetadata) GetRecipientKeyHash() []byte { + if x != nil { + return x.RecipientKeyHash + } + return nil +} + +func (x *DeviceListMetadata) GetRecipientTimestamp() uint64 { + if x != nil { + return x.RecipientTimestamp + } + return 0 +} + +type MessageTransport_Payload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ApplicationPayload *waCommon.SubProtocol `protobuf:"bytes,1,opt,name=applicationPayload,proto3" json:"applicationPayload,omitempty"` + FutureProof waCommon.FutureProofBehavior `protobuf:"varint,3,opt,name=futureProof,proto3,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"` +} + +func (x *MessageTransport_Payload) Reset() { + *x = MessageTransport_Payload{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageTransport_Payload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageTransport_Payload) ProtoMessage() {} + +func (x *MessageTransport_Payload) ProtoReflect() protoreflect.Message { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageTransport_Payload.ProtoReflect.Descriptor instead. +func (*MessageTransport_Payload) Descriptor() ([]byte, []int) { + return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *MessageTransport_Payload) GetApplicationPayload() *waCommon.SubProtocol { + if x != nil { + return x.ApplicationPayload + } + return nil +} + +func (x *MessageTransport_Payload) GetFutureProof() waCommon.FutureProofBehavior { + if x != nil { + return x.FutureProof + } + return waCommon.FutureProofBehavior(0) +} + +type MessageTransport_Protocol struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Integral *MessageTransport_Protocol_Integral `protobuf:"bytes,1,opt,name=integral,proto3" json:"integral,omitempty"` + Ancillary *MessageTransport_Protocol_Ancillary `protobuf:"bytes,2,opt,name=ancillary,proto3" json:"ancillary,omitempty"` +} + +func (x *MessageTransport_Protocol) Reset() { + *x = MessageTransport_Protocol{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageTransport_Protocol) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageTransport_Protocol) ProtoMessage() {} + +func (x *MessageTransport_Protocol) ProtoReflect() protoreflect.Message { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageTransport_Protocol.ProtoReflect.Descriptor instead. +func (*MessageTransport_Protocol) Descriptor() ([]byte, []int) { + return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *MessageTransport_Protocol) GetIntegral() *MessageTransport_Protocol_Integral { + if x != nil { + return x.Integral + } + return nil +} + +func (x *MessageTransport_Protocol) GetAncillary() *MessageTransport_Protocol_Ancillary { + if x != nil { + return x.Ancillary + } + return nil +} + +type MessageTransport_Protocol_Ancillary struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Skdm *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage `protobuf:"bytes,2,opt,name=skdm,proto3" json:"skdm,omitempty"` + DeviceListMetadata *DeviceListMetadata `protobuf:"bytes,3,opt,name=deviceListMetadata,proto3" json:"deviceListMetadata,omitempty"` + Icdc *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices `protobuf:"bytes,4,opt,name=icdc,proto3" json:"icdc,omitempty"` + BackupDirective *MessageTransport_Protocol_Ancillary_BackupDirective `protobuf:"bytes,5,opt,name=backupDirective,proto3" json:"backupDirective,omitempty"` +} + +func (x *MessageTransport_Protocol_Ancillary) Reset() { + *x = MessageTransport_Protocol_Ancillary{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageTransport_Protocol_Ancillary) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageTransport_Protocol_Ancillary) ProtoMessage() {} + +func (x *MessageTransport_Protocol_Ancillary) ProtoReflect() protoreflect.Message { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageTransport_Protocol_Ancillary.ProtoReflect.Descriptor instead. +func (*MessageTransport_Protocol_Ancillary) Descriptor() ([]byte, []int) { + return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 0} +} + +func (x *MessageTransport_Protocol_Ancillary) GetSkdm() *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage { + if x != nil { + return x.Skdm + } + return nil +} + +func (x *MessageTransport_Protocol_Ancillary) GetDeviceListMetadata() *DeviceListMetadata { + if x != nil { + return x.DeviceListMetadata + } + return nil +} + +func (x *MessageTransport_Protocol_Ancillary) GetIcdc() *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices { + if x != nil { + return x.Icdc + } + return nil +} + +func (x *MessageTransport_Protocol_Ancillary) GetBackupDirective() *MessageTransport_Protocol_Ancillary_BackupDirective { + if x != nil { + return x.BackupDirective + } + return nil +} + +type MessageTransport_Protocol_Integral struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Padding []byte `protobuf:"bytes,1,opt,name=padding,proto3" json:"padding,omitempty"` + DSM *MessageTransport_Protocol_Integral_DeviceSentMessage `protobuf:"bytes,2,opt,name=DSM,proto3" json:"DSM,omitempty"` +} + +func (x *MessageTransport_Protocol_Integral) Reset() { + *x = MessageTransport_Protocol_Integral{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageTransport_Protocol_Integral) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageTransport_Protocol_Integral) ProtoMessage() {} + +func (x *MessageTransport_Protocol_Integral) ProtoReflect() protoreflect.Message { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageTransport_Protocol_Integral.ProtoReflect.Descriptor instead. +func (*MessageTransport_Protocol_Integral) Descriptor() ([]byte, []int) { + return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 1} +} + +func (x *MessageTransport_Protocol_Integral) GetPadding() []byte { + if x != nil { + return x.Padding + } + return nil +} + +func (x *MessageTransport_Protocol_Integral) GetDSM() *MessageTransport_Protocol_Integral_DeviceSentMessage { + if x != nil { + return x.DSM + } + return nil +} + +type MessageTransport_Protocol_Ancillary_BackupDirective struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MessageID string `protobuf:"bytes,1,opt,name=messageID,proto3" json:"messageID,omitempty"` + ActionType MessageTransport_Protocol_Ancillary_BackupDirective_ActionType `protobuf:"varint,2,opt,name=actionType,proto3,enum=WAMsgTransport.MessageTransport_Protocol_Ancillary_BackupDirective_ActionType" json:"actionType,omitempty"` + SupplementalKey string `protobuf:"bytes,3,opt,name=supplementalKey,proto3" json:"supplementalKey,omitempty"` +} + +func (x *MessageTransport_Protocol_Ancillary_BackupDirective) Reset() { + *x = MessageTransport_Protocol_Ancillary_BackupDirective{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageTransport_Protocol_Ancillary_BackupDirective) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageTransport_Protocol_Ancillary_BackupDirective) ProtoMessage() {} + +func (x *MessageTransport_Protocol_Ancillary_BackupDirective) ProtoReflect() protoreflect.Message { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageTransport_Protocol_Ancillary_BackupDirective.ProtoReflect.Descriptor instead. +func (*MessageTransport_Protocol_Ancillary_BackupDirective) Descriptor() ([]byte, []int) { + return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 0, 0} +} + +func (x *MessageTransport_Protocol_Ancillary_BackupDirective) GetMessageID() string { + if x != nil { + return x.MessageID + } + return "" +} + +func (x *MessageTransport_Protocol_Ancillary_BackupDirective) GetActionType() MessageTransport_Protocol_Ancillary_BackupDirective_ActionType { + if x != nil { + return x.ActionType + } + return MessageTransport_Protocol_Ancillary_BackupDirective_NOOP +} + +func (x *MessageTransport_Protocol_Ancillary_BackupDirective) GetSupplementalKey() string { + if x != nil { + return x.SupplementalKey + } + return "" +} + +type MessageTransport_Protocol_Ancillary_ICDCParticipantDevices struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SenderIdentity *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription `protobuf:"bytes,1,opt,name=senderIdentity,proto3" json:"senderIdentity,omitempty"` + RecipientIdentities []*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription `protobuf:"bytes,2,rep,name=recipientIdentities,proto3" json:"recipientIdentities,omitempty"` + RecipientUserJIDs []string `protobuf:"bytes,3,rep,name=recipientUserJIDs,proto3" json:"recipientUserJIDs,omitempty"` +} + +func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) Reset() { + *x = MessageTransport_Protocol_Ancillary_ICDCParticipantDevices{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) ProtoMessage() {} + +func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) ProtoReflect() protoreflect.Message { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageTransport_Protocol_Ancillary_ICDCParticipantDevices.ProtoReflect.Descriptor instead. +func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) Descriptor() ([]byte, []int) { + return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 0, 1} +} + +func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) GetSenderIdentity() *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription { + if x != nil { + return x.SenderIdentity + } + return nil +} + +func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) GetRecipientIdentities() []*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription { + if x != nil { + return x.RecipientIdentities + } + return nil +} + +func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) GetRecipientUserJIDs() []string { + if x != nil { + return x.RecipientUserJIDs + } + return nil +} + +type MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"` + AxolotlSenderKeyDistributionMessage []byte `protobuf:"bytes,2,opt,name=axolotlSenderKeyDistributionMessage,proto3" json:"axolotlSenderKeyDistributionMessage,omitempty"` +} + +func (x *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) Reset() { + *x = MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) ProtoMessage() {} + +func (x *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage.ProtoReflect.Descriptor instead. +func (*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) Descriptor() ([]byte, []int) { + return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 0, 2} +} + +func (x *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) GetGroupID() string { + if x != nil { + return x.GroupID + } + return "" +} + +func (x *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) GetAxolotlSenderKeyDistributionMessage() []byte { + if x != nil { + return x.AxolotlSenderKeyDistributionMessage + } + return nil +} + +type MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Seq int32 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` + SigningDevice []byte `protobuf:"bytes,2,opt,name=signingDevice,proto3" json:"signingDevice,omitempty"` + UnknownDevices [][]byte `protobuf:"bytes,3,rep,name=unknownDevices,proto3" json:"unknownDevices,omitempty"` + UnknownDeviceIDs []int32 `protobuf:"varint,4,rep,packed,name=unknownDeviceIDs,proto3" json:"unknownDeviceIDs,omitempty"` +} + +func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) Reset() { + *x = MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) ProtoMessage() { +} + +func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) ProtoReflect() protoreflect.Message { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription.ProtoReflect.Descriptor instead. +func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) Descriptor() ([]byte, []int) { + return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 0, 1, 0} +} + +func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) GetSeq() int32 { + if x != nil { + return x.Seq + } + return 0 +} + +func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) GetSigningDevice() []byte { + if x != nil { + return x.SigningDevice + } + return nil +} + +func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) GetUnknownDevices() [][]byte { + if x != nil { + return x.UnknownDevices + } + return nil +} + +func (x *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) GetUnknownDeviceIDs() []int32 { + if x != nil { + return x.UnknownDeviceIDs + } + return nil +} + +type MessageTransport_Protocol_Integral_DeviceSentMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DestinationJID string `protobuf:"bytes,1,opt,name=destinationJID,proto3" json:"destinationJID,omitempty"` + Phash string `protobuf:"bytes,2,opt,name=phash,proto3" json:"phash,omitempty"` +} + +func (x *MessageTransport_Protocol_Integral_DeviceSentMessage) Reset() { + *x = MessageTransport_Protocol_Integral_DeviceSentMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageTransport_Protocol_Integral_DeviceSentMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageTransport_Protocol_Integral_DeviceSentMessage) ProtoMessage() {} + +func (x *MessageTransport_Protocol_Integral_DeviceSentMessage) ProtoReflect() protoreflect.Message { + mi := &file_waMsgTransport_WAMsgTransport_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageTransport_Protocol_Integral_DeviceSentMessage.ProtoReflect.Descriptor instead. +func (*MessageTransport_Protocol_Integral_DeviceSentMessage) Descriptor() ([]byte, []int) { + return file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP(), []int{0, 1, 1, 0} +} + +func (x *MessageTransport_Protocol_Integral_DeviceSentMessage) GetDestinationJID() string { + if x != nil { + return x.DestinationJID + } + return "" +} + +func (x *MessageTransport_Protocol_Integral_DeviceSentMessage) GetPhash() string { + if x != nil { + return x.Phash + } + return "" +} + +var File_waMsgTransport_WAMsgTransport_proto protoreflect.FileDescriptor + +//go:embed WAMsgTransport.pb.raw +var file_waMsgTransport_WAMsgTransport_proto_rawDesc []byte + +var ( + file_waMsgTransport_WAMsgTransport_proto_rawDescOnce sync.Once + file_waMsgTransport_WAMsgTransport_proto_rawDescData = file_waMsgTransport_WAMsgTransport_proto_rawDesc +) + +func file_waMsgTransport_WAMsgTransport_proto_rawDescGZIP() []byte { + file_waMsgTransport_WAMsgTransport_proto_rawDescOnce.Do(func() { + file_waMsgTransport_WAMsgTransport_proto_rawDescData = protoimpl.X.CompressGZIP(file_waMsgTransport_WAMsgTransport_proto_rawDescData) + }) + return file_waMsgTransport_WAMsgTransport_proto_rawDescData +} + +var file_waMsgTransport_WAMsgTransport_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_waMsgTransport_WAMsgTransport_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_waMsgTransport_WAMsgTransport_proto_goTypes = []interface{}{ + (MessageTransport_Protocol_Ancillary_BackupDirective_ActionType)(0), // 0: WAMsgTransport.MessageTransport.Protocol.Ancillary.BackupDirective.ActionType + (*MessageTransport)(nil), // 1: WAMsgTransport.MessageTransport + (*DeviceListMetadata)(nil), // 2: WAMsgTransport.DeviceListMetadata + (*MessageTransport_Payload)(nil), // 3: WAMsgTransport.MessageTransport.Payload + (*MessageTransport_Protocol)(nil), // 4: WAMsgTransport.MessageTransport.Protocol + (*MessageTransport_Protocol_Ancillary)(nil), // 5: WAMsgTransport.MessageTransport.Protocol.Ancillary + (*MessageTransport_Protocol_Integral)(nil), // 6: WAMsgTransport.MessageTransport.Protocol.Integral + (*MessageTransport_Protocol_Ancillary_BackupDirective)(nil), // 7: WAMsgTransport.MessageTransport.Protocol.Ancillary.BackupDirective + (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices)(nil), // 8: WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices + (*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage)(nil), // 9: WAMsgTransport.MessageTransport.Protocol.Ancillary.SenderKeyDistributionMessage + (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription)(nil), // 10: WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescription + (*MessageTransport_Protocol_Integral_DeviceSentMessage)(nil), // 11: WAMsgTransport.MessageTransport.Protocol.Integral.DeviceSentMessage + (*waCommon.SubProtocol)(nil), // 12: WACommon.SubProtocol + (waCommon.FutureProofBehavior)(0), // 13: WACommon.FutureProofBehavior +} +var file_waMsgTransport_WAMsgTransport_proto_depIdxs = []int32{ + 3, // 0: WAMsgTransport.MessageTransport.payload:type_name -> WAMsgTransport.MessageTransport.Payload + 4, // 1: WAMsgTransport.MessageTransport.protocol:type_name -> WAMsgTransport.MessageTransport.Protocol + 12, // 2: WAMsgTransport.MessageTransport.Payload.applicationPayload:type_name -> WACommon.SubProtocol + 13, // 3: WAMsgTransport.MessageTransport.Payload.futureProof:type_name -> WACommon.FutureProofBehavior + 6, // 4: WAMsgTransport.MessageTransport.Protocol.integral:type_name -> WAMsgTransport.MessageTransport.Protocol.Integral + 5, // 5: WAMsgTransport.MessageTransport.Protocol.ancillary:type_name -> WAMsgTransport.MessageTransport.Protocol.Ancillary + 9, // 6: WAMsgTransport.MessageTransport.Protocol.Ancillary.skdm:type_name -> WAMsgTransport.MessageTransport.Protocol.Ancillary.SenderKeyDistributionMessage + 2, // 7: WAMsgTransport.MessageTransport.Protocol.Ancillary.deviceListMetadata:type_name -> WAMsgTransport.DeviceListMetadata + 8, // 8: WAMsgTransport.MessageTransport.Protocol.Ancillary.icdc:type_name -> WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices + 7, // 9: WAMsgTransport.MessageTransport.Protocol.Ancillary.backupDirective:type_name -> WAMsgTransport.MessageTransport.Protocol.Ancillary.BackupDirective + 11, // 10: WAMsgTransport.MessageTransport.Protocol.Integral.DSM:type_name -> WAMsgTransport.MessageTransport.Protocol.Integral.DeviceSentMessage + 0, // 11: WAMsgTransport.MessageTransport.Protocol.Ancillary.BackupDirective.actionType:type_name -> WAMsgTransport.MessageTransport.Protocol.Ancillary.BackupDirective.ActionType + 10, // 12: WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.senderIdentity:type_name -> WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescription + 10, // 13: WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.recipientIdentities:type_name -> WAMsgTransport.MessageTransport.Protocol.Ancillary.ICDCParticipantDevices.ICDCIdentityListDescription + 14, // [14:14] is the sub-list for method output_type + 14, // [14:14] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name +} + +func init() { file_waMsgTransport_WAMsgTransport_proto_init() } +func file_waMsgTransport_WAMsgTransport_proto_init() { + if File_waMsgTransport_WAMsgTransport_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waMsgTransport_WAMsgTransport_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageTransport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgTransport_WAMsgTransport_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeviceListMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgTransport_WAMsgTransport_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageTransport_Payload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgTransport_WAMsgTransport_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageTransport_Protocol); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgTransport_WAMsgTransport_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageTransport_Protocol_Ancillary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgTransport_WAMsgTransport_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageTransport_Protocol_Integral); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgTransport_WAMsgTransport_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageTransport_Protocol_Ancillary_BackupDirective); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgTransport_WAMsgTransport_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgTransport_WAMsgTransport_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgTransport_WAMsgTransport_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMsgTransport_WAMsgTransport_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageTransport_Protocol_Integral_DeviceSentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waMsgTransport_WAMsgTransport_proto_rawDesc, + NumEnums: 1, + NumMessages: 11, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waMsgTransport_WAMsgTransport_proto_goTypes, + DependencyIndexes: file_waMsgTransport_WAMsgTransport_proto_depIdxs, + EnumInfos: file_waMsgTransport_WAMsgTransport_proto_enumTypes, + MessageInfos: file_waMsgTransport_WAMsgTransport_proto_msgTypes, + }.Build() + File_waMsgTransport_WAMsgTransport_proto = out.File + file_waMsgTransport_WAMsgTransport_proto_rawDesc = nil + file_waMsgTransport_WAMsgTransport_proto_goTypes = nil + file_waMsgTransport_WAMsgTransport_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.pb.raw new file mode 100644 index 00000000..70e02e14 Binary files /dev/null and b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.proto new file mode 100644 index 00000000..ad5bc659 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/WAMsgTransport.proto @@ -0,0 +1,75 @@ +syntax = "proto3"; +package WAMsgTransport; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport"; + +import "waCommon/WACommon.proto"; + +message MessageTransport { + message Payload { + WACommon.SubProtocol applicationPayload = 1; + WACommon.FutureProofBehavior futureProof = 3; + } + + message Protocol { + message Ancillary { + message BackupDirective { + enum ActionType { + NOOP = 0; + UPSERT = 1; + DELETE = 2; + UPSERT_AND_DELETE = 3; + } + + string messageID = 1; + ActionType actionType = 2; + string supplementalKey = 3; + } + + message ICDCParticipantDevices { + message ICDCIdentityListDescription { + int32 seq = 1; + bytes signingDevice = 2; + repeated bytes unknownDevices = 3; + repeated int32 unknownDeviceIDs = 4; + } + + ICDCIdentityListDescription senderIdentity = 1; + repeated ICDCIdentityListDescription recipientIdentities = 2; + repeated string recipientUserJIDs = 3; + } + + message SenderKeyDistributionMessage { + string groupID = 1; + bytes axolotlSenderKeyDistributionMessage = 2; + } + + SenderKeyDistributionMessage skdm = 2; + DeviceListMetadata deviceListMetadata = 3; + ICDCParticipantDevices icdc = 4; + BackupDirective backupDirective = 5; + } + + message Integral { + message DeviceSentMessage { + string destinationJID = 1; + string phash = 2; + } + + bytes padding = 1; + DeviceSentMessage DSM = 2; + } + + Integral integral = 1; + Ancillary ancillary = 2; + } + + Payload payload = 1; + Protocol protocol = 2; +} + +message DeviceListMetadata { + bytes senderKeyHash = 1; + uint64 senderTimestamp = 2; + bytes recipientKeyHash = 8; + uint64 recipientTimestamp = 9; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/extra.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/extra.go new file mode 100644 index 00000000..e688fa75 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMsgTransport/extra.go @@ -0,0 +1,19 @@ +package waMsgTransport + +import ( + "go.mau.fi/whatsmeow/binary/armadillo/armadilloutil" + "go.mau.fi/whatsmeow/binary/armadillo/waMsgApplication" +) + +const ( + MessageApplicationVersion = 2 +) + +func (msg *MessageTransport_Payload) Decode() (*waMsgApplication.MessageApplication, error) { + return armadilloutil.Unmarshal(&waMsgApplication.MessageApplication{}, msg.GetApplicationPayload(), MessageApplicationVersion) +} + +func (msg *MessageTransport_Payload) Set(payload *waMsgApplication.MessageApplication) (err error) { + msg.ApplicationPayload, err = armadilloutil.Marshal(payload, MessageApplicationVersion) + return +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.pb.go new file mode 100644 index 00000000..d76a4316 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.pb.go @@ -0,0 +1,859 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waMultiDevice/WAMultiDevice.proto + +package waMultiDevice + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MultiDevice struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Payload *MultiDevice_Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` + Metadata *MultiDevice_Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` +} + +func (x *MultiDevice) Reset() { + *x = MultiDevice{} + if protoimpl.UnsafeEnabled { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultiDevice) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultiDevice) ProtoMessage() {} + +func (x *MultiDevice) ProtoReflect() protoreflect.Message { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultiDevice.ProtoReflect.Descriptor instead. +func (*MultiDevice) Descriptor() ([]byte, []int) { + return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0} +} + +func (x *MultiDevice) GetPayload() *MultiDevice_Payload { + if x != nil { + return x.Payload + } + return nil +} + +func (x *MultiDevice) GetMetadata() *MultiDevice_Metadata { + if x != nil { + return x.Metadata + } + return nil +} + +type MultiDevice_Metadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MultiDevice_Metadata) Reset() { + *x = MultiDevice_Metadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultiDevice_Metadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultiDevice_Metadata) ProtoMessage() {} + +func (x *MultiDevice_Metadata) ProtoReflect() protoreflect.Message { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultiDevice_Metadata.ProtoReflect.Descriptor instead. +func (*MultiDevice_Metadata) Descriptor() ([]byte, []int) { + return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 0} +} + +type MultiDevice_Payload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Payload: + // + // *MultiDevice_Payload_ApplicationData + // *MultiDevice_Payload_Signal + Payload isMultiDevice_Payload_Payload `protobuf_oneof:"payload"` +} + +func (x *MultiDevice_Payload) Reset() { + *x = MultiDevice_Payload{} + if protoimpl.UnsafeEnabled { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultiDevice_Payload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultiDevice_Payload) ProtoMessage() {} + +func (x *MultiDevice_Payload) ProtoReflect() protoreflect.Message { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultiDevice_Payload.ProtoReflect.Descriptor instead. +func (*MultiDevice_Payload) Descriptor() ([]byte, []int) { + return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 1} +} + +func (m *MultiDevice_Payload) GetPayload() isMultiDevice_Payload_Payload { + if m != nil { + return m.Payload + } + return nil +} + +func (x *MultiDevice_Payload) GetApplicationData() *MultiDevice_ApplicationData { + if x, ok := x.GetPayload().(*MultiDevice_Payload_ApplicationData); ok { + return x.ApplicationData + } + return nil +} + +func (x *MultiDevice_Payload) GetSignal() *MultiDevice_Signal { + if x, ok := x.GetPayload().(*MultiDevice_Payload_Signal); ok { + return x.Signal + } + return nil +} + +type isMultiDevice_Payload_Payload interface { + isMultiDevice_Payload_Payload() +} + +type MultiDevice_Payload_ApplicationData struct { + ApplicationData *MultiDevice_ApplicationData `protobuf:"bytes,1,opt,name=applicationData,proto3,oneof"` +} + +type MultiDevice_Payload_Signal struct { + Signal *MultiDevice_Signal `protobuf:"bytes,2,opt,name=signal,proto3,oneof"` +} + +func (*MultiDevice_Payload_ApplicationData) isMultiDevice_Payload_Payload() {} + +func (*MultiDevice_Payload_Signal) isMultiDevice_Payload_Payload() {} + +type MultiDevice_ApplicationData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to ApplicationData: + // + // *MultiDevice_ApplicationData_AppStateSyncKeyShare + // *MultiDevice_ApplicationData_AppStateSyncKeyRequest + ApplicationData isMultiDevice_ApplicationData_ApplicationData `protobuf_oneof:"applicationData"` +} + +func (x *MultiDevice_ApplicationData) Reset() { + *x = MultiDevice_ApplicationData{} + if protoimpl.UnsafeEnabled { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultiDevice_ApplicationData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultiDevice_ApplicationData) ProtoMessage() {} + +func (x *MultiDevice_ApplicationData) ProtoReflect() protoreflect.Message { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultiDevice_ApplicationData.ProtoReflect.Descriptor instead. +func (*MultiDevice_ApplicationData) Descriptor() ([]byte, []int) { + return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 2} +} + +func (m *MultiDevice_ApplicationData) GetApplicationData() isMultiDevice_ApplicationData_ApplicationData { + if m != nil { + return m.ApplicationData + } + return nil +} + +func (x *MultiDevice_ApplicationData) GetAppStateSyncKeyShare() *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage { + if x, ok := x.GetApplicationData().(*MultiDevice_ApplicationData_AppStateSyncKeyShare); ok { + return x.AppStateSyncKeyShare + } + return nil +} + +func (x *MultiDevice_ApplicationData) GetAppStateSyncKeyRequest() *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage { + if x, ok := x.GetApplicationData().(*MultiDevice_ApplicationData_AppStateSyncKeyRequest); ok { + return x.AppStateSyncKeyRequest + } + return nil +} + +type isMultiDevice_ApplicationData_ApplicationData interface { + isMultiDevice_ApplicationData_ApplicationData() +} + +type MultiDevice_ApplicationData_AppStateSyncKeyShare struct { + AppStateSyncKeyShare *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage `protobuf:"bytes,1,opt,name=appStateSyncKeyShare,proto3,oneof"` +} + +type MultiDevice_ApplicationData_AppStateSyncKeyRequest struct { + AppStateSyncKeyRequest *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage `protobuf:"bytes,2,opt,name=appStateSyncKeyRequest,proto3,oneof"` +} + +func (*MultiDevice_ApplicationData_AppStateSyncKeyShare) isMultiDevice_ApplicationData_ApplicationData() { +} + +func (*MultiDevice_ApplicationData_AppStateSyncKeyRequest) isMultiDevice_ApplicationData_ApplicationData() { +} + +type MultiDevice_Signal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MultiDevice_Signal) Reset() { + *x = MultiDevice_Signal{} + if protoimpl.UnsafeEnabled { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultiDevice_Signal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultiDevice_Signal) ProtoMessage() {} + +func (x *MultiDevice_Signal) ProtoReflect() protoreflect.Message { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultiDevice_Signal.ProtoReflect.Descriptor instead. +func (*MultiDevice_Signal) Descriptor() ([]byte, []int) { + return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 3} +} + +type MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KeyIDs []*MultiDevice_ApplicationData_AppStateSyncKeyId `protobuf:"bytes,1,rep,name=keyIDs,proto3" json:"keyIDs,omitempty"` +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage) Reset() { + *x = MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage) ProtoMessage() {} + +func (x *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage) ProtoReflect() protoreflect.Message { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage.ProtoReflect.Descriptor instead. +func (*MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage) Descriptor() ([]byte, []int) { + return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 2, 0} +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage) GetKeyIDs() []*MultiDevice_ApplicationData_AppStateSyncKeyId { + if x != nil { + return x.KeyIDs + } + return nil +} + +type MultiDevice_ApplicationData_AppStateSyncKeyShareMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Keys []*MultiDevice_ApplicationData_AppStateSyncKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage) Reset() { + *x = MultiDevice_ApplicationData_AppStateSyncKeyShareMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultiDevice_ApplicationData_AppStateSyncKeyShareMessage) ProtoMessage() {} + +func (x *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage) ProtoReflect() protoreflect.Message { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultiDevice_ApplicationData_AppStateSyncKeyShareMessage.ProtoReflect.Descriptor instead. +func (*MultiDevice_ApplicationData_AppStateSyncKeyShareMessage) Descriptor() ([]byte, []int) { + return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 2, 1} +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKeyShareMessage) GetKeys() []*MultiDevice_ApplicationData_AppStateSyncKey { + if x != nil { + return x.Keys + } + return nil +} + +type MultiDevice_ApplicationData_AppStateSyncKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KeyID *MultiDevice_ApplicationData_AppStateSyncKeyId `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` + KeyData *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData `protobuf:"bytes,2,opt,name=keyData,proto3" json:"keyData,omitempty"` +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey) Reset() { + *x = MultiDevice_ApplicationData_AppStateSyncKey{} + if protoimpl.UnsafeEnabled { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultiDevice_ApplicationData_AppStateSyncKey) ProtoMessage() {} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey) ProtoReflect() protoreflect.Message { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultiDevice_ApplicationData_AppStateSyncKey.ProtoReflect.Descriptor instead. +func (*MultiDevice_ApplicationData_AppStateSyncKey) Descriptor() ([]byte, []int) { + return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 2, 2} +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey) GetKeyID() *MultiDevice_ApplicationData_AppStateSyncKeyId { + if x != nil { + return x.KeyID + } + return nil +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey) GetKeyData() *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData { + if x != nil { + return x.KeyData + } + return nil +} + +type MultiDevice_ApplicationData_AppStateSyncKeyId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KeyID []byte `protobuf:"bytes,1,opt,name=keyID,proto3" json:"keyID,omitempty"` +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKeyId) Reset() { + *x = MultiDevice_ApplicationData_AppStateSyncKeyId{} + if protoimpl.UnsafeEnabled { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKeyId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultiDevice_ApplicationData_AppStateSyncKeyId) ProtoMessage() {} + +func (x *MultiDevice_ApplicationData_AppStateSyncKeyId) ProtoReflect() protoreflect.Message { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultiDevice_ApplicationData_AppStateSyncKeyId.ProtoReflect.Descriptor instead. +func (*MultiDevice_ApplicationData_AppStateSyncKeyId) Descriptor() ([]byte, []int) { + return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 2, 3} +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKeyId) GetKeyID() []byte { + if x != nil { + return x.KeyID + } + return nil +} + +type MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + KeyData []byte `protobuf:"bytes,1,opt,name=keyData,proto3" json:"keyData,omitempty"` + Fingerprint *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` + Timestamp int64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) Reset() { + *x = MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData{} + if protoimpl.UnsafeEnabled { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) ProtoMessage() {} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) ProtoReflect() protoreflect.Message { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData.ProtoReflect.Descriptor instead. +func (*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) Descriptor() ([]byte, []int) { + return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 2, 2, 0} +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) GetKeyData() []byte { + if x != nil { + return x.KeyData + } + return nil +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) GetFingerprint() *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint { + if x != nil { + return x.Fingerprint + } + return nil +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +type MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawID uint32 `protobuf:"varint,1,opt,name=rawID,proto3" json:"rawID,omitempty"` + CurrentIndex uint32 `protobuf:"varint,2,opt,name=currentIndex,proto3" json:"currentIndex,omitempty"` + DeviceIndexes []uint32 `protobuf:"varint,3,rep,packed,name=deviceIndexes,proto3" json:"deviceIndexes,omitempty"` +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) Reset() { + *x = MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint{} + if protoimpl.UnsafeEnabled { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) ProtoMessage() { +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) ProtoReflect() protoreflect.Message { + mi := &file_waMultiDevice_WAMultiDevice_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint.ProtoReflect.Descriptor instead. +func (*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) Descriptor() ([]byte, []int) { + return file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP(), []int{0, 2, 2, 0, 0} +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) GetRawID() uint32 { + if x != nil { + return x.RawID + } + return 0 +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) GetCurrentIndex() uint32 { + if x != nil { + return x.CurrentIndex + } + return 0 +} + +func (x *MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint) GetDeviceIndexes() []uint32 { + if x != nil { + return x.DeviceIndexes + } + return nil +} + +var File_waMultiDevice_WAMultiDevice_proto protoreflect.FileDescriptor + +//go:embed WAMultiDevice.pb.raw +var file_waMultiDevice_WAMultiDevice_proto_rawDesc []byte + +var ( + file_waMultiDevice_WAMultiDevice_proto_rawDescOnce sync.Once + file_waMultiDevice_WAMultiDevice_proto_rawDescData = file_waMultiDevice_WAMultiDevice_proto_rawDesc +) + +func file_waMultiDevice_WAMultiDevice_proto_rawDescGZIP() []byte { + file_waMultiDevice_WAMultiDevice_proto_rawDescOnce.Do(func() { + file_waMultiDevice_WAMultiDevice_proto_rawDescData = protoimpl.X.CompressGZIP(file_waMultiDevice_WAMultiDevice_proto_rawDescData) + }) + return file_waMultiDevice_WAMultiDevice_proto_rawDescData +} + +var file_waMultiDevice_WAMultiDevice_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_waMultiDevice_WAMultiDevice_proto_goTypes = []interface{}{ + (*MultiDevice)(nil), // 0: WAMultiDevice.MultiDevice + (*MultiDevice_Metadata)(nil), // 1: WAMultiDevice.MultiDevice.Metadata + (*MultiDevice_Payload)(nil), // 2: WAMultiDevice.MultiDevice.Payload + (*MultiDevice_ApplicationData)(nil), // 3: WAMultiDevice.MultiDevice.ApplicationData + (*MultiDevice_Signal)(nil), // 4: WAMultiDevice.MultiDevice.Signal + (*MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage)(nil), // 5: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyRequestMessage + (*MultiDevice_ApplicationData_AppStateSyncKeyShareMessage)(nil), // 6: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyShareMessage + (*MultiDevice_ApplicationData_AppStateSyncKey)(nil), // 7: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey + (*MultiDevice_ApplicationData_AppStateSyncKeyId)(nil), // 8: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyId + (*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData)(nil), // 9: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData + (*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint)(nil), // 10: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.AppStateSyncKeyFingerprint +} +var file_waMultiDevice_WAMultiDevice_proto_depIdxs = []int32{ + 2, // 0: WAMultiDevice.MultiDevice.payload:type_name -> WAMultiDevice.MultiDevice.Payload + 1, // 1: WAMultiDevice.MultiDevice.metadata:type_name -> WAMultiDevice.MultiDevice.Metadata + 3, // 2: WAMultiDevice.MultiDevice.Payload.applicationData:type_name -> WAMultiDevice.MultiDevice.ApplicationData + 4, // 3: WAMultiDevice.MultiDevice.Payload.signal:type_name -> WAMultiDevice.MultiDevice.Signal + 6, // 4: WAMultiDevice.MultiDevice.ApplicationData.appStateSyncKeyShare:type_name -> WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyShareMessage + 5, // 5: WAMultiDevice.MultiDevice.ApplicationData.appStateSyncKeyRequest:type_name -> WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyRequestMessage + 8, // 6: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyRequestMessage.keyIDs:type_name -> WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyId + 7, // 7: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyShareMessage.keys:type_name -> WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey + 8, // 8: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.keyID:type_name -> WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKeyId + 9, // 9: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.keyData:type_name -> WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData + 10, // 10: WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.fingerprint:type_name -> WAMultiDevice.MultiDevice.ApplicationData.AppStateSyncKey.AppStateSyncKeyData.AppStateSyncKeyFingerprint + 11, // [11:11] is the sub-list for method output_type + 11, // [11:11] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name +} + +func init() { file_waMultiDevice_WAMultiDevice_proto_init() } +func file_waMultiDevice_WAMultiDevice_proto_init() { + if File_waMultiDevice_WAMultiDevice_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waMultiDevice_WAMultiDevice_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultiDevice); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMultiDevice_WAMultiDevice_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultiDevice_Metadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMultiDevice_WAMultiDevice_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultiDevice_Payload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMultiDevice_WAMultiDevice_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultiDevice_ApplicationData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMultiDevice_WAMultiDevice_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultiDevice_Signal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMultiDevice_WAMultiDevice_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultiDevice_ApplicationData_AppStateSyncKeyRequestMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMultiDevice_WAMultiDevice_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultiDevice_ApplicationData_AppStateSyncKeyShareMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMultiDevice_WAMultiDevice_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultiDevice_ApplicationData_AppStateSyncKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMultiDevice_WAMultiDevice_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultiDevice_ApplicationData_AppStateSyncKeyId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMultiDevice_WAMultiDevice_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waMultiDevice_WAMultiDevice_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MultiDevice_ApplicationData_AppStateSyncKey_AppStateSyncKeyData_AppStateSyncKeyFingerprint); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_waMultiDevice_WAMultiDevice_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*MultiDevice_Payload_ApplicationData)(nil), + (*MultiDevice_Payload_Signal)(nil), + } + file_waMultiDevice_WAMultiDevice_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*MultiDevice_ApplicationData_AppStateSyncKeyShare)(nil), + (*MultiDevice_ApplicationData_AppStateSyncKeyRequest)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waMultiDevice_WAMultiDevice_proto_rawDesc, + NumEnums: 0, + NumMessages: 11, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waMultiDevice_WAMultiDevice_proto_goTypes, + DependencyIndexes: file_waMultiDevice_WAMultiDevice_proto_depIdxs, + MessageInfos: file_waMultiDevice_WAMultiDevice_proto_msgTypes, + }.Build() + File_waMultiDevice_WAMultiDevice_proto = out.File + file_waMultiDevice_WAMultiDevice_proto_rawDesc = nil + file_waMultiDevice_WAMultiDevice_proto_goTypes = nil + file_waMultiDevice_WAMultiDevice_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.pb.raw new file mode 100644 index 00000000..1c01f2df Binary files /dev/null and b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.proto new file mode 100644 index 00000000..a5485d03 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/WAMultiDevice.proto @@ -0,0 +1,57 @@ +syntax = "proto3"; +package WAMultiDevice; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice"; + +message MultiDevice { + message Metadata { + } + + message Payload { + oneof payload { + ApplicationData applicationData = 1; + Signal signal = 2; + } + } + + message ApplicationData { + message AppStateSyncKeyRequestMessage { + repeated AppStateSyncKeyId keyIDs = 1; + } + + message AppStateSyncKeyShareMessage { + repeated AppStateSyncKey keys = 1; + } + + message AppStateSyncKey { + message AppStateSyncKeyData { + message AppStateSyncKeyFingerprint { + uint32 rawID = 1; + uint32 currentIndex = 2; + repeated uint32 deviceIndexes = 3 [packed=true]; + } + + bytes keyData = 1; + AppStateSyncKeyFingerprint fingerprint = 2; + int64 timestamp = 3; + } + + AppStateSyncKeyId keyID = 1; + AppStateSyncKeyData keyData = 2; + } + + message AppStateSyncKeyId { + bytes keyID = 1; + } + + oneof applicationData { + AppStateSyncKeyShareMessage appStateSyncKeyShare = 1; + AppStateSyncKeyRequestMessage appStateSyncKeyRequest = 2; + } + } + + message Signal { + } + + Payload payload = 1; + Metadata metadata = 2; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/extra.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/extra.go new file mode 100644 index 00000000..c99365ab --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waMultiDevice/extra.go @@ -0,0 +1,3 @@ +package waMultiDevice + +func (*MultiDevice) IsMessageApplicationSub() {} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waProtocol/WAProtocol.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waProtocol/WAProtocol.pb.go new file mode 100644 index 00000000..f00c2a39 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waProtocol/WAProtocol.pb.go @@ -0,0 +1,163 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waProtocol/WAProtocol.proto + +package waProtocol + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type MessageKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RemoteJID string `protobuf:"bytes,1,opt,name=remoteJID,proto3" json:"remoteJID,omitempty"` + FromMe bool `protobuf:"varint,2,opt,name=fromMe,proto3" json:"fromMe,omitempty"` + ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"` + Participant string `protobuf:"bytes,4,opt,name=participant,proto3" json:"participant,omitempty"` +} + +func (x *MessageKey) Reset() { + *x = MessageKey{} + if protoimpl.UnsafeEnabled { + mi := &file_waProtocol_WAProtocol_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageKey) ProtoMessage() {} + +func (x *MessageKey) ProtoReflect() protoreflect.Message { + mi := &file_waProtocol_WAProtocol_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageKey.ProtoReflect.Descriptor instead. +func (*MessageKey) Descriptor() ([]byte, []int) { + return file_waProtocol_WAProtocol_proto_rawDescGZIP(), []int{0} +} + +func (x *MessageKey) GetRemoteJID() string { + if x != nil { + return x.RemoteJID + } + return "" +} + +func (x *MessageKey) GetFromMe() bool { + if x != nil { + return x.FromMe + } + return false +} + +func (x *MessageKey) GetID() string { + if x != nil { + return x.ID + } + return "" +} + +func (x *MessageKey) GetParticipant() string { + if x != nil { + return x.Participant + } + return "" +} + +var File_waProtocol_WAProtocol_proto protoreflect.FileDescriptor + +//go:embed WAProtocol.pb.raw +var file_waProtocol_WAProtocol_proto_rawDesc []byte + +var ( + file_waProtocol_WAProtocol_proto_rawDescOnce sync.Once + file_waProtocol_WAProtocol_proto_rawDescData = file_waProtocol_WAProtocol_proto_rawDesc +) + +func file_waProtocol_WAProtocol_proto_rawDescGZIP() []byte { + file_waProtocol_WAProtocol_proto_rawDescOnce.Do(func() { + file_waProtocol_WAProtocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_waProtocol_WAProtocol_proto_rawDescData) + }) + return file_waProtocol_WAProtocol_proto_rawDescData +} + +var file_waProtocol_WAProtocol_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_waProtocol_WAProtocol_proto_goTypes = []interface{}{ + (*MessageKey)(nil), // 0: WAProtocol.MessageKey +} +var file_waProtocol_WAProtocol_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_waProtocol_WAProtocol_proto_init() } +func file_waProtocol_WAProtocol_proto_init() { + if File_waProtocol_WAProtocol_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waProtocol_WAProtocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MessageKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waProtocol_WAProtocol_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waProtocol_WAProtocol_proto_goTypes, + DependencyIndexes: file_waProtocol_WAProtocol_proto_depIdxs, + MessageInfos: file_waProtocol_WAProtocol_proto_msgTypes, + }.Build() + File_waProtocol_WAProtocol_proto = out.File + file_waProtocol_WAProtocol_proto_rawDesc = nil + file_waProtocol_WAProtocol_proto_goTypes = nil + file_waProtocol_WAProtocol_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waProtocol/WAProtocol.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waProtocol/WAProtocol.pb.raw new file mode 100644 index 00000000..c3a1eaab --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waProtocol/WAProtocol.pb.raw @@ -0,0 +1,9 @@ + +waProtocol/WAProtocol.proto +WAProtocol"t + +MessageKey + remoteJID ( R remoteJID +fromMe (RfromMe +ID ( RID + participant ( R participantB1Z/go.mau.fi/whatsmeow/binary/armadillo/waProtocolbproto3 \ No newline at end of file diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waProtocol/WAProtocol.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waProtocol/WAProtocol.proto new file mode 100644 index 00000000..a4fc3bf5 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waProtocol/WAProtocol.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; +package WAProtocol; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waProtocol"; + +message MessageKey { + string remoteJID = 1; + bool fromMe = 2; + string ID = 3; + string participant = 4; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waServerSync/WAServerSync.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waServerSync/WAServerSync.pb.go new file mode 100644 index 00000000..09faecd2 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waServerSync/WAServerSync.pb.go @@ -0,0 +1,962 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waServerSync/WAServerSync.proto + +package waServerSync + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SyncdMutation_SyncdOperation int32 + +const ( + SyncdMutation_SET SyncdMutation_SyncdOperation = 0 + SyncdMutation_REMOVE SyncdMutation_SyncdOperation = 1 +) + +// Enum value maps for SyncdMutation_SyncdOperation. +var ( + SyncdMutation_SyncdOperation_name = map[int32]string{ + 0: "SET", + 1: "REMOVE", + } + SyncdMutation_SyncdOperation_value = map[string]int32{ + "SET": 0, + "REMOVE": 1, + } +) + +func (x SyncdMutation_SyncdOperation) Enum() *SyncdMutation_SyncdOperation { + p := new(SyncdMutation_SyncdOperation) + *p = x + return p +} + +func (x SyncdMutation_SyncdOperation) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SyncdMutation_SyncdOperation) Descriptor() protoreflect.EnumDescriptor { + return file_waServerSync_WAServerSync_proto_enumTypes[0].Descriptor() +} + +func (SyncdMutation_SyncdOperation) Type() protoreflect.EnumType { + return &file_waServerSync_WAServerSync_proto_enumTypes[0] +} + +func (x SyncdMutation_SyncdOperation) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SyncdMutation_SyncdOperation.Descriptor instead. +func (SyncdMutation_SyncdOperation) EnumDescriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{0, 0} +} + +type SyncdMutation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Operation SyncdMutation_SyncdOperation `protobuf:"varint,1,opt,name=operation,proto3,enum=WAServerSync.SyncdMutation_SyncdOperation" json:"operation,omitempty"` + Record *SyncdRecord `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"` +} + +func (x *SyncdMutation) Reset() { + *x = SyncdMutation{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdMutation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdMutation) ProtoMessage() {} + +func (x *SyncdMutation) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdMutation.ProtoReflect.Descriptor instead. +func (*SyncdMutation) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{0} +} + +func (x *SyncdMutation) GetOperation() SyncdMutation_SyncdOperation { + if x != nil { + return x.Operation + } + return SyncdMutation_SET +} + +func (x *SyncdMutation) GetRecord() *SyncdRecord { + if x != nil { + return x.Record + } + return nil +} + +type SyncdVersion struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` +} + +func (x *SyncdVersion) Reset() { + *x = SyncdVersion{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdVersion) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdVersion) ProtoMessage() {} + +func (x *SyncdVersion) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdVersion.ProtoReflect.Descriptor instead. +func (*SyncdVersion) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{1} +} + +func (x *SyncdVersion) GetVersion() uint64 { + if x != nil { + return x.Version + } + return 0 +} + +type ExitCode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` +} + +func (x *ExitCode) Reset() { + *x = ExitCode{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExitCode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExitCode) ProtoMessage() {} + +func (x *ExitCode) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExitCode.ProtoReflect.Descriptor instead. +func (*ExitCode) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{2} +} + +func (x *ExitCode) GetCode() uint64 { + if x != nil { + return x.Code + } + return 0 +} + +func (x *ExitCode) GetText() string { + if x != nil { + return x.Text + } + return "" +} + +type SyncdIndex struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Blob []byte `protobuf:"bytes,1,opt,name=blob,proto3" json:"blob,omitempty"` +} + +func (x *SyncdIndex) Reset() { + *x = SyncdIndex{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdIndex) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdIndex) ProtoMessage() {} + +func (x *SyncdIndex) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdIndex.ProtoReflect.Descriptor instead. +func (*SyncdIndex) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{3} +} + +func (x *SyncdIndex) GetBlob() []byte { + if x != nil { + return x.Blob + } + return nil +} + +type SyncdValue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Blob []byte `protobuf:"bytes,1,opt,name=blob,proto3" json:"blob,omitempty"` +} + +func (x *SyncdValue) Reset() { + *x = SyncdValue{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdValue) ProtoMessage() {} + +func (x *SyncdValue) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdValue.ProtoReflect.Descriptor instead. +func (*SyncdValue) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{4} +} + +func (x *SyncdValue) GetBlob() []byte { + if x != nil { + return x.Blob + } + return nil +} + +type KeyId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID []byte `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` +} + +func (x *KeyId) Reset() { + *x = KeyId{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *KeyId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeyId) ProtoMessage() {} + +func (x *KeyId) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use KeyId.ProtoReflect.Descriptor instead. +func (*KeyId) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{5} +} + +func (x *KeyId) GetID() []byte { + if x != nil { + return x.ID + } + return nil +} + +type SyncdRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index *SyncdIndex `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` + Value *SyncdValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + KeyID *KeyId `protobuf:"bytes,3,opt,name=keyID,proto3" json:"keyID,omitempty"` +} + +func (x *SyncdRecord) Reset() { + *x = SyncdRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdRecord) ProtoMessage() {} + +func (x *SyncdRecord) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdRecord.ProtoReflect.Descriptor instead. +func (*SyncdRecord) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{6} +} + +func (x *SyncdRecord) GetIndex() *SyncdIndex { + if x != nil { + return x.Index + } + return nil +} + +func (x *SyncdRecord) GetValue() *SyncdValue { + if x != nil { + return x.Value + } + return nil +} + +func (x *SyncdRecord) GetKeyID() *KeyId { + if x != nil { + return x.KeyID + } + return nil +} + +type ExternalBlobReference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MediaKey []byte `protobuf:"bytes,1,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + DirectPath string `protobuf:"bytes,2,opt,name=directPath,proto3" json:"directPath,omitempty"` + Handle string `protobuf:"bytes,3,opt,name=handle,proto3" json:"handle,omitempty"` + FileSizeBytes uint64 `protobuf:"varint,4,opt,name=fileSizeBytes,proto3" json:"fileSizeBytes,omitempty"` + FileSHA256 []byte `protobuf:"bytes,5,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,6,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` +} + +func (x *ExternalBlobReference) Reset() { + *x = ExternalBlobReference{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExternalBlobReference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExternalBlobReference) ProtoMessage() {} + +func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExternalBlobReference.ProtoReflect.Descriptor instead. +func (*ExternalBlobReference) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{7} +} + +func (x *ExternalBlobReference) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *ExternalBlobReference) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *ExternalBlobReference) GetHandle() string { + if x != nil { + return x.Handle + } + return "" +} + +func (x *ExternalBlobReference) GetFileSizeBytes() uint64 { + if x != nil { + return x.FileSizeBytes + } + return 0 +} + +func (x *ExternalBlobReference) GetFileSHA256() []byte { + if x != nil { + return x.FileSHA256 + } + return nil +} + +func (x *ExternalBlobReference) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +type SyncdSnapshot struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version *SyncdVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Records []*SyncdRecord `protobuf:"bytes,2,rep,name=records,proto3" json:"records,omitempty"` + Mac []byte `protobuf:"bytes,3,opt,name=mac,proto3" json:"mac,omitempty"` + KeyID *KeyId `protobuf:"bytes,4,opt,name=keyID,proto3" json:"keyID,omitempty"` +} + +func (x *SyncdSnapshot) Reset() { + *x = SyncdSnapshot{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdSnapshot) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdSnapshot) ProtoMessage() {} + +func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdSnapshot.ProtoReflect.Descriptor instead. +func (*SyncdSnapshot) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{8} +} + +func (x *SyncdSnapshot) GetVersion() *SyncdVersion { + if x != nil { + return x.Version + } + return nil +} + +func (x *SyncdSnapshot) GetRecords() []*SyncdRecord { + if x != nil { + return x.Records + } + return nil +} + +func (x *SyncdSnapshot) GetMac() []byte { + if x != nil { + return x.Mac + } + return nil +} + +func (x *SyncdSnapshot) GetKeyID() *KeyId { + if x != nil { + return x.KeyID + } + return nil +} + +type SyncdMutations struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Mutations []*SyncdMutation `protobuf:"bytes,1,rep,name=mutations,proto3" json:"mutations,omitempty"` +} + +func (x *SyncdMutations) Reset() { + *x = SyncdMutations{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdMutations) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdMutations) ProtoMessage() {} + +func (x *SyncdMutations) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdMutations.ProtoReflect.Descriptor instead. +func (*SyncdMutations) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{9} +} + +func (x *SyncdMutations) GetMutations() []*SyncdMutation { + if x != nil { + return x.Mutations + } + return nil +} + +type SyncdPatch struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version *SyncdVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Mutations []*SyncdMutation `protobuf:"bytes,2,rep,name=mutations,proto3" json:"mutations,omitempty"` + ExternalMutations *ExternalBlobReference `protobuf:"bytes,3,opt,name=externalMutations,proto3" json:"externalMutations,omitempty"` + SnapshotMAC []byte `protobuf:"bytes,4,opt,name=snapshotMAC,proto3" json:"snapshotMAC,omitempty"` + PatchMAC []byte `protobuf:"bytes,5,opt,name=patchMAC,proto3" json:"patchMAC,omitempty"` + KeyID *KeyId `protobuf:"bytes,6,opt,name=keyID,proto3" json:"keyID,omitempty"` + ExitCode *ExitCode `protobuf:"bytes,7,opt,name=exitCode,proto3" json:"exitCode,omitempty"` + DeviceIndex uint32 `protobuf:"varint,8,opt,name=deviceIndex,proto3" json:"deviceIndex,omitempty"` + ClientDebugData []byte `protobuf:"bytes,9,opt,name=clientDebugData,proto3" json:"clientDebugData,omitempty"` +} + +func (x *SyncdPatch) Reset() { + *x = SyncdPatch{} + if protoimpl.UnsafeEnabled { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncdPatch) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncdPatch) ProtoMessage() {} + +func (x *SyncdPatch) ProtoReflect() protoreflect.Message { + mi := &file_waServerSync_WAServerSync_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncdPatch.ProtoReflect.Descriptor instead. +func (*SyncdPatch) Descriptor() ([]byte, []int) { + return file_waServerSync_WAServerSync_proto_rawDescGZIP(), []int{10} +} + +func (x *SyncdPatch) GetVersion() *SyncdVersion { + if x != nil { + return x.Version + } + return nil +} + +func (x *SyncdPatch) GetMutations() []*SyncdMutation { + if x != nil { + return x.Mutations + } + return nil +} + +func (x *SyncdPatch) GetExternalMutations() *ExternalBlobReference { + if x != nil { + return x.ExternalMutations + } + return nil +} + +func (x *SyncdPatch) GetSnapshotMAC() []byte { + if x != nil { + return x.SnapshotMAC + } + return nil +} + +func (x *SyncdPatch) GetPatchMAC() []byte { + if x != nil { + return x.PatchMAC + } + return nil +} + +func (x *SyncdPatch) GetKeyID() *KeyId { + if x != nil { + return x.KeyID + } + return nil +} + +func (x *SyncdPatch) GetExitCode() *ExitCode { + if x != nil { + return x.ExitCode + } + return nil +} + +func (x *SyncdPatch) GetDeviceIndex() uint32 { + if x != nil { + return x.DeviceIndex + } + return 0 +} + +func (x *SyncdPatch) GetClientDebugData() []byte { + if x != nil { + return x.ClientDebugData + } + return nil +} + +var File_waServerSync_WAServerSync_proto protoreflect.FileDescriptor + +//go:embed WAServerSync.pb.raw +var file_waServerSync_WAServerSync_proto_rawDesc []byte + +var ( + file_waServerSync_WAServerSync_proto_rawDescOnce sync.Once + file_waServerSync_WAServerSync_proto_rawDescData = file_waServerSync_WAServerSync_proto_rawDesc +) + +func file_waServerSync_WAServerSync_proto_rawDescGZIP() []byte { + file_waServerSync_WAServerSync_proto_rawDescOnce.Do(func() { + file_waServerSync_WAServerSync_proto_rawDescData = protoimpl.X.CompressGZIP(file_waServerSync_WAServerSync_proto_rawDescData) + }) + return file_waServerSync_WAServerSync_proto_rawDescData +} + +var file_waServerSync_WAServerSync_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_waServerSync_WAServerSync_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_waServerSync_WAServerSync_proto_goTypes = []interface{}{ + (SyncdMutation_SyncdOperation)(0), // 0: WAServerSync.SyncdMutation.SyncdOperation + (*SyncdMutation)(nil), // 1: WAServerSync.SyncdMutation + (*SyncdVersion)(nil), // 2: WAServerSync.SyncdVersion + (*ExitCode)(nil), // 3: WAServerSync.ExitCode + (*SyncdIndex)(nil), // 4: WAServerSync.SyncdIndex + (*SyncdValue)(nil), // 5: WAServerSync.SyncdValue + (*KeyId)(nil), // 6: WAServerSync.KeyId + (*SyncdRecord)(nil), // 7: WAServerSync.SyncdRecord + (*ExternalBlobReference)(nil), // 8: WAServerSync.ExternalBlobReference + (*SyncdSnapshot)(nil), // 9: WAServerSync.SyncdSnapshot + (*SyncdMutations)(nil), // 10: WAServerSync.SyncdMutations + (*SyncdPatch)(nil), // 11: WAServerSync.SyncdPatch +} +var file_waServerSync_WAServerSync_proto_depIdxs = []int32{ + 0, // 0: WAServerSync.SyncdMutation.operation:type_name -> WAServerSync.SyncdMutation.SyncdOperation + 7, // 1: WAServerSync.SyncdMutation.record:type_name -> WAServerSync.SyncdRecord + 4, // 2: WAServerSync.SyncdRecord.index:type_name -> WAServerSync.SyncdIndex + 5, // 3: WAServerSync.SyncdRecord.value:type_name -> WAServerSync.SyncdValue + 6, // 4: WAServerSync.SyncdRecord.keyID:type_name -> WAServerSync.KeyId + 2, // 5: WAServerSync.SyncdSnapshot.version:type_name -> WAServerSync.SyncdVersion + 7, // 6: WAServerSync.SyncdSnapshot.records:type_name -> WAServerSync.SyncdRecord + 6, // 7: WAServerSync.SyncdSnapshot.keyID:type_name -> WAServerSync.KeyId + 1, // 8: WAServerSync.SyncdMutations.mutations:type_name -> WAServerSync.SyncdMutation + 2, // 9: WAServerSync.SyncdPatch.version:type_name -> WAServerSync.SyncdVersion + 1, // 10: WAServerSync.SyncdPatch.mutations:type_name -> WAServerSync.SyncdMutation + 8, // 11: WAServerSync.SyncdPatch.externalMutations:type_name -> WAServerSync.ExternalBlobReference + 6, // 12: WAServerSync.SyncdPatch.keyID:type_name -> WAServerSync.KeyId + 3, // 13: WAServerSync.SyncdPatch.exitCode:type_name -> WAServerSync.ExitCode + 14, // [14:14] is the sub-list for method output_type + 14, // [14:14] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name +} + +func init() { file_waServerSync_WAServerSync_proto_init() } +func file_waServerSync_WAServerSync_proto_init() { + if File_waServerSync_WAServerSync_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waServerSync_WAServerSync_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdMutation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExitCode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdIndex); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeyId); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExternalBlobReference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdSnapshot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdMutations); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waServerSync_WAServerSync_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncdPatch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waServerSync_WAServerSync_proto_rawDesc, + NumEnums: 1, + NumMessages: 11, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waServerSync_WAServerSync_proto_goTypes, + DependencyIndexes: file_waServerSync_WAServerSync_proto_depIdxs, + EnumInfos: file_waServerSync_WAServerSync_proto_enumTypes, + MessageInfos: file_waServerSync_WAServerSync_proto_msgTypes, + }.Build() + File_waServerSync_WAServerSync_proto = out.File + file_waServerSync_WAServerSync_proto_rawDesc = nil + file_waServerSync_WAServerSync_proto_goTypes = nil + file_waServerSync_WAServerSync_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waServerSync/WAServerSync.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waServerSync/WAServerSync.pb.raw new file mode 100644 index 00000000..9098dd26 Binary files /dev/null and b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waServerSync/WAServerSync.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waServerSync/WAServerSync.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waServerSync/WAServerSync.proto new file mode 100644 index 00000000..161dfca0 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waServerSync/WAServerSync.proto @@ -0,0 +1,72 @@ +syntax = "proto3"; +package WAServerSync; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waServerSync"; + +message SyncdMutation { + enum SyncdOperation { + SET = 0; + REMOVE = 1; + } + + SyncdOperation operation = 1; + SyncdRecord record = 2; +} + +message SyncdVersion { + uint64 version = 1; +} + +message ExitCode { + uint64 code = 1; + string text = 2; +} + +message SyncdIndex { + bytes blob = 1; +} + +message SyncdValue { + bytes blob = 1; +} + +message KeyId { + bytes ID = 1; +} + +message SyncdRecord { + SyncdIndex index = 1; + SyncdValue value = 2; + KeyId keyID = 3; +} + +message ExternalBlobReference { + bytes mediaKey = 1; + string directPath = 2; + string handle = 3; + uint64 fileSizeBytes = 4; + bytes fileSHA256 = 5; + bytes fileEncSHA256 = 6; +} + +message SyncdSnapshot { + SyncdVersion version = 1; + repeated SyncdRecord records = 2; + bytes mac = 3; + KeyId keyID = 4; +} + +message SyncdMutations { + repeated SyncdMutation mutations = 1; +} + +message SyncdPatch { + SyncdVersion version = 1; + repeated SyncdMutation mutations = 2; + ExternalBlobReference externalMutations = 3; + bytes snapshotMAC = 4; + bytes patchMAC = 5; + KeyId keyID = 6; + ExitCode exitCode = 7; + uint32 deviceIndex = 8; + bytes clientDebugData = 9; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waSyncAction/WASyncAction.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waSyncAction/WASyncAction.pb.go new file mode 100644 index 00000000..23b19b7c --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waSyncAction/WASyncAction.pb.go @@ -0,0 +1,4517 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waSyncAction/WASyncAction.proto + +package waSyncAction + +import ( + reflect "reflect" + sync "sync" + + waCommon "go.mau.fi/whatsmeow/binary/armadillo/waCommon" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type CallLogRecord_CallType int32 + +const ( + CallLogRecord_REGULAR CallLogRecord_CallType = 0 + CallLogRecord_SCHEDULED_CALL CallLogRecord_CallType = 1 + CallLogRecord_VOICE_CHAT CallLogRecord_CallType = 2 +) + +// Enum value maps for CallLogRecord_CallType. +var ( + CallLogRecord_CallType_name = map[int32]string{ + 0: "REGULAR", + 1: "SCHEDULED_CALL", + 2: "VOICE_CHAT", + } + CallLogRecord_CallType_value = map[string]int32{ + "REGULAR": 0, + "SCHEDULED_CALL": 1, + "VOICE_CHAT": 2, + } +) + +func (x CallLogRecord_CallType) Enum() *CallLogRecord_CallType { + p := new(CallLogRecord_CallType) + *p = x + return p +} + +func (x CallLogRecord_CallType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CallLogRecord_CallType) Descriptor() protoreflect.EnumDescriptor { + return file_waSyncAction_WASyncAction_proto_enumTypes[0].Descriptor() +} + +func (CallLogRecord_CallType) Type() protoreflect.EnumType { + return &file_waSyncAction_WASyncAction_proto_enumTypes[0] +} + +func (x CallLogRecord_CallType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CallLogRecord_CallType.Descriptor instead. +func (CallLogRecord_CallType) EnumDescriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{0, 0} +} + +type CallLogRecord_SilenceReason int32 + +const ( + CallLogRecord_NONE CallLogRecord_SilenceReason = 0 + CallLogRecord_SCHEDULED CallLogRecord_SilenceReason = 1 + CallLogRecord_PRIVACY CallLogRecord_SilenceReason = 2 + CallLogRecord_LIGHTWEIGHT CallLogRecord_SilenceReason = 3 +) + +// Enum value maps for CallLogRecord_SilenceReason. +var ( + CallLogRecord_SilenceReason_name = map[int32]string{ + 0: "NONE", + 1: "SCHEDULED", + 2: "PRIVACY", + 3: "LIGHTWEIGHT", + } + CallLogRecord_SilenceReason_value = map[string]int32{ + "NONE": 0, + "SCHEDULED": 1, + "PRIVACY": 2, + "LIGHTWEIGHT": 3, + } +) + +func (x CallLogRecord_SilenceReason) Enum() *CallLogRecord_SilenceReason { + p := new(CallLogRecord_SilenceReason) + *p = x + return p +} + +func (x CallLogRecord_SilenceReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CallLogRecord_SilenceReason) Descriptor() protoreflect.EnumDescriptor { + return file_waSyncAction_WASyncAction_proto_enumTypes[1].Descriptor() +} + +func (CallLogRecord_SilenceReason) Type() protoreflect.EnumType { + return &file_waSyncAction_WASyncAction_proto_enumTypes[1] +} + +func (x CallLogRecord_SilenceReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CallLogRecord_SilenceReason.Descriptor instead. +func (CallLogRecord_SilenceReason) EnumDescriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{0, 1} +} + +type CallLogRecord_CallResult int32 + +const ( + CallLogRecord_CONNECTED CallLogRecord_CallResult = 0 + CallLogRecord_REJECTED CallLogRecord_CallResult = 1 + CallLogRecord_CANCELLED CallLogRecord_CallResult = 2 + CallLogRecord_ACCEPTEDELSEWHERE CallLogRecord_CallResult = 3 + CallLogRecord_MISSED CallLogRecord_CallResult = 4 + CallLogRecord_INVALID CallLogRecord_CallResult = 5 + CallLogRecord_UNAVAILABLE CallLogRecord_CallResult = 6 + CallLogRecord_UPCOMING CallLogRecord_CallResult = 7 + CallLogRecord_FAILED CallLogRecord_CallResult = 8 + CallLogRecord_ABANDONED CallLogRecord_CallResult = 9 + CallLogRecord_ONGOING CallLogRecord_CallResult = 10 +) + +// Enum value maps for CallLogRecord_CallResult. +var ( + CallLogRecord_CallResult_name = map[int32]string{ + 0: "CONNECTED", + 1: "REJECTED", + 2: "CANCELLED", + 3: "ACCEPTEDELSEWHERE", + 4: "MISSED", + 5: "INVALID", + 6: "UNAVAILABLE", + 7: "UPCOMING", + 8: "FAILED", + 9: "ABANDONED", + 10: "ONGOING", + } + CallLogRecord_CallResult_value = map[string]int32{ + "CONNECTED": 0, + "REJECTED": 1, + "CANCELLED": 2, + "ACCEPTEDELSEWHERE": 3, + "MISSED": 4, + "INVALID": 5, + "UNAVAILABLE": 6, + "UPCOMING": 7, + "FAILED": 8, + "ABANDONED": 9, + "ONGOING": 10, + } +) + +func (x CallLogRecord_CallResult) Enum() *CallLogRecord_CallResult { + p := new(CallLogRecord_CallResult) + *p = x + return p +} + +func (x CallLogRecord_CallResult) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CallLogRecord_CallResult) Descriptor() protoreflect.EnumDescriptor { + return file_waSyncAction_WASyncAction_proto_enumTypes[2].Descriptor() +} + +func (CallLogRecord_CallResult) Type() protoreflect.EnumType { + return &file_waSyncAction_WASyncAction_proto_enumTypes[2] +} + +func (x CallLogRecord_CallResult) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CallLogRecord_CallResult.Descriptor instead. +func (CallLogRecord_CallResult) EnumDescriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{0, 2} +} + +type SyncActionValue_StatusPrivacyAction_StatusDistributionMode int32 + +const ( + SyncActionValue_StatusPrivacyAction_ALLOW_LIST SyncActionValue_StatusPrivacyAction_StatusDistributionMode = 0 + SyncActionValue_StatusPrivacyAction_DENY_LIST SyncActionValue_StatusPrivacyAction_StatusDistributionMode = 1 + SyncActionValue_StatusPrivacyAction_CONTACTS SyncActionValue_StatusPrivacyAction_StatusDistributionMode = 2 +) + +// Enum value maps for SyncActionValue_StatusPrivacyAction_StatusDistributionMode. +var ( + SyncActionValue_StatusPrivacyAction_StatusDistributionMode_name = map[int32]string{ + 0: "ALLOW_LIST", + 1: "DENY_LIST", + 2: "CONTACTS", + } + SyncActionValue_StatusPrivacyAction_StatusDistributionMode_value = map[string]int32{ + "ALLOW_LIST": 0, + "DENY_LIST": 1, + "CONTACTS": 2, + } +) + +func (x SyncActionValue_StatusPrivacyAction_StatusDistributionMode) Enum() *SyncActionValue_StatusPrivacyAction_StatusDistributionMode { + p := new(SyncActionValue_StatusPrivacyAction_StatusDistributionMode) + *p = x + return p +} + +func (x SyncActionValue_StatusPrivacyAction_StatusDistributionMode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SyncActionValue_StatusPrivacyAction_StatusDistributionMode) Descriptor() protoreflect.EnumDescriptor { + return file_waSyncAction_WASyncAction_proto_enumTypes[3].Descriptor() +} + +func (SyncActionValue_StatusPrivacyAction_StatusDistributionMode) Type() protoreflect.EnumType { + return &file_waSyncAction_WASyncAction_proto_enumTypes[3] +} + +func (x SyncActionValue_StatusPrivacyAction_StatusDistributionMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SyncActionValue_StatusPrivacyAction_StatusDistributionMode.Descriptor instead. +func (SyncActionValue_StatusPrivacyAction_StatusDistributionMode) EnumDescriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 0, 0} +} + +type SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType int32 + +const ( + SyncActionValue_MarketingMessageAction_PERSONALIZED SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType = 0 +) + +// Enum value maps for SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType. +var ( + SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType_name = map[int32]string{ + 0: "PERSONALIZED", + } + SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType_value = map[string]int32{ + "PERSONALIZED": 0, + } +) + +func (x SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType) Enum() *SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType { + p := new(SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType) + *p = x + return p +} + +func (x SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType) Descriptor() protoreflect.EnumDescriptor { + return file_waSyncAction_WASyncAction_proto_enumTypes[4].Descriptor() +} + +func (SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType) Type() protoreflect.EnumType { + return &file_waSyncAction_WASyncAction_proto_enumTypes[4] +} + +func (x SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType.Descriptor instead. +func (SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType) EnumDescriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 1, 0} +} + +type PatchDebugData_Platform int32 + +const ( + PatchDebugData_ANDROID PatchDebugData_Platform = 0 + PatchDebugData_SMBA PatchDebugData_Platform = 1 + PatchDebugData_IPHONE PatchDebugData_Platform = 2 + PatchDebugData_SMBI PatchDebugData_Platform = 3 + PatchDebugData_WEB PatchDebugData_Platform = 4 + PatchDebugData_UWP PatchDebugData_Platform = 5 + PatchDebugData_DARWIN PatchDebugData_Platform = 6 +) + +// Enum value maps for PatchDebugData_Platform. +var ( + PatchDebugData_Platform_name = map[int32]string{ + 0: "ANDROID", + 1: "SMBA", + 2: "IPHONE", + 3: "SMBI", + 4: "WEB", + 5: "UWP", + 6: "DARWIN", + } + PatchDebugData_Platform_value = map[string]int32{ + "ANDROID": 0, + "SMBA": 1, + "IPHONE": 2, + "SMBI": 3, + "WEB": 4, + "UWP": 5, + "DARWIN": 6, + } +) + +func (x PatchDebugData_Platform) Enum() *PatchDebugData_Platform { + p := new(PatchDebugData_Platform) + *p = x + return p +} + +func (x PatchDebugData_Platform) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PatchDebugData_Platform) Descriptor() protoreflect.EnumDescriptor { + return file_waSyncAction_WASyncAction_proto_enumTypes[5].Descriptor() +} + +func (PatchDebugData_Platform) Type() protoreflect.EnumType { + return &file_waSyncAction_WASyncAction_proto_enumTypes[5] +} + +func (x PatchDebugData_Platform) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PatchDebugData_Platform.Descriptor instead. +func (PatchDebugData_Platform) EnumDescriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{2, 0} +} + +type CallLogRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CallResult CallLogRecord_CallResult `protobuf:"varint,1,opt,name=callResult,proto3,enum=WASyncAction.CallLogRecord_CallResult" json:"callResult,omitempty"` + IsDndMode bool `protobuf:"varint,2,opt,name=isDndMode,proto3" json:"isDndMode,omitempty"` + SilenceReason CallLogRecord_SilenceReason `protobuf:"varint,3,opt,name=silenceReason,proto3,enum=WASyncAction.CallLogRecord_SilenceReason" json:"silenceReason,omitempty"` + Duration int64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` + StartTime int64 `protobuf:"varint,5,opt,name=startTime,proto3" json:"startTime,omitempty"` + IsIncoming bool `protobuf:"varint,6,opt,name=isIncoming,proto3" json:"isIncoming,omitempty"` + IsVideo bool `protobuf:"varint,7,opt,name=isVideo,proto3" json:"isVideo,omitempty"` + IsCallLink bool `protobuf:"varint,8,opt,name=isCallLink,proto3" json:"isCallLink,omitempty"` + CallLinkToken string `protobuf:"bytes,9,opt,name=callLinkToken,proto3" json:"callLinkToken,omitempty"` + ScheduledCallID string `protobuf:"bytes,10,opt,name=scheduledCallID,proto3" json:"scheduledCallID,omitempty"` + CallID string `protobuf:"bytes,11,opt,name=callID,proto3" json:"callID,omitempty"` + CallCreatorJID string `protobuf:"bytes,12,opt,name=callCreatorJID,proto3" json:"callCreatorJID,omitempty"` + GroupJID string `protobuf:"bytes,13,opt,name=groupJID,proto3" json:"groupJID,omitempty"` + Participants []*CallLogRecord_ParticipantInfo `protobuf:"bytes,14,rep,name=participants,proto3" json:"participants,omitempty"` + CallType CallLogRecord_CallType `protobuf:"varint,15,opt,name=callType,proto3,enum=WASyncAction.CallLogRecord_CallType" json:"callType,omitempty"` +} + +func (x *CallLogRecord) Reset() { + *x = CallLogRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CallLogRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CallLogRecord) ProtoMessage() {} + +func (x *CallLogRecord) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CallLogRecord.ProtoReflect.Descriptor instead. +func (*CallLogRecord) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{0} +} + +func (x *CallLogRecord) GetCallResult() CallLogRecord_CallResult { + if x != nil { + return x.CallResult + } + return CallLogRecord_CONNECTED +} + +func (x *CallLogRecord) GetIsDndMode() bool { + if x != nil { + return x.IsDndMode + } + return false +} + +func (x *CallLogRecord) GetSilenceReason() CallLogRecord_SilenceReason { + if x != nil { + return x.SilenceReason + } + return CallLogRecord_NONE +} + +func (x *CallLogRecord) GetDuration() int64 { + if x != nil { + return x.Duration + } + return 0 +} + +func (x *CallLogRecord) GetStartTime() int64 { + if x != nil { + return x.StartTime + } + return 0 +} + +func (x *CallLogRecord) GetIsIncoming() bool { + if x != nil { + return x.IsIncoming + } + return false +} + +func (x *CallLogRecord) GetIsVideo() bool { + if x != nil { + return x.IsVideo + } + return false +} + +func (x *CallLogRecord) GetIsCallLink() bool { + if x != nil { + return x.IsCallLink + } + return false +} + +func (x *CallLogRecord) GetCallLinkToken() string { + if x != nil { + return x.CallLinkToken + } + return "" +} + +func (x *CallLogRecord) GetScheduledCallID() string { + if x != nil { + return x.ScheduledCallID + } + return "" +} + +func (x *CallLogRecord) GetCallID() string { + if x != nil { + return x.CallID + } + return "" +} + +func (x *CallLogRecord) GetCallCreatorJID() string { + if x != nil { + return x.CallCreatorJID + } + return "" +} + +func (x *CallLogRecord) GetGroupJID() string { + if x != nil { + return x.GroupJID + } + return "" +} + +func (x *CallLogRecord) GetParticipants() []*CallLogRecord_ParticipantInfo { + if x != nil { + return x.Participants + } + return nil +} + +func (x *CallLogRecord) GetCallType() CallLogRecord_CallType { + if x != nil { + return x.CallType + } + return CallLogRecord_REGULAR +} + +type SyncActionValue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + StarAction *SyncActionValue_StarAction `protobuf:"bytes,2,opt,name=starAction,proto3" json:"starAction,omitempty"` + ContactAction *SyncActionValue_ContactAction `protobuf:"bytes,3,opt,name=contactAction,proto3" json:"contactAction,omitempty"` + MuteAction *SyncActionValue_MuteAction `protobuf:"bytes,4,opt,name=muteAction,proto3" json:"muteAction,omitempty"` + PinAction *SyncActionValue_PinAction `protobuf:"bytes,5,opt,name=pinAction,proto3" json:"pinAction,omitempty"` + SecurityNotificationSetting *SyncActionValue_SecurityNotificationSetting `protobuf:"bytes,6,opt,name=securityNotificationSetting,proto3" json:"securityNotificationSetting,omitempty"` + PushNameSetting *SyncActionValue_PushNameSetting `protobuf:"bytes,7,opt,name=pushNameSetting,proto3" json:"pushNameSetting,omitempty"` + QuickReplyAction *SyncActionValue_QuickReplyAction `protobuf:"bytes,8,opt,name=quickReplyAction,proto3" json:"quickReplyAction,omitempty"` + RecentEmojiWeightsAction *SyncActionValue_RecentEmojiWeightsAction `protobuf:"bytes,11,opt,name=recentEmojiWeightsAction,proto3" json:"recentEmojiWeightsAction,omitempty"` + LabelEditAction *SyncActionValue_LabelEditAction `protobuf:"bytes,14,opt,name=labelEditAction,proto3" json:"labelEditAction,omitempty"` + LabelAssociationAction *SyncActionValue_LabelAssociationAction `protobuf:"bytes,15,opt,name=labelAssociationAction,proto3" json:"labelAssociationAction,omitempty"` + LocaleSetting *SyncActionValue_LocaleSetting `protobuf:"bytes,16,opt,name=localeSetting,proto3" json:"localeSetting,omitempty"` + ArchiveChatAction *SyncActionValue_ArchiveChatAction `protobuf:"bytes,17,opt,name=archiveChatAction,proto3" json:"archiveChatAction,omitempty"` + DeleteMessageForMeAction *SyncActionValue_DeleteMessageForMeAction `protobuf:"bytes,18,opt,name=deleteMessageForMeAction,proto3" json:"deleteMessageForMeAction,omitempty"` + KeyExpiration *SyncActionValue_KeyExpiration `protobuf:"bytes,19,opt,name=keyExpiration,proto3" json:"keyExpiration,omitempty"` + MarkChatAsReadAction *SyncActionValue_MarkChatAsReadAction `protobuf:"bytes,20,opt,name=markChatAsReadAction,proto3" json:"markChatAsReadAction,omitempty"` + ClearChatAction *SyncActionValue_ClearChatAction `protobuf:"bytes,21,opt,name=clearChatAction,proto3" json:"clearChatAction,omitempty"` + DeleteChatAction *SyncActionValue_DeleteChatAction `protobuf:"bytes,22,opt,name=deleteChatAction,proto3" json:"deleteChatAction,omitempty"` + UnarchiveChatsSetting *SyncActionValue_UnarchiveChatsSetting `protobuf:"bytes,23,opt,name=unarchiveChatsSetting,proto3" json:"unarchiveChatsSetting,omitempty"` + PrimaryFeature *SyncActionValue_PrimaryFeature `protobuf:"bytes,24,opt,name=primaryFeature,proto3" json:"primaryFeature,omitempty"` + AndroidUnsupportedActions *SyncActionValue_AndroidUnsupportedActions `protobuf:"bytes,26,opt,name=androidUnsupportedActions,proto3" json:"androidUnsupportedActions,omitempty"` + AgentAction *SyncActionValue_AgentAction `protobuf:"bytes,27,opt,name=agentAction,proto3" json:"agentAction,omitempty"` + SubscriptionAction *SyncActionValue_SubscriptionAction `protobuf:"bytes,28,opt,name=subscriptionAction,proto3" json:"subscriptionAction,omitempty"` + UserStatusMuteAction *SyncActionValue_UserStatusMuteAction `protobuf:"bytes,29,opt,name=userStatusMuteAction,proto3" json:"userStatusMuteAction,omitempty"` + TimeFormatAction *SyncActionValue_TimeFormatAction `protobuf:"bytes,30,opt,name=timeFormatAction,proto3" json:"timeFormatAction,omitempty"` + NuxAction *SyncActionValue_NuxAction `protobuf:"bytes,31,opt,name=nuxAction,proto3" json:"nuxAction,omitempty"` + PrimaryVersionAction *SyncActionValue_PrimaryVersionAction `protobuf:"bytes,32,opt,name=primaryVersionAction,proto3" json:"primaryVersionAction,omitempty"` + StickerAction *SyncActionValue_StickerAction `protobuf:"bytes,33,opt,name=stickerAction,proto3" json:"stickerAction,omitempty"` + RemoveRecentStickerAction *SyncActionValue_RemoveRecentStickerAction `protobuf:"bytes,34,opt,name=removeRecentStickerAction,proto3" json:"removeRecentStickerAction,omitempty"` + ChatAssignment *SyncActionValue_ChatAssignmentAction `protobuf:"bytes,35,opt,name=chatAssignment,proto3" json:"chatAssignment,omitempty"` + ChatAssignmentOpenedStatus *SyncActionValue_ChatAssignmentOpenedStatusAction `protobuf:"bytes,36,opt,name=chatAssignmentOpenedStatus,proto3" json:"chatAssignmentOpenedStatus,omitempty"` + PnForLidChatAction *SyncActionValue_PnForLidChatAction `protobuf:"bytes,37,opt,name=pnForLidChatAction,proto3" json:"pnForLidChatAction,omitempty"` + MarketingMessageAction *SyncActionValue_MarketingMessageAction `protobuf:"bytes,38,opt,name=marketingMessageAction,proto3" json:"marketingMessageAction,omitempty"` + MarketingMessageBroadcastAction *SyncActionValue_MarketingMessageBroadcastAction `protobuf:"bytes,39,opt,name=marketingMessageBroadcastAction,proto3" json:"marketingMessageBroadcastAction,omitempty"` + ExternalWebBetaAction *SyncActionValue_ExternalWebBetaAction `protobuf:"bytes,40,opt,name=externalWebBetaAction,proto3" json:"externalWebBetaAction,omitempty"` + PrivacySettingRelayAllCalls *SyncActionValue_PrivacySettingRelayAllCalls `protobuf:"bytes,41,opt,name=privacySettingRelayAllCalls,proto3" json:"privacySettingRelayAllCalls,omitempty"` + CallLogAction *SyncActionValue_CallLogAction `protobuf:"bytes,42,opt,name=callLogAction,proto3" json:"callLogAction,omitempty"` + StatusPrivacy *SyncActionValue_StatusPrivacyAction `protobuf:"bytes,44,opt,name=statusPrivacy,proto3" json:"statusPrivacy,omitempty"` + BotWelcomeRequestAction *SyncActionValue_BotWelcomeRequestAction `protobuf:"bytes,45,opt,name=botWelcomeRequestAction,proto3" json:"botWelcomeRequestAction,omitempty"` + DeleteIndividualCallLog *SyncActionValue_DeleteIndividualCallLogAction `protobuf:"bytes,46,opt,name=deleteIndividualCallLog,proto3" json:"deleteIndividualCallLog,omitempty"` + LabelReorderingAction *SyncActionValue_LabelReorderingAction `protobuf:"bytes,47,opt,name=labelReorderingAction,proto3" json:"labelReorderingAction,omitempty"` + PaymentInfoAction *SyncActionValue_PaymentInfoAction `protobuf:"bytes,48,opt,name=paymentInfoAction,proto3" json:"paymentInfoAction,omitempty"` + CustomPaymentMethodsAction *SyncActionValue_CustomPaymentMethodsAction `protobuf:"bytes,49,opt,name=customPaymentMethodsAction,proto3" json:"customPaymentMethodsAction,omitempty"` +} + +func (x *SyncActionValue) Reset() { + *x = SyncActionValue{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue) ProtoMessage() {} + +func (x *SyncActionValue) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue.ProtoReflect.Descriptor instead. +func (*SyncActionValue) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1} +} + +func (x *SyncActionValue) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +func (x *SyncActionValue) GetStarAction() *SyncActionValue_StarAction { + if x != nil { + return x.StarAction + } + return nil +} + +func (x *SyncActionValue) GetContactAction() *SyncActionValue_ContactAction { + if x != nil { + return x.ContactAction + } + return nil +} + +func (x *SyncActionValue) GetMuteAction() *SyncActionValue_MuteAction { + if x != nil { + return x.MuteAction + } + return nil +} + +func (x *SyncActionValue) GetPinAction() *SyncActionValue_PinAction { + if x != nil { + return x.PinAction + } + return nil +} + +func (x *SyncActionValue) GetSecurityNotificationSetting() *SyncActionValue_SecurityNotificationSetting { + if x != nil { + return x.SecurityNotificationSetting + } + return nil +} + +func (x *SyncActionValue) GetPushNameSetting() *SyncActionValue_PushNameSetting { + if x != nil { + return x.PushNameSetting + } + return nil +} + +func (x *SyncActionValue) GetQuickReplyAction() *SyncActionValue_QuickReplyAction { + if x != nil { + return x.QuickReplyAction + } + return nil +} + +func (x *SyncActionValue) GetRecentEmojiWeightsAction() *SyncActionValue_RecentEmojiWeightsAction { + if x != nil { + return x.RecentEmojiWeightsAction + } + return nil +} + +func (x *SyncActionValue) GetLabelEditAction() *SyncActionValue_LabelEditAction { + if x != nil { + return x.LabelEditAction + } + return nil +} + +func (x *SyncActionValue) GetLabelAssociationAction() *SyncActionValue_LabelAssociationAction { + if x != nil { + return x.LabelAssociationAction + } + return nil +} + +func (x *SyncActionValue) GetLocaleSetting() *SyncActionValue_LocaleSetting { + if x != nil { + return x.LocaleSetting + } + return nil +} + +func (x *SyncActionValue) GetArchiveChatAction() *SyncActionValue_ArchiveChatAction { + if x != nil { + return x.ArchiveChatAction + } + return nil +} + +func (x *SyncActionValue) GetDeleteMessageForMeAction() *SyncActionValue_DeleteMessageForMeAction { + if x != nil { + return x.DeleteMessageForMeAction + } + return nil +} + +func (x *SyncActionValue) GetKeyExpiration() *SyncActionValue_KeyExpiration { + if x != nil { + return x.KeyExpiration + } + return nil +} + +func (x *SyncActionValue) GetMarkChatAsReadAction() *SyncActionValue_MarkChatAsReadAction { + if x != nil { + return x.MarkChatAsReadAction + } + return nil +} + +func (x *SyncActionValue) GetClearChatAction() *SyncActionValue_ClearChatAction { + if x != nil { + return x.ClearChatAction + } + return nil +} + +func (x *SyncActionValue) GetDeleteChatAction() *SyncActionValue_DeleteChatAction { + if x != nil { + return x.DeleteChatAction + } + return nil +} + +func (x *SyncActionValue) GetUnarchiveChatsSetting() *SyncActionValue_UnarchiveChatsSetting { + if x != nil { + return x.UnarchiveChatsSetting + } + return nil +} + +func (x *SyncActionValue) GetPrimaryFeature() *SyncActionValue_PrimaryFeature { + if x != nil { + return x.PrimaryFeature + } + return nil +} + +func (x *SyncActionValue) GetAndroidUnsupportedActions() *SyncActionValue_AndroidUnsupportedActions { + if x != nil { + return x.AndroidUnsupportedActions + } + return nil +} + +func (x *SyncActionValue) GetAgentAction() *SyncActionValue_AgentAction { + if x != nil { + return x.AgentAction + } + return nil +} + +func (x *SyncActionValue) GetSubscriptionAction() *SyncActionValue_SubscriptionAction { + if x != nil { + return x.SubscriptionAction + } + return nil +} + +func (x *SyncActionValue) GetUserStatusMuteAction() *SyncActionValue_UserStatusMuteAction { + if x != nil { + return x.UserStatusMuteAction + } + return nil +} + +func (x *SyncActionValue) GetTimeFormatAction() *SyncActionValue_TimeFormatAction { + if x != nil { + return x.TimeFormatAction + } + return nil +} + +func (x *SyncActionValue) GetNuxAction() *SyncActionValue_NuxAction { + if x != nil { + return x.NuxAction + } + return nil +} + +func (x *SyncActionValue) GetPrimaryVersionAction() *SyncActionValue_PrimaryVersionAction { + if x != nil { + return x.PrimaryVersionAction + } + return nil +} + +func (x *SyncActionValue) GetStickerAction() *SyncActionValue_StickerAction { + if x != nil { + return x.StickerAction + } + return nil +} + +func (x *SyncActionValue) GetRemoveRecentStickerAction() *SyncActionValue_RemoveRecentStickerAction { + if x != nil { + return x.RemoveRecentStickerAction + } + return nil +} + +func (x *SyncActionValue) GetChatAssignment() *SyncActionValue_ChatAssignmentAction { + if x != nil { + return x.ChatAssignment + } + return nil +} + +func (x *SyncActionValue) GetChatAssignmentOpenedStatus() *SyncActionValue_ChatAssignmentOpenedStatusAction { + if x != nil { + return x.ChatAssignmentOpenedStatus + } + return nil +} + +func (x *SyncActionValue) GetPnForLidChatAction() *SyncActionValue_PnForLidChatAction { + if x != nil { + return x.PnForLidChatAction + } + return nil +} + +func (x *SyncActionValue) GetMarketingMessageAction() *SyncActionValue_MarketingMessageAction { + if x != nil { + return x.MarketingMessageAction + } + return nil +} + +func (x *SyncActionValue) GetMarketingMessageBroadcastAction() *SyncActionValue_MarketingMessageBroadcastAction { + if x != nil { + return x.MarketingMessageBroadcastAction + } + return nil +} + +func (x *SyncActionValue) GetExternalWebBetaAction() *SyncActionValue_ExternalWebBetaAction { + if x != nil { + return x.ExternalWebBetaAction + } + return nil +} + +func (x *SyncActionValue) GetPrivacySettingRelayAllCalls() *SyncActionValue_PrivacySettingRelayAllCalls { + if x != nil { + return x.PrivacySettingRelayAllCalls + } + return nil +} + +func (x *SyncActionValue) GetCallLogAction() *SyncActionValue_CallLogAction { + if x != nil { + return x.CallLogAction + } + return nil +} + +func (x *SyncActionValue) GetStatusPrivacy() *SyncActionValue_StatusPrivacyAction { + if x != nil { + return x.StatusPrivacy + } + return nil +} + +func (x *SyncActionValue) GetBotWelcomeRequestAction() *SyncActionValue_BotWelcomeRequestAction { + if x != nil { + return x.BotWelcomeRequestAction + } + return nil +} + +func (x *SyncActionValue) GetDeleteIndividualCallLog() *SyncActionValue_DeleteIndividualCallLogAction { + if x != nil { + return x.DeleteIndividualCallLog + } + return nil +} + +func (x *SyncActionValue) GetLabelReorderingAction() *SyncActionValue_LabelReorderingAction { + if x != nil { + return x.LabelReorderingAction + } + return nil +} + +func (x *SyncActionValue) GetPaymentInfoAction() *SyncActionValue_PaymentInfoAction { + if x != nil { + return x.PaymentInfoAction + } + return nil +} + +func (x *SyncActionValue) GetCustomPaymentMethodsAction() *SyncActionValue_CustomPaymentMethodsAction { + if x != nil { + return x.CustomPaymentMethodsAction + } + return nil +} + +type PatchDebugData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurrentLthash []byte `protobuf:"bytes,1,opt,name=currentLthash,proto3" json:"currentLthash,omitempty"` + NewLthash []byte `protobuf:"bytes,2,opt,name=newLthash,proto3" json:"newLthash,omitempty"` + PatchVersion []byte `protobuf:"bytes,3,opt,name=patchVersion,proto3" json:"patchVersion,omitempty"` + CollectionName []byte `protobuf:"bytes,4,opt,name=collectionName,proto3" json:"collectionName,omitempty"` + FirstFourBytesFromAHashOfSnapshotMACKey []byte `protobuf:"bytes,5,opt,name=firstFourBytesFromAHashOfSnapshotMACKey,proto3" json:"firstFourBytesFromAHashOfSnapshotMACKey,omitempty"` + NewLthashSubtract []byte `protobuf:"bytes,6,opt,name=newLthashSubtract,proto3" json:"newLthashSubtract,omitempty"` + NumberAdd int32 `protobuf:"varint,7,opt,name=numberAdd,proto3" json:"numberAdd,omitempty"` + NumberRemove int32 `protobuf:"varint,8,opt,name=numberRemove,proto3" json:"numberRemove,omitempty"` + NumberOverride int32 `protobuf:"varint,9,opt,name=numberOverride,proto3" json:"numberOverride,omitempty"` + SenderPlatform PatchDebugData_Platform `protobuf:"varint,10,opt,name=senderPlatform,proto3,enum=WASyncAction.PatchDebugData_Platform" json:"senderPlatform,omitempty"` + IsSenderPrimary bool `protobuf:"varint,11,opt,name=isSenderPrimary,proto3" json:"isSenderPrimary,omitempty"` +} + +func (x *PatchDebugData) Reset() { + *x = PatchDebugData{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PatchDebugData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PatchDebugData) ProtoMessage() {} + +func (x *PatchDebugData) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PatchDebugData.ProtoReflect.Descriptor instead. +func (*PatchDebugData) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{2} +} + +func (x *PatchDebugData) GetCurrentLthash() []byte { + if x != nil { + return x.CurrentLthash + } + return nil +} + +func (x *PatchDebugData) GetNewLthash() []byte { + if x != nil { + return x.NewLthash + } + return nil +} + +func (x *PatchDebugData) GetPatchVersion() []byte { + if x != nil { + return x.PatchVersion + } + return nil +} + +func (x *PatchDebugData) GetCollectionName() []byte { + if x != nil { + return x.CollectionName + } + return nil +} + +func (x *PatchDebugData) GetFirstFourBytesFromAHashOfSnapshotMACKey() []byte { + if x != nil { + return x.FirstFourBytesFromAHashOfSnapshotMACKey + } + return nil +} + +func (x *PatchDebugData) GetNewLthashSubtract() []byte { + if x != nil { + return x.NewLthashSubtract + } + return nil +} + +func (x *PatchDebugData) GetNumberAdd() int32 { + if x != nil { + return x.NumberAdd + } + return 0 +} + +func (x *PatchDebugData) GetNumberRemove() int32 { + if x != nil { + return x.NumberRemove + } + return 0 +} + +func (x *PatchDebugData) GetNumberOverride() int32 { + if x != nil { + return x.NumberOverride + } + return 0 +} + +func (x *PatchDebugData) GetSenderPlatform() PatchDebugData_Platform { + if x != nil { + return x.SenderPlatform + } + return PatchDebugData_ANDROID +} + +func (x *PatchDebugData) GetIsSenderPrimary() bool { + if x != nil { + return x.IsSenderPrimary + } + return false +} + +type RecentEmojiWeight struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Emoji string `protobuf:"bytes,1,opt,name=emoji,proto3" json:"emoji,omitempty"` + Weight float32 `protobuf:"fixed32,2,opt,name=weight,proto3" json:"weight,omitempty"` +} + +func (x *RecentEmojiWeight) Reset() { + *x = RecentEmojiWeight{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RecentEmojiWeight) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RecentEmojiWeight) ProtoMessage() {} + +func (x *RecentEmojiWeight) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RecentEmojiWeight.ProtoReflect.Descriptor instead. +func (*RecentEmojiWeight) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{3} +} + +func (x *RecentEmojiWeight) GetEmoji() string { + if x != nil { + return x.Emoji + } + return "" +} + +func (x *RecentEmojiWeight) GetWeight() float32 { + if x != nil { + return x.Weight + } + return 0 +} + +type SyncActionData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index []byte `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` + Value *SyncActionValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Padding []byte `protobuf:"bytes,3,opt,name=padding,proto3" json:"padding,omitempty"` + Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` +} + +func (x *SyncActionData) Reset() { + *x = SyncActionData{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionData) ProtoMessage() {} + +func (x *SyncActionData) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionData.ProtoReflect.Descriptor instead. +func (*SyncActionData) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{4} +} + +func (x *SyncActionData) GetIndex() []byte { + if x != nil { + return x.Index + } + return nil +} + +func (x *SyncActionData) GetValue() *SyncActionValue { + if x != nil { + return x.Value + } + return nil +} + +func (x *SyncActionData) GetPadding() []byte { + if x != nil { + return x.Padding + } + return nil +} + +func (x *SyncActionData) GetVersion() int32 { + if x != nil { + return x.Version + } + return 0 +} + +type CallLogRecord_ParticipantInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserJID string `protobuf:"bytes,1,opt,name=userJID,proto3" json:"userJID,omitempty"` + CallResult CallLogRecord_CallResult `protobuf:"varint,2,opt,name=callResult,proto3,enum=WASyncAction.CallLogRecord_CallResult" json:"callResult,omitempty"` +} + +func (x *CallLogRecord_ParticipantInfo) Reset() { + *x = CallLogRecord_ParticipantInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CallLogRecord_ParticipantInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CallLogRecord_ParticipantInfo) ProtoMessage() {} + +func (x *CallLogRecord_ParticipantInfo) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CallLogRecord_ParticipantInfo.ProtoReflect.Descriptor instead. +func (*CallLogRecord_ParticipantInfo) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *CallLogRecord_ParticipantInfo) GetUserJID() string { + if x != nil { + return x.UserJID + } + return "" +} + +func (x *CallLogRecord_ParticipantInfo) GetCallResult() CallLogRecord_CallResult { + if x != nil { + return x.CallResult + } + return CallLogRecord_CONNECTED +} + +type SyncActionValue_StatusPrivacyAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Mode SyncActionValue_StatusPrivacyAction_StatusDistributionMode `protobuf:"varint,1,opt,name=mode,proto3,enum=WASyncAction.SyncActionValue_StatusPrivacyAction_StatusDistributionMode" json:"mode,omitempty"` + UserJID []string `protobuf:"bytes,2,rep,name=userJID,proto3" json:"userJID,omitempty"` +} + +func (x *SyncActionValue_StatusPrivacyAction) Reset() { + *x = SyncActionValue_StatusPrivacyAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_StatusPrivacyAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_StatusPrivacyAction) ProtoMessage() {} + +func (x *SyncActionValue_StatusPrivacyAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_StatusPrivacyAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_StatusPrivacyAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *SyncActionValue_StatusPrivacyAction) GetMode() SyncActionValue_StatusPrivacyAction_StatusDistributionMode { + if x != nil { + return x.Mode + } + return SyncActionValue_StatusPrivacyAction_ALLOW_LIST +} + +func (x *SyncActionValue_StatusPrivacyAction) GetUserJID() []string { + if x != nil { + return x.UserJID + } + return nil +} + +type SyncActionValue_MarketingMessageAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Type SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType `protobuf:"varint,3,opt,name=type,proto3,enum=WASyncAction.SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType" json:"type,omitempty"` + CreatedAt int64 `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"` + LastSentAt int64 `protobuf:"varint,5,opt,name=lastSentAt,proto3" json:"lastSentAt,omitempty"` + IsDeleted bool `protobuf:"varint,6,opt,name=isDeleted,proto3" json:"isDeleted,omitempty"` + MediaID string `protobuf:"bytes,7,opt,name=mediaID,proto3" json:"mediaID,omitempty"` +} + +func (x *SyncActionValue_MarketingMessageAction) Reset() { + *x = SyncActionValue_MarketingMessageAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_MarketingMessageAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_MarketingMessageAction) ProtoMessage() {} + +func (x *SyncActionValue_MarketingMessageAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_MarketingMessageAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_MarketingMessageAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 1} +} + +func (x *SyncActionValue_MarketingMessageAction) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *SyncActionValue_MarketingMessageAction) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *SyncActionValue_MarketingMessageAction) GetType() SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType { + if x != nil { + return x.Type + } + return SyncActionValue_MarketingMessageAction_PERSONALIZED +} + +func (x *SyncActionValue_MarketingMessageAction) GetCreatedAt() int64 { + if x != nil { + return x.CreatedAt + } + return 0 +} + +func (x *SyncActionValue_MarketingMessageAction) GetLastSentAt() int64 { + if x != nil { + return x.LastSentAt + } + return 0 +} + +func (x *SyncActionValue_MarketingMessageAction) GetIsDeleted() bool { + if x != nil { + return x.IsDeleted + } + return false +} + +func (x *SyncActionValue_MarketingMessageAction) GetMediaID() string { + if x != nil { + return x.MediaID + } + return "" +} + +type SyncActionValue_CustomPaymentMethodsAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CustomPaymentMethods []*SyncActionValue_CustomPaymentMethod `protobuf:"bytes,1,rep,name=customPaymentMethods,proto3" json:"customPaymentMethods,omitempty"` +} + +func (x *SyncActionValue_CustomPaymentMethodsAction) Reset() { + *x = SyncActionValue_CustomPaymentMethodsAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_CustomPaymentMethodsAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_CustomPaymentMethodsAction) ProtoMessage() {} + +func (x *SyncActionValue_CustomPaymentMethodsAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_CustomPaymentMethodsAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_CustomPaymentMethodsAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 2} +} + +func (x *SyncActionValue_CustomPaymentMethodsAction) GetCustomPaymentMethods() []*SyncActionValue_CustomPaymentMethod { + if x != nil { + return x.CustomPaymentMethods + } + return nil +} + +type SyncActionValue_CustomPaymentMethod struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CredentialID string `protobuf:"bytes,1,opt,name=credentialID,proto3" json:"credentialID,omitempty"` + Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` + Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` + Metadata []*SyncActionValue_CustomPaymentMethodMetadata `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty"` +} + +func (x *SyncActionValue_CustomPaymentMethod) Reset() { + *x = SyncActionValue_CustomPaymentMethod{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_CustomPaymentMethod) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_CustomPaymentMethod) ProtoMessage() {} + +func (x *SyncActionValue_CustomPaymentMethod) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_CustomPaymentMethod.ProtoReflect.Descriptor instead. +func (*SyncActionValue_CustomPaymentMethod) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 3} +} + +func (x *SyncActionValue_CustomPaymentMethod) GetCredentialID() string { + if x != nil { + return x.CredentialID + } + return "" +} + +func (x *SyncActionValue_CustomPaymentMethod) GetCountry() string { + if x != nil { + return x.Country + } + return "" +} + +func (x *SyncActionValue_CustomPaymentMethod) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *SyncActionValue_CustomPaymentMethod) GetMetadata() []*SyncActionValue_CustomPaymentMethodMetadata { + if x != nil { + return x.Metadata + } + return nil +} + +type SyncActionValue_CustomPaymentMethodMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *SyncActionValue_CustomPaymentMethodMetadata) Reset() { + *x = SyncActionValue_CustomPaymentMethodMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_CustomPaymentMethodMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_CustomPaymentMethodMetadata) ProtoMessage() {} + +func (x *SyncActionValue_CustomPaymentMethodMetadata) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_CustomPaymentMethodMetadata.ProtoReflect.Descriptor instead. +func (*SyncActionValue_CustomPaymentMethodMetadata) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 4} +} + +func (x *SyncActionValue_CustomPaymentMethodMetadata) GetKey() string { + if x != nil { + return x.Key + } + return "" +} + +func (x *SyncActionValue_CustomPaymentMethodMetadata) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +type SyncActionValue_PaymentInfoAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cpi string `protobuf:"bytes,1,opt,name=cpi,proto3" json:"cpi,omitempty"` +} + +func (x *SyncActionValue_PaymentInfoAction) Reset() { + *x = SyncActionValue_PaymentInfoAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_PaymentInfoAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_PaymentInfoAction) ProtoMessage() {} + +func (x *SyncActionValue_PaymentInfoAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_PaymentInfoAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_PaymentInfoAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 5} +} + +func (x *SyncActionValue_PaymentInfoAction) GetCpi() string { + if x != nil { + return x.Cpi + } + return "" +} + +type SyncActionValue_LabelReorderingAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SortedLabelIDs []int32 `protobuf:"varint,1,rep,packed,name=sortedLabelIDs,proto3" json:"sortedLabelIDs,omitempty"` +} + +func (x *SyncActionValue_LabelReorderingAction) Reset() { + *x = SyncActionValue_LabelReorderingAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_LabelReorderingAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_LabelReorderingAction) ProtoMessage() {} + +func (x *SyncActionValue_LabelReorderingAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_LabelReorderingAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_LabelReorderingAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 6} +} + +func (x *SyncActionValue_LabelReorderingAction) GetSortedLabelIDs() []int32 { + if x != nil { + return x.SortedLabelIDs + } + return nil +} + +type SyncActionValue_DeleteIndividualCallLogAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PeerJID string `protobuf:"bytes,1,opt,name=peerJID,proto3" json:"peerJID,omitempty"` + IsIncoming bool `protobuf:"varint,2,opt,name=isIncoming,proto3" json:"isIncoming,omitempty"` +} + +func (x *SyncActionValue_DeleteIndividualCallLogAction) Reset() { + *x = SyncActionValue_DeleteIndividualCallLogAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_DeleteIndividualCallLogAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_DeleteIndividualCallLogAction) ProtoMessage() {} + +func (x *SyncActionValue_DeleteIndividualCallLogAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_DeleteIndividualCallLogAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_DeleteIndividualCallLogAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 7} +} + +func (x *SyncActionValue_DeleteIndividualCallLogAction) GetPeerJID() string { + if x != nil { + return x.PeerJID + } + return "" +} + +func (x *SyncActionValue_DeleteIndividualCallLogAction) GetIsIncoming() bool { + if x != nil { + return x.IsIncoming + } + return false +} + +type SyncActionValue_BotWelcomeRequestAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSent bool `protobuf:"varint,1,opt,name=isSent,proto3" json:"isSent,omitempty"` +} + +func (x *SyncActionValue_BotWelcomeRequestAction) Reset() { + *x = SyncActionValue_BotWelcomeRequestAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_BotWelcomeRequestAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_BotWelcomeRequestAction) ProtoMessage() {} + +func (x *SyncActionValue_BotWelcomeRequestAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_BotWelcomeRequestAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_BotWelcomeRequestAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 8} +} + +func (x *SyncActionValue_BotWelcomeRequestAction) GetIsSent() bool { + if x != nil { + return x.IsSent + } + return false +} + +type SyncActionValue_CallLogAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CallLogRecord *CallLogRecord `protobuf:"bytes,1,opt,name=callLogRecord,proto3" json:"callLogRecord,omitempty"` +} + +func (x *SyncActionValue_CallLogAction) Reset() { + *x = SyncActionValue_CallLogAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_CallLogAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_CallLogAction) ProtoMessage() {} + +func (x *SyncActionValue_CallLogAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_CallLogAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_CallLogAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 9} +} + +func (x *SyncActionValue_CallLogAction) GetCallLogRecord() *CallLogRecord { + if x != nil { + return x.CallLogRecord + } + return nil +} + +type SyncActionValue_PrivacySettingRelayAllCalls struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsEnabled bool `protobuf:"varint,1,opt,name=isEnabled,proto3" json:"isEnabled,omitempty"` +} + +func (x *SyncActionValue_PrivacySettingRelayAllCalls) Reset() { + *x = SyncActionValue_PrivacySettingRelayAllCalls{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_PrivacySettingRelayAllCalls) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_PrivacySettingRelayAllCalls) ProtoMessage() {} + +func (x *SyncActionValue_PrivacySettingRelayAllCalls) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_PrivacySettingRelayAllCalls.ProtoReflect.Descriptor instead. +func (*SyncActionValue_PrivacySettingRelayAllCalls) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 10} +} + +func (x *SyncActionValue_PrivacySettingRelayAllCalls) GetIsEnabled() bool { + if x != nil { + return x.IsEnabled + } + return false +} + +type SyncActionValue_ExternalWebBetaAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsOptIn bool `protobuf:"varint,1,opt,name=isOptIn,proto3" json:"isOptIn,omitempty"` +} + +func (x *SyncActionValue_ExternalWebBetaAction) Reset() { + *x = SyncActionValue_ExternalWebBetaAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_ExternalWebBetaAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_ExternalWebBetaAction) ProtoMessage() {} + +func (x *SyncActionValue_ExternalWebBetaAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_ExternalWebBetaAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_ExternalWebBetaAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 11} +} + +func (x *SyncActionValue_ExternalWebBetaAction) GetIsOptIn() bool { + if x != nil { + return x.IsOptIn + } + return false +} + +type SyncActionValue_MarketingMessageBroadcastAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RepliedCount int32 `protobuf:"varint,1,opt,name=repliedCount,proto3" json:"repliedCount,omitempty"` +} + +func (x *SyncActionValue_MarketingMessageBroadcastAction) Reset() { + *x = SyncActionValue_MarketingMessageBroadcastAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_MarketingMessageBroadcastAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_MarketingMessageBroadcastAction) ProtoMessage() {} + +func (x *SyncActionValue_MarketingMessageBroadcastAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_MarketingMessageBroadcastAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_MarketingMessageBroadcastAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 12} +} + +func (x *SyncActionValue_MarketingMessageBroadcastAction) GetRepliedCount() int32 { + if x != nil { + return x.RepliedCount + } + return 0 +} + +type SyncActionValue_PnForLidChatAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PnJID string `protobuf:"bytes,1,opt,name=pnJID,proto3" json:"pnJID,omitempty"` +} + +func (x *SyncActionValue_PnForLidChatAction) Reset() { + *x = SyncActionValue_PnForLidChatAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_PnForLidChatAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_PnForLidChatAction) ProtoMessage() {} + +func (x *SyncActionValue_PnForLidChatAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_PnForLidChatAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_PnForLidChatAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 13} +} + +func (x *SyncActionValue_PnForLidChatAction) GetPnJID() string { + if x != nil { + return x.PnJID + } + return "" +} + +type SyncActionValue_ChatAssignmentOpenedStatusAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChatOpened bool `protobuf:"varint,1,opt,name=chatOpened,proto3" json:"chatOpened,omitempty"` +} + +func (x *SyncActionValue_ChatAssignmentOpenedStatusAction) Reset() { + *x = SyncActionValue_ChatAssignmentOpenedStatusAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_ChatAssignmentOpenedStatusAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_ChatAssignmentOpenedStatusAction) ProtoMessage() {} + +func (x *SyncActionValue_ChatAssignmentOpenedStatusAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_ChatAssignmentOpenedStatusAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_ChatAssignmentOpenedStatusAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 14} +} + +func (x *SyncActionValue_ChatAssignmentOpenedStatusAction) GetChatOpened() bool { + if x != nil { + return x.ChatOpened + } + return false +} + +type SyncActionValue_ChatAssignmentAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DeviceAgentID string `protobuf:"bytes,1,opt,name=deviceAgentID,proto3" json:"deviceAgentID,omitempty"` +} + +func (x *SyncActionValue_ChatAssignmentAction) Reset() { + *x = SyncActionValue_ChatAssignmentAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_ChatAssignmentAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_ChatAssignmentAction) ProtoMessage() {} + +func (x *SyncActionValue_ChatAssignmentAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_ChatAssignmentAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_ChatAssignmentAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 15} +} + +func (x *SyncActionValue_ChatAssignmentAction) GetDeviceAgentID() string { + if x != nil { + return x.DeviceAgentID + } + return "" +} + +type SyncActionValue_StickerAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` + FileEncSHA256 []byte `protobuf:"bytes,2,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` + MediaKey []byte `protobuf:"bytes,3,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` + Mimetype string `protobuf:"bytes,4,opt,name=mimetype,proto3" json:"mimetype,omitempty"` + Height uint32 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` + Width uint32 `protobuf:"varint,6,opt,name=width,proto3" json:"width,omitempty"` + DirectPath string `protobuf:"bytes,7,opt,name=directPath,proto3" json:"directPath,omitempty"` + FileLength uint64 `protobuf:"varint,8,opt,name=fileLength,proto3" json:"fileLength,omitempty"` + IsFavorite bool `protobuf:"varint,9,opt,name=isFavorite,proto3" json:"isFavorite,omitempty"` + DeviceIDHint uint32 `protobuf:"varint,10,opt,name=deviceIDHint,proto3" json:"deviceIDHint,omitempty"` +} + +func (x *SyncActionValue_StickerAction) Reset() { + *x = SyncActionValue_StickerAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_StickerAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_StickerAction) ProtoMessage() {} + +func (x *SyncActionValue_StickerAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_StickerAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_StickerAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 16} +} + +func (x *SyncActionValue_StickerAction) GetURL() string { + if x != nil { + return x.URL + } + return "" +} + +func (x *SyncActionValue_StickerAction) GetFileEncSHA256() []byte { + if x != nil { + return x.FileEncSHA256 + } + return nil +} + +func (x *SyncActionValue_StickerAction) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *SyncActionValue_StickerAction) GetMimetype() string { + if x != nil { + return x.Mimetype + } + return "" +} + +func (x *SyncActionValue_StickerAction) GetHeight() uint32 { + if x != nil { + return x.Height + } + return 0 +} + +func (x *SyncActionValue_StickerAction) GetWidth() uint32 { + if x != nil { + return x.Width + } + return 0 +} + +func (x *SyncActionValue_StickerAction) GetDirectPath() string { + if x != nil { + return x.DirectPath + } + return "" +} + +func (x *SyncActionValue_StickerAction) GetFileLength() uint64 { + if x != nil { + return x.FileLength + } + return 0 +} + +func (x *SyncActionValue_StickerAction) GetIsFavorite() bool { + if x != nil { + return x.IsFavorite + } + return false +} + +func (x *SyncActionValue_StickerAction) GetDeviceIDHint() uint32 { + if x != nil { + return x.DeviceIDHint + } + return 0 +} + +type SyncActionValue_RemoveRecentStickerAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LastStickerSentTS int64 `protobuf:"varint,1,opt,name=lastStickerSentTS,proto3" json:"lastStickerSentTS,omitempty"` +} + +func (x *SyncActionValue_RemoveRecentStickerAction) Reset() { + *x = SyncActionValue_RemoveRecentStickerAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_RemoveRecentStickerAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_RemoveRecentStickerAction) ProtoMessage() {} + +func (x *SyncActionValue_RemoveRecentStickerAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_RemoveRecentStickerAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_RemoveRecentStickerAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 17} +} + +func (x *SyncActionValue_RemoveRecentStickerAction) GetLastStickerSentTS() int64 { + if x != nil { + return x.LastStickerSentTS + } + return 0 +} + +type SyncActionValue_PrimaryVersionAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` +} + +func (x *SyncActionValue_PrimaryVersionAction) Reset() { + *x = SyncActionValue_PrimaryVersionAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_PrimaryVersionAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_PrimaryVersionAction) ProtoMessage() {} + +func (x *SyncActionValue_PrimaryVersionAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_PrimaryVersionAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_PrimaryVersionAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 18} +} + +func (x *SyncActionValue_PrimaryVersionAction) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +type SyncActionValue_NuxAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Acknowledged bool `protobuf:"varint,1,opt,name=acknowledged,proto3" json:"acknowledged,omitempty"` +} + +func (x *SyncActionValue_NuxAction) Reset() { + *x = SyncActionValue_NuxAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_NuxAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_NuxAction) ProtoMessage() {} + +func (x *SyncActionValue_NuxAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_NuxAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_NuxAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 19} +} + +func (x *SyncActionValue_NuxAction) GetAcknowledged() bool { + if x != nil { + return x.Acknowledged + } + return false +} + +type SyncActionValue_TimeFormatAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsTwentyFourHourFormatEnabled bool `protobuf:"varint,1,opt,name=isTwentyFourHourFormatEnabled,proto3" json:"isTwentyFourHourFormatEnabled,omitempty"` +} + +func (x *SyncActionValue_TimeFormatAction) Reset() { + *x = SyncActionValue_TimeFormatAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_TimeFormatAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_TimeFormatAction) ProtoMessage() {} + +func (x *SyncActionValue_TimeFormatAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_TimeFormatAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_TimeFormatAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 20} +} + +func (x *SyncActionValue_TimeFormatAction) GetIsTwentyFourHourFormatEnabled() bool { + if x != nil { + return x.IsTwentyFourHourFormatEnabled + } + return false +} + +type SyncActionValue_UserStatusMuteAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Muted bool `protobuf:"varint,1,opt,name=muted,proto3" json:"muted,omitempty"` +} + +func (x *SyncActionValue_UserStatusMuteAction) Reset() { + *x = SyncActionValue_UserStatusMuteAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_UserStatusMuteAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_UserStatusMuteAction) ProtoMessage() {} + +func (x *SyncActionValue_UserStatusMuteAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_UserStatusMuteAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_UserStatusMuteAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 21} +} + +func (x *SyncActionValue_UserStatusMuteAction) GetMuted() bool { + if x != nil { + return x.Muted + } + return false +} + +type SyncActionValue_SubscriptionAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsDeactivated bool `protobuf:"varint,1,opt,name=isDeactivated,proto3" json:"isDeactivated,omitempty"` + IsAutoRenewing bool `protobuf:"varint,2,opt,name=isAutoRenewing,proto3" json:"isAutoRenewing,omitempty"` + ExpirationDate int64 `protobuf:"varint,3,opt,name=expirationDate,proto3" json:"expirationDate,omitempty"` +} + +func (x *SyncActionValue_SubscriptionAction) Reset() { + *x = SyncActionValue_SubscriptionAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_SubscriptionAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_SubscriptionAction) ProtoMessage() {} + +func (x *SyncActionValue_SubscriptionAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_SubscriptionAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_SubscriptionAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 22} +} + +func (x *SyncActionValue_SubscriptionAction) GetIsDeactivated() bool { + if x != nil { + return x.IsDeactivated + } + return false +} + +func (x *SyncActionValue_SubscriptionAction) GetIsAutoRenewing() bool { + if x != nil { + return x.IsAutoRenewing + } + return false +} + +func (x *SyncActionValue_SubscriptionAction) GetExpirationDate() int64 { + if x != nil { + return x.ExpirationDate + } + return 0 +} + +type SyncActionValue_AgentAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + DeviceID int32 `protobuf:"varint,2,opt,name=deviceID,proto3" json:"deviceID,omitempty"` + IsDeleted bool `protobuf:"varint,3,opt,name=isDeleted,proto3" json:"isDeleted,omitempty"` +} + +func (x *SyncActionValue_AgentAction) Reset() { + *x = SyncActionValue_AgentAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_AgentAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_AgentAction) ProtoMessage() {} + +func (x *SyncActionValue_AgentAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_AgentAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_AgentAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 23} +} + +func (x *SyncActionValue_AgentAction) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *SyncActionValue_AgentAction) GetDeviceID() int32 { + if x != nil { + return x.DeviceID + } + return 0 +} + +func (x *SyncActionValue_AgentAction) GetIsDeleted() bool { + if x != nil { + return x.IsDeleted + } + return false +} + +type SyncActionValue_AndroidUnsupportedActions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Allowed bool `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"` +} + +func (x *SyncActionValue_AndroidUnsupportedActions) Reset() { + *x = SyncActionValue_AndroidUnsupportedActions{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_AndroidUnsupportedActions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_AndroidUnsupportedActions) ProtoMessage() {} + +func (x *SyncActionValue_AndroidUnsupportedActions) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_AndroidUnsupportedActions.ProtoReflect.Descriptor instead. +func (*SyncActionValue_AndroidUnsupportedActions) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 24} +} + +func (x *SyncActionValue_AndroidUnsupportedActions) GetAllowed() bool { + if x != nil { + return x.Allowed + } + return false +} + +type SyncActionValue_PrimaryFeature struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Flags []string `protobuf:"bytes,1,rep,name=flags,proto3" json:"flags,omitempty"` +} + +func (x *SyncActionValue_PrimaryFeature) Reset() { + *x = SyncActionValue_PrimaryFeature{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_PrimaryFeature) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_PrimaryFeature) ProtoMessage() {} + +func (x *SyncActionValue_PrimaryFeature) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_PrimaryFeature.ProtoReflect.Descriptor instead. +func (*SyncActionValue_PrimaryFeature) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 25} +} + +func (x *SyncActionValue_PrimaryFeature) GetFlags() []string { + if x != nil { + return x.Flags + } + return nil +} + +type SyncActionValue_KeyExpiration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExpiredKeyEpoch int32 `protobuf:"varint,1,opt,name=expiredKeyEpoch,proto3" json:"expiredKeyEpoch,omitempty"` +} + +func (x *SyncActionValue_KeyExpiration) Reset() { + *x = SyncActionValue_KeyExpiration{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_KeyExpiration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_KeyExpiration) ProtoMessage() {} + +func (x *SyncActionValue_KeyExpiration) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_KeyExpiration.ProtoReflect.Descriptor instead. +func (*SyncActionValue_KeyExpiration) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 26} +} + +func (x *SyncActionValue_KeyExpiration) GetExpiredKeyEpoch() int32 { + if x != nil { + return x.ExpiredKeyEpoch + } + return 0 +} + +type SyncActionValue_SyncActionMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *waCommon.MessageKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *SyncActionValue_SyncActionMessage) Reset() { + *x = SyncActionValue_SyncActionMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_SyncActionMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_SyncActionMessage) ProtoMessage() {} + +func (x *SyncActionValue_SyncActionMessage) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_SyncActionMessage.ProtoReflect.Descriptor instead. +func (*SyncActionValue_SyncActionMessage) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 27} +} + +func (x *SyncActionValue_SyncActionMessage) GetKey() *waCommon.MessageKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *SyncActionValue_SyncActionMessage) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +type SyncActionValue_SyncActionMessageRange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LastMessageTimestamp int64 `protobuf:"varint,1,opt,name=lastMessageTimestamp,proto3" json:"lastMessageTimestamp,omitempty"` + LastSystemMessageTimestamp int64 `protobuf:"varint,2,opt,name=lastSystemMessageTimestamp,proto3" json:"lastSystemMessageTimestamp,omitempty"` + Messages []*SyncActionValue_SyncActionMessage `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"` +} + +func (x *SyncActionValue_SyncActionMessageRange) Reset() { + *x = SyncActionValue_SyncActionMessageRange{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_SyncActionMessageRange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_SyncActionMessageRange) ProtoMessage() {} + +func (x *SyncActionValue_SyncActionMessageRange) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_SyncActionMessageRange.ProtoReflect.Descriptor instead. +func (*SyncActionValue_SyncActionMessageRange) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 28} +} + +func (x *SyncActionValue_SyncActionMessageRange) GetLastMessageTimestamp() int64 { + if x != nil { + return x.LastMessageTimestamp + } + return 0 +} + +func (x *SyncActionValue_SyncActionMessageRange) GetLastSystemMessageTimestamp() int64 { + if x != nil { + return x.LastSystemMessageTimestamp + } + return 0 +} + +func (x *SyncActionValue_SyncActionMessageRange) GetMessages() []*SyncActionValue_SyncActionMessage { + if x != nil { + return x.Messages + } + return nil +} + +type SyncActionValue_UnarchiveChatsSetting struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UnarchiveChats bool `protobuf:"varint,1,opt,name=unarchiveChats,proto3" json:"unarchiveChats,omitempty"` +} + +func (x *SyncActionValue_UnarchiveChatsSetting) Reset() { + *x = SyncActionValue_UnarchiveChatsSetting{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_UnarchiveChatsSetting) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_UnarchiveChatsSetting) ProtoMessage() {} + +func (x *SyncActionValue_UnarchiveChatsSetting) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_UnarchiveChatsSetting.ProtoReflect.Descriptor instead. +func (*SyncActionValue_UnarchiveChatsSetting) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 29} +} + +func (x *SyncActionValue_UnarchiveChatsSetting) GetUnarchiveChats() bool { + if x != nil { + return x.UnarchiveChats + } + return false +} + +type SyncActionValue_DeleteChatAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MessageRange *SyncActionValue_SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange,proto3" json:"messageRange,omitempty"` +} + +func (x *SyncActionValue_DeleteChatAction) Reset() { + *x = SyncActionValue_DeleteChatAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_DeleteChatAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_DeleteChatAction) ProtoMessage() {} + +func (x *SyncActionValue_DeleteChatAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_DeleteChatAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_DeleteChatAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 30} +} + +func (x *SyncActionValue_DeleteChatAction) GetMessageRange() *SyncActionValue_SyncActionMessageRange { + if x != nil { + return x.MessageRange + } + return nil +} + +type SyncActionValue_ClearChatAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MessageRange *SyncActionValue_SyncActionMessageRange `protobuf:"bytes,1,opt,name=messageRange,proto3" json:"messageRange,omitempty"` +} + +func (x *SyncActionValue_ClearChatAction) Reset() { + *x = SyncActionValue_ClearChatAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_ClearChatAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_ClearChatAction) ProtoMessage() {} + +func (x *SyncActionValue_ClearChatAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_ClearChatAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_ClearChatAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 31} +} + +func (x *SyncActionValue_ClearChatAction) GetMessageRange() *SyncActionValue_SyncActionMessageRange { + if x != nil { + return x.MessageRange + } + return nil +} + +type SyncActionValue_MarkChatAsReadAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"` + MessageRange *SyncActionValue_SyncActionMessageRange `protobuf:"bytes,2,opt,name=messageRange,proto3" json:"messageRange,omitempty"` +} + +func (x *SyncActionValue_MarkChatAsReadAction) Reset() { + *x = SyncActionValue_MarkChatAsReadAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_MarkChatAsReadAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_MarkChatAsReadAction) ProtoMessage() {} + +func (x *SyncActionValue_MarkChatAsReadAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_MarkChatAsReadAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_MarkChatAsReadAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 32} +} + +func (x *SyncActionValue_MarkChatAsReadAction) GetRead() bool { + if x != nil { + return x.Read + } + return false +} + +func (x *SyncActionValue_MarkChatAsReadAction) GetMessageRange() *SyncActionValue_SyncActionMessageRange { + if x != nil { + return x.MessageRange + } + return nil +} + +type SyncActionValue_DeleteMessageForMeAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DeleteMedia bool `protobuf:"varint,1,opt,name=deleteMedia,proto3" json:"deleteMedia,omitempty"` + MessageTimestamp int64 `protobuf:"varint,2,opt,name=messageTimestamp,proto3" json:"messageTimestamp,omitempty"` +} + +func (x *SyncActionValue_DeleteMessageForMeAction) Reset() { + *x = SyncActionValue_DeleteMessageForMeAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_DeleteMessageForMeAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_DeleteMessageForMeAction) ProtoMessage() {} + +func (x *SyncActionValue_DeleteMessageForMeAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_DeleteMessageForMeAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_DeleteMessageForMeAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 33} +} + +func (x *SyncActionValue_DeleteMessageForMeAction) GetDeleteMedia() bool { + if x != nil { + return x.DeleteMedia + } + return false +} + +func (x *SyncActionValue_DeleteMessageForMeAction) GetMessageTimestamp() int64 { + if x != nil { + return x.MessageTimestamp + } + return 0 +} + +type SyncActionValue_ArchiveChatAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Archived bool `protobuf:"varint,1,opt,name=archived,proto3" json:"archived,omitempty"` + MessageRange *SyncActionValue_SyncActionMessageRange `protobuf:"bytes,2,opt,name=messageRange,proto3" json:"messageRange,omitempty"` +} + +func (x *SyncActionValue_ArchiveChatAction) Reset() { + *x = SyncActionValue_ArchiveChatAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_ArchiveChatAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_ArchiveChatAction) ProtoMessage() {} + +func (x *SyncActionValue_ArchiveChatAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_ArchiveChatAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_ArchiveChatAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 34} +} + +func (x *SyncActionValue_ArchiveChatAction) GetArchived() bool { + if x != nil { + return x.Archived + } + return false +} + +func (x *SyncActionValue_ArchiveChatAction) GetMessageRange() *SyncActionValue_SyncActionMessageRange { + if x != nil { + return x.MessageRange + } + return nil +} + +type SyncActionValue_RecentEmojiWeightsAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Weights []*RecentEmojiWeight `protobuf:"bytes,1,rep,name=weights,proto3" json:"weights,omitempty"` +} + +func (x *SyncActionValue_RecentEmojiWeightsAction) Reset() { + *x = SyncActionValue_RecentEmojiWeightsAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_RecentEmojiWeightsAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_RecentEmojiWeightsAction) ProtoMessage() {} + +func (x *SyncActionValue_RecentEmojiWeightsAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_RecentEmojiWeightsAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_RecentEmojiWeightsAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 35} +} + +func (x *SyncActionValue_RecentEmojiWeightsAction) GetWeights() []*RecentEmojiWeight { + if x != nil { + return x.Weights + } + return nil +} + +type SyncActionValue_LabelEditAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Color int32 `protobuf:"varint,2,opt,name=color,proto3" json:"color,omitempty"` + PredefinedID int32 `protobuf:"varint,3,opt,name=predefinedID,proto3" json:"predefinedID,omitempty"` + Deleted bool `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"` + OrderIndex int32 `protobuf:"varint,5,opt,name=orderIndex,proto3" json:"orderIndex,omitempty"` +} + +func (x *SyncActionValue_LabelEditAction) Reset() { + *x = SyncActionValue_LabelEditAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_LabelEditAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_LabelEditAction) ProtoMessage() {} + +func (x *SyncActionValue_LabelEditAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_LabelEditAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_LabelEditAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 36} +} + +func (x *SyncActionValue_LabelEditAction) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *SyncActionValue_LabelEditAction) GetColor() int32 { + if x != nil { + return x.Color + } + return 0 +} + +func (x *SyncActionValue_LabelEditAction) GetPredefinedID() int32 { + if x != nil { + return x.PredefinedID + } + return 0 +} + +func (x *SyncActionValue_LabelEditAction) GetDeleted() bool { + if x != nil { + return x.Deleted + } + return false +} + +func (x *SyncActionValue_LabelEditAction) GetOrderIndex() int32 { + if x != nil { + return x.OrderIndex + } + return 0 +} + +type SyncActionValue_LabelAssociationAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Labeled bool `protobuf:"varint,1,opt,name=labeled,proto3" json:"labeled,omitempty"` +} + +func (x *SyncActionValue_LabelAssociationAction) Reset() { + *x = SyncActionValue_LabelAssociationAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_LabelAssociationAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_LabelAssociationAction) ProtoMessage() {} + +func (x *SyncActionValue_LabelAssociationAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_LabelAssociationAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_LabelAssociationAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 37} +} + +func (x *SyncActionValue_LabelAssociationAction) GetLabeled() bool { + if x != nil { + return x.Labeled + } + return false +} + +type SyncActionValue_QuickReplyAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Shortcut string `protobuf:"bytes,1,opt,name=shortcut,proto3" json:"shortcut,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Keywords []string `protobuf:"bytes,3,rep,name=keywords,proto3" json:"keywords,omitempty"` + Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` + Deleted bool `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"` +} + +func (x *SyncActionValue_QuickReplyAction) Reset() { + *x = SyncActionValue_QuickReplyAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_QuickReplyAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_QuickReplyAction) ProtoMessage() {} + +func (x *SyncActionValue_QuickReplyAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_QuickReplyAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_QuickReplyAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 38} +} + +func (x *SyncActionValue_QuickReplyAction) GetShortcut() string { + if x != nil { + return x.Shortcut + } + return "" +} + +func (x *SyncActionValue_QuickReplyAction) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *SyncActionValue_QuickReplyAction) GetKeywords() []string { + if x != nil { + return x.Keywords + } + return nil +} + +func (x *SyncActionValue_QuickReplyAction) GetCount() int32 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *SyncActionValue_QuickReplyAction) GetDeleted() bool { + if x != nil { + return x.Deleted + } + return false +} + +type SyncActionValue_LocaleSetting struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"` +} + +func (x *SyncActionValue_LocaleSetting) Reset() { + *x = SyncActionValue_LocaleSetting{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_LocaleSetting) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_LocaleSetting) ProtoMessage() {} + +func (x *SyncActionValue_LocaleSetting) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_LocaleSetting.ProtoReflect.Descriptor instead. +func (*SyncActionValue_LocaleSetting) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 39} +} + +func (x *SyncActionValue_LocaleSetting) GetLocale() string { + if x != nil { + return x.Locale + } + return "" +} + +type SyncActionValue_PushNameSetting struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *SyncActionValue_PushNameSetting) Reset() { + *x = SyncActionValue_PushNameSetting{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_PushNameSetting) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_PushNameSetting) ProtoMessage() {} + +func (x *SyncActionValue_PushNameSetting) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_PushNameSetting.ProtoReflect.Descriptor instead. +func (*SyncActionValue_PushNameSetting) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 40} +} + +func (x *SyncActionValue_PushNameSetting) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +type SyncActionValue_SecurityNotificationSetting struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShowNotification bool `protobuf:"varint,1,opt,name=showNotification,proto3" json:"showNotification,omitempty"` +} + +func (x *SyncActionValue_SecurityNotificationSetting) Reset() { + *x = SyncActionValue_SecurityNotificationSetting{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_SecurityNotificationSetting) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_SecurityNotificationSetting) ProtoMessage() {} + +func (x *SyncActionValue_SecurityNotificationSetting) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_SecurityNotificationSetting.ProtoReflect.Descriptor instead. +func (*SyncActionValue_SecurityNotificationSetting) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 41} +} + +func (x *SyncActionValue_SecurityNotificationSetting) GetShowNotification() bool { + if x != nil { + return x.ShowNotification + } + return false +} + +type SyncActionValue_PinAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pinned bool `protobuf:"varint,1,opt,name=pinned,proto3" json:"pinned,omitempty"` +} + +func (x *SyncActionValue_PinAction) Reset() { + *x = SyncActionValue_PinAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_PinAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_PinAction) ProtoMessage() {} + +func (x *SyncActionValue_PinAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[48] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_PinAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_PinAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 42} +} + +func (x *SyncActionValue_PinAction) GetPinned() bool { + if x != nil { + return x.Pinned + } + return false +} + +type SyncActionValue_MuteAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Muted bool `protobuf:"varint,1,opt,name=muted,proto3" json:"muted,omitempty"` + MuteEndTimestamp int64 `protobuf:"varint,2,opt,name=muteEndTimestamp,proto3" json:"muteEndTimestamp,omitempty"` + AutoMuted bool `protobuf:"varint,3,opt,name=autoMuted,proto3" json:"autoMuted,omitempty"` +} + +func (x *SyncActionValue_MuteAction) Reset() { + *x = SyncActionValue_MuteAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_MuteAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_MuteAction) ProtoMessage() {} + +func (x *SyncActionValue_MuteAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_MuteAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_MuteAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 43} +} + +func (x *SyncActionValue_MuteAction) GetMuted() bool { + if x != nil { + return x.Muted + } + return false +} + +func (x *SyncActionValue_MuteAction) GetMuteEndTimestamp() int64 { + if x != nil { + return x.MuteEndTimestamp + } + return 0 +} + +func (x *SyncActionValue_MuteAction) GetAutoMuted() bool { + if x != nil { + return x.AutoMuted + } + return false +} + +type SyncActionValue_ContactAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FullName string `protobuf:"bytes,1,opt,name=fullName,proto3" json:"fullName,omitempty"` + FirstName string `protobuf:"bytes,2,opt,name=firstName,proto3" json:"firstName,omitempty"` + LidJID string `protobuf:"bytes,3,opt,name=lidJID,proto3" json:"lidJID,omitempty"` + SaveOnPrimaryAddressbook bool `protobuf:"varint,4,opt,name=saveOnPrimaryAddressbook,proto3" json:"saveOnPrimaryAddressbook,omitempty"` +} + +func (x *SyncActionValue_ContactAction) Reset() { + *x = SyncActionValue_ContactAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_ContactAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_ContactAction) ProtoMessage() {} + +func (x *SyncActionValue_ContactAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[50] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_ContactAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_ContactAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 44} +} + +func (x *SyncActionValue_ContactAction) GetFullName() string { + if x != nil { + return x.FullName + } + return "" +} + +func (x *SyncActionValue_ContactAction) GetFirstName() string { + if x != nil { + return x.FirstName + } + return "" +} + +func (x *SyncActionValue_ContactAction) GetLidJID() string { + if x != nil { + return x.LidJID + } + return "" +} + +func (x *SyncActionValue_ContactAction) GetSaveOnPrimaryAddressbook() bool { + if x != nil { + return x.SaveOnPrimaryAddressbook + } + return false +} + +type SyncActionValue_StarAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Starred bool `protobuf:"varint,1,opt,name=starred,proto3" json:"starred,omitempty"` +} + +func (x *SyncActionValue_StarAction) Reset() { + *x = SyncActionValue_StarAction{} + if protoimpl.UnsafeEnabled { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SyncActionValue_StarAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SyncActionValue_StarAction) ProtoMessage() {} + +func (x *SyncActionValue_StarAction) ProtoReflect() protoreflect.Message { + mi := &file_waSyncAction_WASyncAction_proto_msgTypes[51] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SyncActionValue_StarAction.ProtoReflect.Descriptor instead. +func (*SyncActionValue_StarAction) Descriptor() ([]byte, []int) { + return file_waSyncAction_WASyncAction_proto_rawDescGZIP(), []int{1, 45} +} + +func (x *SyncActionValue_StarAction) GetStarred() bool { + if x != nil { + return x.Starred + } + return false +} + +var File_waSyncAction_WASyncAction_proto protoreflect.FileDescriptor + +//go:embed WASyncAction.pb.raw +var file_waSyncAction_WASyncAction_proto_rawDesc []byte + +var ( + file_waSyncAction_WASyncAction_proto_rawDescOnce sync.Once + file_waSyncAction_WASyncAction_proto_rawDescData = file_waSyncAction_WASyncAction_proto_rawDesc +) + +func file_waSyncAction_WASyncAction_proto_rawDescGZIP() []byte { + file_waSyncAction_WASyncAction_proto_rawDescOnce.Do(func() { + file_waSyncAction_WASyncAction_proto_rawDescData = protoimpl.X.CompressGZIP(file_waSyncAction_WASyncAction_proto_rawDescData) + }) + return file_waSyncAction_WASyncAction_proto_rawDescData +} + +var file_waSyncAction_WASyncAction_proto_enumTypes = make([]protoimpl.EnumInfo, 6) +var file_waSyncAction_WASyncAction_proto_msgTypes = make([]protoimpl.MessageInfo, 52) +var file_waSyncAction_WASyncAction_proto_goTypes = []interface{}{ + (CallLogRecord_CallType)(0), // 0: WASyncAction.CallLogRecord.CallType + (CallLogRecord_SilenceReason)(0), // 1: WASyncAction.CallLogRecord.SilenceReason + (CallLogRecord_CallResult)(0), // 2: WASyncAction.CallLogRecord.CallResult + (SyncActionValue_StatusPrivacyAction_StatusDistributionMode)(0), // 3: WASyncAction.SyncActionValue.StatusPrivacyAction.StatusDistributionMode + (SyncActionValue_MarketingMessageAction_MarketingMessagePrototypeType)(0), // 4: WASyncAction.SyncActionValue.MarketingMessageAction.MarketingMessagePrototypeType + (PatchDebugData_Platform)(0), // 5: WASyncAction.PatchDebugData.Platform + (*CallLogRecord)(nil), // 6: WASyncAction.CallLogRecord + (*SyncActionValue)(nil), // 7: WASyncAction.SyncActionValue + (*PatchDebugData)(nil), // 8: WASyncAction.PatchDebugData + (*RecentEmojiWeight)(nil), // 9: WASyncAction.RecentEmojiWeight + (*SyncActionData)(nil), // 10: WASyncAction.SyncActionData + (*CallLogRecord_ParticipantInfo)(nil), // 11: WASyncAction.CallLogRecord.ParticipantInfo + (*SyncActionValue_StatusPrivacyAction)(nil), // 12: WASyncAction.SyncActionValue.StatusPrivacyAction + (*SyncActionValue_MarketingMessageAction)(nil), // 13: WASyncAction.SyncActionValue.MarketingMessageAction + (*SyncActionValue_CustomPaymentMethodsAction)(nil), // 14: WASyncAction.SyncActionValue.CustomPaymentMethodsAction + (*SyncActionValue_CustomPaymentMethod)(nil), // 15: WASyncAction.SyncActionValue.CustomPaymentMethod + (*SyncActionValue_CustomPaymentMethodMetadata)(nil), // 16: WASyncAction.SyncActionValue.CustomPaymentMethodMetadata + (*SyncActionValue_PaymentInfoAction)(nil), // 17: WASyncAction.SyncActionValue.PaymentInfoAction + (*SyncActionValue_LabelReorderingAction)(nil), // 18: WASyncAction.SyncActionValue.LabelReorderingAction + (*SyncActionValue_DeleteIndividualCallLogAction)(nil), // 19: WASyncAction.SyncActionValue.DeleteIndividualCallLogAction + (*SyncActionValue_BotWelcomeRequestAction)(nil), // 20: WASyncAction.SyncActionValue.BotWelcomeRequestAction + (*SyncActionValue_CallLogAction)(nil), // 21: WASyncAction.SyncActionValue.CallLogAction + (*SyncActionValue_PrivacySettingRelayAllCalls)(nil), // 22: WASyncAction.SyncActionValue.PrivacySettingRelayAllCalls + (*SyncActionValue_ExternalWebBetaAction)(nil), // 23: WASyncAction.SyncActionValue.ExternalWebBetaAction + (*SyncActionValue_MarketingMessageBroadcastAction)(nil), // 24: WASyncAction.SyncActionValue.MarketingMessageBroadcastAction + (*SyncActionValue_PnForLidChatAction)(nil), // 25: WASyncAction.SyncActionValue.PnForLidChatAction + (*SyncActionValue_ChatAssignmentOpenedStatusAction)(nil), // 26: WASyncAction.SyncActionValue.ChatAssignmentOpenedStatusAction + (*SyncActionValue_ChatAssignmentAction)(nil), // 27: WASyncAction.SyncActionValue.ChatAssignmentAction + (*SyncActionValue_StickerAction)(nil), // 28: WASyncAction.SyncActionValue.StickerAction + (*SyncActionValue_RemoveRecentStickerAction)(nil), // 29: WASyncAction.SyncActionValue.RemoveRecentStickerAction + (*SyncActionValue_PrimaryVersionAction)(nil), // 30: WASyncAction.SyncActionValue.PrimaryVersionAction + (*SyncActionValue_NuxAction)(nil), // 31: WASyncAction.SyncActionValue.NuxAction + (*SyncActionValue_TimeFormatAction)(nil), // 32: WASyncAction.SyncActionValue.TimeFormatAction + (*SyncActionValue_UserStatusMuteAction)(nil), // 33: WASyncAction.SyncActionValue.UserStatusMuteAction + (*SyncActionValue_SubscriptionAction)(nil), // 34: WASyncAction.SyncActionValue.SubscriptionAction + (*SyncActionValue_AgentAction)(nil), // 35: WASyncAction.SyncActionValue.AgentAction + (*SyncActionValue_AndroidUnsupportedActions)(nil), // 36: WASyncAction.SyncActionValue.AndroidUnsupportedActions + (*SyncActionValue_PrimaryFeature)(nil), // 37: WASyncAction.SyncActionValue.PrimaryFeature + (*SyncActionValue_KeyExpiration)(nil), // 38: WASyncAction.SyncActionValue.KeyExpiration + (*SyncActionValue_SyncActionMessage)(nil), // 39: WASyncAction.SyncActionValue.SyncActionMessage + (*SyncActionValue_SyncActionMessageRange)(nil), // 40: WASyncAction.SyncActionValue.SyncActionMessageRange + (*SyncActionValue_UnarchiveChatsSetting)(nil), // 41: WASyncAction.SyncActionValue.UnarchiveChatsSetting + (*SyncActionValue_DeleteChatAction)(nil), // 42: WASyncAction.SyncActionValue.DeleteChatAction + (*SyncActionValue_ClearChatAction)(nil), // 43: WASyncAction.SyncActionValue.ClearChatAction + (*SyncActionValue_MarkChatAsReadAction)(nil), // 44: WASyncAction.SyncActionValue.MarkChatAsReadAction + (*SyncActionValue_DeleteMessageForMeAction)(nil), // 45: WASyncAction.SyncActionValue.DeleteMessageForMeAction + (*SyncActionValue_ArchiveChatAction)(nil), // 46: WASyncAction.SyncActionValue.ArchiveChatAction + (*SyncActionValue_RecentEmojiWeightsAction)(nil), // 47: WASyncAction.SyncActionValue.RecentEmojiWeightsAction + (*SyncActionValue_LabelEditAction)(nil), // 48: WASyncAction.SyncActionValue.LabelEditAction + (*SyncActionValue_LabelAssociationAction)(nil), // 49: WASyncAction.SyncActionValue.LabelAssociationAction + (*SyncActionValue_QuickReplyAction)(nil), // 50: WASyncAction.SyncActionValue.QuickReplyAction + (*SyncActionValue_LocaleSetting)(nil), // 51: WASyncAction.SyncActionValue.LocaleSetting + (*SyncActionValue_PushNameSetting)(nil), // 52: WASyncAction.SyncActionValue.PushNameSetting + (*SyncActionValue_SecurityNotificationSetting)(nil), // 53: WASyncAction.SyncActionValue.SecurityNotificationSetting + (*SyncActionValue_PinAction)(nil), // 54: WASyncAction.SyncActionValue.PinAction + (*SyncActionValue_MuteAction)(nil), // 55: WASyncAction.SyncActionValue.MuteAction + (*SyncActionValue_ContactAction)(nil), // 56: WASyncAction.SyncActionValue.ContactAction + (*SyncActionValue_StarAction)(nil), // 57: WASyncAction.SyncActionValue.StarAction + (*waCommon.MessageKey)(nil), // 58: WACommon.MessageKey +} +var file_waSyncAction_WASyncAction_proto_depIdxs = []int32{ + 2, // 0: WASyncAction.CallLogRecord.callResult:type_name -> WASyncAction.CallLogRecord.CallResult + 1, // 1: WASyncAction.CallLogRecord.silenceReason:type_name -> WASyncAction.CallLogRecord.SilenceReason + 11, // 2: WASyncAction.CallLogRecord.participants:type_name -> WASyncAction.CallLogRecord.ParticipantInfo + 0, // 3: WASyncAction.CallLogRecord.callType:type_name -> WASyncAction.CallLogRecord.CallType + 57, // 4: WASyncAction.SyncActionValue.starAction:type_name -> WASyncAction.SyncActionValue.StarAction + 56, // 5: WASyncAction.SyncActionValue.contactAction:type_name -> WASyncAction.SyncActionValue.ContactAction + 55, // 6: WASyncAction.SyncActionValue.muteAction:type_name -> WASyncAction.SyncActionValue.MuteAction + 54, // 7: WASyncAction.SyncActionValue.pinAction:type_name -> WASyncAction.SyncActionValue.PinAction + 53, // 8: WASyncAction.SyncActionValue.securityNotificationSetting:type_name -> WASyncAction.SyncActionValue.SecurityNotificationSetting + 52, // 9: WASyncAction.SyncActionValue.pushNameSetting:type_name -> WASyncAction.SyncActionValue.PushNameSetting + 50, // 10: WASyncAction.SyncActionValue.quickReplyAction:type_name -> WASyncAction.SyncActionValue.QuickReplyAction + 47, // 11: WASyncAction.SyncActionValue.recentEmojiWeightsAction:type_name -> WASyncAction.SyncActionValue.RecentEmojiWeightsAction + 48, // 12: WASyncAction.SyncActionValue.labelEditAction:type_name -> WASyncAction.SyncActionValue.LabelEditAction + 49, // 13: WASyncAction.SyncActionValue.labelAssociationAction:type_name -> WASyncAction.SyncActionValue.LabelAssociationAction + 51, // 14: WASyncAction.SyncActionValue.localeSetting:type_name -> WASyncAction.SyncActionValue.LocaleSetting + 46, // 15: WASyncAction.SyncActionValue.archiveChatAction:type_name -> WASyncAction.SyncActionValue.ArchiveChatAction + 45, // 16: WASyncAction.SyncActionValue.deleteMessageForMeAction:type_name -> WASyncAction.SyncActionValue.DeleteMessageForMeAction + 38, // 17: WASyncAction.SyncActionValue.keyExpiration:type_name -> WASyncAction.SyncActionValue.KeyExpiration + 44, // 18: WASyncAction.SyncActionValue.markChatAsReadAction:type_name -> WASyncAction.SyncActionValue.MarkChatAsReadAction + 43, // 19: WASyncAction.SyncActionValue.clearChatAction:type_name -> WASyncAction.SyncActionValue.ClearChatAction + 42, // 20: WASyncAction.SyncActionValue.deleteChatAction:type_name -> WASyncAction.SyncActionValue.DeleteChatAction + 41, // 21: WASyncAction.SyncActionValue.unarchiveChatsSetting:type_name -> WASyncAction.SyncActionValue.UnarchiveChatsSetting + 37, // 22: WASyncAction.SyncActionValue.primaryFeature:type_name -> WASyncAction.SyncActionValue.PrimaryFeature + 36, // 23: WASyncAction.SyncActionValue.androidUnsupportedActions:type_name -> WASyncAction.SyncActionValue.AndroidUnsupportedActions + 35, // 24: WASyncAction.SyncActionValue.agentAction:type_name -> WASyncAction.SyncActionValue.AgentAction + 34, // 25: WASyncAction.SyncActionValue.subscriptionAction:type_name -> WASyncAction.SyncActionValue.SubscriptionAction + 33, // 26: WASyncAction.SyncActionValue.userStatusMuteAction:type_name -> WASyncAction.SyncActionValue.UserStatusMuteAction + 32, // 27: WASyncAction.SyncActionValue.timeFormatAction:type_name -> WASyncAction.SyncActionValue.TimeFormatAction + 31, // 28: WASyncAction.SyncActionValue.nuxAction:type_name -> WASyncAction.SyncActionValue.NuxAction + 30, // 29: WASyncAction.SyncActionValue.primaryVersionAction:type_name -> WASyncAction.SyncActionValue.PrimaryVersionAction + 28, // 30: WASyncAction.SyncActionValue.stickerAction:type_name -> WASyncAction.SyncActionValue.StickerAction + 29, // 31: WASyncAction.SyncActionValue.removeRecentStickerAction:type_name -> WASyncAction.SyncActionValue.RemoveRecentStickerAction + 27, // 32: WASyncAction.SyncActionValue.chatAssignment:type_name -> WASyncAction.SyncActionValue.ChatAssignmentAction + 26, // 33: WASyncAction.SyncActionValue.chatAssignmentOpenedStatus:type_name -> WASyncAction.SyncActionValue.ChatAssignmentOpenedStatusAction + 25, // 34: WASyncAction.SyncActionValue.pnForLidChatAction:type_name -> WASyncAction.SyncActionValue.PnForLidChatAction + 13, // 35: WASyncAction.SyncActionValue.marketingMessageAction:type_name -> WASyncAction.SyncActionValue.MarketingMessageAction + 24, // 36: WASyncAction.SyncActionValue.marketingMessageBroadcastAction:type_name -> WASyncAction.SyncActionValue.MarketingMessageBroadcastAction + 23, // 37: WASyncAction.SyncActionValue.externalWebBetaAction:type_name -> WASyncAction.SyncActionValue.ExternalWebBetaAction + 22, // 38: WASyncAction.SyncActionValue.privacySettingRelayAllCalls:type_name -> WASyncAction.SyncActionValue.PrivacySettingRelayAllCalls + 21, // 39: WASyncAction.SyncActionValue.callLogAction:type_name -> WASyncAction.SyncActionValue.CallLogAction + 12, // 40: WASyncAction.SyncActionValue.statusPrivacy:type_name -> WASyncAction.SyncActionValue.StatusPrivacyAction + 20, // 41: WASyncAction.SyncActionValue.botWelcomeRequestAction:type_name -> WASyncAction.SyncActionValue.BotWelcomeRequestAction + 19, // 42: WASyncAction.SyncActionValue.deleteIndividualCallLog:type_name -> WASyncAction.SyncActionValue.DeleteIndividualCallLogAction + 18, // 43: WASyncAction.SyncActionValue.labelReorderingAction:type_name -> WASyncAction.SyncActionValue.LabelReorderingAction + 17, // 44: WASyncAction.SyncActionValue.paymentInfoAction:type_name -> WASyncAction.SyncActionValue.PaymentInfoAction + 14, // 45: WASyncAction.SyncActionValue.customPaymentMethodsAction:type_name -> WASyncAction.SyncActionValue.CustomPaymentMethodsAction + 5, // 46: WASyncAction.PatchDebugData.senderPlatform:type_name -> WASyncAction.PatchDebugData.Platform + 7, // 47: WASyncAction.SyncActionData.value:type_name -> WASyncAction.SyncActionValue + 2, // 48: WASyncAction.CallLogRecord.ParticipantInfo.callResult:type_name -> WASyncAction.CallLogRecord.CallResult + 3, // 49: WASyncAction.SyncActionValue.StatusPrivacyAction.mode:type_name -> WASyncAction.SyncActionValue.StatusPrivacyAction.StatusDistributionMode + 4, // 50: WASyncAction.SyncActionValue.MarketingMessageAction.type:type_name -> WASyncAction.SyncActionValue.MarketingMessageAction.MarketingMessagePrototypeType + 15, // 51: WASyncAction.SyncActionValue.CustomPaymentMethodsAction.customPaymentMethods:type_name -> WASyncAction.SyncActionValue.CustomPaymentMethod + 16, // 52: WASyncAction.SyncActionValue.CustomPaymentMethod.metadata:type_name -> WASyncAction.SyncActionValue.CustomPaymentMethodMetadata + 6, // 53: WASyncAction.SyncActionValue.CallLogAction.callLogRecord:type_name -> WASyncAction.CallLogRecord + 58, // 54: WASyncAction.SyncActionValue.SyncActionMessage.key:type_name -> WACommon.MessageKey + 39, // 55: WASyncAction.SyncActionValue.SyncActionMessageRange.messages:type_name -> WASyncAction.SyncActionValue.SyncActionMessage + 40, // 56: WASyncAction.SyncActionValue.DeleteChatAction.messageRange:type_name -> WASyncAction.SyncActionValue.SyncActionMessageRange + 40, // 57: WASyncAction.SyncActionValue.ClearChatAction.messageRange:type_name -> WASyncAction.SyncActionValue.SyncActionMessageRange + 40, // 58: WASyncAction.SyncActionValue.MarkChatAsReadAction.messageRange:type_name -> WASyncAction.SyncActionValue.SyncActionMessageRange + 40, // 59: WASyncAction.SyncActionValue.ArchiveChatAction.messageRange:type_name -> WASyncAction.SyncActionValue.SyncActionMessageRange + 9, // 60: WASyncAction.SyncActionValue.RecentEmojiWeightsAction.weights:type_name -> WASyncAction.RecentEmojiWeight + 61, // [61:61] is the sub-list for method output_type + 61, // [61:61] is the sub-list for method input_type + 61, // [61:61] is the sub-list for extension type_name + 61, // [61:61] is the sub-list for extension extendee + 0, // [0:61] is the sub-list for field type_name +} + +func init() { file_waSyncAction_WASyncAction_proto_init() } +func file_waSyncAction_WASyncAction_proto_init() { + if File_waSyncAction_WASyncAction_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waSyncAction_WASyncAction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CallLogRecord); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PatchDebugData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RecentEmojiWeight); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CallLogRecord_ParticipantInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_StatusPrivacyAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_MarketingMessageAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_CustomPaymentMethodsAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_CustomPaymentMethod); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_CustomPaymentMethodMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_PaymentInfoAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_LabelReorderingAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_DeleteIndividualCallLogAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_BotWelcomeRequestAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_CallLogAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_PrivacySettingRelayAllCalls); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_ExternalWebBetaAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_MarketingMessageBroadcastAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_PnForLidChatAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_ChatAssignmentOpenedStatusAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_ChatAssignmentAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_StickerAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_RemoveRecentStickerAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_PrimaryVersionAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_NuxAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_TimeFormatAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_UserStatusMuteAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_SubscriptionAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_AgentAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_AndroidUnsupportedActions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_PrimaryFeature); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_KeyExpiration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_SyncActionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_SyncActionMessageRange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_UnarchiveChatsSetting); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_DeleteChatAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_ClearChatAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_MarkChatAsReadAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_DeleteMessageForMeAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_ArchiveChatAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_RecentEmojiWeightsAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_LabelEditAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_LabelAssociationAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_QuickReplyAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_LocaleSetting); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_PushNameSetting); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_SecurityNotificationSetting); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_PinAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_MuteAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_ContactAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waSyncAction_WASyncAction_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SyncActionValue_StarAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waSyncAction_WASyncAction_proto_rawDesc, + NumEnums: 6, + NumMessages: 52, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waSyncAction_WASyncAction_proto_goTypes, + DependencyIndexes: file_waSyncAction_WASyncAction_proto_depIdxs, + EnumInfos: file_waSyncAction_WASyncAction_proto_enumTypes, + MessageInfos: file_waSyncAction_WASyncAction_proto_msgTypes, + }.Build() + File_waSyncAction_WASyncAction_proto = out.File + file_waSyncAction_WASyncAction_proto_rawDesc = nil + file_waSyncAction_WASyncAction_proto_goTypes = nil + file_waSyncAction_WASyncAction_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waSyncAction/WASyncAction.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waSyncAction/WASyncAction.pb.raw new file mode 100644 index 00000000..8c4b08f2 Binary files /dev/null and b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waSyncAction/WASyncAction.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waSyncAction/WASyncAction.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waSyncAction/WASyncAction.proto new file mode 100644 index 00000000..942f05cc --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waSyncAction/WASyncAction.proto @@ -0,0 +1,375 @@ +syntax = "proto3"; +package WASyncAction; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waSyncAction"; + +import "waCommon/WACommon.proto"; + +message CallLogRecord { + enum CallType { + REGULAR = 0; + SCHEDULED_CALL = 1; + VOICE_CHAT = 2; + } + + enum SilenceReason { + NONE = 0; + SCHEDULED = 1; + PRIVACY = 2; + LIGHTWEIGHT = 3; + } + + enum CallResult { + CONNECTED = 0; + REJECTED = 1; + CANCELLED = 2; + ACCEPTEDELSEWHERE = 3; + MISSED = 4; + INVALID = 5; + UNAVAILABLE = 6; + UPCOMING = 7; + FAILED = 8; + ABANDONED = 9; + ONGOING = 10; + } + + message ParticipantInfo { + string userJID = 1; + CallResult callResult = 2; + } + + CallResult callResult = 1; + bool isDndMode = 2; + SilenceReason silenceReason = 3; + int64 duration = 4; + int64 startTime = 5; + bool isIncoming = 6; + bool isVideo = 7; + bool isCallLink = 8; + string callLinkToken = 9; + string scheduledCallID = 10; + string callID = 11; + string callCreatorJID = 12; + string groupJID = 13; + repeated ParticipantInfo participants = 14; + CallType callType = 15; +} + +message SyncActionValue { + message StatusPrivacyAction { + enum StatusDistributionMode { + ALLOW_LIST = 0; + DENY_LIST = 1; + CONTACTS = 2; + } + + StatusDistributionMode mode = 1; + repeated string userJID = 2; + } + + message MarketingMessageAction { + enum MarketingMessagePrototypeType { + PERSONALIZED = 0; + } + + string name = 1; + string message = 2; + MarketingMessagePrototypeType type = 3; + int64 createdAt = 4; + int64 lastSentAt = 5; + bool isDeleted = 6; + string mediaID = 7; + } + + message CustomPaymentMethodsAction { + repeated CustomPaymentMethod customPaymentMethods = 1; + } + + message CustomPaymentMethod { + string credentialID = 1; + string country = 2; + string type = 3; + repeated CustomPaymentMethodMetadata metadata = 4; + } + + message CustomPaymentMethodMetadata { + string key = 1; + string value = 2; + } + + message PaymentInfoAction { + string cpi = 1; + } + + message LabelReorderingAction { + repeated int32 sortedLabelIDs = 1; + } + + message DeleteIndividualCallLogAction { + string peerJID = 1; + bool isIncoming = 2; + } + + message BotWelcomeRequestAction { + bool isSent = 1; + } + + message CallLogAction { + CallLogRecord callLogRecord = 1; + } + + message PrivacySettingRelayAllCalls { + bool isEnabled = 1; + } + + message ExternalWebBetaAction { + bool isOptIn = 1; + } + + message MarketingMessageBroadcastAction { + int32 repliedCount = 1; + } + + message PnForLidChatAction { + string pnJID = 1; + } + + message ChatAssignmentOpenedStatusAction { + bool chatOpened = 1; + } + + message ChatAssignmentAction { + string deviceAgentID = 1; + } + + message StickerAction { + string URL = 1; + bytes fileEncSHA256 = 2; + bytes mediaKey = 3; + string mimetype = 4; + uint32 height = 5; + uint32 width = 6; + string directPath = 7; + uint64 fileLength = 8; + bool isFavorite = 9; + uint32 deviceIDHint = 10; + } + + message RemoveRecentStickerAction { + int64 lastStickerSentTS = 1; + } + + message PrimaryVersionAction { + string version = 1; + } + + message NuxAction { + bool acknowledged = 1; + } + + message TimeFormatAction { + bool isTwentyFourHourFormatEnabled = 1; + } + + message UserStatusMuteAction { + bool muted = 1; + } + + message SubscriptionAction { + bool isDeactivated = 1; + bool isAutoRenewing = 2; + int64 expirationDate = 3; + } + + message AgentAction { + string name = 1; + int32 deviceID = 2; + bool isDeleted = 3; + } + + message AndroidUnsupportedActions { + bool allowed = 1; + } + + message PrimaryFeature { + repeated string flags = 1; + } + + message KeyExpiration { + int32 expiredKeyEpoch = 1; + } + + message SyncActionMessage { + WACommon.MessageKey key = 1; + int64 timestamp = 2; + } + + message SyncActionMessageRange { + int64 lastMessageTimestamp = 1; + int64 lastSystemMessageTimestamp = 2; + repeated SyncActionMessage messages = 3; + } + + message UnarchiveChatsSetting { + bool unarchiveChats = 1; + } + + message DeleteChatAction { + SyncActionMessageRange messageRange = 1; + } + + message ClearChatAction { + SyncActionMessageRange messageRange = 1; + } + + message MarkChatAsReadAction { + bool read = 1; + SyncActionMessageRange messageRange = 2; + } + + message DeleteMessageForMeAction { + bool deleteMedia = 1; + int64 messageTimestamp = 2; + } + + message ArchiveChatAction { + bool archived = 1; + SyncActionMessageRange messageRange = 2; + } + + message RecentEmojiWeightsAction { + repeated RecentEmojiWeight weights = 1; + } + + message LabelEditAction { + string name = 1; + int32 color = 2; + int32 predefinedID = 3; + bool deleted = 4; + int32 orderIndex = 5; + } + + message LabelAssociationAction { + bool labeled = 1; + } + + message QuickReplyAction { + string shortcut = 1; + string message = 2; + repeated string keywords = 3; + int32 count = 4; + bool deleted = 5; + } + + message LocaleSetting { + string locale = 1; + } + + message PushNameSetting { + string name = 1; + } + + message SecurityNotificationSetting { + bool showNotification = 1; + } + + message PinAction { + bool pinned = 1; + } + + message MuteAction { + bool muted = 1; + int64 muteEndTimestamp = 2; + bool autoMuted = 3; + } + + message ContactAction { + string fullName = 1; + string firstName = 2; + string lidJID = 3; + bool saveOnPrimaryAddressbook = 4; + } + + message StarAction { + bool starred = 1; + } + + int64 timestamp = 1; + StarAction starAction = 2; + ContactAction contactAction = 3; + MuteAction muteAction = 4; + PinAction pinAction = 5; + SecurityNotificationSetting securityNotificationSetting = 6; + PushNameSetting pushNameSetting = 7; + QuickReplyAction quickReplyAction = 8; + RecentEmojiWeightsAction recentEmojiWeightsAction = 11; + LabelEditAction labelEditAction = 14; + LabelAssociationAction labelAssociationAction = 15; + LocaleSetting localeSetting = 16; + ArchiveChatAction archiveChatAction = 17; + DeleteMessageForMeAction deleteMessageForMeAction = 18; + KeyExpiration keyExpiration = 19; + MarkChatAsReadAction markChatAsReadAction = 20; + ClearChatAction clearChatAction = 21; + DeleteChatAction deleteChatAction = 22; + UnarchiveChatsSetting unarchiveChatsSetting = 23; + PrimaryFeature primaryFeature = 24; + AndroidUnsupportedActions androidUnsupportedActions = 26; + AgentAction agentAction = 27; + SubscriptionAction subscriptionAction = 28; + UserStatusMuteAction userStatusMuteAction = 29; + TimeFormatAction timeFormatAction = 30; + NuxAction nuxAction = 31; + PrimaryVersionAction primaryVersionAction = 32; + StickerAction stickerAction = 33; + RemoveRecentStickerAction removeRecentStickerAction = 34; + ChatAssignmentAction chatAssignment = 35; + ChatAssignmentOpenedStatusAction chatAssignmentOpenedStatus = 36; + PnForLidChatAction pnForLidChatAction = 37; + MarketingMessageAction marketingMessageAction = 38; + MarketingMessageBroadcastAction marketingMessageBroadcastAction = 39; + ExternalWebBetaAction externalWebBetaAction = 40; + PrivacySettingRelayAllCalls privacySettingRelayAllCalls = 41; + CallLogAction callLogAction = 42; + StatusPrivacyAction statusPrivacy = 44; + BotWelcomeRequestAction botWelcomeRequestAction = 45; + DeleteIndividualCallLogAction deleteIndividualCallLog = 46; + LabelReorderingAction labelReorderingAction = 47; + PaymentInfoAction paymentInfoAction = 48; + CustomPaymentMethodsAction customPaymentMethodsAction = 49; +} + +message PatchDebugData { + enum Platform { + ANDROID = 0; + SMBA = 1; + IPHONE = 2; + SMBI = 3; + WEB = 4; + UWP = 5; + DARWIN = 6; + } + + bytes currentLthash = 1; + bytes newLthash = 2; + bytes patchVersion = 3; + bytes collectionName = 4; + bytes firstFourBytesFromAHashOfSnapshotMACKey = 5; + bytes newLthashSubtract = 6; + int32 numberAdd = 7; + int32 numberRemove = 8; + int32 numberOverride = 9; + Platform senderPlatform = 10; + bool isSenderPrimary = 11; +} + +message RecentEmojiWeight { + string emoji = 1; + float weight = 2; +} + +message SyncActionData { + bytes index = 1; + SyncActionValue value = 2; + bytes padding = 3; + int32 version = 4; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waWa5/WAWa5.pb.go b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waWa5/WAWa5.pb.go new file mode 100644 index 00000000..cca8cc68 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waWa5/WAWa5.pb.go @@ -0,0 +1,1942 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc v3.21.12 +// source: waWa5/WAWa5.proto + +package waWa5 + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type ClientPayload_Product int32 + +const ( + ClientPayload_WHATSAPP ClientPayload_Product = 0 + ClientPayload_MESSENGER ClientPayload_Product = 1 +) + +// Enum value maps for ClientPayload_Product. +var ( + ClientPayload_Product_name = map[int32]string{ + 0: "WHATSAPP", + 1: "MESSENGER", + } + ClientPayload_Product_value = map[string]int32{ + "WHATSAPP": 0, + "MESSENGER": 1, + } +) + +func (x ClientPayload_Product) Enum() *ClientPayload_Product { + p := new(ClientPayload_Product) + *p = x + return p +} + +func (x ClientPayload_Product) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_Product) Descriptor() protoreflect.EnumDescriptor { + return file_waWa5_WAWa5_proto_enumTypes[0].Descriptor() +} + +func (ClientPayload_Product) Type() protoreflect.EnumType { + return &file_waWa5_WAWa5_proto_enumTypes[0] +} + +func (x ClientPayload_Product) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ClientPayload_Product.Descriptor instead. +func (ClientPayload_Product) EnumDescriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 0} +} + +type ClientPayload_ConnectType int32 + +const ( + ClientPayload_CELLULAR_UNKNOWN ClientPayload_ConnectType = 0 + ClientPayload_WIFI_UNKNOWN ClientPayload_ConnectType = 1 + ClientPayload_CELLULAR_EDGE ClientPayload_ConnectType = 100 + ClientPayload_CELLULAR_IDEN ClientPayload_ConnectType = 101 + ClientPayload_CELLULAR_UMTS ClientPayload_ConnectType = 102 + ClientPayload_CELLULAR_EVDO ClientPayload_ConnectType = 103 + ClientPayload_CELLULAR_GPRS ClientPayload_ConnectType = 104 + ClientPayload_CELLULAR_HSDPA ClientPayload_ConnectType = 105 + ClientPayload_CELLULAR_HSUPA ClientPayload_ConnectType = 106 + ClientPayload_CELLULAR_HSPA ClientPayload_ConnectType = 107 + ClientPayload_CELLULAR_CDMA ClientPayload_ConnectType = 108 + ClientPayload_CELLULAR_1XRTT ClientPayload_ConnectType = 109 + ClientPayload_CELLULAR_EHRPD ClientPayload_ConnectType = 110 + ClientPayload_CELLULAR_LTE ClientPayload_ConnectType = 111 + ClientPayload_CELLULAR_HSPAP ClientPayload_ConnectType = 112 +) + +// Enum value maps for ClientPayload_ConnectType. +var ( + ClientPayload_ConnectType_name = map[int32]string{ + 0: "CELLULAR_UNKNOWN", + 1: "WIFI_UNKNOWN", + 100: "CELLULAR_EDGE", + 101: "CELLULAR_IDEN", + 102: "CELLULAR_UMTS", + 103: "CELLULAR_EVDO", + 104: "CELLULAR_GPRS", + 105: "CELLULAR_HSDPA", + 106: "CELLULAR_HSUPA", + 107: "CELLULAR_HSPA", + 108: "CELLULAR_CDMA", + 109: "CELLULAR_1XRTT", + 110: "CELLULAR_EHRPD", + 111: "CELLULAR_LTE", + 112: "CELLULAR_HSPAP", + } + ClientPayload_ConnectType_value = map[string]int32{ + "CELLULAR_UNKNOWN": 0, + "WIFI_UNKNOWN": 1, + "CELLULAR_EDGE": 100, + "CELLULAR_IDEN": 101, + "CELLULAR_UMTS": 102, + "CELLULAR_EVDO": 103, + "CELLULAR_GPRS": 104, + "CELLULAR_HSDPA": 105, + "CELLULAR_HSUPA": 106, + "CELLULAR_HSPA": 107, + "CELLULAR_CDMA": 108, + "CELLULAR_1XRTT": 109, + "CELLULAR_EHRPD": 110, + "CELLULAR_LTE": 111, + "CELLULAR_HSPAP": 112, + } +) + +func (x ClientPayload_ConnectType) Enum() *ClientPayload_ConnectType { + p := new(ClientPayload_ConnectType) + *p = x + return p +} + +func (x ClientPayload_ConnectType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_ConnectType) Descriptor() protoreflect.EnumDescriptor { + return file_waWa5_WAWa5_proto_enumTypes[1].Descriptor() +} + +func (ClientPayload_ConnectType) Type() protoreflect.EnumType { + return &file_waWa5_WAWa5_proto_enumTypes[1] +} + +func (x ClientPayload_ConnectType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ClientPayload_ConnectType.Descriptor instead. +func (ClientPayload_ConnectType) EnumDescriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 1} +} + +type ClientPayload_ConnectReason int32 + +const ( + ClientPayload_PUSH ClientPayload_ConnectReason = 0 + ClientPayload_USER_ACTIVATED ClientPayload_ConnectReason = 1 + ClientPayload_SCHEDULED ClientPayload_ConnectReason = 2 + ClientPayload_ERROR_RECONNECT ClientPayload_ConnectReason = 3 + ClientPayload_NETWORK_SWITCH ClientPayload_ConnectReason = 4 + ClientPayload_PING_RECONNECT ClientPayload_ConnectReason = 5 + ClientPayload_UNKNOWN ClientPayload_ConnectReason = 6 +) + +// Enum value maps for ClientPayload_ConnectReason. +var ( + ClientPayload_ConnectReason_name = map[int32]string{ + 0: "PUSH", + 1: "USER_ACTIVATED", + 2: "SCHEDULED", + 3: "ERROR_RECONNECT", + 4: "NETWORK_SWITCH", + 5: "PING_RECONNECT", + 6: "UNKNOWN", + } + ClientPayload_ConnectReason_value = map[string]int32{ + "PUSH": 0, + "USER_ACTIVATED": 1, + "SCHEDULED": 2, + "ERROR_RECONNECT": 3, + "NETWORK_SWITCH": 4, + "PING_RECONNECT": 5, + "UNKNOWN": 6, + } +) + +func (x ClientPayload_ConnectReason) Enum() *ClientPayload_ConnectReason { + p := new(ClientPayload_ConnectReason) + *p = x + return p +} + +func (x ClientPayload_ConnectReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_ConnectReason) Descriptor() protoreflect.EnumDescriptor { + return file_waWa5_WAWa5_proto_enumTypes[2].Descriptor() +} + +func (ClientPayload_ConnectReason) Type() protoreflect.EnumType { + return &file_waWa5_WAWa5_proto_enumTypes[2] +} + +func (x ClientPayload_ConnectReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ClientPayload_ConnectReason.Descriptor instead. +func (ClientPayload_ConnectReason) EnumDescriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 2} +} + +type ClientPayload_IOSAppExtension int32 + +const ( + ClientPayload_SHARE_EXTENSION ClientPayload_IOSAppExtension = 0 + ClientPayload_SERVICE_EXTENSION ClientPayload_IOSAppExtension = 1 + ClientPayload_INTENTS_EXTENSION ClientPayload_IOSAppExtension = 2 +) + +// Enum value maps for ClientPayload_IOSAppExtension. +var ( + ClientPayload_IOSAppExtension_name = map[int32]string{ + 0: "SHARE_EXTENSION", + 1: "SERVICE_EXTENSION", + 2: "INTENTS_EXTENSION", + } + ClientPayload_IOSAppExtension_value = map[string]int32{ + "SHARE_EXTENSION": 0, + "SERVICE_EXTENSION": 1, + "INTENTS_EXTENSION": 2, + } +) + +func (x ClientPayload_IOSAppExtension) Enum() *ClientPayload_IOSAppExtension { + p := new(ClientPayload_IOSAppExtension) + *p = x + return p +} + +func (x ClientPayload_IOSAppExtension) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_IOSAppExtension) Descriptor() protoreflect.EnumDescriptor { + return file_waWa5_WAWa5_proto_enumTypes[3].Descriptor() +} + +func (ClientPayload_IOSAppExtension) Type() protoreflect.EnumType { + return &file_waWa5_WAWa5_proto_enumTypes[3] +} + +func (x ClientPayload_IOSAppExtension) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ClientPayload_IOSAppExtension.Descriptor instead. +func (ClientPayload_IOSAppExtension) EnumDescriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 3} +} + +type ClientPayload_DNSSource_DNSResolutionMethod int32 + +const ( + ClientPayload_DNSSource_SYSTEM ClientPayload_DNSSource_DNSResolutionMethod = 0 + ClientPayload_DNSSource_GOOGLE ClientPayload_DNSSource_DNSResolutionMethod = 1 + ClientPayload_DNSSource_HARDCODED ClientPayload_DNSSource_DNSResolutionMethod = 2 + ClientPayload_DNSSource_OVERRIDE ClientPayload_DNSSource_DNSResolutionMethod = 3 + ClientPayload_DNSSource_FALLBACK ClientPayload_DNSSource_DNSResolutionMethod = 4 +) + +// Enum value maps for ClientPayload_DNSSource_DNSResolutionMethod. +var ( + ClientPayload_DNSSource_DNSResolutionMethod_name = map[int32]string{ + 0: "SYSTEM", + 1: "GOOGLE", + 2: "HARDCODED", + 3: "OVERRIDE", + 4: "FALLBACK", + } + ClientPayload_DNSSource_DNSResolutionMethod_value = map[string]int32{ + "SYSTEM": 0, + "GOOGLE": 1, + "HARDCODED": 2, + "OVERRIDE": 3, + "FALLBACK": 4, + } +) + +func (x ClientPayload_DNSSource_DNSResolutionMethod) Enum() *ClientPayload_DNSSource_DNSResolutionMethod { + p := new(ClientPayload_DNSSource_DNSResolutionMethod) + *p = x + return p +} + +func (x ClientPayload_DNSSource_DNSResolutionMethod) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_DNSSource_DNSResolutionMethod) Descriptor() protoreflect.EnumDescriptor { + return file_waWa5_WAWa5_proto_enumTypes[4].Descriptor() +} + +func (ClientPayload_DNSSource_DNSResolutionMethod) Type() protoreflect.EnumType { + return &file_waWa5_WAWa5_proto_enumTypes[4] +} + +func (x ClientPayload_DNSSource_DNSResolutionMethod) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ClientPayload_DNSSource_DNSResolutionMethod.Descriptor instead. +func (ClientPayload_DNSSource_DNSResolutionMethod) EnumDescriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 0, 0} +} + +type ClientPayload_WebInfo_WebSubPlatform int32 + +const ( + ClientPayload_WebInfo_WEB_BROWSER ClientPayload_WebInfo_WebSubPlatform = 0 + ClientPayload_WebInfo_APP_STORE ClientPayload_WebInfo_WebSubPlatform = 1 + ClientPayload_WebInfo_WIN_STORE ClientPayload_WebInfo_WebSubPlatform = 2 + ClientPayload_WebInfo_DARWIN ClientPayload_WebInfo_WebSubPlatform = 3 + ClientPayload_WebInfo_WIN32 ClientPayload_WebInfo_WebSubPlatform = 4 +) + +// Enum value maps for ClientPayload_WebInfo_WebSubPlatform. +var ( + ClientPayload_WebInfo_WebSubPlatform_name = map[int32]string{ + 0: "WEB_BROWSER", + 1: "APP_STORE", + 2: "WIN_STORE", + 3: "DARWIN", + 4: "WIN32", + } + ClientPayload_WebInfo_WebSubPlatform_value = map[string]int32{ + "WEB_BROWSER": 0, + "APP_STORE": 1, + "WIN_STORE": 2, + "DARWIN": 3, + "WIN32": 4, + } +) + +func (x ClientPayload_WebInfo_WebSubPlatform) Enum() *ClientPayload_WebInfo_WebSubPlatform { + p := new(ClientPayload_WebInfo_WebSubPlatform) + *p = x + return p +} + +func (x ClientPayload_WebInfo_WebSubPlatform) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_WebInfo_WebSubPlatform) Descriptor() protoreflect.EnumDescriptor { + return file_waWa5_WAWa5_proto_enumTypes[5].Descriptor() +} + +func (ClientPayload_WebInfo_WebSubPlatform) Type() protoreflect.EnumType { + return &file_waWa5_WAWa5_proto_enumTypes[5] +} + +func (x ClientPayload_WebInfo_WebSubPlatform) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ClientPayload_WebInfo_WebSubPlatform.Descriptor instead. +func (ClientPayload_WebInfo_WebSubPlatform) EnumDescriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 1, 0} +} + +type ClientPayload_UserAgent_DeviceType int32 + +const ( + ClientPayload_UserAgent_PHONE ClientPayload_UserAgent_DeviceType = 0 + ClientPayload_UserAgent_TABLET ClientPayload_UserAgent_DeviceType = 1 + ClientPayload_UserAgent_DESKTOP ClientPayload_UserAgent_DeviceType = 2 + ClientPayload_UserAgent_WEARABLE ClientPayload_UserAgent_DeviceType = 3 + ClientPayload_UserAgent_VR ClientPayload_UserAgent_DeviceType = 4 +) + +// Enum value maps for ClientPayload_UserAgent_DeviceType. +var ( + ClientPayload_UserAgent_DeviceType_name = map[int32]string{ + 0: "PHONE", + 1: "TABLET", + 2: "DESKTOP", + 3: "WEARABLE", + 4: "VR", + } + ClientPayload_UserAgent_DeviceType_value = map[string]int32{ + "PHONE": 0, + "TABLET": 1, + "DESKTOP": 2, + "WEARABLE": 3, + "VR": 4, + } +) + +func (x ClientPayload_UserAgent_DeviceType) Enum() *ClientPayload_UserAgent_DeviceType { + p := new(ClientPayload_UserAgent_DeviceType) + *p = x + return p +} + +func (x ClientPayload_UserAgent_DeviceType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_UserAgent_DeviceType) Descriptor() protoreflect.EnumDescriptor { + return file_waWa5_WAWa5_proto_enumTypes[6].Descriptor() +} + +func (ClientPayload_UserAgent_DeviceType) Type() protoreflect.EnumType { + return &file_waWa5_WAWa5_proto_enumTypes[6] +} + +func (x ClientPayload_UserAgent_DeviceType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ClientPayload_UserAgent_DeviceType.Descriptor instead. +func (ClientPayload_UserAgent_DeviceType) EnumDescriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 2, 0} +} + +type ClientPayload_UserAgent_ReleaseChannel int32 + +const ( + ClientPayload_UserAgent_RELEASE ClientPayload_UserAgent_ReleaseChannel = 0 + ClientPayload_UserAgent_BETA ClientPayload_UserAgent_ReleaseChannel = 1 + ClientPayload_UserAgent_ALPHA ClientPayload_UserAgent_ReleaseChannel = 2 + ClientPayload_UserAgent_DEBUG ClientPayload_UserAgent_ReleaseChannel = 3 +) + +// Enum value maps for ClientPayload_UserAgent_ReleaseChannel. +var ( + ClientPayload_UserAgent_ReleaseChannel_name = map[int32]string{ + 0: "RELEASE", + 1: "BETA", + 2: "ALPHA", + 3: "DEBUG", + } + ClientPayload_UserAgent_ReleaseChannel_value = map[string]int32{ + "RELEASE": 0, + "BETA": 1, + "ALPHA": 2, + "DEBUG": 3, + } +) + +func (x ClientPayload_UserAgent_ReleaseChannel) Enum() *ClientPayload_UserAgent_ReleaseChannel { + p := new(ClientPayload_UserAgent_ReleaseChannel) + *p = x + return p +} + +func (x ClientPayload_UserAgent_ReleaseChannel) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_UserAgent_ReleaseChannel) Descriptor() protoreflect.EnumDescriptor { + return file_waWa5_WAWa5_proto_enumTypes[7].Descriptor() +} + +func (ClientPayload_UserAgent_ReleaseChannel) Type() protoreflect.EnumType { + return &file_waWa5_WAWa5_proto_enumTypes[7] +} + +func (x ClientPayload_UserAgent_ReleaseChannel) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ClientPayload_UserAgent_ReleaseChannel.Descriptor instead. +func (ClientPayload_UserAgent_ReleaseChannel) EnumDescriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 2, 1} +} + +type ClientPayload_UserAgent_Platform int32 + +const ( + ClientPayload_UserAgent_ANDROID ClientPayload_UserAgent_Platform = 0 + ClientPayload_UserAgent_IOS ClientPayload_UserAgent_Platform = 1 + ClientPayload_UserAgent_WINDOWS_PHONE ClientPayload_UserAgent_Platform = 2 + ClientPayload_UserAgent_BLACKBERRY ClientPayload_UserAgent_Platform = 3 + ClientPayload_UserAgent_BLACKBERRYX ClientPayload_UserAgent_Platform = 4 + ClientPayload_UserAgent_S40 ClientPayload_UserAgent_Platform = 5 + ClientPayload_UserAgent_S60 ClientPayload_UserAgent_Platform = 6 + ClientPayload_UserAgent_PYTHON_CLIENT ClientPayload_UserAgent_Platform = 7 + ClientPayload_UserAgent_TIZEN ClientPayload_UserAgent_Platform = 8 + ClientPayload_UserAgent_ENTERPRISE ClientPayload_UserAgent_Platform = 9 + ClientPayload_UserAgent_SMB_ANDROID ClientPayload_UserAgent_Platform = 10 + ClientPayload_UserAgent_KAIOS ClientPayload_UserAgent_Platform = 11 + ClientPayload_UserAgent_SMB_IOS ClientPayload_UserAgent_Platform = 12 + ClientPayload_UserAgent_WINDOWS ClientPayload_UserAgent_Platform = 13 + ClientPayload_UserAgent_WEB ClientPayload_UserAgent_Platform = 14 + ClientPayload_UserAgent_PORTAL ClientPayload_UserAgent_Platform = 15 + ClientPayload_UserAgent_GREEN_ANDROID ClientPayload_UserAgent_Platform = 16 + ClientPayload_UserAgent_GREEN_IPHONE ClientPayload_UserAgent_Platform = 17 + ClientPayload_UserAgent_BLUE_ANDROID ClientPayload_UserAgent_Platform = 18 + ClientPayload_UserAgent_BLUE_IPHONE ClientPayload_UserAgent_Platform = 19 + ClientPayload_UserAgent_FBLITE_ANDROID ClientPayload_UserAgent_Platform = 20 + ClientPayload_UserAgent_MLITE_ANDROID ClientPayload_UserAgent_Platform = 21 + ClientPayload_UserAgent_IGLITE_ANDROID ClientPayload_UserAgent_Platform = 22 + ClientPayload_UserAgent_PAGE ClientPayload_UserAgent_Platform = 23 + ClientPayload_UserAgent_MACOS ClientPayload_UserAgent_Platform = 24 + ClientPayload_UserAgent_OCULUS_MSG ClientPayload_UserAgent_Platform = 25 + ClientPayload_UserAgent_OCULUS_CALL ClientPayload_UserAgent_Platform = 26 + ClientPayload_UserAgent_MILAN ClientPayload_UserAgent_Platform = 27 + ClientPayload_UserAgent_CAPI ClientPayload_UserAgent_Platform = 28 + ClientPayload_UserAgent_WEAROS ClientPayload_UserAgent_Platform = 29 + ClientPayload_UserAgent_ARDEVICE ClientPayload_UserAgent_Platform = 30 + ClientPayload_UserAgent_VRDEVICE ClientPayload_UserAgent_Platform = 31 + ClientPayload_UserAgent_BLUE_WEB ClientPayload_UserAgent_Platform = 32 + ClientPayload_UserAgent_IPAD ClientPayload_UserAgent_Platform = 33 + ClientPayload_UserAgent_TEST ClientPayload_UserAgent_Platform = 34 + ClientPayload_UserAgent_SMART_GLASSES ClientPayload_UserAgent_Platform = 35 +) + +// Enum value maps for ClientPayload_UserAgent_Platform. +var ( + ClientPayload_UserAgent_Platform_name = map[int32]string{ + 0: "ANDROID", + 1: "IOS", + 2: "WINDOWS_PHONE", + 3: "BLACKBERRY", + 4: "BLACKBERRYX", + 5: "S40", + 6: "S60", + 7: "PYTHON_CLIENT", + 8: "TIZEN", + 9: "ENTERPRISE", + 10: "SMB_ANDROID", + 11: "KAIOS", + 12: "SMB_IOS", + 13: "WINDOWS", + 14: "WEB", + 15: "PORTAL", + 16: "GREEN_ANDROID", + 17: "GREEN_IPHONE", + 18: "BLUE_ANDROID", + 19: "BLUE_IPHONE", + 20: "FBLITE_ANDROID", + 21: "MLITE_ANDROID", + 22: "IGLITE_ANDROID", + 23: "PAGE", + 24: "MACOS", + 25: "OCULUS_MSG", + 26: "OCULUS_CALL", + 27: "MILAN", + 28: "CAPI", + 29: "WEAROS", + 30: "ARDEVICE", + 31: "VRDEVICE", + 32: "BLUE_WEB", + 33: "IPAD", + 34: "TEST", + 35: "SMART_GLASSES", + } + ClientPayload_UserAgent_Platform_value = map[string]int32{ + "ANDROID": 0, + "IOS": 1, + "WINDOWS_PHONE": 2, + "BLACKBERRY": 3, + "BLACKBERRYX": 4, + "S40": 5, + "S60": 6, + "PYTHON_CLIENT": 7, + "TIZEN": 8, + "ENTERPRISE": 9, + "SMB_ANDROID": 10, + "KAIOS": 11, + "SMB_IOS": 12, + "WINDOWS": 13, + "WEB": 14, + "PORTAL": 15, + "GREEN_ANDROID": 16, + "GREEN_IPHONE": 17, + "BLUE_ANDROID": 18, + "BLUE_IPHONE": 19, + "FBLITE_ANDROID": 20, + "MLITE_ANDROID": 21, + "IGLITE_ANDROID": 22, + "PAGE": 23, + "MACOS": 24, + "OCULUS_MSG": 25, + "OCULUS_CALL": 26, + "MILAN": 27, + "CAPI": 28, + "WEAROS": 29, + "ARDEVICE": 30, + "VRDEVICE": 31, + "BLUE_WEB": 32, + "IPAD": 33, + "TEST": 34, + "SMART_GLASSES": 35, + } +) + +func (x ClientPayload_UserAgent_Platform) Enum() *ClientPayload_UserAgent_Platform { + p := new(ClientPayload_UserAgent_Platform) + *p = x + return p +} + +func (x ClientPayload_UserAgent_Platform) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ClientPayload_UserAgent_Platform) Descriptor() protoreflect.EnumDescriptor { + return file_waWa5_WAWa5_proto_enumTypes[8].Descriptor() +} + +func (ClientPayload_UserAgent_Platform) Type() protoreflect.EnumType { + return &file_waWa5_WAWa5_proto_enumTypes[8] +} + +func (x ClientPayload_UserAgent_Platform) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ClientPayload_UserAgent_Platform.Descriptor instead. +func (ClientPayload_UserAgent_Platform) EnumDescriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 2, 2} +} + +type ClientPayload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Username uint64 `protobuf:"varint,1,opt,name=username,proto3" json:"username,omitempty"` + Passive bool `protobuf:"varint,3,opt,name=passive,proto3" json:"passive,omitempty"` + UserAgent *ClientPayload_UserAgent `protobuf:"bytes,5,opt,name=userAgent,proto3" json:"userAgent,omitempty"` + WebInfo *ClientPayload_WebInfo `protobuf:"bytes,6,opt,name=webInfo,proto3" json:"webInfo,omitempty"` + PushName string `protobuf:"bytes,7,opt,name=pushName,proto3" json:"pushName,omitempty"` + SessionID int32 `protobuf:"fixed32,9,opt,name=sessionID,proto3" json:"sessionID,omitempty"` + ShortConnect bool `protobuf:"varint,10,opt,name=shortConnect,proto3" json:"shortConnect,omitempty"` + ConnectType ClientPayload_ConnectType `protobuf:"varint,12,opt,name=connectType,proto3,enum=WAWa5.ClientPayload_ConnectType" json:"connectType,omitempty"` + ConnectReason ClientPayload_ConnectReason `protobuf:"varint,13,opt,name=connectReason,proto3,enum=WAWa5.ClientPayload_ConnectReason" json:"connectReason,omitempty"` + Shards []int32 `protobuf:"varint,14,rep,packed,name=shards,proto3" json:"shards,omitempty"` + DnsSource *ClientPayload_DNSSource `protobuf:"bytes,15,opt,name=dnsSource,proto3" json:"dnsSource,omitempty"` + ConnectAttemptCount uint32 `protobuf:"varint,16,opt,name=connectAttemptCount,proto3" json:"connectAttemptCount,omitempty"` + Device uint32 `protobuf:"varint,18,opt,name=device,proto3" json:"device,omitempty"` + DevicePairingData *ClientPayload_DevicePairingRegistrationData `protobuf:"bytes,19,opt,name=devicePairingData,proto3" json:"devicePairingData,omitempty"` + Product ClientPayload_Product `protobuf:"varint,20,opt,name=product,proto3,enum=WAWa5.ClientPayload_Product" json:"product,omitempty"` + FbCat []byte `protobuf:"bytes,21,opt,name=fbCat,proto3" json:"fbCat,omitempty"` + FbUserAgent []byte `protobuf:"bytes,22,opt,name=fbUserAgent,proto3" json:"fbUserAgent,omitempty"` + Oc bool `protobuf:"varint,23,opt,name=oc,proto3" json:"oc,omitempty"` + Lc int32 `protobuf:"varint,24,opt,name=lc,proto3" json:"lc,omitempty"` + IosAppExtension ClientPayload_IOSAppExtension `protobuf:"varint,30,opt,name=iosAppExtension,proto3,enum=WAWa5.ClientPayload_IOSAppExtension" json:"iosAppExtension,omitempty"` + FbAppID uint64 `protobuf:"varint,31,opt,name=fbAppID,proto3" json:"fbAppID,omitempty"` + FbDeviceID []byte `protobuf:"bytes,32,opt,name=fbDeviceID,proto3" json:"fbDeviceID,omitempty"` + Pull bool `protobuf:"varint,33,opt,name=pull,proto3" json:"pull,omitempty"` + PaddingBytes []byte `protobuf:"bytes,34,opt,name=paddingBytes,proto3" json:"paddingBytes,omitempty"` + YearClass int32 `protobuf:"varint,36,opt,name=yearClass,proto3" json:"yearClass,omitempty"` + MemClass int32 `protobuf:"varint,37,opt,name=memClass,proto3" json:"memClass,omitempty"` +} + +func (x *ClientPayload) Reset() { + *x = ClientPayload{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa5_WAWa5_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload) ProtoMessage() {} + +func (x *ClientPayload) ProtoReflect() protoreflect.Message { + mi := &file_waWa5_WAWa5_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload.ProtoReflect.Descriptor instead. +func (*ClientPayload) Descriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0} +} + +func (x *ClientPayload) GetUsername() uint64 { + if x != nil { + return x.Username + } + return 0 +} + +func (x *ClientPayload) GetPassive() bool { + if x != nil { + return x.Passive + } + return false +} + +func (x *ClientPayload) GetUserAgent() *ClientPayload_UserAgent { + if x != nil { + return x.UserAgent + } + return nil +} + +func (x *ClientPayload) GetWebInfo() *ClientPayload_WebInfo { + if x != nil { + return x.WebInfo + } + return nil +} + +func (x *ClientPayload) GetPushName() string { + if x != nil { + return x.PushName + } + return "" +} + +func (x *ClientPayload) GetSessionID() int32 { + if x != nil { + return x.SessionID + } + return 0 +} + +func (x *ClientPayload) GetShortConnect() bool { + if x != nil { + return x.ShortConnect + } + return false +} + +func (x *ClientPayload) GetConnectType() ClientPayload_ConnectType { + if x != nil { + return x.ConnectType + } + return ClientPayload_CELLULAR_UNKNOWN +} + +func (x *ClientPayload) GetConnectReason() ClientPayload_ConnectReason { + if x != nil { + return x.ConnectReason + } + return ClientPayload_PUSH +} + +func (x *ClientPayload) GetShards() []int32 { + if x != nil { + return x.Shards + } + return nil +} + +func (x *ClientPayload) GetDnsSource() *ClientPayload_DNSSource { + if x != nil { + return x.DnsSource + } + return nil +} + +func (x *ClientPayload) GetConnectAttemptCount() uint32 { + if x != nil { + return x.ConnectAttemptCount + } + return 0 +} + +func (x *ClientPayload) GetDevice() uint32 { + if x != nil { + return x.Device + } + return 0 +} + +func (x *ClientPayload) GetDevicePairingData() *ClientPayload_DevicePairingRegistrationData { + if x != nil { + return x.DevicePairingData + } + return nil +} + +func (x *ClientPayload) GetProduct() ClientPayload_Product { + if x != nil { + return x.Product + } + return ClientPayload_WHATSAPP +} + +func (x *ClientPayload) GetFbCat() []byte { + if x != nil { + return x.FbCat + } + return nil +} + +func (x *ClientPayload) GetFbUserAgent() []byte { + if x != nil { + return x.FbUserAgent + } + return nil +} + +func (x *ClientPayload) GetOc() bool { + if x != nil { + return x.Oc + } + return false +} + +func (x *ClientPayload) GetLc() int32 { + if x != nil { + return x.Lc + } + return 0 +} + +func (x *ClientPayload) GetIosAppExtension() ClientPayload_IOSAppExtension { + if x != nil { + return x.IosAppExtension + } + return ClientPayload_SHARE_EXTENSION +} + +func (x *ClientPayload) GetFbAppID() uint64 { + if x != nil { + return x.FbAppID + } + return 0 +} + +func (x *ClientPayload) GetFbDeviceID() []byte { + if x != nil { + return x.FbDeviceID + } + return nil +} + +func (x *ClientPayload) GetPull() bool { + if x != nil { + return x.Pull + } + return false +} + +func (x *ClientPayload) GetPaddingBytes() []byte { + if x != nil { + return x.PaddingBytes + } + return nil +} + +func (x *ClientPayload) GetYearClass() int32 { + if x != nil { + return x.YearClass + } + return 0 +} + +func (x *ClientPayload) GetMemClass() int32 { + if x != nil { + return x.MemClass + } + return 0 +} + +type HandshakeMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClientHello *HandshakeMessage_ClientHello `protobuf:"bytes,2,opt,name=clientHello,proto3" json:"clientHello,omitempty"` + ServerHello *HandshakeMessage_ServerHello `protobuf:"bytes,3,opt,name=serverHello,proto3" json:"serverHello,omitempty"` + ClientFinish *HandshakeMessage_ClientFinish `protobuf:"bytes,4,opt,name=clientFinish,proto3" json:"clientFinish,omitempty"` +} + +func (x *HandshakeMessage) Reset() { + *x = HandshakeMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa5_WAWa5_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HandshakeMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HandshakeMessage) ProtoMessage() {} + +func (x *HandshakeMessage) ProtoReflect() protoreflect.Message { + mi := &file_waWa5_WAWa5_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HandshakeMessage.ProtoReflect.Descriptor instead. +func (*HandshakeMessage) Descriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{1} +} + +func (x *HandshakeMessage) GetClientHello() *HandshakeMessage_ClientHello { + if x != nil { + return x.ClientHello + } + return nil +} + +func (x *HandshakeMessage) GetServerHello() *HandshakeMessage_ServerHello { + if x != nil { + return x.ServerHello + } + return nil +} + +func (x *HandshakeMessage) GetClientFinish() *HandshakeMessage_ClientFinish { + if x != nil { + return x.ClientFinish + } + return nil +} + +type ClientPayload_DNSSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DnsMethod ClientPayload_DNSSource_DNSResolutionMethod `protobuf:"varint,15,opt,name=dnsMethod,proto3,enum=WAWa5.ClientPayload_DNSSource_DNSResolutionMethod" json:"dnsMethod,omitempty"` + AppCached bool `protobuf:"varint,16,opt,name=appCached,proto3" json:"appCached,omitempty"` +} + +func (x *ClientPayload_DNSSource) Reset() { + *x = ClientPayload_DNSSource{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa5_WAWa5_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload_DNSSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload_DNSSource) ProtoMessage() {} + +func (x *ClientPayload_DNSSource) ProtoReflect() protoreflect.Message { + mi := &file_waWa5_WAWa5_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload_DNSSource.ProtoReflect.Descriptor instead. +func (*ClientPayload_DNSSource) Descriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *ClientPayload_DNSSource) GetDnsMethod() ClientPayload_DNSSource_DNSResolutionMethod { + if x != nil { + return x.DnsMethod + } + return ClientPayload_DNSSource_SYSTEM +} + +func (x *ClientPayload_DNSSource) GetAppCached() bool { + if x != nil { + return x.AppCached + } + return false +} + +type ClientPayload_WebInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RefToken string `protobuf:"bytes,1,opt,name=refToken,proto3" json:"refToken,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + WebdPayload *ClientPayload_WebInfo_WebdPayload `protobuf:"bytes,3,opt,name=webdPayload,proto3" json:"webdPayload,omitempty"` + WebSubPlatform ClientPayload_WebInfo_WebSubPlatform `protobuf:"varint,4,opt,name=webSubPlatform,proto3,enum=WAWa5.ClientPayload_WebInfo_WebSubPlatform" json:"webSubPlatform,omitempty"` +} + +func (x *ClientPayload_WebInfo) Reset() { + *x = ClientPayload_WebInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa5_WAWa5_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload_WebInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload_WebInfo) ProtoMessage() {} + +func (x *ClientPayload_WebInfo) ProtoReflect() protoreflect.Message { + mi := &file_waWa5_WAWa5_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload_WebInfo.ProtoReflect.Descriptor instead. +func (*ClientPayload_WebInfo) Descriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *ClientPayload_WebInfo) GetRefToken() string { + if x != nil { + return x.RefToken + } + return "" +} + +func (x *ClientPayload_WebInfo) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +func (x *ClientPayload_WebInfo) GetWebdPayload() *ClientPayload_WebInfo_WebdPayload { + if x != nil { + return x.WebdPayload + } + return nil +} + +func (x *ClientPayload_WebInfo) GetWebSubPlatform() ClientPayload_WebInfo_WebSubPlatform { + if x != nil { + return x.WebSubPlatform + } + return ClientPayload_WebInfo_WEB_BROWSER +} + +type ClientPayload_UserAgent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Platform ClientPayload_UserAgent_Platform `protobuf:"varint,1,opt,name=platform,proto3,enum=WAWa5.ClientPayload_UserAgent_Platform" json:"platform,omitempty"` + AppVersion *ClientPayload_UserAgent_AppVersion `protobuf:"bytes,2,opt,name=appVersion,proto3" json:"appVersion,omitempty"` + Mcc string `protobuf:"bytes,3,opt,name=mcc,proto3" json:"mcc,omitempty"` + Mnc string `protobuf:"bytes,4,opt,name=mnc,proto3" json:"mnc,omitempty"` + OsVersion string `protobuf:"bytes,5,opt,name=osVersion,proto3" json:"osVersion,omitempty"` + Manufacturer string `protobuf:"bytes,6,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"` + Device string `protobuf:"bytes,7,opt,name=device,proto3" json:"device,omitempty"` + OsBuildNumber string `protobuf:"bytes,8,opt,name=osBuildNumber,proto3" json:"osBuildNumber,omitempty"` + PhoneID string `protobuf:"bytes,9,opt,name=phoneID,proto3" json:"phoneID,omitempty"` + ReleaseChannel ClientPayload_UserAgent_ReleaseChannel `protobuf:"varint,10,opt,name=releaseChannel,proto3,enum=WAWa5.ClientPayload_UserAgent_ReleaseChannel" json:"releaseChannel,omitempty"` + LocaleLanguageIso6391 string `protobuf:"bytes,11,opt,name=localeLanguageIso6391,proto3" json:"localeLanguageIso6391,omitempty"` + LocaleCountryIso31661Alpha2 string `protobuf:"bytes,12,opt,name=localeCountryIso31661Alpha2,proto3" json:"localeCountryIso31661Alpha2,omitempty"` + DeviceBoard string `protobuf:"bytes,13,opt,name=deviceBoard,proto3" json:"deviceBoard,omitempty"` + DeviceExpID string `protobuf:"bytes,14,opt,name=deviceExpID,proto3" json:"deviceExpID,omitempty"` + DeviceType ClientPayload_UserAgent_DeviceType `protobuf:"varint,15,opt,name=deviceType,proto3,enum=WAWa5.ClientPayload_UserAgent_DeviceType" json:"deviceType,omitempty"` +} + +func (x *ClientPayload_UserAgent) Reset() { + *x = ClientPayload_UserAgent{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa5_WAWa5_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload_UserAgent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload_UserAgent) ProtoMessage() {} + +func (x *ClientPayload_UserAgent) ProtoReflect() protoreflect.Message { + mi := &file_waWa5_WAWa5_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload_UserAgent.ProtoReflect.Descriptor instead. +func (*ClientPayload_UserAgent) Descriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 2} +} + +func (x *ClientPayload_UserAgent) GetPlatform() ClientPayload_UserAgent_Platform { + if x != nil { + return x.Platform + } + return ClientPayload_UserAgent_ANDROID +} + +func (x *ClientPayload_UserAgent) GetAppVersion() *ClientPayload_UserAgent_AppVersion { + if x != nil { + return x.AppVersion + } + return nil +} + +func (x *ClientPayload_UserAgent) GetMcc() string { + if x != nil { + return x.Mcc + } + return "" +} + +func (x *ClientPayload_UserAgent) GetMnc() string { + if x != nil { + return x.Mnc + } + return "" +} + +func (x *ClientPayload_UserAgent) GetOsVersion() string { + if x != nil { + return x.OsVersion + } + return "" +} + +func (x *ClientPayload_UserAgent) GetManufacturer() string { + if x != nil { + return x.Manufacturer + } + return "" +} + +func (x *ClientPayload_UserAgent) GetDevice() string { + if x != nil { + return x.Device + } + return "" +} + +func (x *ClientPayload_UserAgent) GetOsBuildNumber() string { + if x != nil { + return x.OsBuildNumber + } + return "" +} + +func (x *ClientPayload_UserAgent) GetPhoneID() string { + if x != nil { + return x.PhoneID + } + return "" +} + +func (x *ClientPayload_UserAgent) GetReleaseChannel() ClientPayload_UserAgent_ReleaseChannel { + if x != nil { + return x.ReleaseChannel + } + return ClientPayload_UserAgent_RELEASE +} + +func (x *ClientPayload_UserAgent) GetLocaleLanguageIso6391() string { + if x != nil { + return x.LocaleLanguageIso6391 + } + return "" +} + +func (x *ClientPayload_UserAgent) GetLocaleCountryIso31661Alpha2() string { + if x != nil { + return x.LocaleCountryIso31661Alpha2 + } + return "" +} + +func (x *ClientPayload_UserAgent) GetDeviceBoard() string { + if x != nil { + return x.DeviceBoard + } + return "" +} + +func (x *ClientPayload_UserAgent) GetDeviceExpID() string { + if x != nil { + return x.DeviceExpID + } + return "" +} + +func (x *ClientPayload_UserAgent) GetDeviceType() ClientPayload_UserAgent_DeviceType { + if x != nil { + return x.DeviceType + } + return ClientPayload_UserAgent_PHONE +} + +type ClientPayload_DevicePairingRegistrationData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ERegid []byte `protobuf:"bytes,1,opt,name=eRegid,proto3" json:"eRegid,omitempty"` + EKeytype []byte `protobuf:"bytes,2,opt,name=eKeytype,proto3" json:"eKeytype,omitempty"` + EIdent []byte `protobuf:"bytes,3,opt,name=eIdent,proto3" json:"eIdent,omitempty"` + ESkeyID []byte `protobuf:"bytes,4,opt,name=eSkeyID,proto3" json:"eSkeyID,omitempty"` + ESkeyVal []byte `protobuf:"bytes,5,opt,name=eSkeyVal,proto3" json:"eSkeyVal,omitempty"` + ESkeySig []byte `protobuf:"bytes,6,opt,name=eSkeySig,proto3" json:"eSkeySig,omitempty"` + BuildHash []byte `protobuf:"bytes,7,opt,name=buildHash,proto3" json:"buildHash,omitempty"` + DeviceProps []byte `protobuf:"bytes,8,opt,name=deviceProps,proto3" json:"deviceProps,omitempty"` +} + +func (x *ClientPayload_DevicePairingRegistrationData) Reset() { + *x = ClientPayload_DevicePairingRegistrationData{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa5_WAWa5_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload_DevicePairingRegistrationData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload_DevicePairingRegistrationData) ProtoMessage() {} + +func (x *ClientPayload_DevicePairingRegistrationData) ProtoReflect() protoreflect.Message { + mi := &file_waWa5_WAWa5_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload_DevicePairingRegistrationData.ProtoReflect.Descriptor instead. +func (*ClientPayload_DevicePairingRegistrationData) Descriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 3} +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetERegid() []byte { + if x != nil { + return x.ERegid + } + return nil +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetEKeytype() []byte { + if x != nil { + return x.EKeytype + } + return nil +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetEIdent() []byte { + if x != nil { + return x.EIdent + } + return nil +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetESkeyID() []byte { + if x != nil { + return x.ESkeyID + } + return nil +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetESkeyVal() []byte { + if x != nil { + return x.ESkeyVal + } + return nil +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetESkeySig() []byte { + if x != nil { + return x.ESkeySig + } + return nil +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetBuildHash() []byte { + if x != nil { + return x.BuildHash + } + return nil +} + +func (x *ClientPayload_DevicePairingRegistrationData) GetDeviceProps() []byte { + if x != nil { + return x.DeviceProps + } + return nil +} + +type ClientPayload_WebInfo_WebdPayload struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UsesParticipantInKey bool `protobuf:"varint,1,opt,name=usesParticipantInKey,proto3" json:"usesParticipantInKey,omitempty"` + SupportsStarredMessages bool `protobuf:"varint,2,opt,name=supportsStarredMessages,proto3" json:"supportsStarredMessages,omitempty"` + SupportsDocumentMessages bool `protobuf:"varint,3,opt,name=supportsDocumentMessages,proto3" json:"supportsDocumentMessages,omitempty"` + SupportsURLMessages bool `protobuf:"varint,4,opt,name=supportsURLMessages,proto3" json:"supportsURLMessages,omitempty"` + SupportsMediaRetry bool `protobuf:"varint,5,opt,name=supportsMediaRetry,proto3" json:"supportsMediaRetry,omitempty"` + SupportsE2EImage bool `protobuf:"varint,6,opt,name=supportsE2EImage,proto3" json:"supportsE2EImage,omitempty"` + SupportsE2EVideo bool `protobuf:"varint,7,opt,name=supportsE2EVideo,proto3" json:"supportsE2EVideo,omitempty"` + SupportsE2EAudio bool `protobuf:"varint,8,opt,name=supportsE2EAudio,proto3" json:"supportsE2EAudio,omitempty"` + SupportsE2EDocument bool `protobuf:"varint,9,opt,name=supportsE2EDocument,proto3" json:"supportsE2EDocument,omitempty"` + DocumentTypes string `protobuf:"bytes,10,opt,name=documentTypes,proto3" json:"documentTypes,omitempty"` + Features []byte `protobuf:"bytes,11,opt,name=features,proto3" json:"features,omitempty"` +} + +func (x *ClientPayload_WebInfo_WebdPayload) Reset() { + *x = ClientPayload_WebInfo_WebdPayload{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa5_WAWa5_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload_WebInfo_WebdPayload) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload_WebInfo_WebdPayload) ProtoMessage() {} + +func (x *ClientPayload_WebInfo_WebdPayload) ProtoReflect() protoreflect.Message { + mi := &file_waWa5_WAWa5_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload_WebInfo_WebdPayload.ProtoReflect.Descriptor instead. +func (*ClientPayload_WebInfo_WebdPayload) Descriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 1, 0} +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetUsesParticipantInKey() bool { + if x != nil { + return x.UsesParticipantInKey + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsStarredMessages() bool { + if x != nil { + return x.SupportsStarredMessages + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsDocumentMessages() bool { + if x != nil { + return x.SupportsDocumentMessages + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsURLMessages() bool { + if x != nil { + return x.SupportsURLMessages + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsMediaRetry() bool { + if x != nil { + return x.SupportsMediaRetry + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EImage() bool { + if x != nil { + return x.SupportsE2EImage + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EVideo() bool { + if x != nil { + return x.SupportsE2EVideo + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EAudio() bool { + if x != nil { + return x.SupportsE2EAudio + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetSupportsE2EDocument() bool { + if x != nil { + return x.SupportsE2EDocument + } + return false +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetDocumentTypes() string { + if x != nil { + return x.DocumentTypes + } + return "" +} + +func (x *ClientPayload_WebInfo_WebdPayload) GetFeatures() []byte { + if x != nil { + return x.Features + } + return nil +} + +type ClientPayload_UserAgent_AppVersion struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Primary uint32 `protobuf:"varint,1,opt,name=primary,proto3" json:"primary,omitempty"` + Secondary uint32 `protobuf:"varint,2,opt,name=secondary,proto3" json:"secondary,omitempty"` + Tertiary uint32 `protobuf:"varint,3,opt,name=tertiary,proto3" json:"tertiary,omitempty"` + Quaternary uint32 `protobuf:"varint,4,opt,name=quaternary,proto3" json:"quaternary,omitempty"` + Quinary uint32 `protobuf:"varint,5,opt,name=quinary,proto3" json:"quinary,omitempty"` +} + +func (x *ClientPayload_UserAgent_AppVersion) Reset() { + *x = ClientPayload_UserAgent_AppVersion{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa5_WAWa5_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientPayload_UserAgent_AppVersion) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientPayload_UserAgent_AppVersion) ProtoMessage() {} + +func (x *ClientPayload_UserAgent_AppVersion) ProtoReflect() protoreflect.Message { + mi := &file_waWa5_WAWa5_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientPayload_UserAgent_AppVersion.ProtoReflect.Descriptor instead. +func (*ClientPayload_UserAgent_AppVersion) Descriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{0, 2, 0} +} + +func (x *ClientPayload_UserAgent_AppVersion) GetPrimary() uint32 { + if x != nil { + return x.Primary + } + return 0 +} + +func (x *ClientPayload_UserAgent_AppVersion) GetSecondary() uint32 { + if x != nil { + return x.Secondary + } + return 0 +} + +func (x *ClientPayload_UserAgent_AppVersion) GetTertiary() uint32 { + if x != nil { + return x.Tertiary + } + return 0 +} + +func (x *ClientPayload_UserAgent_AppVersion) GetQuaternary() uint32 { + if x != nil { + return x.Quaternary + } + return 0 +} + +func (x *ClientPayload_UserAgent_AppVersion) GetQuinary() uint32 { + if x != nil { + return x.Quinary + } + return 0 +} + +type HandshakeMessage_ClientFinish struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Static []byte `protobuf:"bytes,1,opt,name=static,proto3" json:"static,omitempty"` + Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` +} + +func (x *HandshakeMessage_ClientFinish) Reset() { + *x = HandshakeMessage_ClientFinish{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa5_WAWa5_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HandshakeMessage_ClientFinish) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HandshakeMessage_ClientFinish) ProtoMessage() {} + +func (x *HandshakeMessage_ClientFinish) ProtoReflect() protoreflect.Message { + mi := &file_waWa5_WAWa5_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HandshakeMessage_ClientFinish.ProtoReflect.Descriptor instead. +func (*HandshakeMessage_ClientFinish) Descriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *HandshakeMessage_ClientFinish) GetStatic() []byte { + if x != nil { + return x.Static + } + return nil +} + +func (x *HandshakeMessage_ClientFinish) GetPayload() []byte { + if x != nil { + return x.Payload + } + return nil +} + +type HandshakeMessage_ServerHello struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ephemeral []byte `protobuf:"bytes,1,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"` + Static []byte `protobuf:"bytes,2,opt,name=static,proto3" json:"static,omitempty"` + Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` +} + +func (x *HandshakeMessage_ServerHello) Reset() { + *x = HandshakeMessage_ServerHello{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa5_WAWa5_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HandshakeMessage_ServerHello) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HandshakeMessage_ServerHello) ProtoMessage() {} + +func (x *HandshakeMessage_ServerHello) ProtoReflect() protoreflect.Message { + mi := &file_waWa5_WAWa5_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HandshakeMessage_ServerHello.ProtoReflect.Descriptor instead. +func (*HandshakeMessage_ServerHello) Descriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{1, 1} +} + +func (x *HandshakeMessage_ServerHello) GetEphemeral() []byte { + if x != nil { + return x.Ephemeral + } + return nil +} + +func (x *HandshakeMessage_ServerHello) GetStatic() []byte { + if x != nil { + return x.Static + } + return nil +} + +func (x *HandshakeMessage_ServerHello) GetPayload() []byte { + if x != nil { + return x.Payload + } + return nil +} + +type HandshakeMessage_ClientHello struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ephemeral []byte `protobuf:"bytes,1,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"` + Static []byte `protobuf:"bytes,2,opt,name=static,proto3" json:"static,omitempty"` + Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` +} + +func (x *HandshakeMessage_ClientHello) Reset() { + *x = HandshakeMessage_ClientHello{} + if protoimpl.UnsafeEnabled { + mi := &file_waWa5_WAWa5_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HandshakeMessage_ClientHello) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HandshakeMessage_ClientHello) ProtoMessage() {} + +func (x *HandshakeMessage_ClientHello) ProtoReflect() protoreflect.Message { + mi := &file_waWa5_WAWa5_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HandshakeMessage_ClientHello.ProtoReflect.Descriptor instead. +func (*HandshakeMessage_ClientHello) Descriptor() ([]byte, []int) { + return file_waWa5_WAWa5_proto_rawDescGZIP(), []int{1, 2} +} + +func (x *HandshakeMessage_ClientHello) GetEphemeral() []byte { + if x != nil { + return x.Ephemeral + } + return nil +} + +func (x *HandshakeMessage_ClientHello) GetStatic() []byte { + if x != nil { + return x.Static + } + return nil +} + +func (x *HandshakeMessage_ClientHello) GetPayload() []byte { + if x != nil { + return x.Payload + } + return nil +} + +var File_waWa5_WAWa5_proto protoreflect.FileDescriptor + +//go:embed WAWa5.pb.raw +var file_waWa5_WAWa5_proto_rawDesc []byte + +var ( + file_waWa5_WAWa5_proto_rawDescOnce sync.Once + file_waWa5_WAWa5_proto_rawDescData = file_waWa5_WAWa5_proto_rawDesc +) + +func file_waWa5_WAWa5_proto_rawDescGZIP() []byte { + file_waWa5_WAWa5_proto_rawDescOnce.Do(func() { + file_waWa5_WAWa5_proto_rawDescData = protoimpl.X.CompressGZIP(file_waWa5_WAWa5_proto_rawDescData) + }) + return file_waWa5_WAWa5_proto_rawDescData +} + +var file_waWa5_WAWa5_proto_enumTypes = make([]protoimpl.EnumInfo, 9) +var file_waWa5_WAWa5_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_waWa5_WAWa5_proto_goTypes = []interface{}{ + (ClientPayload_Product)(0), // 0: WAWa5.ClientPayload.Product + (ClientPayload_ConnectType)(0), // 1: WAWa5.ClientPayload.ConnectType + (ClientPayload_ConnectReason)(0), // 2: WAWa5.ClientPayload.ConnectReason + (ClientPayload_IOSAppExtension)(0), // 3: WAWa5.ClientPayload.IOSAppExtension + (ClientPayload_DNSSource_DNSResolutionMethod)(0), // 4: WAWa5.ClientPayload.DNSSource.DNSResolutionMethod + (ClientPayload_WebInfo_WebSubPlatform)(0), // 5: WAWa5.ClientPayload.WebInfo.WebSubPlatform + (ClientPayload_UserAgent_DeviceType)(0), // 6: WAWa5.ClientPayload.UserAgent.DeviceType + (ClientPayload_UserAgent_ReleaseChannel)(0), // 7: WAWa5.ClientPayload.UserAgent.ReleaseChannel + (ClientPayload_UserAgent_Platform)(0), // 8: WAWa5.ClientPayload.UserAgent.Platform + (*ClientPayload)(nil), // 9: WAWa5.ClientPayload + (*HandshakeMessage)(nil), // 10: WAWa5.HandshakeMessage + (*ClientPayload_DNSSource)(nil), // 11: WAWa5.ClientPayload.DNSSource + (*ClientPayload_WebInfo)(nil), // 12: WAWa5.ClientPayload.WebInfo + (*ClientPayload_UserAgent)(nil), // 13: WAWa5.ClientPayload.UserAgent + (*ClientPayload_DevicePairingRegistrationData)(nil), // 14: WAWa5.ClientPayload.DevicePairingRegistrationData + (*ClientPayload_WebInfo_WebdPayload)(nil), // 15: WAWa5.ClientPayload.WebInfo.WebdPayload + (*ClientPayload_UserAgent_AppVersion)(nil), // 16: WAWa5.ClientPayload.UserAgent.AppVersion + (*HandshakeMessage_ClientFinish)(nil), // 17: WAWa5.HandshakeMessage.ClientFinish + (*HandshakeMessage_ServerHello)(nil), // 18: WAWa5.HandshakeMessage.ServerHello + (*HandshakeMessage_ClientHello)(nil), // 19: WAWa5.HandshakeMessage.ClientHello +} +var file_waWa5_WAWa5_proto_depIdxs = []int32{ + 13, // 0: WAWa5.ClientPayload.userAgent:type_name -> WAWa5.ClientPayload.UserAgent + 12, // 1: WAWa5.ClientPayload.webInfo:type_name -> WAWa5.ClientPayload.WebInfo + 1, // 2: WAWa5.ClientPayload.connectType:type_name -> WAWa5.ClientPayload.ConnectType + 2, // 3: WAWa5.ClientPayload.connectReason:type_name -> WAWa5.ClientPayload.ConnectReason + 11, // 4: WAWa5.ClientPayload.dnsSource:type_name -> WAWa5.ClientPayload.DNSSource + 14, // 5: WAWa5.ClientPayload.devicePairingData:type_name -> WAWa5.ClientPayload.DevicePairingRegistrationData + 0, // 6: WAWa5.ClientPayload.product:type_name -> WAWa5.ClientPayload.Product + 3, // 7: WAWa5.ClientPayload.iosAppExtension:type_name -> WAWa5.ClientPayload.IOSAppExtension + 19, // 8: WAWa5.HandshakeMessage.clientHello:type_name -> WAWa5.HandshakeMessage.ClientHello + 18, // 9: WAWa5.HandshakeMessage.serverHello:type_name -> WAWa5.HandshakeMessage.ServerHello + 17, // 10: WAWa5.HandshakeMessage.clientFinish:type_name -> WAWa5.HandshakeMessage.ClientFinish + 4, // 11: WAWa5.ClientPayload.DNSSource.dnsMethod:type_name -> WAWa5.ClientPayload.DNSSource.DNSResolutionMethod + 15, // 12: WAWa5.ClientPayload.WebInfo.webdPayload:type_name -> WAWa5.ClientPayload.WebInfo.WebdPayload + 5, // 13: WAWa5.ClientPayload.WebInfo.webSubPlatform:type_name -> WAWa5.ClientPayload.WebInfo.WebSubPlatform + 8, // 14: WAWa5.ClientPayload.UserAgent.platform:type_name -> WAWa5.ClientPayload.UserAgent.Platform + 16, // 15: WAWa5.ClientPayload.UserAgent.appVersion:type_name -> WAWa5.ClientPayload.UserAgent.AppVersion + 7, // 16: WAWa5.ClientPayload.UserAgent.releaseChannel:type_name -> WAWa5.ClientPayload.UserAgent.ReleaseChannel + 6, // 17: WAWa5.ClientPayload.UserAgent.deviceType:type_name -> WAWa5.ClientPayload.UserAgent.DeviceType + 18, // [18:18] is the sub-list for method output_type + 18, // [18:18] is the sub-list for method input_type + 18, // [18:18] is the sub-list for extension type_name + 18, // [18:18] is the sub-list for extension extendee + 0, // [0:18] is the sub-list for field type_name +} + +func init() { file_waWa5_WAWa5_proto_init() } +func file_waWa5_WAWa5_proto_init() { + if File_waWa5_WAWa5_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_waWa5_WAWa5_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa5_WAWa5_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HandshakeMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa5_WAWa5_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_DNSSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa5_WAWa5_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_WebInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa5_WAWa5_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_UserAgent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa5_WAWa5_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_DevicePairingRegistrationData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa5_WAWa5_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_WebInfo_WebdPayload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa5_WAWa5_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_UserAgent_AppVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa5_WAWa5_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HandshakeMessage_ClientFinish); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa5_WAWa5_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HandshakeMessage_ServerHello); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_waWa5_WAWa5_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HandshakeMessage_ClientHello); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_waWa5_WAWa5_proto_rawDesc, + NumEnums: 9, + NumMessages: 11, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_waWa5_WAWa5_proto_goTypes, + DependencyIndexes: file_waWa5_WAWa5_proto_depIdxs, + EnumInfos: file_waWa5_WAWa5_proto_enumTypes, + MessageInfos: file_waWa5_WAWa5_proto_msgTypes, + }.Build() + File_waWa5_WAWa5_proto = out.File + file_waWa5_WAWa5_proto_rawDesc = nil + file_waWa5_WAWa5_proto_goTypes = nil + file_waWa5_WAWa5_proto_depIdxs = nil +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waWa5/WAWa5.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waWa5/WAWa5.pb.raw new file mode 100644 index 00000000..38a8c15a Binary files /dev/null and b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waWa5/WAWa5.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/armadillo/waWa5/WAWa5.proto b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waWa5/WAWa5.proto new file mode 100644 index 00000000..6a959ee1 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/armadillo/waWa5/WAWa5.proto @@ -0,0 +1,227 @@ +syntax = "proto3"; +package WAWa5; +option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waWa5"; + +message ClientPayload { + enum Product { + WHATSAPP = 0; + MESSENGER = 1; + } + + enum ConnectType { + CELLULAR_UNKNOWN = 0; + WIFI_UNKNOWN = 1; + CELLULAR_EDGE = 100; + CELLULAR_IDEN = 101; + CELLULAR_UMTS = 102; + CELLULAR_EVDO = 103; + CELLULAR_GPRS = 104; + CELLULAR_HSDPA = 105; + CELLULAR_HSUPA = 106; + CELLULAR_HSPA = 107; + CELLULAR_CDMA = 108; + CELLULAR_1XRTT = 109; + CELLULAR_EHRPD = 110; + CELLULAR_LTE = 111; + CELLULAR_HSPAP = 112; + } + + enum ConnectReason { + PUSH = 0; + USER_ACTIVATED = 1; + SCHEDULED = 2; + ERROR_RECONNECT = 3; + NETWORK_SWITCH = 4; + PING_RECONNECT = 5; + UNKNOWN = 6; + } + + enum IOSAppExtension { + SHARE_EXTENSION = 0; + SERVICE_EXTENSION = 1; + INTENTS_EXTENSION = 2; + } + + message DNSSource { + enum DNSResolutionMethod { + SYSTEM = 0; + GOOGLE = 1; + HARDCODED = 2; + OVERRIDE = 3; + FALLBACK = 4; + } + + DNSResolutionMethod dnsMethod = 15; + bool appCached = 16; + } + + message WebInfo { + enum WebSubPlatform { + WEB_BROWSER = 0; + APP_STORE = 1; + WIN_STORE = 2; + DARWIN = 3; + WIN32 = 4; + } + + message WebdPayload { + bool usesParticipantInKey = 1; + bool supportsStarredMessages = 2; + bool supportsDocumentMessages = 3; + bool supportsURLMessages = 4; + bool supportsMediaRetry = 5; + bool supportsE2EImage = 6; + bool supportsE2EVideo = 7; + bool supportsE2EAudio = 8; + bool supportsE2EDocument = 9; + string documentTypes = 10; + bytes features = 11; + } + + string refToken = 1; + string version = 2; + WebdPayload webdPayload = 3; + WebSubPlatform webSubPlatform = 4; + } + + message UserAgent { + enum DeviceType { + PHONE = 0; + TABLET = 1; + DESKTOP = 2; + WEARABLE = 3; + VR = 4; + } + + enum ReleaseChannel { + RELEASE = 0; + BETA = 1; + ALPHA = 2; + DEBUG = 3; + } + + enum Platform { + ANDROID = 0; + IOS = 1; + WINDOWS_PHONE = 2; + BLACKBERRY = 3; + BLACKBERRYX = 4; + S40 = 5; + S60 = 6; + PYTHON_CLIENT = 7; + TIZEN = 8; + ENTERPRISE = 9; + SMB_ANDROID = 10; + KAIOS = 11; + SMB_IOS = 12; + WINDOWS = 13; + WEB = 14; + PORTAL = 15; + GREEN_ANDROID = 16; + GREEN_IPHONE = 17; + BLUE_ANDROID = 18; + BLUE_IPHONE = 19; + FBLITE_ANDROID = 20; + MLITE_ANDROID = 21; + IGLITE_ANDROID = 22; + PAGE = 23; + MACOS = 24; + OCULUS_MSG = 25; + OCULUS_CALL = 26; + MILAN = 27; + CAPI = 28; + WEAROS = 29; + ARDEVICE = 30; + VRDEVICE = 31; + BLUE_WEB = 32; + IPAD = 33; + TEST = 34; + SMART_GLASSES = 35; + } + + message AppVersion { + uint32 primary = 1; + uint32 secondary = 2; + uint32 tertiary = 3; + uint32 quaternary = 4; + uint32 quinary = 5; + } + + Platform platform = 1; + AppVersion appVersion = 2; + string mcc = 3; + string mnc = 4; + string osVersion = 5; + string manufacturer = 6; + string device = 7; + string osBuildNumber = 8; + string phoneID = 9; + ReleaseChannel releaseChannel = 10; + string localeLanguageIso6391 = 11; + string localeCountryIso31661Alpha2 = 12; + string deviceBoard = 13; + string deviceExpID = 14; + DeviceType deviceType = 15; + } + + message DevicePairingRegistrationData { + bytes eRegid = 1; + bytes eKeytype = 2; + bytes eIdent = 3; + bytes eSkeyID = 4; + bytes eSkeyVal = 5; + bytes eSkeySig = 6; + bytes buildHash = 7; + bytes deviceProps = 8; + } + + uint64 username = 1; + bool passive = 3; + UserAgent userAgent = 5; + WebInfo webInfo = 6; + string pushName = 7; + sfixed32 sessionID = 9; + bool shortConnect = 10; + ConnectType connectType = 12; + ConnectReason connectReason = 13; + repeated int32 shards = 14; + DNSSource dnsSource = 15; + uint32 connectAttemptCount = 16; + uint32 device = 18; + DevicePairingRegistrationData devicePairingData = 19; + Product product = 20; + bytes fbCat = 21; + bytes fbUserAgent = 22; + bool oc = 23; + int32 lc = 24; + IOSAppExtension iosAppExtension = 30; + uint64 fbAppID = 31; + bytes fbDeviceID = 32; + bool pull = 33; + bytes paddingBytes = 34; + int32 yearClass = 36; + int32 memClass = 37; +} + +message HandshakeMessage { + message ClientFinish { + bytes static = 1; + bytes payload = 2; + } + + message ServerHello { + bytes ephemeral = 1; + bytes static = 2; + bytes payload = 3; + } + + message ClientHello { + bytes ephemeral = 1; + bytes static = 2; + bytes payload = 3; + } + + ClientHello clientHello = 2; + ServerHello serverHello = 3; + ClientFinish clientFinish = 4; +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/attrs.go b/vendor/go.mau.fi/whatsmeow/binary/attrs.go index d7d43f0a..8decb8b5 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/attrs.go +++ b/vendor/go.mau.fi/whatsmeow/binary/attrs.go @@ -123,6 +123,16 @@ func (au *AttrUtility) GetUnixTime(key string, require bool) (time.Time, bool) { } } +func (au *AttrUtility) GetUnixMilli(key string, require bool) (time.Time, bool) { + if intVal, ok := au.GetInt64(key, require); !ok { + return time.Time{}, false + } else if intVal == 0 { + return time.Time{}, true + } else { + return time.UnixMilli(intVal), true + } +} + // OptionalString returns the string under the given key. func (au *AttrUtility) OptionalString(key string) string { strVal, _ := au.GetString(key, false) @@ -176,6 +186,16 @@ func (au *AttrUtility) UnixTime(key string) time.Time { return val } +func (au *AttrUtility) OptionalUnixMilli(key string) time.Time { + val, _ := au.GetUnixMilli(key, false) + return val +} + +func (au *AttrUtility) UnixMilli(key string) time.Time { + val, _ := au.GetUnixMilli(key, true) + return val +} + // OK returns true if there are no errors. func (au *AttrUtility) OK() bool { return len(au.Errors) == 0 diff --git a/vendor/go.mau.fi/whatsmeow/binary/decoder.go b/vendor/go.mau.fi/whatsmeow/binary/decoder.go index f13f9b42..06868a14 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/decoder.go +++ b/vendor/go.mau.fi/whatsmeow/binary/decoder.go @@ -204,6 +204,10 @@ func (r *binaryDecoder) read(string bool) (interface{}, error) { } return token.GetDoubleToken(tag-token.Dictionary0, i) + case token.FBJID: + return r.readFBJID() + case token.InteropJID: + return r.readInteropJID() case token.JIDPair: return r.readJIDPair() case token.ADJID: @@ -234,6 +238,55 @@ func (r *binaryDecoder) readJIDPair() (interface{}, error) { return types.NewJID(user.(string), server.(string)), nil } +func (r *binaryDecoder) readInteropJID() (interface{}, error) { + user, err := r.read(true) + if err != nil { + return nil, err + } + device, err := r.readInt16(false) + if err != nil { + return nil, err + } + integrator, err := r.readInt16(false) + if err != nil { + return nil, err + } + server, err := r.read(true) + if err != nil { + return nil, err + } else if server != types.InteropServer { + return nil, fmt.Errorf("%w: expected %q, got %q", ErrInvalidJIDType, types.InteropServer, server) + } + return types.JID{ + User: user.(string), + Device: uint16(device), + Integrator: uint16(integrator), + Server: types.InteropServer, + }, nil +} + +func (r *binaryDecoder) readFBJID() (interface{}, error) { + user, err := r.read(true) + if err != nil { + return nil, err + } + device, err := r.readInt16(false) + if err != nil { + return nil, err + } + server, err := r.read(true) + if err != nil { + return nil, err + } else if server != types.MessengerServer { + return nil, fmt.Errorf("%w: expected %q, got %q", ErrInvalidJIDType, types.MessengerServer, server) + } + return types.JID{ + User: user.(string), + Device: uint16(device), + Server: server.(string), + }, nil +} + func (r *binaryDecoder) readADJID() (interface{}, error) { agent, err := r.readByte() if err != nil { diff --git a/vendor/go.mau.fi/whatsmeow/binary/encoder.go b/vendor/go.mau.fi/whatsmeow/binary/encoder.go index 7def56b9..21e22cf8 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/encoder.go +++ b/vendor/go.mau.fi/whatsmeow/binary/encoder.go @@ -159,11 +159,22 @@ func (w *binaryEncoder) writeStringRaw(value string) { } func (w *binaryEncoder) writeJID(jid types.JID) { - if jid.AD { + if (jid.Server == types.DefaultUserServer && jid.Device > 0) || jid.Server == types.HiddenUserServer || jid.Server == types.HostedServer { w.pushByte(token.ADJID) - w.pushByte(jid.Agent) - w.pushByte(jid.Device) + w.pushByte(jid.ActualAgent()) + w.pushByte(uint8(jid.Device)) w.writeString(jid.User) + } else if jid.Server == types.MessengerServer { + w.pushByte(token.FBJID) + w.write(jid.User) + w.pushInt16(int(jid.Device)) + w.write(jid.Server) + } else if jid.Server == types.InteropServer { + w.pushByte(token.InteropJID) + w.write(jid.User) + w.pushInt16(int(jid.Device)) + w.pushInt16(int(jid.Integrator)) + w.write(jid.Server) } else { w.pushByte(token.JIDPair) if len(jid.User) == 0 { diff --git a/vendor/go.mau.fi/whatsmeow/binary/node.go b/vendor/go.mau.fi/whatsmeow/binary/node.go index f2273205..609166c6 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/node.go +++ b/vendor/go.mau.fi/whatsmeow/binary/node.go @@ -8,11 +8,14 @@ package binary import ( + "encoding/json" "fmt" + + "go.mau.fi/whatsmeow/types" ) // Attrs is a type alias for the attributes of an XML element (Node). -type Attrs = map[string]interface{} +type Attrs = map[string]any // Node represents an XML element. type Node struct { @@ -21,6 +24,53 @@ type Node struct { Content interface{} // The content inside the element. Can be nil, a list of Nodes, or a byte array. } +type marshalableNode struct { + Tag string + Attrs Attrs + Content json.RawMessage +} + +func (n *Node) UnmarshalJSON(data []byte) error { + var mn marshalableNode + err := json.Unmarshal(data, &mn) + if err != nil { + return err + } + for key, val := range mn.Attrs { + switch typedVal := val.(type) { + case string: + parsed, err := types.ParseJID(typedVal) + if err == nil && parsed.Server == types.DefaultUserServer || parsed.Server == types.NewsletterServer || parsed.Server == types.GroupServer || parsed.Server == types.BroadcastServer { + mn.Attrs[key] = parsed + } + case float64: + mn.Attrs[key] = int64(typedVal) + } + } + n.Tag = mn.Tag + n.Attrs = mn.Attrs + if len(mn.Content) > 0 { + if mn.Content[0] == '[' { + var nodes []Node + err = json.Unmarshal(mn.Content, &nodes) + if err != nil { + return err + } + n.Content = nodes + } else if mn.Content[0] == '"' { + var binaryContent []byte + err = json.Unmarshal(mn.Content, &binaryContent) + if err != nil { + return err + } + n.Content = binaryContent + } else { + return fmt.Errorf("node content must be an array of nodes or a base64 string") + } + } + return nil +} + // GetChildren returns the Content of the node as a list of nodes. If the content is not a list of nodes, this returns nil. func (n *Node) GetChildren() []Node { if n.Content == nil { diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go b/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go index 6e27370c..c092bed5 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go @@ -1,19 +1,20 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.31.0 // protoc v3.21.12 // source: binary/proto/def.proto package proto import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" -) -import _ "embed" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + + _ "embed" +) const ( // Verify that this generated code is sufficiently up-to-date. @@ -380,295 +381,65 @@ func (DeviceProps_PlatformType) EnumDescriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{5, 0} } -type ListResponseMessage_ListType int32 +type ImageMessage_ImageSourceType int32 const ( - ListResponseMessage_UNKNOWN ListResponseMessage_ListType = 0 - ListResponseMessage_SINGLE_SELECT ListResponseMessage_ListType = 1 + ImageMessage_USER_IMAGE ImageMessage_ImageSourceType = 0 + ImageMessage_AI_GENERATED ImageMessage_ImageSourceType = 1 + ImageMessage_AI_MODIFIED ImageMessage_ImageSourceType = 2 ) -// Enum value maps for ListResponseMessage_ListType. +// Enum value maps for ImageMessage_ImageSourceType. var ( - ListResponseMessage_ListType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SINGLE_SELECT", + ImageMessage_ImageSourceType_name = map[int32]string{ + 0: "USER_IMAGE", + 1: "AI_GENERATED", + 2: "AI_MODIFIED", } - ListResponseMessage_ListType_value = map[string]int32{ - "UNKNOWN": 0, - "SINGLE_SELECT": 1, + ImageMessage_ImageSourceType_value = map[string]int32{ + "USER_IMAGE": 0, + "AI_GENERATED": 1, + "AI_MODIFIED": 2, } ) -func (x ListResponseMessage_ListType) Enum() *ListResponseMessage_ListType { - p := new(ListResponseMessage_ListType) +func (x ImageMessage_ImageSourceType) Enum() *ImageMessage_ImageSourceType { + p := new(ImageMessage_ImageSourceType) *p = x return p } -func (x ListResponseMessage_ListType) String() string { +func (x ImageMessage_ImageSourceType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (ListResponseMessage_ListType) Descriptor() protoreflect.EnumDescriptor { +func (ImageMessage_ImageSourceType) Descriptor() protoreflect.EnumDescriptor { return file_binary_proto_def_proto_enumTypes[5].Descriptor() } -func (ListResponseMessage_ListType) Type() protoreflect.EnumType { +func (ImageMessage_ImageSourceType) Type() protoreflect.EnumType { return &file_binary_proto_def_proto_enumTypes[5] } -func (x ListResponseMessage_ListType) Number() protoreflect.EnumNumber { +func (x ImageMessage_ImageSourceType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Do not use. -func (x *ListResponseMessage_ListType) UnmarshalJSON(b []byte) error { +func (x *ImageMessage_ImageSourceType) UnmarshalJSON(b []byte) error { num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } - *x = ListResponseMessage_ListType(num) + *x = ImageMessage_ImageSourceType(num) return nil } -// Deprecated: Use ListResponseMessage_ListType.Descriptor instead. -func (ListResponseMessage_ListType) EnumDescriptor() ([]byte, []int) { +// Deprecated: Use ImageMessage_ImageSourceType.Descriptor instead. +func (ImageMessage_ImageSourceType) EnumDescriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{7, 0} } -type ListMessage_ListType int32 - -const ( - ListMessage_UNKNOWN ListMessage_ListType = 0 - ListMessage_SINGLE_SELECT ListMessage_ListType = 1 - ListMessage_PRODUCT_LIST ListMessage_ListType = 2 -) - -// Enum value maps for ListMessage_ListType. -var ( - ListMessage_ListType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SINGLE_SELECT", - 2: "PRODUCT_LIST", - } - ListMessage_ListType_value = map[string]int32{ - "UNKNOWN": 0, - "SINGLE_SELECT": 1, - "PRODUCT_LIST": 2, - } -) - -func (x ListMessage_ListType) Enum() *ListMessage_ListType { - p := new(ListMessage_ListType) - *p = x - return p -} - -func (x ListMessage_ListType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ListMessage_ListType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[6].Descriptor() -} - -func (ListMessage_ListType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[6] -} - -func (x ListMessage_ListType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *ListMessage_ListType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = ListMessage_ListType(num) - return nil -} - -// Deprecated: Use ListMessage_ListType.Descriptor instead. -func (ListMessage_ListType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 0} -} - -type InvoiceMessage_AttachmentType int32 - -const ( - InvoiceMessage_IMAGE InvoiceMessage_AttachmentType = 0 - InvoiceMessage_PDF InvoiceMessage_AttachmentType = 1 -) - -// Enum value maps for InvoiceMessage_AttachmentType. -var ( - InvoiceMessage_AttachmentType_name = map[int32]string{ - 0: "IMAGE", - 1: "PDF", - } - InvoiceMessage_AttachmentType_value = map[string]int32{ - "IMAGE": 0, - "PDF": 1, - } -) - -func (x InvoiceMessage_AttachmentType) Enum() *InvoiceMessage_AttachmentType { - p := new(InvoiceMessage_AttachmentType) - *p = x - return p -} - -func (x InvoiceMessage_AttachmentType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (InvoiceMessage_AttachmentType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[7].Descriptor() -} - -func (InvoiceMessage_AttachmentType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[7] -} - -func (x InvoiceMessage_AttachmentType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *InvoiceMessage_AttachmentType) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = InvoiceMessage_AttachmentType(num) - return nil -} - -// Deprecated: Use InvoiceMessage_AttachmentType.Descriptor instead. -func (InvoiceMessage_AttachmentType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{10, 0} -} - -type InteractiveResponseMessage_Body_Format int32 - -const ( - InteractiveResponseMessage_Body_DEFAULT InteractiveResponseMessage_Body_Format = 0 - InteractiveResponseMessage_Body_EXTENSIONS_1 InteractiveResponseMessage_Body_Format = 1 -) - -// Enum value maps for InteractiveResponseMessage_Body_Format. -var ( - InteractiveResponseMessage_Body_Format_name = map[int32]string{ - 0: "DEFAULT", - 1: "EXTENSIONS_1", - } - InteractiveResponseMessage_Body_Format_value = map[string]int32{ - "DEFAULT": 0, - "EXTENSIONS_1": 1, - } -) - -func (x InteractiveResponseMessage_Body_Format) Enum() *InteractiveResponseMessage_Body_Format { - p := new(InteractiveResponseMessage_Body_Format) - *p = x - return p -} - -func (x InteractiveResponseMessage_Body_Format) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (InteractiveResponseMessage_Body_Format) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[8].Descriptor() -} - -func (InteractiveResponseMessage_Body_Format) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[8] -} - -func (x InteractiveResponseMessage_Body_Format) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *InteractiveResponseMessage_Body_Format) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = InteractiveResponseMessage_Body_Format(num) - return nil -} - -// Deprecated: Use InteractiveResponseMessage_Body_Format.Descriptor instead. -func (InteractiveResponseMessage_Body_Format) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{11, 1, 0} -} - -type InteractiveMessage_ShopMessage_Surface int32 - -const ( - InteractiveMessage_ShopMessage_UNKNOWN_SURFACE InteractiveMessage_ShopMessage_Surface = 0 - InteractiveMessage_ShopMessage_FB InteractiveMessage_ShopMessage_Surface = 1 - InteractiveMessage_ShopMessage_IG InteractiveMessage_ShopMessage_Surface = 2 - InteractiveMessage_ShopMessage_WA InteractiveMessage_ShopMessage_Surface = 3 -) - -// Enum value maps for InteractiveMessage_ShopMessage_Surface. -var ( - InteractiveMessage_ShopMessage_Surface_name = map[int32]string{ - 0: "UNKNOWN_SURFACE", - 1: "FB", - 2: "IG", - 3: "WA", - } - InteractiveMessage_ShopMessage_Surface_value = map[string]int32{ - "UNKNOWN_SURFACE": 0, - "FB": 1, - "IG": 2, - "WA": 3, - } -) - -func (x InteractiveMessage_ShopMessage_Surface) Enum() *InteractiveMessage_ShopMessage_Surface { - p := new(InteractiveMessage_ShopMessage_Surface) - *p = x - return p -} - -func (x InteractiveMessage_ShopMessage_Surface) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (InteractiveMessage_ShopMessage_Surface) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[9].Descriptor() -} - -func (InteractiveMessage_ShopMessage_Surface) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[9] -} - -func (x InteractiveMessage_ShopMessage_Surface) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Do not use. -func (x *InteractiveMessage_ShopMessage_Surface) UnmarshalJSON(b []byte) error { - num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) - if err != nil { - return err - } - *x = InteractiveMessage_ShopMessage_Surface(num) - return nil -} - -// Deprecated: Use InteractiveMessage_ShopMessage_Surface.Descriptor instead. -func (InteractiveMessage_ShopMessage_Surface) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0, 0} -} - type HistorySyncNotification_HistorySyncType int32 const ( @@ -714,11 +485,11 @@ func (x HistorySyncNotification_HistorySyncType) String() string { } func (HistorySyncNotification_HistorySyncType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[10].Descriptor() + return file_binary_proto_def_proto_enumTypes[6].Descriptor() } func (HistorySyncNotification_HistorySyncType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[10] + return &file_binary_proto_def_proto_enumTypes[6] } func (x HistorySyncNotification_HistorySyncType) Number() protoreflect.EnumNumber { @@ -737,7 +508,7 @@ func (x *HistorySyncNotification_HistorySyncType) UnmarshalJSON(b []byte) error // Deprecated: Use HistorySyncNotification_HistorySyncType.Descriptor instead. func (HistorySyncNotification_HistorySyncType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{15, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 0} } type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType int32 @@ -785,11 +556,11 @@ func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeC } func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[11].Descriptor() + return file_binary_proto_def_proto_enumTypes[7].Descriptor() } func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[11] + return &file_binary_proto_def_proto_enumTypes[7] } func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Number() protoreflect.EnumNumber { @@ -808,7 +579,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTime // Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType.Descriptor instead. func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 1, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0, 0, 1, 0} } type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType int32 @@ -841,11 +612,11 @@ func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeC } func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[12].Descriptor() + return file_binary_proto_def_proto_enumTypes[8].Descriptor() } func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[12] + return &file_binary_proto_def_proto_enumTypes[8] } func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Number() protoreflect.EnumNumber { @@ -864,7 +635,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTime // Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType.Descriptor instead. func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 1, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0, 0, 1, 1} } type GroupInviteMessage_GroupType int32 @@ -897,11 +668,11 @@ func (x GroupInviteMessage_GroupType) String() string { } func (GroupInviteMessage_GroupType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[13].Descriptor() + return file_binary_proto_def_proto_enumTypes[9].Descriptor() } func (GroupInviteMessage_GroupType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[13] + return &file_binary_proto_def_proto_enumTypes[9] } func (x GroupInviteMessage_GroupType) Number() protoreflect.EnumNumber { @@ -920,14 +691,16 @@ func (x *GroupInviteMessage_GroupType) UnmarshalJSON(b []byte) error { // Deprecated: Use GroupInviteMessage_GroupType.Descriptor instead. func (GroupInviteMessage_GroupType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{17, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{10, 0} } type ExtendedTextMessage_PreviewType int32 const ( - ExtendedTextMessage_NONE ExtendedTextMessage_PreviewType = 0 - ExtendedTextMessage_VIDEO ExtendedTextMessage_PreviewType = 1 + ExtendedTextMessage_NONE ExtendedTextMessage_PreviewType = 0 + ExtendedTextMessage_VIDEO ExtendedTextMessage_PreviewType = 1 + ExtendedTextMessage_PLACEHOLDER ExtendedTextMessage_PreviewType = 4 + ExtendedTextMessage_IMAGE ExtendedTextMessage_PreviewType = 5 ) // Enum value maps for ExtendedTextMessage_PreviewType. @@ -935,10 +708,14 @@ var ( ExtendedTextMessage_PreviewType_name = map[int32]string{ 0: "NONE", 1: "VIDEO", + 4: "PLACEHOLDER", + 5: "IMAGE", } ExtendedTextMessage_PreviewType_value = map[string]int32{ - "NONE": 0, - "VIDEO": 1, + "NONE": 0, + "VIDEO": 1, + "PLACEHOLDER": 4, + "IMAGE": 5, } ) @@ -953,11 +730,11 @@ func (x ExtendedTextMessage_PreviewType) String() string { } func (ExtendedTextMessage_PreviewType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[14].Descriptor() + return file_binary_proto_def_proto_enumTypes[10].Descriptor() } func (ExtendedTextMessage_PreviewType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[14] + return &file_binary_proto_def_proto_enumTypes[10] } func (x ExtendedTextMessage_PreviewType) Number() protoreflect.EnumNumber { @@ -976,7 +753,7 @@ func (x *ExtendedTextMessage_PreviewType) UnmarshalJSON(b []byte) error { // Deprecated: Use ExtendedTextMessage_PreviewType.Descriptor instead. func (ExtendedTextMessage_PreviewType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{19, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0} } type ExtendedTextMessage_InviteLinkGroupType int32 @@ -1015,11 +792,11 @@ func (x ExtendedTextMessage_InviteLinkGroupType) String() string { } func (ExtendedTextMessage_InviteLinkGroupType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[15].Descriptor() + return file_binary_proto_def_proto_enumTypes[11].Descriptor() } func (ExtendedTextMessage_InviteLinkGroupType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[15] + return &file_binary_proto_def_proto_enumTypes[11] } func (x ExtendedTextMessage_InviteLinkGroupType) Number() protoreflect.EnumNumber { @@ -1038,7 +815,7 @@ func (x *ExtendedTextMessage_InviteLinkGroupType) UnmarshalJSON(b []byte) error // Deprecated: Use ExtendedTextMessage_InviteLinkGroupType.Descriptor instead. func (ExtendedTextMessage_InviteLinkGroupType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{19, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 1} } type ExtendedTextMessage_FontType int32 @@ -1089,11 +866,11 @@ func (x ExtendedTextMessage_FontType) String() string { } func (ExtendedTextMessage_FontType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[16].Descriptor() + return file_binary_proto_def_proto_enumTypes[12].Descriptor() } func (ExtendedTextMessage_FontType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[16] + return &file_binary_proto_def_proto_enumTypes[12] } func (x ExtendedTextMessage_FontType) Number() protoreflect.EnumNumber { @@ -1112,7 +889,199 @@ func (x *ExtendedTextMessage_FontType) UnmarshalJSON(b []byte) error { // Deprecated: Use ExtendedTextMessage_FontType.Descriptor instead. func (ExtendedTextMessage_FontType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{19, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 2} +} + +type EventResponseMessage_EventResponseType int32 + +const ( + EventResponseMessage_UNKNOWN EventResponseMessage_EventResponseType = 0 + EventResponseMessage_GOING EventResponseMessage_EventResponseType = 1 + EventResponseMessage_NOT_GOING EventResponseMessage_EventResponseType = 2 +) + +// Enum value maps for EventResponseMessage_EventResponseType. +var ( + EventResponseMessage_EventResponseType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "GOING", + 2: "NOT_GOING", + } + EventResponseMessage_EventResponseType_value = map[string]int32{ + "UNKNOWN": 0, + "GOING": 1, + "NOT_GOING": 2, + } +) + +func (x EventResponseMessage_EventResponseType) Enum() *EventResponseMessage_EventResponseType { + p := new(EventResponseMessage_EventResponseType) + *p = x + return p +} + +func (x EventResponseMessage_EventResponseType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (EventResponseMessage_EventResponseType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[13].Descriptor() +} + +func (EventResponseMessage_EventResponseType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[13] +} + +func (x EventResponseMessage_EventResponseType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *EventResponseMessage_EventResponseType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = EventResponseMessage_EventResponseType(num) + return nil +} + +// Deprecated: Use EventResponseMessage_EventResponseType.Descriptor instead. +func (EventResponseMessage_EventResponseType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{13, 0} +} + +type CallLogMessage_CallType int32 + +const ( + CallLogMessage_REGULAR CallLogMessage_CallType = 0 + CallLogMessage_SCHEDULED_CALL CallLogMessage_CallType = 1 + CallLogMessage_VOICE_CHAT CallLogMessage_CallType = 2 +) + +// Enum value maps for CallLogMessage_CallType. +var ( + CallLogMessage_CallType_name = map[int32]string{ + 0: "REGULAR", + 1: "SCHEDULED_CALL", + 2: "VOICE_CHAT", + } + CallLogMessage_CallType_value = map[string]int32{ + "REGULAR": 0, + "SCHEDULED_CALL": 1, + "VOICE_CHAT": 2, + } +) + +func (x CallLogMessage_CallType) Enum() *CallLogMessage_CallType { + p := new(CallLogMessage_CallType) + *p = x + return p +} + +func (x CallLogMessage_CallType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CallLogMessage_CallType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[14].Descriptor() +} + +func (CallLogMessage_CallType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[14] +} + +func (x CallLogMessage_CallType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *CallLogMessage_CallType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = CallLogMessage_CallType(num) + return nil +} + +// Deprecated: Use CallLogMessage_CallType.Descriptor instead. +func (CallLogMessage_CallType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{27, 0} +} + +type CallLogMessage_CallOutcome int32 + +const ( + CallLogMessage_CONNECTED CallLogMessage_CallOutcome = 0 + CallLogMessage_MISSED CallLogMessage_CallOutcome = 1 + CallLogMessage_FAILED CallLogMessage_CallOutcome = 2 + CallLogMessage_REJECTED CallLogMessage_CallOutcome = 3 + CallLogMessage_ACCEPTED_ELSEWHERE CallLogMessage_CallOutcome = 4 + CallLogMessage_ONGOING CallLogMessage_CallOutcome = 5 + CallLogMessage_SILENCED_BY_DND CallLogMessage_CallOutcome = 6 + CallLogMessage_SILENCED_UNKNOWN_CALLER CallLogMessage_CallOutcome = 7 +) + +// Enum value maps for CallLogMessage_CallOutcome. +var ( + CallLogMessage_CallOutcome_name = map[int32]string{ + 0: "CONNECTED", + 1: "MISSED", + 2: "FAILED", + 3: "REJECTED", + 4: "ACCEPTED_ELSEWHERE", + 5: "ONGOING", + 6: "SILENCED_BY_DND", + 7: "SILENCED_UNKNOWN_CALLER", + } + CallLogMessage_CallOutcome_value = map[string]int32{ + "CONNECTED": 0, + "MISSED": 1, + "FAILED": 2, + "REJECTED": 3, + "ACCEPTED_ELSEWHERE": 4, + "ONGOING": 5, + "SILENCED_BY_DND": 6, + "SILENCED_UNKNOWN_CALLER": 7, + } +) + +func (x CallLogMessage_CallOutcome) Enum() *CallLogMessage_CallOutcome { + p := new(CallLogMessage_CallOutcome) + *p = x + return p +} + +func (x CallLogMessage_CallOutcome) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CallLogMessage_CallOutcome) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[15].Descriptor() +} + +func (CallLogMessage_CallOutcome) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[15] +} + +func (x CallLogMessage_CallOutcome) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *CallLogMessage_CallOutcome) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = CallLogMessage_CallOutcome(num) + return nil +} + +// Deprecated: Use CallLogMessage_CallOutcome.Descriptor instead. +func (CallLogMessage_CallOutcome) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{27, 1} } type ButtonsResponseMessage_Type int32 @@ -1145,11 +1114,11 @@ func (x ButtonsResponseMessage_Type) String() string { } func (ButtonsResponseMessage_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[17].Descriptor() + return file_binary_proto_def_proto_enumTypes[16].Descriptor() } func (ButtonsResponseMessage_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[17] + return &file_binary_proto_def_proto_enumTypes[16] } func (x ButtonsResponseMessage_Type) Number() protoreflect.EnumNumber { @@ -1168,7 +1137,7 @@ func (x *ButtonsResponseMessage_Type) UnmarshalJSON(b []byte) error { // Deprecated: Use ButtonsResponseMessage_Type.Descriptor instead. func (ButtonsResponseMessage_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{30, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{28, 0} } type ButtonsMessage_HeaderType int32 @@ -1216,11 +1185,11 @@ func (x ButtonsMessage_HeaderType) String() string { } func (ButtonsMessage_HeaderType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[18].Descriptor() + return file_binary_proto_def_proto_enumTypes[17].Descriptor() } func (ButtonsMessage_HeaderType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[18] + return &file_binary_proto_def_proto_enumTypes[17] } func (x ButtonsMessage_HeaderType) Number() protoreflect.EnumNumber { @@ -1239,7 +1208,7 @@ func (x *ButtonsMessage_HeaderType) UnmarshalJSON(b []byte) error { // Deprecated: Use ButtonsMessage_HeaderType.Descriptor instead. func (ButtonsMessage_HeaderType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{29, 0} } type ButtonsMessage_Button_Type int32 @@ -1275,11 +1244,11 @@ func (x ButtonsMessage_Button_Type) String() string { } func (ButtonsMessage_Button_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[19].Descriptor() + return file_binary_proto_def_proto_enumTypes[18].Descriptor() } func (ButtonsMessage_Button_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[19] + return &file_binary_proto_def_proto_enumTypes[18] } func (x ButtonsMessage_Button_Type) Number() protoreflect.EnumNumber { @@ -1298,19 +1267,152 @@ func (x *ButtonsMessage_Button_Type) UnmarshalJSON(b []byte) error { // Deprecated: Use ButtonsMessage_Button_Type.Descriptor instead. func (ButtonsMessage_Button_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{29, 0, 0} +} + +type BotFeedbackMessage_BotFeedbackKindMultiplePositive int32 + +const ( + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC BotFeedbackMessage_BotFeedbackKindMultiplePositive = 1 +) + +// Enum value maps for BotFeedbackMessage_BotFeedbackKindMultiplePositive. +var ( + BotFeedbackMessage_BotFeedbackKindMultiplePositive_name = map[int32]string{ + 1: "BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC", + } + BotFeedbackMessage_BotFeedbackKindMultiplePositive_value = map[string]int32{ + "BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC": 1, + } +) + +func (x BotFeedbackMessage_BotFeedbackKindMultiplePositive) Enum() *BotFeedbackMessage_BotFeedbackKindMultiplePositive { + p := new(BotFeedbackMessage_BotFeedbackKindMultiplePositive) + *p = x + return p +} + +func (x BotFeedbackMessage_BotFeedbackKindMultiplePositive) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BotFeedbackMessage_BotFeedbackKindMultiplePositive) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[19].Descriptor() +} + +func (BotFeedbackMessage_BotFeedbackKindMultiplePositive) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[19] +} + +func (x BotFeedbackMessage_BotFeedbackKindMultiplePositive) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *BotFeedbackMessage_BotFeedbackKindMultiplePositive) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = BotFeedbackMessage_BotFeedbackKindMultiplePositive(num) + return nil +} + +// Deprecated: Use BotFeedbackMessage_BotFeedbackKindMultiplePositive.Descriptor instead. +func (BotFeedbackMessage_BotFeedbackKindMultiplePositive) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{30, 0} +} + +type BotFeedbackMessage_BotFeedbackKindMultipleNegative int32 + +const ( + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC BotFeedbackMessage_BotFeedbackKindMultipleNegative = 1 + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL BotFeedbackMessage_BotFeedbackKindMultipleNegative = 2 + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING BotFeedbackMessage_BotFeedbackKindMultipleNegative = 4 + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE BotFeedbackMessage_BotFeedbackKindMultipleNegative = 8 + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE BotFeedbackMessage_BotFeedbackKindMultipleNegative = 16 + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER BotFeedbackMessage_BotFeedbackKindMultipleNegative = 32 + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED BotFeedbackMessage_BotFeedbackKindMultipleNegative = 64 + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING BotFeedbackMessage_BotFeedbackKindMultipleNegative = 128 + BotFeedbackMessage_BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT BotFeedbackMessage_BotFeedbackKindMultipleNegative = 256 +) + +// Enum value maps for BotFeedbackMessage_BotFeedbackKindMultipleNegative. +var ( + BotFeedbackMessage_BotFeedbackKindMultipleNegative_name = map[int32]string{ + 1: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC", + 2: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL", + 4: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING", + 8: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE", + 16: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE", + 32: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER", + 64: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED", + 128: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING", + 256: "BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT", + } + BotFeedbackMessage_BotFeedbackKindMultipleNegative_value = map[string]int32{ + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC": 1, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL": 2, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING": 4, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE": 8, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE": 16, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER": 32, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED": 64, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING": 128, + "BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT": 256, + } +) + +func (x BotFeedbackMessage_BotFeedbackKindMultipleNegative) Enum() *BotFeedbackMessage_BotFeedbackKindMultipleNegative { + p := new(BotFeedbackMessage_BotFeedbackKindMultipleNegative) + *p = x + return p +} + +func (x BotFeedbackMessage_BotFeedbackKindMultipleNegative) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BotFeedbackMessage_BotFeedbackKindMultipleNegative) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[20].Descriptor() +} + +func (BotFeedbackMessage_BotFeedbackKindMultipleNegative) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[20] +} + +func (x BotFeedbackMessage_BotFeedbackKindMultipleNegative) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *BotFeedbackMessage_BotFeedbackKindMultipleNegative) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = BotFeedbackMessage_BotFeedbackKindMultipleNegative(num) + return nil +} + +// Deprecated: Use BotFeedbackMessage_BotFeedbackKindMultipleNegative.Descriptor instead. +func (BotFeedbackMessage_BotFeedbackKindMultipleNegative) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{30, 1} } type BotFeedbackMessage_BotFeedbackKind int32 const ( - BotFeedbackMessage_BOT_FEEDBACK_POSITIVE BotFeedbackMessage_BotFeedbackKind = 0 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_GENERIC BotFeedbackMessage_BotFeedbackKind = 1 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HELPFUL BotFeedbackMessage_BotFeedbackKind = 2 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_INTERESTING BotFeedbackMessage_BotFeedbackKind = 3 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_ACCURATE BotFeedbackMessage_BotFeedbackKind = 4 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_SAFE BotFeedbackMessage_BotFeedbackKind = 5 - BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_OTHER BotFeedbackMessage_BotFeedbackKind = 6 + BotFeedbackMessage_BOT_FEEDBACK_POSITIVE BotFeedbackMessage_BotFeedbackKind = 0 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_GENERIC BotFeedbackMessage_BotFeedbackKind = 1 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HELPFUL BotFeedbackMessage_BotFeedbackKind = 2 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_INTERESTING BotFeedbackMessage_BotFeedbackKind = 3 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_ACCURATE BotFeedbackMessage_BotFeedbackKind = 4 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_SAFE BotFeedbackMessage_BotFeedbackKind = 5 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_OTHER BotFeedbackMessage_BotFeedbackKind = 6 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_REFUSED BotFeedbackMessage_BotFeedbackKind = 7 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING BotFeedbackMessage_BotFeedbackKind = 8 + BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT BotFeedbackMessage_BotFeedbackKind = 9 ) // Enum value maps for BotFeedbackMessage_BotFeedbackKind. @@ -1323,15 +1425,21 @@ var ( 4: "BOT_FEEDBACK_NEGATIVE_ACCURATE", 5: "BOT_FEEDBACK_NEGATIVE_SAFE", 6: "BOT_FEEDBACK_NEGATIVE_OTHER", + 7: "BOT_FEEDBACK_NEGATIVE_REFUSED", + 8: "BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING", + 9: "BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT", } BotFeedbackMessage_BotFeedbackKind_value = map[string]int32{ - "BOT_FEEDBACK_POSITIVE": 0, - "BOT_FEEDBACK_NEGATIVE_GENERIC": 1, - "BOT_FEEDBACK_NEGATIVE_HELPFUL": 2, - "BOT_FEEDBACK_NEGATIVE_INTERESTING": 3, - "BOT_FEEDBACK_NEGATIVE_ACCURATE": 4, - "BOT_FEEDBACK_NEGATIVE_SAFE": 5, - "BOT_FEEDBACK_NEGATIVE_OTHER": 6, + "BOT_FEEDBACK_POSITIVE": 0, + "BOT_FEEDBACK_NEGATIVE_GENERIC": 1, + "BOT_FEEDBACK_NEGATIVE_HELPFUL": 2, + "BOT_FEEDBACK_NEGATIVE_INTERESTING": 3, + "BOT_FEEDBACK_NEGATIVE_ACCURATE": 4, + "BOT_FEEDBACK_NEGATIVE_SAFE": 5, + "BOT_FEEDBACK_NEGATIVE_OTHER": 6, + "BOT_FEEDBACK_NEGATIVE_REFUSED": 7, + "BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING": 8, + "BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT": 9, } ) @@ -1346,11 +1454,11 @@ func (x BotFeedbackMessage_BotFeedbackKind) String() string { } func (BotFeedbackMessage_BotFeedbackKind) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[20].Descriptor() + return file_binary_proto_def_proto_enumTypes[21].Descriptor() } func (BotFeedbackMessage_BotFeedbackKind) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[20] + return &file_binary_proto_def_proto_enumTypes[21] } func (x BotFeedbackMessage_BotFeedbackKind) Number() protoreflect.EnumNumber { @@ -1369,16 +1477,135 @@ func (x *BotFeedbackMessage_BotFeedbackKind) UnmarshalJSON(b []byte) error { // Deprecated: Use BotFeedbackMessage_BotFeedbackKind.Descriptor instead. func (BotFeedbackMessage_BotFeedbackKind) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{32, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{30, 2} +} + +type BCallMessage_MediaType int32 + +const ( + BCallMessage_UNKNOWN BCallMessage_MediaType = 0 + BCallMessage_AUDIO BCallMessage_MediaType = 1 + BCallMessage_VIDEO BCallMessage_MediaType = 2 +) + +// Enum value maps for BCallMessage_MediaType. +var ( + BCallMessage_MediaType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "AUDIO", + 2: "VIDEO", + } + BCallMessage_MediaType_value = map[string]int32{ + "UNKNOWN": 0, + "AUDIO": 1, + "VIDEO": 2, + } +) + +func (x BCallMessage_MediaType) Enum() *BCallMessage_MediaType { + p := new(BCallMessage_MediaType) + *p = x + return p +} + +func (x BCallMessage_MediaType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BCallMessage_MediaType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[22].Descriptor() +} + +func (BCallMessage_MediaType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[22] +} + +func (x BCallMessage_MediaType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *BCallMessage_MediaType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = BCallMessage_MediaType(num) + return nil +} + +// Deprecated: Use BCallMessage_MediaType.Descriptor instead. +func (BCallMessage_MediaType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0} +} + +type HydratedTemplateButton_HydratedURLButton_WebviewPresentationType int32 + +const ( + HydratedTemplateButton_HydratedURLButton_FULL HydratedTemplateButton_HydratedURLButton_WebviewPresentationType = 1 + HydratedTemplateButton_HydratedURLButton_TALL HydratedTemplateButton_HydratedURLButton_WebviewPresentationType = 2 + HydratedTemplateButton_HydratedURLButton_COMPACT HydratedTemplateButton_HydratedURLButton_WebviewPresentationType = 3 +) + +// Enum value maps for HydratedTemplateButton_HydratedURLButton_WebviewPresentationType. +var ( + HydratedTemplateButton_HydratedURLButton_WebviewPresentationType_name = map[int32]string{ + 1: "FULL", + 2: "TALL", + 3: "COMPACT", + } + HydratedTemplateButton_HydratedURLButton_WebviewPresentationType_value = map[string]int32{ + "FULL": 1, + "TALL": 2, + "COMPACT": 3, + } +) + +func (x HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) Enum() *HydratedTemplateButton_HydratedURLButton_WebviewPresentationType { + p := new(HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) + *p = x + return p +} + +func (x HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[23].Descriptor() +} + +func (HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[23] +} + +func (x HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = HydratedTemplateButton_HydratedURLButton_WebviewPresentationType(num) + return nil +} + +// Deprecated: Use HydratedTemplateButton_HydratedURLButton_WebviewPresentationType.Descriptor instead. +func (HydratedTemplateButton_HydratedURLButton_WebviewPresentationType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{43, 0, 0} } type DisappearingMode_Trigger int32 const ( - DisappearingMode_UNKNOWN DisappearingMode_Trigger = 0 - DisappearingMode_CHAT_SETTING DisappearingMode_Trigger = 1 - DisappearingMode_ACCOUNT_SETTING DisappearingMode_Trigger = 2 - DisappearingMode_BULK_CHANGE DisappearingMode_Trigger = 3 + DisappearingMode_UNKNOWN DisappearingMode_Trigger = 0 + DisappearingMode_CHAT_SETTING DisappearingMode_Trigger = 1 + DisappearingMode_ACCOUNT_SETTING DisappearingMode_Trigger = 2 + DisappearingMode_BULK_CHANGE DisappearingMode_Trigger = 3 + DisappearingMode_BIZ_SUPPORTS_FB_HOSTING DisappearingMode_Trigger = 4 ) // Enum value maps for DisappearingMode_Trigger. @@ -1388,12 +1615,14 @@ var ( 1: "CHAT_SETTING", 2: "ACCOUNT_SETTING", 3: "BULK_CHANGE", + 4: "BIZ_SUPPORTS_FB_HOSTING", } DisappearingMode_Trigger_value = map[string]int32{ - "UNKNOWN": 0, - "CHAT_SETTING": 1, - "ACCOUNT_SETTING": 2, - "BULK_CHANGE": 3, + "UNKNOWN": 0, + "CHAT_SETTING": 1, + "ACCOUNT_SETTING": 2, + "BULK_CHANGE": 3, + "BIZ_SUPPORTS_FB_HOSTING": 4, } ) @@ -1408,11 +1637,11 @@ func (x DisappearingMode_Trigger) String() string { } func (DisappearingMode_Trigger) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[21].Descriptor() + return file_binary_proto_def_proto_enumTypes[24].Descriptor() } func (DisappearingMode_Trigger) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[21] + return &file_binary_proto_def_proto_enumTypes[24] } func (x DisappearingMode_Trigger) Number() protoreflect.EnumNumber { @@ -1437,9 +1666,10 @@ func (DisappearingMode_Trigger) EnumDescriptor() ([]byte, []int) { type DisappearingMode_Initiator int32 const ( - DisappearingMode_CHANGED_IN_CHAT DisappearingMode_Initiator = 0 - DisappearingMode_INITIATED_BY_ME DisappearingMode_Initiator = 1 - DisappearingMode_INITIATED_BY_OTHER DisappearingMode_Initiator = 2 + DisappearingMode_CHANGED_IN_CHAT DisappearingMode_Initiator = 0 + DisappearingMode_INITIATED_BY_ME DisappearingMode_Initiator = 1 + DisappearingMode_INITIATED_BY_OTHER DisappearingMode_Initiator = 2 + DisappearingMode_BIZ_UPGRADE_FB_HOSTING DisappearingMode_Initiator = 3 ) // Enum value maps for DisappearingMode_Initiator. @@ -1448,11 +1678,13 @@ var ( 0: "CHANGED_IN_CHAT", 1: "INITIATED_BY_ME", 2: "INITIATED_BY_OTHER", + 3: "BIZ_UPGRADE_FB_HOSTING", } DisappearingMode_Initiator_value = map[string]int32{ - "CHANGED_IN_CHAT": 0, - "INITIATED_BY_ME": 1, - "INITIATED_BY_OTHER": 2, + "CHANGED_IN_CHAT": 0, + "INITIATED_BY_ME": 1, + "INITIATED_BY_OTHER": 2, + "BIZ_UPGRADE_FB_HOSTING": 3, } ) @@ -1467,11 +1699,11 @@ func (x DisappearingMode_Initiator) String() string { } func (DisappearingMode_Initiator) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[22].Descriptor() + return file_binary_proto_def_proto_enumTypes[25].Descriptor() } func (DisappearingMode_Initiator) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[22] + return &file_binary_proto_def_proto_enumTypes[25] } func (x DisappearingMode_Initiator) Number() protoreflect.EnumNumber { @@ -1526,11 +1758,11 @@ func (x ContextInfo_ExternalAdReplyInfo_MediaType) String() string { } func (ContextInfo_ExternalAdReplyInfo_MediaType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[23].Descriptor() + return file_binary_proto_def_proto_enumTypes[26].Descriptor() } func (ContextInfo_ExternalAdReplyInfo_MediaType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[23] + return &file_binary_proto_def_proto_enumTypes[26] } func (x ContextInfo_ExternalAdReplyInfo_MediaType) Number() protoreflect.EnumNumber { @@ -1549,7 +1781,7 @@ func (x *ContextInfo_ExternalAdReplyInfo_MediaType) UnmarshalJSON(b []byte) erro // Deprecated: Use ContextInfo_ExternalAdReplyInfo_MediaType.Descriptor instead. func (ContextInfo_ExternalAdReplyInfo_MediaType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 2, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 1, 0} } type ContextInfo_AdReplyInfo_MediaType int32 @@ -1585,11 +1817,11 @@ func (x ContextInfo_AdReplyInfo_MediaType) String() string { } func (ContextInfo_AdReplyInfo_MediaType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[24].Descriptor() + return file_binary_proto_def_proto_enumTypes[27].Descriptor() } func (ContextInfo_AdReplyInfo_MediaType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[24] + return &file_binary_proto_def_proto_enumTypes[27] } func (x ContextInfo_AdReplyInfo_MediaType) Number() protoreflect.EnumNumber { @@ -1611,6 +1843,177 @@ func (ContextInfo_AdReplyInfo_MediaType) EnumDescriptor() ([]byte, []int) { return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 4, 0} } +type ForwardedNewsletterMessageInfo_ContentType int32 + +const ( + ForwardedNewsletterMessageInfo_UPDATE ForwardedNewsletterMessageInfo_ContentType = 1 + ForwardedNewsletterMessageInfo_UPDATE_CARD ForwardedNewsletterMessageInfo_ContentType = 2 + ForwardedNewsletterMessageInfo_LINK_CARD ForwardedNewsletterMessageInfo_ContentType = 3 +) + +// Enum value maps for ForwardedNewsletterMessageInfo_ContentType. +var ( + ForwardedNewsletterMessageInfo_ContentType_name = map[int32]string{ + 1: "UPDATE", + 2: "UPDATE_CARD", + 3: "LINK_CARD", + } + ForwardedNewsletterMessageInfo_ContentType_value = map[string]int32{ + "UPDATE": 1, + "UPDATE_CARD": 2, + "LINK_CARD": 3, + } +) + +func (x ForwardedNewsletterMessageInfo_ContentType) Enum() *ForwardedNewsletterMessageInfo_ContentType { + p := new(ForwardedNewsletterMessageInfo_ContentType) + *p = x + return p +} + +func (x ForwardedNewsletterMessageInfo_ContentType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ForwardedNewsletterMessageInfo_ContentType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[28].Descriptor() +} + +func (ForwardedNewsletterMessageInfo_ContentType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[28] +} + +func (x ForwardedNewsletterMessageInfo_ContentType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ForwardedNewsletterMessageInfo_ContentType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ForwardedNewsletterMessageInfo_ContentType(num) + return nil +} + +// Deprecated: Use ForwardedNewsletterMessageInfo_ContentType.Descriptor instead. +func (ForwardedNewsletterMessageInfo_ContentType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{48, 0} +} + +type BotPluginMetadata_SearchProvider int32 + +const ( + BotPluginMetadata_BING BotPluginMetadata_SearchProvider = 1 + BotPluginMetadata_GOOGLE BotPluginMetadata_SearchProvider = 2 +) + +// Enum value maps for BotPluginMetadata_SearchProvider. +var ( + BotPluginMetadata_SearchProvider_name = map[int32]string{ + 1: "BING", + 2: "GOOGLE", + } + BotPluginMetadata_SearchProvider_value = map[string]int32{ + "BING": 1, + "GOOGLE": 2, + } +) + +func (x BotPluginMetadata_SearchProvider) Enum() *BotPluginMetadata_SearchProvider { + p := new(BotPluginMetadata_SearchProvider) + *p = x + return p +} + +func (x BotPluginMetadata_SearchProvider) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BotPluginMetadata_SearchProvider) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[29].Descriptor() +} + +func (BotPluginMetadata_SearchProvider) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[29] +} + +func (x BotPluginMetadata_SearchProvider) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *BotPluginMetadata_SearchProvider) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = BotPluginMetadata_SearchProvider(num) + return nil +} + +// Deprecated: Use BotPluginMetadata_SearchProvider.Descriptor instead. +func (BotPluginMetadata_SearchProvider) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{51, 0} +} + +type BotPluginMetadata_PluginType int32 + +const ( + BotPluginMetadata_REELS BotPluginMetadata_PluginType = 1 + BotPluginMetadata_SEARCH BotPluginMetadata_PluginType = 2 +) + +// Enum value maps for BotPluginMetadata_PluginType. +var ( + BotPluginMetadata_PluginType_name = map[int32]string{ + 1: "REELS", + 2: "SEARCH", + } + BotPluginMetadata_PluginType_value = map[string]int32{ + "REELS": 1, + "SEARCH": 2, + } +) + +func (x BotPluginMetadata_PluginType) Enum() *BotPluginMetadata_PluginType { + p := new(BotPluginMetadata_PluginType) + *p = x + return p +} + +func (x BotPluginMetadata_PluginType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (BotPluginMetadata_PluginType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[30].Descriptor() +} + +func (BotPluginMetadata_PluginType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[30] +} + +func (x BotPluginMetadata_PluginType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *BotPluginMetadata_PluginType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = BotPluginMetadata_PluginType(num) + return nil +} + +// Deprecated: Use BotPluginMetadata_PluginType.Descriptor instead. +func (BotPluginMetadata_PluginType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{51, 1} +} + type PaymentBackground_Type int32 const ( @@ -1641,11 +2044,11 @@ func (x PaymentBackground_Type) String() string { } func (PaymentBackground_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[25].Descriptor() + return file_binary_proto_def_proto_enumTypes[31].Descriptor() } func (PaymentBackground_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[25] + return &file_binary_proto_def_proto_enumTypes[31] } func (x PaymentBackground_Type) Number() protoreflect.EnumNumber { @@ -1664,7 +2067,7 @@ func (x *PaymentBackground_Type) UnmarshalJSON(b []byte) error { // Deprecated: Use PaymentBackground_Type.Descriptor instead. func (PaymentBackground_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{54, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{57, 0} } type VideoMessage_Attribution int32 @@ -1700,11 +2103,11 @@ func (x VideoMessage_Attribution) String() string { } func (VideoMessage_Attribution) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[26].Descriptor() + return file_binary_proto_def_proto_enumTypes[32].Descriptor() } func (VideoMessage_Attribution) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[26] + return &file_binary_proto_def_proto_enumTypes[32] } func (x VideoMessage_Attribution) Number() protoreflect.EnumNumber { @@ -1723,7 +2126,63 @@ func (x *VideoMessage_Attribution) UnmarshalJSON(b []byte) error { // Deprecated: Use VideoMessage_Attribution.Descriptor instead. func (VideoMessage_Attribution) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{59, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{62, 0} +} + +type SecretEncryptedMessage_SecretEncType int32 + +const ( + SecretEncryptedMessage_UNKNOWN SecretEncryptedMessage_SecretEncType = 0 + SecretEncryptedMessage_EVENT_EDIT SecretEncryptedMessage_SecretEncType = 1 +) + +// Enum value maps for SecretEncryptedMessage_SecretEncType. +var ( + SecretEncryptedMessage_SecretEncType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "EVENT_EDIT", + } + SecretEncryptedMessage_SecretEncType_value = map[string]int32{ + "UNKNOWN": 0, + "EVENT_EDIT": 1, + } +) + +func (x SecretEncryptedMessage_SecretEncType) Enum() *SecretEncryptedMessage_SecretEncType { + p := new(SecretEncryptedMessage_SecretEncType) + *p = x + return p +} + +func (x SecretEncryptedMessage_SecretEncType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SecretEncryptedMessage_SecretEncType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[33].Descriptor() +} + +func (SecretEncryptedMessage_SecretEncType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[33] +} + +func (x SecretEncryptedMessage_SecretEncType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *SecretEncryptedMessage_SecretEncType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = SecretEncryptedMessage_SecretEncType(num) + return nil +} + +// Deprecated: Use SecretEncryptedMessage_SecretEncType.Descriptor instead. +func (SecretEncryptedMessage_SecretEncType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{69, 0} } type ScheduledCallEditMessage_EditType int32 @@ -1756,11 +2215,11 @@ func (x ScheduledCallEditMessage_EditType) String() string { } func (ScheduledCallEditMessage_EditType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[27].Descriptor() + return file_binary_proto_def_proto_enumTypes[34].Descriptor() } func (ScheduledCallEditMessage_EditType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[27] + return &file_binary_proto_def_proto_enumTypes[34] } func (x ScheduledCallEditMessage_EditType) Number() protoreflect.EnumNumber { @@ -1779,7 +2238,7 @@ func (x *ScheduledCallEditMessage_EditType) UnmarshalJSON(b []byte) error { // Deprecated: Use ScheduledCallEditMessage_EditType.Descriptor instead. func (ScheduledCallEditMessage_EditType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{66, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{70, 0} } type ScheduledCallCreationMessage_CallType int32 @@ -1815,11 +2274,11 @@ func (x ScheduledCallCreationMessage_CallType) String() string { } func (ScheduledCallCreationMessage_CallType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[28].Descriptor() + return file_binary_proto_def_proto_enumTypes[35].Descriptor() } func (ScheduledCallCreationMessage_CallType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[28] + return &file_binary_proto_def_proto_enumTypes[35] } func (x ScheduledCallCreationMessage_CallType) Number() protoreflect.EnumNumber { @@ -1838,7 +2297,63 @@ func (x *ScheduledCallCreationMessage_CallType) UnmarshalJSON(b []byte) error { // Deprecated: Use ScheduledCallCreationMessage_CallType.Descriptor instead. func (ScheduledCallCreationMessage_CallType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{67, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{71, 0} +} + +type RequestWelcomeMessageMetadata_LocalChatState int32 + +const ( + RequestWelcomeMessageMetadata_EMPTY RequestWelcomeMessageMetadata_LocalChatState = 0 + RequestWelcomeMessageMetadata_NON_EMPTY RequestWelcomeMessageMetadata_LocalChatState = 1 +) + +// Enum value maps for RequestWelcomeMessageMetadata_LocalChatState. +var ( + RequestWelcomeMessageMetadata_LocalChatState_name = map[int32]string{ + 0: "EMPTY", + 1: "NON_EMPTY", + } + RequestWelcomeMessageMetadata_LocalChatState_value = map[string]int32{ + "EMPTY": 0, + "NON_EMPTY": 1, + } +) + +func (x RequestWelcomeMessageMetadata_LocalChatState) Enum() *RequestWelcomeMessageMetadata_LocalChatState { + p := new(RequestWelcomeMessageMetadata_LocalChatState) + *p = x + return p +} + +func (x RequestWelcomeMessageMetadata_LocalChatState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RequestWelcomeMessageMetadata_LocalChatState) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[36].Descriptor() +} + +func (RequestWelcomeMessageMetadata_LocalChatState) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[36] +} + +func (x RequestWelcomeMessageMetadata_LocalChatState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *RequestWelcomeMessageMetadata_LocalChatState) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = RequestWelcomeMessageMetadata_LocalChatState(num) + return nil +} + +// Deprecated: Use RequestWelcomeMessageMetadata_LocalChatState.Descriptor instead. +func (RequestWelcomeMessageMetadata_LocalChatState) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{72, 0} } type ProtocolMessage_Type int32 @@ -1859,6 +2374,7 @@ const ( ProtocolMessage_PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE ProtocolMessage_Type = 17 ProtocolMessage_REQUEST_WELCOME_MESSAGE ProtocolMessage_Type = 18 ProtocolMessage_BOT_FEEDBACK_MESSAGE ProtocolMessage_Type = 19 + ProtocolMessage_MEDIA_NOTIFY_MESSAGE ProtocolMessage_Type = 20 ) // Enum value maps for ProtocolMessage_Type. @@ -1879,6 +2395,7 @@ var ( 17: "PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE", 18: "REQUEST_WELCOME_MESSAGE", 19: "BOT_FEEDBACK_MESSAGE", + 20: "MEDIA_NOTIFY_MESSAGE", } ProtocolMessage_Type_value = map[string]int32{ "REVOKE": 0, @@ -1896,6 +2413,7 @@ var ( "PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE": 17, "REQUEST_WELCOME_MESSAGE": 18, "BOT_FEEDBACK_MESSAGE": 19, + "MEDIA_NOTIFY_MESSAGE": 20, } ) @@ -1910,11 +2428,11 @@ func (x ProtocolMessage_Type) String() string { } func (ProtocolMessage_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[29].Descriptor() + return file_binary_proto_def_proto_enumTypes[37].Descriptor() } func (ProtocolMessage_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[29] + return &file_binary_proto_def_proto_enumTypes[37] } func (x ProtocolMessage_Type) Number() protoreflect.EnumNumber { @@ -1933,7 +2451,60 @@ func (x *ProtocolMessage_Type) UnmarshalJSON(b []byte) error { // Deprecated: Use ProtocolMessage_Type.Descriptor instead. func (ProtocolMessage_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{71, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{76, 0} +} + +type PlaceholderMessage_PlaceholderType int32 + +const ( + PlaceholderMessage_MASK_LINKED_DEVICES PlaceholderMessage_PlaceholderType = 0 +) + +// Enum value maps for PlaceholderMessage_PlaceholderType. +var ( + PlaceholderMessage_PlaceholderType_name = map[int32]string{ + 0: "MASK_LINKED_DEVICES", + } + PlaceholderMessage_PlaceholderType_value = map[string]int32{ + "MASK_LINKED_DEVICES": 0, + } +) + +func (x PlaceholderMessage_PlaceholderType) Enum() *PlaceholderMessage_PlaceholderType { + p := new(PlaceholderMessage_PlaceholderType) + *p = x + return p +} + +func (x PlaceholderMessage_PlaceholderType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PlaceholderMessage_PlaceholderType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[38].Descriptor() +} + +func (PlaceholderMessage_PlaceholderType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[38] +} + +func (x PlaceholderMessage_PlaceholderType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *PlaceholderMessage_PlaceholderType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = PlaceholderMessage_PlaceholderType(num) + return nil +} + +// Deprecated: Use PlaceholderMessage_PlaceholderType.Descriptor instead. +func (PlaceholderMessage_PlaceholderType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{83, 0} } type PinInChatMessage_Type int32 @@ -1969,11 +2540,11 @@ func (x PinInChatMessage_Type) String() string { } func (PinInChatMessage_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[30].Descriptor() + return file_binary_proto_def_proto_enumTypes[39].Descriptor() } func (PinInChatMessage_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[30] + return &file_binary_proto_def_proto_enumTypes[39] } func (x PinInChatMessage_Type) Number() protoreflect.EnumNumber { @@ -1992,7 +2563,7 @@ func (x *PinInChatMessage_Type) UnmarshalJSON(b []byte) error { // Deprecated: Use PinInChatMessage_Type.Descriptor instead. func (PinInChatMessage_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{78, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{84, 0} } type PaymentInviteMessage_ServiceType int32 @@ -2031,11 +2602,11 @@ func (x PaymentInviteMessage_ServiceType) String() string { } func (PaymentInviteMessage_ServiceType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[31].Descriptor() + return file_binary_proto_def_proto_enumTypes[40].Descriptor() } func (PaymentInviteMessage_ServiceType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[31] + return &file_binary_proto_def_proto_enumTypes[40] } func (x PaymentInviteMessage_ServiceType) Number() protoreflect.EnumNumber { @@ -2054,7 +2625,7 @@ func (x *PaymentInviteMessage_ServiceType) UnmarshalJSON(b []byte) error { // Deprecated: Use PaymentInviteMessage_ServiceType.Descriptor instead. func (PaymentInviteMessage_ServiceType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{81, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{87, 0} } type OrderMessage_OrderSurface int32 @@ -2084,11 +2655,11 @@ func (x OrderMessage_OrderSurface) String() string { } func (OrderMessage_OrderSurface) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[32].Descriptor() + return file_binary_proto_def_proto_enumTypes[41].Descriptor() } func (OrderMessage_OrderSurface) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[32] + return &file_binary_proto_def_proto_enumTypes[41] } func (x OrderMessage_OrderSurface) Number() protoreflect.EnumNumber { @@ -2107,22 +2678,28 @@ func (x *OrderMessage_OrderSurface) UnmarshalJSON(b []byte) error { // Deprecated: Use OrderMessage_OrderSurface.Descriptor instead. func (OrderMessage_OrderSurface) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{82, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{88, 0} } type OrderMessage_OrderStatus int32 const ( - OrderMessage_INQUIRY OrderMessage_OrderStatus = 1 + OrderMessage_INQUIRY OrderMessage_OrderStatus = 1 + OrderMessage_ACCEPTED OrderMessage_OrderStatus = 2 + OrderMessage_DECLINED OrderMessage_OrderStatus = 3 ) // Enum value maps for OrderMessage_OrderStatus. var ( OrderMessage_OrderStatus_name = map[int32]string{ 1: "INQUIRY", + 2: "ACCEPTED", + 3: "DECLINED", } OrderMessage_OrderStatus_value = map[string]int32{ - "INQUIRY": 1, + "INQUIRY": 1, + "ACCEPTED": 2, + "DECLINED": 3, } ) @@ -2137,11 +2714,11 @@ func (x OrderMessage_OrderStatus) String() string { } func (OrderMessage_OrderStatus) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[33].Descriptor() + return file_binary_proto_def_proto_enumTypes[42].Descriptor() } func (OrderMessage_OrderStatus) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[33] + return &file_binary_proto_def_proto_enumTypes[42] } func (x OrderMessage_OrderStatus) Number() protoreflect.EnumNumber { @@ -2160,7 +2737,296 @@ func (x *OrderMessage_OrderStatus) UnmarshalJSON(b []byte) error { // Deprecated: Use OrderMessage_OrderStatus.Descriptor instead. func (OrderMessage_OrderStatus) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{82, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{88, 1} +} + +type ListResponseMessage_ListType int32 + +const ( + ListResponseMessage_UNKNOWN ListResponseMessage_ListType = 0 + ListResponseMessage_SINGLE_SELECT ListResponseMessage_ListType = 1 +) + +// Enum value maps for ListResponseMessage_ListType. +var ( + ListResponseMessage_ListType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "SINGLE_SELECT", + } + ListResponseMessage_ListType_value = map[string]int32{ + "UNKNOWN": 0, + "SINGLE_SELECT": 1, + } +) + +func (x ListResponseMessage_ListType) Enum() *ListResponseMessage_ListType { + p := new(ListResponseMessage_ListType) + *p = x + return p +} + +func (x ListResponseMessage_ListType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ListResponseMessage_ListType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[43].Descriptor() +} + +func (ListResponseMessage_ListType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[43] +} + +func (x ListResponseMessage_ListType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ListResponseMessage_ListType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ListResponseMessage_ListType(num) + return nil +} + +// Deprecated: Use ListResponseMessage_ListType.Descriptor instead. +func (ListResponseMessage_ListType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{93, 0} +} + +type ListMessage_ListType int32 + +const ( + ListMessage_UNKNOWN ListMessage_ListType = 0 + ListMessage_SINGLE_SELECT ListMessage_ListType = 1 + ListMessage_PRODUCT_LIST ListMessage_ListType = 2 +) + +// Enum value maps for ListMessage_ListType. +var ( + ListMessage_ListType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "SINGLE_SELECT", + 2: "PRODUCT_LIST", + } + ListMessage_ListType_value = map[string]int32{ + "UNKNOWN": 0, + "SINGLE_SELECT": 1, + "PRODUCT_LIST": 2, + } +) + +func (x ListMessage_ListType) Enum() *ListMessage_ListType { + p := new(ListMessage_ListType) + *p = x + return p +} + +func (x ListMessage_ListType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ListMessage_ListType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[44].Descriptor() +} + +func (ListMessage_ListType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[44] +} + +func (x ListMessage_ListType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ListMessage_ListType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ListMessage_ListType(num) + return nil +} + +// Deprecated: Use ListMessage_ListType.Descriptor instead. +func (ListMessage_ListType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{94, 0} +} + +type InvoiceMessage_AttachmentType int32 + +const ( + InvoiceMessage_IMAGE InvoiceMessage_AttachmentType = 0 + InvoiceMessage_PDF InvoiceMessage_AttachmentType = 1 +) + +// Enum value maps for InvoiceMessage_AttachmentType. +var ( + InvoiceMessage_AttachmentType_name = map[int32]string{ + 0: "IMAGE", + 1: "PDF", + } + InvoiceMessage_AttachmentType_value = map[string]int32{ + "IMAGE": 0, + "PDF": 1, + } +) + +func (x InvoiceMessage_AttachmentType) Enum() *InvoiceMessage_AttachmentType { + p := new(InvoiceMessage_AttachmentType) + *p = x + return p +} + +func (x InvoiceMessage_AttachmentType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (InvoiceMessage_AttachmentType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[45].Descriptor() +} + +func (InvoiceMessage_AttachmentType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[45] +} + +func (x InvoiceMessage_AttachmentType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *InvoiceMessage_AttachmentType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = InvoiceMessage_AttachmentType(num) + return nil +} + +// Deprecated: Use InvoiceMessage_AttachmentType.Descriptor instead. +func (InvoiceMessage_AttachmentType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{96, 0} +} + +type InteractiveResponseMessage_Body_Format int32 + +const ( + InteractiveResponseMessage_Body_DEFAULT InteractiveResponseMessage_Body_Format = 0 + InteractiveResponseMessage_Body_EXTENSIONS_1 InteractiveResponseMessage_Body_Format = 1 +) + +// Enum value maps for InteractiveResponseMessage_Body_Format. +var ( + InteractiveResponseMessage_Body_Format_name = map[int32]string{ + 0: "DEFAULT", + 1: "EXTENSIONS_1", + } + InteractiveResponseMessage_Body_Format_value = map[string]int32{ + "DEFAULT": 0, + "EXTENSIONS_1": 1, + } +) + +func (x InteractiveResponseMessage_Body_Format) Enum() *InteractiveResponseMessage_Body_Format { + p := new(InteractiveResponseMessage_Body_Format) + *p = x + return p +} + +func (x InteractiveResponseMessage_Body_Format) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (InteractiveResponseMessage_Body_Format) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[46].Descriptor() +} + +func (InteractiveResponseMessage_Body_Format) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[46] +} + +func (x InteractiveResponseMessage_Body_Format) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *InteractiveResponseMessage_Body_Format) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = InteractiveResponseMessage_Body_Format(num) + return nil +} + +// Deprecated: Use InteractiveResponseMessage_Body_Format.Descriptor instead. +func (InteractiveResponseMessage_Body_Format) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{97, 1, 0} +} + +type InteractiveMessage_ShopMessage_Surface int32 + +const ( + InteractiveMessage_ShopMessage_UNKNOWN_SURFACE InteractiveMessage_ShopMessage_Surface = 0 + InteractiveMessage_ShopMessage_FB InteractiveMessage_ShopMessage_Surface = 1 + InteractiveMessage_ShopMessage_IG InteractiveMessage_ShopMessage_Surface = 2 + InteractiveMessage_ShopMessage_WA InteractiveMessage_ShopMessage_Surface = 3 +) + +// Enum value maps for InteractiveMessage_ShopMessage_Surface. +var ( + InteractiveMessage_ShopMessage_Surface_name = map[int32]string{ + 0: "UNKNOWN_SURFACE", + 1: "FB", + 2: "IG", + 3: "WA", + } + InteractiveMessage_ShopMessage_Surface_value = map[string]int32{ + "UNKNOWN_SURFACE": 0, + "FB": 1, + "IG": 2, + "WA": 3, + } +) + +func (x InteractiveMessage_ShopMessage_Surface) Enum() *InteractiveMessage_ShopMessage_Surface { + p := new(InteractiveMessage_ShopMessage_Surface) + *p = x + return p +} + +func (x InteractiveMessage_ShopMessage_Surface) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (InteractiveMessage_ShopMessage_Surface) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[47].Descriptor() +} + +func (InteractiveMessage_ShopMessage_Surface) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[47] +} + +func (x InteractiveMessage_ShopMessage_Surface) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *InteractiveMessage_ShopMessage_Surface) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = InteractiveMessage_ShopMessage_Surface(num) + return nil +} + +// Deprecated: Use InteractiveMessage_ShopMessage_Surface.Descriptor instead. +func (InteractiveMessage_ShopMessage_Surface) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 6, 0} } type PastParticipant_LeaveReason int32 @@ -2193,11 +3059,11 @@ func (x PastParticipant_LeaveReason) String() string { } func (PastParticipant_LeaveReason) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[34].Descriptor() + return file_binary_proto_def_proto_enumTypes[48].Descriptor() } func (PastParticipant_LeaveReason) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[34] + return &file_binary_proto_def_proto_enumTypes[48] } func (x PastParticipant_LeaveReason) Number() protoreflect.EnumNumber { @@ -2216,7 +3082,7 @@ func (x *PastParticipant_LeaveReason) UnmarshalJSON(b []byte) error { // Deprecated: Use PastParticipant_LeaveReason.Descriptor instead. func (PastParticipant_LeaveReason) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{89, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{105, 0} } type HistorySync_HistorySyncType int32 @@ -2264,11 +3130,11 @@ func (x HistorySync_HistorySyncType) String() string { } func (HistorySync_HistorySyncType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[35].Descriptor() + return file_binary_proto_def_proto_enumTypes[49].Descriptor() } func (HistorySync_HistorySyncType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[35] + return &file_binary_proto_def_proto_enumTypes[49] } func (x HistorySync_HistorySyncType) Number() protoreflect.EnumNumber { @@ -2287,7 +3153,63 @@ func (x *HistorySync_HistorySyncType) UnmarshalJSON(b []byte) error { // Deprecated: Use HistorySync_HistorySyncType.Descriptor instead. func (HistorySync_HistorySyncType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{91, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{107, 0} +} + +type HistorySync_BotAIWaitListState int32 + +const ( + HistorySync_IN_WAITLIST HistorySync_BotAIWaitListState = 0 + HistorySync_AI_AVAILABLE HistorySync_BotAIWaitListState = 1 +) + +// Enum value maps for HistorySync_BotAIWaitListState. +var ( + HistorySync_BotAIWaitListState_name = map[int32]string{ + 0: "IN_WAITLIST", + 1: "AI_AVAILABLE", + } + HistorySync_BotAIWaitListState_value = map[string]int32{ + "IN_WAITLIST": 0, + "AI_AVAILABLE": 1, + } +) + +func (x HistorySync_BotAIWaitListState) Enum() *HistorySync_BotAIWaitListState { + p := new(HistorySync_BotAIWaitListState) + *p = x + return p +} + +func (x HistorySync_BotAIWaitListState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (HistorySync_BotAIWaitListState) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[50].Descriptor() +} + +func (HistorySync_BotAIWaitListState) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[50] +} + +func (x HistorySync_BotAIWaitListState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *HistorySync_BotAIWaitListState) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = HistorySync_BotAIWaitListState(num) + return nil +} + +// Deprecated: Use HistorySync_BotAIWaitListState.Descriptor instead. +func (HistorySync_BotAIWaitListState) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{107, 1} } type GroupParticipant_Rank int32 @@ -2323,11 +3245,11 @@ func (x GroupParticipant_Rank) String() string { } func (GroupParticipant_Rank) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[36].Descriptor() + return file_binary_proto_def_proto_enumTypes[51].Descriptor() } func (GroupParticipant_Rank) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[36] + return &file_binary_proto_def_proto_enumTypes[51] } func (x GroupParticipant_Rank) Number() protoreflect.EnumNumber { @@ -2346,7 +3268,7 @@ func (x *GroupParticipant_Rank) UnmarshalJSON(b []byte) error { // Deprecated: Use GroupParticipant_Rank.Descriptor instead. func (GroupParticipant_Rank) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{93, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{109, 0} } type Conversation_EndOfHistoryTransferType int32 @@ -2382,11 +3304,11 @@ func (x Conversation_EndOfHistoryTransferType) String() string { } func (Conversation_EndOfHistoryTransferType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[37].Descriptor() + return file_binary_proto_def_proto_enumTypes[52].Descriptor() } func (Conversation_EndOfHistoryTransferType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[37] + return &file_binary_proto_def_proto_enumTypes[52] } func (x Conversation_EndOfHistoryTransferType) Number() protoreflect.EnumNumber { @@ -2405,7 +3327,7 @@ func (x *Conversation_EndOfHistoryTransferType) UnmarshalJSON(b []byte) error { // Deprecated: Use Conversation_EndOfHistoryTransferType.Descriptor instead. func (Conversation_EndOfHistoryTransferType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{95, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{111, 0} } type MediaRetryNotification_ResultType int32 @@ -2444,11 +3366,11 @@ func (x MediaRetryNotification_ResultType) String() string { } func (MediaRetryNotification_ResultType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[38].Descriptor() + return file_binary_proto_def_proto_enumTypes[53].Descriptor() } func (MediaRetryNotification_ResultType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[38] + return &file_binary_proto_def_proto_enumTypes[53] } func (x MediaRetryNotification_ResultType) Number() protoreflect.EnumNumber { @@ -2467,7 +3389,7 @@ func (x *MediaRetryNotification_ResultType) UnmarshalJSON(b []byte) error { // Deprecated: Use MediaRetryNotification_ResultType.Descriptor instead. func (MediaRetryNotification_ResultType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{99, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{115, 0} } type SyncdMutation_SyncdOperation int32 @@ -2500,11 +3422,11 @@ func (x SyncdMutation_SyncdOperation) String() string { } func (SyncdMutation_SyncdOperation) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[39].Descriptor() + return file_binary_proto_def_proto_enumTypes[54].Descriptor() } func (SyncdMutation_SyncdOperation) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[39] + return &file_binary_proto_def_proto_enumTypes[54] } func (x SyncdMutation_SyncdOperation) Number() protoreflect.EnumNumber { @@ -2523,7 +3445,66 @@ func (x *SyncdMutation_SyncdOperation) UnmarshalJSON(b []byte) error { // Deprecated: Use SyncdMutation_SyncdOperation.Descriptor instead. func (SyncdMutation_SyncdOperation) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{107, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{123, 0} +} + +type StatusPrivacyAction_StatusDistributionMode int32 + +const ( + StatusPrivacyAction_ALLOW_LIST StatusPrivacyAction_StatusDistributionMode = 0 + StatusPrivacyAction_DENY_LIST StatusPrivacyAction_StatusDistributionMode = 1 + StatusPrivacyAction_CONTACTS StatusPrivacyAction_StatusDistributionMode = 2 +) + +// Enum value maps for StatusPrivacyAction_StatusDistributionMode. +var ( + StatusPrivacyAction_StatusDistributionMode_name = map[int32]string{ + 0: "ALLOW_LIST", + 1: "DENY_LIST", + 2: "CONTACTS", + } + StatusPrivacyAction_StatusDistributionMode_value = map[string]int32{ + "ALLOW_LIST": 0, + "DENY_LIST": 1, + "CONTACTS": 2, + } +) + +func (x StatusPrivacyAction_StatusDistributionMode) Enum() *StatusPrivacyAction_StatusDistributionMode { + p := new(StatusPrivacyAction_StatusDistributionMode) + *p = x + return p +} + +func (x StatusPrivacyAction_StatusDistributionMode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (StatusPrivacyAction_StatusDistributionMode) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[55].Descriptor() +} + +func (StatusPrivacyAction_StatusDistributionMode) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[55] +} + +func (x StatusPrivacyAction_StatusDistributionMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *StatusPrivacyAction_StatusDistributionMode) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = StatusPrivacyAction_StatusDistributionMode(num) + return nil +} + +// Deprecated: Use StatusPrivacyAction_StatusDistributionMode.Descriptor instead. +func (StatusPrivacyAction_StatusDistributionMode) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{137, 0} } type MarketingMessageAction_MarketingMessagePrototypeType int32 @@ -2553,11 +3534,11 @@ func (x MarketingMessageAction_MarketingMessagePrototypeType) String() string { } func (MarketingMessageAction_MarketingMessagePrototypeType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[40].Descriptor() + return file_binary_proto_def_proto_enumTypes[56].Descriptor() } func (MarketingMessageAction_MarketingMessagePrototypeType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[40] + return &file_binary_proto_def_proto_enumTypes[56] } func (x MarketingMessageAction_MarketingMessagePrototypeType) Number() protoreflect.EnumNumber { @@ -2576,7 +3557,282 @@ func (x *MarketingMessageAction_MarketingMessagePrototypeType) UnmarshalJSON(b [ // Deprecated: Use MarketingMessageAction_MarketingMessagePrototypeType.Descriptor instead. func (MarketingMessageAction_MarketingMessagePrototypeType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{134, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{154, 0} +} + +type PatchDebugData_Platform int32 + +const ( + PatchDebugData_ANDROID PatchDebugData_Platform = 0 + PatchDebugData_SMBA PatchDebugData_Platform = 1 + PatchDebugData_IPHONE PatchDebugData_Platform = 2 + PatchDebugData_SMBI PatchDebugData_Platform = 3 + PatchDebugData_WEB PatchDebugData_Platform = 4 + PatchDebugData_UWP PatchDebugData_Platform = 5 + PatchDebugData_DARWIN PatchDebugData_Platform = 6 +) + +// Enum value maps for PatchDebugData_Platform. +var ( + PatchDebugData_Platform_name = map[int32]string{ + 0: "ANDROID", + 1: "SMBA", + 2: "IPHONE", + 3: "SMBI", + 4: "WEB", + 5: "UWP", + 6: "DARWIN", + } + PatchDebugData_Platform_value = map[string]int32{ + "ANDROID": 0, + "SMBA": 1, + "IPHONE": 2, + "SMBI": 3, + "WEB": 4, + "UWP": 5, + "DARWIN": 6, + } +) + +func (x PatchDebugData_Platform) Enum() *PatchDebugData_Platform { + p := new(PatchDebugData_Platform) + *p = x + return p +} + +func (x PatchDebugData_Platform) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PatchDebugData_Platform) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[57].Descriptor() +} + +func (PatchDebugData_Platform) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[57] +} + +func (x PatchDebugData_Platform) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *PatchDebugData_Platform) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = PatchDebugData_Platform(num) + return nil +} + +// Deprecated: Use PatchDebugData_Platform.Descriptor instead. +func (PatchDebugData_Platform) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{180, 0} +} + +type CallLogRecord_SilenceReason int32 + +const ( + CallLogRecord_NONE CallLogRecord_SilenceReason = 0 + CallLogRecord_SCHEDULED CallLogRecord_SilenceReason = 1 + CallLogRecord_PRIVACY CallLogRecord_SilenceReason = 2 + CallLogRecord_LIGHTWEIGHT CallLogRecord_SilenceReason = 3 +) + +// Enum value maps for CallLogRecord_SilenceReason. +var ( + CallLogRecord_SilenceReason_name = map[int32]string{ + 0: "NONE", + 1: "SCHEDULED", + 2: "PRIVACY", + 3: "LIGHTWEIGHT", + } + CallLogRecord_SilenceReason_value = map[string]int32{ + "NONE": 0, + "SCHEDULED": 1, + "PRIVACY": 2, + "LIGHTWEIGHT": 3, + } +) + +func (x CallLogRecord_SilenceReason) Enum() *CallLogRecord_SilenceReason { + p := new(CallLogRecord_SilenceReason) + *p = x + return p +} + +func (x CallLogRecord_SilenceReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CallLogRecord_SilenceReason) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[58].Descriptor() +} + +func (CallLogRecord_SilenceReason) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[58] +} + +func (x CallLogRecord_SilenceReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *CallLogRecord_SilenceReason) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = CallLogRecord_SilenceReason(num) + return nil +} + +// Deprecated: Use CallLogRecord_SilenceReason.Descriptor instead. +func (CallLogRecord_SilenceReason) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{181, 0} +} + +type CallLogRecord_CallType int32 + +const ( + CallLogRecord_REGULAR CallLogRecord_CallType = 0 + CallLogRecord_SCHEDULED_CALL CallLogRecord_CallType = 1 + CallLogRecord_VOICE_CHAT CallLogRecord_CallType = 2 +) + +// Enum value maps for CallLogRecord_CallType. +var ( + CallLogRecord_CallType_name = map[int32]string{ + 0: "REGULAR", + 1: "SCHEDULED_CALL", + 2: "VOICE_CHAT", + } + CallLogRecord_CallType_value = map[string]int32{ + "REGULAR": 0, + "SCHEDULED_CALL": 1, + "VOICE_CHAT": 2, + } +) + +func (x CallLogRecord_CallType) Enum() *CallLogRecord_CallType { + p := new(CallLogRecord_CallType) + *p = x + return p +} + +func (x CallLogRecord_CallType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CallLogRecord_CallType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[59].Descriptor() +} + +func (CallLogRecord_CallType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[59] +} + +func (x CallLogRecord_CallType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *CallLogRecord_CallType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = CallLogRecord_CallType(num) + return nil +} + +// Deprecated: Use CallLogRecord_CallType.Descriptor instead. +func (CallLogRecord_CallType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{181, 1} +} + +type CallLogRecord_CallResult int32 + +const ( + CallLogRecord_CONNECTED CallLogRecord_CallResult = 0 + CallLogRecord_REJECTED CallLogRecord_CallResult = 1 + CallLogRecord_CANCELLED CallLogRecord_CallResult = 2 + CallLogRecord_ACCEPTEDELSEWHERE CallLogRecord_CallResult = 3 + CallLogRecord_MISSED CallLogRecord_CallResult = 4 + CallLogRecord_INVALID CallLogRecord_CallResult = 5 + CallLogRecord_UNAVAILABLE CallLogRecord_CallResult = 6 + CallLogRecord_UPCOMING CallLogRecord_CallResult = 7 + CallLogRecord_FAILED CallLogRecord_CallResult = 8 + CallLogRecord_ABANDONED CallLogRecord_CallResult = 9 + CallLogRecord_ONGOING CallLogRecord_CallResult = 10 +) + +// Enum value maps for CallLogRecord_CallResult. +var ( + CallLogRecord_CallResult_name = map[int32]string{ + 0: "CONNECTED", + 1: "REJECTED", + 2: "CANCELLED", + 3: "ACCEPTEDELSEWHERE", + 4: "MISSED", + 5: "INVALID", + 6: "UNAVAILABLE", + 7: "UPCOMING", + 8: "FAILED", + 9: "ABANDONED", + 10: "ONGOING", + } + CallLogRecord_CallResult_value = map[string]int32{ + "CONNECTED": 0, + "REJECTED": 1, + "CANCELLED": 2, + "ACCEPTEDELSEWHERE": 3, + "MISSED": 4, + "INVALID": 5, + "UNAVAILABLE": 6, + "UPCOMING": 7, + "FAILED": 8, + "ABANDONED": 9, + "ONGOING": 10, + } +) + +func (x CallLogRecord_CallResult) Enum() *CallLogRecord_CallResult { + p := new(CallLogRecord_CallResult) + *p = x + return p +} + +func (x CallLogRecord_CallResult) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CallLogRecord_CallResult) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[60].Descriptor() +} + +func (CallLogRecord_CallResult) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[60] +} + +func (x CallLogRecord_CallResult) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *CallLogRecord_CallResult) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = CallLogRecord_CallResult(num) + return nil +} + +// Deprecated: Use CallLogRecord_CallResult.Descriptor instead. +func (CallLogRecord_CallResult) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{181, 2} } type BizIdentityInfo_VerifiedLevelValue int32 @@ -2612,11 +3868,11 @@ func (x BizIdentityInfo_VerifiedLevelValue) String() string { } func (BizIdentityInfo_VerifiedLevelValue) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[41].Descriptor() + return file_binary_proto_def_proto_enumTypes[61].Descriptor() } func (BizIdentityInfo_VerifiedLevelValue) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[41] + return &file_binary_proto_def_proto_enumTypes[61] } func (x BizIdentityInfo_VerifiedLevelValue) Number() protoreflect.EnumNumber { @@ -2635,7 +3891,7 @@ func (x *BizIdentityInfo_VerifiedLevelValue) UnmarshalJSON(b []byte) error { // Deprecated: Use BizIdentityInfo_VerifiedLevelValue.Descriptor instead. func (BizIdentityInfo_VerifiedLevelValue) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{154, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{184, 0} } type BizIdentityInfo_HostStorageType int32 @@ -2668,11 +3924,11 @@ func (x BizIdentityInfo_HostStorageType) String() string { } func (BizIdentityInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[42].Descriptor() + return file_binary_proto_def_proto_enumTypes[62].Descriptor() } func (BizIdentityInfo_HostStorageType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[42] + return &file_binary_proto_def_proto_enumTypes[62] } func (x BizIdentityInfo_HostStorageType) Number() protoreflect.EnumNumber { @@ -2691,7 +3947,7 @@ func (x *BizIdentityInfo_HostStorageType) UnmarshalJSON(b []byte) error { // Deprecated: Use BizIdentityInfo_HostStorageType.Descriptor instead. func (BizIdentityInfo_HostStorageType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{154, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{184, 1} } type BizIdentityInfo_ActualActorsType int32 @@ -2724,11 +3980,11 @@ func (x BizIdentityInfo_ActualActorsType) String() string { } func (BizIdentityInfo_ActualActorsType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[43].Descriptor() + return file_binary_proto_def_proto_enumTypes[63].Descriptor() } func (BizIdentityInfo_ActualActorsType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[43] + return &file_binary_proto_def_proto_enumTypes[63] } func (x BizIdentityInfo_ActualActorsType) Number() protoreflect.EnumNumber { @@ -2747,7 +4003,7 @@ func (x *BizIdentityInfo_ActualActorsType) UnmarshalJSON(b []byte) error { // Deprecated: Use BizIdentityInfo_ActualActorsType.Descriptor instead. func (BizIdentityInfo_ActualActorsType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{154, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{184, 2} } type BizAccountLinkInfo_HostStorageType int32 @@ -2780,11 +4036,11 @@ func (x BizAccountLinkInfo_HostStorageType) String() string { } func (BizAccountLinkInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[44].Descriptor() + return file_binary_proto_def_proto_enumTypes[64].Descriptor() } func (BizAccountLinkInfo_HostStorageType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[44] + return &file_binary_proto_def_proto_enumTypes[64] } func (x BizAccountLinkInfo_HostStorageType) Number() protoreflect.EnumNumber { @@ -2803,7 +4059,7 @@ func (x *BizAccountLinkInfo_HostStorageType) UnmarshalJSON(b []byte) error { // Deprecated: Use BizAccountLinkInfo_HostStorageType.Descriptor instead. func (BizAccountLinkInfo_HostStorageType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{156, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{186, 0} } type BizAccountLinkInfo_AccountType int32 @@ -2833,11 +4089,11 @@ func (x BizAccountLinkInfo_AccountType) String() string { } func (BizAccountLinkInfo_AccountType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[45].Descriptor() + return file_binary_proto_def_proto_enumTypes[65].Descriptor() } func (BizAccountLinkInfo_AccountType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[45] + return &file_binary_proto_def_proto_enumTypes[65] } func (x BizAccountLinkInfo_AccountType) Number() protoreflect.EnumNumber { @@ -2856,15 +4112,16 @@ func (x *BizAccountLinkInfo_AccountType) UnmarshalJSON(b []byte) error { // Deprecated: Use BizAccountLinkInfo_AccountType.Descriptor instead. func (BizAccountLinkInfo_AccountType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{156, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{186, 1} } type ClientPayload_Product int32 const ( - ClientPayload_WHATSAPP ClientPayload_Product = 0 - ClientPayload_MESSENGER ClientPayload_Product = 1 - ClientPayload_INTEROP ClientPayload_Product = 2 + ClientPayload_WHATSAPP ClientPayload_Product = 0 + ClientPayload_MESSENGER ClientPayload_Product = 1 + ClientPayload_INTEROP ClientPayload_Product = 2 + ClientPayload_INTEROP_MSGR ClientPayload_Product = 3 ) // Enum value maps for ClientPayload_Product. @@ -2873,11 +4130,13 @@ var ( 0: "WHATSAPP", 1: "MESSENGER", 2: "INTEROP", + 3: "INTEROP_MSGR", } ClientPayload_Product_value = map[string]int32{ - "WHATSAPP": 0, - "MESSENGER": 1, - "INTEROP": 2, + "WHATSAPP": 0, + "MESSENGER": 1, + "INTEROP": 2, + "INTEROP_MSGR": 3, } ) @@ -2892,11 +4151,11 @@ func (x ClientPayload_Product) String() string { } func (ClientPayload_Product) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[46].Descriptor() + return file_binary_proto_def_proto_enumTypes[66].Descriptor() } func (ClientPayload_Product) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[46] + return &file_binary_proto_def_proto_enumTypes[66] } func (x ClientPayload_Product) Number() protoreflect.EnumNumber { @@ -2915,7 +4174,7 @@ func (x *ClientPayload_Product) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_Product.Descriptor instead. func (ClientPayload_Product) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 0} } type ClientPayload_IOSAppExtension int32 @@ -2951,11 +4210,11 @@ func (x ClientPayload_IOSAppExtension) String() string { } func (ClientPayload_IOSAppExtension) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[47].Descriptor() + return file_binary_proto_def_proto_enumTypes[67].Descriptor() } func (ClientPayload_IOSAppExtension) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[47] + return &file_binary_proto_def_proto_enumTypes[67] } func (x ClientPayload_IOSAppExtension) Number() protoreflect.EnumNumber { @@ -2974,7 +4233,7 @@ func (x *ClientPayload_IOSAppExtension) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_IOSAppExtension.Descriptor instead. func (ClientPayload_IOSAppExtension) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 1} } type ClientPayload_ConnectType int32 @@ -3046,11 +4305,11 @@ func (x ClientPayload_ConnectType) String() string { } func (ClientPayload_ConnectType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[48].Descriptor() + return file_binary_proto_def_proto_enumTypes[68].Descriptor() } func (ClientPayload_ConnectType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[48] + return &file_binary_proto_def_proto_enumTypes[68] } func (x ClientPayload_ConnectType) Number() protoreflect.EnumNumber { @@ -3069,7 +4328,7 @@ func (x *ClientPayload_ConnectType) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_ConnectType.Descriptor instead. func (ClientPayload_ConnectType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 2} } type ClientPayload_ConnectReason int32 @@ -3117,11 +4376,11 @@ func (x ClientPayload_ConnectReason) String() string { } func (ClientPayload_ConnectReason) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[49].Descriptor() + return file_binary_proto_def_proto_enumTypes[69].Descriptor() } func (ClientPayload_ConnectReason) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[49] + return &file_binary_proto_def_proto_enumTypes[69] } func (x ClientPayload_ConnectReason) Number() protoreflect.EnumNumber { @@ -3140,7 +4399,7 @@ func (x *ClientPayload_ConnectReason) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_ConnectReason.Descriptor instead. func (ClientPayload_ConnectReason) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 3} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 3} } type ClientPayload_WebInfo_WebSubPlatform int32 @@ -3182,11 +4441,11 @@ func (x ClientPayload_WebInfo_WebSubPlatform) String() string { } func (ClientPayload_WebInfo_WebSubPlatform) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[50].Descriptor() + return file_binary_proto_def_proto_enumTypes[70].Descriptor() } func (ClientPayload_WebInfo_WebSubPlatform) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[50] + return &file_binary_proto_def_proto_enumTypes[70] } func (x ClientPayload_WebInfo_WebSubPlatform) Number() protoreflect.EnumNumber { @@ -3205,7 +4464,7 @@ func (x *ClientPayload_WebInfo_WebSubPlatform) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_WebInfo_WebSubPlatform.Descriptor instead. func (ClientPayload_WebInfo_WebSubPlatform) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 0, 0} } type ClientPayload_UserAgent_ReleaseChannel int32 @@ -3244,11 +4503,11 @@ func (x ClientPayload_UserAgent_ReleaseChannel) String() string { } func (ClientPayload_UserAgent_ReleaseChannel) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[51].Descriptor() + return file_binary_proto_def_proto_enumTypes[71].Descriptor() } func (ClientPayload_UserAgent_ReleaseChannel) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[51] + return &file_binary_proto_def_proto_enumTypes[71] } func (x ClientPayload_UserAgent_ReleaseChannel) Number() protoreflect.EnumNumber { @@ -3267,7 +4526,7 @@ func (x *ClientPayload_UserAgent_ReleaseChannel) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_UserAgent_ReleaseChannel.Descriptor instead. func (ClientPayload_UserAgent_ReleaseChannel) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 1, 0} } type ClientPayload_UserAgent_Platform int32 @@ -3307,6 +4566,8 @@ const ( ClientPayload_UserAgent_VRDEVICE ClientPayload_UserAgent_Platform = 31 ClientPayload_UserAgent_BLUE_WEB ClientPayload_UserAgent_Platform = 32 ClientPayload_UserAgent_IPAD ClientPayload_UserAgent_Platform = 33 + ClientPayload_UserAgent_TEST ClientPayload_UserAgent_Platform = 34 + ClientPayload_UserAgent_SMART_GLASSES ClientPayload_UserAgent_Platform = 35 ) // Enum value maps for ClientPayload_UserAgent_Platform. @@ -3346,6 +4607,8 @@ var ( 31: "VRDEVICE", 32: "BLUE_WEB", 33: "IPAD", + 34: "TEST", + 35: "SMART_GLASSES", } ClientPayload_UserAgent_Platform_value = map[string]int32{ "ANDROID": 0, @@ -3382,6 +4645,8 @@ var ( "VRDEVICE": 31, "BLUE_WEB": 32, "IPAD": 33, + "TEST": 34, + "SMART_GLASSES": 35, } ) @@ -3396,11 +4661,11 @@ func (x ClientPayload_UserAgent_Platform) String() string { } func (ClientPayload_UserAgent_Platform) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[52].Descriptor() + return file_binary_proto_def_proto_enumTypes[72].Descriptor() } func (ClientPayload_UserAgent_Platform) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[52] + return &file_binary_proto_def_proto_enumTypes[72] } func (x ClientPayload_UserAgent_Platform) Number() protoreflect.EnumNumber { @@ -3419,7 +4684,7 @@ func (x *ClientPayload_UserAgent_Platform) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_UserAgent_Platform.Descriptor instead. func (ClientPayload_UserAgent_Platform) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 1, 1} } type ClientPayload_UserAgent_DeviceType int32 @@ -3461,11 +4726,11 @@ func (x ClientPayload_UserAgent_DeviceType) String() string { } func (ClientPayload_UserAgent_DeviceType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[53].Descriptor() + return file_binary_proto_def_proto_enumTypes[73].Descriptor() } func (ClientPayload_UserAgent_DeviceType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[53] + return &file_binary_proto_def_proto_enumTypes[73] } func (x ClientPayload_UserAgent_DeviceType) Number() protoreflect.EnumNumber { @@ -3484,7 +4749,7 @@ func (x *ClientPayload_UserAgent_DeviceType) UnmarshalJSON(b []byte) error { // Deprecated: Use ClientPayload_UserAgent_DeviceType.Descriptor instead. func (ClientPayload_UserAgent_DeviceType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 1, 2} } type ClientPayload_DNSSource_DNSResolutionMethod int32 @@ -3526,11 +4791,11 @@ func (x ClientPayload_DNSSource_DNSResolutionMethod) String() string { } func (ClientPayload_DNSSource_DNSResolutionMethod) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[54].Descriptor() + return file_binary_proto_def_proto_enumTypes[74].Descriptor() } func (ClientPayload_DNSSource_DNSResolutionMethod) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[54] + return &file_binary_proto_def_proto_enumTypes[74] } func (x ClientPayload_DNSSource_DNSResolutionMethod) Number() protoreflect.EnumNumber { @@ -3549,7 +4814,7 @@ func (x *ClientPayload_DNSSource_DNSResolutionMethod) UnmarshalJSON(b []byte) er // Deprecated: Use ClientPayload_DNSSource_DNSResolutionMethod.Descriptor instead. func (ClientPayload_DNSSource_DNSResolutionMethod) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 4, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 4, 0} } type WebMessageInfo_StubType int32 @@ -3741,6 +5006,25 @@ const ( WebMessageInfo_EMPTY_SUBGROUP_CREATE WebMessageInfo_StubType = 183 WebMessageInfo_SCHEDULED_CALL_CANCEL WebMessageInfo_StubType = 184 WebMessageInfo_SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH WebMessageInfo_StubType = 185 + WebMessageInfo_GROUP_CHANGE_RECENT_HISTORY_SHARING WebMessageInfo_StubType = 186 + WebMessageInfo_PAID_MESSAGE_SERVER_CAMPAIGN_ID WebMessageInfo_StubType = 187 + WebMessageInfo_GENERAL_CHAT_CREATE WebMessageInfo_StubType = 188 + WebMessageInfo_GENERAL_CHAT_ADD WebMessageInfo_StubType = 189 + WebMessageInfo_GENERAL_CHAT_AUTO_ADD_DISABLED WebMessageInfo_StubType = 190 + WebMessageInfo_SUGGESTED_SUBGROUP_ANNOUNCE WebMessageInfo_StubType = 191 + WebMessageInfo_BIZ_BOT_1P_MESSAGING_ENABLED WebMessageInfo_StubType = 192 + WebMessageInfo_CHANGE_USERNAME WebMessageInfo_StubType = 193 + WebMessageInfo_BIZ_COEX_PRIVACY_INIT_SELF WebMessageInfo_StubType = 194 + WebMessageInfo_BIZ_COEX_PRIVACY_TRANSITION_SELF WebMessageInfo_StubType = 195 + WebMessageInfo_SUPPORT_AI_EDUCATION WebMessageInfo_StubType = 196 + WebMessageInfo_BIZ_BOT_3P_MESSAGING_ENABLED WebMessageInfo_StubType = 197 + WebMessageInfo_REMINDER_SETUP_MESSAGE WebMessageInfo_StubType = 198 + WebMessageInfo_REMINDER_SENT_MESSAGE WebMessageInfo_StubType = 199 + WebMessageInfo_REMINDER_CANCEL_MESSAGE WebMessageInfo_StubType = 200 + WebMessageInfo_BIZ_COEX_PRIVACY_INIT WebMessageInfo_StubType = 201 + WebMessageInfo_BIZ_COEX_PRIVACY_TRANSITION WebMessageInfo_StubType = 202 + WebMessageInfo_GROUP_DEACTIVATED WebMessageInfo_StubType = 203 + WebMessageInfo_COMMUNITY_DEACTIVATE_SIBLING_GROUP WebMessageInfo_StubType = 204 ) // Enum value maps for WebMessageInfo_StubType. @@ -3932,6 +5216,25 @@ var ( 183: "EMPTY_SUBGROUP_CREATE", 184: "SCHEDULED_CALL_CANCEL", 185: "SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH", + 186: "GROUP_CHANGE_RECENT_HISTORY_SHARING", + 187: "PAID_MESSAGE_SERVER_CAMPAIGN_ID", + 188: "GENERAL_CHAT_CREATE", + 189: "GENERAL_CHAT_ADD", + 190: "GENERAL_CHAT_AUTO_ADD_DISABLED", + 191: "SUGGESTED_SUBGROUP_ANNOUNCE", + 192: "BIZ_BOT_1P_MESSAGING_ENABLED", + 193: "CHANGE_USERNAME", + 194: "BIZ_COEX_PRIVACY_INIT_SELF", + 195: "BIZ_COEX_PRIVACY_TRANSITION_SELF", + 196: "SUPPORT_AI_EDUCATION", + 197: "BIZ_BOT_3P_MESSAGING_ENABLED", + 198: "REMINDER_SETUP_MESSAGE", + 199: "REMINDER_SENT_MESSAGE", + 200: "REMINDER_CANCEL_MESSAGE", + 201: "BIZ_COEX_PRIVACY_INIT", + 202: "BIZ_COEX_PRIVACY_TRANSITION", + 203: "GROUP_DEACTIVATED", + 204: "COMMUNITY_DEACTIVATE_SIBLING_GROUP", } WebMessageInfo_StubType_value = map[string]int32{ "UNKNOWN": 0, @@ -4120,6 +5423,25 @@ var ( "EMPTY_SUBGROUP_CREATE": 183, "SCHEDULED_CALL_CANCEL": 184, "SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH": 185, + "GROUP_CHANGE_RECENT_HISTORY_SHARING": 186, + "PAID_MESSAGE_SERVER_CAMPAIGN_ID": 187, + "GENERAL_CHAT_CREATE": 188, + "GENERAL_CHAT_ADD": 189, + "GENERAL_CHAT_AUTO_ADD_DISABLED": 190, + "SUGGESTED_SUBGROUP_ANNOUNCE": 191, + "BIZ_BOT_1P_MESSAGING_ENABLED": 192, + "CHANGE_USERNAME": 193, + "BIZ_COEX_PRIVACY_INIT_SELF": 194, + "BIZ_COEX_PRIVACY_TRANSITION_SELF": 195, + "SUPPORT_AI_EDUCATION": 196, + "BIZ_BOT_3P_MESSAGING_ENABLED": 197, + "REMINDER_SETUP_MESSAGE": 198, + "REMINDER_SENT_MESSAGE": 199, + "REMINDER_CANCEL_MESSAGE": 200, + "BIZ_COEX_PRIVACY_INIT": 201, + "BIZ_COEX_PRIVACY_TRANSITION": 202, + "GROUP_DEACTIVATED": 203, + "COMMUNITY_DEACTIVATE_SIBLING_GROUP": 204, } ) @@ -4134,11 +5456,11 @@ func (x WebMessageInfo_StubType) String() string { } func (WebMessageInfo_StubType) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[55].Descriptor() + return file_binary_proto_def_proto_enumTypes[75].Descriptor() } func (WebMessageInfo_StubType) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[55] + return &file_binary_proto_def_proto_enumTypes[75] } func (x WebMessageInfo_StubType) Number() protoreflect.EnumNumber { @@ -4157,7 +5479,7 @@ func (x *WebMessageInfo_StubType) UnmarshalJSON(b []byte) error { // Deprecated: Use WebMessageInfo_StubType.Descriptor instead. func (WebMessageInfo_StubType) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{163, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{193, 0} } type WebMessageInfo_Status int32 @@ -4202,11 +5524,11 @@ func (x WebMessageInfo_Status) String() string { } func (WebMessageInfo_Status) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[56].Descriptor() + return file_binary_proto_def_proto_enumTypes[76].Descriptor() } func (WebMessageInfo_Status) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[56] + return &file_binary_proto_def_proto_enumTypes[76] } func (x WebMessageInfo_Status) Number() protoreflect.EnumNumber { @@ -4225,7 +5547,7 @@ func (x *WebMessageInfo_Status) UnmarshalJSON(b []byte) error { // Deprecated: Use WebMessageInfo_Status.Descriptor instead. func (WebMessageInfo_Status) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{163, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{193, 1} } type WebMessageInfo_BizPrivacyStatus int32 @@ -4264,11 +5586,11 @@ func (x WebMessageInfo_BizPrivacyStatus) String() string { } func (WebMessageInfo_BizPrivacyStatus) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[57].Descriptor() + return file_binary_proto_def_proto_enumTypes[77].Descriptor() } func (WebMessageInfo_BizPrivacyStatus) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[57] + return &file_binary_proto_def_proto_enumTypes[77] } func (x WebMessageInfo_BizPrivacyStatus) Number() protoreflect.EnumNumber { @@ -4287,7 +5609,7 @@ func (x *WebMessageInfo_BizPrivacyStatus) UnmarshalJSON(b []byte) error { // Deprecated: Use WebMessageInfo_BizPrivacyStatus.Descriptor instead. func (WebMessageInfo_BizPrivacyStatus) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{163, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{193, 2} } type WebFeatures_Flag int32 @@ -4326,11 +5648,11 @@ func (x WebFeatures_Flag) String() string { } func (WebFeatures_Flag) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[58].Descriptor() + return file_binary_proto_def_proto_enumTypes[78].Descriptor() } func (WebFeatures_Flag) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[58] + return &file_binary_proto_def_proto_enumTypes[78] } func (x WebFeatures_Flag) Number() protoreflect.EnumNumber { @@ -4349,7 +5671,7 @@ func (x *WebFeatures_Flag) UnmarshalJSON(b []byte) error { // Deprecated: Use WebFeatures_Flag.Descriptor instead. func (WebFeatures_Flag) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{164, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{194, 0} } type PinInChat_Type int32 @@ -4385,11 +5707,11 @@ func (x PinInChat_Type) String() string { } func (PinInChat_Type) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[59].Descriptor() + return file_binary_proto_def_proto_enumTypes[79].Descriptor() } func (PinInChat_Type) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[59] + return &file_binary_proto_def_proto_enumTypes[79] } func (x PinInChat_Type) Number() protoreflect.EnumNumber { @@ -4408,7 +5730,7 @@ func (x *PinInChat_Type) UnmarshalJSON(b []byte) error { // Deprecated: Use PinInChat_Type.Descriptor instead. func (PinInChat_Type) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{170, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{202, 0} } type PaymentInfo_TxnStatus int32 @@ -4531,11 +5853,11 @@ func (x PaymentInfo_TxnStatus) String() string { } func (PaymentInfo_TxnStatus) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[60].Descriptor() + return file_binary_proto_def_proto_enumTypes[80].Descriptor() } func (PaymentInfo_TxnStatus) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[60] + return &file_binary_proto_def_proto_enumTypes[80] } func (x PaymentInfo_TxnStatus) Number() protoreflect.EnumNumber { @@ -4554,7 +5876,7 @@ func (x *PaymentInfo_TxnStatus) UnmarshalJSON(b []byte) error { // Deprecated: Use PaymentInfo_TxnStatus.Descriptor instead. func (PaymentInfo_TxnStatus) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{172, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{204, 0} } type PaymentInfo_Status int32 @@ -4617,11 +5939,11 @@ func (x PaymentInfo_Status) String() string { } func (PaymentInfo_Status) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[61].Descriptor() + return file_binary_proto_def_proto_enumTypes[81].Descriptor() } func (PaymentInfo_Status) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[61] + return &file_binary_proto_def_proto_enumTypes[81] } func (x PaymentInfo_Status) Number() protoreflect.EnumNumber { @@ -4640,7 +5962,7 @@ func (x *PaymentInfo_Status) UnmarshalJSON(b []byte) error { // Deprecated: Use PaymentInfo_Status.Descriptor instead. func (PaymentInfo_Status) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{172, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{204, 1} } type PaymentInfo_Currency int32 @@ -4673,11 +5995,11 @@ func (x PaymentInfo_Currency) String() string { } func (PaymentInfo_Currency) Descriptor() protoreflect.EnumDescriptor { - return file_binary_proto_def_proto_enumTypes[62].Descriptor() + return file_binary_proto_def_proto_enumTypes[82].Descriptor() } func (PaymentInfo_Currency) Type() protoreflect.EnumType { - return &file_binary_proto_def_proto_enumTypes[62] + return &file_binary_proto_def_proto_enumTypes[82] } func (x PaymentInfo_Currency) Number() protoreflect.EnumNumber { @@ -4696,7 +6018,352 @@ func (x *PaymentInfo_Currency) UnmarshalJSON(b []byte) error { // Deprecated: Use PaymentInfo_Currency.Descriptor instead. func (PaymentInfo_Currency) EnumDescriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{172, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{204, 2} +} + +type QP_FilterResult int32 + +const ( + QP_TRUE QP_FilterResult = 1 + QP_FALSE QP_FilterResult = 2 + QP_UNKNOWN QP_FilterResult = 3 +) + +// Enum value maps for QP_FilterResult. +var ( + QP_FilterResult_name = map[int32]string{ + 1: "TRUE", + 2: "FALSE", + 3: "UNKNOWN", + } + QP_FilterResult_value = map[string]int32{ + "TRUE": 1, + "FALSE": 2, + "UNKNOWN": 3, + } +) + +func (x QP_FilterResult) Enum() *QP_FilterResult { + p := new(QP_FilterResult) + *p = x + return p +} + +func (x QP_FilterResult) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (QP_FilterResult) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[83].Descriptor() +} + +func (QP_FilterResult) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[83] +} + +func (x QP_FilterResult) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *QP_FilterResult) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = QP_FilterResult(num) + return nil +} + +// Deprecated: Use QP_FilterResult.Descriptor instead. +func (QP_FilterResult) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{214, 0} +} + +type QP_FilterClientNotSupportedConfig int32 + +const ( + QP_PASS_BY_DEFAULT QP_FilterClientNotSupportedConfig = 1 + QP_FAIL_BY_DEFAULT QP_FilterClientNotSupportedConfig = 2 +) + +// Enum value maps for QP_FilterClientNotSupportedConfig. +var ( + QP_FilterClientNotSupportedConfig_name = map[int32]string{ + 1: "PASS_BY_DEFAULT", + 2: "FAIL_BY_DEFAULT", + } + QP_FilterClientNotSupportedConfig_value = map[string]int32{ + "PASS_BY_DEFAULT": 1, + "FAIL_BY_DEFAULT": 2, + } +) + +func (x QP_FilterClientNotSupportedConfig) Enum() *QP_FilterClientNotSupportedConfig { + p := new(QP_FilterClientNotSupportedConfig) + *p = x + return p +} + +func (x QP_FilterClientNotSupportedConfig) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (QP_FilterClientNotSupportedConfig) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[84].Descriptor() +} + +func (QP_FilterClientNotSupportedConfig) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[84] +} + +func (x QP_FilterClientNotSupportedConfig) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *QP_FilterClientNotSupportedConfig) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = QP_FilterClientNotSupportedConfig(num) + return nil +} + +// Deprecated: Use QP_FilterClientNotSupportedConfig.Descriptor instead. +func (QP_FilterClientNotSupportedConfig) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{214, 1} +} + +type QP_ClauseType int32 + +const ( + QP_AND QP_ClauseType = 1 + QP_OR QP_ClauseType = 2 + QP_NOR QP_ClauseType = 3 +) + +// Enum value maps for QP_ClauseType. +var ( + QP_ClauseType_name = map[int32]string{ + 1: "AND", + 2: "OR", + 3: "NOR", + } + QP_ClauseType_value = map[string]int32{ + "AND": 1, + "OR": 2, + "NOR": 3, + } +) + +func (x QP_ClauseType) Enum() *QP_ClauseType { + p := new(QP_ClauseType) + *p = x + return p +} + +func (x QP_ClauseType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (QP_ClauseType) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[85].Descriptor() +} + +func (QP_ClauseType) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[85] +} + +func (x QP_ClauseType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *QP_ClauseType) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = QP_ClauseType(num) + return nil +} + +// Deprecated: Use QP_ClauseType.Descriptor instead. +func (QP_ClauseType) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{214, 2} +} + +type DeviceCapabilities_ChatLockSupportLevel int32 + +const ( + DeviceCapabilities_NONE DeviceCapabilities_ChatLockSupportLevel = 0 + DeviceCapabilities_MINIMAL DeviceCapabilities_ChatLockSupportLevel = 1 + DeviceCapabilities_FULL DeviceCapabilities_ChatLockSupportLevel = 2 +) + +// Enum value maps for DeviceCapabilities_ChatLockSupportLevel. +var ( + DeviceCapabilities_ChatLockSupportLevel_name = map[int32]string{ + 0: "NONE", + 1: "MINIMAL", + 2: "FULL", + } + DeviceCapabilities_ChatLockSupportLevel_value = map[string]int32{ + "NONE": 0, + "MINIMAL": 1, + "FULL": 2, + } +) + +func (x DeviceCapabilities_ChatLockSupportLevel) Enum() *DeviceCapabilities_ChatLockSupportLevel { + p := new(DeviceCapabilities_ChatLockSupportLevel) + *p = x + return p +} + +func (x DeviceCapabilities_ChatLockSupportLevel) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (DeviceCapabilities_ChatLockSupportLevel) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[86].Descriptor() +} + +func (DeviceCapabilities_ChatLockSupportLevel) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[86] +} + +func (x DeviceCapabilities_ChatLockSupportLevel) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *DeviceCapabilities_ChatLockSupportLevel) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = DeviceCapabilities_ChatLockSupportLevel(num) + return nil +} + +// Deprecated: Use DeviceCapabilities_ChatLockSupportLevel.Descriptor instead. +func (DeviceCapabilities_ChatLockSupportLevel) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{216, 0} +} + +type UserPassword_Transformer int32 + +const ( + UserPassword_NONE UserPassword_Transformer = 0 + UserPassword_PBKDF2_HMAC_SHA512 UserPassword_Transformer = 1 + UserPassword_PBKDF2_HMAC_SHA384 UserPassword_Transformer = 2 +) + +// Enum value maps for UserPassword_Transformer. +var ( + UserPassword_Transformer_name = map[int32]string{ + 0: "NONE", + 1: "PBKDF2_HMAC_SHA512", + 2: "PBKDF2_HMAC_SHA384", + } + UserPassword_Transformer_value = map[string]int32{ + "NONE": 0, + "PBKDF2_HMAC_SHA512": 1, + "PBKDF2_HMAC_SHA384": 2, + } +) + +func (x UserPassword_Transformer) Enum() *UserPassword_Transformer { + p := new(UserPassword_Transformer) + *p = x + return p +} + +func (x UserPassword_Transformer) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (UserPassword_Transformer) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[87].Descriptor() +} + +func (UserPassword_Transformer) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[87] +} + +func (x UserPassword_Transformer) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *UserPassword_Transformer) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = UserPassword_Transformer(num) + return nil +} + +// Deprecated: Use UserPassword_Transformer.Descriptor instead. +func (UserPassword_Transformer) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{217, 0} +} + +type UserPassword_Encoding int32 + +const ( + UserPassword_UTF8 UserPassword_Encoding = 0 +) + +// Enum value maps for UserPassword_Encoding. +var ( + UserPassword_Encoding_name = map[int32]string{ + 0: "UTF8", + } + UserPassword_Encoding_value = map[string]int32{ + "UTF8": 0, + } +) + +func (x UserPassword_Encoding) Enum() *UserPassword_Encoding { + p := new(UserPassword_Encoding) + *p = x + return p +} + +func (x UserPassword_Encoding) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (UserPassword_Encoding) Descriptor() protoreflect.EnumDescriptor { + return file_binary_proto_def_proto_enumTypes[88].Descriptor() +} + +func (UserPassword_Encoding) Type() protoreflect.EnumType { + return &file_binary_proto_def_proto_enumTypes[88] +} + +func (x UserPassword_Encoding) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *UserPassword_Encoding) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = UserPassword_Encoding(num) + return nil +} + +// Deprecated: Use UserPassword_Encoding.Descriptor instead. +func (UserPassword_Encoding) EnumDescriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{217, 1} } type ADVSignedKeyIndexList struct { @@ -4704,8 +6371,9 @@ type ADVSignedKeyIndexList struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` - AccountSignature []byte `protobuf:"bytes,2,opt,name=accountSignature" json:"accountSignature,omitempty"` + Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"` + AccountSignature []byte `protobuf:"bytes,2,opt,name=accountSignature" json:"accountSignature,omitempty"` + AccountSignatureKey []byte `protobuf:"bytes,3,opt,name=accountSignatureKey" json:"accountSignatureKey,omitempty"` } func (x *ADVSignedKeyIndexList) Reset() { @@ -4754,6 +6422,13 @@ func (x *ADVSignedKeyIndexList) GetAccountSignature() []byte { return nil } +func (x *ADVSignedKeyIndexList) GetAccountSignatureKey() []byte { + if x != nil { + return x.AccountSignatureKey + } + return nil +} + type ADVSignedDeviceIdentity struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5125,714 +6800,6 @@ func (x *DeviceProps) GetHistorySyncConfig() *DeviceProps_HistorySyncConfig { return nil } -type LiveLocationMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"` - DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"` - AccuracyInMeters *uint32 `protobuf:"varint,3,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"` - SpeedInMps *float32 `protobuf:"fixed32,4,opt,name=speedInMps" json:"speedInMps,omitempty"` - DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,5,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"` - Caption *string `protobuf:"bytes,6,opt,name=caption" json:"caption,omitempty"` - SequenceNumber *int64 `protobuf:"varint,7,opt,name=sequenceNumber" json:"sequenceNumber,omitempty"` - TimeOffset *uint32 `protobuf:"varint,8,opt,name=timeOffset" json:"timeOffset,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` -} - -func (x *LiveLocationMessage) Reset() { - *x = LiveLocationMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LiveLocationMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LiveLocationMessage) ProtoMessage() {} - -func (x *LiveLocationMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LiveLocationMessage.ProtoReflect.Descriptor instead. -func (*LiveLocationMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{6} -} - -func (x *LiveLocationMessage) GetDegreesLatitude() float64 { - if x != nil && x.DegreesLatitude != nil { - return *x.DegreesLatitude - } - return 0 -} - -func (x *LiveLocationMessage) GetDegreesLongitude() float64 { - if x != nil && x.DegreesLongitude != nil { - return *x.DegreesLongitude - } - return 0 -} - -func (x *LiveLocationMessage) GetAccuracyInMeters() uint32 { - if x != nil && x.AccuracyInMeters != nil { - return *x.AccuracyInMeters - } - return 0 -} - -func (x *LiveLocationMessage) GetSpeedInMps() float32 { - if x != nil && x.SpeedInMps != nil { - return *x.SpeedInMps - } - return 0 -} - -func (x *LiveLocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 { - if x != nil && x.DegreesClockwiseFromMagneticNorth != nil { - return *x.DegreesClockwiseFromMagneticNorth - } - return 0 -} - -func (x *LiveLocationMessage) GetCaption() string { - if x != nil && x.Caption != nil { - return *x.Caption - } - return "" -} - -func (x *LiveLocationMessage) GetSequenceNumber() int64 { - if x != nil && x.SequenceNumber != nil { - return *x.SequenceNumber - } - return 0 -} - -func (x *LiveLocationMessage) GetTimeOffset() uint32 { - if x != nil && x.TimeOffset != nil { - return *x.TimeOffset - } - return 0 -} - -func (x *LiveLocationMessage) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail - } - return nil -} - -func (x *LiveLocationMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -type ListResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - ListType *ListResponseMessage_ListType `protobuf:"varint,2,opt,name=listType,enum=proto.ListResponseMessage_ListType" json:"listType,omitempty"` - SingleSelectReply *ListResponseMessage_SingleSelectReply `protobuf:"bytes,3,opt,name=singleSelectReply" json:"singleSelectReply,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,4,opt,name=contextInfo" json:"contextInfo,omitempty"` - Description *string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` -} - -func (x *ListResponseMessage) Reset() { - *x = ListResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListResponseMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListResponseMessage) ProtoMessage() {} - -func (x *ListResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListResponseMessage.ProtoReflect.Descriptor instead. -func (*ListResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{7} -} - -func (x *ListResponseMessage) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *ListResponseMessage) GetListType() ListResponseMessage_ListType { - if x != nil && x.ListType != nil { - return *x.ListType - } - return ListResponseMessage_UNKNOWN -} - -func (x *ListResponseMessage) GetSingleSelectReply() *ListResponseMessage_SingleSelectReply { - if x != nil { - return x.SingleSelectReply - } - return nil -} - -func (x *ListResponseMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (x *ListResponseMessage) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -type ListMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` - ButtonText *string `protobuf:"bytes,3,opt,name=buttonText" json:"buttonText,omitempty"` - ListType *ListMessage_ListType `protobuf:"varint,4,opt,name=listType,enum=proto.ListMessage_ListType" json:"listType,omitempty"` - Sections []*ListMessage_Section `protobuf:"bytes,5,rep,name=sections" json:"sections,omitempty"` - ProductListInfo *ListMessage_ProductListInfo `protobuf:"bytes,6,opt,name=productListInfo" json:"productListInfo,omitempty"` - FooterText *string `protobuf:"bytes,7,opt,name=footerText" json:"footerText,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,8,opt,name=contextInfo" json:"contextInfo,omitempty"` -} - -func (x *ListMessage) Reset() { - *x = ListMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMessage) ProtoMessage() {} - -func (x *ListMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListMessage.ProtoReflect.Descriptor instead. -func (*ListMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{8} -} - -func (x *ListMessage) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *ListMessage) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *ListMessage) GetButtonText() string { - if x != nil && x.ButtonText != nil { - return *x.ButtonText - } - return "" -} - -func (x *ListMessage) GetListType() ListMessage_ListType { - if x != nil && x.ListType != nil { - return *x.ListType - } - return ListMessage_UNKNOWN -} - -func (x *ListMessage) GetSections() []*ListMessage_Section { - if x != nil { - return x.Sections - } - return nil -} - -func (x *ListMessage) GetProductListInfo() *ListMessage_ProductListInfo { - if x != nil { - return x.ProductListInfo - } - return nil -} - -func (x *ListMessage) GetFooterText() string { - if x != nil && x.FooterText != nil { - return *x.FooterText - } - return "" -} - -func (x *ListMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -type KeepInChatMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` - KeepType *KeepType `protobuf:"varint,2,opt,name=keepType,enum=proto.KeepType" json:"keepType,omitempty"` - TimestampMs *int64 `protobuf:"varint,3,opt,name=timestampMs" json:"timestampMs,omitempty"` -} - -func (x *KeepInChatMessage) Reset() { - *x = KeepInChatMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KeepInChatMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KeepInChatMessage) ProtoMessage() {} - -func (x *KeepInChatMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use KeepInChatMessage.ProtoReflect.Descriptor instead. -func (*KeepInChatMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{9} -} - -func (x *KeepInChatMessage) GetKey() *MessageKey { - if x != nil { - return x.Key - } - return nil -} - -func (x *KeepInChatMessage) GetKeepType() KeepType { - if x != nil && x.KeepType != nil { - return *x.KeepType - } - return KeepType_UNKNOWN -} - -func (x *KeepInChatMessage) GetTimestampMs() int64 { - if x != nil && x.TimestampMs != nil { - return *x.TimestampMs - } - return 0 -} - -type InvoiceMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Note *string `protobuf:"bytes,1,opt,name=note" json:"note,omitempty"` - Token *string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` - AttachmentType *InvoiceMessage_AttachmentType `protobuf:"varint,3,opt,name=attachmentType,enum=proto.InvoiceMessage_AttachmentType" json:"attachmentType,omitempty"` - AttachmentMimetype *string `protobuf:"bytes,4,opt,name=attachmentMimetype" json:"attachmentMimetype,omitempty"` - AttachmentMediaKey []byte `protobuf:"bytes,5,opt,name=attachmentMediaKey" json:"attachmentMediaKey,omitempty"` - AttachmentMediaKeyTimestamp *int64 `protobuf:"varint,6,opt,name=attachmentMediaKeyTimestamp" json:"attachmentMediaKeyTimestamp,omitempty"` - AttachmentFileSha256 []byte `protobuf:"bytes,7,opt,name=attachmentFileSha256" json:"attachmentFileSha256,omitempty"` - AttachmentFileEncSha256 []byte `protobuf:"bytes,8,opt,name=attachmentFileEncSha256" json:"attachmentFileEncSha256,omitempty"` - AttachmentDirectPath *string `protobuf:"bytes,9,opt,name=attachmentDirectPath" json:"attachmentDirectPath,omitempty"` - AttachmentJpegThumbnail []byte `protobuf:"bytes,10,opt,name=attachmentJpegThumbnail" json:"attachmentJpegThumbnail,omitempty"` -} - -func (x *InvoiceMessage) Reset() { - *x = InvoiceMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InvoiceMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InvoiceMessage) ProtoMessage() {} - -func (x *InvoiceMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InvoiceMessage.ProtoReflect.Descriptor instead. -func (*InvoiceMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{10} -} - -func (x *InvoiceMessage) GetNote() string { - if x != nil && x.Note != nil { - return *x.Note - } - return "" -} - -func (x *InvoiceMessage) GetToken() string { - if x != nil && x.Token != nil { - return *x.Token - } - return "" -} - -func (x *InvoiceMessage) GetAttachmentType() InvoiceMessage_AttachmentType { - if x != nil && x.AttachmentType != nil { - return *x.AttachmentType - } - return InvoiceMessage_IMAGE -} - -func (x *InvoiceMessage) GetAttachmentMimetype() string { - if x != nil && x.AttachmentMimetype != nil { - return *x.AttachmentMimetype - } - return "" -} - -func (x *InvoiceMessage) GetAttachmentMediaKey() []byte { - if x != nil { - return x.AttachmentMediaKey - } - return nil -} - -func (x *InvoiceMessage) GetAttachmentMediaKeyTimestamp() int64 { - if x != nil && x.AttachmentMediaKeyTimestamp != nil { - return *x.AttachmentMediaKeyTimestamp - } - return 0 -} - -func (x *InvoiceMessage) GetAttachmentFileSha256() []byte { - if x != nil { - return x.AttachmentFileSha256 - } - return nil -} - -func (x *InvoiceMessage) GetAttachmentFileEncSha256() []byte { - if x != nil { - return x.AttachmentFileEncSha256 - } - return nil -} - -func (x *InvoiceMessage) GetAttachmentDirectPath() string { - if x != nil && x.AttachmentDirectPath != nil { - return *x.AttachmentDirectPath - } - return "" -} - -func (x *InvoiceMessage) GetAttachmentJpegThumbnail() []byte { - if x != nil { - return x.AttachmentJpegThumbnail - } - return nil -} - -type InteractiveResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Body *InteractiveResponseMessage_Body `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,15,opt,name=contextInfo" json:"contextInfo,omitempty"` - // Types that are assignable to InteractiveResponseMessage: - // - // *InteractiveResponseMessage_NativeFlowResponseMessage_ - InteractiveResponseMessage isInteractiveResponseMessage_InteractiveResponseMessage `protobuf_oneof:"interactiveResponseMessage"` -} - -func (x *InteractiveResponseMessage) Reset() { - *x = InteractiveResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveResponseMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveResponseMessage) ProtoMessage() {} - -func (x *InteractiveResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveResponseMessage.ProtoReflect.Descriptor instead. -func (*InteractiveResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{11} -} - -func (x *InteractiveResponseMessage) GetBody() *InteractiveResponseMessage_Body { - if x != nil { - return x.Body - } - return nil -} - -func (x *InteractiveResponseMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (m *InteractiveResponseMessage) GetInteractiveResponseMessage() isInteractiveResponseMessage_InteractiveResponseMessage { - if m != nil { - return m.InteractiveResponseMessage - } - return nil -} - -func (x *InteractiveResponseMessage) GetNativeFlowResponseMessage() *InteractiveResponseMessage_NativeFlowResponseMessage { - if x, ok := x.GetInteractiveResponseMessage().(*InteractiveResponseMessage_NativeFlowResponseMessage_); ok { - return x.NativeFlowResponseMessage - } - return nil -} - -type isInteractiveResponseMessage_InteractiveResponseMessage interface { - isInteractiveResponseMessage_InteractiveResponseMessage() -} - -type InteractiveResponseMessage_NativeFlowResponseMessage_ struct { - NativeFlowResponseMessage *InteractiveResponseMessage_NativeFlowResponseMessage `protobuf:"bytes,2,opt,name=nativeFlowResponseMessage,oneof"` -} - -func (*InteractiveResponseMessage_NativeFlowResponseMessage_) isInteractiveResponseMessage_InteractiveResponseMessage() { -} - -type InteractiveMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Header *InteractiveMessage_Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` - Body *InteractiveMessage_Body `protobuf:"bytes,2,opt,name=body" json:"body,omitempty"` - Footer *InteractiveMessage_Footer `protobuf:"bytes,3,opt,name=footer" json:"footer,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,15,opt,name=contextInfo" json:"contextInfo,omitempty"` - // Types that are assignable to InteractiveMessage: - // - // *InteractiveMessage_ShopStorefrontMessage - // *InteractiveMessage_CollectionMessage_ - // *InteractiveMessage_NativeFlowMessage_ - // *InteractiveMessage_CarouselMessage_ - InteractiveMessage isInteractiveMessage_InteractiveMessage `protobuf_oneof:"interactiveMessage"` -} - -func (x *InteractiveMessage) Reset() { - *x = InteractiveMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage) ProtoMessage() {} - -func (x *InteractiveMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage.ProtoReflect.Descriptor instead. -func (*InteractiveMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12} -} - -func (x *InteractiveMessage) GetHeader() *InteractiveMessage_Header { - if x != nil { - return x.Header - } - return nil -} - -func (x *InteractiveMessage) GetBody() *InteractiveMessage_Body { - if x != nil { - return x.Body - } - return nil -} - -func (x *InteractiveMessage) GetFooter() *InteractiveMessage_Footer { - if x != nil { - return x.Footer - } - return nil -} - -func (x *InteractiveMessage) GetContextInfo() *ContextInfo { - if x != nil { - return x.ContextInfo - } - return nil -} - -func (m *InteractiveMessage) GetInteractiveMessage() isInteractiveMessage_InteractiveMessage { - if m != nil { - return m.InteractiveMessage - } - return nil -} - -func (x *InteractiveMessage) GetShopStorefrontMessage() *InteractiveMessage_ShopMessage { - if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_ShopStorefrontMessage); ok { - return x.ShopStorefrontMessage - } - return nil -} - -func (x *InteractiveMessage) GetCollectionMessage() *InteractiveMessage_CollectionMessage { - if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_CollectionMessage_); ok { - return x.CollectionMessage - } - return nil -} - -func (x *InteractiveMessage) GetNativeFlowMessage() *InteractiveMessage_NativeFlowMessage { - if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_NativeFlowMessage_); ok { - return x.NativeFlowMessage - } - return nil -} - -func (x *InteractiveMessage) GetCarouselMessage() *InteractiveMessage_CarouselMessage { - if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_CarouselMessage_); ok { - return x.CarouselMessage - } - return nil -} - -type isInteractiveMessage_InteractiveMessage interface { - isInteractiveMessage_InteractiveMessage() -} - -type InteractiveMessage_ShopStorefrontMessage struct { - ShopStorefrontMessage *InteractiveMessage_ShopMessage `protobuf:"bytes,4,opt,name=shopStorefrontMessage,oneof"` -} - -type InteractiveMessage_CollectionMessage_ struct { - CollectionMessage *InteractiveMessage_CollectionMessage `protobuf:"bytes,5,opt,name=collectionMessage,oneof"` -} - -type InteractiveMessage_NativeFlowMessage_ struct { - NativeFlowMessage *InteractiveMessage_NativeFlowMessage `protobuf:"bytes,6,opt,name=nativeFlowMessage,oneof"` -} - -type InteractiveMessage_CarouselMessage_ struct { - CarouselMessage *InteractiveMessage_CarouselMessage `protobuf:"bytes,7,opt,name=carouselMessage,oneof"` -} - -func (*InteractiveMessage_ShopStorefrontMessage) isInteractiveMessage_InteractiveMessage() {} - -func (*InteractiveMessage_CollectionMessage_) isInteractiveMessage_InteractiveMessage() {} - -func (*InteractiveMessage_NativeFlowMessage_) isInteractiveMessage_InteractiveMessage() {} - -func (*InteractiveMessage_CarouselMessage_) isInteractiveMessage_InteractiveMessage() {} - type InitialSecurityNotificationSettingSync struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5844,7 +6811,7 @@ type InitialSecurityNotificationSettingSync struct { func (x *InitialSecurityNotificationSettingSync) Reset() { *x = InitialSecurityNotificationSettingSync{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[13] + mi := &file_binary_proto_def_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5857,7 +6824,7 @@ func (x *InitialSecurityNotificationSettingSync) String() string { func (*InitialSecurityNotificationSettingSync) ProtoMessage() {} func (x *InitialSecurityNotificationSettingSync) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[13] + mi := &file_binary_proto_def_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5870,7 +6837,7 @@ func (x *InitialSecurityNotificationSettingSync) ProtoReflect() protoreflect.Mes // Deprecated: Use InitialSecurityNotificationSettingSync.ProtoReflect.Descriptor instead. func (*InitialSecurityNotificationSettingSync) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{13} + return file_binary_proto_def_proto_rawDescGZIP(), []int{6} } func (x *InitialSecurityNotificationSettingSync) GetSecurityNotificationEnabled() bool { @@ -5885,38 +6852,40 @@ type ImageMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` - Caption *string `protobuf:"bytes,3,opt,name=caption" json:"caption,omitempty"` - FileSha256 []byte `protobuf:"bytes,4,opt,name=fileSha256" json:"fileSha256,omitempty"` - FileLength *uint64 `protobuf:"varint,5,opt,name=fileLength" json:"fileLength,omitempty"` - Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"` - Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"` - MediaKey []byte `protobuf:"bytes,8,opt,name=mediaKey" json:"mediaKey,omitempty"` - FileEncSha256 []byte `protobuf:"bytes,9,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` - InteractiveAnnotations []*InteractiveAnnotation `protobuf:"bytes,10,rep,name=interactiveAnnotations" json:"interactiveAnnotations,omitempty"` - DirectPath *string `protobuf:"bytes,11,opt,name=directPath" json:"directPath,omitempty"` - MediaKeyTimestamp *int64 `protobuf:"varint,12,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` - FirstScanSidecar []byte `protobuf:"bytes,18,opt,name=firstScanSidecar" json:"firstScanSidecar,omitempty"` - FirstScanLength *uint32 `protobuf:"varint,19,opt,name=firstScanLength" json:"firstScanLength,omitempty"` - ExperimentGroupId *uint32 `protobuf:"varint,20,opt,name=experimentGroupId" json:"experimentGroupId,omitempty"` - ScansSidecar []byte `protobuf:"bytes,21,opt,name=scansSidecar" json:"scansSidecar,omitempty"` - ScanLengths []uint32 `protobuf:"varint,22,rep,name=scanLengths" json:"scanLengths,omitempty"` - MidQualityFileSha256 []byte `protobuf:"bytes,23,opt,name=midQualityFileSha256" json:"midQualityFileSha256,omitempty"` - MidQualityFileEncSha256 []byte `protobuf:"bytes,24,opt,name=midQualityFileEncSha256" json:"midQualityFileEncSha256,omitempty"` - ViewOnce *bool `protobuf:"varint,25,opt,name=viewOnce" json:"viewOnce,omitempty"` - ThumbnailDirectPath *string `protobuf:"bytes,26,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"` - ThumbnailSha256 []byte `protobuf:"bytes,27,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` - ThumbnailEncSha256 []byte `protobuf:"bytes,28,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` - StaticUrl *string `protobuf:"bytes,29,opt,name=staticUrl" json:"staticUrl,omitempty"` + Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` + Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` + Caption *string `protobuf:"bytes,3,opt,name=caption" json:"caption,omitempty"` + FileSha256 []byte `protobuf:"bytes,4,opt,name=fileSha256" json:"fileSha256,omitempty"` + FileLength *uint64 `protobuf:"varint,5,opt,name=fileLength" json:"fileLength,omitempty"` + Height *uint32 `protobuf:"varint,6,opt,name=height" json:"height,omitempty"` + Width *uint32 `protobuf:"varint,7,opt,name=width" json:"width,omitempty"` + MediaKey []byte `protobuf:"bytes,8,opt,name=mediaKey" json:"mediaKey,omitempty"` + FileEncSha256 []byte `protobuf:"bytes,9,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` + InteractiveAnnotations []*InteractiveAnnotation `protobuf:"bytes,10,rep,name=interactiveAnnotations" json:"interactiveAnnotations,omitempty"` + DirectPath *string `protobuf:"bytes,11,opt,name=directPath" json:"directPath,omitempty"` + MediaKeyTimestamp *int64 `protobuf:"varint,12,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` + JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` + FirstScanSidecar []byte `protobuf:"bytes,18,opt,name=firstScanSidecar" json:"firstScanSidecar,omitempty"` + FirstScanLength *uint32 `protobuf:"varint,19,opt,name=firstScanLength" json:"firstScanLength,omitempty"` + ExperimentGroupId *uint32 `protobuf:"varint,20,opt,name=experimentGroupId" json:"experimentGroupId,omitempty"` + ScansSidecar []byte `protobuf:"bytes,21,opt,name=scansSidecar" json:"scansSidecar,omitempty"` + ScanLengths []uint32 `protobuf:"varint,22,rep,name=scanLengths" json:"scanLengths,omitempty"` + MidQualityFileSha256 []byte `protobuf:"bytes,23,opt,name=midQualityFileSha256" json:"midQualityFileSha256,omitempty"` + MidQualityFileEncSha256 []byte `protobuf:"bytes,24,opt,name=midQualityFileEncSha256" json:"midQualityFileEncSha256,omitempty"` + ViewOnce *bool `protobuf:"varint,25,opt,name=viewOnce" json:"viewOnce,omitempty"` + ThumbnailDirectPath *string `protobuf:"bytes,26,opt,name=thumbnailDirectPath" json:"thumbnailDirectPath,omitempty"` + ThumbnailSha256 []byte `protobuf:"bytes,27,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` + ThumbnailEncSha256 []byte `protobuf:"bytes,28,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` + StaticUrl *string `protobuf:"bytes,29,opt,name=staticUrl" json:"staticUrl,omitempty"` + Annotations []*InteractiveAnnotation `protobuf:"bytes,30,rep,name=annotations" json:"annotations,omitempty"` + ImageSourceType *ImageMessage_ImageSourceType `protobuf:"varint,31,opt,name=imageSourceType,enum=proto.ImageMessage_ImageSourceType" json:"imageSourceType,omitempty"` } func (x *ImageMessage) Reset() { *x = ImageMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[14] + mi := &file_binary_proto_def_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -5929,7 +6898,7 @@ func (x *ImageMessage) String() string { func (*ImageMessage) ProtoMessage() {} func (x *ImageMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[14] + mi := &file_binary_proto_def_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5942,7 +6911,7 @@ func (x *ImageMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ImageMessage.ProtoReflect.Descriptor instead. func (*ImageMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{14} + return file_binary_proto_def_proto_rawDescGZIP(), []int{7} } func (x *ImageMessage) GetUrl() string { @@ -6127,6 +7096,20 @@ func (x *ImageMessage) GetStaticUrl() string { return "" } +func (x *ImageMessage) GetAnnotations() []*InteractiveAnnotation { + if x != nil { + return x.Annotations + } + return nil +} + +func (x *ImageMessage) GetImageSourceType() ImageMessage_ImageSourceType { + if x != nil && x.ImageSourceType != nil { + return *x.ImageSourceType + } + return ImageMessage_USER_IMAGE +} + type HistorySyncNotification struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6149,7 +7132,7 @@ type HistorySyncNotification struct { func (x *HistorySyncNotification) Reset() { *x = HistorySyncNotification{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[15] + mi := &file_binary_proto_def_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6162,7 +7145,7 @@ func (x *HistorySyncNotification) String() string { func (*HistorySyncNotification) ProtoMessage() {} func (x *HistorySyncNotification) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[15] + mi := &file_binary_proto_def_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6175,7 +7158,7 @@ func (x *HistorySyncNotification) ProtoReflect() protoreflect.Message { // Deprecated: Use HistorySyncNotification.ProtoReflect.Descriptor instead. func (*HistorySyncNotification) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{15} + return file_binary_proto_def_proto_rawDescGZIP(), []int{8} } func (x *HistorySyncNotification) GetFileSha256() []byte { @@ -6281,7 +7264,7 @@ type HighlyStructuredMessage struct { func (x *HighlyStructuredMessage) Reset() { *x = HighlyStructuredMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[16] + mi := &file_binary_proto_def_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6294,7 +7277,7 @@ func (x *HighlyStructuredMessage) String() string { func (*HighlyStructuredMessage) ProtoMessage() {} func (x *HighlyStructuredMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[16] + mi := &file_binary_proto_def_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6307,7 +7290,7 @@ func (x *HighlyStructuredMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use HighlyStructuredMessage.ProtoReflect.Descriptor instead. func (*HighlyStructuredMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16} + return file_binary_proto_def_proto_rawDescGZIP(), []int{9} } func (x *HighlyStructuredMessage) GetNamespace() string { @@ -6391,7 +7374,7 @@ type GroupInviteMessage struct { func (x *GroupInviteMessage) Reset() { *x = GroupInviteMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[17] + mi := &file_binary_proto_def_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6404,7 +7387,7 @@ func (x *GroupInviteMessage) String() string { func (*GroupInviteMessage) ProtoMessage() {} func (x *GroupInviteMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[17] + mi := &file_binary_proto_def_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6417,7 +7400,7 @@ func (x *GroupInviteMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use GroupInviteMessage.ProtoReflect.Descriptor instead. func (*GroupInviteMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{17} + return file_binary_proto_def_proto_rawDescGZIP(), []int{10} } func (x *GroupInviteMessage) GetGroupJid() string { @@ -6487,7 +7470,7 @@ type FutureProofMessage struct { func (x *FutureProofMessage) Reset() { *x = FutureProofMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[18] + mi := &file_binary_proto_def_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6500,7 +7483,7 @@ func (x *FutureProofMessage) String() string { func (*FutureProofMessage) ProtoMessage() {} func (x *FutureProofMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[18] + mi := &file_binary_proto_def_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6513,7 +7496,7 @@ func (x *FutureProofMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use FutureProofMessage.ProtoReflect.Descriptor instead. func (*FutureProofMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{18} + return file_binary_proto_def_proto_rawDescGZIP(), []int{11} } func (x *FutureProofMessage) GetMessage() *Message { @@ -6557,7 +7540,7 @@ type ExtendedTextMessage struct { func (x *ExtendedTextMessage) Reset() { *x = ExtendedTextMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[19] + mi := &file_binary_proto_def_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6570,7 +7553,7 @@ func (x *ExtendedTextMessage) String() string { func (*ExtendedTextMessage) ProtoMessage() {} func (x *ExtendedTextMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[19] + mi := &file_binary_proto_def_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6583,7 +7566,7 @@ func (x *ExtendedTextMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ExtendedTextMessage.ProtoReflect.Descriptor instead. func (*ExtendedTextMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{19} + return file_binary_proto_def_proto_rawDescGZIP(), []int{12} } func (x *ExtendedTextMessage) GetText() string { @@ -6754,6 +7737,156 @@ func (x *ExtendedTextMessage) GetViewOnce() bool { return false } +type EventResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Response *EventResponseMessage_EventResponseType `protobuf:"varint,1,opt,name=response,enum=proto.EventResponseMessage_EventResponseType" json:"response,omitempty"` + TimestampMs *int64 `protobuf:"varint,2,opt,name=timestampMs" json:"timestampMs,omitempty"` +} + +func (x *EventResponseMessage) Reset() { + *x = EventResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventResponseMessage) ProtoMessage() {} + +func (x *EventResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventResponseMessage.ProtoReflect.Descriptor instead. +func (*EventResponseMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{13} +} + +func (x *EventResponseMessage) GetResponse() EventResponseMessage_EventResponseType { + if x != nil && x.Response != nil { + return *x.Response + } + return EventResponseMessage_UNKNOWN +} + +func (x *EventResponseMessage) GetTimestampMs() int64 { + if x != nil && x.TimestampMs != nil { + return *x.TimestampMs + } + return 0 +} + +type EventMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ContextInfo *ContextInfo `protobuf:"bytes,1,opt,name=contextInfo" json:"contextInfo,omitempty"` + IsCanceled *bool `protobuf:"varint,2,opt,name=isCanceled" json:"isCanceled,omitempty"` + Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` + Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"` + Location *LocationMessage `protobuf:"bytes,5,opt,name=location" json:"location,omitempty"` + JoinLink *string `protobuf:"bytes,6,opt,name=joinLink" json:"joinLink,omitempty"` + StartTime *int64 `protobuf:"varint,7,opt,name=startTime" json:"startTime,omitempty"` +} + +func (x *EventMessage) Reset() { + *x = EventMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventMessage) ProtoMessage() {} + +func (x *EventMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventMessage.ProtoReflect.Descriptor instead. +func (*EventMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{14} +} + +func (x *EventMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *EventMessage) GetIsCanceled() bool { + if x != nil && x.IsCanceled != nil { + return *x.IsCanceled + } + return false +} + +func (x *EventMessage) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *EventMessage) GetDescription() string { + if x != nil && x.Description != nil { + return *x.Description + } + return "" +} + +func (x *EventMessage) GetLocation() *LocationMessage { + if x != nil { + return x.Location + } + return nil +} + +func (x *EventMessage) GetJoinLink() string { + if x != nil && x.JoinLink != nil { + return *x.JoinLink + } + return "" +} + +func (x *EventMessage) GetStartTime() int64 { + if x != nil && x.StartTime != nil { + return *x.StartTime + } + return 0 +} + type EncReactionMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6767,7 +7900,7 @@ type EncReactionMessage struct { func (x *EncReactionMessage) Reset() { *x = EncReactionMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[20] + mi := &file_binary_proto_def_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6780,7 +7913,7 @@ func (x *EncReactionMessage) String() string { func (*EncReactionMessage) ProtoMessage() {} func (x *EncReactionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[20] + mi := &file_binary_proto_def_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6793,7 +7926,7 @@ func (x *EncReactionMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use EncReactionMessage.ProtoReflect.Descriptor instead. func (*EncReactionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{20} + return file_binary_proto_def_proto_rawDescGZIP(), []int{15} } func (x *EncReactionMessage) GetTargetMessageKey() *MessageKey { @@ -6817,6 +7950,69 @@ func (x *EncReactionMessage) GetEncIv() []byte { return nil } +type EncEventResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EventCreationMessageKey *MessageKey `protobuf:"bytes,1,opt,name=eventCreationMessageKey" json:"eventCreationMessageKey,omitempty"` + EncPayload []byte `protobuf:"bytes,2,opt,name=encPayload" json:"encPayload,omitempty"` + EncIv []byte `protobuf:"bytes,3,opt,name=encIv" json:"encIv,omitempty"` +} + +func (x *EncEventResponseMessage) Reset() { + *x = EncEventResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EncEventResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EncEventResponseMessage) ProtoMessage() {} + +func (x *EncEventResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EncEventResponseMessage.ProtoReflect.Descriptor instead. +func (*EncEventResponseMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{16} +} + +func (x *EncEventResponseMessage) GetEventCreationMessageKey() *MessageKey { + if x != nil { + return x.EventCreationMessageKey + } + return nil +} + +func (x *EncEventResponseMessage) GetEncPayload() []byte { + if x != nil { + return x.EncPayload + } + return nil +} + +func (x *EncEventResponseMessage) GetEncIv() []byte { + if x != nil { + return x.EncIv + } + return nil +} + type EncCommentMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -6830,7 +8026,7 @@ type EncCommentMessage struct { func (x *EncCommentMessage) Reset() { *x = EncCommentMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[21] + mi := &file_binary_proto_def_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6843,7 +8039,7 @@ func (x *EncCommentMessage) String() string { func (*EncCommentMessage) ProtoMessage() {} func (x *EncCommentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[21] + mi := &file_binary_proto_def_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6856,7 +8052,7 @@ func (x *EncCommentMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use EncCommentMessage.ProtoReflect.Descriptor instead. func (*EncCommentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{21} + return file_binary_proto_def_proto_rawDescGZIP(), []int{17} } func (x *EncCommentMessage) GetTargetMessageKey() *MessageKey { @@ -6910,7 +8106,7 @@ type DocumentMessage struct { func (x *DocumentMessage) Reset() { *x = DocumentMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[22] + mi := &file_binary_proto_def_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -6923,7 +8119,7 @@ func (x *DocumentMessage) String() string { func (*DocumentMessage) ProtoMessage() {} func (x *DocumentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[22] + mi := &file_binary_proto_def_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6936,7 +8132,7 @@ func (x *DocumentMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use DocumentMessage.ProtoReflect.Descriptor instead. func (*DocumentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{22} + return file_binary_proto_def_proto_rawDescGZIP(), []int{18} } func (x *DocumentMessage) GetUrl() string { @@ -7092,7 +8288,7 @@ type DeviceSentMessage struct { func (x *DeviceSentMessage) Reset() { *x = DeviceSentMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[23] + mi := &file_binary_proto_def_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7105,7 +8301,7 @@ func (x *DeviceSentMessage) String() string { func (*DeviceSentMessage) ProtoMessage() {} func (x *DeviceSentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[23] + mi := &file_binary_proto_def_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7118,7 +8314,7 @@ func (x *DeviceSentMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use DeviceSentMessage.ProtoReflect.Descriptor instead. func (*DeviceSentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{23} + return file_binary_proto_def_proto_rawDescGZIP(), []int{19} } func (x *DeviceSentMessage) GetDestinationJid() string { @@ -7153,7 +8349,7 @@ type DeclinePaymentRequestMessage struct { func (x *DeclinePaymentRequestMessage) Reset() { *x = DeclinePaymentRequestMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[24] + mi := &file_binary_proto_def_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7166,7 +8362,7 @@ func (x *DeclinePaymentRequestMessage) String() string { func (*DeclinePaymentRequestMessage) ProtoMessage() {} func (x *DeclinePaymentRequestMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[24] + mi := &file_binary_proto_def_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7179,7 +8375,7 @@ func (x *DeclinePaymentRequestMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use DeclinePaymentRequestMessage.ProtoReflect.Descriptor instead. func (*DeclinePaymentRequestMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{24} + return file_binary_proto_def_proto_rawDescGZIP(), []int{20} } func (x *DeclinePaymentRequestMessage) GetKey() *MessageKey { @@ -7202,7 +8398,7 @@ type ContactsArrayMessage struct { func (x *ContactsArrayMessage) Reset() { *x = ContactsArrayMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[25] + mi := &file_binary_proto_def_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7215,7 +8411,7 @@ func (x *ContactsArrayMessage) String() string { func (*ContactsArrayMessage) ProtoMessage() {} func (x *ContactsArrayMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[25] + mi := &file_binary_proto_def_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7228,7 +8424,7 @@ func (x *ContactsArrayMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ContactsArrayMessage.ProtoReflect.Descriptor instead. func (*ContactsArrayMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{25} + return file_binary_proto_def_proto_rawDescGZIP(), []int{21} } func (x *ContactsArrayMessage) GetDisplayName() string { @@ -7265,7 +8461,7 @@ type ContactMessage struct { func (x *ContactMessage) Reset() { *x = ContactMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[26] + mi := &file_binary_proto_def_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7278,7 +8474,7 @@ func (x *ContactMessage) String() string { func (*ContactMessage) ProtoMessage() {} func (x *ContactMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[26] + mi := &file_binary_proto_def_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7291,7 +8487,7 @@ func (x *ContactMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ContactMessage.ProtoReflect.Descriptor instead. func (*ContactMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{26} + return file_binary_proto_def_proto_rawDescGZIP(), []int{22} } func (x *ContactMessage) GetDisplayName() string { @@ -7315,6 +8511,61 @@ func (x *ContactMessage) GetContextInfo() *ContextInfo { return nil } +type CommentMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message *Message `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` + TargetMessageKey *MessageKey `protobuf:"bytes,2,opt,name=targetMessageKey" json:"targetMessageKey,omitempty"` +} + +func (x *CommentMessage) Reset() { + *x = CommentMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommentMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommentMessage) ProtoMessage() {} + +func (x *CommentMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommentMessage.ProtoReflect.Descriptor instead. +func (*CommentMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{23} +} + +func (x *CommentMessage) GetMessage() *Message { + if x != nil { + return x.Message + } + return nil +} + +func (x *CommentMessage) GetTargetMessageKey() *MessageKey { + if x != nil { + return x.TargetMessageKey + } + return nil +} + type Chat struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7327,7 +8578,7 @@ type Chat struct { func (x *Chat) Reset() { *x = Chat{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[27] + mi := &file_binary_proto_def_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7340,7 +8591,7 @@ func (x *Chat) String() string { func (*Chat) ProtoMessage() {} func (x *Chat) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[27] + mi := &file_binary_proto_def_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7353,7 +8604,7 @@ func (x *Chat) ProtoReflect() protoreflect.Message { // Deprecated: Use Chat.ProtoReflect.Descriptor instead. func (*Chat) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{27} + return file_binary_proto_def_proto_rawDescGZIP(), []int{24} } func (x *Chat) GetDisplayName() string { @@ -7381,7 +8632,7 @@ type CancelPaymentRequestMessage struct { func (x *CancelPaymentRequestMessage) Reset() { *x = CancelPaymentRequestMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[28] + mi := &file_binary_proto_def_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7394,7 +8645,7 @@ func (x *CancelPaymentRequestMessage) String() string { func (*CancelPaymentRequestMessage) ProtoMessage() {} func (x *CancelPaymentRequestMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[28] + mi := &file_binary_proto_def_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7407,7 +8658,7 @@ func (x *CancelPaymentRequestMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use CancelPaymentRequestMessage.ProtoReflect.Descriptor instead. func (*CancelPaymentRequestMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{28} + return file_binary_proto_def_proto_rawDescGZIP(), []int{25} } func (x *CancelPaymentRequestMessage) GetKey() *MessageKey { @@ -7431,7 +8682,7 @@ type Call struct { func (x *Call) Reset() { *x = Call{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[29] + mi := &file_binary_proto_def_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7444,7 +8695,7 @@ func (x *Call) String() string { func (*Call) ProtoMessage() {} func (x *Call) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[29] + mi := &file_binary_proto_def_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7457,7 +8708,7 @@ func (x *Call) ProtoReflect() protoreflect.Message { // Deprecated: Use Call.ProtoReflect.Descriptor instead. func (*Call) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{29} + return file_binary_proto_def_proto_rawDescGZIP(), []int{26} } func (x *Call) GetCallKey() []byte { @@ -7488,6 +8739,85 @@ func (x *Call) GetConversionDelaySeconds() uint32 { return 0 } +type CallLogMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsVideo *bool `protobuf:"varint,1,opt,name=isVideo" json:"isVideo,omitempty"` + CallOutcome *CallLogMessage_CallOutcome `protobuf:"varint,2,opt,name=callOutcome,enum=proto.CallLogMessage_CallOutcome" json:"callOutcome,omitempty"` + DurationSecs *int64 `protobuf:"varint,3,opt,name=durationSecs" json:"durationSecs,omitempty"` + CallType *CallLogMessage_CallType `protobuf:"varint,4,opt,name=callType,enum=proto.CallLogMessage_CallType" json:"callType,omitempty"` + Participants []*CallLogMessage_CallParticipant `protobuf:"bytes,5,rep,name=participants" json:"participants,omitempty"` +} + +func (x *CallLogMessage) Reset() { + *x = CallLogMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CallLogMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CallLogMessage) ProtoMessage() {} + +func (x *CallLogMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CallLogMessage.ProtoReflect.Descriptor instead. +func (*CallLogMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{27} +} + +func (x *CallLogMessage) GetIsVideo() bool { + if x != nil && x.IsVideo != nil { + return *x.IsVideo + } + return false +} + +func (x *CallLogMessage) GetCallOutcome() CallLogMessage_CallOutcome { + if x != nil && x.CallOutcome != nil { + return *x.CallOutcome + } + return CallLogMessage_CONNECTED +} + +func (x *CallLogMessage) GetDurationSecs() int64 { + if x != nil && x.DurationSecs != nil { + return *x.DurationSecs + } + return 0 +} + +func (x *CallLogMessage) GetCallType() CallLogMessage_CallType { + if x != nil && x.CallType != nil { + return *x.CallType + } + return CallLogMessage_REGULAR +} + +func (x *CallLogMessage) GetParticipants() []*CallLogMessage_CallParticipant { + if x != nil { + return x.Participants + } + return nil +} + type ButtonsResponseMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7505,7 +8835,7 @@ type ButtonsResponseMessage struct { func (x *ButtonsResponseMessage) Reset() { *x = ButtonsResponseMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[30] + mi := &file_binary_proto_def_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7518,7 +8848,7 @@ func (x *ButtonsResponseMessage) String() string { func (*ButtonsResponseMessage) ProtoMessage() {} func (x *ButtonsResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[30] + mi := &file_binary_proto_def_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7531,7 +8861,7 @@ func (x *ButtonsResponseMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ButtonsResponseMessage.ProtoReflect.Descriptor instead. func (*ButtonsResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{30} + return file_binary_proto_def_proto_rawDescGZIP(), []int{28} } func (x *ButtonsResponseMessage) GetSelectedButtonId() string { @@ -7602,7 +8932,7 @@ type ButtonsMessage struct { func (x *ButtonsMessage) Reset() { *x = ButtonsMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[31] + mi := &file_binary_proto_def_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7615,7 +8945,7 @@ func (x *ButtonsMessage) String() string { func (*ButtonsMessage) ProtoMessage() {} func (x *ButtonsMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[31] + mi := &file_binary_proto_def_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7628,7 +8958,7 @@ func (x *ButtonsMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ButtonsMessage.ProtoReflect.Descriptor instead. func (*ButtonsMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{31} + return file_binary_proto_def_proto_rawDescGZIP(), []int{29} } func (x *ButtonsMessage) GetContentText() string { @@ -7747,15 +9077,17 @@ type BotFeedbackMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - MessageKey *MessageKey `protobuf:"bytes,1,opt,name=messageKey" json:"messageKey,omitempty"` - Kind *BotFeedbackMessage_BotFeedbackKind `protobuf:"varint,2,opt,name=kind,enum=proto.BotFeedbackMessage_BotFeedbackKind" json:"kind,omitempty"` - Text *string `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"` + MessageKey *MessageKey `protobuf:"bytes,1,opt,name=messageKey" json:"messageKey,omitempty"` + Kind *BotFeedbackMessage_BotFeedbackKind `protobuf:"varint,2,opt,name=kind,enum=proto.BotFeedbackMessage_BotFeedbackKind" json:"kind,omitempty"` + Text *string `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"` + KindNegative *uint64 `protobuf:"varint,4,opt,name=kindNegative" json:"kindNegative,omitempty"` + KindPositive *uint64 `protobuf:"varint,5,opt,name=kindPositive" json:"kindPositive,omitempty"` } func (x *BotFeedbackMessage) Reset() { *x = BotFeedbackMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[32] + mi := &file_binary_proto_def_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7768,7 +9100,7 @@ func (x *BotFeedbackMessage) String() string { func (*BotFeedbackMessage) ProtoMessage() {} func (x *BotFeedbackMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[32] + mi := &file_binary_proto_def_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7781,7 +9113,7 @@ func (x *BotFeedbackMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use BotFeedbackMessage.ProtoReflect.Descriptor instead. func (*BotFeedbackMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{32} + return file_binary_proto_def_proto_rawDescGZIP(), []int{30} } func (x *BotFeedbackMessage) GetMessageKey() *MessageKey { @@ -7805,6 +9137,91 @@ func (x *BotFeedbackMessage) GetText() string { return "" } +func (x *BotFeedbackMessage) GetKindNegative() uint64 { + if x != nil && x.KindNegative != nil { + return *x.KindNegative + } + return 0 +} + +func (x *BotFeedbackMessage) GetKindPositive() uint64 { + if x != nil && x.KindPositive != nil { + return *x.KindPositive + } + return 0 +} + +type BCallMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SessionId *string `protobuf:"bytes,1,opt,name=sessionId" json:"sessionId,omitempty"` + MediaType *BCallMessage_MediaType `protobuf:"varint,2,opt,name=mediaType,enum=proto.BCallMessage_MediaType" json:"mediaType,omitempty"` + MasterKey []byte `protobuf:"bytes,3,opt,name=masterKey" json:"masterKey,omitempty"` + Caption *string `protobuf:"bytes,4,opt,name=caption" json:"caption,omitempty"` +} + +func (x *BCallMessage) Reset() { + *x = BCallMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BCallMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BCallMessage) ProtoMessage() {} + +func (x *BCallMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BCallMessage.ProtoReflect.Descriptor instead. +func (*BCallMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{31} +} + +func (x *BCallMessage) GetSessionId() string { + if x != nil && x.SessionId != nil { + return *x.SessionId + } + return "" +} + +func (x *BCallMessage) GetMediaType() BCallMessage_MediaType { + if x != nil && x.MediaType != nil { + return *x.MediaType + } + return BCallMessage_UNKNOWN +} + +func (x *BCallMessage) GetMasterKey() []byte { + if x != nil { + return x.MasterKey + } + return nil +} + +func (x *BCallMessage) GetCaption() string { + if x != nil && x.Caption != nil { + return *x.Caption + } + return "" +} + type AudioMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -7830,7 +9247,7 @@ type AudioMessage struct { func (x *AudioMessage) Reset() { *x = AudioMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[33] + mi := &file_binary_proto_def_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7843,7 +9260,7 @@ func (x *AudioMessage) String() string { func (*AudioMessage) ProtoMessage() {} func (x *AudioMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[33] + mi := &file_binary_proto_def_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7856,7 +9273,7 @@ func (x *AudioMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use AudioMessage.ProtoReflect.Descriptor instead. func (*AudioMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{33} + return file_binary_proto_def_proto_rawDescGZIP(), []int{32} } func (x *AudioMessage) GetUrl() string { @@ -7976,7 +9393,7 @@ type AppStateSyncKey struct { func (x *AppStateSyncKey) Reset() { *x = AppStateSyncKey{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[34] + mi := &file_binary_proto_def_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -7989,7 +9406,7 @@ func (x *AppStateSyncKey) String() string { func (*AppStateSyncKey) ProtoMessage() {} func (x *AppStateSyncKey) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[34] + mi := &file_binary_proto_def_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8002,7 +9419,7 @@ func (x *AppStateSyncKey) ProtoReflect() protoreflect.Message { // Deprecated: Use AppStateSyncKey.ProtoReflect.Descriptor instead. func (*AppStateSyncKey) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{34} + return file_binary_proto_def_proto_rawDescGZIP(), []int{33} } func (x *AppStateSyncKey) GetKeyId() *AppStateSyncKeyId { @@ -8030,7 +9447,7 @@ type AppStateSyncKeyShare struct { func (x *AppStateSyncKeyShare) Reset() { *x = AppStateSyncKeyShare{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[35] + mi := &file_binary_proto_def_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8043,7 +9460,7 @@ func (x *AppStateSyncKeyShare) String() string { func (*AppStateSyncKeyShare) ProtoMessage() {} func (x *AppStateSyncKeyShare) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[35] + mi := &file_binary_proto_def_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8056,7 +9473,7 @@ func (x *AppStateSyncKeyShare) ProtoReflect() protoreflect.Message { // Deprecated: Use AppStateSyncKeyShare.ProtoReflect.Descriptor instead. func (*AppStateSyncKeyShare) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{35} + return file_binary_proto_def_proto_rawDescGZIP(), []int{34} } func (x *AppStateSyncKeyShare) GetKeys() []*AppStateSyncKey { @@ -8077,7 +9494,7 @@ type AppStateSyncKeyRequest struct { func (x *AppStateSyncKeyRequest) Reset() { *x = AppStateSyncKeyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[36] + mi := &file_binary_proto_def_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8090,7 +9507,7 @@ func (x *AppStateSyncKeyRequest) String() string { func (*AppStateSyncKeyRequest) ProtoMessage() {} func (x *AppStateSyncKeyRequest) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[36] + mi := &file_binary_proto_def_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8103,7 +9520,7 @@ func (x *AppStateSyncKeyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AppStateSyncKeyRequest.ProtoReflect.Descriptor instead. func (*AppStateSyncKeyRequest) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{36} + return file_binary_proto_def_proto_rawDescGZIP(), []int{35} } func (x *AppStateSyncKeyRequest) GetKeyIds() []*AppStateSyncKeyId { @@ -8124,7 +9541,7 @@ type AppStateSyncKeyId struct { func (x *AppStateSyncKeyId) Reset() { *x = AppStateSyncKeyId{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[37] + mi := &file_binary_proto_def_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8137,7 +9554,7 @@ func (x *AppStateSyncKeyId) String() string { func (*AppStateSyncKeyId) ProtoMessage() {} func (x *AppStateSyncKeyId) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[37] + mi := &file_binary_proto_def_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8150,7 +9567,7 @@ func (x *AppStateSyncKeyId) ProtoReflect() protoreflect.Message { // Deprecated: Use AppStateSyncKeyId.ProtoReflect.Descriptor instead. func (*AppStateSyncKeyId) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{37} + return file_binary_proto_def_proto_rawDescGZIP(), []int{36} } func (x *AppStateSyncKeyId) GetKeyId() []byte { @@ -8173,7 +9590,7 @@ type AppStateSyncKeyFingerprint struct { func (x *AppStateSyncKeyFingerprint) Reset() { *x = AppStateSyncKeyFingerprint{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[38] + mi := &file_binary_proto_def_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8186,7 +9603,7 @@ func (x *AppStateSyncKeyFingerprint) String() string { func (*AppStateSyncKeyFingerprint) ProtoMessage() {} func (x *AppStateSyncKeyFingerprint) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[38] + mi := &file_binary_proto_def_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8199,7 +9616,7 @@ func (x *AppStateSyncKeyFingerprint) ProtoReflect() protoreflect.Message { // Deprecated: Use AppStateSyncKeyFingerprint.ProtoReflect.Descriptor instead. func (*AppStateSyncKeyFingerprint) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{38} + return file_binary_proto_def_proto_rawDescGZIP(), []int{37} } func (x *AppStateSyncKeyFingerprint) GetRawId() uint32 { @@ -8236,7 +9653,7 @@ type AppStateSyncKeyData struct { func (x *AppStateSyncKeyData) Reset() { *x = AppStateSyncKeyData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[39] + mi := &file_binary_proto_def_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8249,7 +9666,7 @@ func (x *AppStateSyncKeyData) String() string { func (*AppStateSyncKeyData) ProtoMessage() {} func (x *AppStateSyncKeyData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[39] + mi := &file_binary_proto_def_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8262,7 +9679,7 @@ func (x *AppStateSyncKeyData) ProtoReflect() protoreflect.Message { // Deprecated: Use AppStateSyncKeyData.ProtoReflect.Descriptor instead. func (*AppStateSyncKeyData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{39} + return file_binary_proto_def_proto_rawDescGZIP(), []int{38} } func (x *AppStateSyncKeyData) GetKeyData() []byte { @@ -8298,7 +9715,7 @@ type AppStateFatalExceptionNotification struct { func (x *AppStateFatalExceptionNotification) Reset() { *x = AppStateFatalExceptionNotification{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[40] + mi := &file_binary_proto_def_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -8311,7 +9728,7 @@ func (x *AppStateFatalExceptionNotification) String() string { func (*AppStateFatalExceptionNotification) ProtoMessage() {} func (x *AppStateFatalExceptionNotification) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[40] + mi := &file_binary_proto_def_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8324,7 +9741,7 @@ func (x *AppStateFatalExceptionNotification) ProtoReflect() protoreflect.Message // Deprecated: Use AppStateFatalExceptionNotification.ProtoReflect.Descriptor instead. func (*AppStateFatalExceptionNotification) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{40} + return file_binary_proto_def_proto_rawDescGZIP(), []int{39} } func (x *AppStateFatalExceptionNotification) GetCollectionNames() []string { @@ -8341,6 +9758,69 @@ func (x *AppStateFatalExceptionNotification) GetTimestamp() int64 { return 0 } +type MediaNotifyMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExpressPathUrl *string `protobuf:"bytes,1,opt,name=expressPathUrl" json:"expressPathUrl,omitempty"` + FileEncSha256 []byte `protobuf:"bytes,2,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` + FileLength *uint64 `protobuf:"varint,3,opt,name=fileLength" json:"fileLength,omitempty"` +} + +func (x *MediaNotifyMessage) Reset() { + *x = MediaNotifyMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MediaNotifyMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MediaNotifyMessage) ProtoMessage() {} + +func (x *MediaNotifyMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MediaNotifyMessage.ProtoReflect.Descriptor instead. +func (*MediaNotifyMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{40} +} + +func (x *MediaNotifyMessage) GetExpressPathUrl() string { + if x != nil && x.ExpressPathUrl != nil { + return *x.ExpressPathUrl + } + return "" +} + +func (x *MediaNotifyMessage) GetFileEncSha256() []byte { + if x != nil { + return x.FileEncSha256 + } + return nil +} + +func (x *MediaNotifyMessage) GetFileLength() uint64 { + if x != nil && x.FileLength != nil { + return *x.FileLength + } + return 0 +} + type Location struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8409,10 +9889,12 @@ type InteractiveAnnotation struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PolygonVertices []*Point `protobuf:"bytes,1,rep,name=polygonVertices" json:"polygonVertices,omitempty"` + PolygonVertices []*Point `protobuf:"bytes,1,rep,name=polygonVertices" json:"polygonVertices,omitempty"` + ShouldSkipConfirmation *bool `protobuf:"varint,4,opt,name=shouldSkipConfirmation" json:"shouldSkipConfirmation,omitempty"` // Types that are assignable to Action: // // *InteractiveAnnotation_Location + // *InteractiveAnnotation_Newsletter Action isInteractiveAnnotation_Action `protobuf_oneof:"action"` } @@ -8455,6 +9937,13 @@ func (x *InteractiveAnnotation) GetPolygonVertices() []*Point { return nil } +func (x *InteractiveAnnotation) GetShouldSkipConfirmation() bool { + if x != nil && x.ShouldSkipConfirmation != nil { + return *x.ShouldSkipConfirmation + } + return false +} + func (m *InteractiveAnnotation) GetAction() isInteractiveAnnotation_Action { if m != nil { return m.Action @@ -8469,6 +9958,13 @@ func (x *InteractiveAnnotation) GetLocation() *Location { return nil } +func (x *InteractiveAnnotation) GetNewsletter() *ForwardedNewsletterMessageInfo { + if x, ok := x.GetAction().(*InteractiveAnnotation_Newsletter); ok { + return x.Newsletter + } + return nil +} + type isInteractiveAnnotation_Action interface { isInteractiveAnnotation_Action() } @@ -8477,8 +9973,14 @@ type InteractiveAnnotation_Location struct { Location *Location `protobuf:"bytes,2,opt,name=location,oneof"` } +type InteractiveAnnotation_Newsletter struct { + Newsletter *ForwardedNewsletterMessageInfo `protobuf:"bytes,3,opt,name=newsletter,oneof"` +} + func (*InteractiveAnnotation_Location) isInteractiveAnnotation_Action() {} +func (*InteractiveAnnotation_Newsletter) isInteractiveAnnotation_Action() {} + type HydratedTemplateButton struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8645,6 +10147,7 @@ type DisappearingMode struct { Initiator *DisappearingMode_Initiator `protobuf:"varint,1,opt,name=initiator,enum=proto.DisappearingMode_Initiator" json:"initiator,omitempty"` Trigger *DisappearingMode_Trigger `protobuf:"varint,2,opt,name=trigger,enum=proto.DisappearingMode_Trigger" json:"trigger,omitempty"` InitiatorDeviceJid *string `protobuf:"bytes,3,opt,name=initiatorDeviceJid" json:"initiatorDeviceJid,omitempty"` + InitiatedByMe *bool `protobuf:"varint,4,opt,name=initiatedByMe" json:"initiatedByMe,omitempty"` } func (x *DisappearingMode) Reset() { @@ -8700,17 +10203,26 @@ func (x *DisappearingMode) GetInitiatorDeviceJid() string { return "" } +func (x *DisappearingMode) GetInitiatedByMe() bool { + if x != nil && x.InitiatedByMe != nil { + return *x.InitiatedByMe + } + return false +} + type DeviceListMetadata struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SenderKeyHash []byte `protobuf:"bytes,1,opt,name=senderKeyHash" json:"senderKeyHash,omitempty"` - SenderTimestamp *uint64 `protobuf:"varint,2,opt,name=senderTimestamp" json:"senderTimestamp,omitempty"` - SenderKeyIndexes []uint32 `protobuf:"varint,3,rep,packed,name=senderKeyIndexes" json:"senderKeyIndexes,omitempty"` - RecipientKeyHash []byte `protobuf:"bytes,8,opt,name=recipientKeyHash" json:"recipientKeyHash,omitempty"` - RecipientTimestamp *uint64 `protobuf:"varint,9,opt,name=recipientTimestamp" json:"recipientTimestamp,omitempty"` - RecipientKeyIndexes []uint32 `protobuf:"varint,10,rep,packed,name=recipientKeyIndexes" json:"recipientKeyIndexes,omitempty"` + SenderKeyHash []byte `protobuf:"bytes,1,opt,name=senderKeyHash" json:"senderKeyHash,omitempty"` + SenderTimestamp *uint64 `protobuf:"varint,2,opt,name=senderTimestamp" json:"senderTimestamp,omitempty"` + SenderKeyIndexes []uint32 `protobuf:"varint,3,rep,packed,name=senderKeyIndexes" json:"senderKeyIndexes,omitempty"` + SenderAccountType *ADVEncryptionType `protobuf:"varint,4,opt,name=senderAccountType,enum=proto.ADVEncryptionType" json:"senderAccountType,omitempty"` + ReceiverAccountType *ADVEncryptionType `protobuf:"varint,5,opt,name=receiverAccountType,enum=proto.ADVEncryptionType" json:"receiverAccountType,omitempty"` + RecipientKeyHash []byte `protobuf:"bytes,8,opt,name=recipientKeyHash" json:"recipientKeyHash,omitempty"` + RecipientTimestamp *uint64 `protobuf:"varint,9,opt,name=recipientTimestamp" json:"recipientTimestamp,omitempty"` + RecipientKeyIndexes []uint32 `protobuf:"varint,10,rep,packed,name=recipientKeyIndexes" json:"recipientKeyIndexes,omitempty"` } func (x *DeviceListMetadata) Reset() { @@ -8766,6 +10278,20 @@ func (x *DeviceListMetadata) GetSenderKeyIndexes() []uint32 { return nil } +func (x *DeviceListMetadata) GetSenderAccountType() ADVEncryptionType { + if x != nil && x.SenderAccountType != nil { + return *x.SenderAccountType + } + return ADVEncryptionType_E2EE +} + +func (x *DeviceListMetadata) GetReceiverAccountType() ADVEncryptionType { + if x != nil && x.ReceiverAccountType != nil { + return *x.ReceiverAccountType + } + return ADVEncryptionType_E2EE +} + func (x *DeviceListMetadata) GetRecipientKeyHash() []byte { if x != nil { return x.RecipientKeyHash @@ -8792,37 +10318,40 @@ type ContextInfo struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StanzaId *string `protobuf:"bytes,1,opt,name=stanzaId" json:"stanzaId,omitempty"` - Participant *string `protobuf:"bytes,2,opt,name=participant" json:"participant,omitempty"` - QuotedMessage *Message `protobuf:"bytes,3,opt,name=quotedMessage" json:"quotedMessage,omitempty"` - RemoteJid *string `protobuf:"bytes,4,opt,name=remoteJid" json:"remoteJid,omitempty"` - MentionedJid []string `protobuf:"bytes,15,rep,name=mentionedJid" json:"mentionedJid,omitempty"` - ConversionSource *string `protobuf:"bytes,18,opt,name=conversionSource" json:"conversionSource,omitempty"` - ConversionData []byte `protobuf:"bytes,19,opt,name=conversionData" json:"conversionData,omitempty"` - ConversionDelaySeconds *uint32 `protobuf:"varint,20,opt,name=conversionDelaySeconds" json:"conversionDelaySeconds,omitempty"` - ForwardingScore *uint32 `protobuf:"varint,21,opt,name=forwardingScore" json:"forwardingScore,omitempty"` - IsForwarded *bool `protobuf:"varint,22,opt,name=isForwarded" json:"isForwarded,omitempty"` - QuotedAd *ContextInfo_AdReplyInfo `protobuf:"bytes,23,opt,name=quotedAd" json:"quotedAd,omitempty"` - PlaceholderKey *MessageKey `protobuf:"bytes,24,opt,name=placeholderKey" json:"placeholderKey,omitempty"` - Expiration *uint32 `protobuf:"varint,25,opt,name=expiration" json:"expiration,omitempty"` - EphemeralSettingTimestamp *int64 `protobuf:"varint,26,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"` - EphemeralSharedSecret []byte `protobuf:"bytes,27,opt,name=ephemeralSharedSecret" json:"ephemeralSharedSecret,omitempty"` - ExternalAdReply *ContextInfo_ExternalAdReplyInfo `protobuf:"bytes,28,opt,name=externalAdReply" json:"externalAdReply,omitempty"` - EntryPointConversionSource *string `protobuf:"bytes,29,opt,name=entryPointConversionSource" json:"entryPointConversionSource,omitempty"` - EntryPointConversionApp *string `protobuf:"bytes,30,opt,name=entryPointConversionApp" json:"entryPointConversionApp,omitempty"` - EntryPointConversionDelaySeconds *uint32 `protobuf:"varint,31,opt,name=entryPointConversionDelaySeconds" json:"entryPointConversionDelaySeconds,omitempty"` - DisappearingMode *DisappearingMode `protobuf:"bytes,32,opt,name=disappearingMode" json:"disappearingMode,omitempty"` - ActionLink *ActionLink `protobuf:"bytes,33,opt,name=actionLink" json:"actionLink,omitempty"` - GroupSubject *string `protobuf:"bytes,34,opt,name=groupSubject" json:"groupSubject,omitempty"` - ParentGroupJid *string `protobuf:"bytes,35,opt,name=parentGroupJid" json:"parentGroupJid,omitempty"` - TrustBannerType *string `protobuf:"bytes,37,opt,name=trustBannerType" json:"trustBannerType,omitempty"` - TrustBannerAction *uint32 `protobuf:"varint,38,opt,name=trustBannerAction" json:"trustBannerAction,omitempty"` - IsSampled *bool `protobuf:"varint,39,opt,name=isSampled" json:"isSampled,omitempty"` - GroupMentions []*GroupMention `protobuf:"bytes,40,rep,name=groupMentions" json:"groupMentions,omitempty"` - Utm *ContextInfo_UTMInfo `protobuf:"bytes,41,opt,name=utm" json:"utm,omitempty"` - ForwardedNewsletterMessageInfo *ContextInfo_ForwardedNewsletterMessageInfo `protobuf:"bytes,43,opt,name=forwardedNewsletterMessageInfo" json:"forwardedNewsletterMessageInfo,omitempty"` - BusinessMessageForwardInfo *ContextInfo_BusinessMessageForwardInfo `protobuf:"bytes,44,opt,name=businessMessageForwardInfo" json:"businessMessageForwardInfo,omitempty"` - SmbClientCampaignId *string `protobuf:"bytes,45,opt,name=smbClientCampaignId" json:"smbClientCampaignId,omitempty"` + StanzaId *string `protobuf:"bytes,1,opt,name=stanzaId" json:"stanzaId,omitempty"` + Participant *string `protobuf:"bytes,2,opt,name=participant" json:"participant,omitempty"` + QuotedMessage *Message `protobuf:"bytes,3,opt,name=quotedMessage" json:"quotedMessage,omitempty"` + RemoteJid *string `protobuf:"bytes,4,opt,name=remoteJid" json:"remoteJid,omitempty"` + MentionedJid []string `protobuf:"bytes,15,rep,name=mentionedJid" json:"mentionedJid,omitempty"` + ConversionSource *string `protobuf:"bytes,18,opt,name=conversionSource" json:"conversionSource,omitempty"` + ConversionData []byte `protobuf:"bytes,19,opt,name=conversionData" json:"conversionData,omitempty"` + ConversionDelaySeconds *uint32 `protobuf:"varint,20,opt,name=conversionDelaySeconds" json:"conversionDelaySeconds,omitempty"` + ForwardingScore *uint32 `protobuf:"varint,21,opt,name=forwardingScore" json:"forwardingScore,omitempty"` + IsForwarded *bool `protobuf:"varint,22,opt,name=isForwarded" json:"isForwarded,omitempty"` + QuotedAd *ContextInfo_AdReplyInfo `protobuf:"bytes,23,opt,name=quotedAd" json:"quotedAd,omitempty"` + PlaceholderKey *MessageKey `protobuf:"bytes,24,opt,name=placeholderKey" json:"placeholderKey,omitempty"` + Expiration *uint32 `protobuf:"varint,25,opt,name=expiration" json:"expiration,omitempty"` + EphemeralSettingTimestamp *int64 `protobuf:"varint,26,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"` + EphemeralSharedSecret []byte `protobuf:"bytes,27,opt,name=ephemeralSharedSecret" json:"ephemeralSharedSecret,omitempty"` + ExternalAdReply *ContextInfo_ExternalAdReplyInfo `protobuf:"bytes,28,opt,name=externalAdReply" json:"externalAdReply,omitempty"` + EntryPointConversionSource *string `protobuf:"bytes,29,opt,name=entryPointConversionSource" json:"entryPointConversionSource,omitempty"` + EntryPointConversionApp *string `protobuf:"bytes,30,opt,name=entryPointConversionApp" json:"entryPointConversionApp,omitempty"` + EntryPointConversionDelaySeconds *uint32 `protobuf:"varint,31,opt,name=entryPointConversionDelaySeconds" json:"entryPointConversionDelaySeconds,omitempty"` + DisappearingMode *DisappearingMode `protobuf:"bytes,32,opt,name=disappearingMode" json:"disappearingMode,omitempty"` + ActionLink *ActionLink `protobuf:"bytes,33,opt,name=actionLink" json:"actionLink,omitempty"` + GroupSubject *string `protobuf:"bytes,34,opt,name=groupSubject" json:"groupSubject,omitempty"` + ParentGroupJid *string `protobuf:"bytes,35,opt,name=parentGroupJid" json:"parentGroupJid,omitempty"` + TrustBannerType *string `protobuf:"bytes,37,opt,name=trustBannerType" json:"trustBannerType,omitempty"` + TrustBannerAction *uint32 `protobuf:"varint,38,opt,name=trustBannerAction" json:"trustBannerAction,omitempty"` + IsSampled *bool `protobuf:"varint,39,opt,name=isSampled" json:"isSampled,omitempty"` + GroupMentions []*GroupMention `protobuf:"bytes,40,rep,name=groupMentions" json:"groupMentions,omitempty"` + Utm *ContextInfo_UTMInfo `protobuf:"bytes,41,opt,name=utm" json:"utm,omitempty"` + ForwardedNewsletterMessageInfo *ForwardedNewsletterMessageInfo `protobuf:"bytes,43,opt,name=forwardedNewsletterMessageInfo" json:"forwardedNewsletterMessageInfo,omitempty"` + BusinessMessageForwardInfo *ContextInfo_BusinessMessageForwardInfo `protobuf:"bytes,44,opt,name=businessMessageForwardInfo" json:"businessMessageForwardInfo,omitempty"` + SmbClientCampaignId *string `protobuf:"bytes,45,opt,name=smbClientCampaignId" json:"smbClientCampaignId,omitempty"` + SmbServerCampaignId *string `protobuf:"bytes,46,opt,name=smbServerCampaignId" json:"smbServerCampaignId,omitempty"` + DataSharingContext *ContextInfo_DataSharingContext `protobuf:"bytes,47,opt,name=dataSharingContext" json:"dataSharingContext,omitempty"` + AlwaysShowAdAttribution *bool `protobuf:"varint,48,opt,name=alwaysShowAdAttribution" json:"alwaysShowAdAttribution,omitempty"` } func (x *ContextInfo) Reset() { @@ -9053,7 +10582,7 @@ func (x *ContextInfo) GetUtm() *ContextInfo_UTMInfo { return nil } -func (x *ContextInfo) GetForwardedNewsletterMessageInfo() *ContextInfo_ForwardedNewsletterMessageInfo { +func (x *ContextInfo) GetForwardedNewsletterMessageInfo() *ForwardedNewsletterMessageInfo { if x != nil { return x.ForwardedNewsletterMessageInfo } @@ -9074,18 +10603,228 @@ func (x *ContextInfo) GetSmbClientCampaignId() string { return "" } +func (x *ContextInfo) GetSmbServerCampaignId() string { + if x != nil && x.SmbServerCampaignId != nil { + return *x.SmbServerCampaignId + } + return "" +} + +func (x *ContextInfo) GetDataSharingContext() *ContextInfo_DataSharingContext { + if x != nil { + return x.DataSharingContext + } + return nil +} + +func (x *ContextInfo) GetAlwaysShowAdAttribution() bool { + if x != nil && x.AlwaysShowAdAttribution != nil { + return *x.AlwaysShowAdAttribution + } + return false +} + +type ForwardedNewsletterMessageInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NewsletterJid *string `protobuf:"bytes,1,opt,name=newsletterJid" json:"newsletterJid,omitempty"` + ServerMessageId *int32 `protobuf:"varint,2,opt,name=serverMessageId" json:"serverMessageId,omitempty"` + NewsletterName *string `protobuf:"bytes,3,opt,name=newsletterName" json:"newsletterName,omitempty"` + ContentType *ForwardedNewsletterMessageInfo_ContentType `protobuf:"varint,4,opt,name=contentType,enum=proto.ForwardedNewsletterMessageInfo_ContentType" json:"contentType,omitempty"` + AccessibilityText *string `protobuf:"bytes,5,opt,name=accessibilityText" json:"accessibilityText,omitempty"` +} + +func (x *ForwardedNewsletterMessageInfo) Reset() { + *x = ForwardedNewsletterMessageInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForwardedNewsletterMessageInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForwardedNewsletterMessageInfo) ProtoMessage() {} + +func (x *ForwardedNewsletterMessageInfo) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[48] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForwardedNewsletterMessageInfo.ProtoReflect.Descriptor instead. +func (*ForwardedNewsletterMessageInfo) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{48} +} + +func (x *ForwardedNewsletterMessageInfo) GetNewsletterJid() string { + if x != nil && x.NewsletterJid != nil { + return *x.NewsletterJid + } + return "" +} + +func (x *ForwardedNewsletterMessageInfo) GetServerMessageId() int32 { + if x != nil && x.ServerMessageId != nil { + return *x.ServerMessageId + } + return 0 +} + +func (x *ForwardedNewsletterMessageInfo) GetNewsletterName() string { + if x != nil && x.NewsletterName != nil { + return *x.NewsletterName + } + return "" +} + +func (x *ForwardedNewsletterMessageInfo) GetContentType() ForwardedNewsletterMessageInfo_ContentType { + if x != nil && x.ContentType != nil { + return *x.ContentType + } + return ForwardedNewsletterMessageInfo_UPDATE +} + +func (x *ForwardedNewsletterMessageInfo) GetAccessibilityText() string { + if x != nil && x.AccessibilityText != nil { + return *x.AccessibilityText + } + return "" +} + +type BotSuggestedPromptMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SuggestedPrompts []string `protobuf:"bytes,1,rep,name=suggestedPrompts" json:"suggestedPrompts,omitempty"` + SelectedPromptIndex *uint32 `protobuf:"varint,2,opt,name=selectedPromptIndex" json:"selectedPromptIndex,omitempty"` +} + +func (x *BotSuggestedPromptMetadata) Reset() { + *x = BotSuggestedPromptMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BotSuggestedPromptMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BotSuggestedPromptMetadata) ProtoMessage() {} + +func (x *BotSuggestedPromptMetadata) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BotSuggestedPromptMetadata.ProtoReflect.Descriptor instead. +func (*BotSuggestedPromptMetadata) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{49} +} + +func (x *BotSuggestedPromptMetadata) GetSuggestedPrompts() []string { + if x != nil { + return x.SuggestedPrompts + } + return nil +} + +func (x *BotSuggestedPromptMetadata) GetSelectedPromptIndex() uint32 { + if x != nil && x.SelectedPromptIndex != nil { + return *x.SelectedPromptIndex + } + return 0 +} + +type BotSearchMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SessionId *string `protobuf:"bytes,1,opt,name=sessionId" json:"sessionId,omitempty"` +} + +func (x *BotSearchMetadata) Reset() { + *x = BotSearchMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BotSearchMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BotSearchMetadata) ProtoMessage() {} + +func (x *BotSearchMetadata) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[50] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BotSearchMetadata.ProtoReflect.Descriptor instead. +func (*BotSearchMetadata) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{50} +} + +func (x *BotSearchMetadata) GetSessionId() string { + if x != nil && x.SessionId != nil { + return *x.SessionId + } + return "" +} + type BotPluginMetadata struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - IsPlaceholder *bool `protobuf:"varint,1,opt,name=isPlaceholder" json:"isPlaceholder,omitempty"` + Provider *BotPluginMetadata_SearchProvider `protobuf:"varint,1,opt,name=provider,enum=proto.BotPluginMetadata_SearchProvider" json:"provider,omitempty"` + PluginType *BotPluginMetadata_PluginType `protobuf:"varint,2,opt,name=pluginType,enum=proto.BotPluginMetadata_PluginType" json:"pluginType,omitempty"` + ThumbnailCdnUrl *string `protobuf:"bytes,3,opt,name=thumbnailCdnUrl" json:"thumbnailCdnUrl,omitempty"` + ProfilePhotoCdnUrl *string `protobuf:"bytes,4,opt,name=profilePhotoCdnUrl" json:"profilePhotoCdnUrl,omitempty"` + SearchProviderUrl *string `protobuf:"bytes,5,opt,name=searchProviderUrl" json:"searchProviderUrl,omitempty"` + ReferenceIndex *uint32 `protobuf:"varint,6,opt,name=referenceIndex" json:"referenceIndex,omitempty"` + ExpectedLinksCount *uint32 `protobuf:"varint,7,opt,name=expectedLinksCount" json:"expectedLinksCount,omitempty"` + SearchQuery *string `protobuf:"bytes,9,opt,name=searchQuery" json:"searchQuery,omitempty"` + ParentPluginMessageKey *MessageKey `protobuf:"bytes,10,opt,name=parentPluginMessageKey" json:"parentPluginMessageKey,omitempty"` } func (x *BotPluginMetadata) Reset() { *x = BotPluginMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[48] + mi := &file_binary_proto_def_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9098,7 +10837,7 @@ func (x *BotPluginMetadata) String() string { func (*BotPluginMetadata) ProtoMessage() {} func (x *BotPluginMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[48] + mi := &file_binary_proto_def_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9111,14 +10850,70 @@ func (x *BotPluginMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use BotPluginMetadata.ProtoReflect.Descriptor instead. func (*BotPluginMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{48} + return file_binary_proto_def_proto_rawDescGZIP(), []int{51} } -func (x *BotPluginMetadata) GetIsPlaceholder() bool { - if x != nil && x.IsPlaceholder != nil { - return *x.IsPlaceholder +func (x *BotPluginMetadata) GetProvider() BotPluginMetadata_SearchProvider { + if x != nil && x.Provider != nil { + return *x.Provider } - return false + return BotPluginMetadata_BING +} + +func (x *BotPluginMetadata) GetPluginType() BotPluginMetadata_PluginType { + if x != nil && x.PluginType != nil { + return *x.PluginType + } + return BotPluginMetadata_REELS +} + +func (x *BotPluginMetadata) GetThumbnailCdnUrl() string { + if x != nil && x.ThumbnailCdnUrl != nil { + return *x.ThumbnailCdnUrl + } + return "" +} + +func (x *BotPluginMetadata) GetProfilePhotoCdnUrl() string { + if x != nil && x.ProfilePhotoCdnUrl != nil { + return *x.ProfilePhotoCdnUrl + } + return "" +} + +func (x *BotPluginMetadata) GetSearchProviderUrl() string { + if x != nil && x.SearchProviderUrl != nil { + return *x.SearchProviderUrl + } + return "" +} + +func (x *BotPluginMetadata) GetReferenceIndex() uint32 { + if x != nil && x.ReferenceIndex != nil { + return *x.ReferenceIndex + } + return 0 +} + +func (x *BotPluginMetadata) GetExpectedLinksCount() uint32 { + if x != nil && x.ExpectedLinksCount != nil { + return *x.ExpectedLinksCount + } + return 0 +} + +func (x *BotPluginMetadata) GetSearchQuery() string { + if x != nil && x.SearchQuery != nil { + return *x.SearchQuery + } + return "" +} + +func (x *BotPluginMetadata) GetParentPluginMessageKey() *MessageKey { + if x != nil { + return x.ParentPluginMessageKey + } + return nil } type BotMetadata struct { @@ -9126,15 +10921,18 @@ type BotMetadata struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AvatarMetadata *BotAvatarMetadata `protobuf:"bytes,1,opt,name=avatarMetadata" json:"avatarMetadata,omitempty"` - PersonaId *string `protobuf:"bytes,2,opt,name=personaId" json:"personaId,omitempty"` - PluginMetadata *BotPluginMetadata `protobuf:"bytes,3,opt,name=pluginMetadata" json:"pluginMetadata,omitempty"` + AvatarMetadata *BotAvatarMetadata `protobuf:"bytes,1,opt,name=avatarMetadata" json:"avatarMetadata,omitempty"` + PersonaId *string `protobuf:"bytes,2,opt,name=personaId" json:"personaId,omitempty"` + PluginMetadata *BotPluginMetadata `protobuf:"bytes,3,opt,name=pluginMetadata" json:"pluginMetadata,omitempty"` + SuggestedPromptMetadata *BotSuggestedPromptMetadata `protobuf:"bytes,4,opt,name=suggestedPromptMetadata" json:"suggestedPromptMetadata,omitempty"` + InvokerJid *string `protobuf:"bytes,5,opt,name=invokerJid" json:"invokerJid,omitempty"` + SearchMetadata *BotSearchMetadata `protobuf:"bytes,6,opt,name=searchMetadata" json:"searchMetadata,omitempty"` } func (x *BotMetadata) Reset() { *x = BotMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[49] + mi := &file_binary_proto_def_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9147,7 +10945,7 @@ func (x *BotMetadata) String() string { func (*BotMetadata) ProtoMessage() {} func (x *BotMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[49] + mi := &file_binary_proto_def_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9160,7 +10958,7 @@ func (x *BotMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use BotMetadata.ProtoReflect.Descriptor instead. func (*BotMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{49} + return file_binary_proto_def_proto_rawDescGZIP(), []int{52} } func (x *BotMetadata) GetAvatarMetadata() *BotAvatarMetadata { @@ -9184,6 +10982,27 @@ func (x *BotMetadata) GetPluginMetadata() *BotPluginMetadata { return nil } +func (x *BotMetadata) GetSuggestedPromptMetadata() *BotSuggestedPromptMetadata { + if x != nil { + return x.SuggestedPromptMetadata + } + return nil +} + +func (x *BotMetadata) GetInvokerJid() string { + if x != nil && x.InvokerJid != nil { + return *x.InvokerJid + } + return "" +} + +func (x *BotMetadata) GetSearchMetadata() *BotSearchMetadata { + if x != nil { + return x.SearchMetadata + } + return nil +} + type BotAvatarMetadata struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -9199,7 +11018,7 @@ type BotAvatarMetadata struct { func (x *BotAvatarMetadata) Reset() { *x = BotAvatarMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[50] + mi := &file_binary_proto_def_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9212,7 +11031,7 @@ func (x *BotAvatarMetadata) String() string { func (*BotAvatarMetadata) ProtoMessage() {} func (x *BotAvatarMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[50] + mi := &file_binary_proto_def_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9225,7 +11044,7 @@ func (x *BotAvatarMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use BotAvatarMetadata.ProtoReflect.Descriptor instead. func (*BotAvatarMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{50} + return file_binary_proto_def_proto_rawDescGZIP(), []int{53} } func (x *BotAvatarMetadata) GetSentiment() uint32 { @@ -9275,7 +11094,7 @@ type ActionLink struct { func (x *ActionLink) Reset() { *x = ActionLink{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[51] + mi := &file_binary_proto_def_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9288,7 +11107,7 @@ func (x *ActionLink) String() string { func (*ActionLink) ProtoMessage() {} func (x *ActionLink) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[51] + mi := &file_binary_proto_def_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9301,7 +11120,7 @@ func (x *ActionLink) ProtoReflect() protoreflect.Message { // Deprecated: Use ActionLink.ProtoReflect.Descriptor instead. func (*ActionLink) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{51} + return file_binary_proto_def_proto_rawDescGZIP(), []int{54} } func (x *ActionLink) GetUrl() string { @@ -9335,7 +11154,7 @@ type TemplateButton struct { func (x *TemplateButton) Reset() { *x = TemplateButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[52] + mi := &file_binary_proto_def_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9348,7 +11167,7 @@ func (x *TemplateButton) String() string { func (*TemplateButton) ProtoMessage() {} func (x *TemplateButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[52] + mi := &file_binary_proto_def_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9361,7 +11180,7 @@ func (x *TemplateButton) ProtoReflect() protoreflect.Message { // Deprecated: Use TemplateButton.ProtoReflect.Descriptor instead. func (*TemplateButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{52} + return file_binary_proto_def_proto_rawDescGZIP(), []int{55} } func (x *TemplateButton) GetIndex() uint32 { @@ -9435,7 +11254,7 @@ type Point struct { func (x *Point) Reset() { *x = Point{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[53] + mi := &file_binary_proto_def_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9448,7 +11267,7 @@ func (x *Point) String() string { func (*Point) ProtoMessage() {} func (x *Point) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[53] + mi := &file_binary_proto_def_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9461,7 +11280,7 @@ func (x *Point) ProtoReflect() protoreflect.Message { // Deprecated: Use Point.ProtoReflect.Descriptor instead. func (*Point) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{53} + return file_binary_proto_def_proto_rawDescGZIP(), []int{56} } func (x *Point) GetXDeprecated() int32 { @@ -9512,7 +11331,7 @@ type PaymentBackground struct { func (x *PaymentBackground) Reset() { *x = PaymentBackground{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[54] + mi := &file_binary_proto_def_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9525,7 +11344,7 @@ func (x *PaymentBackground) String() string { func (*PaymentBackground) ProtoMessage() {} func (x *PaymentBackground) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[54] + mi := &file_binary_proto_def_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9538,7 +11357,7 @@ func (x *PaymentBackground) ProtoReflect() protoreflect.Message { // Deprecated: Use PaymentBackground.ProtoReflect.Descriptor instead. func (*PaymentBackground) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{54} + return file_binary_proto_def_proto_rawDescGZIP(), []int{57} } func (x *PaymentBackground) GetId() string { @@ -9624,7 +11443,7 @@ type Money struct { func (x *Money) Reset() { *x = Money{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[55] + mi := &file_binary_proto_def_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9637,7 +11456,7 @@ func (x *Money) String() string { func (*Money) ProtoMessage() {} func (x *Money) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[55] + mi := &file_binary_proto_def_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9650,7 +11469,7 @@ func (x *Money) ProtoReflect() protoreflect.Message { // Deprecated: Use Money.ProtoReflect.Descriptor instead. func (*Money) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{55} + return file_binary_proto_def_proto_rawDescGZIP(), []int{58} } func (x *Money) GetValue() int64 { @@ -9736,13 +11555,23 @@ type Message struct { ScheduledCallEditMessage *ScheduledCallEditMessage `protobuf:"bytes,65,opt,name=scheduledCallEditMessage" json:"scheduledCallEditMessage,omitempty"` PtvMessage *VideoMessage `protobuf:"bytes,66,opt,name=ptvMessage" json:"ptvMessage,omitempty"` BotInvokeMessage *FutureProofMessage `protobuf:"bytes,67,opt,name=botInvokeMessage" json:"botInvokeMessage,omitempty"` - EncCommentMessage *EncCommentMessage `protobuf:"bytes,68,opt,name=encCommentMessage" json:"encCommentMessage,omitempty"` + CallLogMesssage *CallLogMessage `protobuf:"bytes,69,opt,name=callLogMesssage" json:"callLogMesssage,omitempty"` + MessageHistoryBundle *MessageHistoryBundle `protobuf:"bytes,70,opt,name=messageHistoryBundle" json:"messageHistoryBundle,omitempty"` + EncCommentMessage *EncCommentMessage `protobuf:"bytes,71,opt,name=encCommentMessage" json:"encCommentMessage,omitempty"` + BcallMessage *BCallMessage `protobuf:"bytes,72,opt,name=bcallMessage" json:"bcallMessage,omitempty"` + LottieStickerMessage *FutureProofMessage `protobuf:"bytes,74,opt,name=lottieStickerMessage" json:"lottieStickerMessage,omitempty"` + EventMessage *EventMessage `protobuf:"bytes,75,opt,name=eventMessage" json:"eventMessage,omitempty"` + EncEventResponseMessage *EncEventResponseMessage `protobuf:"bytes,76,opt,name=encEventResponseMessage" json:"encEventResponseMessage,omitempty"` + CommentMessage *CommentMessage `protobuf:"bytes,77,opt,name=commentMessage" json:"commentMessage,omitempty"` + NewsletterAdminInviteMessage *NewsletterAdminInviteMessage `protobuf:"bytes,78,opt,name=newsletterAdminInviteMessage" json:"newsletterAdminInviteMessage,omitempty"` + PlaceholderMessage *PlaceholderMessage `protobuf:"bytes,80,opt,name=placeholderMessage" json:"placeholderMessage,omitempty"` + SecretEncryptedMessage *SecretEncryptedMessage `protobuf:"bytes,82,opt,name=secretEncryptedMessage" json:"secretEncryptedMessage,omitempty"` } func (x *Message) Reset() { *x = Message{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[56] + mi := &file_binary_proto_def_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9755,7 +11584,7 @@ func (x *Message) String() string { func (*Message) ProtoMessage() {} func (x *Message) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[56] + mi := &file_binary_proto_def_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9768,7 +11597,7 @@ func (x *Message) ProtoReflect() protoreflect.Message { // Deprecated: Use Message.ProtoReflect.Descriptor instead. func (*Message) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{56} + return file_binary_proto_def_proto_rawDescGZIP(), []int{59} } func (x *Message) GetConversation() string { @@ -10170,6 +11999,20 @@ func (x *Message) GetBotInvokeMessage() *FutureProofMessage { return nil } +func (x *Message) GetCallLogMesssage() *CallLogMessage { + if x != nil { + return x.CallLogMesssage + } + return nil +} + +func (x *Message) GetMessageHistoryBundle() *MessageHistoryBundle { + if x != nil { + return x.MessageHistoryBundle + } + return nil +} + func (x *Message) GetEncCommentMessage() *EncCommentMessage { if x != nil { return x.EncCommentMessage @@ -10177,6 +12020,62 @@ func (x *Message) GetEncCommentMessage() *EncCommentMessage { return nil } +func (x *Message) GetBcallMessage() *BCallMessage { + if x != nil { + return x.BcallMessage + } + return nil +} + +func (x *Message) GetLottieStickerMessage() *FutureProofMessage { + if x != nil { + return x.LottieStickerMessage + } + return nil +} + +func (x *Message) GetEventMessage() *EventMessage { + if x != nil { + return x.EventMessage + } + return nil +} + +func (x *Message) GetEncEventResponseMessage() *EncEventResponseMessage { + if x != nil { + return x.EncEventResponseMessage + } + return nil +} + +func (x *Message) GetCommentMessage() *CommentMessage { + if x != nil { + return x.CommentMessage + } + return nil +} + +func (x *Message) GetNewsletterAdminInviteMessage() *NewsletterAdminInviteMessage { + if x != nil { + return x.NewsletterAdminInviteMessage + } + return nil +} + +func (x *Message) GetPlaceholderMessage() *PlaceholderMessage { + if x != nil { + return x.PlaceholderMessage + } + return nil +} + +func (x *Message) GetSecretEncryptedMessage() *SecretEncryptedMessage { + if x != nil { + return x.SecretEncryptedMessage + } + return nil +} + type MessageSecretMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -10190,7 +12089,7 @@ type MessageSecretMessage struct { func (x *MessageSecretMessage) Reset() { *x = MessageSecretMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[57] + mi := &file_binary_proto_def_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10203,7 +12102,7 @@ func (x *MessageSecretMessage) String() string { func (*MessageSecretMessage) ProtoMessage() {} func (x *MessageSecretMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[57] + mi := &file_binary_proto_def_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10216,7 +12115,7 @@ func (x *MessageSecretMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use MessageSecretMessage.ProtoReflect.Descriptor instead. func (*MessageSecretMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{57} + return file_binary_proto_def_proto_rawDescGZIP(), []int{60} } func (x *MessageSecretMessage) GetVersion() int32 { @@ -10252,12 +12151,13 @@ type MessageContextInfo struct { MessageAddOnDurationInSecs *uint32 `protobuf:"varint,5,opt,name=messageAddOnDurationInSecs" json:"messageAddOnDurationInSecs,omitempty"` BotMessageSecret []byte `protobuf:"bytes,6,opt,name=botMessageSecret" json:"botMessageSecret,omitempty"` BotMetadata *BotMetadata `protobuf:"bytes,7,opt,name=botMetadata" json:"botMetadata,omitempty"` + ReportingTokenVersion *int32 `protobuf:"varint,8,opt,name=reportingTokenVersion" json:"reportingTokenVersion,omitempty"` } func (x *MessageContextInfo) Reset() { *x = MessageContextInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[58] + mi := &file_binary_proto_def_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10270,7 +12170,7 @@ func (x *MessageContextInfo) String() string { func (*MessageContextInfo) ProtoMessage() {} func (x *MessageContextInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[58] + mi := &file_binary_proto_def_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10283,7 +12183,7 @@ func (x *MessageContextInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use MessageContextInfo.ProtoReflect.Descriptor instead. func (*MessageContextInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{58} + return file_binary_proto_def_proto_rawDescGZIP(), []int{61} } func (x *MessageContextInfo) GetDeviceListMetadata() *DeviceListMetadata { @@ -10335,6 +12235,13 @@ func (x *MessageContextInfo) GetBotMetadata() *BotMetadata { return nil } +func (x *MessageContextInfo) GetReportingTokenVersion() int32 { + if x != nil && x.ReportingTokenVersion != nil { + return *x.ReportingTokenVersion + } + return 0 +} + type VideoMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -10363,12 +12270,13 @@ type VideoMessage struct { ThumbnailSha256 []byte `protobuf:"bytes,22,opt,name=thumbnailSha256" json:"thumbnailSha256,omitempty"` ThumbnailEncSha256 []byte `protobuf:"bytes,23,opt,name=thumbnailEncSha256" json:"thumbnailEncSha256,omitempty"` StaticUrl *string `protobuf:"bytes,24,opt,name=staticUrl" json:"staticUrl,omitempty"` + Annotations []*InteractiveAnnotation `protobuf:"bytes,25,rep,name=annotations" json:"annotations,omitempty"` } func (x *VideoMessage) Reset() { *x = VideoMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[59] + mi := &file_binary_proto_def_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10381,7 +12289,7 @@ func (x *VideoMessage) String() string { func (*VideoMessage) ProtoMessage() {} func (x *VideoMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[59] + mi := &file_binary_proto_def_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10394,7 +12302,7 @@ func (x *VideoMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use VideoMessage.ProtoReflect.Descriptor instead. func (*VideoMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{59} + return file_binary_proto_def_proto_rawDescGZIP(), []int{62} } func (x *VideoMessage) GetUrl() string { @@ -10558,6 +12466,13 @@ func (x *VideoMessage) GetStaticUrl() string { return "" } +func (x *VideoMessage) GetAnnotations() []*InteractiveAnnotation { + if x != nil { + return x.Annotations + } + return nil +} + type TemplateMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -10577,7 +12492,7 @@ type TemplateMessage struct { func (x *TemplateMessage) Reset() { *x = TemplateMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[60] + mi := &file_binary_proto_def_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10590,7 +12505,7 @@ func (x *TemplateMessage) String() string { func (*TemplateMessage) ProtoMessage() {} func (x *TemplateMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[60] + mi := &file_binary_proto_def_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10603,7 +12518,7 @@ func (x *TemplateMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use TemplateMessage.ProtoReflect.Descriptor instead. func (*TemplateMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{60} + return file_binary_proto_def_proto_rawDescGZIP(), []int{63} } func (x *TemplateMessage) GetContextInfo() *ContextInfo { @@ -10682,16 +12597,17 @@ type TemplateButtonReplyMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SelectedId *string `protobuf:"bytes,1,opt,name=selectedId" json:"selectedId,omitempty"` - SelectedDisplayText *string `protobuf:"bytes,2,opt,name=selectedDisplayText" json:"selectedDisplayText,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo" json:"contextInfo,omitempty"` - SelectedIndex *uint32 `protobuf:"varint,4,opt,name=selectedIndex" json:"selectedIndex,omitempty"` + SelectedId *string `protobuf:"bytes,1,opt,name=selectedId" json:"selectedId,omitempty"` + SelectedDisplayText *string `protobuf:"bytes,2,opt,name=selectedDisplayText" json:"selectedDisplayText,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,3,opt,name=contextInfo" json:"contextInfo,omitempty"` + SelectedIndex *uint32 `protobuf:"varint,4,opt,name=selectedIndex" json:"selectedIndex,omitempty"` + SelectedCarouselCardIndex *uint32 `protobuf:"varint,5,opt,name=selectedCarouselCardIndex" json:"selectedCarouselCardIndex,omitempty"` } func (x *TemplateButtonReplyMessage) Reset() { *x = TemplateButtonReplyMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[61] + mi := &file_binary_proto_def_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10704,7 +12620,7 @@ func (x *TemplateButtonReplyMessage) String() string { func (*TemplateButtonReplyMessage) ProtoMessage() {} func (x *TemplateButtonReplyMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[61] + mi := &file_binary_proto_def_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10717,7 +12633,7 @@ func (x *TemplateButtonReplyMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use TemplateButtonReplyMessage.ProtoReflect.Descriptor instead. func (*TemplateButtonReplyMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{61} + return file_binary_proto_def_proto_rawDescGZIP(), []int{64} } func (x *TemplateButtonReplyMessage) GetSelectedId() string { @@ -10748,6 +12664,13 @@ func (x *TemplateButtonReplyMessage) GetSelectedIndex() uint32 { return 0 } +func (x *TemplateButtonReplyMessage) GetSelectedCarouselCardIndex() uint32 { + if x != nil && x.SelectedCarouselCardIndex != nil { + return *x.SelectedCarouselCardIndex + } + return 0 +} + type StickerSyncRMRMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -10761,7 +12684,7 @@ type StickerSyncRMRMessage struct { func (x *StickerSyncRMRMessage) Reset() { *x = StickerSyncRMRMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[62] + mi := &file_binary_proto_def_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10774,7 +12697,7 @@ func (x *StickerSyncRMRMessage) String() string { func (*StickerSyncRMRMessage) ProtoMessage() {} func (x *StickerSyncRMRMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[62] + mi := &file_binary_proto_def_proto_msgTypes[65] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10787,7 +12710,7 @@ func (x *StickerSyncRMRMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use StickerSyncRMRMessage.ProtoReflect.Descriptor instead. func (*StickerSyncRMRMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{62} + return file_binary_proto_def_proto_rawDescGZIP(), []int{65} } func (x *StickerSyncRMRMessage) GetFilehash() []string { @@ -10834,12 +12757,13 @@ type StickerMessage struct { StickerSentTs *int64 `protobuf:"varint,18,opt,name=stickerSentTs" json:"stickerSentTs,omitempty"` IsAvatar *bool `protobuf:"varint,19,opt,name=isAvatar" json:"isAvatar,omitempty"` IsAiSticker *bool `protobuf:"varint,20,opt,name=isAiSticker" json:"isAiSticker,omitempty"` + IsLottie *bool `protobuf:"varint,21,opt,name=isLottie" json:"isLottie,omitempty"` } func (x *StickerMessage) Reset() { *x = StickerMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[63] + mi := &file_binary_proto_def_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10852,7 +12776,7 @@ func (x *StickerMessage) String() string { func (*StickerMessage) ProtoMessage() {} func (x *StickerMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[63] + mi := &file_binary_proto_def_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10865,7 +12789,7 @@ func (x *StickerMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use StickerMessage.ProtoReflect.Descriptor instead. func (*StickerMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{63} + return file_binary_proto_def_proto_rawDescGZIP(), []int{66} } func (x *StickerMessage) GetUrl() string { @@ -10994,6 +12918,13 @@ func (x *StickerMessage) GetIsAiSticker() bool { return false } +func (x *StickerMessage) GetIsLottie() bool { + if x != nil && x.IsLottie != nil { + return *x.IsLottie + } + return false +} + type SenderKeyDistributionMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -11006,7 +12937,7 @@ type SenderKeyDistributionMessage struct { func (x *SenderKeyDistributionMessage) Reset() { *x = SenderKeyDistributionMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[64] + mi := &file_binary_proto_def_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11019,7 +12950,7 @@ func (x *SenderKeyDistributionMessage) String() string { func (*SenderKeyDistributionMessage) ProtoMessage() {} func (x *SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[64] + mi := &file_binary_proto_def_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11032,7 +12963,7 @@ func (x *SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use SenderKeyDistributionMessage.ProtoReflect.Descriptor instead. func (*SenderKeyDistributionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{64} + return file_binary_proto_def_proto_rawDescGZIP(), []int{67} } func (x *SenderKeyDistributionMessage) GetGroupId() string { @@ -11062,7 +12993,7 @@ type SendPaymentMessage struct { func (x *SendPaymentMessage) Reset() { *x = SendPaymentMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[65] + mi := &file_binary_proto_def_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11075,7 +13006,7 @@ func (x *SendPaymentMessage) String() string { func (*SendPaymentMessage) ProtoMessage() {} func (x *SendPaymentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[65] + mi := &file_binary_proto_def_proto_msgTypes[68] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11088,7 +13019,7 @@ func (x *SendPaymentMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use SendPaymentMessage.ProtoReflect.Descriptor instead. func (*SendPaymentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{65} + return file_binary_proto_def_proto_rawDescGZIP(), []int{68} } func (x *SendPaymentMessage) GetNoteMessage() *Message { @@ -11112,6 +13043,77 @@ func (x *SendPaymentMessage) GetBackground() *PaymentBackground { return nil } +type SecretEncryptedMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TargetMessageKey *MessageKey `protobuf:"bytes,1,opt,name=targetMessageKey" json:"targetMessageKey,omitempty"` + EncPayload []byte `protobuf:"bytes,2,opt,name=encPayload" json:"encPayload,omitempty"` + EncIv []byte `protobuf:"bytes,3,opt,name=encIv" json:"encIv,omitempty"` + SecretEncType *SecretEncryptedMessage_SecretEncType `protobuf:"varint,4,opt,name=secretEncType,enum=proto.SecretEncryptedMessage_SecretEncType" json:"secretEncType,omitempty"` +} + +func (x *SecretEncryptedMessage) Reset() { + *x = SecretEncryptedMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SecretEncryptedMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SecretEncryptedMessage) ProtoMessage() {} + +func (x *SecretEncryptedMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[69] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SecretEncryptedMessage.ProtoReflect.Descriptor instead. +func (*SecretEncryptedMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{69} +} + +func (x *SecretEncryptedMessage) GetTargetMessageKey() *MessageKey { + if x != nil { + return x.TargetMessageKey + } + return nil +} + +func (x *SecretEncryptedMessage) GetEncPayload() []byte { + if x != nil { + return x.EncPayload + } + return nil +} + +func (x *SecretEncryptedMessage) GetEncIv() []byte { + if x != nil { + return x.EncIv + } + return nil +} + +func (x *SecretEncryptedMessage) GetSecretEncType() SecretEncryptedMessage_SecretEncType { + if x != nil && x.SecretEncType != nil { + return *x.SecretEncType + } + return SecretEncryptedMessage_UNKNOWN +} + type ScheduledCallEditMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -11124,7 +13126,7 @@ type ScheduledCallEditMessage struct { func (x *ScheduledCallEditMessage) Reset() { *x = ScheduledCallEditMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[66] + mi := &file_binary_proto_def_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11137,7 +13139,7 @@ func (x *ScheduledCallEditMessage) String() string { func (*ScheduledCallEditMessage) ProtoMessage() {} func (x *ScheduledCallEditMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[66] + mi := &file_binary_proto_def_proto_msgTypes[70] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11150,7 +13152,7 @@ func (x *ScheduledCallEditMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ScheduledCallEditMessage.ProtoReflect.Descriptor instead. func (*ScheduledCallEditMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{66} + return file_binary_proto_def_proto_rawDescGZIP(), []int{70} } func (x *ScheduledCallEditMessage) GetKey() *MessageKey { @@ -11180,7 +13182,7 @@ type ScheduledCallCreationMessage struct { func (x *ScheduledCallCreationMessage) Reset() { *x = ScheduledCallCreationMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[67] + mi := &file_binary_proto_def_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11193,7 +13195,7 @@ func (x *ScheduledCallCreationMessage) String() string { func (*ScheduledCallCreationMessage) ProtoMessage() {} func (x *ScheduledCallCreationMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[67] + mi := &file_binary_proto_def_proto_msgTypes[71] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11206,7 +13208,7 @@ func (x *ScheduledCallCreationMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ScheduledCallCreationMessage.ProtoReflect.Descriptor instead. func (*ScheduledCallCreationMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{67} + return file_binary_proto_def_proto_rawDescGZIP(), []int{71} } func (x *ScheduledCallCreationMessage) GetScheduledTimestampMs() int64 { @@ -11230,6 +13232,53 @@ func (x *ScheduledCallCreationMessage) GetTitle() string { return "" } +type RequestWelcomeMessageMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LocalChatState *RequestWelcomeMessageMetadata_LocalChatState `protobuf:"varint,1,opt,name=localChatState,enum=proto.RequestWelcomeMessageMetadata_LocalChatState" json:"localChatState,omitempty"` +} + +func (x *RequestWelcomeMessageMetadata) Reset() { + *x = RequestWelcomeMessageMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RequestWelcomeMessageMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RequestWelcomeMessageMetadata) ProtoMessage() {} + +func (x *RequestWelcomeMessageMetadata) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[72] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RequestWelcomeMessageMetadata.ProtoReflect.Descriptor instead. +func (*RequestWelcomeMessageMetadata) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{72} +} + +func (x *RequestWelcomeMessageMetadata) GetLocalChatState() RequestWelcomeMessageMetadata_LocalChatState { + if x != nil && x.LocalChatState != nil { + return *x.LocalChatState + } + return RequestWelcomeMessageMetadata_EMPTY +} + type RequestPhoneNumberMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -11241,7 +13290,7 @@ type RequestPhoneNumberMessage struct { func (x *RequestPhoneNumberMessage) Reset() { *x = RequestPhoneNumberMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[68] + mi := &file_binary_proto_def_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11254,7 +13303,7 @@ func (x *RequestPhoneNumberMessage) String() string { func (*RequestPhoneNumberMessage) ProtoMessage() {} func (x *RequestPhoneNumberMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[68] + mi := &file_binary_proto_def_proto_msgTypes[73] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11267,7 +13316,7 @@ func (x *RequestPhoneNumberMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use RequestPhoneNumberMessage.ProtoReflect.Descriptor instead. func (*RequestPhoneNumberMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{68} + return file_binary_proto_def_proto_rawDescGZIP(), []int{73} } func (x *RequestPhoneNumberMessage) GetContextInfo() *ContextInfo { @@ -11294,7 +13343,7 @@ type RequestPaymentMessage struct { func (x *RequestPaymentMessage) Reset() { *x = RequestPaymentMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[69] + mi := &file_binary_proto_def_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11307,7 +13356,7 @@ func (x *RequestPaymentMessage) String() string { func (*RequestPaymentMessage) ProtoMessage() {} func (x *RequestPaymentMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[69] + mi := &file_binary_proto_def_proto_msgTypes[74] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11320,7 +13369,7 @@ func (x *RequestPaymentMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use RequestPaymentMessage.ProtoReflect.Descriptor instead. func (*RequestPaymentMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{69} + return file_binary_proto_def_proto_rawDescGZIP(), []int{74} } func (x *RequestPaymentMessage) GetNoteMessage() *Message { @@ -11386,7 +13435,7 @@ type ReactionMessage struct { func (x *ReactionMessage) Reset() { *x = ReactionMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[70] + mi := &file_binary_proto_def_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11399,7 +13448,7 @@ func (x *ReactionMessage) String() string { func (*ReactionMessage) ProtoMessage() {} func (x *ReactionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[70] + mi := &file_binary_proto_def_proto_msgTypes[75] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11412,7 +13461,7 @@ func (x *ReactionMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ReactionMessage.ProtoReflect.Descriptor instead. func (*ReactionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{70} + return file_binary_proto_def_proto_rawDescGZIP(), []int{75} } func (x *ReactionMessage) GetKey() *MessageKey { @@ -11463,12 +13512,15 @@ type ProtocolMessage struct { PeerDataOperationRequestMessage *PeerDataOperationRequestMessage `protobuf:"bytes,16,opt,name=peerDataOperationRequestMessage" json:"peerDataOperationRequestMessage,omitempty"` PeerDataOperationRequestResponseMessage *PeerDataOperationRequestResponseMessage `protobuf:"bytes,17,opt,name=peerDataOperationRequestResponseMessage" json:"peerDataOperationRequestResponseMessage,omitempty"` BotFeedbackMessage *BotFeedbackMessage `protobuf:"bytes,18,opt,name=botFeedbackMessage" json:"botFeedbackMessage,omitempty"` + InvokerJid *string `protobuf:"bytes,19,opt,name=invokerJid" json:"invokerJid,omitempty"` + RequestWelcomeMessageMetadata *RequestWelcomeMessageMetadata `protobuf:"bytes,20,opt,name=requestWelcomeMessageMetadata" json:"requestWelcomeMessageMetadata,omitempty"` + MediaNotifyMessage *MediaNotifyMessage `protobuf:"bytes,21,opt,name=mediaNotifyMessage" json:"mediaNotifyMessage,omitempty"` } func (x *ProtocolMessage) Reset() { *x = ProtocolMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[71] + mi := &file_binary_proto_def_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11481,7 +13533,7 @@ func (x *ProtocolMessage) String() string { func (*ProtocolMessage) ProtoMessage() {} func (x *ProtocolMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[71] + mi := &file_binary_proto_def_proto_msgTypes[76] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11494,7 +13546,7 @@ func (x *ProtocolMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ProtocolMessage.ProtoReflect.Descriptor instead. func (*ProtocolMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{71} + return file_binary_proto_def_proto_rawDescGZIP(), []int{76} } func (x *ProtocolMessage) GetKey() *MessageKey { @@ -11602,6 +13654,27 @@ func (x *ProtocolMessage) GetBotFeedbackMessage() *BotFeedbackMessage { return nil } +func (x *ProtocolMessage) GetInvokerJid() string { + if x != nil && x.InvokerJid != nil { + return *x.InvokerJid + } + return "" +} + +func (x *ProtocolMessage) GetRequestWelcomeMessageMetadata() *RequestWelcomeMessageMetadata { + if x != nil { + return x.RequestWelcomeMessageMetadata + } + return nil +} + +func (x *ProtocolMessage) GetMediaNotifyMessage() *MediaNotifyMessage { + if x != nil { + return x.MediaNotifyMessage + } + return nil +} + type ProductMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -11618,7 +13691,7 @@ type ProductMessage struct { func (x *ProductMessage) Reset() { *x = ProductMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[72] + mi := &file_binary_proto_def_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11631,7 +13704,7 @@ func (x *ProductMessage) String() string { func (*ProductMessage) ProtoMessage() {} func (x *ProductMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[72] + mi := &file_binary_proto_def_proto_msgTypes[77] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11644,7 +13717,7 @@ func (x *ProductMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use ProductMessage.ProtoReflect.Descriptor instead. func (*ProductMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{72} + return file_binary_proto_def_proto_rawDescGZIP(), []int{77} } func (x *ProductMessage) GetProduct() *ProductMessage_ProductSnapshot { @@ -11700,7 +13773,7 @@ type PollVoteMessage struct { func (x *PollVoteMessage) Reset() { *x = PollVoteMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[73] + mi := &file_binary_proto_def_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11713,7 +13786,7 @@ func (x *PollVoteMessage) String() string { func (*PollVoteMessage) ProtoMessage() {} func (x *PollVoteMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[73] + mi := &file_binary_proto_def_proto_msgTypes[78] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11726,7 +13799,7 @@ func (x *PollVoteMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use PollVoteMessage.ProtoReflect.Descriptor instead. func (*PollVoteMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{73} + return file_binary_proto_def_proto_rawDescGZIP(), []int{78} } func (x *PollVoteMessage) GetSelectedOptions() [][]byte { @@ -11750,7 +13823,7 @@ type PollUpdateMessage struct { func (x *PollUpdateMessage) Reset() { *x = PollUpdateMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[74] + mi := &file_binary_proto_def_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11763,7 +13836,7 @@ func (x *PollUpdateMessage) String() string { func (*PollUpdateMessage) ProtoMessage() {} func (x *PollUpdateMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[74] + mi := &file_binary_proto_def_proto_msgTypes[79] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11776,7 +13849,7 @@ func (x *PollUpdateMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use PollUpdateMessage.ProtoReflect.Descriptor instead. func (*PollUpdateMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{74} + return file_binary_proto_def_proto_rawDescGZIP(), []int{79} } func (x *PollUpdateMessage) GetPollCreationMessageKey() *MessageKey { @@ -11816,7 +13889,7 @@ type PollUpdateMessageMetadata struct { func (x *PollUpdateMessageMetadata) Reset() { *x = PollUpdateMessageMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[75] + mi := &file_binary_proto_def_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11829,7 +13902,7 @@ func (x *PollUpdateMessageMetadata) String() string { func (*PollUpdateMessageMetadata) ProtoMessage() {} func (x *PollUpdateMessageMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[75] + mi := &file_binary_proto_def_proto_msgTypes[80] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11842,7 +13915,7 @@ func (x *PollUpdateMessageMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use PollUpdateMessageMetadata.ProtoReflect.Descriptor instead. func (*PollUpdateMessageMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{75} + return file_binary_proto_def_proto_rawDescGZIP(), []int{80} } type PollEncValue struct { @@ -11857,7 +13930,7 @@ type PollEncValue struct { func (x *PollEncValue) Reset() { *x = PollEncValue{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[76] + mi := &file_binary_proto_def_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11870,7 +13943,7 @@ func (x *PollEncValue) String() string { func (*PollEncValue) ProtoMessage() {} func (x *PollEncValue) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[76] + mi := &file_binary_proto_def_proto_msgTypes[81] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11883,7 +13956,7 @@ func (x *PollEncValue) ProtoReflect() protoreflect.Message { // Deprecated: Use PollEncValue.ProtoReflect.Descriptor instead. func (*PollEncValue) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{76} + return file_binary_proto_def_proto_rawDescGZIP(), []int{81} } func (x *PollEncValue) GetEncPayload() []byte { @@ -11915,7 +13988,7 @@ type PollCreationMessage struct { func (x *PollCreationMessage) Reset() { *x = PollCreationMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[77] + mi := &file_binary_proto_def_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -11928,7 +14001,7 @@ func (x *PollCreationMessage) String() string { func (*PollCreationMessage) ProtoMessage() {} func (x *PollCreationMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[77] + mi := &file_binary_proto_def_proto_msgTypes[82] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11941,7 +14014,7 @@ func (x *PollCreationMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use PollCreationMessage.ProtoReflect.Descriptor instead. func (*PollCreationMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{77} + return file_binary_proto_def_proto_rawDescGZIP(), []int{82} } func (x *PollCreationMessage) GetEncKey() []byte { @@ -11979,6 +14052,53 @@ func (x *PollCreationMessage) GetContextInfo() *ContextInfo { return nil } +type PlaceholderMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Type *PlaceholderMessage_PlaceholderType `protobuf:"varint,1,opt,name=type,enum=proto.PlaceholderMessage_PlaceholderType" json:"type,omitempty"` +} + +func (x *PlaceholderMessage) Reset() { + *x = PlaceholderMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlaceholderMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlaceholderMessage) ProtoMessage() {} + +func (x *PlaceholderMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[83] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PlaceholderMessage.ProtoReflect.Descriptor instead. +func (*PlaceholderMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{83} +} + +func (x *PlaceholderMessage) GetType() PlaceholderMessage_PlaceholderType { + if x != nil && x.Type != nil { + return *x.Type + } + return PlaceholderMessage_MASK_LINKED_DEVICES +} + type PinInChatMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -11992,7 +14112,7 @@ type PinInChatMessage struct { func (x *PinInChatMessage) Reset() { *x = PinInChatMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[78] + mi := &file_binary_proto_def_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12005,7 +14125,7 @@ func (x *PinInChatMessage) String() string { func (*PinInChatMessage) ProtoMessage() {} func (x *PinInChatMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[78] + mi := &file_binary_proto_def_proto_msgTypes[84] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12018,7 +14138,7 @@ func (x *PinInChatMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use PinInChatMessage.ProtoReflect.Descriptor instead. func (*PinInChatMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{78} + return file_binary_proto_def_proto_rawDescGZIP(), []int{84} } func (x *PinInChatMessage) GetKey() *MessageKey { @@ -12055,7 +14175,7 @@ type PeerDataOperationRequestResponseMessage struct { func (x *PeerDataOperationRequestResponseMessage) Reset() { *x = PeerDataOperationRequestResponseMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[79] + mi := &file_binary_proto_def_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12068,7 +14188,7 @@ func (x *PeerDataOperationRequestResponseMessage) String() string { func (*PeerDataOperationRequestResponseMessage) ProtoMessage() {} func (x *PeerDataOperationRequestResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[79] + mi := &file_binary_proto_def_proto_msgTypes[85] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12081,7 +14201,7 @@ func (x *PeerDataOperationRequestResponseMessage) ProtoReflect() protoreflect.Me // Deprecated: Use PeerDataOperationRequestResponseMessage.ProtoReflect.Descriptor instead. func (*PeerDataOperationRequestResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{79} + return file_binary_proto_def_proto_rawDescGZIP(), []int{85} } func (x *PeerDataOperationRequestResponseMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType { @@ -12120,7 +14240,7 @@ type PeerDataOperationRequestMessage struct { func (x *PeerDataOperationRequestMessage) Reset() { *x = PeerDataOperationRequestMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[80] + mi := &file_binary_proto_def_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12133,7 +14253,7 @@ func (x *PeerDataOperationRequestMessage) String() string { func (*PeerDataOperationRequestMessage) ProtoMessage() {} func (x *PeerDataOperationRequestMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[80] + mi := &file_binary_proto_def_proto_msgTypes[86] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12146,7 +14266,7 @@ func (x *PeerDataOperationRequestMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use PeerDataOperationRequestMessage.ProtoReflect.Descriptor instead. func (*PeerDataOperationRequestMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{80} + return file_binary_proto_def_proto_rawDescGZIP(), []int{86} } func (x *PeerDataOperationRequestMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType { @@ -12196,7 +14316,7 @@ type PaymentInviteMessage struct { func (x *PaymentInviteMessage) Reset() { *x = PaymentInviteMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[81] + mi := &file_binary_proto_def_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12209,7 +14329,7 @@ func (x *PaymentInviteMessage) String() string { func (*PaymentInviteMessage) ProtoMessage() {} func (x *PaymentInviteMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[81] + mi := &file_binary_proto_def_proto_msgTypes[87] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12222,7 +14342,7 @@ func (x *PaymentInviteMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use PaymentInviteMessage.ProtoReflect.Descriptor instead. func (*PaymentInviteMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{81} + return file_binary_proto_def_proto_rawDescGZIP(), []int{87} } func (x *PaymentInviteMessage) GetServiceType() PaymentInviteMessage_ServiceType { @@ -12244,24 +14364,26 @@ type OrderMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - OrderId *string `protobuf:"bytes,1,opt,name=orderId" json:"orderId,omitempty"` - Thumbnail []byte `protobuf:"bytes,2,opt,name=thumbnail" json:"thumbnail,omitempty"` - ItemCount *int32 `protobuf:"varint,3,opt,name=itemCount" json:"itemCount,omitempty"` - Status *OrderMessage_OrderStatus `protobuf:"varint,4,opt,name=status,enum=proto.OrderMessage_OrderStatus" json:"status,omitempty"` - Surface *OrderMessage_OrderSurface `protobuf:"varint,5,opt,name=surface,enum=proto.OrderMessage_OrderSurface" json:"surface,omitempty"` - Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"` - OrderTitle *string `protobuf:"bytes,7,opt,name=orderTitle" json:"orderTitle,omitempty"` - SellerJid *string `protobuf:"bytes,8,opt,name=sellerJid" json:"sellerJid,omitempty"` - Token *string `protobuf:"bytes,9,opt,name=token" json:"token,omitempty"` - TotalAmount1000 *int64 `protobuf:"varint,10,opt,name=totalAmount1000" json:"totalAmount1000,omitempty"` - TotalCurrencyCode *string `protobuf:"bytes,11,opt,name=totalCurrencyCode" json:"totalCurrencyCode,omitempty"` - ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` + OrderId *string `protobuf:"bytes,1,opt,name=orderId" json:"orderId,omitempty"` + Thumbnail []byte `protobuf:"bytes,2,opt,name=thumbnail" json:"thumbnail,omitempty"` + ItemCount *int32 `protobuf:"varint,3,opt,name=itemCount" json:"itemCount,omitempty"` + Status *OrderMessage_OrderStatus `protobuf:"varint,4,opt,name=status,enum=proto.OrderMessage_OrderStatus" json:"status,omitempty"` + Surface *OrderMessage_OrderSurface `protobuf:"varint,5,opt,name=surface,enum=proto.OrderMessage_OrderSurface" json:"surface,omitempty"` + Message *string `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"` + OrderTitle *string `protobuf:"bytes,7,opt,name=orderTitle" json:"orderTitle,omitempty"` + SellerJid *string `protobuf:"bytes,8,opt,name=sellerJid" json:"sellerJid,omitempty"` + Token *string `protobuf:"bytes,9,opt,name=token" json:"token,omitempty"` + TotalAmount1000 *int64 `protobuf:"varint,10,opt,name=totalAmount1000" json:"totalAmount1000,omitempty"` + TotalCurrencyCode *string `protobuf:"bytes,11,opt,name=totalCurrencyCode" json:"totalCurrencyCode,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` + MessageVersion *int32 `protobuf:"varint,12,opt,name=messageVersion" json:"messageVersion,omitempty"` + OrderRequestMessageId *MessageKey `protobuf:"bytes,13,opt,name=orderRequestMessageId" json:"orderRequestMessageId,omitempty"` } func (x *OrderMessage) Reset() { *x = OrderMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[82] + mi := &file_binary_proto_def_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12274,7 +14396,7 @@ func (x *OrderMessage) String() string { func (*OrderMessage) ProtoMessage() {} func (x *OrderMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[82] + mi := &file_binary_proto_def_proto_msgTypes[88] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12287,7 +14409,7 @@ func (x *OrderMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use OrderMessage.ProtoReflect.Descriptor instead. func (*OrderMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{82} + return file_binary_proto_def_proto_rawDescGZIP(), []int{88} } func (x *OrderMessage) GetOrderId() string { @@ -12374,6 +14496,210 @@ func (x *OrderMessage) GetContextInfo() *ContextInfo { return nil } +func (x *OrderMessage) GetMessageVersion() int32 { + if x != nil && x.MessageVersion != nil { + return *x.MessageVersion + } + return 0 +} + +func (x *OrderMessage) GetOrderRequestMessageId() *MessageKey { + if x != nil { + return x.OrderRequestMessageId + } + return nil +} + +type NewsletterAdminInviteMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NewsletterJid *string `protobuf:"bytes,1,opt,name=newsletterJid" json:"newsletterJid,omitempty"` + NewsletterName *string `protobuf:"bytes,2,opt,name=newsletterName" json:"newsletterName,omitempty"` + JpegThumbnail []byte `protobuf:"bytes,3,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` + Caption *string `protobuf:"bytes,4,opt,name=caption" json:"caption,omitempty"` + InviteExpiration *int64 `protobuf:"varint,5,opt,name=inviteExpiration" json:"inviteExpiration,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,6,opt,name=contextInfo" json:"contextInfo,omitempty"` +} + +func (x *NewsletterAdminInviteMessage) Reset() { + *x = NewsletterAdminInviteMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[89] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NewsletterAdminInviteMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NewsletterAdminInviteMessage) ProtoMessage() {} + +func (x *NewsletterAdminInviteMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[89] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NewsletterAdminInviteMessage.ProtoReflect.Descriptor instead. +func (*NewsletterAdminInviteMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{89} +} + +func (x *NewsletterAdminInviteMessage) GetNewsletterJid() string { + if x != nil && x.NewsletterJid != nil { + return *x.NewsletterJid + } + return "" +} + +func (x *NewsletterAdminInviteMessage) GetNewsletterName() string { + if x != nil && x.NewsletterName != nil { + return *x.NewsletterName + } + return "" +} + +func (x *NewsletterAdminInviteMessage) GetJpegThumbnail() []byte { + if x != nil { + return x.JpegThumbnail + } + return nil +} + +func (x *NewsletterAdminInviteMessage) GetCaption() string { + if x != nil && x.Caption != nil { + return *x.Caption + } + return "" +} + +func (x *NewsletterAdminInviteMessage) GetInviteExpiration() int64 { + if x != nil && x.InviteExpiration != nil { + return *x.InviteExpiration + } + return 0 +} + +func (x *NewsletterAdminInviteMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +type MessageHistoryBundle struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Mimetype *string `protobuf:"bytes,2,opt,name=mimetype" json:"mimetype,omitempty"` + FileSha256 []byte `protobuf:"bytes,3,opt,name=fileSha256" json:"fileSha256,omitempty"` + MediaKey []byte `protobuf:"bytes,5,opt,name=mediaKey" json:"mediaKey,omitempty"` + FileEncSha256 []byte `protobuf:"bytes,6,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"` + DirectPath *string `protobuf:"bytes,7,opt,name=directPath" json:"directPath,omitempty"` + MediaKeyTimestamp *int64 `protobuf:"varint,8,opt,name=mediaKeyTimestamp" json:"mediaKeyTimestamp,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,9,opt,name=contextInfo" json:"contextInfo,omitempty"` + Participants []string `protobuf:"bytes,10,rep,name=participants" json:"participants,omitempty"` +} + +func (x *MessageHistoryBundle) Reset() { + *x = MessageHistoryBundle{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[90] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MessageHistoryBundle) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MessageHistoryBundle) ProtoMessage() {} + +func (x *MessageHistoryBundle) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[90] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MessageHistoryBundle.ProtoReflect.Descriptor instead. +func (*MessageHistoryBundle) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{90} +} + +func (x *MessageHistoryBundle) GetMimetype() string { + if x != nil && x.Mimetype != nil { + return *x.Mimetype + } + return "" +} + +func (x *MessageHistoryBundle) GetFileSha256() []byte { + if x != nil { + return x.FileSha256 + } + return nil +} + +func (x *MessageHistoryBundle) GetMediaKey() []byte { + if x != nil { + return x.MediaKey + } + return nil +} + +func (x *MessageHistoryBundle) GetFileEncSha256() []byte { + if x != nil { + return x.FileEncSha256 + } + return nil +} + +func (x *MessageHistoryBundle) GetDirectPath() string { + if x != nil && x.DirectPath != nil { + return *x.DirectPath + } + return "" +} + +func (x *MessageHistoryBundle) GetMediaKeyTimestamp() int64 { + if x != nil && x.MediaKeyTimestamp != nil { + return *x.MediaKeyTimestamp + } + return 0 +} + +func (x *MessageHistoryBundle) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *MessageHistoryBundle) GetParticipants() []string { + if x != nil { + return x.Participants + } + return nil +} + type LocationMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -12396,7 +14722,7 @@ type LocationMessage struct { func (x *LocationMessage) Reset() { *x = LocationMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[83] + mi := &file_binary_proto_def_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12409,7 +14735,7 @@ func (x *LocationMessage) String() string { func (*LocationMessage) ProtoMessage() {} func (x *LocationMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[83] + mi := &file_binary_proto_def_proto_msgTypes[91] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12422,7 +14748,7 @@ func (x *LocationMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use LocationMessage.ProtoReflect.Descriptor instead. func (*LocationMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{83} + return file_binary_proto_def_proto_rawDescGZIP(), []int{91} } func (x *LocationMessage) GetDegreesLatitude() float64 { @@ -12509,6 +14835,714 @@ func (x *LocationMessage) GetContextInfo() *ContextInfo { return nil } +type LiveLocationMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DegreesLatitude *float64 `protobuf:"fixed64,1,opt,name=degreesLatitude" json:"degreesLatitude,omitempty"` + DegreesLongitude *float64 `protobuf:"fixed64,2,opt,name=degreesLongitude" json:"degreesLongitude,omitempty"` + AccuracyInMeters *uint32 `protobuf:"varint,3,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"` + SpeedInMps *float32 `protobuf:"fixed32,4,opt,name=speedInMps" json:"speedInMps,omitempty"` + DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,5,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"` + Caption *string `protobuf:"bytes,6,opt,name=caption" json:"caption,omitempty"` + SequenceNumber *int64 `protobuf:"varint,7,opt,name=sequenceNumber" json:"sequenceNumber,omitempty"` + TimeOffset *uint32 `protobuf:"varint,8,opt,name=timeOffset" json:"timeOffset,omitempty"` + JpegThumbnail []byte `protobuf:"bytes,16,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"` +} + +func (x *LiveLocationMessage) Reset() { + *x = LiveLocationMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[92] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LiveLocationMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LiveLocationMessage) ProtoMessage() {} + +func (x *LiveLocationMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[92] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LiveLocationMessage.ProtoReflect.Descriptor instead. +func (*LiveLocationMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{92} +} + +func (x *LiveLocationMessage) GetDegreesLatitude() float64 { + if x != nil && x.DegreesLatitude != nil { + return *x.DegreesLatitude + } + return 0 +} + +func (x *LiveLocationMessage) GetDegreesLongitude() float64 { + if x != nil && x.DegreesLongitude != nil { + return *x.DegreesLongitude + } + return 0 +} + +func (x *LiveLocationMessage) GetAccuracyInMeters() uint32 { + if x != nil && x.AccuracyInMeters != nil { + return *x.AccuracyInMeters + } + return 0 +} + +func (x *LiveLocationMessage) GetSpeedInMps() float32 { + if x != nil && x.SpeedInMps != nil { + return *x.SpeedInMps + } + return 0 +} + +func (x *LiveLocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 { + if x != nil && x.DegreesClockwiseFromMagneticNorth != nil { + return *x.DegreesClockwiseFromMagneticNorth + } + return 0 +} + +func (x *LiveLocationMessage) GetCaption() string { + if x != nil && x.Caption != nil { + return *x.Caption + } + return "" +} + +func (x *LiveLocationMessage) GetSequenceNumber() int64 { + if x != nil && x.SequenceNumber != nil { + return *x.SequenceNumber + } + return 0 +} + +func (x *LiveLocationMessage) GetTimeOffset() uint32 { + if x != nil && x.TimeOffset != nil { + return *x.TimeOffset + } + return 0 +} + +func (x *LiveLocationMessage) GetJpegThumbnail() []byte { + if x != nil { + return x.JpegThumbnail + } + return nil +} + +func (x *LiveLocationMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +type ListResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` + ListType *ListResponseMessage_ListType `protobuf:"varint,2,opt,name=listType,enum=proto.ListResponseMessage_ListType" json:"listType,omitempty"` + SingleSelectReply *ListResponseMessage_SingleSelectReply `protobuf:"bytes,3,opt,name=singleSelectReply" json:"singleSelectReply,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,4,opt,name=contextInfo" json:"contextInfo,omitempty"` + Description *string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` +} + +func (x *ListResponseMessage) Reset() { + *x = ListResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[93] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListResponseMessage) ProtoMessage() {} + +func (x *ListResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[93] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListResponseMessage.ProtoReflect.Descriptor instead. +func (*ListResponseMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{93} +} + +func (x *ListResponseMessage) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title + } + return "" +} + +func (x *ListResponseMessage) GetListType() ListResponseMessage_ListType { + if x != nil && x.ListType != nil { + return *x.ListType + } + return ListResponseMessage_UNKNOWN +} + +func (x *ListResponseMessage) GetSingleSelectReply() *ListResponseMessage_SingleSelectReply { + if x != nil { + return x.SingleSelectReply + } + return nil +} + +func (x *ListResponseMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (x *ListResponseMessage) GetDescription() string { + if x != nil && x.Description != nil { + return *x.Description + } + return "" +} + +type ListMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` + Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` + ButtonText *string `protobuf:"bytes,3,opt,name=buttonText" json:"buttonText,omitempty"` + ListType *ListMessage_ListType `protobuf:"varint,4,opt,name=listType,enum=proto.ListMessage_ListType" json:"listType,omitempty"` + Sections []*ListMessage_Section `protobuf:"bytes,5,rep,name=sections" json:"sections,omitempty"` + ProductListInfo *ListMessage_ProductListInfo `protobuf:"bytes,6,opt,name=productListInfo" json:"productListInfo,omitempty"` + FooterText *string `protobuf:"bytes,7,opt,name=footerText" json:"footerText,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,8,opt,name=contextInfo" json:"contextInfo,omitempty"` +} + +func (x *ListMessage) Reset() { + *x = ListMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[94] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListMessage) ProtoMessage() {} + +func (x *ListMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[94] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListMessage.ProtoReflect.Descriptor instead. +func (*ListMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{94} +} + +func (x *ListMessage) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title + } + return "" +} + +func (x *ListMessage) GetDescription() string { + if x != nil && x.Description != nil { + return *x.Description + } + return "" +} + +func (x *ListMessage) GetButtonText() string { + if x != nil && x.ButtonText != nil { + return *x.ButtonText + } + return "" +} + +func (x *ListMessage) GetListType() ListMessage_ListType { + if x != nil && x.ListType != nil { + return *x.ListType + } + return ListMessage_UNKNOWN +} + +func (x *ListMessage) GetSections() []*ListMessage_Section { + if x != nil { + return x.Sections + } + return nil +} + +func (x *ListMessage) GetProductListInfo() *ListMessage_ProductListInfo { + if x != nil { + return x.ProductListInfo + } + return nil +} + +func (x *ListMessage) GetFooterText() string { + if x != nil && x.FooterText != nil { + return *x.FooterText + } + return "" +} + +func (x *ListMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +type KeepInChatMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + KeepType *KeepType `protobuf:"varint,2,opt,name=keepType,enum=proto.KeepType" json:"keepType,omitempty"` + TimestampMs *int64 `protobuf:"varint,3,opt,name=timestampMs" json:"timestampMs,omitempty"` +} + +func (x *KeepInChatMessage) Reset() { + *x = KeepInChatMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[95] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *KeepInChatMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeepInChatMessage) ProtoMessage() {} + +func (x *KeepInChatMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[95] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use KeepInChatMessage.ProtoReflect.Descriptor instead. +func (*KeepInChatMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{95} +} + +func (x *KeepInChatMessage) GetKey() *MessageKey { + if x != nil { + return x.Key + } + return nil +} + +func (x *KeepInChatMessage) GetKeepType() KeepType { + if x != nil && x.KeepType != nil { + return *x.KeepType + } + return KeepType_UNKNOWN +} + +func (x *KeepInChatMessage) GetTimestampMs() int64 { + if x != nil && x.TimestampMs != nil { + return *x.TimestampMs + } + return 0 +} + +type InvoiceMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Note *string `protobuf:"bytes,1,opt,name=note" json:"note,omitempty"` + Token *string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` + AttachmentType *InvoiceMessage_AttachmentType `protobuf:"varint,3,opt,name=attachmentType,enum=proto.InvoiceMessage_AttachmentType" json:"attachmentType,omitempty"` + AttachmentMimetype *string `protobuf:"bytes,4,opt,name=attachmentMimetype" json:"attachmentMimetype,omitempty"` + AttachmentMediaKey []byte `protobuf:"bytes,5,opt,name=attachmentMediaKey" json:"attachmentMediaKey,omitempty"` + AttachmentMediaKeyTimestamp *int64 `protobuf:"varint,6,opt,name=attachmentMediaKeyTimestamp" json:"attachmentMediaKeyTimestamp,omitempty"` + AttachmentFileSha256 []byte `protobuf:"bytes,7,opt,name=attachmentFileSha256" json:"attachmentFileSha256,omitempty"` + AttachmentFileEncSha256 []byte `protobuf:"bytes,8,opt,name=attachmentFileEncSha256" json:"attachmentFileEncSha256,omitempty"` + AttachmentDirectPath *string `protobuf:"bytes,9,opt,name=attachmentDirectPath" json:"attachmentDirectPath,omitempty"` + AttachmentJpegThumbnail []byte `protobuf:"bytes,10,opt,name=attachmentJpegThumbnail" json:"attachmentJpegThumbnail,omitempty"` +} + +func (x *InvoiceMessage) Reset() { + *x = InvoiceMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[96] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InvoiceMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InvoiceMessage) ProtoMessage() {} + +func (x *InvoiceMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[96] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InvoiceMessage.ProtoReflect.Descriptor instead. +func (*InvoiceMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{96} +} + +func (x *InvoiceMessage) GetNote() string { + if x != nil && x.Note != nil { + return *x.Note + } + return "" +} + +func (x *InvoiceMessage) GetToken() string { + if x != nil && x.Token != nil { + return *x.Token + } + return "" +} + +func (x *InvoiceMessage) GetAttachmentType() InvoiceMessage_AttachmentType { + if x != nil && x.AttachmentType != nil { + return *x.AttachmentType + } + return InvoiceMessage_IMAGE +} + +func (x *InvoiceMessage) GetAttachmentMimetype() string { + if x != nil && x.AttachmentMimetype != nil { + return *x.AttachmentMimetype + } + return "" +} + +func (x *InvoiceMessage) GetAttachmentMediaKey() []byte { + if x != nil { + return x.AttachmentMediaKey + } + return nil +} + +func (x *InvoiceMessage) GetAttachmentMediaKeyTimestamp() int64 { + if x != nil && x.AttachmentMediaKeyTimestamp != nil { + return *x.AttachmentMediaKeyTimestamp + } + return 0 +} + +func (x *InvoiceMessage) GetAttachmentFileSha256() []byte { + if x != nil { + return x.AttachmentFileSha256 + } + return nil +} + +func (x *InvoiceMessage) GetAttachmentFileEncSha256() []byte { + if x != nil { + return x.AttachmentFileEncSha256 + } + return nil +} + +func (x *InvoiceMessage) GetAttachmentDirectPath() string { + if x != nil && x.AttachmentDirectPath != nil { + return *x.AttachmentDirectPath + } + return "" +} + +func (x *InvoiceMessage) GetAttachmentJpegThumbnail() []byte { + if x != nil { + return x.AttachmentJpegThumbnail + } + return nil +} + +type InteractiveResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Body *InteractiveResponseMessage_Body `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,15,opt,name=contextInfo" json:"contextInfo,omitempty"` + // Types that are assignable to InteractiveResponseMessage: + // + // *InteractiveResponseMessage_NativeFlowResponseMessage_ + InteractiveResponseMessage isInteractiveResponseMessage_InteractiveResponseMessage `protobuf_oneof:"interactiveResponseMessage"` +} + +func (x *InteractiveResponseMessage) Reset() { + *x = InteractiveResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[97] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractiveResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractiveResponseMessage) ProtoMessage() {} + +func (x *InteractiveResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[97] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InteractiveResponseMessage.ProtoReflect.Descriptor instead. +func (*InteractiveResponseMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{97} +} + +func (x *InteractiveResponseMessage) GetBody() *InteractiveResponseMessage_Body { + if x != nil { + return x.Body + } + return nil +} + +func (x *InteractiveResponseMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (m *InteractiveResponseMessage) GetInteractiveResponseMessage() isInteractiveResponseMessage_InteractiveResponseMessage { + if m != nil { + return m.InteractiveResponseMessage + } + return nil +} + +func (x *InteractiveResponseMessage) GetNativeFlowResponseMessage() *InteractiveResponseMessage_NativeFlowResponseMessage { + if x, ok := x.GetInteractiveResponseMessage().(*InteractiveResponseMessage_NativeFlowResponseMessage_); ok { + return x.NativeFlowResponseMessage + } + return nil +} + +type isInteractiveResponseMessage_InteractiveResponseMessage interface { + isInteractiveResponseMessage_InteractiveResponseMessage() +} + +type InteractiveResponseMessage_NativeFlowResponseMessage_ struct { + NativeFlowResponseMessage *InteractiveResponseMessage_NativeFlowResponseMessage `protobuf:"bytes,2,opt,name=nativeFlowResponseMessage,oneof"` +} + +func (*InteractiveResponseMessage_NativeFlowResponseMessage_) isInteractiveResponseMessage_InteractiveResponseMessage() { +} + +type InteractiveMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Header *InteractiveMessage_Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` + Body *InteractiveMessage_Body `protobuf:"bytes,2,opt,name=body" json:"body,omitempty"` + Footer *InteractiveMessage_Footer `protobuf:"bytes,3,opt,name=footer" json:"footer,omitempty"` + ContextInfo *ContextInfo `protobuf:"bytes,15,opt,name=contextInfo" json:"contextInfo,omitempty"` + // Types that are assignable to InteractiveMessage: + // + // *InteractiveMessage_ShopStorefrontMessage + // *InteractiveMessage_CollectionMessage_ + // *InteractiveMessage_NativeFlowMessage_ + // *InteractiveMessage_CarouselMessage_ + InteractiveMessage isInteractiveMessage_InteractiveMessage `protobuf_oneof:"interactiveMessage"` +} + +func (x *InteractiveMessage) Reset() { + *x = InteractiveMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[98] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractiveMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractiveMessage) ProtoMessage() {} + +func (x *InteractiveMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[98] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InteractiveMessage.ProtoReflect.Descriptor instead. +func (*InteractiveMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{98} +} + +func (x *InteractiveMessage) GetHeader() *InteractiveMessage_Header { + if x != nil { + return x.Header + } + return nil +} + +func (x *InteractiveMessage) GetBody() *InteractiveMessage_Body { + if x != nil { + return x.Body + } + return nil +} + +func (x *InteractiveMessage) GetFooter() *InteractiveMessage_Footer { + if x != nil { + return x.Footer + } + return nil +} + +func (x *InteractiveMessage) GetContextInfo() *ContextInfo { + if x != nil { + return x.ContextInfo + } + return nil +} + +func (m *InteractiveMessage) GetInteractiveMessage() isInteractiveMessage_InteractiveMessage { + if m != nil { + return m.InteractiveMessage + } + return nil +} + +func (x *InteractiveMessage) GetShopStorefrontMessage() *InteractiveMessage_ShopMessage { + if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_ShopStorefrontMessage); ok { + return x.ShopStorefrontMessage + } + return nil +} + +func (x *InteractiveMessage) GetCollectionMessage() *InteractiveMessage_CollectionMessage { + if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_CollectionMessage_); ok { + return x.CollectionMessage + } + return nil +} + +func (x *InteractiveMessage) GetNativeFlowMessage() *InteractiveMessage_NativeFlowMessage { + if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_NativeFlowMessage_); ok { + return x.NativeFlowMessage + } + return nil +} + +func (x *InteractiveMessage) GetCarouselMessage() *InteractiveMessage_CarouselMessage { + if x, ok := x.GetInteractiveMessage().(*InteractiveMessage_CarouselMessage_); ok { + return x.CarouselMessage + } + return nil +} + +type isInteractiveMessage_InteractiveMessage interface { + isInteractiveMessage_InteractiveMessage() +} + +type InteractiveMessage_ShopStorefrontMessage struct { + ShopStorefrontMessage *InteractiveMessage_ShopMessage `protobuf:"bytes,4,opt,name=shopStorefrontMessage,oneof"` +} + +type InteractiveMessage_CollectionMessage_ struct { + CollectionMessage *InteractiveMessage_CollectionMessage `protobuf:"bytes,5,opt,name=collectionMessage,oneof"` +} + +type InteractiveMessage_NativeFlowMessage_ struct { + NativeFlowMessage *InteractiveMessage_NativeFlowMessage `protobuf:"bytes,6,opt,name=nativeFlowMessage,oneof"` +} + +type InteractiveMessage_CarouselMessage_ struct { + CarouselMessage *InteractiveMessage_CarouselMessage `protobuf:"bytes,7,opt,name=carouselMessage,oneof"` +} + +func (*InteractiveMessage_ShopStorefrontMessage) isInteractiveMessage_InteractiveMessage() {} + +func (*InteractiveMessage_CollectionMessage_) isInteractiveMessage_InteractiveMessage() {} + +func (*InteractiveMessage_NativeFlowMessage_) isInteractiveMessage_InteractiveMessage() {} + +func (*InteractiveMessage_CarouselMessage_) isInteractiveMessage_InteractiveMessage() {} + type EphemeralSetting struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -12521,7 +15555,7 @@ type EphemeralSetting struct { func (x *EphemeralSetting) Reset() { *x = EphemeralSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[84] + mi := &file_binary_proto_def_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12534,7 +15568,7 @@ func (x *EphemeralSetting) String() string { func (*EphemeralSetting) ProtoMessage() {} func (x *EphemeralSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[84] + mi := &file_binary_proto_def_proto_msgTypes[99] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12547,7 +15581,7 @@ func (x *EphemeralSetting) ProtoReflect() protoreflect.Message { // Deprecated: Use EphemeralSetting.ProtoReflect.Descriptor instead. func (*EphemeralSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{84} + return file_binary_proto_def_proto_rawDescGZIP(), []int{99} } func (x *EphemeralSetting) GetDuration() int32 { @@ -12576,7 +15610,7 @@ type WallpaperSettings struct { func (x *WallpaperSettings) Reset() { *x = WallpaperSettings{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[85] + mi := &file_binary_proto_def_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12589,7 +15623,7 @@ func (x *WallpaperSettings) String() string { func (*WallpaperSettings) ProtoMessage() {} func (x *WallpaperSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[85] + mi := &file_binary_proto_def_proto_msgTypes[100] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12602,7 +15636,7 @@ func (x *WallpaperSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use WallpaperSettings.ProtoReflect.Descriptor instead. func (*WallpaperSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{85} + return file_binary_proto_def_proto_rawDescGZIP(), []int{100} } func (x *WallpaperSettings) GetFilename() string { @@ -12640,7 +15674,7 @@ type StickerMetadata struct { func (x *StickerMetadata) Reset() { *x = StickerMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[86] + mi := &file_binary_proto_def_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12653,7 +15687,7 @@ func (x *StickerMetadata) String() string { func (*StickerMetadata) ProtoMessage() {} func (x *StickerMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[86] + mi := &file_binary_proto_def_proto_msgTypes[101] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12666,7 +15700,7 @@ func (x *StickerMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use StickerMetadata.ProtoReflect.Descriptor instead. func (*StickerMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{86} + return file_binary_proto_def_proto_rawDescGZIP(), []int{101} } func (x *StickerMetadata) GetUrl() string { @@ -12758,7 +15792,7 @@ type Pushname struct { func (x *Pushname) Reset() { *x = Pushname{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[87] + mi := &file_binary_proto_def_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12771,7 +15805,7 @@ func (x *Pushname) String() string { func (*Pushname) ProtoMessage() {} func (x *Pushname) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[87] + mi := &file_binary_proto_def_proto_msgTypes[102] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12784,7 +15818,7 @@ func (x *Pushname) ProtoReflect() protoreflect.Message { // Deprecated: Use Pushname.ProtoReflect.Descriptor instead. func (*Pushname) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{87} + return file_binary_proto_def_proto_rawDescGZIP(), []int{102} } func (x *Pushname) GetId() string { @@ -12801,6 +15835,61 @@ func (x *Pushname) GetPushname() string { return "" } +type PhoneNumberToLIDMapping struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PnJid *string `protobuf:"bytes,1,opt,name=pnJid" json:"pnJid,omitempty"` + LidJid *string `protobuf:"bytes,2,opt,name=lidJid" json:"lidJid,omitempty"` +} + +func (x *PhoneNumberToLIDMapping) Reset() { + *x = PhoneNumberToLIDMapping{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[103] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PhoneNumberToLIDMapping) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PhoneNumberToLIDMapping) ProtoMessage() {} + +func (x *PhoneNumberToLIDMapping) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[103] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PhoneNumberToLIDMapping.ProtoReflect.Descriptor instead. +func (*PhoneNumberToLIDMapping) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{103} +} + +func (x *PhoneNumberToLIDMapping) GetPnJid() string { + if x != nil && x.PnJid != nil { + return *x.PnJid + } + return "" +} + +func (x *PhoneNumberToLIDMapping) GetLidJid() string { + if x != nil && x.LidJid != nil { + return *x.LidJid + } + return "" +} + type PastParticipants struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -12813,7 +15902,7 @@ type PastParticipants struct { func (x *PastParticipants) Reset() { *x = PastParticipants{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[88] + mi := &file_binary_proto_def_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12826,7 +15915,7 @@ func (x *PastParticipants) String() string { func (*PastParticipants) ProtoMessage() {} func (x *PastParticipants) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[88] + mi := &file_binary_proto_def_proto_msgTypes[104] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12839,7 +15928,7 @@ func (x *PastParticipants) ProtoReflect() protoreflect.Message { // Deprecated: Use PastParticipants.ProtoReflect.Descriptor instead. func (*PastParticipants) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{88} + return file_binary_proto_def_proto_rawDescGZIP(), []int{104} } func (x *PastParticipants) GetGroupJid() string { @@ -12869,7 +15958,7 @@ type PastParticipant struct { func (x *PastParticipant) Reset() { *x = PastParticipant{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[89] + mi := &file_binary_proto_def_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12882,7 +15971,7 @@ func (x *PastParticipant) String() string { func (*PastParticipant) ProtoMessage() {} func (x *PastParticipant) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[89] + mi := &file_binary_proto_def_proto_msgTypes[105] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12895,7 +15984,7 @@ func (x *PastParticipant) ProtoReflect() protoreflect.Message { // Deprecated: Use PastParticipant.ProtoReflect.Descriptor instead. func (*PastParticipant) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{89} + return file_binary_proto_def_proto_rawDescGZIP(), []int{105} } func (x *PastParticipant) GetUserJid() string { @@ -12935,7 +16024,7 @@ type NotificationSettings struct { func (x *NotificationSettings) Reset() { *x = NotificationSettings{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[90] + mi := &file_binary_proto_def_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12948,7 +16037,7 @@ func (x *NotificationSettings) String() string { func (*NotificationSettings) ProtoMessage() {} func (x *NotificationSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[90] + mi := &file_binary_proto_def_proto_msgTypes[106] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12961,7 +16050,7 @@ func (x *NotificationSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use NotificationSettings.ProtoReflect.Descriptor instead. func (*NotificationSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{90} + return file_binary_proto_def_proto_rawDescGZIP(), []int{106} } func (x *NotificationSettings) GetMessageVibrate() string { @@ -13011,23 +16100,26 @@ type HistorySync struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SyncType *HistorySync_HistorySyncType `protobuf:"varint,1,req,name=syncType,enum=proto.HistorySync_HistorySyncType" json:"syncType,omitempty"` - Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations" json:"conversations,omitempty"` - StatusV3Messages []*WebMessageInfo `protobuf:"bytes,3,rep,name=statusV3Messages" json:"statusV3Messages,omitempty"` - ChunkOrder *uint32 `protobuf:"varint,5,opt,name=chunkOrder" json:"chunkOrder,omitempty"` - Progress *uint32 `protobuf:"varint,6,opt,name=progress" json:"progress,omitempty"` - Pushnames []*Pushname `protobuf:"bytes,7,rep,name=pushnames" json:"pushnames,omitempty"` - GlobalSettings *GlobalSettings `protobuf:"bytes,8,opt,name=globalSettings" json:"globalSettings,omitempty"` - ThreadIdUserSecret []byte `protobuf:"bytes,9,opt,name=threadIdUserSecret" json:"threadIdUserSecret,omitempty"` - ThreadDsTimeframeOffset *uint32 `protobuf:"varint,10,opt,name=threadDsTimeframeOffset" json:"threadDsTimeframeOffset,omitempty"` - RecentStickers []*StickerMetadata `protobuf:"bytes,11,rep,name=recentStickers" json:"recentStickers,omitempty"` - PastParticipants []*PastParticipants `protobuf:"bytes,12,rep,name=pastParticipants" json:"pastParticipants,omitempty"` + SyncType *HistorySync_HistorySyncType `protobuf:"varint,1,req,name=syncType,enum=proto.HistorySync_HistorySyncType" json:"syncType,omitempty"` + Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations" json:"conversations,omitempty"` + StatusV3Messages []*WebMessageInfo `protobuf:"bytes,3,rep,name=statusV3Messages" json:"statusV3Messages,omitempty"` + ChunkOrder *uint32 `protobuf:"varint,5,opt,name=chunkOrder" json:"chunkOrder,omitempty"` + Progress *uint32 `protobuf:"varint,6,opt,name=progress" json:"progress,omitempty"` + Pushnames []*Pushname `protobuf:"bytes,7,rep,name=pushnames" json:"pushnames,omitempty"` + GlobalSettings *GlobalSettings `protobuf:"bytes,8,opt,name=globalSettings" json:"globalSettings,omitempty"` + ThreadIdUserSecret []byte `protobuf:"bytes,9,opt,name=threadIdUserSecret" json:"threadIdUserSecret,omitempty"` + ThreadDsTimeframeOffset *uint32 `protobuf:"varint,10,opt,name=threadDsTimeframeOffset" json:"threadDsTimeframeOffset,omitempty"` + RecentStickers []*StickerMetadata `protobuf:"bytes,11,rep,name=recentStickers" json:"recentStickers,omitempty"` + PastParticipants []*PastParticipants `protobuf:"bytes,12,rep,name=pastParticipants" json:"pastParticipants,omitempty"` + CallLogRecords []*CallLogRecord `protobuf:"bytes,13,rep,name=callLogRecords" json:"callLogRecords,omitempty"` + AiWaitListState *HistorySync_BotAIWaitListState `protobuf:"varint,14,opt,name=aiWaitListState,enum=proto.HistorySync_BotAIWaitListState" json:"aiWaitListState,omitempty"` + PhoneNumberToLidMappings []*PhoneNumberToLIDMapping `protobuf:"bytes,15,rep,name=phoneNumberToLidMappings" json:"phoneNumberToLidMappings,omitempty"` } func (x *HistorySync) Reset() { *x = HistorySync{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[91] + mi := &file_binary_proto_def_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13040,7 +16132,7 @@ func (x *HistorySync) String() string { func (*HistorySync) ProtoMessage() {} func (x *HistorySync) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[91] + mi := &file_binary_proto_def_proto_msgTypes[107] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13053,7 +16145,7 @@ func (x *HistorySync) ProtoReflect() protoreflect.Message { // Deprecated: Use HistorySync.ProtoReflect.Descriptor instead. func (*HistorySync) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{91} + return file_binary_proto_def_proto_rawDescGZIP(), []int{107} } func (x *HistorySync) GetSyncType() HistorySync_HistorySyncType { @@ -13133,6 +16225,27 @@ func (x *HistorySync) GetPastParticipants() []*PastParticipants { return nil } +func (x *HistorySync) GetCallLogRecords() []*CallLogRecord { + if x != nil { + return x.CallLogRecords + } + return nil +} + +func (x *HistorySync) GetAiWaitListState() HistorySync_BotAIWaitListState { + if x != nil && x.AiWaitListState != nil { + return *x.AiWaitListState + } + return HistorySync_IN_WAITLIST +} + +func (x *HistorySync) GetPhoneNumberToLidMappings() []*PhoneNumberToLIDMapping { + if x != nil { + return x.PhoneNumberToLidMappings + } + return nil +} + type HistorySyncMsg struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -13145,7 +16258,7 @@ type HistorySyncMsg struct { func (x *HistorySyncMsg) Reset() { *x = HistorySyncMsg{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[92] + mi := &file_binary_proto_def_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13158,7 +16271,7 @@ func (x *HistorySyncMsg) String() string { func (*HistorySyncMsg) ProtoMessage() {} func (x *HistorySyncMsg) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[92] + mi := &file_binary_proto_def_proto_msgTypes[108] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13171,7 +16284,7 @@ func (x *HistorySyncMsg) ProtoReflect() protoreflect.Message { // Deprecated: Use HistorySyncMsg.ProtoReflect.Descriptor instead. func (*HistorySyncMsg) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{92} + return file_binary_proto_def_proto_rawDescGZIP(), []int{108} } func (x *HistorySyncMsg) GetMessage() *WebMessageInfo { @@ -13200,7 +16313,7 @@ type GroupParticipant struct { func (x *GroupParticipant) Reset() { *x = GroupParticipant{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[93] + mi := &file_binary_proto_def_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13213,7 +16326,7 @@ func (x *GroupParticipant) String() string { func (*GroupParticipant) ProtoMessage() {} func (x *GroupParticipant) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[93] + mi := &file_binary_proto_def_proto_msgTypes[109] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13226,7 +16339,7 @@ func (x *GroupParticipant) ProtoReflect() protoreflect.Message { // Deprecated: Use GroupParticipant.ProtoReflect.Descriptor instead. func (*GroupParticipant) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{93} + return file_binary_proto_def_proto_rawDescGZIP(), []int{109} } func (x *GroupParticipant) GetUserJid() string { @@ -13266,12 +16379,13 @@ type GlobalSettings struct { PhotoQualityMode *int32 `protobuf:"varint,16,opt,name=photoQualityMode" json:"photoQualityMode,omitempty"` IndividualNotificationSettings *NotificationSettings `protobuf:"bytes,17,opt,name=individualNotificationSettings" json:"individualNotificationSettings,omitempty"` GroupNotificationSettings *NotificationSettings `protobuf:"bytes,18,opt,name=groupNotificationSettings" json:"groupNotificationSettings,omitempty"` + ChatLockSettings *ChatLockSettings `protobuf:"bytes,19,opt,name=chatLockSettings" json:"chatLockSettings,omitempty"` } func (x *GlobalSettings) Reset() { *x = GlobalSettings{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[94] + mi := &file_binary_proto_def_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13284,7 +16398,7 @@ func (x *GlobalSettings) String() string { func (*GlobalSettings) ProtoMessage() {} func (x *GlobalSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[94] + mi := &file_binary_proto_def_proto_msgTypes[110] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13297,7 +16411,7 @@ func (x *GlobalSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use GlobalSettings.ProtoReflect.Descriptor instead. func (*GlobalSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{94} + return file_binary_proto_def_proto_rawDescGZIP(), []int{110} } func (x *GlobalSettings) GetLightThemeWallpaper() *WallpaperSettings { @@ -13426,6 +16540,13 @@ func (x *GlobalSettings) GetGroupNotificationSettings() *NotificationSettings { return nil } +func (x *GlobalSettings) GetChatLockSettings() *ChatLockSettings { + if x != nil { + return x.ChatLockSettings + } + return nil +} + type Conversation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -13473,12 +16594,16 @@ type Conversation struct { ShareOwnPn *bool `protobuf:"varint,40,opt,name=shareOwnPn" json:"shareOwnPn,omitempty"` PnhDuplicateLidThread *bool `protobuf:"varint,41,opt,name=pnhDuplicateLidThread" json:"pnhDuplicateLidThread,omitempty"` LidJid *string `protobuf:"bytes,42,opt,name=lidJid" json:"lidJid,omitempty"` + Username *string `protobuf:"bytes,43,opt,name=username" json:"username,omitempty"` + LidOriginType *string `protobuf:"bytes,44,opt,name=lidOriginType" json:"lidOriginType,omitempty"` + CommentsCount *uint32 `protobuf:"varint,45,opt,name=commentsCount" json:"commentsCount,omitempty"` + Locked *bool `protobuf:"varint,46,opt,name=locked" json:"locked,omitempty"` } func (x *Conversation) Reset() { *x = Conversation{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[95] + mi := &file_binary_proto_def_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13491,7 +16616,7 @@ func (x *Conversation) String() string { func (*Conversation) ProtoMessage() {} func (x *Conversation) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[95] + mi := &file_binary_proto_def_proto_msgTypes[111] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13504,7 +16629,7 @@ func (x *Conversation) ProtoReflect() protoreflect.Message { // Deprecated: Use Conversation.ProtoReflect.Descriptor instead. func (*Conversation) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{95} + return file_binary_proto_def_proto_rawDescGZIP(), []int{111} } func (x *Conversation) GetId() string { @@ -13801,6 +16926,34 @@ func (x *Conversation) GetLidJid() string { return "" } +func (x *Conversation) GetUsername() string { + if x != nil && x.Username != nil { + return *x.Username + } + return "" +} + +func (x *Conversation) GetLidOriginType() string { + if x != nil && x.LidOriginType != nil { + return *x.LidOriginType + } + return "" +} + +func (x *Conversation) GetCommentsCount() uint32 { + if x != nil && x.CommentsCount != nil { + return *x.CommentsCount + } + return 0 +} + +func (x *Conversation) GetLocked() bool { + if x != nil && x.Locked != nil { + return *x.Locked + } + return false +} + type AvatarUserSettings struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -13813,7 +16966,7 @@ type AvatarUserSettings struct { func (x *AvatarUserSettings) Reset() { *x = AvatarUserSettings{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[96] + mi := &file_binary_proto_def_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13826,7 +16979,7 @@ func (x *AvatarUserSettings) String() string { func (*AvatarUserSettings) ProtoMessage() {} func (x *AvatarUserSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[96] + mi := &file_binary_proto_def_proto_msgTypes[112] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13839,7 +16992,7 @@ func (x *AvatarUserSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use AvatarUserSettings.ProtoReflect.Descriptor instead. func (*AvatarUserSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{96} + return file_binary_proto_def_proto_rawDescGZIP(), []int{112} } func (x *AvatarUserSettings) GetFbid() string { @@ -13870,7 +17023,7 @@ type AutoDownloadSettings struct { func (x *AutoDownloadSettings) Reset() { *x = AutoDownloadSettings{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[97] + mi := &file_binary_proto_def_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13883,7 +17036,7 @@ func (x *AutoDownloadSettings) String() string { func (*AutoDownloadSettings) ProtoMessage() {} func (x *AutoDownloadSettings) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[97] + mi := &file_binary_proto_def_proto_msgTypes[113] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13896,7 +17049,7 @@ func (x *AutoDownloadSettings) ProtoReflect() protoreflect.Message { // Deprecated: Use AutoDownloadSettings.ProtoReflect.Descriptor instead. func (*AutoDownloadSettings) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{97} + return file_binary_proto_def_proto_rawDescGZIP(), []int{113} } func (x *AutoDownloadSettings) GetDownloadImages() bool { @@ -13938,7 +17091,7 @@ type ServerErrorReceipt struct { func (x *ServerErrorReceipt) Reset() { *x = ServerErrorReceipt{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[98] + mi := &file_binary_proto_def_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13951,7 +17104,7 @@ func (x *ServerErrorReceipt) String() string { func (*ServerErrorReceipt) ProtoMessage() {} func (x *ServerErrorReceipt) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[98] + mi := &file_binary_proto_def_proto_msgTypes[114] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13964,7 +17117,7 @@ func (x *ServerErrorReceipt) ProtoReflect() protoreflect.Message { // Deprecated: Use ServerErrorReceipt.ProtoReflect.Descriptor instead. func (*ServerErrorReceipt) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{98} + return file_binary_proto_def_proto_rawDescGZIP(), []int{114} } func (x *ServerErrorReceipt) GetStanzaId() string { @@ -13987,7 +17140,7 @@ type MediaRetryNotification struct { func (x *MediaRetryNotification) Reset() { *x = MediaRetryNotification{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[99] + mi := &file_binary_proto_def_proto_msgTypes[115] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14000,7 +17153,7 @@ func (x *MediaRetryNotification) String() string { func (*MediaRetryNotification) ProtoMessage() {} func (x *MediaRetryNotification) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[99] + mi := &file_binary_proto_def_proto_msgTypes[115] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14013,7 +17166,7 @@ func (x *MediaRetryNotification) ProtoReflect() protoreflect.Message { // Deprecated: Use MediaRetryNotification.ProtoReflect.Descriptor instead. func (*MediaRetryNotification) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{99} + return file_binary_proto_def_proto_rawDescGZIP(), []int{115} } func (x *MediaRetryNotification) GetStanzaId() string { @@ -14051,7 +17204,7 @@ type MessageKey struct { func (x *MessageKey) Reset() { *x = MessageKey{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[100] + mi := &file_binary_proto_def_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14064,7 +17217,7 @@ func (x *MessageKey) String() string { func (*MessageKey) ProtoMessage() {} func (x *MessageKey) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[100] + mi := &file_binary_proto_def_proto_msgTypes[116] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14077,7 +17230,7 @@ func (x *MessageKey) ProtoReflect() protoreflect.Message { // Deprecated: Use MessageKey.ProtoReflect.Descriptor instead. func (*MessageKey) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{100} + return file_binary_proto_def_proto_rawDescGZIP(), []int{116} } func (x *MessageKey) GetRemoteJid() string { @@ -14119,7 +17272,7 @@ type SyncdVersion struct { func (x *SyncdVersion) Reset() { *x = SyncdVersion{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[101] + mi := &file_binary_proto_def_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14132,7 +17285,7 @@ func (x *SyncdVersion) String() string { func (*SyncdVersion) ProtoMessage() {} func (x *SyncdVersion) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[101] + mi := &file_binary_proto_def_proto_msgTypes[117] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14145,7 +17298,7 @@ func (x *SyncdVersion) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdVersion.ProtoReflect.Descriptor instead. func (*SyncdVersion) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{101} + return file_binary_proto_def_proto_rawDescGZIP(), []int{117} } func (x *SyncdVersion) GetVersion() uint64 { @@ -14166,7 +17319,7 @@ type SyncdValue struct { func (x *SyncdValue) Reset() { *x = SyncdValue{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[102] + mi := &file_binary_proto_def_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14179,7 +17332,7 @@ func (x *SyncdValue) String() string { func (*SyncdValue) ProtoMessage() {} func (x *SyncdValue) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[102] + mi := &file_binary_proto_def_proto_msgTypes[118] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14192,7 +17345,7 @@ func (x *SyncdValue) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdValue.ProtoReflect.Descriptor instead. func (*SyncdValue) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{102} + return file_binary_proto_def_proto_rawDescGZIP(), []int{118} } func (x *SyncdValue) GetBlob() []byte { @@ -14216,7 +17369,7 @@ type SyncdSnapshot struct { func (x *SyncdSnapshot) Reset() { *x = SyncdSnapshot{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[103] + mi := &file_binary_proto_def_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14229,7 +17382,7 @@ func (x *SyncdSnapshot) String() string { func (*SyncdSnapshot) ProtoMessage() {} func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[103] + mi := &file_binary_proto_def_proto_msgTypes[119] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14242,7 +17395,7 @@ func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdSnapshot.ProtoReflect.Descriptor instead. func (*SyncdSnapshot) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{103} + return file_binary_proto_def_proto_rawDescGZIP(), []int{119} } func (x *SyncdSnapshot) GetVersion() *SyncdVersion { @@ -14286,7 +17439,7 @@ type SyncdRecord struct { func (x *SyncdRecord) Reset() { *x = SyncdRecord{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[104] + mi := &file_binary_proto_def_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14299,7 +17452,7 @@ func (x *SyncdRecord) String() string { func (*SyncdRecord) ProtoMessage() {} func (x *SyncdRecord) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[104] + mi := &file_binary_proto_def_proto_msgTypes[120] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14312,7 +17465,7 @@ func (x *SyncdRecord) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdRecord.ProtoReflect.Descriptor instead. func (*SyncdRecord) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{104} + return file_binary_proto_def_proto_rawDescGZIP(), []int{120} } func (x *SyncdRecord) GetIndex() *SyncdIndex { @@ -14349,12 +17502,13 @@ type SyncdPatch struct { KeyId *KeyId `protobuf:"bytes,6,opt,name=keyId" json:"keyId,omitempty"` ExitCode *ExitCode `protobuf:"bytes,7,opt,name=exitCode" json:"exitCode,omitempty"` DeviceIndex *uint32 `protobuf:"varint,8,opt,name=deviceIndex" json:"deviceIndex,omitempty"` + ClientDebugData []byte `protobuf:"bytes,9,opt,name=clientDebugData" json:"clientDebugData,omitempty"` } func (x *SyncdPatch) Reset() { *x = SyncdPatch{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[105] + mi := &file_binary_proto_def_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14367,7 +17521,7 @@ func (x *SyncdPatch) String() string { func (*SyncdPatch) ProtoMessage() {} func (x *SyncdPatch) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[105] + mi := &file_binary_proto_def_proto_msgTypes[121] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14380,7 +17534,7 @@ func (x *SyncdPatch) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdPatch.ProtoReflect.Descriptor instead. func (*SyncdPatch) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{105} + return file_binary_proto_def_proto_rawDescGZIP(), []int{121} } func (x *SyncdPatch) GetVersion() *SyncdVersion { @@ -14439,6 +17593,13 @@ func (x *SyncdPatch) GetDeviceIndex() uint32 { return 0 } +func (x *SyncdPatch) GetClientDebugData() []byte { + if x != nil { + return x.ClientDebugData + } + return nil +} + type SyncdMutations struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -14450,7 +17611,7 @@ type SyncdMutations struct { func (x *SyncdMutations) Reset() { *x = SyncdMutations{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[106] + mi := &file_binary_proto_def_proto_msgTypes[122] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14463,7 +17624,7 @@ func (x *SyncdMutations) String() string { func (*SyncdMutations) ProtoMessage() {} func (x *SyncdMutations) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[106] + mi := &file_binary_proto_def_proto_msgTypes[122] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14476,7 +17637,7 @@ func (x *SyncdMutations) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdMutations.ProtoReflect.Descriptor instead. func (*SyncdMutations) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{106} + return file_binary_proto_def_proto_rawDescGZIP(), []int{122} } func (x *SyncdMutations) GetMutations() []*SyncdMutation { @@ -14498,7 +17659,7 @@ type SyncdMutation struct { func (x *SyncdMutation) Reset() { *x = SyncdMutation{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[107] + mi := &file_binary_proto_def_proto_msgTypes[123] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14511,7 +17672,7 @@ func (x *SyncdMutation) String() string { func (*SyncdMutation) ProtoMessage() {} func (x *SyncdMutation) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[107] + mi := &file_binary_proto_def_proto_msgTypes[123] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14524,7 +17685,7 @@ func (x *SyncdMutation) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdMutation.ProtoReflect.Descriptor instead. func (*SyncdMutation) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{107} + return file_binary_proto_def_proto_rawDescGZIP(), []int{123} } func (x *SyncdMutation) GetOperation() SyncdMutation_SyncdOperation { @@ -14552,7 +17713,7 @@ type SyncdIndex struct { func (x *SyncdIndex) Reset() { *x = SyncdIndex{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[108] + mi := &file_binary_proto_def_proto_msgTypes[124] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14565,7 +17726,7 @@ func (x *SyncdIndex) String() string { func (*SyncdIndex) ProtoMessage() {} func (x *SyncdIndex) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[108] + mi := &file_binary_proto_def_proto_msgTypes[124] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14578,7 +17739,7 @@ func (x *SyncdIndex) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncdIndex.ProtoReflect.Descriptor instead. func (*SyncdIndex) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{108} + return file_binary_proto_def_proto_rawDescGZIP(), []int{124} } func (x *SyncdIndex) GetBlob() []byte { @@ -14599,7 +17760,7 @@ type KeyId struct { func (x *KeyId) Reset() { *x = KeyId{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[109] + mi := &file_binary_proto_def_proto_msgTypes[125] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14612,7 +17773,7 @@ func (x *KeyId) String() string { func (*KeyId) ProtoMessage() {} func (x *KeyId) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[109] + mi := &file_binary_proto_def_proto_msgTypes[125] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14625,7 +17786,7 @@ func (x *KeyId) ProtoReflect() protoreflect.Message { // Deprecated: Use KeyId.ProtoReflect.Descriptor instead. func (*KeyId) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{109} + return file_binary_proto_def_proto_rawDescGZIP(), []int{125} } func (x *KeyId) GetId() []byte { @@ -14651,7 +17812,7 @@ type ExternalBlobReference struct { func (x *ExternalBlobReference) Reset() { *x = ExternalBlobReference{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[110] + mi := &file_binary_proto_def_proto_msgTypes[126] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14664,7 +17825,7 @@ func (x *ExternalBlobReference) String() string { func (*ExternalBlobReference) ProtoMessage() {} func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[110] + mi := &file_binary_proto_def_proto_msgTypes[126] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14677,7 +17838,7 @@ func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message { // Deprecated: Use ExternalBlobReference.ProtoReflect.Descriptor instead. func (*ExternalBlobReference) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{110} + return file_binary_proto_def_proto_rawDescGZIP(), []int{126} } func (x *ExternalBlobReference) GetMediaKey() []byte { @@ -14734,7 +17895,7 @@ type ExitCode struct { func (x *ExitCode) Reset() { *x = ExitCode{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[111] + mi := &file_binary_proto_def_proto_msgTypes[127] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14747,7 +17908,7 @@ func (x *ExitCode) String() string { func (*ExitCode) ProtoMessage() {} func (x *ExitCode) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[111] + mi := &file_binary_proto_def_proto_msgTypes[127] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14760,7 +17921,7 @@ func (x *ExitCode) ProtoReflect() protoreflect.Message { // Deprecated: Use ExitCode.ProtoReflect.Descriptor instead. func (*ExitCode) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{111} + return file_binary_proto_def_proto_rawDescGZIP(), []int{127} } func (x *ExitCode) GetCode() uint64 { @@ -14782,48 +17943,60 @@ type SyncActionValue struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Timestamp *int64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"` - StarAction *StarAction `protobuf:"bytes,2,opt,name=starAction" json:"starAction,omitempty"` - ContactAction *ContactAction `protobuf:"bytes,3,opt,name=contactAction" json:"contactAction,omitempty"` - MuteAction *MuteAction `protobuf:"bytes,4,opt,name=muteAction" json:"muteAction,omitempty"` - PinAction *PinAction `protobuf:"bytes,5,opt,name=pinAction" json:"pinAction,omitempty"` - SecurityNotificationSetting *SecurityNotificationSetting `protobuf:"bytes,6,opt,name=securityNotificationSetting" json:"securityNotificationSetting,omitempty"` - PushNameSetting *PushNameSetting `protobuf:"bytes,7,opt,name=pushNameSetting" json:"pushNameSetting,omitempty"` - QuickReplyAction *QuickReplyAction `protobuf:"bytes,8,opt,name=quickReplyAction" json:"quickReplyAction,omitempty"` - RecentEmojiWeightsAction *RecentEmojiWeightsAction `protobuf:"bytes,11,opt,name=recentEmojiWeightsAction" json:"recentEmojiWeightsAction,omitempty"` - LabelEditAction *LabelEditAction `protobuf:"bytes,14,opt,name=labelEditAction" json:"labelEditAction,omitempty"` - LabelAssociationAction *LabelAssociationAction `protobuf:"bytes,15,opt,name=labelAssociationAction" json:"labelAssociationAction,omitempty"` - LocaleSetting *LocaleSetting `protobuf:"bytes,16,opt,name=localeSetting" json:"localeSetting,omitempty"` - ArchiveChatAction *ArchiveChatAction `protobuf:"bytes,17,opt,name=archiveChatAction" json:"archiveChatAction,omitempty"` - DeleteMessageForMeAction *DeleteMessageForMeAction `protobuf:"bytes,18,opt,name=deleteMessageForMeAction" json:"deleteMessageForMeAction,omitempty"` - KeyExpiration *KeyExpiration `protobuf:"bytes,19,opt,name=keyExpiration" json:"keyExpiration,omitempty"` - MarkChatAsReadAction *MarkChatAsReadAction `protobuf:"bytes,20,opt,name=markChatAsReadAction" json:"markChatAsReadAction,omitempty"` - ClearChatAction *ClearChatAction `protobuf:"bytes,21,opt,name=clearChatAction" json:"clearChatAction,omitempty"` - DeleteChatAction *DeleteChatAction `protobuf:"bytes,22,opt,name=deleteChatAction" json:"deleteChatAction,omitempty"` - UnarchiveChatsSetting *UnarchiveChatsSetting `protobuf:"bytes,23,opt,name=unarchiveChatsSetting" json:"unarchiveChatsSetting,omitempty"` - PrimaryFeature *PrimaryFeature `protobuf:"bytes,24,opt,name=primaryFeature" json:"primaryFeature,omitempty"` - AndroidUnsupportedActions *AndroidUnsupportedActions `protobuf:"bytes,26,opt,name=androidUnsupportedActions" json:"androidUnsupportedActions,omitempty"` - AgentAction *AgentAction `protobuf:"bytes,27,opt,name=agentAction" json:"agentAction,omitempty"` - SubscriptionAction *SubscriptionAction `protobuf:"bytes,28,opt,name=subscriptionAction" json:"subscriptionAction,omitempty"` - UserStatusMuteAction *UserStatusMuteAction `protobuf:"bytes,29,opt,name=userStatusMuteAction" json:"userStatusMuteAction,omitempty"` - TimeFormatAction *TimeFormatAction `protobuf:"bytes,30,opt,name=timeFormatAction" json:"timeFormatAction,omitempty"` - NuxAction *NuxAction `protobuf:"bytes,31,opt,name=nuxAction" json:"nuxAction,omitempty"` - PrimaryVersionAction *PrimaryVersionAction `protobuf:"bytes,32,opt,name=primaryVersionAction" json:"primaryVersionAction,omitempty"` - StickerAction *StickerAction `protobuf:"bytes,33,opt,name=stickerAction" json:"stickerAction,omitempty"` - RemoveRecentStickerAction *RemoveRecentStickerAction `protobuf:"bytes,34,opt,name=removeRecentStickerAction" json:"removeRecentStickerAction,omitempty"` - ChatAssignment *ChatAssignmentAction `protobuf:"bytes,35,opt,name=chatAssignment" json:"chatAssignment,omitempty"` - ChatAssignmentOpenedStatus *ChatAssignmentOpenedStatusAction `protobuf:"bytes,36,opt,name=chatAssignmentOpenedStatus" json:"chatAssignmentOpenedStatus,omitempty"` - PnForLidChatAction *PnForLidChatAction `protobuf:"bytes,37,opt,name=pnForLidChatAction" json:"pnForLidChatAction,omitempty"` - MarketingMessageAction *MarketingMessageAction `protobuf:"bytes,38,opt,name=marketingMessageAction" json:"marketingMessageAction,omitempty"` - MarketingMessageBroadcastAction *MarketingMessageBroadcastAction `protobuf:"bytes,39,opt,name=marketingMessageBroadcastAction" json:"marketingMessageBroadcastAction,omitempty"` - ExternalWebBetaAction *ExternalWebBetaAction `protobuf:"bytes,40,opt,name=externalWebBetaAction" json:"externalWebBetaAction,omitempty"` - PrivacySettingRelayAllCalls *PrivacySettingRelayAllCalls `protobuf:"bytes,41,opt,name=privacySettingRelayAllCalls" json:"privacySettingRelayAllCalls,omitempty"` + Timestamp *int64 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"` + StarAction *StarAction `protobuf:"bytes,2,opt,name=starAction" json:"starAction,omitempty"` + ContactAction *ContactAction `protobuf:"bytes,3,opt,name=contactAction" json:"contactAction,omitempty"` + MuteAction *MuteAction `protobuf:"bytes,4,opt,name=muteAction" json:"muteAction,omitempty"` + PinAction *PinAction `protobuf:"bytes,5,opt,name=pinAction" json:"pinAction,omitempty"` + SecurityNotificationSetting *SecurityNotificationSetting `protobuf:"bytes,6,opt,name=securityNotificationSetting" json:"securityNotificationSetting,omitempty"` + PushNameSetting *PushNameSetting `protobuf:"bytes,7,opt,name=pushNameSetting" json:"pushNameSetting,omitempty"` + QuickReplyAction *QuickReplyAction `protobuf:"bytes,8,opt,name=quickReplyAction" json:"quickReplyAction,omitempty"` + RecentEmojiWeightsAction *RecentEmojiWeightsAction `protobuf:"bytes,11,opt,name=recentEmojiWeightsAction" json:"recentEmojiWeightsAction,omitempty"` + LabelEditAction *LabelEditAction `protobuf:"bytes,14,opt,name=labelEditAction" json:"labelEditAction,omitempty"` + LabelAssociationAction *LabelAssociationAction `protobuf:"bytes,15,opt,name=labelAssociationAction" json:"labelAssociationAction,omitempty"` + LocaleSetting *LocaleSetting `protobuf:"bytes,16,opt,name=localeSetting" json:"localeSetting,omitempty"` + ArchiveChatAction *ArchiveChatAction `protobuf:"bytes,17,opt,name=archiveChatAction" json:"archiveChatAction,omitempty"` + DeleteMessageForMeAction *DeleteMessageForMeAction `protobuf:"bytes,18,opt,name=deleteMessageForMeAction" json:"deleteMessageForMeAction,omitempty"` + KeyExpiration *KeyExpiration `protobuf:"bytes,19,opt,name=keyExpiration" json:"keyExpiration,omitempty"` + MarkChatAsReadAction *MarkChatAsReadAction `protobuf:"bytes,20,opt,name=markChatAsReadAction" json:"markChatAsReadAction,omitempty"` + ClearChatAction *ClearChatAction `protobuf:"bytes,21,opt,name=clearChatAction" json:"clearChatAction,omitempty"` + DeleteChatAction *DeleteChatAction `protobuf:"bytes,22,opt,name=deleteChatAction" json:"deleteChatAction,omitempty"` + UnarchiveChatsSetting *UnarchiveChatsSetting `protobuf:"bytes,23,opt,name=unarchiveChatsSetting" json:"unarchiveChatsSetting,omitempty"` + PrimaryFeature *PrimaryFeature `protobuf:"bytes,24,opt,name=primaryFeature" json:"primaryFeature,omitempty"` + AndroidUnsupportedActions *AndroidUnsupportedActions `protobuf:"bytes,26,opt,name=androidUnsupportedActions" json:"androidUnsupportedActions,omitempty"` + AgentAction *AgentAction `protobuf:"bytes,27,opt,name=agentAction" json:"agentAction,omitempty"` + SubscriptionAction *SubscriptionAction `protobuf:"bytes,28,opt,name=subscriptionAction" json:"subscriptionAction,omitempty"` + UserStatusMuteAction *UserStatusMuteAction `protobuf:"bytes,29,opt,name=userStatusMuteAction" json:"userStatusMuteAction,omitempty"` + TimeFormatAction *TimeFormatAction `protobuf:"bytes,30,opt,name=timeFormatAction" json:"timeFormatAction,omitempty"` + NuxAction *NuxAction `protobuf:"bytes,31,opt,name=nuxAction" json:"nuxAction,omitempty"` + PrimaryVersionAction *PrimaryVersionAction `protobuf:"bytes,32,opt,name=primaryVersionAction" json:"primaryVersionAction,omitempty"` + StickerAction *StickerAction `protobuf:"bytes,33,opt,name=stickerAction" json:"stickerAction,omitempty"` + RemoveRecentStickerAction *RemoveRecentStickerAction `protobuf:"bytes,34,opt,name=removeRecentStickerAction" json:"removeRecentStickerAction,omitempty"` + ChatAssignment *ChatAssignmentAction `protobuf:"bytes,35,opt,name=chatAssignment" json:"chatAssignment,omitempty"` + ChatAssignmentOpenedStatus *ChatAssignmentOpenedStatusAction `protobuf:"bytes,36,opt,name=chatAssignmentOpenedStatus" json:"chatAssignmentOpenedStatus,omitempty"` + PnForLidChatAction *PnForLidChatAction `protobuf:"bytes,37,opt,name=pnForLidChatAction" json:"pnForLidChatAction,omitempty"` + MarketingMessageAction *MarketingMessageAction `protobuf:"bytes,38,opt,name=marketingMessageAction" json:"marketingMessageAction,omitempty"` + MarketingMessageBroadcastAction *MarketingMessageBroadcastAction `protobuf:"bytes,39,opt,name=marketingMessageBroadcastAction" json:"marketingMessageBroadcastAction,omitempty"` + ExternalWebBetaAction *ExternalWebBetaAction `protobuf:"bytes,40,opt,name=externalWebBetaAction" json:"externalWebBetaAction,omitempty"` + PrivacySettingRelayAllCalls *PrivacySettingRelayAllCalls `protobuf:"bytes,41,opt,name=privacySettingRelayAllCalls" json:"privacySettingRelayAllCalls,omitempty"` + CallLogAction *CallLogAction `protobuf:"bytes,42,opt,name=callLogAction" json:"callLogAction,omitempty"` + StatusPrivacy *StatusPrivacyAction `protobuf:"bytes,44,opt,name=statusPrivacy" json:"statusPrivacy,omitempty"` + BotWelcomeRequestAction *BotWelcomeRequestAction `protobuf:"bytes,45,opt,name=botWelcomeRequestAction" json:"botWelcomeRequestAction,omitempty"` + DeleteIndividualCallLog *DeleteIndividualCallLogAction `protobuf:"bytes,46,opt,name=deleteIndividualCallLog" json:"deleteIndividualCallLog,omitempty"` + LabelReorderingAction *LabelReorderingAction `protobuf:"bytes,47,opt,name=labelReorderingAction" json:"labelReorderingAction,omitempty"` + PaymentInfoAction *PaymentInfoAction `protobuf:"bytes,48,opt,name=paymentInfoAction" json:"paymentInfoAction,omitempty"` + CustomPaymentMethodsAction *CustomPaymentMethodsAction `protobuf:"bytes,49,opt,name=customPaymentMethodsAction" json:"customPaymentMethodsAction,omitempty"` + LockChatAction *LockChatAction `protobuf:"bytes,50,opt,name=lockChatAction" json:"lockChatAction,omitempty"` + ChatLockSettings *ChatLockSettings `protobuf:"bytes,51,opt,name=chatLockSettings" json:"chatLockSettings,omitempty"` + WamoUserIdentifierAction *WamoUserIdentifierAction `protobuf:"bytes,52,opt,name=wamoUserIdentifierAction" json:"wamoUserIdentifierAction,omitempty"` + PrivacySettingDisableLinkPreviewsAction *PrivacySettingDisableLinkPreviewsAction `protobuf:"bytes,53,opt,name=privacySettingDisableLinkPreviewsAction" json:"privacySettingDisableLinkPreviewsAction,omitempty"` + DeviceCapabilities *DeviceCapabilities `protobuf:"bytes,54,opt,name=deviceCapabilities" json:"deviceCapabilities,omitempty"` } func (x *SyncActionValue) Reset() { *x = SyncActionValue{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[112] + mi := &file_binary_proto_def_proto_msgTypes[128] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14836,7 +18009,7 @@ func (x *SyncActionValue) String() string { func (*SyncActionValue) ProtoMessage() {} func (x *SyncActionValue) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[112] + mi := &file_binary_proto_def_proto_msgTypes[128] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14849,7 +18022,7 @@ func (x *SyncActionValue) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncActionValue.ProtoReflect.Descriptor instead. func (*SyncActionValue) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{112} + return file_binary_proto_def_proto_rawDescGZIP(), []int{128} } func (x *SyncActionValue) GetTimestamp() int64 { @@ -15104,6 +18277,137 @@ func (x *SyncActionValue) GetPrivacySettingRelayAllCalls() *PrivacySettingRelayA return nil } +func (x *SyncActionValue) GetCallLogAction() *CallLogAction { + if x != nil { + return x.CallLogAction + } + return nil +} + +func (x *SyncActionValue) GetStatusPrivacy() *StatusPrivacyAction { + if x != nil { + return x.StatusPrivacy + } + return nil +} + +func (x *SyncActionValue) GetBotWelcomeRequestAction() *BotWelcomeRequestAction { + if x != nil { + return x.BotWelcomeRequestAction + } + return nil +} + +func (x *SyncActionValue) GetDeleteIndividualCallLog() *DeleteIndividualCallLogAction { + if x != nil { + return x.DeleteIndividualCallLog + } + return nil +} + +func (x *SyncActionValue) GetLabelReorderingAction() *LabelReorderingAction { + if x != nil { + return x.LabelReorderingAction + } + return nil +} + +func (x *SyncActionValue) GetPaymentInfoAction() *PaymentInfoAction { + if x != nil { + return x.PaymentInfoAction + } + return nil +} + +func (x *SyncActionValue) GetCustomPaymentMethodsAction() *CustomPaymentMethodsAction { + if x != nil { + return x.CustomPaymentMethodsAction + } + return nil +} + +func (x *SyncActionValue) GetLockChatAction() *LockChatAction { + if x != nil { + return x.LockChatAction + } + return nil +} + +func (x *SyncActionValue) GetChatLockSettings() *ChatLockSettings { + if x != nil { + return x.ChatLockSettings + } + return nil +} + +func (x *SyncActionValue) GetWamoUserIdentifierAction() *WamoUserIdentifierAction { + if x != nil { + return x.WamoUserIdentifierAction + } + return nil +} + +func (x *SyncActionValue) GetPrivacySettingDisableLinkPreviewsAction() *PrivacySettingDisableLinkPreviewsAction { + if x != nil { + return x.PrivacySettingDisableLinkPreviewsAction + } + return nil +} + +func (x *SyncActionValue) GetDeviceCapabilities() *DeviceCapabilities { + if x != nil { + return x.DeviceCapabilities + } + return nil +} + +type WamoUserIdentifierAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Identifier *string `protobuf:"bytes,1,opt,name=identifier" json:"identifier,omitempty"` +} + +func (x *WamoUserIdentifierAction) Reset() { + *x = WamoUserIdentifierAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[129] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WamoUserIdentifierAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WamoUserIdentifierAction) ProtoMessage() {} + +func (x *WamoUserIdentifierAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[129] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WamoUserIdentifierAction.ProtoReflect.Descriptor instead. +func (*WamoUserIdentifierAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{129} +} + +func (x *WamoUserIdentifierAction) GetIdentifier() string { + if x != nil && x.Identifier != nil { + return *x.Identifier + } + return "" +} + type UserStatusMuteAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -15115,7 +18419,7 @@ type UserStatusMuteAction struct { func (x *UserStatusMuteAction) Reset() { *x = UserStatusMuteAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[113] + mi := &file_binary_proto_def_proto_msgTypes[130] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15128,7 +18432,7 @@ func (x *UserStatusMuteAction) String() string { func (*UserStatusMuteAction) ProtoMessage() {} func (x *UserStatusMuteAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[113] + mi := &file_binary_proto_def_proto_msgTypes[130] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15141,7 +18445,7 @@ func (x *UserStatusMuteAction) ProtoReflect() protoreflect.Message { // Deprecated: Use UserStatusMuteAction.ProtoReflect.Descriptor instead. func (*UserStatusMuteAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{113} + return file_binary_proto_def_proto_rawDescGZIP(), []int{130} } func (x *UserStatusMuteAction) GetMuted() bool { @@ -15162,7 +18466,7 @@ type UnarchiveChatsSetting struct { func (x *UnarchiveChatsSetting) Reset() { *x = UnarchiveChatsSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[114] + mi := &file_binary_proto_def_proto_msgTypes[131] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15175,7 +18479,7 @@ func (x *UnarchiveChatsSetting) String() string { func (*UnarchiveChatsSetting) ProtoMessage() {} func (x *UnarchiveChatsSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[114] + mi := &file_binary_proto_def_proto_msgTypes[131] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15188,7 +18492,7 @@ func (x *UnarchiveChatsSetting) ProtoReflect() protoreflect.Message { // Deprecated: Use UnarchiveChatsSetting.ProtoReflect.Descriptor instead. func (*UnarchiveChatsSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{114} + return file_binary_proto_def_proto_rawDescGZIP(), []int{131} } func (x *UnarchiveChatsSetting) GetUnarchiveChats() bool { @@ -15209,7 +18513,7 @@ type TimeFormatAction struct { func (x *TimeFormatAction) Reset() { *x = TimeFormatAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[115] + mi := &file_binary_proto_def_proto_msgTypes[132] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15222,7 +18526,7 @@ func (x *TimeFormatAction) String() string { func (*TimeFormatAction) ProtoMessage() {} func (x *TimeFormatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[115] + mi := &file_binary_proto_def_proto_msgTypes[132] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15235,7 +18539,7 @@ func (x *TimeFormatAction) ProtoReflect() protoreflect.Message { // Deprecated: Use TimeFormatAction.ProtoReflect.Descriptor instead. func (*TimeFormatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{115} + return file_binary_proto_def_proto_rawDescGZIP(), []int{132} } func (x *TimeFormatAction) GetIsTwentyFourHourFormatEnabled() bool { @@ -15257,7 +18561,7 @@ type SyncActionMessage struct { func (x *SyncActionMessage) Reset() { *x = SyncActionMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[116] + mi := &file_binary_proto_def_proto_msgTypes[133] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15270,7 +18574,7 @@ func (x *SyncActionMessage) String() string { func (*SyncActionMessage) ProtoMessage() {} func (x *SyncActionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[116] + mi := &file_binary_proto_def_proto_msgTypes[133] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15283,7 +18587,7 @@ func (x *SyncActionMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncActionMessage.ProtoReflect.Descriptor instead. func (*SyncActionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{116} + return file_binary_proto_def_proto_rawDescGZIP(), []int{133} } func (x *SyncActionMessage) GetKey() *MessageKey { @@ -15313,7 +18617,7 @@ type SyncActionMessageRange struct { func (x *SyncActionMessageRange) Reset() { *x = SyncActionMessageRange{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[117] + mi := &file_binary_proto_def_proto_msgTypes[134] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15326,7 +18630,7 @@ func (x *SyncActionMessageRange) String() string { func (*SyncActionMessageRange) ProtoMessage() {} func (x *SyncActionMessageRange) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[117] + mi := &file_binary_proto_def_proto_msgTypes[134] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15339,7 +18643,7 @@ func (x *SyncActionMessageRange) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncActionMessageRange.ProtoReflect.Descriptor instead. func (*SyncActionMessageRange) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{117} + return file_binary_proto_def_proto_rawDescGZIP(), []int{134} } func (x *SyncActionMessageRange) GetLastMessageTimestamp() int64 { @@ -15376,7 +18680,7 @@ type SubscriptionAction struct { func (x *SubscriptionAction) Reset() { *x = SubscriptionAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[118] + mi := &file_binary_proto_def_proto_msgTypes[135] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15389,7 +18693,7 @@ func (x *SubscriptionAction) String() string { func (*SubscriptionAction) ProtoMessage() {} func (x *SubscriptionAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[118] + mi := &file_binary_proto_def_proto_msgTypes[135] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15402,7 +18706,7 @@ func (x *SubscriptionAction) ProtoReflect() protoreflect.Message { // Deprecated: Use SubscriptionAction.ProtoReflect.Descriptor instead. func (*SubscriptionAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{118} + return file_binary_proto_def_proto_rawDescGZIP(), []int{135} } func (x *SubscriptionAction) GetIsDeactivated() bool { @@ -15446,7 +18750,7 @@ type StickerAction struct { func (x *StickerAction) Reset() { *x = StickerAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[119] + mi := &file_binary_proto_def_proto_msgTypes[136] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15459,7 +18763,7 @@ func (x *StickerAction) String() string { func (*StickerAction) ProtoMessage() {} func (x *StickerAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[119] + mi := &file_binary_proto_def_proto_msgTypes[136] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15472,7 +18776,7 @@ func (x *StickerAction) ProtoReflect() protoreflect.Message { // Deprecated: Use StickerAction.ProtoReflect.Descriptor instead. func (*StickerAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{119} + return file_binary_proto_def_proto_rawDescGZIP(), []int{136} } func (x *StickerAction) GetUrl() string { @@ -15545,6 +18849,61 @@ func (x *StickerAction) GetDeviceIdHint() uint32 { return 0 } +type StatusPrivacyAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Mode *StatusPrivacyAction_StatusDistributionMode `protobuf:"varint,1,opt,name=mode,enum=proto.StatusPrivacyAction_StatusDistributionMode" json:"mode,omitempty"` + UserJid []string `protobuf:"bytes,2,rep,name=userJid" json:"userJid,omitempty"` +} + +func (x *StatusPrivacyAction) Reset() { + *x = StatusPrivacyAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[137] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatusPrivacyAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatusPrivacyAction) ProtoMessage() {} + +func (x *StatusPrivacyAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[137] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StatusPrivacyAction.ProtoReflect.Descriptor instead. +func (*StatusPrivacyAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{137} +} + +func (x *StatusPrivacyAction) GetMode() StatusPrivacyAction_StatusDistributionMode { + if x != nil && x.Mode != nil { + return *x.Mode + } + return StatusPrivacyAction_ALLOW_LIST +} + +func (x *StatusPrivacyAction) GetUserJid() []string { + if x != nil { + return x.UserJid + } + return nil +} + type StarAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -15556,7 +18915,7 @@ type StarAction struct { func (x *StarAction) Reset() { *x = StarAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[120] + mi := &file_binary_proto_def_proto_msgTypes[138] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15569,7 +18928,7 @@ func (x *StarAction) String() string { func (*StarAction) ProtoMessage() {} func (x *StarAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[120] + mi := &file_binary_proto_def_proto_msgTypes[138] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15582,7 +18941,7 @@ func (x *StarAction) ProtoReflect() protoreflect.Message { // Deprecated: Use StarAction.ProtoReflect.Descriptor instead. func (*StarAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{120} + return file_binary_proto_def_proto_rawDescGZIP(), []int{138} } func (x *StarAction) GetStarred() bool { @@ -15603,7 +18962,7 @@ type SecurityNotificationSetting struct { func (x *SecurityNotificationSetting) Reset() { *x = SecurityNotificationSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[121] + mi := &file_binary_proto_def_proto_msgTypes[139] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15616,7 +18975,7 @@ func (x *SecurityNotificationSetting) String() string { func (*SecurityNotificationSetting) ProtoMessage() {} func (x *SecurityNotificationSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[121] + mi := &file_binary_proto_def_proto_msgTypes[139] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15629,7 +18988,7 @@ func (x *SecurityNotificationSetting) ProtoReflect() protoreflect.Message { // Deprecated: Use SecurityNotificationSetting.ProtoReflect.Descriptor instead. func (*SecurityNotificationSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{121} + return file_binary_proto_def_proto_rawDescGZIP(), []int{139} } func (x *SecurityNotificationSetting) GetShowNotification() bool { @@ -15650,7 +19009,7 @@ type RemoveRecentStickerAction struct { func (x *RemoveRecentStickerAction) Reset() { *x = RemoveRecentStickerAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[122] + mi := &file_binary_proto_def_proto_msgTypes[140] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15663,7 +19022,7 @@ func (x *RemoveRecentStickerAction) String() string { func (*RemoveRecentStickerAction) ProtoMessage() {} func (x *RemoveRecentStickerAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[122] + mi := &file_binary_proto_def_proto_msgTypes[140] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15676,7 +19035,7 @@ func (x *RemoveRecentStickerAction) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveRecentStickerAction.ProtoReflect.Descriptor instead. func (*RemoveRecentStickerAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{122} + return file_binary_proto_def_proto_rawDescGZIP(), []int{140} } func (x *RemoveRecentStickerAction) GetLastStickerSentTs() int64 { @@ -15697,7 +19056,7 @@ type RecentEmojiWeightsAction struct { func (x *RecentEmojiWeightsAction) Reset() { *x = RecentEmojiWeightsAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[123] + mi := &file_binary_proto_def_proto_msgTypes[141] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15710,7 +19069,7 @@ func (x *RecentEmojiWeightsAction) String() string { func (*RecentEmojiWeightsAction) ProtoMessage() {} func (x *RecentEmojiWeightsAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[123] + mi := &file_binary_proto_def_proto_msgTypes[141] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15723,7 +19082,7 @@ func (x *RecentEmojiWeightsAction) ProtoReflect() protoreflect.Message { // Deprecated: Use RecentEmojiWeightsAction.ProtoReflect.Descriptor instead. func (*RecentEmojiWeightsAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{123} + return file_binary_proto_def_proto_rawDescGZIP(), []int{141} } func (x *RecentEmojiWeightsAction) GetWeights() []*RecentEmojiWeight { @@ -15748,7 +19107,7 @@ type QuickReplyAction struct { func (x *QuickReplyAction) Reset() { *x = QuickReplyAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[124] + mi := &file_binary_proto_def_proto_msgTypes[142] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15761,7 +19120,7 @@ func (x *QuickReplyAction) String() string { func (*QuickReplyAction) ProtoMessage() {} func (x *QuickReplyAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[124] + mi := &file_binary_proto_def_proto_msgTypes[142] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15774,7 +19133,7 @@ func (x *QuickReplyAction) ProtoReflect() protoreflect.Message { // Deprecated: Use QuickReplyAction.ProtoReflect.Descriptor instead. func (*QuickReplyAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{124} + return file_binary_proto_def_proto_rawDescGZIP(), []int{142} } func (x *QuickReplyAction) GetShortcut() string { @@ -15823,7 +19182,7 @@ type PushNameSetting struct { func (x *PushNameSetting) Reset() { *x = PushNameSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[125] + mi := &file_binary_proto_def_proto_msgTypes[143] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15836,7 +19195,7 @@ func (x *PushNameSetting) String() string { func (*PushNameSetting) ProtoMessage() {} func (x *PushNameSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[125] + mi := &file_binary_proto_def_proto_msgTypes[143] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15849,7 +19208,7 @@ func (x *PushNameSetting) ProtoReflect() protoreflect.Message { // Deprecated: Use PushNameSetting.ProtoReflect.Descriptor instead. func (*PushNameSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{125} + return file_binary_proto_def_proto_rawDescGZIP(), []int{143} } func (x *PushNameSetting) GetName() string { @@ -15870,7 +19229,7 @@ type PrivacySettingRelayAllCalls struct { func (x *PrivacySettingRelayAllCalls) Reset() { *x = PrivacySettingRelayAllCalls{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[126] + mi := &file_binary_proto_def_proto_msgTypes[144] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15883,7 +19242,7 @@ func (x *PrivacySettingRelayAllCalls) String() string { func (*PrivacySettingRelayAllCalls) ProtoMessage() {} func (x *PrivacySettingRelayAllCalls) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[126] + mi := &file_binary_proto_def_proto_msgTypes[144] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15896,7 +19255,7 @@ func (x *PrivacySettingRelayAllCalls) ProtoReflect() protoreflect.Message { // Deprecated: Use PrivacySettingRelayAllCalls.ProtoReflect.Descriptor instead. func (*PrivacySettingRelayAllCalls) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{126} + return file_binary_proto_def_proto_rawDescGZIP(), []int{144} } func (x *PrivacySettingRelayAllCalls) GetIsEnabled() bool { @@ -15906,6 +19265,53 @@ func (x *PrivacySettingRelayAllCalls) GetIsEnabled() bool { return false } +type PrivacySettingDisableLinkPreviewsAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsPreviewsDisabled *bool `protobuf:"varint,1,opt,name=isPreviewsDisabled" json:"isPreviewsDisabled,omitempty"` +} + +func (x *PrivacySettingDisableLinkPreviewsAction) Reset() { + *x = PrivacySettingDisableLinkPreviewsAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[145] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrivacySettingDisableLinkPreviewsAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrivacySettingDisableLinkPreviewsAction) ProtoMessage() {} + +func (x *PrivacySettingDisableLinkPreviewsAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[145] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrivacySettingDisableLinkPreviewsAction.ProtoReflect.Descriptor instead. +func (*PrivacySettingDisableLinkPreviewsAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{145} +} + +func (x *PrivacySettingDisableLinkPreviewsAction) GetIsPreviewsDisabled() bool { + if x != nil && x.IsPreviewsDisabled != nil { + return *x.IsPreviewsDisabled + } + return false +} + type PrimaryVersionAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -15917,7 +19323,7 @@ type PrimaryVersionAction struct { func (x *PrimaryVersionAction) Reset() { *x = PrimaryVersionAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[127] + mi := &file_binary_proto_def_proto_msgTypes[146] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15930,7 +19336,7 @@ func (x *PrimaryVersionAction) String() string { func (*PrimaryVersionAction) ProtoMessage() {} func (x *PrimaryVersionAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[127] + mi := &file_binary_proto_def_proto_msgTypes[146] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15943,7 +19349,7 @@ func (x *PrimaryVersionAction) ProtoReflect() protoreflect.Message { // Deprecated: Use PrimaryVersionAction.ProtoReflect.Descriptor instead. func (*PrimaryVersionAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{127} + return file_binary_proto_def_proto_rawDescGZIP(), []int{146} } func (x *PrimaryVersionAction) GetVersion() string { @@ -15964,7 +19370,7 @@ type PrimaryFeature struct { func (x *PrimaryFeature) Reset() { *x = PrimaryFeature{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[128] + mi := &file_binary_proto_def_proto_msgTypes[147] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15977,7 +19383,7 @@ func (x *PrimaryFeature) String() string { func (*PrimaryFeature) ProtoMessage() {} func (x *PrimaryFeature) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[128] + mi := &file_binary_proto_def_proto_msgTypes[147] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15990,7 +19396,7 @@ func (x *PrimaryFeature) ProtoReflect() protoreflect.Message { // Deprecated: Use PrimaryFeature.ProtoReflect.Descriptor instead. func (*PrimaryFeature) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{128} + return file_binary_proto_def_proto_rawDescGZIP(), []int{147} } func (x *PrimaryFeature) GetFlags() []string { @@ -16011,7 +19417,7 @@ type PnForLidChatAction struct { func (x *PnForLidChatAction) Reset() { *x = PnForLidChatAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[129] + mi := &file_binary_proto_def_proto_msgTypes[148] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16024,7 +19430,7 @@ func (x *PnForLidChatAction) String() string { func (*PnForLidChatAction) ProtoMessage() {} func (x *PnForLidChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[129] + mi := &file_binary_proto_def_proto_msgTypes[148] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16037,7 +19443,7 @@ func (x *PnForLidChatAction) ProtoReflect() protoreflect.Message { // Deprecated: Use PnForLidChatAction.ProtoReflect.Descriptor instead. func (*PnForLidChatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{129} + return file_binary_proto_def_proto_rawDescGZIP(), []int{148} } func (x *PnForLidChatAction) GetPnJid() string { @@ -16058,7 +19464,7 @@ type PinAction struct { func (x *PinAction) Reset() { *x = PinAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[130] + mi := &file_binary_proto_def_proto_msgTypes[149] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16071,7 +19477,7 @@ func (x *PinAction) String() string { func (*PinAction) ProtoMessage() {} func (x *PinAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[130] + mi := &file_binary_proto_def_proto_msgTypes[149] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16084,7 +19490,7 @@ func (x *PinAction) ProtoReflect() protoreflect.Message { // Deprecated: Use PinAction.ProtoReflect.Descriptor instead. func (*PinAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{130} + return file_binary_proto_def_proto_rawDescGZIP(), []int{149} } func (x *PinAction) GetPinned() bool { @@ -16094,6 +19500,53 @@ func (x *PinAction) GetPinned() bool { return false } +type PaymentInfoAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cpi *string `protobuf:"bytes,1,opt,name=cpi" json:"cpi,omitempty"` +} + +func (x *PaymentInfoAction) Reset() { + *x = PaymentInfoAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[150] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PaymentInfoAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PaymentInfoAction) ProtoMessage() {} + +func (x *PaymentInfoAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[150] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PaymentInfoAction.ProtoReflect.Descriptor instead. +func (*PaymentInfoAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{150} +} + +func (x *PaymentInfoAction) GetCpi() string { + if x != nil && x.Cpi != nil { + return *x.Cpi + } + return "" +} + type NuxAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -16105,7 +19558,7 @@ type NuxAction struct { func (x *NuxAction) Reset() { *x = NuxAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[131] + mi := &file_binary_proto_def_proto_msgTypes[151] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16118,7 +19571,7 @@ func (x *NuxAction) String() string { func (*NuxAction) ProtoMessage() {} func (x *NuxAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[131] + mi := &file_binary_proto_def_proto_msgTypes[151] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16131,7 +19584,7 @@ func (x *NuxAction) ProtoReflect() protoreflect.Message { // Deprecated: Use NuxAction.ProtoReflect.Descriptor instead. func (*NuxAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{131} + return file_binary_proto_def_proto_rawDescGZIP(), []int{151} } func (x *NuxAction) GetAcknowledged() bool { @@ -16154,7 +19607,7 @@ type MuteAction struct { func (x *MuteAction) Reset() { *x = MuteAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[132] + mi := &file_binary_proto_def_proto_msgTypes[152] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16167,7 +19620,7 @@ func (x *MuteAction) String() string { func (*MuteAction) ProtoMessage() {} func (x *MuteAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[132] + mi := &file_binary_proto_def_proto_msgTypes[152] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16180,7 +19633,7 @@ func (x *MuteAction) ProtoReflect() protoreflect.Message { // Deprecated: Use MuteAction.ProtoReflect.Descriptor instead. func (*MuteAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{132} + return file_binary_proto_def_proto_rawDescGZIP(), []int{152} } func (x *MuteAction) GetMuted() bool { @@ -16215,7 +19668,7 @@ type MarketingMessageBroadcastAction struct { func (x *MarketingMessageBroadcastAction) Reset() { *x = MarketingMessageBroadcastAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[133] + mi := &file_binary_proto_def_proto_msgTypes[153] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16228,7 +19681,7 @@ func (x *MarketingMessageBroadcastAction) String() string { func (*MarketingMessageBroadcastAction) ProtoMessage() {} func (x *MarketingMessageBroadcastAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[133] + mi := &file_binary_proto_def_proto_msgTypes[153] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16241,7 +19694,7 @@ func (x *MarketingMessageBroadcastAction) ProtoReflect() protoreflect.Message { // Deprecated: Use MarketingMessageBroadcastAction.ProtoReflect.Descriptor instead. func (*MarketingMessageBroadcastAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{133} + return file_binary_proto_def_proto_rawDescGZIP(), []int{153} } func (x *MarketingMessageBroadcastAction) GetRepliedCount() int32 { @@ -16268,7 +19721,7 @@ type MarketingMessageAction struct { func (x *MarketingMessageAction) Reset() { *x = MarketingMessageAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[134] + mi := &file_binary_proto_def_proto_msgTypes[154] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16281,7 +19734,7 @@ func (x *MarketingMessageAction) String() string { func (*MarketingMessageAction) ProtoMessage() {} func (x *MarketingMessageAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[134] + mi := &file_binary_proto_def_proto_msgTypes[154] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16294,7 +19747,7 @@ func (x *MarketingMessageAction) ProtoReflect() protoreflect.Message { // Deprecated: Use MarketingMessageAction.ProtoReflect.Descriptor instead. func (*MarketingMessageAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{134} + return file_binary_proto_def_proto_rawDescGZIP(), []int{154} } func (x *MarketingMessageAction) GetName() string { @@ -16358,7 +19811,7 @@ type MarkChatAsReadAction struct { func (x *MarkChatAsReadAction) Reset() { *x = MarkChatAsReadAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[135] + mi := &file_binary_proto_def_proto_msgTypes[155] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16371,7 +19824,7 @@ func (x *MarkChatAsReadAction) String() string { func (*MarkChatAsReadAction) ProtoMessage() {} func (x *MarkChatAsReadAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[135] + mi := &file_binary_proto_def_proto_msgTypes[155] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16384,7 +19837,7 @@ func (x *MarkChatAsReadAction) ProtoReflect() protoreflect.Message { // Deprecated: Use MarkChatAsReadAction.ProtoReflect.Descriptor instead. func (*MarkChatAsReadAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{135} + return file_binary_proto_def_proto_rawDescGZIP(), []int{155} } func (x *MarkChatAsReadAction) GetRead() bool { @@ -16401,6 +19854,53 @@ func (x *MarkChatAsReadAction) GetMessageRange() *SyncActionMessageRange { return nil } +type LockChatAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Locked *bool `protobuf:"varint,1,opt,name=locked" json:"locked,omitempty"` +} + +func (x *LockChatAction) Reset() { + *x = LockChatAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[156] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LockChatAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LockChatAction) ProtoMessage() {} + +func (x *LockChatAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[156] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LockChatAction.ProtoReflect.Descriptor instead. +func (*LockChatAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{156} +} + +func (x *LockChatAction) GetLocked() bool { + if x != nil && x.Locked != nil { + return *x.Locked + } + return false +} + type LocaleSetting struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -16412,7 +19912,7 @@ type LocaleSetting struct { func (x *LocaleSetting) Reset() { *x = LocaleSetting{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[136] + mi := &file_binary_proto_def_proto_msgTypes[157] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16425,7 +19925,7 @@ func (x *LocaleSetting) String() string { func (*LocaleSetting) ProtoMessage() {} func (x *LocaleSetting) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[136] + mi := &file_binary_proto_def_proto_msgTypes[157] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16438,7 +19938,7 @@ func (x *LocaleSetting) ProtoReflect() protoreflect.Message { // Deprecated: Use LocaleSetting.ProtoReflect.Descriptor instead. func (*LocaleSetting) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{136} + return file_binary_proto_def_proto_rawDescGZIP(), []int{157} } func (x *LocaleSetting) GetLocale() string { @@ -16448,6 +19948,53 @@ func (x *LocaleSetting) GetLocale() string { return "" } +type LabelReorderingAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SortedLabelIds []int32 `protobuf:"varint,1,rep,name=sortedLabelIds" json:"sortedLabelIds,omitempty"` +} + +func (x *LabelReorderingAction) Reset() { + *x = LabelReorderingAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[158] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LabelReorderingAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LabelReorderingAction) ProtoMessage() {} + +func (x *LabelReorderingAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[158] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LabelReorderingAction.ProtoReflect.Descriptor instead. +func (*LabelReorderingAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{158} +} + +func (x *LabelReorderingAction) GetSortedLabelIds() []int32 { + if x != nil { + return x.SortedLabelIds + } + return nil +} + type LabelEditAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -16457,12 +20004,13 @@ type LabelEditAction struct { Color *int32 `protobuf:"varint,2,opt,name=color" json:"color,omitempty"` PredefinedId *int32 `protobuf:"varint,3,opt,name=predefinedId" json:"predefinedId,omitempty"` Deleted *bool `protobuf:"varint,4,opt,name=deleted" json:"deleted,omitempty"` + OrderIndex *int32 `protobuf:"varint,5,opt,name=orderIndex" json:"orderIndex,omitempty"` } func (x *LabelEditAction) Reset() { *x = LabelEditAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[137] + mi := &file_binary_proto_def_proto_msgTypes[159] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16475,7 +20023,7 @@ func (x *LabelEditAction) String() string { func (*LabelEditAction) ProtoMessage() {} func (x *LabelEditAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[137] + mi := &file_binary_proto_def_proto_msgTypes[159] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16488,7 +20036,7 @@ func (x *LabelEditAction) ProtoReflect() protoreflect.Message { // Deprecated: Use LabelEditAction.ProtoReflect.Descriptor instead. func (*LabelEditAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{137} + return file_binary_proto_def_proto_rawDescGZIP(), []int{159} } func (x *LabelEditAction) GetName() string { @@ -16519,6 +20067,13 @@ func (x *LabelEditAction) GetDeleted() bool { return false } +func (x *LabelEditAction) GetOrderIndex() int32 { + if x != nil && x.OrderIndex != nil { + return *x.OrderIndex + } + return 0 +} + type LabelAssociationAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -16530,7 +20085,7 @@ type LabelAssociationAction struct { func (x *LabelAssociationAction) Reset() { *x = LabelAssociationAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[138] + mi := &file_binary_proto_def_proto_msgTypes[160] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16543,7 +20098,7 @@ func (x *LabelAssociationAction) String() string { func (*LabelAssociationAction) ProtoMessage() {} func (x *LabelAssociationAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[138] + mi := &file_binary_proto_def_proto_msgTypes[160] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16556,7 +20111,7 @@ func (x *LabelAssociationAction) ProtoReflect() protoreflect.Message { // Deprecated: Use LabelAssociationAction.ProtoReflect.Descriptor instead. func (*LabelAssociationAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{138} + return file_binary_proto_def_proto_rawDescGZIP(), []int{160} } func (x *LabelAssociationAction) GetLabeled() bool { @@ -16577,7 +20132,7 @@ type KeyExpiration struct { func (x *KeyExpiration) Reset() { *x = KeyExpiration{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[139] + mi := &file_binary_proto_def_proto_msgTypes[161] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16590,7 +20145,7 @@ func (x *KeyExpiration) String() string { func (*KeyExpiration) ProtoMessage() {} func (x *KeyExpiration) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[139] + mi := &file_binary_proto_def_proto_msgTypes[161] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16603,7 +20158,7 @@ func (x *KeyExpiration) ProtoReflect() protoreflect.Message { // Deprecated: Use KeyExpiration.ProtoReflect.Descriptor instead. func (*KeyExpiration) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{139} + return file_binary_proto_def_proto_rawDescGZIP(), []int{161} } func (x *KeyExpiration) GetExpiredKeyEpoch() int32 { @@ -16624,7 +20179,7 @@ type ExternalWebBetaAction struct { func (x *ExternalWebBetaAction) Reset() { *x = ExternalWebBetaAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[140] + mi := &file_binary_proto_def_proto_msgTypes[162] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16637,7 +20192,7 @@ func (x *ExternalWebBetaAction) String() string { func (*ExternalWebBetaAction) ProtoMessage() {} func (x *ExternalWebBetaAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[140] + mi := &file_binary_proto_def_proto_msgTypes[162] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16650,7 +20205,7 @@ func (x *ExternalWebBetaAction) ProtoReflect() protoreflect.Message { // Deprecated: Use ExternalWebBetaAction.ProtoReflect.Descriptor instead. func (*ExternalWebBetaAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{140} + return file_binary_proto_def_proto_rawDescGZIP(), []int{162} } func (x *ExternalWebBetaAction) GetIsOptIn() bool { @@ -16672,7 +20227,7 @@ type DeleteMessageForMeAction struct { func (x *DeleteMessageForMeAction) Reset() { *x = DeleteMessageForMeAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[141] + mi := &file_binary_proto_def_proto_msgTypes[163] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16685,7 +20240,7 @@ func (x *DeleteMessageForMeAction) String() string { func (*DeleteMessageForMeAction) ProtoMessage() {} func (x *DeleteMessageForMeAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[141] + mi := &file_binary_proto_def_proto_msgTypes[163] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16698,7 +20253,7 @@ func (x *DeleteMessageForMeAction) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteMessageForMeAction.ProtoReflect.Descriptor instead. func (*DeleteMessageForMeAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{141} + return file_binary_proto_def_proto_rawDescGZIP(), []int{163} } func (x *DeleteMessageForMeAction) GetDeleteMedia() bool { @@ -16715,6 +20270,61 @@ func (x *DeleteMessageForMeAction) GetMessageTimestamp() int64 { return 0 } +type DeleteIndividualCallLogAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PeerJid *string `protobuf:"bytes,1,opt,name=peerJid" json:"peerJid,omitempty"` + IsIncoming *bool `protobuf:"varint,2,opt,name=isIncoming" json:"isIncoming,omitempty"` +} + +func (x *DeleteIndividualCallLogAction) Reset() { + *x = DeleteIndividualCallLogAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[164] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteIndividualCallLogAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteIndividualCallLogAction) ProtoMessage() {} + +func (x *DeleteIndividualCallLogAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[164] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteIndividualCallLogAction.ProtoReflect.Descriptor instead. +func (*DeleteIndividualCallLogAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{164} +} + +func (x *DeleteIndividualCallLogAction) GetPeerJid() string { + if x != nil && x.PeerJid != nil { + return *x.PeerJid + } + return "" +} + +func (x *DeleteIndividualCallLogAction) GetIsIncoming() bool { + if x != nil && x.IsIncoming != nil { + return *x.IsIncoming + } + return false +} + type DeleteChatAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -16726,7 +20336,7 @@ type DeleteChatAction struct { func (x *DeleteChatAction) Reset() { *x = DeleteChatAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[142] + mi := &file_binary_proto_def_proto_msgTypes[165] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16739,7 +20349,7 @@ func (x *DeleteChatAction) String() string { func (*DeleteChatAction) ProtoMessage() {} func (x *DeleteChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[142] + mi := &file_binary_proto_def_proto_msgTypes[165] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16752,7 +20362,7 @@ func (x *DeleteChatAction) ProtoReflect() protoreflect.Message { // Deprecated: Use DeleteChatAction.ProtoReflect.Descriptor instead. func (*DeleteChatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{142} + return file_binary_proto_def_proto_rawDescGZIP(), []int{165} } func (x *DeleteChatAction) GetMessageRange() *SyncActionMessageRange { @@ -16762,20 +20372,194 @@ func (x *DeleteChatAction) GetMessageRange() *SyncActionMessageRange { return nil } +type CustomPaymentMethodsAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CustomPaymentMethods []*CustomPaymentMethod `protobuf:"bytes,1,rep,name=customPaymentMethods" json:"customPaymentMethods,omitempty"` +} + +func (x *CustomPaymentMethodsAction) Reset() { + *x = CustomPaymentMethodsAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[166] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CustomPaymentMethodsAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CustomPaymentMethodsAction) ProtoMessage() {} + +func (x *CustomPaymentMethodsAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[166] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CustomPaymentMethodsAction.ProtoReflect.Descriptor instead. +func (*CustomPaymentMethodsAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{166} +} + +func (x *CustomPaymentMethodsAction) GetCustomPaymentMethods() []*CustomPaymentMethod { + if x != nil { + return x.CustomPaymentMethods + } + return nil +} + +type CustomPaymentMethod struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CredentialId *string `protobuf:"bytes,1,req,name=credentialId" json:"credentialId,omitempty"` + Country *string `protobuf:"bytes,2,req,name=country" json:"country,omitempty"` + Type *string `protobuf:"bytes,3,req,name=type" json:"type,omitempty"` + Metadata []*CustomPaymentMethodMetadata `protobuf:"bytes,4,rep,name=metadata" json:"metadata,omitempty"` +} + +func (x *CustomPaymentMethod) Reset() { + *x = CustomPaymentMethod{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[167] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CustomPaymentMethod) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CustomPaymentMethod) ProtoMessage() {} + +func (x *CustomPaymentMethod) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[167] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CustomPaymentMethod.ProtoReflect.Descriptor instead. +func (*CustomPaymentMethod) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{167} +} + +func (x *CustomPaymentMethod) GetCredentialId() string { + if x != nil && x.CredentialId != nil { + return *x.CredentialId + } + return "" +} + +func (x *CustomPaymentMethod) GetCountry() string { + if x != nil && x.Country != nil { + return *x.Country + } + return "" +} + +func (x *CustomPaymentMethod) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +func (x *CustomPaymentMethod) GetMetadata() []*CustomPaymentMethodMetadata { + if x != nil { + return x.Metadata + } + return nil +} + +type CustomPaymentMethodMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` + Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` +} + +func (x *CustomPaymentMethodMetadata) Reset() { + *x = CustomPaymentMethodMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[168] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CustomPaymentMethodMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CustomPaymentMethodMetadata) ProtoMessage() {} + +func (x *CustomPaymentMethodMetadata) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[168] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CustomPaymentMethodMetadata.ProtoReflect.Descriptor instead. +func (*CustomPaymentMethodMetadata) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{168} +} + +func (x *CustomPaymentMethodMetadata) GetKey() string { + if x != nil && x.Key != nil { + return *x.Key + } + return "" +} + +func (x *CustomPaymentMethodMetadata) GetValue() string { + if x != nil && x.Value != nil { + return *x.Value + } + return "" +} + type ContactAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - FullName *string `protobuf:"bytes,1,opt,name=fullName" json:"fullName,omitempty"` - FirstName *string `protobuf:"bytes,2,opt,name=firstName" json:"firstName,omitempty"` - LidJid *string `protobuf:"bytes,3,opt,name=lidJid" json:"lidJid,omitempty"` + FullName *string `protobuf:"bytes,1,opt,name=fullName" json:"fullName,omitempty"` + FirstName *string `protobuf:"bytes,2,opt,name=firstName" json:"firstName,omitempty"` + LidJid *string `protobuf:"bytes,3,opt,name=lidJid" json:"lidJid,omitempty"` + SaveOnPrimaryAddressbook *bool `protobuf:"varint,4,opt,name=saveOnPrimaryAddressbook" json:"saveOnPrimaryAddressbook,omitempty"` } func (x *ContactAction) Reset() { *x = ContactAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[143] + mi := &file_binary_proto_def_proto_msgTypes[169] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16788,7 +20572,7 @@ func (x *ContactAction) String() string { func (*ContactAction) ProtoMessage() {} func (x *ContactAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[143] + mi := &file_binary_proto_def_proto_msgTypes[169] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16801,7 +20585,7 @@ func (x *ContactAction) ProtoReflect() protoreflect.Message { // Deprecated: Use ContactAction.ProtoReflect.Descriptor instead. func (*ContactAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{143} + return file_binary_proto_def_proto_rawDescGZIP(), []int{169} } func (x *ContactAction) GetFullName() string { @@ -16825,6 +20609,13 @@ func (x *ContactAction) GetLidJid() string { return "" } +func (x *ContactAction) GetSaveOnPrimaryAddressbook() bool { + if x != nil && x.SaveOnPrimaryAddressbook != nil { + return *x.SaveOnPrimaryAddressbook + } + return false +} + type ClearChatAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -16836,7 +20627,7 @@ type ClearChatAction struct { func (x *ClearChatAction) Reset() { *x = ClearChatAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[144] + mi := &file_binary_proto_def_proto_msgTypes[170] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16849,7 +20640,7 @@ func (x *ClearChatAction) String() string { func (*ClearChatAction) ProtoMessage() {} func (x *ClearChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[144] + mi := &file_binary_proto_def_proto_msgTypes[170] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16862,7 +20653,7 @@ func (x *ClearChatAction) ProtoReflect() protoreflect.Message { // Deprecated: Use ClearChatAction.ProtoReflect.Descriptor instead. func (*ClearChatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{144} + return file_binary_proto_def_proto_rawDescGZIP(), []int{170} } func (x *ClearChatAction) GetMessageRange() *SyncActionMessageRange { @@ -16883,7 +20674,7 @@ type ChatAssignmentOpenedStatusAction struct { func (x *ChatAssignmentOpenedStatusAction) Reset() { *x = ChatAssignmentOpenedStatusAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[145] + mi := &file_binary_proto_def_proto_msgTypes[171] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16896,7 +20687,7 @@ func (x *ChatAssignmentOpenedStatusAction) String() string { func (*ChatAssignmentOpenedStatusAction) ProtoMessage() {} func (x *ChatAssignmentOpenedStatusAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[145] + mi := &file_binary_proto_def_proto_msgTypes[171] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16909,7 +20700,7 @@ func (x *ChatAssignmentOpenedStatusAction) ProtoReflect() protoreflect.Message { // Deprecated: Use ChatAssignmentOpenedStatusAction.ProtoReflect.Descriptor instead. func (*ChatAssignmentOpenedStatusAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{145} + return file_binary_proto_def_proto_rawDescGZIP(), []int{171} } func (x *ChatAssignmentOpenedStatusAction) GetChatOpened() bool { @@ -16930,7 +20721,7 @@ type ChatAssignmentAction struct { func (x *ChatAssignmentAction) Reset() { *x = ChatAssignmentAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[146] + mi := &file_binary_proto_def_proto_msgTypes[172] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16943,7 +20734,7 @@ func (x *ChatAssignmentAction) String() string { func (*ChatAssignmentAction) ProtoMessage() {} func (x *ChatAssignmentAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[146] + mi := &file_binary_proto_def_proto_msgTypes[172] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16956,7 +20747,7 @@ func (x *ChatAssignmentAction) ProtoReflect() protoreflect.Message { // Deprecated: Use ChatAssignmentAction.ProtoReflect.Descriptor instead. func (*ChatAssignmentAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{146} + return file_binary_proto_def_proto_rawDescGZIP(), []int{172} } func (x *ChatAssignmentAction) GetDeviceAgentID() string { @@ -16966,6 +20757,100 @@ func (x *ChatAssignmentAction) GetDeviceAgentID() string { return "" } +type CallLogAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CallLogRecord *CallLogRecord `protobuf:"bytes,1,opt,name=callLogRecord" json:"callLogRecord,omitempty"` +} + +func (x *CallLogAction) Reset() { + *x = CallLogAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[173] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CallLogAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CallLogAction) ProtoMessage() {} + +func (x *CallLogAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[173] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CallLogAction.ProtoReflect.Descriptor instead. +func (*CallLogAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{173} +} + +func (x *CallLogAction) GetCallLogRecord() *CallLogRecord { + if x != nil { + return x.CallLogRecord + } + return nil +} + +type BotWelcomeRequestAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsSent *bool `protobuf:"varint,1,opt,name=isSent" json:"isSent,omitempty"` +} + +func (x *BotWelcomeRequestAction) Reset() { + *x = BotWelcomeRequestAction{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[174] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BotWelcomeRequestAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BotWelcomeRequestAction) ProtoMessage() {} + +func (x *BotWelcomeRequestAction) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[174] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BotWelcomeRequestAction.ProtoReflect.Descriptor instead. +func (*BotWelcomeRequestAction) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{174} +} + +func (x *BotWelcomeRequestAction) GetIsSent() bool { + if x != nil && x.IsSent != nil { + return *x.IsSent + } + return false +} + type ArchiveChatAction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -16978,7 +20863,7 @@ type ArchiveChatAction struct { func (x *ArchiveChatAction) Reset() { *x = ArchiveChatAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[147] + mi := &file_binary_proto_def_proto_msgTypes[175] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16991,7 +20876,7 @@ func (x *ArchiveChatAction) String() string { func (*ArchiveChatAction) ProtoMessage() {} func (x *ArchiveChatAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[147] + mi := &file_binary_proto_def_proto_msgTypes[175] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17004,7 +20889,7 @@ func (x *ArchiveChatAction) ProtoReflect() protoreflect.Message { // Deprecated: Use ArchiveChatAction.ProtoReflect.Descriptor instead. func (*ArchiveChatAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{147} + return file_binary_proto_def_proto_rawDescGZIP(), []int{175} } func (x *ArchiveChatAction) GetArchived() bool { @@ -17032,7 +20917,7 @@ type AndroidUnsupportedActions struct { func (x *AndroidUnsupportedActions) Reset() { *x = AndroidUnsupportedActions{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[148] + mi := &file_binary_proto_def_proto_msgTypes[176] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17045,7 +20930,7 @@ func (x *AndroidUnsupportedActions) String() string { func (*AndroidUnsupportedActions) ProtoMessage() {} func (x *AndroidUnsupportedActions) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[148] + mi := &file_binary_proto_def_proto_msgTypes[176] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17058,7 +20943,7 @@ func (x *AndroidUnsupportedActions) ProtoReflect() protoreflect.Message { // Deprecated: Use AndroidUnsupportedActions.ProtoReflect.Descriptor instead. func (*AndroidUnsupportedActions) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{148} + return file_binary_proto_def_proto_rawDescGZIP(), []int{176} } func (x *AndroidUnsupportedActions) GetAllowed() bool { @@ -17081,7 +20966,7 @@ type AgentAction struct { func (x *AgentAction) Reset() { *x = AgentAction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[149] + mi := &file_binary_proto_def_proto_msgTypes[177] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17094,7 +20979,7 @@ func (x *AgentAction) String() string { func (*AgentAction) ProtoMessage() {} func (x *AgentAction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[149] + mi := &file_binary_proto_def_proto_msgTypes[177] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17107,7 +20992,7 @@ func (x *AgentAction) ProtoReflect() protoreflect.Message { // Deprecated: Use AgentAction.ProtoReflect.Descriptor instead. func (*AgentAction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{149} + return file_binary_proto_def_proto_rawDescGZIP(), []int{177} } func (x *AgentAction) GetName() string { @@ -17145,7 +21030,7 @@ type SyncActionData struct { func (x *SyncActionData) Reset() { *x = SyncActionData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[150] + mi := &file_binary_proto_def_proto_msgTypes[178] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17158,7 +21043,7 @@ func (x *SyncActionData) String() string { func (*SyncActionData) ProtoMessage() {} func (x *SyncActionData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[150] + mi := &file_binary_proto_def_proto_msgTypes[178] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17171,7 +21056,7 @@ func (x *SyncActionData) ProtoReflect() protoreflect.Message { // Deprecated: Use SyncActionData.ProtoReflect.Descriptor instead. func (*SyncActionData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{150} + return file_binary_proto_def_proto_rawDescGZIP(), []int{178} } func (x *SyncActionData) GetIndex() []byte { @@ -17214,7 +21099,7 @@ type RecentEmojiWeight struct { func (x *RecentEmojiWeight) Reset() { *x = RecentEmojiWeight{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[151] + mi := &file_binary_proto_def_proto_msgTypes[179] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17227,7 +21112,7 @@ func (x *RecentEmojiWeight) String() string { func (*RecentEmojiWeight) ProtoMessage() {} func (x *RecentEmojiWeight) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[151] + mi := &file_binary_proto_def_proto_msgTypes[179] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17240,7 +21125,7 @@ func (x *RecentEmojiWeight) ProtoReflect() protoreflect.Message { // Deprecated: Use RecentEmojiWeight.ProtoReflect.Descriptor instead. func (*RecentEmojiWeight) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{151} + return file_binary_proto_def_proto_rawDescGZIP(), []int{179} } func (x *RecentEmojiWeight) GetEmoji() string { @@ -17257,6 +21142,292 @@ func (x *RecentEmojiWeight) GetWeight() float32 { return 0 } +type PatchDebugData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CurrentLthash []byte `protobuf:"bytes,1,opt,name=currentLthash" json:"currentLthash,omitempty"` + NewLthash []byte `protobuf:"bytes,2,opt,name=newLthash" json:"newLthash,omitempty"` + PatchVersion []byte `protobuf:"bytes,3,opt,name=patchVersion" json:"patchVersion,omitempty"` + CollectionName []byte `protobuf:"bytes,4,opt,name=collectionName" json:"collectionName,omitempty"` + FirstFourBytesFromAHashOfSnapshotMacKey []byte `protobuf:"bytes,5,opt,name=firstFourBytesFromAHashOfSnapshotMacKey" json:"firstFourBytesFromAHashOfSnapshotMacKey,omitempty"` + NewLthashSubtract []byte `protobuf:"bytes,6,opt,name=newLthashSubtract" json:"newLthashSubtract,omitempty"` + NumberAdd *int32 `protobuf:"varint,7,opt,name=numberAdd" json:"numberAdd,omitempty"` + NumberRemove *int32 `protobuf:"varint,8,opt,name=numberRemove" json:"numberRemove,omitempty"` + NumberOverride *int32 `protobuf:"varint,9,opt,name=numberOverride" json:"numberOverride,omitempty"` + SenderPlatform *PatchDebugData_Platform `protobuf:"varint,10,opt,name=senderPlatform,enum=proto.PatchDebugData_Platform" json:"senderPlatform,omitempty"` + IsSenderPrimary *bool `protobuf:"varint,11,opt,name=isSenderPrimary" json:"isSenderPrimary,omitempty"` +} + +func (x *PatchDebugData) Reset() { + *x = PatchDebugData{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[180] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PatchDebugData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PatchDebugData) ProtoMessage() {} + +func (x *PatchDebugData) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[180] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PatchDebugData.ProtoReflect.Descriptor instead. +func (*PatchDebugData) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{180} +} + +func (x *PatchDebugData) GetCurrentLthash() []byte { + if x != nil { + return x.CurrentLthash + } + return nil +} + +func (x *PatchDebugData) GetNewLthash() []byte { + if x != nil { + return x.NewLthash + } + return nil +} + +func (x *PatchDebugData) GetPatchVersion() []byte { + if x != nil { + return x.PatchVersion + } + return nil +} + +func (x *PatchDebugData) GetCollectionName() []byte { + if x != nil { + return x.CollectionName + } + return nil +} + +func (x *PatchDebugData) GetFirstFourBytesFromAHashOfSnapshotMacKey() []byte { + if x != nil { + return x.FirstFourBytesFromAHashOfSnapshotMacKey + } + return nil +} + +func (x *PatchDebugData) GetNewLthashSubtract() []byte { + if x != nil { + return x.NewLthashSubtract + } + return nil +} + +func (x *PatchDebugData) GetNumberAdd() int32 { + if x != nil && x.NumberAdd != nil { + return *x.NumberAdd + } + return 0 +} + +func (x *PatchDebugData) GetNumberRemove() int32 { + if x != nil && x.NumberRemove != nil { + return *x.NumberRemove + } + return 0 +} + +func (x *PatchDebugData) GetNumberOverride() int32 { + if x != nil && x.NumberOverride != nil { + return *x.NumberOverride + } + return 0 +} + +func (x *PatchDebugData) GetSenderPlatform() PatchDebugData_Platform { + if x != nil && x.SenderPlatform != nil { + return *x.SenderPlatform + } + return PatchDebugData_ANDROID +} + +func (x *PatchDebugData) GetIsSenderPrimary() bool { + if x != nil && x.IsSenderPrimary != nil { + return *x.IsSenderPrimary + } + return false +} + +type CallLogRecord struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CallResult *CallLogRecord_CallResult `protobuf:"varint,1,opt,name=callResult,enum=proto.CallLogRecord_CallResult" json:"callResult,omitempty"` + IsDndMode *bool `protobuf:"varint,2,opt,name=isDndMode" json:"isDndMode,omitempty"` + SilenceReason *CallLogRecord_SilenceReason `protobuf:"varint,3,opt,name=silenceReason,enum=proto.CallLogRecord_SilenceReason" json:"silenceReason,omitempty"` + Duration *int64 `protobuf:"varint,4,opt,name=duration" json:"duration,omitempty"` + StartTime *int64 `protobuf:"varint,5,opt,name=startTime" json:"startTime,omitempty"` + IsIncoming *bool `protobuf:"varint,6,opt,name=isIncoming" json:"isIncoming,omitempty"` + IsVideo *bool `protobuf:"varint,7,opt,name=isVideo" json:"isVideo,omitempty"` + IsCallLink *bool `protobuf:"varint,8,opt,name=isCallLink" json:"isCallLink,omitempty"` + CallLinkToken *string `protobuf:"bytes,9,opt,name=callLinkToken" json:"callLinkToken,omitempty"` + ScheduledCallId *string `protobuf:"bytes,10,opt,name=scheduledCallId" json:"scheduledCallId,omitempty"` + CallId *string `protobuf:"bytes,11,opt,name=callId" json:"callId,omitempty"` + CallCreatorJid *string `protobuf:"bytes,12,opt,name=callCreatorJid" json:"callCreatorJid,omitempty"` + GroupJid *string `protobuf:"bytes,13,opt,name=groupJid" json:"groupJid,omitempty"` + Participants []*CallLogRecord_ParticipantInfo `protobuf:"bytes,14,rep,name=participants" json:"participants,omitempty"` + CallType *CallLogRecord_CallType `protobuf:"varint,15,opt,name=callType,enum=proto.CallLogRecord_CallType" json:"callType,omitempty"` +} + +func (x *CallLogRecord) Reset() { + *x = CallLogRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[181] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CallLogRecord) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CallLogRecord) ProtoMessage() {} + +func (x *CallLogRecord) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[181] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CallLogRecord.ProtoReflect.Descriptor instead. +func (*CallLogRecord) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{181} +} + +func (x *CallLogRecord) GetCallResult() CallLogRecord_CallResult { + if x != nil && x.CallResult != nil { + return *x.CallResult + } + return CallLogRecord_CONNECTED +} + +func (x *CallLogRecord) GetIsDndMode() bool { + if x != nil && x.IsDndMode != nil { + return *x.IsDndMode + } + return false +} + +func (x *CallLogRecord) GetSilenceReason() CallLogRecord_SilenceReason { + if x != nil && x.SilenceReason != nil { + return *x.SilenceReason + } + return CallLogRecord_NONE +} + +func (x *CallLogRecord) GetDuration() int64 { + if x != nil && x.Duration != nil { + return *x.Duration + } + return 0 +} + +func (x *CallLogRecord) GetStartTime() int64 { + if x != nil && x.StartTime != nil { + return *x.StartTime + } + return 0 +} + +func (x *CallLogRecord) GetIsIncoming() bool { + if x != nil && x.IsIncoming != nil { + return *x.IsIncoming + } + return false +} + +func (x *CallLogRecord) GetIsVideo() bool { + if x != nil && x.IsVideo != nil { + return *x.IsVideo + } + return false +} + +func (x *CallLogRecord) GetIsCallLink() bool { + if x != nil && x.IsCallLink != nil { + return *x.IsCallLink + } + return false +} + +func (x *CallLogRecord) GetCallLinkToken() string { + if x != nil && x.CallLinkToken != nil { + return *x.CallLinkToken + } + return "" +} + +func (x *CallLogRecord) GetScheduledCallId() string { + if x != nil && x.ScheduledCallId != nil { + return *x.ScheduledCallId + } + return "" +} + +func (x *CallLogRecord) GetCallId() string { + if x != nil && x.CallId != nil { + return *x.CallId + } + return "" +} + +func (x *CallLogRecord) GetCallCreatorJid() string { + if x != nil && x.CallCreatorJid != nil { + return *x.CallCreatorJid + } + return "" +} + +func (x *CallLogRecord) GetGroupJid() string { + if x != nil && x.GroupJid != nil { + return *x.GroupJid + } + return "" +} + +func (x *CallLogRecord) GetParticipants() []*CallLogRecord_ParticipantInfo { + if x != nil { + return x.Participants + } + return nil +} + +func (x *CallLogRecord) GetCallType() CallLogRecord_CallType { + if x != nil && x.CallType != nil { + return *x.CallType + } + return CallLogRecord_REGULAR +} + type VerifiedNameCertificate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -17270,7 +21441,7 @@ type VerifiedNameCertificate struct { func (x *VerifiedNameCertificate) Reset() { *x = VerifiedNameCertificate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[152] + mi := &file_binary_proto_def_proto_msgTypes[182] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17283,7 +21454,7 @@ func (x *VerifiedNameCertificate) String() string { func (*VerifiedNameCertificate) ProtoMessage() {} func (x *VerifiedNameCertificate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[152] + mi := &file_binary_proto_def_proto_msgTypes[182] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17296,7 +21467,7 @@ func (x *VerifiedNameCertificate) ProtoReflect() protoreflect.Message { // Deprecated: Use VerifiedNameCertificate.ProtoReflect.Descriptor instead. func (*VerifiedNameCertificate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{152} + return file_binary_proto_def_proto_rawDescGZIP(), []int{182} } func (x *VerifiedNameCertificate) GetDetails() []byte { @@ -17333,7 +21504,7 @@ type LocalizedName struct { func (x *LocalizedName) Reset() { *x = LocalizedName{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[153] + mi := &file_binary_proto_def_proto_msgTypes[183] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17346,7 +21517,7 @@ func (x *LocalizedName) String() string { func (*LocalizedName) ProtoMessage() {} func (x *LocalizedName) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[153] + mi := &file_binary_proto_def_proto_msgTypes[183] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17359,7 +21530,7 @@ func (x *LocalizedName) ProtoReflect() protoreflect.Message { // Deprecated: Use LocalizedName.ProtoReflect.Descriptor instead. func (*LocalizedName) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{153} + return file_binary_proto_def_proto_rawDescGZIP(), []int{183} } func (x *LocalizedName) GetLg() string { @@ -17401,7 +21572,7 @@ type BizIdentityInfo struct { func (x *BizIdentityInfo) Reset() { *x = BizIdentityInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[154] + mi := &file_binary_proto_def_proto_msgTypes[184] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17414,7 +21585,7 @@ func (x *BizIdentityInfo) String() string { func (*BizIdentityInfo) ProtoMessage() {} func (x *BizIdentityInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[154] + mi := &file_binary_proto_def_proto_msgTypes[184] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17427,7 +21598,7 @@ func (x *BizIdentityInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use BizIdentityInfo.ProtoReflect.Descriptor instead. func (*BizIdentityInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{154} + return file_binary_proto_def_proto_rawDescGZIP(), []int{184} } func (x *BizIdentityInfo) GetVlevel() BizIdentityInfo_VerifiedLevelValue { @@ -17498,7 +21669,7 @@ type BizAccountPayload struct { func (x *BizAccountPayload) Reset() { *x = BizAccountPayload{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[155] + mi := &file_binary_proto_def_proto_msgTypes[185] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17511,7 +21682,7 @@ func (x *BizAccountPayload) String() string { func (*BizAccountPayload) ProtoMessage() {} func (x *BizAccountPayload) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[155] + mi := &file_binary_proto_def_proto_msgTypes[185] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17524,7 +21695,7 @@ func (x *BizAccountPayload) ProtoReflect() protoreflect.Message { // Deprecated: Use BizAccountPayload.ProtoReflect.Descriptor instead. func (*BizAccountPayload) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{155} + return file_binary_proto_def_proto_rawDescGZIP(), []int{185} } func (x *BizAccountPayload) GetVnameCert() *VerifiedNameCertificate { @@ -17556,7 +21727,7 @@ type BizAccountLinkInfo struct { func (x *BizAccountLinkInfo) Reset() { *x = BizAccountLinkInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[156] + mi := &file_binary_proto_def_proto_msgTypes[186] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17569,7 +21740,7 @@ func (x *BizAccountLinkInfo) String() string { func (*BizAccountLinkInfo) ProtoMessage() {} func (x *BizAccountLinkInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[156] + mi := &file_binary_proto_def_proto_msgTypes[186] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17582,7 +21753,7 @@ func (x *BizAccountLinkInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use BizAccountLinkInfo.ProtoReflect.Descriptor instead. func (*BizAccountLinkInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{156} + return file_binary_proto_def_proto_rawDescGZIP(), []int{186} } func (x *BizAccountLinkInfo) GetWhatsappBizAcctFbid() uint64 { @@ -17633,7 +21804,7 @@ type HandshakeMessage struct { func (x *HandshakeMessage) Reset() { *x = HandshakeMessage{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[157] + mi := &file_binary_proto_def_proto_msgTypes[187] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17646,7 +21817,7 @@ func (x *HandshakeMessage) String() string { func (*HandshakeMessage) ProtoMessage() {} func (x *HandshakeMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[157] + mi := &file_binary_proto_def_proto_msgTypes[187] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17659,7 +21830,7 @@ func (x *HandshakeMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use HandshakeMessage.ProtoReflect.Descriptor instead. func (*HandshakeMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{157} + return file_binary_proto_def_proto_rawDescGZIP(), []int{187} } func (x *HandshakeMessage) GetClientHello() *HandshakeClientHello { @@ -17696,7 +21867,7 @@ type HandshakeServerHello struct { func (x *HandshakeServerHello) Reset() { *x = HandshakeServerHello{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[158] + mi := &file_binary_proto_def_proto_msgTypes[188] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17709,7 +21880,7 @@ func (x *HandshakeServerHello) String() string { func (*HandshakeServerHello) ProtoMessage() {} func (x *HandshakeServerHello) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[158] + mi := &file_binary_proto_def_proto_msgTypes[188] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17722,7 +21893,7 @@ func (x *HandshakeServerHello) ProtoReflect() protoreflect.Message { // Deprecated: Use HandshakeServerHello.ProtoReflect.Descriptor instead. func (*HandshakeServerHello) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{158} + return file_binary_proto_def_proto_rawDescGZIP(), []int{188} } func (x *HandshakeServerHello) GetEphemeral() []byte { @@ -17759,7 +21930,7 @@ type HandshakeClientHello struct { func (x *HandshakeClientHello) Reset() { *x = HandshakeClientHello{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[159] + mi := &file_binary_proto_def_proto_msgTypes[189] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17772,7 +21943,7 @@ func (x *HandshakeClientHello) String() string { func (*HandshakeClientHello) ProtoMessage() {} func (x *HandshakeClientHello) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[159] + mi := &file_binary_proto_def_proto_msgTypes[189] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17785,7 +21956,7 @@ func (x *HandshakeClientHello) ProtoReflect() protoreflect.Message { // Deprecated: Use HandshakeClientHello.ProtoReflect.Descriptor instead. func (*HandshakeClientHello) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{159} + return file_binary_proto_def_proto_rawDescGZIP(), []int{189} } func (x *HandshakeClientHello) GetEphemeral() []byte { @@ -17821,7 +21992,7 @@ type HandshakeClientFinish struct { func (x *HandshakeClientFinish) Reset() { *x = HandshakeClientFinish{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[160] + mi := &file_binary_proto_def_proto_msgTypes[190] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17834,7 +22005,7 @@ func (x *HandshakeClientFinish) String() string { func (*HandshakeClientFinish) ProtoMessage() {} func (x *HandshakeClientFinish) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[160] + mi := &file_binary_proto_def_proto_msgTypes[190] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17847,7 +22018,7 @@ func (x *HandshakeClientFinish) ProtoReflect() protoreflect.Message { // Deprecated: Use HandshakeClientFinish.ProtoReflect.Descriptor instead. func (*HandshakeClientFinish) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{160} + return file_binary_proto_def_proto_rawDescGZIP(), []int{190} } func (x *HandshakeClientFinish) GetStatic() []byte { @@ -17901,7 +22072,7 @@ type ClientPayload struct { func (x *ClientPayload) Reset() { *x = ClientPayload{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[161] + mi := &file_binary_proto_def_proto_msgTypes[191] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17914,7 +22085,7 @@ func (x *ClientPayload) String() string { func (*ClientPayload) ProtoMessage() {} func (x *ClientPayload) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[161] + mi := &file_binary_proto_def_proto_msgTypes[191] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17927,7 +22098,7 @@ func (x *ClientPayload) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientPayload.ProtoReflect.Descriptor instead. func (*ClientPayload) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191} } func (x *ClientPayload) GetUsername() uint64 { @@ -18133,7 +22304,7 @@ type WebNotificationsInfo struct { func (x *WebNotificationsInfo) Reset() { *x = WebNotificationsInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[162] + mi := &file_binary_proto_def_proto_msgTypes[192] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18146,7 +22317,7 @@ func (x *WebNotificationsInfo) String() string { func (*WebNotificationsInfo) ProtoMessage() {} func (x *WebNotificationsInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[162] + mi := &file_binary_proto_def_proto_msgTypes[192] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18159,7 +22330,7 @@ func (x *WebNotificationsInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use WebNotificationsInfo.ProtoReflect.Descriptor instead. func (*WebNotificationsInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{162} + return file_binary_proto_def_proto_rawDescGZIP(), []int{192} } func (x *WebNotificationsInfo) GetTimestamp() uint64 { @@ -18239,12 +22410,21 @@ type WebMessageInfo struct { OriginalSelfAuthorUserJidString *string `protobuf:"bytes,51,opt,name=originalSelfAuthorUserJidString" json:"originalSelfAuthorUserJidString,omitempty"` RevokeMessageTimestamp *uint64 `protobuf:"varint,52,opt,name=revokeMessageTimestamp" json:"revokeMessageTimestamp,omitempty"` PinInChat *PinInChat `protobuf:"bytes,54,opt,name=pinInChat" json:"pinInChat,omitempty"` + PremiumMessageInfo *PremiumMessageInfo `protobuf:"bytes,55,opt,name=premiumMessageInfo" json:"premiumMessageInfo,omitempty"` + Is1PBizBotMessage *bool `protobuf:"varint,56,opt,name=is1PBizBotMessage" json:"is1PBizBotMessage,omitempty"` + IsGroupHistoryMessage *bool `protobuf:"varint,57,opt,name=isGroupHistoryMessage" json:"isGroupHistoryMessage,omitempty"` + BotMessageInvokerJid *string `protobuf:"bytes,58,opt,name=botMessageInvokerJid" json:"botMessageInvokerJid,omitempty"` + CommentMetadata *CommentMetadata `protobuf:"bytes,59,opt,name=commentMetadata" json:"commentMetadata,omitempty"` + EventResponses []*EventResponse `protobuf:"bytes,61,rep,name=eventResponses" json:"eventResponses,omitempty"` + ReportingTokenInfo *ReportingTokenInfo `protobuf:"bytes,62,opt,name=reportingTokenInfo" json:"reportingTokenInfo,omitempty"` + NewsletterServerId *uint64 `protobuf:"varint,63,opt,name=newsletterServerId" json:"newsletterServerId,omitempty"` + EventAdditionalMetadata *EventAdditionalMetadata `protobuf:"bytes,64,opt,name=eventAdditionalMetadata" json:"eventAdditionalMetadata,omitempty"` } func (x *WebMessageInfo) Reset() { *x = WebMessageInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[163] + mi := &file_binary_proto_def_proto_msgTypes[193] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18257,7 +22437,7 @@ func (x *WebMessageInfo) String() string { func (*WebMessageInfo) ProtoMessage() {} func (x *WebMessageInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[163] + mi := &file_binary_proto_def_proto_msgTypes[193] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18270,7 +22450,7 @@ func (x *WebMessageInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use WebMessageInfo.ProtoReflect.Descriptor instead. func (*WebMessageInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{163} + return file_binary_proto_def_proto_rawDescGZIP(), []int{193} } func (x *WebMessageInfo) GetKey() *MessageKey { @@ -18581,6 +22761,69 @@ func (x *WebMessageInfo) GetPinInChat() *PinInChat { return nil } +func (x *WebMessageInfo) GetPremiumMessageInfo() *PremiumMessageInfo { + if x != nil { + return x.PremiumMessageInfo + } + return nil +} + +func (x *WebMessageInfo) GetIs1PBizBotMessage() bool { + if x != nil && x.Is1PBizBotMessage != nil { + return *x.Is1PBizBotMessage + } + return false +} + +func (x *WebMessageInfo) GetIsGroupHistoryMessage() bool { + if x != nil && x.IsGroupHistoryMessage != nil { + return *x.IsGroupHistoryMessage + } + return false +} + +func (x *WebMessageInfo) GetBotMessageInvokerJid() string { + if x != nil && x.BotMessageInvokerJid != nil { + return *x.BotMessageInvokerJid + } + return "" +} + +func (x *WebMessageInfo) GetCommentMetadata() *CommentMetadata { + if x != nil { + return x.CommentMetadata + } + return nil +} + +func (x *WebMessageInfo) GetEventResponses() []*EventResponse { + if x != nil { + return x.EventResponses + } + return nil +} + +func (x *WebMessageInfo) GetReportingTokenInfo() *ReportingTokenInfo { + if x != nil { + return x.ReportingTokenInfo + } + return nil +} + +func (x *WebMessageInfo) GetNewsletterServerId() uint64 { + if x != nil && x.NewsletterServerId != nil { + return *x.NewsletterServerId + } + return 0 +} + +func (x *WebMessageInfo) GetEventAdditionalMetadata() *EventAdditionalMetadata { + if x != nil { + return x.EventAdditionalMetadata + } + return nil +} + type WebFeatures struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -18636,7 +22879,7 @@ type WebFeatures struct { func (x *WebFeatures) Reset() { *x = WebFeatures{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[164] + mi := &file_binary_proto_def_proto_msgTypes[194] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -18649,7 +22892,7 @@ func (x *WebFeatures) String() string { func (*WebFeatures) ProtoMessage() {} func (x *WebFeatures) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[164] + mi := &file_binary_proto_def_proto_msgTypes[194] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18662,7 +22905,7 @@ func (x *WebFeatures) ProtoReflect() protoreflect.Message { // Deprecated: Use WebFeatures.ProtoReflect.Descriptor instead. func (*WebFeatures) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{164} + return file_binary_proto_def_proto_rawDescGZIP(), []int{194} } func (x *WebFeatures) GetLabelsDisplay() WebFeatures_Flag { @@ -18996,7 +23239,7 @@ type UserReceipt struct { func (x *UserReceipt) Reset() { *x = UserReceipt{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[165] + mi := &file_binary_proto_def_proto_msgTypes[195] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19009,7 +23252,7 @@ func (x *UserReceipt) String() string { func (*UserReceipt) ProtoMessage() {} func (x *UserReceipt) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[165] + mi := &file_binary_proto_def_proto_msgTypes[195] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19022,7 +23265,7 @@ func (x *UserReceipt) ProtoReflect() protoreflect.Message { // Deprecated: Use UserReceipt.ProtoReflect.Descriptor instead. func (*UserReceipt) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{165} + return file_binary_proto_def_proto_rawDescGZIP(), []int{195} } func (x *UserReceipt) GetUserJid() string { @@ -19079,7 +23322,7 @@ type StatusPSA struct { func (x *StatusPSA) Reset() { *x = StatusPSA{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[166] + mi := &file_binary_proto_def_proto_msgTypes[196] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19092,7 +23335,7 @@ func (x *StatusPSA) String() string { func (*StatusPSA) ProtoMessage() {} func (x *StatusPSA) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[166] + mi := &file_binary_proto_def_proto_msgTypes[196] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19105,7 +23348,7 @@ func (x *StatusPSA) ProtoReflect() protoreflect.Message { // Deprecated: Use StatusPSA.ProtoReflect.Descriptor instead. func (*StatusPSA) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{166} + return file_binary_proto_def_proto_rawDescGZIP(), []int{196} } func (x *StatusPSA) GetCampaignId() uint64 { @@ -19122,6 +23365,53 @@ func (x *StatusPSA) GetCampaignExpirationTimestamp() uint64 { return 0 } +type ReportingTokenInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ReportingTag []byte `protobuf:"bytes,1,opt,name=reportingTag" json:"reportingTag,omitempty"` +} + +func (x *ReportingTokenInfo) Reset() { + *x = ReportingTokenInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[197] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReportingTokenInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReportingTokenInfo) ProtoMessage() {} + +func (x *ReportingTokenInfo) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[197] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReportingTokenInfo.ProtoReflect.Descriptor instead. +func (*ReportingTokenInfo) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{197} +} + +func (x *ReportingTokenInfo) GetReportingTag() []byte { + if x != nil { + return x.ReportingTag + } + return nil +} + type Reaction struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -19137,7 +23427,7 @@ type Reaction struct { func (x *Reaction) Reset() { *x = Reaction{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[167] + mi := &file_binary_proto_def_proto_msgTypes[198] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19150,7 +23440,7 @@ func (x *Reaction) String() string { func (*Reaction) ProtoMessage() {} func (x *Reaction) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[167] + mi := &file_binary_proto_def_proto_msgTypes[198] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19163,7 +23453,7 @@ func (x *Reaction) ProtoReflect() protoreflect.Message { // Deprecated: Use Reaction.ProtoReflect.Descriptor instead. func (*Reaction) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{167} + return file_binary_proto_def_proto_rawDescGZIP(), []int{198} } func (x *Reaction) GetKey() *MessageKey { @@ -19201,6 +23491,53 @@ func (x *Reaction) GetUnread() bool { return false } +type PremiumMessageInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerCampaignId *string `protobuf:"bytes,1,opt,name=serverCampaignId" json:"serverCampaignId,omitempty"` +} + +func (x *PremiumMessageInfo) Reset() { + *x = PremiumMessageInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[199] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PremiumMessageInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PremiumMessageInfo) ProtoMessage() {} + +func (x *PremiumMessageInfo) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[199] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PremiumMessageInfo.ProtoReflect.Descriptor instead. +func (*PremiumMessageInfo) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{199} +} + +func (x *PremiumMessageInfo) GetServerCampaignId() string { + if x != nil && x.ServerCampaignId != nil { + return *x.ServerCampaignId + } + return "" +} + type PollUpdate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -19216,7 +23553,7 @@ type PollUpdate struct { func (x *PollUpdate) Reset() { *x = PollUpdate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[168] + mi := &file_binary_proto_def_proto_msgTypes[200] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19229,7 +23566,7 @@ func (x *PollUpdate) String() string { func (*PollUpdate) ProtoMessage() {} func (x *PollUpdate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[168] + mi := &file_binary_proto_def_proto_msgTypes[200] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19242,7 +23579,7 @@ func (x *PollUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use PollUpdate.ProtoReflect.Descriptor instead. func (*PollUpdate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{168} + return file_binary_proto_def_proto_rawDescGZIP(), []int{200} } func (x *PollUpdate) GetPollUpdateMessageKey() *MessageKey { @@ -19291,7 +23628,7 @@ type PollAdditionalMetadata struct { func (x *PollAdditionalMetadata) Reset() { *x = PollAdditionalMetadata{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[169] + mi := &file_binary_proto_def_proto_msgTypes[201] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19304,7 +23641,7 @@ func (x *PollAdditionalMetadata) String() string { func (*PollAdditionalMetadata) ProtoMessage() {} func (x *PollAdditionalMetadata) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[169] + mi := &file_binary_proto_def_proto_msgTypes[201] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19317,7 +23654,7 @@ func (x *PollAdditionalMetadata) ProtoReflect() protoreflect.Message { // Deprecated: Use PollAdditionalMetadata.ProtoReflect.Descriptor instead. func (*PollAdditionalMetadata) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{169} + return file_binary_proto_def_proto_rawDescGZIP(), []int{201} } func (x *PollAdditionalMetadata) GetPollInvalidated() bool { @@ -19342,7 +23679,7 @@ type PinInChat struct { func (x *PinInChat) Reset() { *x = PinInChat{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[170] + mi := &file_binary_proto_def_proto_msgTypes[202] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19355,7 +23692,7 @@ func (x *PinInChat) String() string { func (*PinInChat) ProtoMessage() {} func (x *PinInChat) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[170] + mi := &file_binary_proto_def_proto_msgTypes[202] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19368,7 +23705,7 @@ func (x *PinInChat) ProtoReflect() protoreflect.Message { // Deprecated: Use PinInChat.ProtoReflect.Descriptor instead. func (*PinInChat) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{170} + return file_binary_proto_def_proto_rawDescGZIP(), []int{202} } func (x *PinInChat) GetType() PinInChat_Type { @@ -19419,7 +23756,7 @@ type PhotoChange struct { func (x *PhotoChange) Reset() { *x = PhotoChange{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[171] + mi := &file_binary_proto_def_proto_msgTypes[203] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19432,7 +23769,7 @@ func (x *PhotoChange) String() string { func (*PhotoChange) ProtoMessage() {} func (x *PhotoChange) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[171] + mi := &file_binary_proto_def_proto_msgTypes[203] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19445,7 +23782,7 @@ func (x *PhotoChange) ProtoReflect() protoreflect.Message { // Deprecated: Use PhotoChange.ProtoReflect.Descriptor instead. func (*PhotoChange) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{171} + return file_binary_proto_def_proto_rawDescGZIP(), []int{203} } func (x *PhotoChange) GetOldPhoto() []byte { @@ -19492,7 +23829,7 @@ type PaymentInfo struct { func (x *PaymentInfo) Reset() { *x = PaymentInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[172] + mi := &file_binary_proto_def_proto_msgTypes[204] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19505,7 +23842,7 @@ func (x *PaymentInfo) String() string { func (*PaymentInfo) ProtoMessage() {} func (x *PaymentInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[172] + mi := &file_binary_proto_def_proto_msgTypes[204] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19518,7 +23855,7 @@ func (x *PaymentInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use PaymentInfo.ProtoReflect.Descriptor instead. func (*PaymentInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{172} + return file_binary_proto_def_proto_rawDescGZIP(), []int{204} } func (x *PaymentInfo) GetCurrencyDeprecated() PaymentInfo_Currency { @@ -19626,7 +23963,7 @@ type NotificationMessageInfo struct { func (x *NotificationMessageInfo) Reset() { *x = NotificationMessageInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[173] + mi := &file_binary_proto_def_proto_msgTypes[205] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19639,7 +23976,7 @@ func (x *NotificationMessageInfo) String() string { func (*NotificationMessageInfo) ProtoMessage() {} func (x *NotificationMessageInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[173] + mi := &file_binary_proto_def_proto_msgTypes[205] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19652,7 +23989,7 @@ func (x *NotificationMessageInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use NotificationMessageInfo.ProtoReflect.Descriptor instead. func (*NotificationMessageInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{173} + return file_binary_proto_def_proto_rawDescGZIP(), []int{205} } func (x *NotificationMessageInfo) GetKey() *MessageKey { @@ -19694,7 +24031,7 @@ type MessageAddOnContextInfo struct { func (x *MessageAddOnContextInfo) Reset() { *x = MessageAddOnContextInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[174] + mi := &file_binary_proto_def_proto_msgTypes[206] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19707,7 +24044,7 @@ func (x *MessageAddOnContextInfo) String() string { func (*MessageAddOnContextInfo) ProtoMessage() {} func (x *MessageAddOnContextInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[174] + mi := &file_binary_proto_def_proto_msgTypes[206] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19720,7 +24057,7 @@ func (x *MessageAddOnContextInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use MessageAddOnContextInfo.ProtoReflect.Descriptor instead. func (*MessageAddOnContextInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{174} + return file_binary_proto_def_proto_rawDescGZIP(), []int{206} } func (x *MessageAddOnContextInfo) GetMessageAddOnDurationInSecs() uint32 { @@ -19741,7 +24078,7 @@ type MediaData struct { func (x *MediaData) Reset() { *x = MediaData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[175] + mi := &file_binary_proto_def_proto_msgTypes[207] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19754,7 +24091,7 @@ func (x *MediaData) String() string { func (*MediaData) ProtoMessage() {} func (x *MediaData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[175] + mi := &file_binary_proto_def_proto_msgTypes[207] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19767,7 +24104,7 @@ func (x *MediaData) ProtoReflect() protoreflect.Message { // Deprecated: Use MediaData.ProtoReflect.Descriptor instead. func (*MediaData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{175} + return file_binary_proto_def_proto_rawDescGZIP(), []int{207} } func (x *MediaData) GetLocalPath() string { @@ -19793,7 +24130,7 @@ type KeepInChat struct { func (x *KeepInChat) Reset() { *x = KeepInChat{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[176] + mi := &file_binary_proto_def_proto_msgTypes[208] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19806,7 +24143,7 @@ func (x *KeepInChat) String() string { func (*KeepInChat) ProtoMessage() {} func (x *KeepInChat) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[176] + mi := &file_binary_proto_def_proto_msgTypes[208] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19819,7 +24156,7 @@ func (x *KeepInChat) ProtoReflect() protoreflect.Message { // Deprecated: Use KeepInChat.ProtoReflect.Descriptor instead. func (*KeepInChat) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{176} + return file_binary_proto_def_proto_rawDescGZIP(), []int{208} } func (x *KeepInChat) GetKeepType() KeepType { @@ -19864,6 +24201,179 @@ func (x *KeepInChat) GetServerTimestampMs() int64 { return 0 } +type EventResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + EventResponseMessageKey *MessageKey `protobuf:"bytes,1,opt,name=eventResponseMessageKey" json:"eventResponseMessageKey,omitempty"` + TimestampMs *int64 `protobuf:"varint,2,opt,name=timestampMs" json:"timestampMs,omitempty"` + EventResponseMessage *EventResponseMessage `protobuf:"bytes,3,opt,name=eventResponseMessage" json:"eventResponseMessage,omitempty"` + Unread *bool `protobuf:"varint,4,opt,name=unread" json:"unread,omitempty"` +} + +func (x *EventResponse) Reset() { + *x = EventResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[209] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventResponse) ProtoMessage() {} + +func (x *EventResponse) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[209] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventResponse.ProtoReflect.Descriptor instead. +func (*EventResponse) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{209} +} + +func (x *EventResponse) GetEventResponseMessageKey() *MessageKey { + if x != nil { + return x.EventResponseMessageKey + } + return nil +} + +func (x *EventResponse) GetTimestampMs() int64 { + if x != nil && x.TimestampMs != nil { + return *x.TimestampMs + } + return 0 +} + +func (x *EventResponse) GetEventResponseMessage() *EventResponseMessage { + if x != nil { + return x.EventResponseMessage + } + return nil +} + +func (x *EventResponse) GetUnread() bool { + if x != nil && x.Unread != nil { + return *x.Unread + } + return false +} + +type EventAdditionalMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IsStale *bool `protobuf:"varint,1,opt,name=isStale" json:"isStale,omitempty"` +} + +func (x *EventAdditionalMetadata) Reset() { + *x = EventAdditionalMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[210] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventAdditionalMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventAdditionalMetadata) ProtoMessage() {} + +func (x *EventAdditionalMetadata) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[210] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventAdditionalMetadata.ProtoReflect.Descriptor instead. +func (*EventAdditionalMetadata) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{210} +} + +func (x *EventAdditionalMetadata) GetIsStale() bool { + if x != nil && x.IsStale != nil { + return *x.IsStale + } + return false +} + +type CommentMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CommentParentKey *MessageKey `protobuf:"bytes,1,opt,name=commentParentKey" json:"commentParentKey,omitempty"` + ReplyCount *uint32 `protobuf:"varint,2,opt,name=replyCount" json:"replyCount,omitempty"` +} + +func (x *CommentMetadata) Reset() { + *x = CommentMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[211] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommentMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommentMetadata) ProtoMessage() {} + +func (x *CommentMetadata) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[211] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommentMetadata.ProtoReflect.Descriptor instead. +func (*CommentMetadata) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{211} +} + +func (x *CommentMetadata) GetCommentParentKey() *MessageKey { + if x != nil { + return x.CommentParentKey + } + return nil +} + +func (x *CommentMetadata) GetReplyCount() uint32 { + if x != nil && x.ReplyCount != nil { + return *x.ReplyCount + } + return 0 +} + type NoiseCertificate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -19876,7 +24386,7 @@ type NoiseCertificate struct { func (x *NoiseCertificate) Reset() { *x = NoiseCertificate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[177] + mi := &file_binary_proto_def_proto_msgTypes[212] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19889,7 +24399,7 @@ func (x *NoiseCertificate) String() string { func (*NoiseCertificate) ProtoMessage() {} func (x *NoiseCertificate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[177] + mi := &file_binary_proto_def_proto_msgTypes[212] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19902,7 +24412,7 @@ func (x *NoiseCertificate) ProtoReflect() protoreflect.Message { // Deprecated: Use NoiseCertificate.ProtoReflect.Descriptor instead. func (*NoiseCertificate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{177} + return file_binary_proto_def_proto_rawDescGZIP(), []int{212} } func (x *NoiseCertificate) GetDetails() []byte { @@ -19931,7 +24441,7 @@ type CertChain struct { func (x *CertChain) Reset() { *x = CertChain{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[178] + mi := &file_binary_proto_def_proto_msgTypes[213] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -19944,7 +24454,7 @@ func (x *CertChain) String() string { func (*CertChain) ProtoMessage() {} func (x *CertChain) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[178] + mi := &file_binary_proto_def_proto_msgTypes[213] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19957,7 +24467,7 @@ func (x *CertChain) ProtoReflect() protoreflect.Message { // Deprecated: Use CertChain.ProtoReflect.Descriptor instead. func (*CertChain) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{178} + return file_binary_proto_def_proto_rawDescGZIP(), []int{213} } func (x *CertChain) GetLeaf() *CertChain_NoiseCertificate { @@ -19974,22 +24484,238 @@ func (x *CertChain) GetIntermediate() *CertChain_NoiseCertificate { return nil } +type QP struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *QP) Reset() { + *x = QP{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[214] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QP) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QP) ProtoMessage() {} + +func (x *QP) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[214] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QP.ProtoReflect.Descriptor instead. +func (*QP) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{214} +} + +type ChatLockSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + HideLockedChats *bool `protobuf:"varint,1,opt,name=hideLockedChats" json:"hideLockedChats,omitempty"` + SecretCode *UserPassword `protobuf:"bytes,2,opt,name=secretCode" json:"secretCode,omitempty"` +} + +func (x *ChatLockSettings) Reset() { + *x = ChatLockSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[215] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChatLockSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChatLockSettings) ProtoMessage() {} + +func (x *ChatLockSettings) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[215] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChatLockSettings.ProtoReflect.Descriptor instead. +func (*ChatLockSettings) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{215} +} + +func (x *ChatLockSettings) GetHideLockedChats() bool { + if x != nil && x.HideLockedChats != nil { + return *x.HideLockedChats + } + return false +} + +func (x *ChatLockSettings) GetSecretCode() *UserPassword { + if x != nil { + return x.SecretCode + } + return nil +} + +type DeviceCapabilities struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChatLockSupportLevel *DeviceCapabilities_ChatLockSupportLevel `protobuf:"varint,1,opt,name=chatLockSupportLevel,enum=proto.DeviceCapabilities_ChatLockSupportLevel" json:"chatLockSupportLevel,omitempty"` +} + +func (x *DeviceCapabilities) Reset() { + *x = DeviceCapabilities{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[216] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeviceCapabilities) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeviceCapabilities) ProtoMessage() {} + +func (x *DeviceCapabilities) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[216] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeviceCapabilities.ProtoReflect.Descriptor instead. +func (*DeviceCapabilities) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{216} +} + +func (x *DeviceCapabilities) GetChatLockSupportLevel() DeviceCapabilities_ChatLockSupportLevel { + if x != nil && x.ChatLockSupportLevel != nil { + return *x.ChatLockSupportLevel + } + return DeviceCapabilities_NONE +} + +type UserPassword struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Encoding *UserPassword_Encoding `protobuf:"varint,1,opt,name=encoding,enum=proto.UserPassword_Encoding" json:"encoding,omitempty"` + Transformer *UserPassword_Transformer `protobuf:"varint,2,opt,name=transformer,enum=proto.UserPassword_Transformer" json:"transformer,omitempty"` + TransformerArg []*UserPassword_TransformerArg `protobuf:"bytes,3,rep,name=transformerArg" json:"transformerArg,omitempty"` + TransformedData []byte `protobuf:"bytes,4,opt,name=transformedData" json:"transformedData,omitempty"` +} + +func (x *UserPassword) Reset() { + *x = UserPassword{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[217] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserPassword) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserPassword) ProtoMessage() {} + +func (x *UserPassword) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[217] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserPassword.ProtoReflect.Descriptor instead. +func (*UserPassword) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{217} +} + +func (x *UserPassword) GetEncoding() UserPassword_Encoding { + if x != nil && x.Encoding != nil { + return *x.Encoding + } + return UserPassword_UTF8 +} + +func (x *UserPassword) GetTransformer() UserPassword_Transformer { + if x != nil && x.Transformer != nil { + return *x.Transformer + } + return UserPassword_NONE +} + +func (x *UserPassword) GetTransformerArg() []*UserPassword_TransformerArg { + if x != nil { + return x.TransformerArg + } + return nil +} + +func (x *UserPassword) GetTransformedData() []byte { + if x != nil { + return x.TransformedData + } + return nil +} + type DeviceProps_HistorySyncConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - FullSyncDaysLimit *uint32 `protobuf:"varint,1,opt,name=fullSyncDaysLimit" json:"fullSyncDaysLimit,omitempty"` - FullSyncSizeMbLimit *uint32 `protobuf:"varint,2,opt,name=fullSyncSizeMbLimit" json:"fullSyncSizeMbLimit,omitempty"` - StorageQuotaMb *uint32 `protobuf:"varint,3,opt,name=storageQuotaMb" json:"storageQuotaMb,omitempty"` - InlineInitialPayloadInE2EeMsg *bool `protobuf:"varint,4,opt,name=inlineInitialPayloadInE2EeMsg" json:"inlineInitialPayloadInE2EeMsg,omitempty"` - RecentSyncDaysLimit *uint32 `protobuf:"varint,5,opt,name=recentSyncDaysLimit" json:"recentSyncDaysLimit,omitempty"` + FullSyncDaysLimit *uint32 `protobuf:"varint,1,opt,name=fullSyncDaysLimit" json:"fullSyncDaysLimit,omitempty"` + FullSyncSizeMbLimit *uint32 `protobuf:"varint,2,opt,name=fullSyncSizeMbLimit" json:"fullSyncSizeMbLimit,omitempty"` + StorageQuotaMb *uint32 `protobuf:"varint,3,opt,name=storageQuotaMb" json:"storageQuotaMb,omitempty"` + InlineInitialPayloadInE2EeMsg *bool `protobuf:"varint,4,opt,name=inlineInitialPayloadInE2EeMsg" json:"inlineInitialPayloadInE2EeMsg,omitempty"` + RecentSyncDaysLimit *uint32 `protobuf:"varint,5,opt,name=recentSyncDaysLimit" json:"recentSyncDaysLimit,omitempty"` + SupportCallLogHistory *bool `protobuf:"varint,6,opt,name=supportCallLogHistory" json:"supportCallLogHistory,omitempty"` + SupportBotUserAgentChatHistory *bool `protobuf:"varint,7,opt,name=supportBotUserAgentChatHistory" json:"supportBotUserAgentChatHistory,omitempty"` + SupportCagReactionsAndPolls *bool `protobuf:"varint,8,opt,name=supportCagReactionsAndPolls" json:"supportCagReactionsAndPolls,omitempty"` + SupportBizHostedMsg *bool `protobuf:"varint,9,opt,name=supportBizHostedMsg" json:"supportBizHostedMsg,omitempty"` + SupportRecentSyncChunkMessageCountTuning *bool `protobuf:"varint,10,opt,name=supportRecentSyncChunkMessageCountTuning" json:"supportRecentSyncChunkMessageCountTuning,omitempty"` } func (x *DeviceProps_HistorySyncConfig) Reset() { *x = DeviceProps_HistorySyncConfig{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[179] + mi := &file_binary_proto_def_proto_msgTypes[218] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20002,7 +24728,7 @@ func (x *DeviceProps_HistorySyncConfig) String() string { func (*DeviceProps_HistorySyncConfig) ProtoMessage() {} func (x *DeviceProps_HistorySyncConfig) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[179] + mi := &file_binary_proto_def_proto_msgTypes[218] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20053,6 +24779,41 @@ func (x *DeviceProps_HistorySyncConfig) GetRecentSyncDaysLimit() uint32 { return 0 } +func (x *DeviceProps_HistorySyncConfig) GetSupportCallLogHistory() bool { + if x != nil && x.SupportCallLogHistory != nil { + return *x.SupportCallLogHistory + } + return false +} + +func (x *DeviceProps_HistorySyncConfig) GetSupportBotUserAgentChatHistory() bool { + if x != nil && x.SupportBotUserAgentChatHistory != nil { + return *x.SupportBotUserAgentChatHistory + } + return false +} + +func (x *DeviceProps_HistorySyncConfig) GetSupportCagReactionsAndPolls() bool { + if x != nil && x.SupportCagReactionsAndPolls != nil { + return *x.SupportCagReactionsAndPolls + } + return false +} + +func (x *DeviceProps_HistorySyncConfig) GetSupportBizHostedMsg() bool { + if x != nil && x.SupportBizHostedMsg != nil { + return *x.SupportBizHostedMsg + } + return false +} + +func (x *DeviceProps_HistorySyncConfig) GetSupportRecentSyncChunkMessageCountTuning() bool { + if x != nil && x.SupportRecentSyncChunkMessageCountTuning != nil { + return *x.SupportRecentSyncChunkMessageCountTuning + } + return false +} + type DeviceProps_AppVersion struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -20068,7 +24829,7 @@ type DeviceProps_AppVersion struct { func (x *DeviceProps_AppVersion) Reset() { *x = DeviceProps_AppVersion{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[180] + mi := &file_binary_proto_def_proto_msgTypes[219] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -20081,7 +24842,7 @@ func (x *DeviceProps_AppVersion) String() string { func (*DeviceProps_AppVersion) ProtoMessage() {} func (x *DeviceProps_AppVersion) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[180] + mi := &file_binary_proto_def_proto_msgTypes[219] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20132,1049 +24893,6 @@ func (x *DeviceProps_AppVersion) GetQuinary() uint32 { return 0 } -type ListResponseMessage_SingleSelectReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SelectedRowId *string `protobuf:"bytes,1,opt,name=selectedRowId" json:"selectedRowId,omitempty"` -} - -func (x *ListResponseMessage_SingleSelectReply) Reset() { - *x = ListResponseMessage_SingleSelectReply{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[181] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListResponseMessage_SingleSelectReply) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListResponseMessage_SingleSelectReply) ProtoMessage() {} - -func (x *ListResponseMessage_SingleSelectReply) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[181] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListResponseMessage_SingleSelectReply.ProtoReflect.Descriptor instead. -func (*ListResponseMessage_SingleSelectReply) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{7, 0} -} - -func (x *ListResponseMessage_SingleSelectReply) GetSelectedRowId() string { - if x != nil && x.SelectedRowId != nil { - return *x.SelectedRowId - } - return "" -} - -type ListMessage_Section struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - Rows []*ListMessage_Row `protobuf:"bytes,2,rep,name=rows" json:"rows,omitempty"` -} - -func (x *ListMessage_Section) Reset() { - *x = ListMessage_Section{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[182] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMessage_Section) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMessage_Section) ProtoMessage() {} - -func (x *ListMessage_Section) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[182] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListMessage_Section.ProtoReflect.Descriptor instead. -func (*ListMessage_Section) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 0} -} - -func (x *ListMessage_Section) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *ListMessage_Section) GetRows() []*ListMessage_Row { - if x != nil { - return x.Rows - } - return nil -} - -type ListMessage_Row struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` - RowId *string `protobuf:"bytes,3,opt,name=rowId" json:"rowId,omitempty"` -} - -func (x *ListMessage_Row) Reset() { - *x = ListMessage_Row{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[183] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMessage_Row) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMessage_Row) ProtoMessage() {} - -func (x *ListMessage_Row) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[183] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListMessage_Row.ProtoReflect.Descriptor instead. -func (*ListMessage_Row) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 1} -} - -func (x *ListMessage_Row) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *ListMessage_Row) GetDescription() string { - if x != nil && x.Description != nil { - return *x.Description - } - return "" -} - -func (x *ListMessage_Row) GetRowId() string { - if x != nil && x.RowId != nil { - return *x.RowId - } - return "" -} - -type ListMessage_Product struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProductId *string `protobuf:"bytes,1,opt,name=productId" json:"productId,omitempty"` -} - -func (x *ListMessage_Product) Reset() { - *x = ListMessage_Product{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[184] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMessage_Product) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMessage_Product) ProtoMessage() {} - -func (x *ListMessage_Product) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[184] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListMessage_Product.ProtoReflect.Descriptor instead. -func (*ListMessage_Product) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 2} -} - -func (x *ListMessage_Product) GetProductId() string { - if x != nil && x.ProductId != nil { - return *x.ProductId - } - return "" -} - -type ListMessage_ProductSection struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - Products []*ListMessage_Product `protobuf:"bytes,2,rep,name=products" json:"products,omitempty"` -} - -func (x *ListMessage_ProductSection) Reset() { - *x = ListMessage_ProductSection{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[185] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMessage_ProductSection) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMessage_ProductSection) ProtoMessage() {} - -func (x *ListMessage_ProductSection) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[185] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListMessage_ProductSection.ProtoReflect.Descriptor instead. -func (*ListMessage_ProductSection) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 3} -} - -func (x *ListMessage_ProductSection) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *ListMessage_ProductSection) GetProducts() []*ListMessage_Product { - if x != nil { - return x.Products - } - return nil -} - -type ListMessage_ProductListInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProductSections []*ListMessage_ProductSection `protobuf:"bytes,1,rep,name=productSections" json:"productSections,omitempty"` - HeaderImage *ListMessage_ProductListHeaderImage `protobuf:"bytes,2,opt,name=headerImage" json:"headerImage,omitempty"` - BusinessOwnerJid *string `protobuf:"bytes,3,opt,name=businessOwnerJid" json:"businessOwnerJid,omitempty"` -} - -func (x *ListMessage_ProductListInfo) Reset() { - *x = ListMessage_ProductListInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[186] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMessage_ProductListInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMessage_ProductListInfo) ProtoMessage() {} - -func (x *ListMessage_ProductListInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[186] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListMessage_ProductListInfo.ProtoReflect.Descriptor instead. -func (*ListMessage_ProductListInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 4} -} - -func (x *ListMessage_ProductListInfo) GetProductSections() []*ListMessage_ProductSection { - if x != nil { - return x.ProductSections - } - return nil -} - -func (x *ListMessage_ProductListInfo) GetHeaderImage() *ListMessage_ProductListHeaderImage { - if x != nil { - return x.HeaderImage - } - return nil -} - -func (x *ListMessage_ProductListInfo) GetBusinessOwnerJid() string { - if x != nil && x.BusinessOwnerJid != nil { - return *x.BusinessOwnerJid - } - return "" -} - -type ListMessage_ProductListHeaderImage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProductId *string `protobuf:"bytes,1,opt,name=productId" json:"productId,omitempty"` - JpegThumbnail []byte `protobuf:"bytes,2,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` -} - -func (x *ListMessage_ProductListHeaderImage) Reset() { - *x = ListMessage_ProductListHeaderImage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[187] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMessage_ProductListHeaderImage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMessage_ProductListHeaderImage) ProtoMessage() {} - -func (x *ListMessage_ProductListHeaderImage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[187] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListMessage_ProductListHeaderImage.ProtoReflect.Descriptor instead. -func (*ListMessage_ProductListHeaderImage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 5} -} - -func (x *ListMessage_ProductListHeaderImage) GetProductId() string { - if x != nil && x.ProductId != nil { - return *x.ProductId - } - return "" -} - -func (x *ListMessage_ProductListHeaderImage) GetJpegThumbnail() []byte { - if x != nil { - return x.JpegThumbnail - } - return nil -} - -type InteractiveResponseMessage_NativeFlowResponseMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - ParamsJson *string `protobuf:"bytes,2,opt,name=paramsJson" json:"paramsJson,omitempty"` - Version *int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` -} - -func (x *InteractiveResponseMessage_NativeFlowResponseMessage) Reset() { - *x = InteractiveResponseMessage_NativeFlowResponseMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[188] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveResponseMessage_NativeFlowResponseMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveResponseMessage_NativeFlowResponseMessage) ProtoMessage() {} - -func (x *InteractiveResponseMessage_NativeFlowResponseMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[188] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveResponseMessage_NativeFlowResponseMessage.ProtoReflect.Descriptor instead. -func (*InteractiveResponseMessage_NativeFlowResponseMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{11, 0} -} - -func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetParamsJson() string { - if x != nil && x.ParamsJson != nil { - return *x.ParamsJson - } - return "" -} - -func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetVersion() int32 { - if x != nil && x.Version != nil { - return *x.Version - } - return 0 -} - -type InteractiveResponseMessage_Body struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` - Format *InteractiveResponseMessage_Body_Format `protobuf:"varint,2,opt,name=format,enum=proto.InteractiveResponseMessage_Body_Format" json:"format,omitempty"` -} - -func (x *InteractiveResponseMessage_Body) Reset() { - *x = InteractiveResponseMessage_Body{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[189] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveResponseMessage_Body) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveResponseMessage_Body) ProtoMessage() {} - -func (x *InteractiveResponseMessage_Body) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[189] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveResponseMessage_Body.ProtoReflect.Descriptor instead. -func (*InteractiveResponseMessage_Body) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{11, 1} -} - -func (x *InteractiveResponseMessage_Body) GetText() string { - if x != nil && x.Text != nil { - return *x.Text - } - return "" -} - -func (x *InteractiveResponseMessage_Body) GetFormat() InteractiveResponseMessage_Body_Format { - if x != nil && x.Format != nil { - return *x.Format - } - return InteractiveResponseMessage_Body_DEFAULT -} - -type InteractiveMessage_ShopMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` - Surface *InteractiveMessage_ShopMessage_Surface `protobuf:"varint,2,opt,name=surface,enum=proto.InteractiveMessage_ShopMessage_Surface" json:"surface,omitempty"` - MessageVersion *int32 `protobuf:"varint,3,opt,name=messageVersion" json:"messageVersion,omitempty"` -} - -func (x *InteractiveMessage_ShopMessage) Reset() { - *x = InteractiveMessage_ShopMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[190] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_ShopMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_ShopMessage) ProtoMessage() {} - -func (x *InteractiveMessage_ShopMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[190] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_ShopMessage.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_ShopMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0} -} - -func (x *InteractiveMessage_ShopMessage) GetId() string { - if x != nil && x.Id != nil { - return *x.Id - } - return "" -} - -func (x *InteractiveMessage_ShopMessage) GetSurface() InteractiveMessage_ShopMessage_Surface { - if x != nil && x.Surface != nil { - return *x.Surface - } - return InteractiveMessage_ShopMessage_UNKNOWN_SURFACE -} - -func (x *InteractiveMessage_ShopMessage) GetMessageVersion() int32 { - if x != nil && x.MessageVersion != nil { - return *x.MessageVersion - } - return 0 -} - -type InteractiveMessage_NativeFlowMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Buttons []*InteractiveMessage_NativeFlowMessage_NativeFlowButton `protobuf:"bytes,1,rep,name=buttons" json:"buttons,omitempty"` - MessageParamsJson *string `protobuf:"bytes,2,opt,name=messageParamsJson" json:"messageParamsJson,omitempty"` - MessageVersion *int32 `protobuf:"varint,3,opt,name=messageVersion" json:"messageVersion,omitempty"` -} - -func (x *InteractiveMessage_NativeFlowMessage) Reset() { - *x = InteractiveMessage_NativeFlowMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[191] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_NativeFlowMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_NativeFlowMessage) ProtoMessage() {} - -func (x *InteractiveMessage_NativeFlowMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[191] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_NativeFlowMessage.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_NativeFlowMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 1} -} - -func (x *InteractiveMessage_NativeFlowMessage) GetButtons() []*InteractiveMessage_NativeFlowMessage_NativeFlowButton { - if x != nil { - return x.Buttons - } - return nil -} - -func (x *InteractiveMessage_NativeFlowMessage) GetMessageParamsJson() string { - if x != nil && x.MessageParamsJson != nil { - return *x.MessageParamsJson - } - return "" -} - -func (x *InteractiveMessage_NativeFlowMessage) GetMessageVersion() int32 { - if x != nil && x.MessageVersion != nil { - return *x.MessageVersion - } - return 0 -} - -type InteractiveMessage_Header struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` - Subtitle *string `protobuf:"bytes,2,opt,name=subtitle" json:"subtitle,omitempty"` - HasMediaAttachment *bool `protobuf:"varint,5,opt,name=hasMediaAttachment" json:"hasMediaAttachment,omitempty"` - // Types that are assignable to Media: - // - // *InteractiveMessage_Header_DocumentMessage - // *InteractiveMessage_Header_ImageMessage - // *InteractiveMessage_Header_JpegThumbnail - // *InteractiveMessage_Header_VideoMessage - // *InteractiveMessage_Header_LocationMessage - Media isInteractiveMessage_Header_Media `protobuf_oneof:"media"` -} - -func (x *InteractiveMessage_Header) Reset() { - *x = InteractiveMessage_Header{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[192] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_Header) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_Header) ProtoMessage() {} - -func (x *InteractiveMessage_Header) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[192] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_Header.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_Header) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 2} -} - -func (x *InteractiveMessage_Header) GetTitle() string { - if x != nil && x.Title != nil { - return *x.Title - } - return "" -} - -func (x *InteractiveMessage_Header) GetSubtitle() string { - if x != nil && x.Subtitle != nil { - return *x.Subtitle - } - return "" -} - -func (x *InteractiveMessage_Header) GetHasMediaAttachment() bool { - if x != nil && x.HasMediaAttachment != nil { - return *x.HasMediaAttachment - } - return false -} - -func (m *InteractiveMessage_Header) GetMedia() isInteractiveMessage_Header_Media { - if m != nil { - return m.Media - } - return nil -} - -func (x *InteractiveMessage_Header) GetDocumentMessage() *DocumentMessage { - if x, ok := x.GetMedia().(*InteractiveMessage_Header_DocumentMessage); ok { - return x.DocumentMessage - } - return nil -} - -func (x *InteractiveMessage_Header) GetImageMessage() *ImageMessage { - if x, ok := x.GetMedia().(*InteractiveMessage_Header_ImageMessage); ok { - return x.ImageMessage - } - return nil -} - -func (x *InteractiveMessage_Header) GetJpegThumbnail() []byte { - if x, ok := x.GetMedia().(*InteractiveMessage_Header_JpegThumbnail); ok { - return x.JpegThumbnail - } - return nil -} - -func (x *InteractiveMessage_Header) GetVideoMessage() *VideoMessage { - if x, ok := x.GetMedia().(*InteractiveMessage_Header_VideoMessage); ok { - return x.VideoMessage - } - return nil -} - -func (x *InteractiveMessage_Header) GetLocationMessage() *LocationMessage { - if x, ok := x.GetMedia().(*InteractiveMessage_Header_LocationMessage); ok { - return x.LocationMessage - } - return nil -} - -type isInteractiveMessage_Header_Media interface { - isInteractiveMessage_Header_Media() -} - -type InteractiveMessage_Header_DocumentMessage struct { - DocumentMessage *DocumentMessage `protobuf:"bytes,3,opt,name=documentMessage,oneof"` -} - -type InteractiveMessage_Header_ImageMessage struct { - ImageMessage *ImageMessage `protobuf:"bytes,4,opt,name=imageMessage,oneof"` -} - -type InteractiveMessage_Header_JpegThumbnail struct { - JpegThumbnail []byte `protobuf:"bytes,6,opt,name=jpegThumbnail,oneof"` -} - -type InteractiveMessage_Header_VideoMessage struct { - VideoMessage *VideoMessage `protobuf:"bytes,7,opt,name=videoMessage,oneof"` -} - -type InteractiveMessage_Header_LocationMessage struct { - LocationMessage *LocationMessage `protobuf:"bytes,8,opt,name=locationMessage,oneof"` -} - -func (*InteractiveMessage_Header_DocumentMessage) isInteractiveMessage_Header_Media() {} - -func (*InteractiveMessage_Header_ImageMessage) isInteractiveMessage_Header_Media() {} - -func (*InteractiveMessage_Header_JpegThumbnail) isInteractiveMessage_Header_Media() {} - -func (*InteractiveMessage_Header_VideoMessage) isInteractiveMessage_Header_Media() {} - -func (*InteractiveMessage_Header_LocationMessage) isInteractiveMessage_Header_Media() {} - -type InteractiveMessage_Footer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` -} - -func (x *InteractiveMessage_Footer) Reset() { - *x = InteractiveMessage_Footer{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[193] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_Footer) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_Footer) ProtoMessage() {} - -func (x *InteractiveMessage_Footer) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[193] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_Footer.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_Footer) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 3} -} - -func (x *InteractiveMessage_Footer) GetText() string { - if x != nil && x.Text != nil { - return *x.Text - } - return "" -} - -type InteractiveMessage_CollectionMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - BizJid *string `protobuf:"bytes,1,opt,name=bizJid" json:"bizJid,omitempty"` - Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` - MessageVersion *int32 `protobuf:"varint,3,opt,name=messageVersion" json:"messageVersion,omitempty"` -} - -func (x *InteractiveMessage_CollectionMessage) Reset() { - *x = InteractiveMessage_CollectionMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[194] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_CollectionMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_CollectionMessage) ProtoMessage() {} - -func (x *InteractiveMessage_CollectionMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[194] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_CollectionMessage.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_CollectionMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 4} -} - -func (x *InteractiveMessage_CollectionMessage) GetBizJid() string { - if x != nil && x.BizJid != nil { - return *x.BizJid - } - return "" -} - -func (x *InteractiveMessage_CollectionMessage) GetId() string { - if x != nil && x.Id != nil { - return *x.Id - } - return "" -} - -func (x *InteractiveMessage_CollectionMessage) GetMessageVersion() int32 { - if x != nil && x.MessageVersion != nil { - return *x.MessageVersion - } - return 0 -} - -type InteractiveMessage_CarouselMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Cards []*InteractiveMessage `protobuf:"bytes,1,rep,name=cards" json:"cards,omitempty"` - MessageVersion *int32 `protobuf:"varint,2,opt,name=messageVersion" json:"messageVersion,omitempty"` -} - -func (x *InteractiveMessage_CarouselMessage) Reset() { - *x = InteractiveMessage_CarouselMessage{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[195] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_CarouselMessage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_CarouselMessage) ProtoMessage() {} - -func (x *InteractiveMessage_CarouselMessage) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[195] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_CarouselMessage.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_CarouselMessage) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 5} -} - -func (x *InteractiveMessage_CarouselMessage) GetCards() []*InteractiveMessage { - if x != nil { - return x.Cards - } - return nil -} - -func (x *InteractiveMessage_CarouselMessage) GetMessageVersion() int32 { - if x != nil && x.MessageVersion != nil { - return *x.MessageVersion - } - return 0 -} - -type InteractiveMessage_Body struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` -} - -func (x *InteractiveMessage_Body) Reset() { - *x = InteractiveMessage_Body{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[196] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_Body) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_Body) ProtoMessage() {} - -func (x *InteractiveMessage_Body) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[196] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_Body.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_Body) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 6} -} - -func (x *InteractiveMessage_Body) GetText() string { - if x != nil && x.Text != nil { - return *x.Text - } - return "" -} - -type InteractiveMessage_NativeFlowMessage_NativeFlowButton struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - ButtonParamsJson *string `protobuf:"bytes,2,opt,name=buttonParamsJson" json:"buttonParamsJson,omitempty"` -} - -func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) Reset() { - *x = InteractiveMessage_NativeFlowMessage_NativeFlowButton{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[197] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoMessage() {} - -func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[197] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InteractiveMessage_NativeFlowMessage_NativeFlowButton.ProtoReflect.Descriptor instead. -func (*InteractiveMessage_NativeFlowMessage_NativeFlowButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 1, 0} -} - -func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) GetName() string { - if x != nil && x.Name != nil { - return *x.Name - } - return "" -} - -func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) GetButtonParamsJson() string { - if x != nil && x.ButtonParamsJson != nil { - return *x.ButtonParamsJson - } - return "" -} - type HighlyStructuredMessage_HSMLocalizableParameter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -21191,7 +24909,7 @@ type HighlyStructuredMessage_HSMLocalizableParameter struct { func (x *HighlyStructuredMessage_HSMLocalizableParameter) Reset() { *x = HighlyStructuredMessage_HSMLocalizableParameter{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[198] + mi := &file_binary_proto_def_proto_msgTypes[220] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21204,7 +24922,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter) String() string { func (*HighlyStructuredMessage_HSMLocalizableParameter) ProtoMessage() {} func (x *HighlyStructuredMessage_HSMLocalizableParameter) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[198] + mi := &file_binary_proto_def_proto_msgTypes[220] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21217,7 +24935,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter) ProtoReflect() protore // Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter.ProtoReflect.Descriptor instead. func (*HighlyStructuredMessage_HSMLocalizableParameter) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0} } func (x *HighlyStructuredMessage_HSMLocalizableParameter) GetDefault() string { @@ -21281,7 +24999,7 @@ type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime struct { func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) Reset() { *x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[199] + mi := &file_binary_proto_def_proto_msgTypes[221] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21294,7 +25012,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) String() s func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) ProtoMessage() {} func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[199] + mi := &file_binary_proto_def_proto_msgTypes[221] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21307,7 +25025,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) ProtoRefle // Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime.ProtoReflect.Descriptor instead. func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0, 0} } func (m *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) GetDatetimeOneof() isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof { @@ -21361,7 +25079,7 @@ type HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency struct { func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) Reset() { *x = HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[200] + mi := &file_binary_proto_def_proto_msgTypes[222] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21374,7 +25092,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) String() s func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) ProtoMessage() {} func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[200] + mi := &file_binary_proto_def_proto_msgTypes[222] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21387,7 +25105,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) ProtoRefle // Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency.ProtoReflect.Descriptor instead. func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0, 1} } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) GetCurrencyCode() string { @@ -21415,7 +25133,7 @@ type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnix func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) Reset() { *x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[201] + mi := &file_binary_proto_def_proto_msgTypes[223] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21429,7 +25147,7 @@ func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUn } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[201] + mi := &file_binary_proto_def_proto_msgTypes[223] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21442,7 +25160,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTime // Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch.ProtoReflect.Descriptor instead. func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0, 0, 0} } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) GetTimestamp() int64 { @@ -21469,7 +25187,7 @@ type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComp func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) Reset() { *x = HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[202] + mi := &file_binary_proto_def_proto_msgTypes[224] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21483,7 +25201,7 @@ func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeCo } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[202] + mi := &file_binary_proto_def_proto_msgTypes[224] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21496,7 +25214,7 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTime // Deprecated: Use HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent.ProtoReflect.Descriptor instead. func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{9, 0, 0, 1} } func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetDayOfWeek() HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType { @@ -21548,6 +25266,61 @@ func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTime return HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_GREGORIAN } +type CallLogMessage_CallParticipant struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Jid *string `protobuf:"bytes,1,opt,name=jid" json:"jid,omitempty"` + CallOutcome *CallLogMessage_CallOutcome `protobuf:"varint,2,opt,name=callOutcome,enum=proto.CallLogMessage_CallOutcome" json:"callOutcome,omitempty"` +} + +func (x *CallLogMessage_CallParticipant) Reset() { + *x = CallLogMessage_CallParticipant{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[225] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CallLogMessage_CallParticipant) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CallLogMessage_CallParticipant) ProtoMessage() {} + +func (x *CallLogMessage_CallParticipant) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[225] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CallLogMessage_CallParticipant.ProtoReflect.Descriptor instead. +func (*CallLogMessage_CallParticipant) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{27, 0} +} + +func (x *CallLogMessage_CallParticipant) GetJid() string { + if x != nil && x.Jid != nil { + return *x.Jid + } + return "" +} + +func (x *CallLogMessage_CallParticipant) GetCallOutcome() CallLogMessage_CallOutcome { + if x != nil && x.CallOutcome != nil { + return *x.CallOutcome + } + return CallLogMessage_CONNECTED +} + type ButtonsMessage_Button struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -21562,7 +25335,7 @@ type ButtonsMessage_Button struct { func (x *ButtonsMessage_Button) Reset() { *x = ButtonsMessage_Button{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[203] + mi := &file_binary_proto_def_proto_msgTypes[226] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21575,7 +25348,7 @@ func (x *ButtonsMessage_Button) String() string { func (*ButtonsMessage_Button) ProtoMessage() {} func (x *ButtonsMessage_Button) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[203] + mi := &file_binary_proto_def_proto_msgTypes[226] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21588,7 +25361,7 @@ func (x *ButtonsMessage_Button) ProtoReflect() protoreflect.Message { // Deprecated: Use ButtonsMessage_Button.ProtoReflect.Descriptor instead. func (*ButtonsMessage_Button) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{29, 0} } func (x *ButtonsMessage_Button) GetButtonId() string { @@ -21631,7 +25404,7 @@ type ButtonsMessage_Button_NativeFlowInfo struct { func (x *ButtonsMessage_Button_NativeFlowInfo) Reset() { *x = ButtonsMessage_Button_NativeFlowInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[204] + mi := &file_binary_proto_def_proto_msgTypes[227] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21644,7 +25417,7 @@ func (x *ButtonsMessage_Button_NativeFlowInfo) String() string { func (*ButtonsMessage_Button_NativeFlowInfo) ProtoMessage() {} func (x *ButtonsMessage_Button_NativeFlowInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[204] + mi := &file_binary_proto_def_proto_msgTypes[227] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21657,7 +25430,7 @@ func (x *ButtonsMessage_Button_NativeFlowInfo) ProtoReflect() protoreflect.Messa // Deprecated: Use ButtonsMessage_Button_NativeFlowInfo.ProtoReflect.Descriptor instead. func (*ButtonsMessage_Button_NativeFlowInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{29, 0, 0} } func (x *ButtonsMessage_Button_NativeFlowInfo) GetName() string { @@ -21685,7 +25458,7 @@ type ButtonsMessage_Button_ButtonText struct { func (x *ButtonsMessage_Button_ButtonText) Reset() { *x = ButtonsMessage_Button_ButtonText{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[205] + mi := &file_binary_proto_def_proto_msgTypes[228] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21698,7 +25471,7 @@ func (x *ButtonsMessage_Button_ButtonText) String() string { func (*ButtonsMessage_Button_ButtonText) ProtoMessage() {} func (x *ButtonsMessage_Button_ButtonText) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[205] + mi := &file_binary_proto_def_proto_msgTypes[228] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21711,7 +25484,7 @@ func (x *ButtonsMessage_Button_ButtonText) ProtoReflect() protoreflect.Message { // Deprecated: Use ButtonsMessage_Button_ButtonText.ProtoReflect.Descriptor instead. func (*ButtonsMessage_Button_ButtonText) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{29, 0, 1} } func (x *ButtonsMessage_Button_ButtonText) GetDisplayText() string { @@ -21726,14 +25499,16 @@ type HydratedTemplateButton_HydratedURLButton struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DisplayText *string `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"` - Url *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` + DisplayText *string `protobuf:"bytes,1,opt,name=displayText" json:"displayText,omitempty"` + Url *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` + ConsentedUsersUrl *string `protobuf:"bytes,3,opt,name=consentedUsersUrl" json:"consentedUsersUrl,omitempty"` + WebviewPresentation *HydratedTemplateButton_HydratedURLButton_WebviewPresentationType `protobuf:"varint,4,opt,name=webviewPresentation,enum=proto.HydratedTemplateButton_HydratedURLButton_WebviewPresentationType" json:"webviewPresentation,omitempty"` } func (x *HydratedTemplateButton_HydratedURLButton) Reset() { *x = HydratedTemplateButton_HydratedURLButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[206] + mi := &file_binary_proto_def_proto_msgTypes[229] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21746,7 +25521,7 @@ func (x *HydratedTemplateButton_HydratedURLButton) String() string { func (*HydratedTemplateButton_HydratedURLButton) ProtoMessage() {} func (x *HydratedTemplateButton_HydratedURLButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[206] + mi := &file_binary_proto_def_proto_msgTypes[229] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21776,6 +25551,20 @@ func (x *HydratedTemplateButton_HydratedURLButton) GetUrl() string { return "" } +func (x *HydratedTemplateButton_HydratedURLButton) GetConsentedUsersUrl() string { + if x != nil && x.ConsentedUsersUrl != nil { + return *x.ConsentedUsersUrl + } + return "" +} + +func (x *HydratedTemplateButton_HydratedURLButton) GetWebviewPresentation() HydratedTemplateButton_HydratedURLButton_WebviewPresentationType { + if x != nil && x.WebviewPresentation != nil { + return *x.WebviewPresentation + } + return HydratedTemplateButton_HydratedURLButton_FULL +} + type HydratedTemplateButton_HydratedQuickReplyButton struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -21788,7 +25577,7 @@ type HydratedTemplateButton_HydratedQuickReplyButton struct { func (x *HydratedTemplateButton_HydratedQuickReplyButton) Reset() { *x = HydratedTemplateButton_HydratedQuickReplyButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[207] + mi := &file_binary_proto_def_proto_msgTypes[230] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21801,7 +25590,7 @@ func (x *HydratedTemplateButton_HydratedQuickReplyButton) String() string { func (*HydratedTemplateButton_HydratedQuickReplyButton) ProtoMessage() {} func (x *HydratedTemplateButton_HydratedQuickReplyButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[207] + mi := &file_binary_proto_def_proto_msgTypes[230] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21843,7 +25632,7 @@ type HydratedTemplateButton_HydratedCallButton struct { func (x *HydratedTemplateButton_HydratedCallButton) Reset() { *x = HydratedTemplateButton_HydratedCallButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[208] + mi := &file_binary_proto_def_proto_msgTypes[231] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21856,7 +25645,7 @@ func (x *HydratedTemplateButton_HydratedCallButton) String() string { func (*HydratedTemplateButton_HydratedCallButton) ProtoMessage() {} func (x *HydratedTemplateButton_HydratedCallButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[208] + mi := &file_binary_proto_def_proto_msgTypes[231] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21898,7 +25687,7 @@ type ContextInfo_UTMInfo struct { func (x *ContextInfo_UTMInfo) Reset() { *x = ContextInfo_UTMInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[209] + mi := &file_binary_proto_def_proto_msgTypes[232] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21911,7 +25700,7 @@ func (x *ContextInfo_UTMInfo) String() string { func (*ContextInfo_UTMInfo) ProtoMessage() {} func (x *ContextInfo_UTMInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[209] + mi := &file_binary_proto_def_proto_msgTypes[232] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21941,69 +25730,6 @@ func (x *ContextInfo_UTMInfo) GetUtmCampaign() string { return "" } -type ContextInfo_ForwardedNewsletterMessageInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - NewsletterJid *string `protobuf:"bytes,1,opt,name=newsletterJid" json:"newsletterJid,omitempty"` - ServerMessageId *int32 `protobuf:"varint,2,opt,name=serverMessageId" json:"serverMessageId,omitempty"` - NewsletterName *string `protobuf:"bytes,3,opt,name=newsletterName" json:"newsletterName,omitempty"` -} - -func (x *ContextInfo_ForwardedNewsletterMessageInfo) Reset() { - *x = ContextInfo_ForwardedNewsletterMessageInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[210] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ContextInfo_ForwardedNewsletterMessageInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContextInfo_ForwardedNewsletterMessageInfo) ProtoMessage() {} - -func (x *ContextInfo_ForwardedNewsletterMessageInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[210] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContextInfo_ForwardedNewsletterMessageInfo.ProtoReflect.Descriptor instead. -func (*ContextInfo_ForwardedNewsletterMessageInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 1} -} - -func (x *ContextInfo_ForwardedNewsletterMessageInfo) GetNewsletterJid() string { - if x != nil && x.NewsletterJid != nil { - return *x.NewsletterJid - } - return "" -} - -func (x *ContextInfo_ForwardedNewsletterMessageInfo) GetServerMessageId() int32 { - if x != nil && x.ServerMessageId != nil { - return *x.ServerMessageId - } - return 0 -} - -func (x *ContextInfo_ForwardedNewsletterMessageInfo) GetNewsletterName() string { - if x != nil && x.NewsletterName != nil { - return *x.NewsletterName - } - return "" -} - type ContextInfo_ExternalAdReplyInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -22028,7 +25754,7 @@ type ContextInfo_ExternalAdReplyInfo struct { func (x *ContextInfo_ExternalAdReplyInfo) Reset() { *x = ContextInfo_ExternalAdReplyInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[211] + mi := &file_binary_proto_def_proto_msgTypes[233] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22041,7 +25767,7 @@ func (x *ContextInfo_ExternalAdReplyInfo) String() string { func (*ContextInfo_ExternalAdReplyInfo) ProtoMessage() {} func (x *ContextInfo_ExternalAdReplyInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[211] + mi := &file_binary_proto_def_proto_msgTypes[233] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22054,7 +25780,7 @@ func (x *ContextInfo_ExternalAdReplyInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ContextInfo_ExternalAdReplyInfo.ProtoReflect.Descriptor instead. func (*ContextInfo_ExternalAdReplyInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 1} } func (x *ContextInfo_ExternalAdReplyInfo) GetTitle() string { @@ -22155,6 +25881,53 @@ func (x *ContextInfo_ExternalAdReplyInfo) GetRef() string { return "" } +type ContextInfo_DataSharingContext struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ShowMmDisclosure *bool `protobuf:"varint,1,opt,name=showMmDisclosure" json:"showMmDisclosure,omitempty"` +} + +func (x *ContextInfo_DataSharingContext) Reset() { + *x = ContextInfo_DataSharingContext{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[234] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContextInfo_DataSharingContext) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContextInfo_DataSharingContext) ProtoMessage() {} + +func (x *ContextInfo_DataSharingContext) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[234] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContextInfo_DataSharingContext.ProtoReflect.Descriptor instead. +func (*ContextInfo_DataSharingContext) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 2} +} + +func (x *ContextInfo_DataSharingContext) GetShowMmDisclosure() bool { + if x != nil && x.ShowMmDisclosure != nil { + return *x.ShowMmDisclosure + } + return false +} + type ContextInfo_BusinessMessageForwardInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -22166,7 +25939,7 @@ type ContextInfo_BusinessMessageForwardInfo struct { func (x *ContextInfo_BusinessMessageForwardInfo) Reset() { *x = ContextInfo_BusinessMessageForwardInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[212] + mi := &file_binary_proto_def_proto_msgTypes[235] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22179,7 +25952,7 @@ func (x *ContextInfo_BusinessMessageForwardInfo) String() string { func (*ContextInfo_BusinessMessageForwardInfo) ProtoMessage() {} func (x *ContextInfo_BusinessMessageForwardInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[212] + mi := &file_binary_proto_def_proto_msgTypes[235] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22216,7 +25989,7 @@ type ContextInfo_AdReplyInfo struct { func (x *ContextInfo_AdReplyInfo) Reset() { *x = ContextInfo_AdReplyInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[213] + mi := &file_binary_proto_def_proto_msgTypes[236] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22229,7 +26002,7 @@ func (x *ContextInfo_AdReplyInfo) String() string { func (*ContextInfo_AdReplyInfo) ProtoMessage() {} func (x *ContextInfo_AdReplyInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[213] + mi := &file_binary_proto_def_proto_msgTypes[236] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22285,7 +26058,7 @@ type TemplateButton_URLButton struct { func (x *TemplateButton_URLButton) Reset() { *x = TemplateButton_URLButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[214] + mi := &file_binary_proto_def_proto_msgTypes[237] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22298,7 +26071,7 @@ func (x *TemplateButton_URLButton) String() string { func (*TemplateButton_URLButton) ProtoMessage() {} func (x *TemplateButton_URLButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[214] + mi := &file_binary_proto_def_proto_msgTypes[237] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22311,7 +26084,7 @@ func (x *TemplateButton_URLButton) ProtoReflect() protoreflect.Message { // Deprecated: Use TemplateButton_URLButton.ProtoReflect.Descriptor instead. func (*TemplateButton_URLButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{52, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{55, 0} } func (x *TemplateButton_URLButton) GetDisplayText() *HighlyStructuredMessage { @@ -22340,7 +26113,7 @@ type TemplateButton_QuickReplyButton struct { func (x *TemplateButton_QuickReplyButton) Reset() { *x = TemplateButton_QuickReplyButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[215] + mi := &file_binary_proto_def_proto_msgTypes[238] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22353,7 +26126,7 @@ func (x *TemplateButton_QuickReplyButton) String() string { func (*TemplateButton_QuickReplyButton) ProtoMessage() {} func (x *TemplateButton_QuickReplyButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[215] + mi := &file_binary_proto_def_proto_msgTypes[238] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22366,7 +26139,7 @@ func (x *TemplateButton_QuickReplyButton) ProtoReflect() protoreflect.Message { // Deprecated: Use TemplateButton_QuickReplyButton.ProtoReflect.Descriptor instead. func (*TemplateButton_QuickReplyButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{52, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{55, 1} } func (x *TemplateButton_QuickReplyButton) GetDisplayText() *HighlyStructuredMessage { @@ -22395,7 +26168,7 @@ type TemplateButton_CallButton struct { func (x *TemplateButton_CallButton) Reset() { *x = TemplateButton_CallButton{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[216] + mi := &file_binary_proto_def_proto_msgTypes[239] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22408,7 +26181,7 @@ func (x *TemplateButton_CallButton) String() string { func (*TemplateButton_CallButton) ProtoMessage() {} func (x *TemplateButton_CallButton) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[216] + mi := &file_binary_proto_def_proto_msgTypes[239] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22421,7 +26194,7 @@ func (x *TemplateButton_CallButton) ProtoReflect() protoreflect.Message { // Deprecated: Use TemplateButton_CallButton.ProtoReflect.Descriptor instead. func (*TemplateButton_CallButton) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{52, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{55, 2} } func (x *TemplateButton_CallButton) GetDisplayText() *HighlyStructuredMessage { @@ -22453,7 +26226,7 @@ type PaymentBackground_MediaData struct { func (x *PaymentBackground_MediaData) Reset() { *x = PaymentBackground_MediaData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[217] + mi := &file_binary_proto_def_proto_msgTypes[240] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22466,7 +26239,7 @@ func (x *PaymentBackground_MediaData) String() string { func (*PaymentBackground_MediaData) ProtoMessage() {} func (x *PaymentBackground_MediaData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[217] + mi := &file_binary_proto_def_proto_msgTypes[240] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22479,7 +26252,7 @@ func (x *PaymentBackground_MediaData) ProtoReflect() protoreflect.Message { // Deprecated: Use PaymentBackground_MediaData.ProtoReflect.Descriptor instead. func (*PaymentBackground_MediaData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{54, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{57, 0} } func (x *PaymentBackground_MediaData) GetMediaKey() []byte { @@ -22526,6 +26299,7 @@ type TemplateMessage_HydratedFourRowTemplate struct { HydratedFooterText *string `protobuf:"bytes,7,opt,name=hydratedFooterText" json:"hydratedFooterText,omitempty"` HydratedButtons []*HydratedTemplateButton `protobuf:"bytes,8,rep,name=hydratedButtons" json:"hydratedButtons,omitempty"` TemplateId *string `protobuf:"bytes,9,opt,name=templateId" json:"templateId,omitempty"` + MaskLinkedDevices *bool `protobuf:"varint,10,opt,name=maskLinkedDevices" json:"maskLinkedDevices,omitempty"` // Types that are assignable to Title: // // *TemplateMessage_HydratedFourRowTemplate_DocumentMessage @@ -22539,7 +26313,7 @@ type TemplateMessage_HydratedFourRowTemplate struct { func (x *TemplateMessage_HydratedFourRowTemplate) Reset() { *x = TemplateMessage_HydratedFourRowTemplate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[218] + mi := &file_binary_proto_def_proto_msgTypes[241] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22552,7 +26326,7 @@ func (x *TemplateMessage_HydratedFourRowTemplate) String() string { func (*TemplateMessage_HydratedFourRowTemplate) ProtoMessage() {} func (x *TemplateMessage_HydratedFourRowTemplate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[218] + mi := &file_binary_proto_def_proto_msgTypes[241] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22565,7 +26339,7 @@ func (x *TemplateMessage_HydratedFourRowTemplate) ProtoReflect() protoreflect.Me // Deprecated: Use TemplateMessage_HydratedFourRowTemplate.ProtoReflect.Descriptor instead. func (*TemplateMessage_HydratedFourRowTemplate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{60, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{63, 0} } func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedContentText() string { @@ -22596,6 +26370,13 @@ func (x *TemplateMessage_HydratedFourRowTemplate) GetTemplateId() string { return "" } +func (x *TemplateMessage_HydratedFourRowTemplate) GetMaskLinkedDevices() bool { + if x != nil && x.MaskLinkedDevices != nil { + return *x.MaskLinkedDevices + } + return false +} + func (m *TemplateMessage_HydratedFourRowTemplate) GetTitle() isTemplateMessage_HydratedFourRowTemplate_Title { if m != nil { return m.Title @@ -22698,7 +26479,7 @@ type TemplateMessage_FourRowTemplate struct { func (x *TemplateMessage_FourRowTemplate) Reset() { *x = TemplateMessage_FourRowTemplate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[219] + mi := &file_binary_proto_def_proto_msgTypes[242] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22711,7 +26492,7 @@ func (x *TemplateMessage_FourRowTemplate) String() string { func (*TemplateMessage_FourRowTemplate) ProtoMessage() {} func (x *TemplateMessage_FourRowTemplate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[219] + mi := &file_binary_proto_def_proto_msgTypes[242] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22724,7 +26505,7 @@ func (x *TemplateMessage_FourRowTemplate) ProtoReflect() protoreflect.Message { // Deprecated: Use TemplateMessage_FourRowTemplate.ProtoReflect.Descriptor instead. func (*TemplateMessage_FourRowTemplate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{60, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{63, 1} } func (x *TemplateMessage_FourRowTemplate) GetContent() *HighlyStructuredMessage { @@ -22846,7 +26627,7 @@ type ProductMessage_ProductSnapshot struct { func (x *ProductMessage_ProductSnapshot) Reset() { *x = ProductMessage_ProductSnapshot{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[220] + mi := &file_binary_proto_def_proto_msgTypes[243] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22859,7 +26640,7 @@ func (x *ProductMessage_ProductSnapshot) String() string { func (*ProductMessage_ProductSnapshot) ProtoMessage() {} func (x *ProductMessage_ProductSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[220] + mi := &file_binary_proto_def_proto_msgTypes[243] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22872,7 +26653,7 @@ func (x *ProductMessage_ProductSnapshot) ProtoReflect() protoreflect.Message { // Deprecated: Use ProductMessage_ProductSnapshot.ProtoReflect.Descriptor instead. func (*ProductMessage_ProductSnapshot) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{72, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{77, 0} } func (x *ProductMessage_ProductSnapshot) GetProductImage() *ImageMessage { @@ -22965,7 +26746,7 @@ type ProductMessage_CatalogSnapshot struct { func (x *ProductMessage_CatalogSnapshot) Reset() { *x = ProductMessage_CatalogSnapshot{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[221] + mi := &file_binary_proto_def_proto_msgTypes[244] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22978,7 +26759,7 @@ func (x *ProductMessage_CatalogSnapshot) String() string { func (*ProductMessage_CatalogSnapshot) ProtoMessage() {} func (x *ProductMessage_CatalogSnapshot) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[221] + mi := &file_binary_proto_def_proto_msgTypes[244] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22991,7 +26772,7 @@ func (x *ProductMessage_CatalogSnapshot) ProtoReflect() protoreflect.Message { // Deprecated: Use ProductMessage_CatalogSnapshot.ProtoReflect.Descriptor instead. func (*ProductMessage_CatalogSnapshot) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{72, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{77, 1} } func (x *ProductMessage_CatalogSnapshot) GetCatalogImage() *ImageMessage { @@ -23026,7 +26807,7 @@ type PollCreationMessage_Option struct { func (x *PollCreationMessage_Option) Reset() { *x = PollCreationMessage_Option{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[222] + mi := &file_binary_proto_def_proto_msgTypes[245] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23039,7 +26820,7 @@ func (x *PollCreationMessage_Option) String() string { func (*PollCreationMessage_Option) ProtoMessage() {} func (x *PollCreationMessage_Option) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[222] + mi := &file_binary_proto_def_proto_msgTypes[245] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23052,7 +26833,7 @@ func (x *PollCreationMessage_Option) ProtoReflect() protoreflect.Message { // Deprecated: Use PollCreationMessage_Option.ProtoReflect.Descriptor instead. func (*PollCreationMessage_Option) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{77, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{82, 0} } func (x *PollCreationMessage_Option) GetOptionName() string { @@ -23076,7 +26857,7 @@ type PeerDataOperationRequestResponseMessage_PeerDataOperationResult struct { func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Reset() { *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[223] + mi := &file_binary_proto_def_proto_msgTypes[246] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23089,7 +26870,7 @@ func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) String func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoMessage() {} func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[223] + mi := &file_binary_proto_def_proto_msgTypes[246] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23102,7 +26883,7 @@ func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoR // Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult.ProtoReflect.Descriptor instead. func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{85, 0} } func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetMediaUploadResult() MediaRetryNotification_ResultType { @@ -23144,7 +26925,7 @@ type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_Placeholder func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) Reset() { *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[224] + mi := &file_binary_proto_def_proto_msgTypes[247] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23158,7 +26939,7 @@ func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_Placehold } func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[224] + mi := &file_binary_proto_def_proto_msgTypes[247] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23171,7 +26952,7 @@ func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_Placeho // Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse.ProtoReflect.Descriptor instead. func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{85, 0, 0} } func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) GetWebMessageInfoBytes() []byte { @@ -23199,7 +26980,7 @@ type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreview func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) Reset() { *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[225] + mi := &file_binary_proto_def_proto_msgTypes[248] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23213,7 +26994,7 @@ func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPrevi } func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[225] + mi := &file_binary_proto_def_proto_msgTypes[248] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23226,7 +27007,7 @@ func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPre // Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse.ProtoReflect.Descriptor instead. func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{85, 0, 1} } func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetUrl() string { @@ -23302,7 +27083,7 @@ type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreview func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) Reset() { *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[226] + mi := &file_binary_proto_def_proto_msgTypes[249] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23316,7 +27097,7 @@ func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPrevi } func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[226] + mi := &file_binary_proto_def_proto_msgTypes[249] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23329,7 +27110,7 @@ func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPre // Deprecated: Use PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail.ProtoReflect.Descriptor instead. func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0, 1, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{85, 0, 1, 0} } func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetDirectPath() string { @@ -23393,7 +27174,7 @@ type PeerDataOperationRequestMessage_RequestUrlPreview struct { func (x *PeerDataOperationRequestMessage_RequestUrlPreview) Reset() { *x = PeerDataOperationRequestMessage_RequestUrlPreview{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[227] + mi := &file_binary_proto_def_proto_msgTypes[250] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23406,7 +27187,7 @@ func (x *PeerDataOperationRequestMessage_RequestUrlPreview) String() string { func (*PeerDataOperationRequestMessage_RequestUrlPreview) ProtoMessage() {} func (x *PeerDataOperationRequestMessage_RequestUrlPreview) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[227] + mi := &file_binary_proto_def_proto_msgTypes[250] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23419,7 +27200,7 @@ func (x *PeerDataOperationRequestMessage_RequestUrlPreview) ProtoReflect() proto // Deprecated: Use PeerDataOperationRequestMessage_RequestUrlPreview.ProtoReflect.Descriptor instead. func (*PeerDataOperationRequestMessage_RequestUrlPreview) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{86, 0} } func (x *PeerDataOperationRequestMessage_RequestUrlPreview) GetUrl() string { @@ -23447,7 +27228,7 @@ type PeerDataOperationRequestMessage_RequestStickerReupload struct { func (x *PeerDataOperationRequestMessage_RequestStickerReupload) Reset() { *x = PeerDataOperationRequestMessage_RequestStickerReupload{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[228] + mi := &file_binary_proto_def_proto_msgTypes[251] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23460,7 +27241,7 @@ func (x *PeerDataOperationRequestMessage_RequestStickerReupload) String() string func (*PeerDataOperationRequestMessage_RequestStickerReupload) ProtoMessage() {} func (x *PeerDataOperationRequestMessage_RequestStickerReupload) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[228] + mi := &file_binary_proto_def_proto_msgTypes[251] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23473,7 +27254,7 @@ func (x *PeerDataOperationRequestMessage_RequestStickerReupload) ProtoReflect() // Deprecated: Use PeerDataOperationRequestMessage_RequestStickerReupload.ProtoReflect.Descriptor instead. func (*PeerDataOperationRequestMessage_RequestStickerReupload) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{86, 1} } func (x *PeerDataOperationRequestMessage_RequestStickerReupload) GetFileSha256() string { @@ -23494,7 +27275,7 @@ type PeerDataOperationRequestMessage_PlaceholderMessageResendRequest struct { func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) Reset() { *x = PeerDataOperationRequestMessage_PlaceholderMessageResendRequest{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[229] + mi := &file_binary_proto_def_proto_msgTypes[252] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23507,7 +27288,7 @@ func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) String func (*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) ProtoMessage() {} func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[229] + mi := &file_binary_proto_def_proto_msgTypes[252] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23520,7 +27301,7 @@ func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) ProtoR // Deprecated: Use PeerDataOperationRequestMessage_PlaceholderMessageResendRequest.ProtoReflect.Descriptor instead. func (*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{86, 2} } func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) GetMessageKey() *MessageKey { @@ -23545,7 +27326,7 @@ type PeerDataOperationRequestMessage_HistorySyncOnDemandRequest struct { func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Reset() { *x = PeerDataOperationRequestMessage_HistorySyncOnDemandRequest{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[230] + mi := &file_binary_proto_def_proto_msgTypes[253] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23558,7 +27339,7 @@ func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) String() st func (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoMessage() {} func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[230] + mi := &file_binary_proto_def_proto_msgTypes[253] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23571,7 +27352,7 @@ func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoReflec // Deprecated: Use PeerDataOperationRequestMessage_HistorySyncOnDemandRequest.ProtoReflect.Descriptor instead. func (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 3} + return file_binary_proto_def_proto_rawDescGZIP(), []int{86, 3} } func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetChatJid() string { @@ -23609,6 +27390,1118 @@ func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMs return 0 } +type ListResponseMessage_SingleSelectReply struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SelectedRowId *string `protobuf:"bytes,1,opt,name=selectedRowId" json:"selectedRowId,omitempty"` +} + +func (x *ListResponseMessage_SingleSelectReply) Reset() { + *x = ListResponseMessage_SingleSelectReply{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[254] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListResponseMessage_SingleSelectReply) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListResponseMessage_SingleSelectReply) ProtoMessage() {} + +func (x *ListResponseMessage_SingleSelectReply) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[254] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListResponseMessage_SingleSelectReply.ProtoReflect.Descriptor instead. +func (*ListResponseMessage_SingleSelectReply) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{93, 0} +} + +func (x *ListResponseMessage_SingleSelectReply) GetSelectedRowId() string { + if x != nil && x.SelectedRowId != nil { + return *x.SelectedRowId + } + return "" +} + +type ListMessage_Section struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` + Rows []*ListMessage_Row `protobuf:"bytes,2,rep,name=rows" json:"rows,omitempty"` +} + +func (x *ListMessage_Section) Reset() { + *x = ListMessage_Section{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[255] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListMessage_Section) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListMessage_Section) ProtoMessage() {} + +func (x *ListMessage_Section) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[255] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListMessage_Section.ProtoReflect.Descriptor instead. +func (*ListMessage_Section) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{94, 0} +} + +func (x *ListMessage_Section) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title + } + return "" +} + +func (x *ListMessage_Section) GetRows() []*ListMessage_Row { + if x != nil { + return x.Rows + } + return nil +} + +type ListMessage_Row struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` + Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` + RowId *string `protobuf:"bytes,3,opt,name=rowId" json:"rowId,omitempty"` +} + +func (x *ListMessage_Row) Reset() { + *x = ListMessage_Row{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[256] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListMessage_Row) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListMessage_Row) ProtoMessage() {} + +func (x *ListMessage_Row) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[256] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListMessage_Row.ProtoReflect.Descriptor instead. +func (*ListMessage_Row) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{94, 1} +} + +func (x *ListMessage_Row) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title + } + return "" +} + +func (x *ListMessage_Row) GetDescription() string { + if x != nil && x.Description != nil { + return *x.Description + } + return "" +} + +func (x *ListMessage_Row) GetRowId() string { + if x != nil && x.RowId != nil { + return *x.RowId + } + return "" +} + +type ListMessage_Product struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProductId *string `protobuf:"bytes,1,opt,name=productId" json:"productId,omitempty"` +} + +func (x *ListMessage_Product) Reset() { + *x = ListMessage_Product{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[257] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListMessage_Product) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListMessage_Product) ProtoMessage() {} + +func (x *ListMessage_Product) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[257] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListMessage_Product.ProtoReflect.Descriptor instead. +func (*ListMessage_Product) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{94, 2} +} + +func (x *ListMessage_Product) GetProductId() string { + if x != nil && x.ProductId != nil { + return *x.ProductId + } + return "" +} + +type ListMessage_ProductSection struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` + Products []*ListMessage_Product `protobuf:"bytes,2,rep,name=products" json:"products,omitempty"` +} + +func (x *ListMessage_ProductSection) Reset() { + *x = ListMessage_ProductSection{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[258] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListMessage_ProductSection) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListMessage_ProductSection) ProtoMessage() {} + +func (x *ListMessage_ProductSection) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[258] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListMessage_ProductSection.ProtoReflect.Descriptor instead. +func (*ListMessage_ProductSection) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{94, 3} +} + +func (x *ListMessage_ProductSection) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title + } + return "" +} + +func (x *ListMessage_ProductSection) GetProducts() []*ListMessage_Product { + if x != nil { + return x.Products + } + return nil +} + +type ListMessage_ProductListInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProductSections []*ListMessage_ProductSection `protobuf:"bytes,1,rep,name=productSections" json:"productSections,omitempty"` + HeaderImage *ListMessage_ProductListHeaderImage `protobuf:"bytes,2,opt,name=headerImage" json:"headerImage,omitempty"` + BusinessOwnerJid *string `protobuf:"bytes,3,opt,name=businessOwnerJid" json:"businessOwnerJid,omitempty"` +} + +func (x *ListMessage_ProductListInfo) Reset() { + *x = ListMessage_ProductListInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[259] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListMessage_ProductListInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListMessage_ProductListInfo) ProtoMessage() {} + +func (x *ListMessage_ProductListInfo) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[259] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListMessage_ProductListInfo.ProtoReflect.Descriptor instead. +func (*ListMessage_ProductListInfo) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{94, 4} +} + +func (x *ListMessage_ProductListInfo) GetProductSections() []*ListMessage_ProductSection { + if x != nil { + return x.ProductSections + } + return nil +} + +func (x *ListMessage_ProductListInfo) GetHeaderImage() *ListMessage_ProductListHeaderImage { + if x != nil { + return x.HeaderImage + } + return nil +} + +func (x *ListMessage_ProductListInfo) GetBusinessOwnerJid() string { + if x != nil && x.BusinessOwnerJid != nil { + return *x.BusinessOwnerJid + } + return "" +} + +type ListMessage_ProductListHeaderImage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProductId *string `protobuf:"bytes,1,opt,name=productId" json:"productId,omitempty"` + JpegThumbnail []byte `protobuf:"bytes,2,opt,name=jpegThumbnail" json:"jpegThumbnail,omitempty"` +} + +func (x *ListMessage_ProductListHeaderImage) Reset() { + *x = ListMessage_ProductListHeaderImage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[260] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListMessage_ProductListHeaderImage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListMessage_ProductListHeaderImage) ProtoMessage() {} + +func (x *ListMessage_ProductListHeaderImage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[260] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListMessage_ProductListHeaderImage.ProtoReflect.Descriptor instead. +func (*ListMessage_ProductListHeaderImage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{94, 5} +} + +func (x *ListMessage_ProductListHeaderImage) GetProductId() string { + if x != nil && x.ProductId != nil { + return *x.ProductId + } + return "" +} + +func (x *ListMessage_ProductListHeaderImage) GetJpegThumbnail() []byte { + if x != nil { + return x.JpegThumbnail + } + return nil +} + +type InteractiveResponseMessage_NativeFlowResponseMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + ParamsJson *string `protobuf:"bytes,2,opt,name=paramsJson" json:"paramsJson,omitempty"` + Version *int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` +} + +func (x *InteractiveResponseMessage_NativeFlowResponseMessage) Reset() { + *x = InteractiveResponseMessage_NativeFlowResponseMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[261] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractiveResponseMessage_NativeFlowResponseMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractiveResponseMessage_NativeFlowResponseMessage) ProtoMessage() {} + +func (x *InteractiveResponseMessage_NativeFlowResponseMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[261] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InteractiveResponseMessage_NativeFlowResponseMessage.ProtoReflect.Descriptor instead. +func (*InteractiveResponseMessage_NativeFlowResponseMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{97, 0} +} + +func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetParamsJson() string { + if x != nil && x.ParamsJson != nil { + return *x.ParamsJson + } + return "" +} + +func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetVersion() int32 { + if x != nil && x.Version != nil { + return *x.Version + } + return 0 +} + +type InteractiveResponseMessage_Body struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` + Format *InteractiveResponseMessage_Body_Format `protobuf:"varint,2,opt,name=format,enum=proto.InteractiveResponseMessage_Body_Format" json:"format,omitempty"` +} + +func (x *InteractiveResponseMessage_Body) Reset() { + *x = InteractiveResponseMessage_Body{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[262] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractiveResponseMessage_Body) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractiveResponseMessage_Body) ProtoMessage() {} + +func (x *InteractiveResponseMessage_Body) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[262] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InteractiveResponseMessage_Body.ProtoReflect.Descriptor instead. +func (*InteractiveResponseMessage_Body) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{97, 1} +} + +func (x *InteractiveResponseMessage_Body) GetText() string { + if x != nil && x.Text != nil { + return *x.Text + } + return "" +} + +func (x *InteractiveResponseMessage_Body) GetFormat() InteractiveResponseMessage_Body_Format { + if x != nil && x.Format != nil { + return *x.Format + } + return InteractiveResponseMessage_Body_DEFAULT +} + +type InteractiveMessage_NativeFlowMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Buttons []*InteractiveMessage_NativeFlowMessage_NativeFlowButton `protobuf:"bytes,1,rep,name=buttons" json:"buttons,omitempty"` + MessageParamsJson *string `protobuf:"bytes,2,opt,name=messageParamsJson" json:"messageParamsJson,omitempty"` + MessageVersion *int32 `protobuf:"varint,3,opt,name=messageVersion" json:"messageVersion,omitempty"` +} + +func (x *InteractiveMessage_NativeFlowMessage) Reset() { + *x = InteractiveMessage_NativeFlowMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[263] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractiveMessage_NativeFlowMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractiveMessage_NativeFlowMessage) ProtoMessage() {} + +func (x *InteractiveMessage_NativeFlowMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[263] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InteractiveMessage_NativeFlowMessage.ProtoReflect.Descriptor instead. +func (*InteractiveMessage_NativeFlowMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 0} +} + +func (x *InteractiveMessage_NativeFlowMessage) GetButtons() []*InteractiveMessage_NativeFlowMessage_NativeFlowButton { + if x != nil { + return x.Buttons + } + return nil +} + +func (x *InteractiveMessage_NativeFlowMessage) GetMessageParamsJson() string { + if x != nil && x.MessageParamsJson != nil { + return *x.MessageParamsJson + } + return "" +} + +func (x *InteractiveMessage_NativeFlowMessage) GetMessageVersion() int32 { + if x != nil && x.MessageVersion != nil { + return *x.MessageVersion + } + return 0 +} + +type InteractiveMessage_Header struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Title *string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"` + Subtitle *string `protobuf:"bytes,2,opt,name=subtitle" json:"subtitle,omitempty"` + HasMediaAttachment *bool `protobuf:"varint,5,opt,name=hasMediaAttachment" json:"hasMediaAttachment,omitempty"` + // Types that are assignable to Media: + // + // *InteractiveMessage_Header_DocumentMessage + // *InteractiveMessage_Header_ImageMessage + // *InteractiveMessage_Header_JpegThumbnail + // *InteractiveMessage_Header_VideoMessage + // *InteractiveMessage_Header_LocationMessage + // *InteractiveMessage_Header_ProductMessage + Media isInteractiveMessage_Header_Media `protobuf_oneof:"media"` +} + +func (x *InteractiveMessage_Header) Reset() { + *x = InteractiveMessage_Header{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[264] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractiveMessage_Header) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractiveMessage_Header) ProtoMessage() {} + +func (x *InteractiveMessage_Header) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[264] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InteractiveMessage_Header.ProtoReflect.Descriptor instead. +func (*InteractiveMessage_Header) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 1} +} + +func (x *InteractiveMessage_Header) GetTitle() string { + if x != nil && x.Title != nil { + return *x.Title + } + return "" +} + +func (x *InteractiveMessage_Header) GetSubtitle() string { + if x != nil && x.Subtitle != nil { + return *x.Subtitle + } + return "" +} + +func (x *InteractiveMessage_Header) GetHasMediaAttachment() bool { + if x != nil && x.HasMediaAttachment != nil { + return *x.HasMediaAttachment + } + return false +} + +func (m *InteractiveMessage_Header) GetMedia() isInteractiveMessage_Header_Media { + if m != nil { + return m.Media + } + return nil +} + +func (x *InteractiveMessage_Header) GetDocumentMessage() *DocumentMessage { + if x, ok := x.GetMedia().(*InteractiveMessage_Header_DocumentMessage); ok { + return x.DocumentMessage + } + return nil +} + +func (x *InteractiveMessage_Header) GetImageMessage() *ImageMessage { + if x, ok := x.GetMedia().(*InteractiveMessage_Header_ImageMessage); ok { + return x.ImageMessage + } + return nil +} + +func (x *InteractiveMessage_Header) GetJpegThumbnail() []byte { + if x, ok := x.GetMedia().(*InteractiveMessage_Header_JpegThumbnail); ok { + return x.JpegThumbnail + } + return nil +} + +func (x *InteractiveMessage_Header) GetVideoMessage() *VideoMessage { + if x, ok := x.GetMedia().(*InteractiveMessage_Header_VideoMessage); ok { + return x.VideoMessage + } + return nil +} + +func (x *InteractiveMessage_Header) GetLocationMessage() *LocationMessage { + if x, ok := x.GetMedia().(*InteractiveMessage_Header_LocationMessage); ok { + return x.LocationMessage + } + return nil +} + +func (x *InteractiveMessage_Header) GetProductMessage() *ProductMessage { + if x, ok := x.GetMedia().(*InteractiveMessage_Header_ProductMessage); ok { + return x.ProductMessage + } + return nil +} + +type isInteractiveMessage_Header_Media interface { + isInteractiveMessage_Header_Media() +} + +type InteractiveMessage_Header_DocumentMessage struct { + DocumentMessage *DocumentMessage `protobuf:"bytes,3,opt,name=documentMessage,oneof"` +} + +type InteractiveMessage_Header_ImageMessage struct { + ImageMessage *ImageMessage `protobuf:"bytes,4,opt,name=imageMessage,oneof"` +} + +type InteractiveMessage_Header_JpegThumbnail struct { + JpegThumbnail []byte `protobuf:"bytes,6,opt,name=jpegThumbnail,oneof"` +} + +type InteractiveMessage_Header_VideoMessage struct { + VideoMessage *VideoMessage `protobuf:"bytes,7,opt,name=videoMessage,oneof"` +} + +type InteractiveMessage_Header_LocationMessage struct { + LocationMessage *LocationMessage `protobuf:"bytes,8,opt,name=locationMessage,oneof"` +} + +type InteractiveMessage_Header_ProductMessage struct { + ProductMessage *ProductMessage `protobuf:"bytes,9,opt,name=productMessage,oneof"` +} + +func (*InteractiveMessage_Header_DocumentMessage) isInteractiveMessage_Header_Media() {} + +func (*InteractiveMessage_Header_ImageMessage) isInteractiveMessage_Header_Media() {} + +func (*InteractiveMessage_Header_JpegThumbnail) isInteractiveMessage_Header_Media() {} + +func (*InteractiveMessage_Header_VideoMessage) isInteractiveMessage_Header_Media() {} + +func (*InteractiveMessage_Header_LocationMessage) isInteractiveMessage_Header_Media() {} + +func (*InteractiveMessage_Header_ProductMessage) isInteractiveMessage_Header_Media() {} + +type InteractiveMessage_Footer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` +} + +func (x *InteractiveMessage_Footer) Reset() { + *x = InteractiveMessage_Footer{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[265] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractiveMessage_Footer) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractiveMessage_Footer) ProtoMessage() {} + +func (x *InteractiveMessage_Footer) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[265] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InteractiveMessage_Footer.ProtoReflect.Descriptor instead. +func (*InteractiveMessage_Footer) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 2} +} + +func (x *InteractiveMessage_Footer) GetText() string { + if x != nil && x.Text != nil { + return *x.Text + } + return "" +} + +type InteractiveMessage_CollectionMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BizJid *string `protobuf:"bytes,1,opt,name=bizJid" json:"bizJid,omitempty"` + Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` + MessageVersion *int32 `protobuf:"varint,3,opt,name=messageVersion" json:"messageVersion,omitempty"` +} + +func (x *InteractiveMessage_CollectionMessage) Reset() { + *x = InteractiveMessage_CollectionMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[266] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractiveMessage_CollectionMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractiveMessage_CollectionMessage) ProtoMessage() {} + +func (x *InteractiveMessage_CollectionMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[266] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InteractiveMessage_CollectionMessage.ProtoReflect.Descriptor instead. +func (*InteractiveMessage_CollectionMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 3} +} + +func (x *InteractiveMessage_CollectionMessage) GetBizJid() string { + if x != nil && x.BizJid != nil { + return *x.BizJid + } + return "" +} + +func (x *InteractiveMessage_CollectionMessage) GetId() string { + if x != nil && x.Id != nil { + return *x.Id + } + return "" +} + +func (x *InteractiveMessage_CollectionMessage) GetMessageVersion() int32 { + if x != nil && x.MessageVersion != nil { + return *x.MessageVersion + } + return 0 +} + +type InteractiveMessage_CarouselMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cards []*InteractiveMessage `protobuf:"bytes,1,rep,name=cards" json:"cards,omitempty"` + MessageVersion *int32 `protobuf:"varint,2,opt,name=messageVersion" json:"messageVersion,omitempty"` +} + +func (x *InteractiveMessage_CarouselMessage) Reset() { + *x = InteractiveMessage_CarouselMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[267] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractiveMessage_CarouselMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractiveMessage_CarouselMessage) ProtoMessage() {} + +func (x *InteractiveMessage_CarouselMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[267] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InteractiveMessage_CarouselMessage.ProtoReflect.Descriptor instead. +func (*InteractiveMessage_CarouselMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 4} +} + +func (x *InteractiveMessage_CarouselMessage) GetCards() []*InteractiveMessage { + if x != nil { + return x.Cards + } + return nil +} + +func (x *InteractiveMessage_CarouselMessage) GetMessageVersion() int32 { + if x != nil && x.MessageVersion != nil { + return *x.MessageVersion + } + return 0 +} + +type InteractiveMessage_Body struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` +} + +func (x *InteractiveMessage_Body) Reset() { + *x = InteractiveMessage_Body{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[268] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractiveMessage_Body) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractiveMessage_Body) ProtoMessage() {} + +func (x *InteractiveMessage_Body) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[268] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InteractiveMessage_Body.ProtoReflect.Descriptor instead. +func (*InteractiveMessage_Body) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 5} +} + +func (x *InteractiveMessage_Body) GetText() string { + if x != nil && x.Text != nil { + return *x.Text + } + return "" +} + +type InteractiveMessage_ShopMessage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` + Surface *InteractiveMessage_ShopMessage_Surface `protobuf:"varint,2,opt,name=surface,enum=proto.InteractiveMessage_ShopMessage_Surface" json:"surface,omitempty"` + MessageVersion *int32 `protobuf:"varint,3,opt,name=messageVersion" json:"messageVersion,omitempty"` +} + +func (x *InteractiveMessage_ShopMessage) Reset() { + *x = InteractiveMessage_ShopMessage{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[269] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractiveMessage_ShopMessage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractiveMessage_ShopMessage) ProtoMessage() {} + +func (x *InteractiveMessage_ShopMessage) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[269] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InteractiveMessage_ShopMessage.ProtoReflect.Descriptor instead. +func (*InteractiveMessage_ShopMessage) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 6} +} + +func (x *InteractiveMessage_ShopMessage) GetId() string { + if x != nil && x.Id != nil { + return *x.Id + } + return "" +} + +func (x *InteractiveMessage_ShopMessage) GetSurface() InteractiveMessage_ShopMessage_Surface { + if x != nil && x.Surface != nil { + return *x.Surface + } + return InteractiveMessage_ShopMessage_UNKNOWN_SURFACE +} + +func (x *InteractiveMessage_ShopMessage) GetMessageVersion() int32 { + if x != nil && x.MessageVersion != nil { + return *x.MessageVersion + } + return 0 +} + +type InteractiveMessage_NativeFlowMessage_NativeFlowButton struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + ButtonParamsJson *string `protobuf:"bytes,2,opt,name=buttonParamsJson" json:"buttonParamsJson,omitempty"` +} + +func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) Reset() { + *x = InteractiveMessage_NativeFlowMessage_NativeFlowButton{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[270] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoMessage() {} + +func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[270] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InteractiveMessage_NativeFlowMessage_NativeFlowButton.ProtoReflect.Descriptor instead. +func (*InteractiveMessage_NativeFlowMessage_NativeFlowButton) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{98, 0, 0} +} + +func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) GetButtonParamsJson() string { + if x != nil && x.ButtonParamsJson != nil { + return *x.ButtonParamsJson + } + return "" +} + +type CallLogRecord_ParticipantInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserJid *string `protobuf:"bytes,1,opt,name=userJid" json:"userJid,omitempty"` + CallResult *CallLogRecord_CallResult `protobuf:"varint,2,opt,name=callResult,enum=proto.CallLogRecord_CallResult" json:"callResult,omitempty"` +} + +func (x *CallLogRecord_ParticipantInfo) Reset() { + *x = CallLogRecord_ParticipantInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[271] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CallLogRecord_ParticipantInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CallLogRecord_ParticipantInfo) ProtoMessage() {} + +func (x *CallLogRecord_ParticipantInfo) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[271] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CallLogRecord_ParticipantInfo.ProtoReflect.Descriptor instead. +func (*CallLogRecord_ParticipantInfo) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{181, 0} +} + +func (x *CallLogRecord_ParticipantInfo) GetUserJid() string { + if x != nil && x.UserJid != nil { + return *x.UserJid + } + return "" +} + +func (x *CallLogRecord_ParticipantInfo) GetCallResult() CallLogRecord_CallResult { + if x != nil && x.CallResult != nil { + return *x.CallResult + } + return CallLogRecord_CONNECTED +} + type VerifiedNameCertificate_Details struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -23624,7 +28517,7 @@ type VerifiedNameCertificate_Details struct { func (x *VerifiedNameCertificate_Details) Reset() { *x = VerifiedNameCertificate_Details{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[231] + mi := &file_binary_proto_def_proto_msgTypes[272] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23637,7 +28530,7 @@ func (x *VerifiedNameCertificate_Details) String() string { func (*VerifiedNameCertificate_Details) ProtoMessage() {} func (x *VerifiedNameCertificate_Details) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[231] + mi := &file_binary_proto_def_proto_msgTypes[272] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23650,7 +28543,7 @@ func (x *VerifiedNameCertificate_Details) ProtoReflect() protoreflect.Message { // Deprecated: Use VerifiedNameCertificate_Details.ProtoReflect.Descriptor instead. func (*VerifiedNameCertificate_Details) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{152, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{182, 0} } func (x *VerifiedNameCertificate_Details) GetSerial() uint64 { @@ -23702,7 +28595,7 @@ type ClientPayload_WebInfo struct { func (x *ClientPayload_WebInfo) Reset() { *x = ClientPayload_WebInfo{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[232] + mi := &file_binary_proto_def_proto_msgTypes[273] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23715,7 +28608,7 @@ func (x *ClientPayload_WebInfo) String() string { func (*ClientPayload_WebInfo) ProtoMessage() {} func (x *ClientPayload_WebInfo) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[232] + mi := &file_binary_proto_def_proto_msgTypes[273] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23728,7 +28621,7 @@ func (x *ClientPayload_WebInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientPayload_WebInfo.ProtoReflect.Descriptor instead. func (*ClientPayload_WebInfo) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 0} } func (x *ClientPayload_WebInfo) GetRefToken() string { @@ -23779,12 +28672,13 @@ type ClientPayload_UserAgent struct { DeviceBoard *string `protobuf:"bytes,13,opt,name=deviceBoard" json:"deviceBoard,omitempty"` DeviceExpId *string `protobuf:"bytes,14,opt,name=deviceExpId" json:"deviceExpId,omitempty"` DeviceType *ClientPayload_UserAgent_DeviceType `protobuf:"varint,15,opt,name=deviceType,enum=proto.ClientPayload_UserAgent_DeviceType" json:"deviceType,omitempty"` + DeviceModelType *string `protobuf:"bytes,16,opt,name=deviceModelType" json:"deviceModelType,omitempty"` } func (x *ClientPayload_UserAgent) Reset() { *x = ClientPayload_UserAgent{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[233] + mi := &file_binary_proto_def_proto_msgTypes[274] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23797,7 +28691,7 @@ func (x *ClientPayload_UserAgent) String() string { func (*ClientPayload_UserAgent) ProtoMessage() {} func (x *ClientPayload_UserAgent) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[233] + mi := &file_binary_proto_def_proto_msgTypes[274] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23810,7 +28704,7 @@ func (x *ClientPayload_UserAgent) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientPayload_UserAgent.ProtoReflect.Descriptor instead. func (*ClientPayload_UserAgent) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 1} } func (x *ClientPayload_UserAgent) GetPlatform() ClientPayload_UserAgent_Platform { @@ -23918,20 +28812,26 @@ func (x *ClientPayload_UserAgent) GetDeviceType() ClientPayload_UserAgent_Device return ClientPayload_UserAgent_PHONE } +func (x *ClientPayload_UserAgent) GetDeviceModelType() string { + if x != nil && x.DeviceModelType != nil { + return *x.DeviceModelType + } + return "" +} + type ClientPayload_InteropData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AccountId *uint64 `protobuf:"varint,1,opt,name=accountId" json:"accountId,omitempty"` - IntegratorId *uint32 `protobuf:"varint,2,opt,name=integratorId" json:"integratorId,omitempty"` - Token []byte `protobuf:"bytes,3,opt,name=token" json:"token,omitempty"` + AccountId *uint64 `protobuf:"varint,1,opt,name=accountId" json:"accountId,omitempty"` + Token []byte `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` } func (x *ClientPayload_InteropData) Reset() { *x = ClientPayload_InteropData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[234] + mi := &file_binary_proto_def_proto_msgTypes[275] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23944,7 +28844,7 @@ func (x *ClientPayload_InteropData) String() string { func (*ClientPayload_InteropData) ProtoMessage() {} func (x *ClientPayload_InteropData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[234] + mi := &file_binary_proto_def_proto_msgTypes[275] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23957,7 +28857,7 @@ func (x *ClientPayload_InteropData) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientPayload_InteropData.ProtoReflect.Descriptor instead. func (*ClientPayload_InteropData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 2} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 2} } func (x *ClientPayload_InteropData) GetAccountId() uint64 { @@ -23967,13 +28867,6 @@ func (x *ClientPayload_InteropData) GetAccountId() uint64 { return 0 } -func (x *ClientPayload_InteropData) GetIntegratorId() uint32 { - if x != nil && x.IntegratorId != nil { - return *x.IntegratorId - } - return 0 -} - func (x *ClientPayload_InteropData) GetToken() []byte { if x != nil { return x.Token @@ -23999,7 +28892,7 @@ type ClientPayload_DevicePairingRegistrationData struct { func (x *ClientPayload_DevicePairingRegistrationData) Reset() { *x = ClientPayload_DevicePairingRegistrationData{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[235] + mi := &file_binary_proto_def_proto_msgTypes[276] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -24012,7 +28905,7 @@ func (x *ClientPayload_DevicePairingRegistrationData) String() string { func (*ClientPayload_DevicePairingRegistrationData) ProtoMessage() {} func (x *ClientPayload_DevicePairingRegistrationData) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[235] + mi := &file_binary_proto_def_proto_msgTypes[276] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24025,7 +28918,7 @@ func (x *ClientPayload_DevicePairingRegistrationData) ProtoReflect() protoreflec // Deprecated: Use ClientPayload_DevicePairingRegistrationData.ProtoReflect.Descriptor instead. func (*ClientPayload_DevicePairingRegistrationData) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 3} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 3} } func (x *ClientPayload_DevicePairingRegistrationData) GetERegid() []byte { @@ -24096,7 +28989,7 @@ type ClientPayload_DNSSource struct { func (x *ClientPayload_DNSSource) Reset() { *x = ClientPayload_DNSSource{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[236] + mi := &file_binary_proto_def_proto_msgTypes[277] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -24109,7 +29002,7 @@ func (x *ClientPayload_DNSSource) String() string { func (*ClientPayload_DNSSource) ProtoMessage() {} func (x *ClientPayload_DNSSource) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[236] + mi := &file_binary_proto_def_proto_msgTypes[277] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24122,7 +29015,7 @@ func (x *ClientPayload_DNSSource) ProtoReflect() protoreflect.Message { // Deprecated: Use ClientPayload_DNSSource.ProtoReflect.Descriptor instead. func (*ClientPayload_DNSSource) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 4} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 4} } func (x *ClientPayload_DNSSource) GetDnsMethod() ClientPayload_DNSSource_DNSResolutionMethod { @@ -24160,7 +29053,7 @@ type ClientPayload_WebInfo_WebdPayload struct { func (x *ClientPayload_WebInfo_WebdPayload) Reset() { *x = ClientPayload_WebInfo_WebdPayload{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[237] + mi := &file_binary_proto_def_proto_msgTypes[278] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -24173,7 +29066,7 @@ func (x *ClientPayload_WebInfo_WebdPayload) String() string { func (*ClientPayload_WebInfo_WebdPayload) ProtoMessage() {} func (x *ClientPayload_WebInfo_WebdPayload) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[237] + mi := &file_binary_proto_def_proto_msgTypes[278] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24186,7 +29079,7 @@ func (x *ClientPayload_WebInfo_WebdPayload) ProtoReflect() protoreflect.Message // Deprecated: Use ClientPayload_WebInfo_WebdPayload.ProtoReflect.Descriptor instead. func (*ClientPayload_WebInfo_WebdPayload) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 0, 0} } func (x *ClientPayload_WebInfo_WebdPayload) GetUsesParticipantInKey() bool { @@ -24281,7 +29174,7 @@ type ClientPayload_UserAgent_AppVersion struct { func (x *ClientPayload_UserAgent_AppVersion) Reset() { *x = ClientPayload_UserAgent_AppVersion{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[238] + mi := &file_binary_proto_def_proto_msgTypes[279] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -24294,7 +29187,7 @@ func (x *ClientPayload_UserAgent_AppVersion) String() string { func (*ClientPayload_UserAgent_AppVersion) ProtoMessage() {} func (x *ClientPayload_UserAgent_AppVersion) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[238] + mi := &file_binary_proto_def_proto_msgTypes[279] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24307,7 +29200,7 @@ func (x *ClientPayload_UserAgent_AppVersion) ProtoReflect() protoreflect.Message // Deprecated: Use ClientPayload_UserAgent_AppVersion.ProtoReflect.Descriptor instead. func (*ClientPayload_UserAgent_AppVersion) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{191, 1, 0} } func (x *ClientPayload_UserAgent_AppVersion) GetPrimary() uint32 { @@ -24360,7 +29253,7 @@ type NoiseCertificate_Details struct { func (x *NoiseCertificate_Details) Reset() { *x = NoiseCertificate_Details{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[239] + mi := &file_binary_proto_def_proto_msgTypes[280] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -24373,7 +29266,7 @@ func (x *NoiseCertificate_Details) String() string { func (*NoiseCertificate_Details) ProtoMessage() {} func (x *NoiseCertificate_Details) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[239] + mi := &file_binary_proto_def_proto_msgTypes[280] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24386,7 +29279,7 @@ func (x *NoiseCertificate_Details) ProtoReflect() protoreflect.Message { // Deprecated: Use NoiseCertificate_Details.ProtoReflect.Descriptor instead. func (*NoiseCertificate_Details) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{177, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{212, 0} } func (x *NoiseCertificate_Details) GetSerial() uint32 { @@ -24436,7 +29329,7 @@ type CertChain_NoiseCertificate struct { func (x *CertChain_NoiseCertificate) Reset() { *x = CertChain_NoiseCertificate{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[240] + mi := &file_binary_proto_def_proto_msgTypes[281] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -24449,7 +29342,7 @@ func (x *CertChain_NoiseCertificate) String() string { func (*CertChain_NoiseCertificate) ProtoMessage() {} func (x *CertChain_NoiseCertificate) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[240] + mi := &file_binary_proto_def_proto_msgTypes[281] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24462,7 +29355,7 @@ func (x *CertChain_NoiseCertificate) ProtoReflect() protoreflect.Message { // Deprecated: Use CertChain_NoiseCertificate.ProtoReflect.Descriptor instead. func (*CertChain_NoiseCertificate) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{178, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{213, 0} } func (x *CertChain_NoiseCertificate) GetDetails() []byte { @@ -24494,7 +29387,7 @@ type CertChain_NoiseCertificate_Details struct { func (x *CertChain_NoiseCertificate_Details) Reset() { *x = CertChain_NoiseCertificate_Details{} if protoimpl.UnsafeEnabled { - mi := &file_binary_proto_def_proto_msgTypes[241] + mi := &file_binary_proto_def_proto_msgTypes[282] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -24507,7 +29400,7 @@ func (x *CertChain_NoiseCertificate_Details) String() string { func (*CertChain_NoiseCertificate_Details) ProtoMessage() {} func (x *CertChain_NoiseCertificate_Details) ProtoReflect() protoreflect.Message { - mi := &file_binary_proto_def_proto_msgTypes[241] + mi := &file_binary_proto_def_proto_msgTypes[282] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24520,7 +29413,7 @@ func (x *CertChain_NoiseCertificate_Details) ProtoReflect() protoreflect.Message // Deprecated: Use CertChain_NoiseCertificate_Details.ProtoReflect.Descriptor instead. func (*CertChain_NoiseCertificate_Details) Descriptor() ([]byte, []int) { - return file_binary_proto_def_proto_rawDescGZIP(), []int{178, 0, 0} + return file_binary_proto_def_proto_rawDescGZIP(), []int{213, 0, 0} } func (x *CertChain_NoiseCertificate_Details) GetSerial() uint32 { @@ -24558,6 +29451,332 @@ func (x *CertChain_NoiseCertificate_Details) GetNotAfter() uint64 { return 0 } +type QP_Filter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + FilterName *string `protobuf:"bytes,1,req,name=filterName" json:"filterName,omitempty"` + Parameters []*QP_FilterParameters `protobuf:"bytes,2,rep,name=parameters" json:"parameters,omitempty"` + FilterResult *QP_FilterResult `protobuf:"varint,3,opt,name=filterResult,enum=proto.QP_FilterResult" json:"filterResult,omitempty"` + ClientNotSupportedConfig *QP_FilterClientNotSupportedConfig `protobuf:"varint,4,req,name=clientNotSupportedConfig,enum=proto.QP_FilterClientNotSupportedConfig" json:"clientNotSupportedConfig,omitempty"` +} + +func (x *QP_Filter) Reset() { + *x = QP_Filter{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[283] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QP_Filter) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QP_Filter) ProtoMessage() {} + +func (x *QP_Filter) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[283] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QP_Filter.ProtoReflect.Descriptor instead. +func (*QP_Filter) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{214, 0} +} + +func (x *QP_Filter) GetFilterName() string { + if x != nil && x.FilterName != nil { + return *x.FilterName + } + return "" +} + +func (x *QP_Filter) GetParameters() []*QP_FilterParameters { + if x != nil { + return x.Parameters + } + return nil +} + +func (x *QP_Filter) GetFilterResult() QP_FilterResult { + if x != nil && x.FilterResult != nil { + return *x.FilterResult + } + return QP_TRUE +} + +func (x *QP_Filter) GetClientNotSupportedConfig() QP_FilterClientNotSupportedConfig { + if x != nil && x.ClientNotSupportedConfig != nil { + return *x.ClientNotSupportedConfig + } + return QP_PASS_BY_DEFAULT +} + +type QP_FilterParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` +} + +func (x *QP_FilterParameters) Reset() { + *x = QP_FilterParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[284] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QP_FilterParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QP_FilterParameters) ProtoMessage() {} + +func (x *QP_FilterParameters) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[284] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QP_FilterParameters.ProtoReflect.Descriptor instead. +func (*QP_FilterParameters) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{214, 1} +} + +func (x *QP_FilterParameters) GetKey() string { + if x != nil && x.Key != nil { + return *x.Key + } + return "" +} + +func (x *QP_FilterParameters) GetValue() string { + if x != nil && x.Value != nil { + return *x.Value + } + return "" +} + +type QP_FilterClause struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ClauseType *QP_ClauseType `protobuf:"varint,1,req,name=clauseType,enum=proto.QP_ClauseType" json:"clauseType,omitempty"` + Clauses []*QP_FilterClause `protobuf:"bytes,2,rep,name=clauses" json:"clauses,omitempty"` + Filters []*QP_Filter `protobuf:"bytes,3,rep,name=filters" json:"filters,omitempty"` +} + +func (x *QP_FilterClause) Reset() { + *x = QP_FilterClause{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[285] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QP_FilterClause) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QP_FilterClause) ProtoMessage() {} + +func (x *QP_FilterClause) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[285] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use QP_FilterClause.ProtoReflect.Descriptor instead. +func (*QP_FilterClause) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{214, 2} +} + +func (x *QP_FilterClause) GetClauseType() QP_ClauseType { + if x != nil && x.ClauseType != nil { + return *x.ClauseType + } + return QP_AND +} + +func (x *QP_FilterClause) GetClauses() []*QP_FilterClause { + if x != nil { + return x.Clauses + } + return nil +} + +func (x *QP_FilterClause) GetFilters() []*QP_Filter { + if x != nil { + return x.Filters + } + return nil +} + +type UserPassword_TransformerArg struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + Value *UserPassword_TransformerArg_Value `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` +} + +func (x *UserPassword_TransformerArg) Reset() { + *x = UserPassword_TransformerArg{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[286] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserPassword_TransformerArg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserPassword_TransformerArg) ProtoMessage() {} + +func (x *UserPassword_TransformerArg) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[286] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserPassword_TransformerArg.ProtoReflect.Descriptor instead. +func (*UserPassword_TransformerArg) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{217, 0} +} + +func (x *UserPassword_TransformerArg) GetKey() string { + if x != nil && x.Key != nil { + return *x.Key + } + return "" +} + +func (x *UserPassword_TransformerArg) GetValue() *UserPassword_TransformerArg_Value { + if x != nil { + return x.Value + } + return nil +} + +type UserPassword_TransformerArg_Value struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Value: + // + // *UserPassword_TransformerArg_Value_AsBlob + // *UserPassword_TransformerArg_Value_AsUnsignedInteger + Value isUserPassword_TransformerArg_Value_Value `protobuf_oneof:"value"` +} + +func (x *UserPassword_TransformerArg_Value) Reset() { + *x = UserPassword_TransformerArg_Value{} + if protoimpl.UnsafeEnabled { + mi := &file_binary_proto_def_proto_msgTypes[287] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserPassword_TransformerArg_Value) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserPassword_TransformerArg_Value) ProtoMessage() {} + +func (x *UserPassword_TransformerArg_Value) ProtoReflect() protoreflect.Message { + mi := &file_binary_proto_def_proto_msgTypes[287] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserPassword_TransformerArg_Value.ProtoReflect.Descriptor instead. +func (*UserPassword_TransformerArg_Value) Descriptor() ([]byte, []int) { + return file_binary_proto_def_proto_rawDescGZIP(), []int{217, 0, 0} +} + +func (m *UserPassword_TransformerArg_Value) GetValue() isUserPassword_TransformerArg_Value_Value { + if m != nil { + return m.Value + } + return nil +} + +func (x *UserPassword_TransformerArg_Value) GetAsBlob() []byte { + if x, ok := x.GetValue().(*UserPassword_TransformerArg_Value_AsBlob); ok { + return x.AsBlob + } + return nil +} + +func (x *UserPassword_TransformerArg_Value) GetAsUnsignedInteger() uint32 { + if x, ok := x.GetValue().(*UserPassword_TransformerArg_Value_AsUnsignedInteger); ok { + return x.AsUnsignedInteger + } + return 0 +} + +type isUserPassword_TransformerArg_Value_Value interface { + isUserPassword_TransformerArg_Value_Value() +} + +type UserPassword_TransformerArg_Value_AsBlob struct { + AsBlob []byte `protobuf:"bytes,1,opt,name=asBlob,oneof"` +} + +type UserPassword_TransformerArg_Value_AsUnsignedInteger struct { + AsUnsignedInteger uint32 `protobuf:"varint,2,opt,name=asUnsignedInteger,oneof"` +} + +func (*UserPassword_TransformerArg_Value_AsBlob) isUserPassword_TransformerArg_Value_Value() {} + +func (*UserPassword_TransformerArg_Value_AsUnsignedInteger) isUserPassword_TransformerArg_Value_Value() { +} + var File_binary_proto_def_proto protoreflect.FileDescriptor //go:embed def.pb.raw @@ -24575,770 +29794,933 @@ func file_binary_proto_def_proto_rawDescGZIP() []byte { return file_binary_proto_def_proto_rawDescData } -var file_binary_proto_def_proto_enumTypes = make([]protoimpl.EnumInfo, 63) -var file_binary_proto_def_proto_msgTypes = make([]protoimpl.MessageInfo, 242) +var file_binary_proto_def_proto_enumTypes = make([]protoimpl.EnumInfo, 89) +var file_binary_proto_def_proto_msgTypes = make([]protoimpl.MessageInfo, 288) var file_binary_proto_def_proto_goTypes = []interface{}{ (ADVEncryptionType)(0), // 0: proto.ADVEncryptionType (KeepType)(0), // 1: proto.KeepType (PeerDataOperationRequestType)(0), // 2: proto.PeerDataOperationRequestType (MediaVisibility)(0), // 3: proto.MediaVisibility (DeviceProps_PlatformType)(0), // 4: proto.DeviceProps.PlatformType - (ListResponseMessage_ListType)(0), // 5: proto.ListResponseMessage.ListType - (ListMessage_ListType)(0), // 6: proto.ListMessage.ListType - (InvoiceMessage_AttachmentType)(0), // 7: proto.InvoiceMessage.AttachmentType - (InteractiveResponseMessage_Body_Format)(0), // 8: proto.InteractiveResponseMessage.Body.Format - (InteractiveMessage_ShopMessage_Surface)(0), // 9: proto.InteractiveMessage.ShopMessage.Surface - (HistorySyncNotification_HistorySyncType)(0), // 10: proto.HistorySyncNotification.HistorySyncType - (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType)(0), // 11: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType - (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType)(0), // 12: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType - (GroupInviteMessage_GroupType)(0), // 13: proto.GroupInviteMessage.GroupType - (ExtendedTextMessage_PreviewType)(0), // 14: proto.ExtendedTextMessage.PreviewType - (ExtendedTextMessage_InviteLinkGroupType)(0), // 15: proto.ExtendedTextMessage.InviteLinkGroupType - (ExtendedTextMessage_FontType)(0), // 16: proto.ExtendedTextMessage.FontType - (ButtonsResponseMessage_Type)(0), // 17: proto.ButtonsResponseMessage.Type - (ButtonsMessage_HeaderType)(0), // 18: proto.ButtonsMessage.HeaderType - (ButtonsMessage_Button_Type)(0), // 19: proto.ButtonsMessage.Button.Type - (BotFeedbackMessage_BotFeedbackKind)(0), // 20: proto.BotFeedbackMessage.BotFeedbackKind - (DisappearingMode_Trigger)(0), // 21: proto.DisappearingMode.Trigger - (DisappearingMode_Initiator)(0), // 22: proto.DisappearingMode.Initiator - (ContextInfo_ExternalAdReplyInfo_MediaType)(0), // 23: proto.ContextInfo.ExternalAdReplyInfo.MediaType - (ContextInfo_AdReplyInfo_MediaType)(0), // 24: proto.ContextInfo.AdReplyInfo.MediaType - (PaymentBackground_Type)(0), // 25: proto.PaymentBackground.Type - (VideoMessage_Attribution)(0), // 26: proto.VideoMessage.Attribution - (ScheduledCallEditMessage_EditType)(0), // 27: proto.ScheduledCallEditMessage.EditType - (ScheduledCallCreationMessage_CallType)(0), // 28: proto.ScheduledCallCreationMessage.CallType - (ProtocolMessage_Type)(0), // 29: proto.ProtocolMessage.Type - (PinInChatMessage_Type)(0), // 30: proto.PinInChatMessage.Type - (PaymentInviteMessage_ServiceType)(0), // 31: proto.PaymentInviteMessage.ServiceType - (OrderMessage_OrderSurface)(0), // 32: proto.OrderMessage.OrderSurface - (OrderMessage_OrderStatus)(0), // 33: proto.OrderMessage.OrderStatus - (PastParticipant_LeaveReason)(0), // 34: proto.PastParticipant.LeaveReason - (HistorySync_HistorySyncType)(0), // 35: proto.HistorySync.HistorySyncType - (GroupParticipant_Rank)(0), // 36: proto.GroupParticipant.Rank - (Conversation_EndOfHistoryTransferType)(0), // 37: proto.Conversation.EndOfHistoryTransferType - (MediaRetryNotification_ResultType)(0), // 38: proto.MediaRetryNotification.ResultType - (SyncdMutation_SyncdOperation)(0), // 39: proto.SyncdMutation.SyncdOperation - (MarketingMessageAction_MarketingMessagePrototypeType)(0), // 40: proto.MarketingMessageAction.MarketingMessagePrototypeType - (BizIdentityInfo_VerifiedLevelValue)(0), // 41: proto.BizIdentityInfo.VerifiedLevelValue - (BizIdentityInfo_HostStorageType)(0), // 42: proto.BizIdentityInfo.HostStorageType - (BizIdentityInfo_ActualActorsType)(0), // 43: proto.BizIdentityInfo.ActualActorsType - (BizAccountLinkInfo_HostStorageType)(0), // 44: proto.BizAccountLinkInfo.HostStorageType - (BizAccountLinkInfo_AccountType)(0), // 45: proto.BizAccountLinkInfo.AccountType - (ClientPayload_Product)(0), // 46: proto.ClientPayload.Product - (ClientPayload_IOSAppExtension)(0), // 47: proto.ClientPayload.IOSAppExtension - (ClientPayload_ConnectType)(0), // 48: proto.ClientPayload.ConnectType - (ClientPayload_ConnectReason)(0), // 49: proto.ClientPayload.ConnectReason - (ClientPayload_WebInfo_WebSubPlatform)(0), // 50: proto.ClientPayload.WebInfo.WebSubPlatform - (ClientPayload_UserAgent_ReleaseChannel)(0), // 51: proto.ClientPayload.UserAgent.ReleaseChannel - (ClientPayload_UserAgent_Platform)(0), // 52: proto.ClientPayload.UserAgent.Platform - (ClientPayload_UserAgent_DeviceType)(0), // 53: proto.ClientPayload.UserAgent.DeviceType - (ClientPayload_DNSSource_DNSResolutionMethod)(0), // 54: proto.ClientPayload.DNSSource.DNSResolutionMethod - (WebMessageInfo_StubType)(0), // 55: proto.WebMessageInfo.StubType - (WebMessageInfo_Status)(0), // 56: proto.WebMessageInfo.Status - (WebMessageInfo_BizPrivacyStatus)(0), // 57: proto.WebMessageInfo.BizPrivacyStatus - (WebFeatures_Flag)(0), // 58: proto.WebFeatures.Flag - (PinInChat_Type)(0), // 59: proto.PinInChat.Type - (PaymentInfo_TxnStatus)(0), // 60: proto.PaymentInfo.TxnStatus - (PaymentInfo_Status)(0), // 61: proto.PaymentInfo.Status - (PaymentInfo_Currency)(0), // 62: proto.PaymentInfo.Currency - (*ADVSignedKeyIndexList)(nil), // 63: proto.ADVSignedKeyIndexList - (*ADVSignedDeviceIdentity)(nil), // 64: proto.ADVSignedDeviceIdentity - (*ADVSignedDeviceIdentityHMAC)(nil), // 65: proto.ADVSignedDeviceIdentityHMAC - (*ADVKeyIndexList)(nil), // 66: proto.ADVKeyIndexList - (*ADVDeviceIdentity)(nil), // 67: proto.ADVDeviceIdentity - (*DeviceProps)(nil), // 68: proto.DeviceProps - (*LiveLocationMessage)(nil), // 69: proto.LiveLocationMessage - (*ListResponseMessage)(nil), // 70: proto.ListResponseMessage - (*ListMessage)(nil), // 71: proto.ListMessage - (*KeepInChatMessage)(nil), // 72: proto.KeepInChatMessage - (*InvoiceMessage)(nil), // 73: proto.InvoiceMessage - (*InteractiveResponseMessage)(nil), // 74: proto.InteractiveResponseMessage - (*InteractiveMessage)(nil), // 75: proto.InteractiveMessage - (*InitialSecurityNotificationSettingSync)(nil), // 76: proto.InitialSecurityNotificationSettingSync - (*ImageMessage)(nil), // 77: proto.ImageMessage - (*HistorySyncNotification)(nil), // 78: proto.HistorySyncNotification - (*HighlyStructuredMessage)(nil), // 79: proto.HighlyStructuredMessage - (*GroupInviteMessage)(nil), // 80: proto.GroupInviteMessage - (*FutureProofMessage)(nil), // 81: proto.FutureProofMessage - (*ExtendedTextMessage)(nil), // 82: proto.ExtendedTextMessage - (*EncReactionMessage)(nil), // 83: proto.EncReactionMessage - (*EncCommentMessage)(nil), // 84: proto.EncCommentMessage - (*DocumentMessage)(nil), // 85: proto.DocumentMessage - (*DeviceSentMessage)(nil), // 86: proto.DeviceSentMessage - (*DeclinePaymentRequestMessage)(nil), // 87: proto.DeclinePaymentRequestMessage - (*ContactsArrayMessage)(nil), // 88: proto.ContactsArrayMessage - (*ContactMessage)(nil), // 89: proto.ContactMessage - (*Chat)(nil), // 90: proto.Chat - (*CancelPaymentRequestMessage)(nil), // 91: proto.CancelPaymentRequestMessage - (*Call)(nil), // 92: proto.Call - (*ButtonsResponseMessage)(nil), // 93: proto.ButtonsResponseMessage - (*ButtonsMessage)(nil), // 94: proto.ButtonsMessage - (*BotFeedbackMessage)(nil), // 95: proto.BotFeedbackMessage - (*AudioMessage)(nil), // 96: proto.AudioMessage - (*AppStateSyncKey)(nil), // 97: proto.AppStateSyncKey - (*AppStateSyncKeyShare)(nil), // 98: proto.AppStateSyncKeyShare - (*AppStateSyncKeyRequest)(nil), // 99: proto.AppStateSyncKeyRequest - (*AppStateSyncKeyId)(nil), // 100: proto.AppStateSyncKeyId - (*AppStateSyncKeyFingerprint)(nil), // 101: proto.AppStateSyncKeyFingerprint - (*AppStateSyncKeyData)(nil), // 102: proto.AppStateSyncKeyData - (*AppStateFatalExceptionNotification)(nil), // 103: proto.AppStateFatalExceptionNotification - (*Location)(nil), // 104: proto.Location - (*InteractiveAnnotation)(nil), // 105: proto.InteractiveAnnotation - (*HydratedTemplateButton)(nil), // 106: proto.HydratedTemplateButton - (*GroupMention)(nil), // 107: proto.GroupMention - (*DisappearingMode)(nil), // 108: proto.DisappearingMode - (*DeviceListMetadata)(nil), // 109: proto.DeviceListMetadata - (*ContextInfo)(nil), // 110: proto.ContextInfo - (*BotPluginMetadata)(nil), // 111: proto.BotPluginMetadata - (*BotMetadata)(nil), // 112: proto.BotMetadata - (*BotAvatarMetadata)(nil), // 113: proto.BotAvatarMetadata - (*ActionLink)(nil), // 114: proto.ActionLink - (*TemplateButton)(nil), // 115: proto.TemplateButton - (*Point)(nil), // 116: proto.Point - (*PaymentBackground)(nil), // 117: proto.PaymentBackground - (*Money)(nil), // 118: proto.Money - (*Message)(nil), // 119: proto.Message - (*MessageSecretMessage)(nil), // 120: proto.MessageSecretMessage - (*MessageContextInfo)(nil), // 121: proto.MessageContextInfo - (*VideoMessage)(nil), // 122: proto.VideoMessage - (*TemplateMessage)(nil), // 123: proto.TemplateMessage - (*TemplateButtonReplyMessage)(nil), // 124: proto.TemplateButtonReplyMessage - (*StickerSyncRMRMessage)(nil), // 125: proto.StickerSyncRMRMessage - (*StickerMessage)(nil), // 126: proto.StickerMessage - (*SenderKeyDistributionMessage)(nil), // 127: proto.SenderKeyDistributionMessage - (*SendPaymentMessage)(nil), // 128: proto.SendPaymentMessage - (*ScheduledCallEditMessage)(nil), // 129: proto.ScheduledCallEditMessage - (*ScheduledCallCreationMessage)(nil), // 130: proto.ScheduledCallCreationMessage - (*RequestPhoneNumberMessage)(nil), // 131: proto.RequestPhoneNumberMessage - (*RequestPaymentMessage)(nil), // 132: proto.RequestPaymentMessage - (*ReactionMessage)(nil), // 133: proto.ReactionMessage - (*ProtocolMessage)(nil), // 134: proto.ProtocolMessage - (*ProductMessage)(nil), // 135: proto.ProductMessage - (*PollVoteMessage)(nil), // 136: proto.PollVoteMessage - (*PollUpdateMessage)(nil), // 137: proto.PollUpdateMessage - (*PollUpdateMessageMetadata)(nil), // 138: proto.PollUpdateMessageMetadata - (*PollEncValue)(nil), // 139: proto.PollEncValue - (*PollCreationMessage)(nil), // 140: proto.PollCreationMessage - (*PinInChatMessage)(nil), // 141: proto.PinInChatMessage - (*PeerDataOperationRequestResponseMessage)(nil), // 142: proto.PeerDataOperationRequestResponseMessage - (*PeerDataOperationRequestMessage)(nil), // 143: proto.PeerDataOperationRequestMessage - (*PaymentInviteMessage)(nil), // 144: proto.PaymentInviteMessage - (*OrderMessage)(nil), // 145: proto.OrderMessage - (*LocationMessage)(nil), // 146: proto.LocationMessage - (*EphemeralSetting)(nil), // 147: proto.EphemeralSetting - (*WallpaperSettings)(nil), // 148: proto.WallpaperSettings - (*StickerMetadata)(nil), // 149: proto.StickerMetadata - (*Pushname)(nil), // 150: proto.Pushname - (*PastParticipants)(nil), // 151: proto.PastParticipants - (*PastParticipant)(nil), // 152: proto.PastParticipant - (*NotificationSettings)(nil), // 153: proto.NotificationSettings - (*HistorySync)(nil), // 154: proto.HistorySync - (*HistorySyncMsg)(nil), // 155: proto.HistorySyncMsg - (*GroupParticipant)(nil), // 156: proto.GroupParticipant - (*GlobalSettings)(nil), // 157: proto.GlobalSettings - (*Conversation)(nil), // 158: proto.Conversation - (*AvatarUserSettings)(nil), // 159: proto.AvatarUserSettings - (*AutoDownloadSettings)(nil), // 160: proto.AutoDownloadSettings - (*ServerErrorReceipt)(nil), // 161: proto.ServerErrorReceipt - (*MediaRetryNotification)(nil), // 162: proto.MediaRetryNotification - (*MessageKey)(nil), // 163: proto.MessageKey - (*SyncdVersion)(nil), // 164: proto.SyncdVersion - (*SyncdValue)(nil), // 165: proto.SyncdValue - (*SyncdSnapshot)(nil), // 166: proto.SyncdSnapshot - (*SyncdRecord)(nil), // 167: proto.SyncdRecord - (*SyncdPatch)(nil), // 168: proto.SyncdPatch - (*SyncdMutations)(nil), // 169: proto.SyncdMutations - (*SyncdMutation)(nil), // 170: proto.SyncdMutation - (*SyncdIndex)(nil), // 171: proto.SyncdIndex - (*KeyId)(nil), // 172: proto.KeyId - (*ExternalBlobReference)(nil), // 173: proto.ExternalBlobReference - (*ExitCode)(nil), // 174: proto.ExitCode - (*SyncActionValue)(nil), // 175: proto.SyncActionValue - (*UserStatusMuteAction)(nil), // 176: proto.UserStatusMuteAction - (*UnarchiveChatsSetting)(nil), // 177: proto.UnarchiveChatsSetting - (*TimeFormatAction)(nil), // 178: proto.TimeFormatAction - (*SyncActionMessage)(nil), // 179: proto.SyncActionMessage - (*SyncActionMessageRange)(nil), // 180: proto.SyncActionMessageRange - (*SubscriptionAction)(nil), // 181: proto.SubscriptionAction - (*StickerAction)(nil), // 182: proto.StickerAction - (*StarAction)(nil), // 183: proto.StarAction - (*SecurityNotificationSetting)(nil), // 184: proto.SecurityNotificationSetting - (*RemoveRecentStickerAction)(nil), // 185: proto.RemoveRecentStickerAction - (*RecentEmojiWeightsAction)(nil), // 186: proto.RecentEmojiWeightsAction - (*QuickReplyAction)(nil), // 187: proto.QuickReplyAction - (*PushNameSetting)(nil), // 188: proto.PushNameSetting - (*PrivacySettingRelayAllCalls)(nil), // 189: proto.PrivacySettingRelayAllCalls - (*PrimaryVersionAction)(nil), // 190: proto.PrimaryVersionAction - (*PrimaryFeature)(nil), // 191: proto.PrimaryFeature - (*PnForLidChatAction)(nil), // 192: proto.PnForLidChatAction - (*PinAction)(nil), // 193: proto.PinAction - (*NuxAction)(nil), // 194: proto.NuxAction - (*MuteAction)(nil), // 195: proto.MuteAction - (*MarketingMessageBroadcastAction)(nil), // 196: proto.MarketingMessageBroadcastAction - (*MarketingMessageAction)(nil), // 197: proto.MarketingMessageAction - (*MarkChatAsReadAction)(nil), // 198: proto.MarkChatAsReadAction - (*LocaleSetting)(nil), // 199: proto.LocaleSetting - (*LabelEditAction)(nil), // 200: proto.LabelEditAction - (*LabelAssociationAction)(nil), // 201: proto.LabelAssociationAction - (*KeyExpiration)(nil), // 202: proto.KeyExpiration - (*ExternalWebBetaAction)(nil), // 203: proto.ExternalWebBetaAction - (*DeleteMessageForMeAction)(nil), // 204: proto.DeleteMessageForMeAction - (*DeleteChatAction)(nil), // 205: proto.DeleteChatAction - (*ContactAction)(nil), // 206: proto.ContactAction - (*ClearChatAction)(nil), // 207: proto.ClearChatAction - (*ChatAssignmentOpenedStatusAction)(nil), // 208: proto.ChatAssignmentOpenedStatusAction - (*ChatAssignmentAction)(nil), // 209: proto.ChatAssignmentAction - (*ArchiveChatAction)(nil), // 210: proto.ArchiveChatAction - (*AndroidUnsupportedActions)(nil), // 211: proto.AndroidUnsupportedActions - (*AgentAction)(nil), // 212: proto.AgentAction - (*SyncActionData)(nil), // 213: proto.SyncActionData - (*RecentEmojiWeight)(nil), // 214: proto.RecentEmojiWeight - (*VerifiedNameCertificate)(nil), // 215: proto.VerifiedNameCertificate - (*LocalizedName)(nil), // 216: proto.LocalizedName - (*BizIdentityInfo)(nil), // 217: proto.BizIdentityInfo - (*BizAccountPayload)(nil), // 218: proto.BizAccountPayload - (*BizAccountLinkInfo)(nil), // 219: proto.BizAccountLinkInfo - (*HandshakeMessage)(nil), // 220: proto.HandshakeMessage - (*HandshakeServerHello)(nil), // 221: proto.HandshakeServerHello - (*HandshakeClientHello)(nil), // 222: proto.HandshakeClientHello - (*HandshakeClientFinish)(nil), // 223: proto.HandshakeClientFinish - (*ClientPayload)(nil), // 224: proto.ClientPayload - (*WebNotificationsInfo)(nil), // 225: proto.WebNotificationsInfo - (*WebMessageInfo)(nil), // 226: proto.WebMessageInfo - (*WebFeatures)(nil), // 227: proto.WebFeatures - (*UserReceipt)(nil), // 228: proto.UserReceipt - (*StatusPSA)(nil), // 229: proto.StatusPSA - (*Reaction)(nil), // 230: proto.Reaction - (*PollUpdate)(nil), // 231: proto.PollUpdate - (*PollAdditionalMetadata)(nil), // 232: proto.PollAdditionalMetadata - (*PinInChat)(nil), // 233: proto.PinInChat - (*PhotoChange)(nil), // 234: proto.PhotoChange - (*PaymentInfo)(nil), // 235: proto.PaymentInfo - (*NotificationMessageInfo)(nil), // 236: proto.NotificationMessageInfo - (*MessageAddOnContextInfo)(nil), // 237: proto.MessageAddOnContextInfo - (*MediaData)(nil), // 238: proto.MediaData - (*KeepInChat)(nil), // 239: proto.KeepInChat - (*NoiseCertificate)(nil), // 240: proto.NoiseCertificate - (*CertChain)(nil), // 241: proto.CertChain - (*DeviceProps_HistorySyncConfig)(nil), // 242: proto.DeviceProps.HistorySyncConfig - (*DeviceProps_AppVersion)(nil), // 243: proto.DeviceProps.AppVersion - (*ListResponseMessage_SingleSelectReply)(nil), // 244: proto.ListResponseMessage.SingleSelectReply - (*ListMessage_Section)(nil), // 245: proto.ListMessage.Section - (*ListMessage_Row)(nil), // 246: proto.ListMessage.Row - (*ListMessage_Product)(nil), // 247: proto.ListMessage.Product - (*ListMessage_ProductSection)(nil), // 248: proto.ListMessage.ProductSection - (*ListMessage_ProductListInfo)(nil), // 249: proto.ListMessage.ProductListInfo - (*ListMessage_ProductListHeaderImage)(nil), // 250: proto.ListMessage.ProductListHeaderImage - (*InteractiveResponseMessage_NativeFlowResponseMessage)(nil), // 251: proto.InteractiveResponseMessage.NativeFlowResponseMessage - (*InteractiveResponseMessage_Body)(nil), // 252: proto.InteractiveResponseMessage.Body - (*InteractiveMessage_ShopMessage)(nil), // 253: proto.InteractiveMessage.ShopMessage - (*InteractiveMessage_NativeFlowMessage)(nil), // 254: proto.InteractiveMessage.NativeFlowMessage - (*InteractiveMessage_Header)(nil), // 255: proto.InteractiveMessage.Header - (*InteractiveMessage_Footer)(nil), // 256: proto.InteractiveMessage.Footer - (*InteractiveMessage_CollectionMessage)(nil), // 257: proto.InteractiveMessage.CollectionMessage - (*InteractiveMessage_CarouselMessage)(nil), // 258: proto.InteractiveMessage.CarouselMessage - (*InteractiveMessage_Body)(nil), // 259: proto.InteractiveMessage.Body - (*InteractiveMessage_NativeFlowMessage_NativeFlowButton)(nil), // 260: proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton - (*HighlyStructuredMessage_HSMLocalizableParameter)(nil), // 261: proto.HighlyStructuredMessage.HSMLocalizableParameter - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime)(nil), // 262: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency)(nil), // 263: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch)(nil), // 264: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch - (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent)(nil), // 265: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent - (*ButtonsMessage_Button)(nil), // 266: proto.ButtonsMessage.Button - (*ButtonsMessage_Button_NativeFlowInfo)(nil), // 267: proto.ButtonsMessage.Button.NativeFlowInfo - (*ButtonsMessage_Button_ButtonText)(nil), // 268: proto.ButtonsMessage.Button.ButtonText - (*HydratedTemplateButton_HydratedURLButton)(nil), // 269: proto.HydratedTemplateButton.HydratedURLButton - (*HydratedTemplateButton_HydratedQuickReplyButton)(nil), // 270: proto.HydratedTemplateButton.HydratedQuickReplyButton - (*HydratedTemplateButton_HydratedCallButton)(nil), // 271: proto.HydratedTemplateButton.HydratedCallButton - (*ContextInfo_UTMInfo)(nil), // 272: proto.ContextInfo.UTMInfo - (*ContextInfo_ForwardedNewsletterMessageInfo)(nil), // 273: proto.ContextInfo.ForwardedNewsletterMessageInfo - (*ContextInfo_ExternalAdReplyInfo)(nil), // 274: proto.ContextInfo.ExternalAdReplyInfo - (*ContextInfo_BusinessMessageForwardInfo)(nil), // 275: proto.ContextInfo.BusinessMessageForwardInfo - (*ContextInfo_AdReplyInfo)(nil), // 276: proto.ContextInfo.AdReplyInfo - (*TemplateButton_URLButton)(nil), // 277: proto.TemplateButton.URLButton - (*TemplateButton_QuickReplyButton)(nil), // 278: proto.TemplateButton.QuickReplyButton - (*TemplateButton_CallButton)(nil), // 279: proto.TemplateButton.CallButton - (*PaymentBackground_MediaData)(nil), // 280: proto.PaymentBackground.MediaData - (*TemplateMessage_HydratedFourRowTemplate)(nil), // 281: proto.TemplateMessage.HydratedFourRowTemplate - (*TemplateMessage_FourRowTemplate)(nil), // 282: proto.TemplateMessage.FourRowTemplate - (*ProductMessage_ProductSnapshot)(nil), // 283: proto.ProductMessage.ProductSnapshot - (*ProductMessage_CatalogSnapshot)(nil), // 284: proto.ProductMessage.CatalogSnapshot - (*PollCreationMessage_Option)(nil), // 285: proto.PollCreationMessage.Option - (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult)(nil), // 286: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult - (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse)(nil), // 287: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse - (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse)(nil), // 288: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse - (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail)(nil), // 289: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail - (*PeerDataOperationRequestMessage_RequestUrlPreview)(nil), // 290: proto.PeerDataOperationRequestMessage.RequestUrlPreview - (*PeerDataOperationRequestMessage_RequestStickerReupload)(nil), // 291: proto.PeerDataOperationRequestMessage.RequestStickerReupload - (*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest)(nil), // 292: proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest - (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest)(nil), // 293: proto.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest - (*VerifiedNameCertificate_Details)(nil), // 294: proto.VerifiedNameCertificate.Details - (*ClientPayload_WebInfo)(nil), // 295: proto.ClientPayload.WebInfo - (*ClientPayload_UserAgent)(nil), // 296: proto.ClientPayload.UserAgent - (*ClientPayload_InteropData)(nil), // 297: proto.ClientPayload.InteropData - (*ClientPayload_DevicePairingRegistrationData)(nil), // 298: proto.ClientPayload.DevicePairingRegistrationData - (*ClientPayload_DNSSource)(nil), // 299: proto.ClientPayload.DNSSource - (*ClientPayload_WebInfo_WebdPayload)(nil), // 300: proto.ClientPayload.WebInfo.WebdPayload - (*ClientPayload_UserAgent_AppVersion)(nil), // 301: proto.ClientPayload.UserAgent.AppVersion - (*NoiseCertificate_Details)(nil), // 302: proto.NoiseCertificate.Details - (*CertChain_NoiseCertificate)(nil), // 303: proto.CertChain.NoiseCertificate - (*CertChain_NoiseCertificate_Details)(nil), // 304: proto.CertChain.NoiseCertificate.Details + (ImageMessage_ImageSourceType)(0), // 5: proto.ImageMessage.ImageSourceType + (HistorySyncNotification_HistorySyncType)(0), // 6: proto.HistorySyncNotification.HistorySyncType + (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType)(0), // 7: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType + (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType)(0), // 8: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType + (GroupInviteMessage_GroupType)(0), // 9: proto.GroupInviteMessage.GroupType + (ExtendedTextMessage_PreviewType)(0), // 10: proto.ExtendedTextMessage.PreviewType + (ExtendedTextMessage_InviteLinkGroupType)(0), // 11: proto.ExtendedTextMessage.InviteLinkGroupType + (ExtendedTextMessage_FontType)(0), // 12: proto.ExtendedTextMessage.FontType + (EventResponseMessage_EventResponseType)(0), // 13: proto.EventResponseMessage.EventResponseType + (CallLogMessage_CallType)(0), // 14: proto.CallLogMessage.CallType + (CallLogMessage_CallOutcome)(0), // 15: proto.CallLogMessage.CallOutcome + (ButtonsResponseMessage_Type)(0), // 16: proto.ButtonsResponseMessage.Type + (ButtonsMessage_HeaderType)(0), // 17: proto.ButtonsMessage.HeaderType + (ButtonsMessage_Button_Type)(0), // 18: proto.ButtonsMessage.Button.Type + (BotFeedbackMessage_BotFeedbackKindMultiplePositive)(0), // 19: proto.BotFeedbackMessage.BotFeedbackKindMultiplePositive + (BotFeedbackMessage_BotFeedbackKindMultipleNegative)(0), // 20: proto.BotFeedbackMessage.BotFeedbackKindMultipleNegative + (BotFeedbackMessage_BotFeedbackKind)(0), // 21: proto.BotFeedbackMessage.BotFeedbackKind + (BCallMessage_MediaType)(0), // 22: proto.BCallMessage.MediaType + (HydratedTemplateButton_HydratedURLButton_WebviewPresentationType)(0), // 23: proto.HydratedTemplateButton.HydratedURLButton.WebviewPresentationType + (DisappearingMode_Trigger)(0), // 24: proto.DisappearingMode.Trigger + (DisappearingMode_Initiator)(0), // 25: proto.DisappearingMode.Initiator + (ContextInfo_ExternalAdReplyInfo_MediaType)(0), // 26: proto.ContextInfo.ExternalAdReplyInfo.MediaType + (ContextInfo_AdReplyInfo_MediaType)(0), // 27: proto.ContextInfo.AdReplyInfo.MediaType + (ForwardedNewsletterMessageInfo_ContentType)(0), // 28: proto.ForwardedNewsletterMessageInfo.ContentType + (BotPluginMetadata_SearchProvider)(0), // 29: proto.BotPluginMetadata.SearchProvider + (BotPluginMetadata_PluginType)(0), // 30: proto.BotPluginMetadata.PluginType + (PaymentBackground_Type)(0), // 31: proto.PaymentBackground.Type + (VideoMessage_Attribution)(0), // 32: proto.VideoMessage.Attribution + (SecretEncryptedMessage_SecretEncType)(0), // 33: proto.SecretEncryptedMessage.SecretEncType + (ScheduledCallEditMessage_EditType)(0), // 34: proto.ScheduledCallEditMessage.EditType + (ScheduledCallCreationMessage_CallType)(0), // 35: proto.ScheduledCallCreationMessage.CallType + (RequestWelcomeMessageMetadata_LocalChatState)(0), // 36: proto.RequestWelcomeMessageMetadata.LocalChatState + (ProtocolMessage_Type)(0), // 37: proto.ProtocolMessage.Type + (PlaceholderMessage_PlaceholderType)(0), // 38: proto.PlaceholderMessage.PlaceholderType + (PinInChatMessage_Type)(0), // 39: proto.PinInChatMessage.Type + (PaymentInviteMessage_ServiceType)(0), // 40: proto.PaymentInviteMessage.ServiceType + (OrderMessage_OrderSurface)(0), // 41: proto.OrderMessage.OrderSurface + (OrderMessage_OrderStatus)(0), // 42: proto.OrderMessage.OrderStatus + (ListResponseMessage_ListType)(0), // 43: proto.ListResponseMessage.ListType + (ListMessage_ListType)(0), // 44: proto.ListMessage.ListType + (InvoiceMessage_AttachmentType)(0), // 45: proto.InvoiceMessage.AttachmentType + (InteractiveResponseMessage_Body_Format)(0), // 46: proto.InteractiveResponseMessage.Body.Format + (InteractiveMessage_ShopMessage_Surface)(0), // 47: proto.InteractiveMessage.ShopMessage.Surface + (PastParticipant_LeaveReason)(0), // 48: proto.PastParticipant.LeaveReason + (HistorySync_HistorySyncType)(0), // 49: proto.HistorySync.HistorySyncType + (HistorySync_BotAIWaitListState)(0), // 50: proto.HistorySync.BotAIWaitListState + (GroupParticipant_Rank)(0), // 51: proto.GroupParticipant.Rank + (Conversation_EndOfHistoryTransferType)(0), // 52: proto.Conversation.EndOfHistoryTransferType + (MediaRetryNotification_ResultType)(0), // 53: proto.MediaRetryNotification.ResultType + (SyncdMutation_SyncdOperation)(0), // 54: proto.SyncdMutation.SyncdOperation + (StatusPrivacyAction_StatusDistributionMode)(0), // 55: proto.StatusPrivacyAction.StatusDistributionMode + (MarketingMessageAction_MarketingMessagePrototypeType)(0), // 56: proto.MarketingMessageAction.MarketingMessagePrototypeType + (PatchDebugData_Platform)(0), // 57: proto.PatchDebugData.Platform + (CallLogRecord_SilenceReason)(0), // 58: proto.CallLogRecord.SilenceReason + (CallLogRecord_CallType)(0), // 59: proto.CallLogRecord.CallType + (CallLogRecord_CallResult)(0), // 60: proto.CallLogRecord.CallResult + (BizIdentityInfo_VerifiedLevelValue)(0), // 61: proto.BizIdentityInfo.VerifiedLevelValue + (BizIdentityInfo_HostStorageType)(0), // 62: proto.BizIdentityInfo.HostStorageType + (BizIdentityInfo_ActualActorsType)(0), // 63: proto.BizIdentityInfo.ActualActorsType + (BizAccountLinkInfo_HostStorageType)(0), // 64: proto.BizAccountLinkInfo.HostStorageType + (BizAccountLinkInfo_AccountType)(0), // 65: proto.BizAccountLinkInfo.AccountType + (ClientPayload_Product)(0), // 66: proto.ClientPayload.Product + (ClientPayload_IOSAppExtension)(0), // 67: proto.ClientPayload.IOSAppExtension + (ClientPayload_ConnectType)(0), // 68: proto.ClientPayload.ConnectType + (ClientPayload_ConnectReason)(0), // 69: proto.ClientPayload.ConnectReason + (ClientPayload_WebInfo_WebSubPlatform)(0), // 70: proto.ClientPayload.WebInfo.WebSubPlatform + (ClientPayload_UserAgent_ReleaseChannel)(0), // 71: proto.ClientPayload.UserAgent.ReleaseChannel + (ClientPayload_UserAgent_Platform)(0), // 72: proto.ClientPayload.UserAgent.Platform + (ClientPayload_UserAgent_DeviceType)(0), // 73: proto.ClientPayload.UserAgent.DeviceType + (ClientPayload_DNSSource_DNSResolutionMethod)(0), // 74: proto.ClientPayload.DNSSource.DNSResolutionMethod + (WebMessageInfo_StubType)(0), // 75: proto.WebMessageInfo.StubType + (WebMessageInfo_Status)(0), // 76: proto.WebMessageInfo.Status + (WebMessageInfo_BizPrivacyStatus)(0), // 77: proto.WebMessageInfo.BizPrivacyStatus + (WebFeatures_Flag)(0), // 78: proto.WebFeatures.Flag + (PinInChat_Type)(0), // 79: proto.PinInChat.Type + (PaymentInfo_TxnStatus)(0), // 80: proto.PaymentInfo.TxnStatus + (PaymentInfo_Status)(0), // 81: proto.PaymentInfo.Status + (PaymentInfo_Currency)(0), // 82: proto.PaymentInfo.Currency + (QP_FilterResult)(0), // 83: proto.QP.FilterResult + (QP_FilterClientNotSupportedConfig)(0), // 84: proto.QP.FilterClientNotSupportedConfig + (QP_ClauseType)(0), // 85: proto.QP.ClauseType + (DeviceCapabilities_ChatLockSupportLevel)(0), // 86: proto.DeviceCapabilities.ChatLockSupportLevel + (UserPassword_Transformer)(0), // 87: proto.UserPassword.Transformer + (UserPassword_Encoding)(0), // 88: proto.UserPassword.Encoding + (*ADVSignedKeyIndexList)(nil), // 89: proto.ADVSignedKeyIndexList + (*ADVSignedDeviceIdentity)(nil), // 90: proto.ADVSignedDeviceIdentity + (*ADVSignedDeviceIdentityHMAC)(nil), // 91: proto.ADVSignedDeviceIdentityHMAC + (*ADVKeyIndexList)(nil), // 92: proto.ADVKeyIndexList + (*ADVDeviceIdentity)(nil), // 93: proto.ADVDeviceIdentity + (*DeviceProps)(nil), // 94: proto.DeviceProps + (*InitialSecurityNotificationSettingSync)(nil), // 95: proto.InitialSecurityNotificationSettingSync + (*ImageMessage)(nil), // 96: proto.ImageMessage + (*HistorySyncNotification)(nil), // 97: proto.HistorySyncNotification + (*HighlyStructuredMessage)(nil), // 98: proto.HighlyStructuredMessage + (*GroupInviteMessage)(nil), // 99: proto.GroupInviteMessage + (*FutureProofMessage)(nil), // 100: proto.FutureProofMessage + (*ExtendedTextMessage)(nil), // 101: proto.ExtendedTextMessage + (*EventResponseMessage)(nil), // 102: proto.EventResponseMessage + (*EventMessage)(nil), // 103: proto.EventMessage + (*EncReactionMessage)(nil), // 104: proto.EncReactionMessage + (*EncEventResponseMessage)(nil), // 105: proto.EncEventResponseMessage + (*EncCommentMessage)(nil), // 106: proto.EncCommentMessage + (*DocumentMessage)(nil), // 107: proto.DocumentMessage + (*DeviceSentMessage)(nil), // 108: proto.DeviceSentMessage + (*DeclinePaymentRequestMessage)(nil), // 109: proto.DeclinePaymentRequestMessage + (*ContactsArrayMessage)(nil), // 110: proto.ContactsArrayMessage + (*ContactMessage)(nil), // 111: proto.ContactMessage + (*CommentMessage)(nil), // 112: proto.CommentMessage + (*Chat)(nil), // 113: proto.Chat + (*CancelPaymentRequestMessage)(nil), // 114: proto.CancelPaymentRequestMessage + (*Call)(nil), // 115: proto.Call + (*CallLogMessage)(nil), // 116: proto.CallLogMessage + (*ButtonsResponseMessage)(nil), // 117: proto.ButtonsResponseMessage + (*ButtonsMessage)(nil), // 118: proto.ButtonsMessage + (*BotFeedbackMessage)(nil), // 119: proto.BotFeedbackMessage + (*BCallMessage)(nil), // 120: proto.BCallMessage + (*AudioMessage)(nil), // 121: proto.AudioMessage + (*AppStateSyncKey)(nil), // 122: proto.AppStateSyncKey + (*AppStateSyncKeyShare)(nil), // 123: proto.AppStateSyncKeyShare + (*AppStateSyncKeyRequest)(nil), // 124: proto.AppStateSyncKeyRequest + (*AppStateSyncKeyId)(nil), // 125: proto.AppStateSyncKeyId + (*AppStateSyncKeyFingerprint)(nil), // 126: proto.AppStateSyncKeyFingerprint + (*AppStateSyncKeyData)(nil), // 127: proto.AppStateSyncKeyData + (*AppStateFatalExceptionNotification)(nil), // 128: proto.AppStateFatalExceptionNotification + (*MediaNotifyMessage)(nil), // 129: proto.MediaNotifyMessage + (*Location)(nil), // 130: proto.Location + (*InteractiveAnnotation)(nil), // 131: proto.InteractiveAnnotation + (*HydratedTemplateButton)(nil), // 132: proto.HydratedTemplateButton + (*GroupMention)(nil), // 133: proto.GroupMention + (*DisappearingMode)(nil), // 134: proto.DisappearingMode + (*DeviceListMetadata)(nil), // 135: proto.DeviceListMetadata + (*ContextInfo)(nil), // 136: proto.ContextInfo + (*ForwardedNewsletterMessageInfo)(nil), // 137: proto.ForwardedNewsletterMessageInfo + (*BotSuggestedPromptMetadata)(nil), // 138: proto.BotSuggestedPromptMetadata + (*BotSearchMetadata)(nil), // 139: proto.BotSearchMetadata + (*BotPluginMetadata)(nil), // 140: proto.BotPluginMetadata + (*BotMetadata)(nil), // 141: proto.BotMetadata + (*BotAvatarMetadata)(nil), // 142: proto.BotAvatarMetadata + (*ActionLink)(nil), // 143: proto.ActionLink + (*TemplateButton)(nil), // 144: proto.TemplateButton + (*Point)(nil), // 145: proto.Point + (*PaymentBackground)(nil), // 146: proto.PaymentBackground + (*Money)(nil), // 147: proto.Money + (*Message)(nil), // 148: proto.Message + (*MessageSecretMessage)(nil), // 149: proto.MessageSecretMessage + (*MessageContextInfo)(nil), // 150: proto.MessageContextInfo + (*VideoMessage)(nil), // 151: proto.VideoMessage + (*TemplateMessage)(nil), // 152: proto.TemplateMessage + (*TemplateButtonReplyMessage)(nil), // 153: proto.TemplateButtonReplyMessage + (*StickerSyncRMRMessage)(nil), // 154: proto.StickerSyncRMRMessage + (*StickerMessage)(nil), // 155: proto.StickerMessage + (*SenderKeyDistributionMessage)(nil), // 156: proto.SenderKeyDistributionMessage + (*SendPaymentMessage)(nil), // 157: proto.SendPaymentMessage + (*SecretEncryptedMessage)(nil), // 158: proto.SecretEncryptedMessage + (*ScheduledCallEditMessage)(nil), // 159: proto.ScheduledCallEditMessage + (*ScheduledCallCreationMessage)(nil), // 160: proto.ScheduledCallCreationMessage + (*RequestWelcomeMessageMetadata)(nil), // 161: proto.RequestWelcomeMessageMetadata + (*RequestPhoneNumberMessage)(nil), // 162: proto.RequestPhoneNumberMessage + (*RequestPaymentMessage)(nil), // 163: proto.RequestPaymentMessage + (*ReactionMessage)(nil), // 164: proto.ReactionMessage + (*ProtocolMessage)(nil), // 165: proto.ProtocolMessage + (*ProductMessage)(nil), // 166: proto.ProductMessage + (*PollVoteMessage)(nil), // 167: proto.PollVoteMessage + (*PollUpdateMessage)(nil), // 168: proto.PollUpdateMessage + (*PollUpdateMessageMetadata)(nil), // 169: proto.PollUpdateMessageMetadata + (*PollEncValue)(nil), // 170: proto.PollEncValue + (*PollCreationMessage)(nil), // 171: proto.PollCreationMessage + (*PlaceholderMessage)(nil), // 172: proto.PlaceholderMessage + (*PinInChatMessage)(nil), // 173: proto.PinInChatMessage + (*PeerDataOperationRequestResponseMessage)(nil), // 174: proto.PeerDataOperationRequestResponseMessage + (*PeerDataOperationRequestMessage)(nil), // 175: proto.PeerDataOperationRequestMessage + (*PaymentInviteMessage)(nil), // 176: proto.PaymentInviteMessage + (*OrderMessage)(nil), // 177: proto.OrderMessage + (*NewsletterAdminInviteMessage)(nil), // 178: proto.NewsletterAdminInviteMessage + (*MessageHistoryBundle)(nil), // 179: proto.MessageHistoryBundle + (*LocationMessage)(nil), // 180: proto.LocationMessage + (*LiveLocationMessage)(nil), // 181: proto.LiveLocationMessage + (*ListResponseMessage)(nil), // 182: proto.ListResponseMessage + (*ListMessage)(nil), // 183: proto.ListMessage + (*KeepInChatMessage)(nil), // 184: proto.KeepInChatMessage + (*InvoiceMessage)(nil), // 185: proto.InvoiceMessage + (*InteractiveResponseMessage)(nil), // 186: proto.InteractiveResponseMessage + (*InteractiveMessage)(nil), // 187: proto.InteractiveMessage + (*EphemeralSetting)(nil), // 188: proto.EphemeralSetting + (*WallpaperSettings)(nil), // 189: proto.WallpaperSettings + (*StickerMetadata)(nil), // 190: proto.StickerMetadata + (*Pushname)(nil), // 191: proto.Pushname + (*PhoneNumberToLIDMapping)(nil), // 192: proto.PhoneNumberToLIDMapping + (*PastParticipants)(nil), // 193: proto.PastParticipants + (*PastParticipant)(nil), // 194: proto.PastParticipant + (*NotificationSettings)(nil), // 195: proto.NotificationSettings + (*HistorySync)(nil), // 196: proto.HistorySync + (*HistorySyncMsg)(nil), // 197: proto.HistorySyncMsg + (*GroupParticipant)(nil), // 198: proto.GroupParticipant + (*GlobalSettings)(nil), // 199: proto.GlobalSettings + (*Conversation)(nil), // 200: proto.Conversation + (*AvatarUserSettings)(nil), // 201: proto.AvatarUserSettings + (*AutoDownloadSettings)(nil), // 202: proto.AutoDownloadSettings + (*ServerErrorReceipt)(nil), // 203: proto.ServerErrorReceipt + (*MediaRetryNotification)(nil), // 204: proto.MediaRetryNotification + (*MessageKey)(nil), // 205: proto.MessageKey + (*SyncdVersion)(nil), // 206: proto.SyncdVersion + (*SyncdValue)(nil), // 207: proto.SyncdValue + (*SyncdSnapshot)(nil), // 208: proto.SyncdSnapshot + (*SyncdRecord)(nil), // 209: proto.SyncdRecord + (*SyncdPatch)(nil), // 210: proto.SyncdPatch + (*SyncdMutations)(nil), // 211: proto.SyncdMutations + (*SyncdMutation)(nil), // 212: proto.SyncdMutation + (*SyncdIndex)(nil), // 213: proto.SyncdIndex + (*KeyId)(nil), // 214: proto.KeyId + (*ExternalBlobReference)(nil), // 215: proto.ExternalBlobReference + (*ExitCode)(nil), // 216: proto.ExitCode + (*SyncActionValue)(nil), // 217: proto.SyncActionValue + (*WamoUserIdentifierAction)(nil), // 218: proto.WamoUserIdentifierAction + (*UserStatusMuteAction)(nil), // 219: proto.UserStatusMuteAction + (*UnarchiveChatsSetting)(nil), // 220: proto.UnarchiveChatsSetting + (*TimeFormatAction)(nil), // 221: proto.TimeFormatAction + (*SyncActionMessage)(nil), // 222: proto.SyncActionMessage + (*SyncActionMessageRange)(nil), // 223: proto.SyncActionMessageRange + (*SubscriptionAction)(nil), // 224: proto.SubscriptionAction + (*StickerAction)(nil), // 225: proto.StickerAction + (*StatusPrivacyAction)(nil), // 226: proto.StatusPrivacyAction + (*StarAction)(nil), // 227: proto.StarAction + (*SecurityNotificationSetting)(nil), // 228: proto.SecurityNotificationSetting + (*RemoveRecentStickerAction)(nil), // 229: proto.RemoveRecentStickerAction + (*RecentEmojiWeightsAction)(nil), // 230: proto.RecentEmojiWeightsAction + (*QuickReplyAction)(nil), // 231: proto.QuickReplyAction + (*PushNameSetting)(nil), // 232: proto.PushNameSetting + (*PrivacySettingRelayAllCalls)(nil), // 233: proto.PrivacySettingRelayAllCalls + (*PrivacySettingDisableLinkPreviewsAction)(nil), // 234: proto.PrivacySettingDisableLinkPreviewsAction + (*PrimaryVersionAction)(nil), // 235: proto.PrimaryVersionAction + (*PrimaryFeature)(nil), // 236: proto.PrimaryFeature + (*PnForLidChatAction)(nil), // 237: proto.PnForLidChatAction + (*PinAction)(nil), // 238: proto.PinAction + (*PaymentInfoAction)(nil), // 239: proto.PaymentInfoAction + (*NuxAction)(nil), // 240: proto.NuxAction + (*MuteAction)(nil), // 241: proto.MuteAction + (*MarketingMessageBroadcastAction)(nil), // 242: proto.MarketingMessageBroadcastAction + (*MarketingMessageAction)(nil), // 243: proto.MarketingMessageAction + (*MarkChatAsReadAction)(nil), // 244: proto.MarkChatAsReadAction + (*LockChatAction)(nil), // 245: proto.LockChatAction + (*LocaleSetting)(nil), // 246: proto.LocaleSetting + (*LabelReorderingAction)(nil), // 247: proto.LabelReorderingAction + (*LabelEditAction)(nil), // 248: proto.LabelEditAction + (*LabelAssociationAction)(nil), // 249: proto.LabelAssociationAction + (*KeyExpiration)(nil), // 250: proto.KeyExpiration + (*ExternalWebBetaAction)(nil), // 251: proto.ExternalWebBetaAction + (*DeleteMessageForMeAction)(nil), // 252: proto.DeleteMessageForMeAction + (*DeleteIndividualCallLogAction)(nil), // 253: proto.DeleteIndividualCallLogAction + (*DeleteChatAction)(nil), // 254: proto.DeleteChatAction + (*CustomPaymentMethodsAction)(nil), // 255: proto.CustomPaymentMethodsAction + (*CustomPaymentMethod)(nil), // 256: proto.CustomPaymentMethod + (*CustomPaymentMethodMetadata)(nil), // 257: proto.CustomPaymentMethodMetadata + (*ContactAction)(nil), // 258: proto.ContactAction + (*ClearChatAction)(nil), // 259: proto.ClearChatAction + (*ChatAssignmentOpenedStatusAction)(nil), // 260: proto.ChatAssignmentOpenedStatusAction + (*ChatAssignmentAction)(nil), // 261: proto.ChatAssignmentAction + (*CallLogAction)(nil), // 262: proto.CallLogAction + (*BotWelcomeRequestAction)(nil), // 263: proto.BotWelcomeRequestAction + (*ArchiveChatAction)(nil), // 264: proto.ArchiveChatAction + (*AndroidUnsupportedActions)(nil), // 265: proto.AndroidUnsupportedActions + (*AgentAction)(nil), // 266: proto.AgentAction + (*SyncActionData)(nil), // 267: proto.SyncActionData + (*RecentEmojiWeight)(nil), // 268: proto.RecentEmojiWeight + (*PatchDebugData)(nil), // 269: proto.PatchDebugData + (*CallLogRecord)(nil), // 270: proto.CallLogRecord + (*VerifiedNameCertificate)(nil), // 271: proto.VerifiedNameCertificate + (*LocalizedName)(nil), // 272: proto.LocalizedName + (*BizIdentityInfo)(nil), // 273: proto.BizIdentityInfo + (*BizAccountPayload)(nil), // 274: proto.BizAccountPayload + (*BizAccountLinkInfo)(nil), // 275: proto.BizAccountLinkInfo + (*HandshakeMessage)(nil), // 276: proto.HandshakeMessage + (*HandshakeServerHello)(nil), // 277: proto.HandshakeServerHello + (*HandshakeClientHello)(nil), // 278: proto.HandshakeClientHello + (*HandshakeClientFinish)(nil), // 279: proto.HandshakeClientFinish + (*ClientPayload)(nil), // 280: proto.ClientPayload + (*WebNotificationsInfo)(nil), // 281: proto.WebNotificationsInfo + (*WebMessageInfo)(nil), // 282: proto.WebMessageInfo + (*WebFeatures)(nil), // 283: proto.WebFeatures + (*UserReceipt)(nil), // 284: proto.UserReceipt + (*StatusPSA)(nil), // 285: proto.StatusPSA + (*ReportingTokenInfo)(nil), // 286: proto.ReportingTokenInfo + (*Reaction)(nil), // 287: proto.Reaction + (*PremiumMessageInfo)(nil), // 288: proto.PremiumMessageInfo + (*PollUpdate)(nil), // 289: proto.PollUpdate + (*PollAdditionalMetadata)(nil), // 290: proto.PollAdditionalMetadata + (*PinInChat)(nil), // 291: proto.PinInChat + (*PhotoChange)(nil), // 292: proto.PhotoChange + (*PaymentInfo)(nil), // 293: proto.PaymentInfo + (*NotificationMessageInfo)(nil), // 294: proto.NotificationMessageInfo + (*MessageAddOnContextInfo)(nil), // 295: proto.MessageAddOnContextInfo + (*MediaData)(nil), // 296: proto.MediaData + (*KeepInChat)(nil), // 297: proto.KeepInChat + (*EventResponse)(nil), // 298: proto.EventResponse + (*EventAdditionalMetadata)(nil), // 299: proto.EventAdditionalMetadata + (*CommentMetadata)(nil), // 300: proto.CommentMetadata + (*NoiseCertificate)(nil), // 301: proto.NoiseCertificate + (*CertChain)(nil), // 302: proto.CertChain + (*QP)(nil), // 303: proto.QP + (*ChatLockSettings)(nil), // 304: proto.ChatLockSettings + (*DeviceCapabilities)(nil), // 305: proto.DeviceCapabilities + (*UserPassword)(nil), // 306: proto.UserPassword + (*DeviceProps_HistorySyncConfig)(nil), // 307: proto.DeviceProps.HistorySyncConfig + (*DeviceProps_AppVersion)(nil), // 308: proto.DeviceProps.AppVersion + (*HighlyStructuredMessage_HSMLocalizableParameter)(nil), // 309: proto.HighlyStructuredMessage.HSMLocalizableParameter + (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime)(nil), // 310: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime + (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency)(nil), // 311: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency + (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch)(nil), // 312: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch + (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent)(nil), // 313: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent + (*CallLogMessage_CallParticipant)(nil), // 314: proto.CallLogMessage.CallParticipant + (*ButtonsMessage_Button)(nil), // 315: proto.ButtonsMessage.Button + (*ButtonsMessage_Button_NativeFlowInfo)(nil), // 316: proto.ButtonsMessage.Button.NativeFlowInfo + (*ButtonsMessage_Button_ButtonText)(nil), // 317: proto.ButtonsMessage.Button.ButtonText + (*HydratedTemplateButton_HydratedURLButton)(nil), // 318: proto.HydratedTemplateButton.HydratedURLButton + (*HydratedTemplateButton_HydratedQuickReplyButton)(nil), // 319: proto.HydratedTemplateButton.HydratedQuickReplyButton + (*HydratedTemplateButton_HydratedCallButton)(nil), // 320: proto.HydratedTemplateButton.HydratedCallButton + (*ContextInfo_UTMInfo)(nil), // 321: proto.ContextInfo.UTMInfo + (*ContextInfo_ExternalAdReplyInfo)(nil), // 322: proto.ContextInfo.ExternalAdReplyInfo + (*ContextInfo_DataSharingContext)(nil), // 323: proto.ContextInfo.DataSharingContext + (*ContextInfo_BusinessMessageForwardInfo)(nil), // 324: proto.ContextInfo.BusinessMessageForwardInfo + (*ContextInfo_AdReplyInfo)(nil), // 325: proto.ContextInfo.AdReplyInfo + (*TemplateButton_URLButton)(nil), // 326: proto.TemplateButton.URLButton + (*TemplateButton_QuickReplyButton)(nil), // 327: proto.TemplateButton.QuickReplyButton + (*TemplateButton_CallButton)(nil), // 328: proto.TemplateButton.CallButton + (*PaymentBackground_MediaData)(nil), // 329: proto.PaymentBackground.MediaData + (*TemplateMessage_HydratedFourRowTemplate)(nil), // 330: proto.TemplateMessage.HydratedFourRowTemplate + (*TemplateMessage_FourRowTemplate)(nil), // 331: proto.TemplateMessage.FourRowTemplate + (*ProductMessage_ProductSnapshot)(nil), // 332: proto.ProductMessage.ProductSnapshot + (*ProductMessage_CatalogSnapshot)(nil), // 333: proto.ProductMessage.CatalogSnapshot + (*PollCreationMessage_Option)(nil), // 334: proto.PollCreationMessage.Option + (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult)(nil), // 335: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult + (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse)(nil), // 336: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse + (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse)(nil), // 337: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse + (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail)(nil), // 338: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail + (*PeerDataOperationRequestMessage_RequestUrlPreview)(nil), // 339: proto.PeerDataOperationRequestMessage.RequestUrlPreview + (*PeerDataOperationRequestMessage_RequestStickerReupload)(nil), // 340: proto.PeerDataOperationRequestMessage.RequestStickerReupload + (*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest)(nil), // 341: proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest + (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest)(nil), // 342: proto.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest + (*ListResponseMessage_SingleSelectReply)(nil), // 343: proto.ListResponseMessage.SingleSelectReply + (*ListMessage_Section)(nil), // 344: proto.ListMessage.Section + (*ListMessage_Row)(nil), // 345: proto.ListMessage.Row + (*ListMessage_Product)(nil), // 346: proto.ListMessage.Product + (*ListMessage_ProductSection)(nil), // 347: proto.ListMessage.ProductSection + (*ListMessage_ProductListInfo)(nil), // 348: proto.ListMessage.ProductListInfo + (*ListMessage_ProductListHeaderImage)(nil), // 349: proto.ListMessage.ProductListHeaderImage + (*InteractiveResponseMessage_NativeFlowResponseMessage)(nil), // 350: proto.InteractiveResponseMessage.NativeFlowResponseMessage + (*InteractiveResponseMessage_Body)(nil), // 351: proto.InteractiveResponseMessage.Body + (*InteractiveMessage_NativeFlowMessage)(nil), // 352: proto.InteractiveMessage.NativeFlowMessage + (*InteractiveMessage_Header)(nil), // 353: proto.InteractiveMessage.Header + (*InteractiveMessage_Footer)(nil), // 354: proto.InteractiveMessage.Footer + (*InteractiveMessage_CollectionMessage)(nil), // 355: proto.InteractiveMessage.CollectionMessage + (*InteractiveMessage_CarouselMessage)(nil), // 356: proto.InteractiveMessage.CarouselMessage + (*InteractiveMessage_Body)(nil), // 357: proto.InteractiveMessage.Body + (*InteractiveMessage_ShopMessage)(nil), // 358: proto.InteractiveMessage.ShopMessage + (*InteractiveMessage_NativeFlowMessage_NativeFlowButton)(nil), // 359: proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton + (*CallLogRecord_ParticipantInfo)(nil), // 360: proto.CallLogRecord.ParticipantInfo + (*VerifiedNameCertificate_Details)(nil), // 361: proto.VerifiedNameCertificate.Details + (*ClientPayload_WebInfo)(nil), // 362: proto.ClientPayload.WebInfo + (*ClientPayload_UserAgent)(nil), // 363: proto.ClientPayload.UserAgent + (*ClientPayload_InteropData)(nil), // 364: proto.ClientPayload.InteropData + (*ClientPayload_DevicePairingRegistrationData)(nil), // 365: proto.ClientPayload.DevicePairingRegistrationData + (*ClientPayload_DNSSource)(nil), // 366: proto.ClientPayload.DNSSource + (*ClientPayload_WebInfo_WebdPayload)(nil), // 367: proto.ClientPayload.WebInfo.WebdPayload + (*ClientPayload_UserAgent_AppVersion)(nil), // 368: proto.ClientPayload.UserAgent.AppVersion + (*NoiseCertificate_Details)(nil), // 369: proto.NoiseCertificate.Details + (*CertChain_NoiseCertificate)(nil), // 370: proto.CertChain.NoiseCertificate + (*CertChain_NoiseCertificate_Details)(nil), // 371: proto.CertChain.NoiseCertificate.Details + (*QP_Filter)(nil), // 372: proto.QP.Filter + (*QP_FilterParameters)(nil), // 373: proto.QP.FilterParameters + (*QP_FilterClause)(nil), // 374: proto.QP.FilterClause + (*UserPassword_TransformerArg)(nil), // 375: proto.UserPassword.TransformerArg + (*UserPassword_TransformerArg_Value)(nil), // 376: proto.UserPassword.TransformerArg.Value } var file_binary_proto_def_proto_depIdxs = []int32{ 0, // 0: proto.ADVSignedDeviceIdentityHMAC.accountType:type_name -> proto.ADVEncryptionType 0, // 1: proto.ADVKeyIndexList.accountType:type_name -> proto.ADVEncryptionType 0, // 2: proto.ADVDeviceIdentity.accountType:type_name -> proto.ADVEncryptionType 0, // 3: proto.ADVDeviceIdentity.deviceType:type_name -> proto.ADVEncryptionType - 243, // 4: proto.DeviceProps.version:type_name -> proto.DeviceProps.AppVersion + 308, // 4: proto.DeviceProps.version:type_name -> proto.DeviceProps.AppVersion 4, // 5: proto.DeviceProps.platformType:type_name -> proto.DeviceProps.PlatformType - 242, // 6: proto.DeviceProps.historySyncConfig:type_name -> proto.DeviceProps.HistorySyncConfig - 110, // 7: proto.LiveLocationMessage.contextInfo:type_name -> proto.ContextInfo - 5, // 8: proto.ListResponseMessage.listType:type_name -> proto.ListResponseMessage.ListType - 244, // 9: proto.ListResponseMessage.singleSelectReply:type_name -> proto.ListResponseMessage.SingleSelectReply - 110, // 10: proto.ListResponseMessage.contextInfo:type_name -> proto.ContextInfo - 6, // 11: proto.ListMessage.listType:type_name -> proto.ListMessage.ListType - 245, // 12: proto.ListMessage.sections:type_name -> proto.ListMessage.Section - 249, // 13: proto.ListMessage.productListInfo:type_name -> proto.ListMessage.ProductListInfo - 110, // 14: proto.ListMessage.contextInfo:type_name -> proto.ContextInfo - 163, // 15: proto.KeepInChatMessage.key:type_name -> proto.MessageKey - 1, // 16: proto.KeepInChatMessage.keepType:type_name -> proto.KeepType - 7, // 17: proto.InvoiceMessage.attachmentType:type_name -> proto.InvoiceMessage.AttachmentType - 252, // 18: proto.InteractiveResponseMessage.body:type_name -> proto.InteractiveResponseMessage.Body - 110, // 19: proto.InteractiveResponseMessage.contextInfo:type_name -> proto.ContextInfo - 251, // 20: proto.InteractiveResponseMessage.nativeFlowResponseMessage:type_name -> proto.InteractiveResponseMessage.NativeFlowResponseMessage - 255, // 21: proto.InteractiveMessage.header:type_name -> proto.InteractiveMessage.Header - 259, // 22: proto.InteractiveMessage.body:type_name -> proto.InteractiveMessage.Body - 256, // 23: proto.InteractiveMessage.footer:type_name -> proto.InteractiveMessage.Footer - 110, // 24: proto.InteractiveMessage.contextInfo:type_name -> proto.ContextInfo - 253, // 25: proto.InteractiveMessage.shopStorefrontMessage:type_name -> proto.InteractiveMessage.ShopMessage - 257, // 26: proto.InteractiveMessage.collectionMessage:type_name -> proto.InteractiveMessage.CollectionMessage - 254, // 27: proto.InteractiveMessage.nativeFlowMessage:type_name -> proto.InteractiveMessage.NativeFlowMessage - 258, // 28: proto.InteractiveMessage.carouselMessage:type_name -> proto.InteractiveMessage.CarouselMessage - 105, // 29: proto.ImageMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation - 110, // 30: proto.ImageMessage.contextInfo:type_name -> proto.ContextInfo - 10, // 31: proto.HistorySyncNotification.syncType:type_name -> proto.HistorySyncNotification.HistorySyncType - 261, // 32: proto.HighlyStructuredMessage.localizableParams:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter - 123, // 33: proto.HighlyStructuredMessage.hydratedHsm:type_name -> proto.TemplateMessage - 110, // 34: proto.GroupInviteMessage.contextInfo:type_name -> proto.ContextInfo - 13, // 35: proto.GroupInviteMessage.groupType:type_name -> proto.GroupInviteMessage.GroupType - 119, // 36: proto.FutureProofMessage.message:type_name -> proto.Message - 16, // 37: proto.ExtendedTextMessage.font:type_name -> proto.ExtendedTextMessage.FontType - 14, // 38: proto.ExtendedTextMessage.previewType:type_name -> proto.ExtendedTextMessage.PreviewType - 110, // 39: proto.ExtendedTextMessage.contextInfo:type_name -> proto.ContextInfo - 15, // 40: proto.ExtendedTextMessage.inviteLinkGroupType:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType - 15, // 41: proto.ExtendedTextMessage.inviteLinkGroupTypeV2:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType - 163, // 42: proto.EncReactionMessage.targetMessageKey:type_name -> proto.MessageKey - 163, // 43: proto.EncCommentMessage.targetMessageKey:type_name -> proto.MessageKey - 110, // 44: proto.DocumentMessage.contextInfo:type_name -> proto.ContextInfo - 119, // 45: proto.DeviceSentMessage.message:type_name -> proto.Message - 163, // 46: proto.DeclinePaymentRequestMessage.key:type_name -> proto.MessageKey - 89, // 47: proto.ContactsArrayMessage.contacts:type_name -> proto.ContactMessage - 110, // 48: proto.ContactsArrayMessage.contextInfo:type_name -> proto.ContextInfo - 110, // 49: proto.ContactMessage.contextInfo:type_name -> proto.ContextInfo - 163, // 50: proto.CancelPaymentRequestMessage.key:type_name -> proto.MessageKey - 110, // 51: proto.ButtonsResponseMessage.contextInfo:type_name -> proto.ContextInfo - 17, // 52: proto.ButtonsResponseMessage.type:type_name -> proto.ButtonsResponseMessage.Type - 110, // 53: proto.ButtonsMessage.contextInfo:type_name -> proto.ContextInfo - 266, // 54: proto.ButtonsMessage.buttons:type_name -> proto.ButtonsMessage.Button - 18, // 55: proto.ButtonsMessage.headerType:type_name -> proto.ButtonsMessage.HeaderType - 85, // 56: proto.ButtonsMessage.documentMessage:type_name -> proto.DocumentMessage - 77, // 57: proto.ButtonsMessage.imageMessage:type_name -> proto.ImageMessage - 122, // 58: proto.ButtonsMessage.videoMessage:type_name -> proto.VideoMessage - 146, // 59: proto.ButtonsMessage.locationMessage:type_name -> proto.LocationMessage - 163, // 60: proto.BotFeedbackMessage.messageKey:type_name -> proto.MessageKey - 20, // 61: proto.BotFeedbackMessage.kind:type_name -> proto.BotFeedbackMessage.BotFeedbackKind - 110, // 62: proto.AudioMessage.contextInfo:type_name -> proto.ContextInfo - 100, // 63: proto.AppStateSyncKey.keyId:type_name -> proto.AppStateSyncKeyId - 102, // 64: proto.AppStateSyncKey.keyData:type_name -> proto.AppStateSyncKeyData - 97, // 65: proto.AppStateSyncKeyShare.keys:type_name -> proto.AppStateSyncKey - 100, // 66: proto.AppStateSyncKeyRequest.keyIds:type_name -> proto.AppStateSyncKeyId - 101, // 67: proto.AppStateSyncKeyData.fingerprint:type_name -> proto.AppStateSyncKeyFingerprint - 116, // 68: proto.InteractiveAnnotation.polygonVertices:type_name -> proto.Point - 104, // 69: proto.InteractiveAnnotation.location:type_name -> proto.Location - 270, // 70: proto.HydratedTemplateButton.quickReplyButton:type_name -> proto.HydratedTemplateButton.HydratedQuickReplyButton - 269, // 71: proto.HydratedTemplateButton.urlButton:type_name -> proto.HydratedTemplateButton.HydratedURLButton - 271, // 72: proto.HydratedTemplateButton.callButton:type_name -> proto.HydratedTemplateButton.HydratedCallButton - 22, // 73: proto.DisappearingMode.initiator:type_name -> proto.DisappearingMode.Initiator - 21, // 74: proto.DisappearingMode.trigger:type_name -> proto.DisappearingMode.Trigger - 119, // 75: proto.ContextInfo.quotedMessage:type_name -> proto.Message - 276, // 76: proto.ContextInfo.quotedAd:type_name -> proto.ContextInfo.AdReplyInfo - 163, // 77: proto.ContextInfo.placeholderKey:type_name -> proto.MessageKey - 274, // 78: proto.ContextInfo.externalAdReply:type_name -> proto.ContextInfo.ExternalAdReplyInfo - 108, // 79: proto.ContextInfo.disappearingMode:type_name -> proto.DisappearingMode - 114, // 80: proto.ContextInfo.actionLink:type_name -> proto.ActionLink - 107, // 81: proto.ContextInfo.groupMentions:type_name -> proto.GroupMention - 272, // 82: proto.ContextInfo.utm:type_name -> proto.ContextInfo.UTMInfo - 273, // 83: proto.ContextInfo.forwardedNewsletterMessageInfo:type_name -> proto.ContextInfo.ForwardedNewsletterMessageInfo - 275, // 84: proto.ContextInfo.businessMessageForwardInfo:type_name -> proto.ContextInfo.BusinessMessageForwardInfo - 113, // 85: proto.BotMetadata.avatarMetadata:type_name -> proto.BotAvatarMetadata - 111, // 86: proto.BotMetadata.pluginMetadata:type_name -> proto.BotPluginMetadata - 278, // 87: proto.TemplateButton.quickReplyButton:type_name -> proto.TemplateButton.QuickReplyButton - 277, // 88: proto.TemplateButton.urlButton:type_name -> proto.TemplateButton.URLButton - 279, // 89: proto.TemplateButton.callButton:type_name -> proto.TemplateButton.CallButton - 280, // 90: proto.PaymentBackground.mediaData:type_name -> proto.PaymentBackground.MediaData - 25, // 91: proto.PaymentBackground.type:type_name -> proto.PaymentBackground.Type - 127, // 92: proto.Message.senderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage - 77, // 93: proto.Message.imageMessage:type_name -> proto.ImageMessage - 89, // 94: proto.Message.contactMessage:type_name -> proto.ContactMessage - 146, // 95: proto.Message.locationMessage:type_name -> proto.LocationMessage - 82, // 96: proto.Message.extendedTextMessage:type_name -> proto.ExtendedTextMessage - 85, // 97: proto.Message.documentMessage:type_name -> proto.DocumentMessage - 96, // 98: proto.Message.audioMessage:type_name -> proto.AudioMessage - 122, // 99: proto.Message.videoMessage:type_name -> proto.VideoMessage - 92, // 100: proto.Message.call:type_name -> proto.Call - 90, // 101: proto.Message.chat:type_name -> proto.Chat - 134, // 102: proto.Message.protocolMessage:type_name -> proto.ProtocolMessage - 88, // 103: proto.Message.contactsArrayMessage:type_name -> proto.ContactsArrayMessage - 79, // 104: proto.Message.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage - 127, // 105: proto.Message.fastRatchetKeySenderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage - 128, // 106: proto.Message.sendPaymentMessage:type_name -> proto.SendPaymentMessage - 69, // 107: proto.Message.liveLocationMessage:type_name -> proto.LiveLocationMessage - 132, // 108: proto.Message.requestPaymentMessage:type_name -> proto.RequestPaymentMessage - 87, // 109: proto.Message.declinePaymentRequestMessage:type_name -> proto.DeclinePaymentRequestMessage - 91, // 110: proto.Message.cancelPaymentRequestMessage:type_name -> proto.CancelPaymentRequestMessage - 123, // 111: proto.Message.templateMessage:type_name -> proto.TemplateMessage - 126, // 112: proto.Message.stickerMessage:type_name -> proto.StickerMessage - 80, // 113: proto.Message.groupInviteMessage:type_name -> proto.GroupInviteMessage - 124, // 114: proto.Message.templateButtonReplyMessage:type_name -> proto.TemplateButtonReplyMessage - 135, // 115: proto.Message.productMessage:type_name -> proto.ProductMessage - 86, // 116: proto.Message.deviceSentMessage:type_name -> proto.DeviceSentMessage - 121, // 117: proto.Message.messageContextInfo:type_name -> proto.MessageContextInfo - 71, // 118: proto.Message.listMessage:type_name -> proto.ListMessage - 81, // 119: proto.Message.viewOnceMessage:type_name -> proto.FutureProofMessage - 145, // 120: proto.Message.orderMessage:type_name -> proto.OrderMessage - 70, // 121: proto.Message.listResponseMessage:type_name -> proto.ListResponseMessage - 81, // 122: proto.Message.ephemeralMessage:type_name -> proto.FutureProofMessage - 73, // 123: proto.Message.invoiceMessage:type_name -> proto.InvoiceMessage - 94, // 124: proto.Message.buttonsMessage:type_name -> proto.ButtonsMessage - 93, // 125: proto.Message.buttonsResponseMessage:type_name -> proto.ButtonsResponseMessage - 144, // 126: proto.Message.paymentInviteMessage:type_name -> proto.PaymentInviteMessage - 75, // 127: proto.Message.interactiveMessage:type_name -> proto.InteractiveMessage - 133, // 128: proto.Message.reactionMessage:type_name -> proto.ReactionMessage - 125, // 129: proto.Message.stickerSyncRmrMessage:type_name -> proto.StickerSyncRMRMessage - 74, // 130: proto.Message.interactiveResponseMessage:type_name -> proto.InteractiveResponseMessage - 140, // 131: proto.Message.pollCreationMessage:type_name -> proto.PollCreationMessage - 137, // 132: proto.Message.pollUpdateMessage:type_name -> proto.PollUpdateMessage - 72, // 133: proto.Message.keepInChatMessage:type_name -> proto.KeepInChatMessage - 81, // 134: proto.Message.documentWithCaptionMessage:type_name -> proto.FutureProofMessage - 131, // 135: proto.Message.requestPhoneNumberMessage:type_name -> proto.RequestPhoneNumberMessage - 81, // 136: proto.Message.viewOnceMessageV2:type_name -> proto.FutureProofMessage - 83, // 137: proto.Message.encReactionMessage:type_name -> proto.EncReactionMessage - 81, // 138: proto.Message.editedMessage:type_name -> proto.FutureProofMessage - 81, // 139: proto.Message.viewOnceMessageV2Extension:type_name -> proto.FutureProofMessage - 140, // 140: proto.Message.pollCreationMessageV2:type_name -> proto.PollCreationMessage - 130, // 141: proto.Message.scheduledCallCreationMessage:type_name -> proto.ScheduledCallCreationMessage - 81, // 142: proto.Message.groupMentionedMessage:type_name -> proto.FutureProofMessage - 141, // 143: proto.Message.pinInChatMessage:type_name -> proto.PinInChatMessage - 140, // 144: proto.Message.pollCreationMessageV3:type_name -> proto.PollCreationMessage - 129, // 145: proto.Message.scheduledCallEditMessage:type_name -> proto.ScheduledCallEditMessage - 122, // 146: proto.Message.ptvMessage:type_name -> proto.VideoMessage - 81, // 147: proto.Message.botInvokeMessage:type_name -> proto.FutureProofMessage - 84, // 148: proto.Message.encCommentMessage:type_name -> proto.EncCommentMessage - 109, // 149: proto.MessageContextInfo.deviceListMetadata:type_name -> proto.DeviceListMetadata - 112, // 150: proto.MessageContextInfo.botMetadata:type_name -> proto.BotMetadata - 105, // 151: proto.VideoMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation - 110, // 152: proto.VideoMessage.contextInfo:type_name -> proto.ContextInfo - 26, // 153: proto.VideoMessage.gifAttribution:type_name -> proto.VideoMessage.Attribution - 110, // 154: proto.TemplateMessage.contextInfo:type_name -> proto.ContextInfo - 281, // 155: proto.TemplateMessage.hydratedTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate - 282, // 156: proto.TemplateMessage.fourRowTemplate:type_name -> proto.TemplateMessage.FourRowTemplate - 281, // 157: proto.TemplateMessage.hydratedFourRowTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate - 75, // 158: proto.TemplateMessage.interactiveMessageTemplate:type_name -> proto.InteractiveMessage - 110, // 159: proto.TemplateButtonReplyMessage.contextInfo:type_name -> proto.ContextInfo - 110, // 160: proto.StickerMessage.contextInfo:type_name -> proto.ContextInfo - 119, // 161: proto.SendPaymentMessage.noteMessage:type_name -> proto.Message - 163, // 162: proto.SendPaymentMessage.requestMessageKey:type_name -> proto.MessageKey - 117, // 163: proto.SendPaymentMessage.background:type_name -> proto.PaymentBackground - 163, // 164: proto.ScheduledCallEditMessage.key:type_name -> proto.MessageKey - 27, // 165: proto.ScheduledCallEditMessage.editType:type_name -> proto.ScheduledCallEditMessage.EditType - 28, // 166: proto.ScheduledCallCreationMessage.callType:type_name -> proto.ScheduledCallCreationMessage.CallType - 110, // 167: proto.RequestPhoneNumberMessage.contextInfo:type_name -> proto.ContextInfo - 119, // 168: proto.RequestPaymentMessage.noteMessage:type_name -> proto.Message - 118, // 169: proto.RequestPaymentMessage.amount:type_name -> proto.Money - 117, // 170: proto.RequestPaymentMessage.background:type_name -> proto.PaymentBackground - 163, // 171: proto.ReactionMessage.key:type_name -> proto.MessageKey - 163, // 172: proto.ProtocolMessage.key:type_name -> proto.MessageKey - 29, // 173: proto.ProtocolMessage.type:type_name -> proto.ProtocolMessage.Type - 78, // 174: proto.ProtocolMessage.historySyncNotification:type_name -> proto.HistorySyncNotification - 98, // 175: proto.ProtocolMessage.appStateSyncKeyShare:type_name -> proto.AppStateSyncKeyShare - 99, // 176: proto.ProtocolMessage.appStateSyncKeyRequest:type_name -> proto.AppStateSyncKeyRequest - 76, // 177: proto.ProtocolMessage.initialSecurityNotificationSettingSync:type_name -> proto.InitialSecurityNotificationSettingSync - 103, // 178: proto.ProtocolMessage.appStateFatalExceptionNotification:type_name -> proto.AppStateFatalExceptionNotification - 108, // 179: proto.ProtocolMessage.disappearingMode:type_name -> proto.DisappearingMode - 119, // 180: proto.ProtocolMessage.editedMessage:type_name -> proto.Message - 143, // 181: proto.ProtocolMessage.peerDataOperationRequestMessage:type_name -> proto.PeerDataOperationRequestMessage - 142, // 182: proto.ProtocolMessage.peerDataOperationRequestResponseMessage:type_name -> proto.PeerDataOperationRequestResponseMessage - 95, // 183: proto.ProtocolMessage.botFeedbackMessage:type_name -> proto.BotFeedbackMessage - 283, // 184: proto.ProductMessage.product:type_name -> proto.ProductMessage.ProductSnapshot - 284, // 185: proto.ProductMessage.catalog:type_name -> proto.ProductMessage.CatalogSnapshot - 110, // 186: proto.ProductMessage.contextInfo:type_name -> proto.ContextInfo - 163, // 187: proto.PollUpdateMessage.pollCreationMessageKey:type_name -> proto.MessageKey - 139, // 188: proto.PollUpdateMessage.vote:type_name -> proto.PollEncValue - 138, // 189: proto.PollUpdateMessage.metadata:type_name -> proto.PollUpdateMessageMetadata - 285, // 190: proto.PollCreationMessage.options:type_name -> proto.PollCreationMessage.Option - 110, // 191: proto.PollCreationMessage.contextInfo:type_name -> proto.ContextInfo - 163, // 192: proto.PinInChatMessage.key:type_name -> proto.MessageKey - 30, // 193: proto.PinInChatMessage.type:type_name -> proto.PinInChatMessage.Type - 2, // 194: proto.PeerDataOperationRequestResponseMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType - 286, // 195: proto.PeerDataOperationRequestResponseMessage.peerDataOperationResult:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult - 2, // 196: proto.PeerDataOperationRequestMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType - 291, // 197: proto.PeerDataOperationRequestMessage.requestStickerReupload:type_name -> proto.PeerDataOperationRequestMessage.RequestStickerReupload - 290, // 198: proto.PeerDataOperationRequestMessage.requestUrlPreview:type_name -> proto.PeerDataOperationRequestMessage.RequestUrlPreview - 293, // 199: proto.PeerDataOperationRequestMessage.historySyncOnDemandRequest:type_name -> proto.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest - 292, // 200: proto.PeerDataOperationRequestMessage.placeholderMessageResendRequest:type_name -> proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest - 31, // 201: proto.PaymentInviteMessage.serviceType:type_name -> proto.PaymentInviteMessage.ServiceType - 33, // 202: proto.OrderMessage.status:type_name -> proto.OrderMessage.OrderStatus - 32, // 203: proto.OrderMessage.surface:type_name -> proto.OrderMessage.OrderSurface - 110, // 204: proto.OrderMessage.contextInfo:type_name -> proto.ContextInfo - 110, // 205: proto.LocationMessage.contextInfo:type_name -> proto.ContextInfo - 152, // 206: proto.PastParticipants.pastParticipants:type_name -> proto.PastParticipant - 34, // 207: proto.PastParticipant.leaveReason:type_name -> proto.PastParticipant.LeaveReason - 35, // 208: proto.HistorySync.syncType:type_name -> proto.HistorySync.HistorySyncType - 158, // 209: proto.HistorySync.conversations:type_name -> proto.Conversation - 226, // 210: proto.HistorySync.statusV3Messages:type_name -> proto.WebMessageInfo - 150, // 211: proto.HistorySync.pushnames:type_name -> proto.Pushname - 157, // 212: proto.HistorySync.globalSettings:type_name -> proto.GlobalSettings - 149, // 213: proto.HistorySync.recentStickers:type_name -> proto.StickerMetadata - 151, // 214: proto.HistorySync.pastParticipants:type_name -> proto.PastParticipants - 226, // 215: proto.HistorySyncMsg.message:type_name -> proto.WebMessageInfo - 36, // 216: proto.GroupParticipant.rank:type_name -> proto.GroupParticipant.Rank - 148, // 217: proto.GlobalSettings.lightThemeWallpaper:type_name -> proto.WallpaperSettings - 3, // 218: proto.GlobalSettings.mediaVisibility:type_name -> proto.MediaVisibility - 148, // 219: proto.GlobalSettings.darkThemeWallpaper:type_name -> proto.WallpaperSettings - 160, // 220: proto.GlobalSettings.autoDownloadWiFi:type_name -> proto.AutoDownloadSettings - 160, // 221: proto.GlobalSettings.autoDownloadCellular:type_name -> proto.AutoDownloadSettings - 160, // 222: proto.GlobalSettings.autoDownloadRoaming:type_name -> proto.AutoDownloadSettings - 159, // 223: proto.GlobalSettings.avatarUserSettings:type_name -> proto.AvatarUserSettings - 153, // 224: proto.GlobalSettings.individualNotificationSettings:type_name -> proto.NotificationSettings - 153, // 225: proto.GlobalSettings.groupNotificationSettings:type_name -> proto.NotificationSettings - 155, // 226: proto.Conversation.messages:type_name -> proto.HistorySyncMsg - 37, // 227: proto.Conversation.endOfHistoryTransferType:type_name -> proto.Conversation.EndOfHistoryTransferType - 108, // 228: proto.Conversation.disappearingMode:type_name -> proto.DisappearingMode - 156, // 229: proto.Conversation.participant:type_name -> proto.GroupParticipant - 148, // 230: proto.Conversation.wallpaper:type_name -> proto.WallpaperSettings - 3, // 231: proto.Conversation.mediaVisibility:type_name -> proto.MediaVisibility - 38, // 232: proto.MediaRetryNotification.result:type_name -> proto.MediaRetryNotification.ResultType - 164, // 233: proto.SyncdSnapshot.version:type_name -> proto.SyncdVersion - 167, // 234: proto.SyncdSnapshot.records:type_name -> proto.SyncdRecord - 172, // 235: proto.SyncdSnapshot.keyId:type_name -> proto.KeyId - 171, // 236: proto.SyncdRecord.index:type_name -> proto.SyncdIndex - 165, // 237: proto.SyncdRecord.value:type_name -> proto.SyncdValue - 172, // 238: proto.SyncdRecord.keyId:type_name -> proto.KeyId - 164, // 239: proto.SyncdPatch.version:type_name -> proto.SyncdVersion - 170, // 240: proto.SyncdPatch.mutations:type_name -> proto.SyncdMutation - 173, // 241: proto.SyncdPatch.externalMutations:type_name -> proto.ExternalBlobReference - 172, // 242: proto.SyncdPatch.keyId:type_name -> proto.KeyId - 174, // 243: proto.SyncdPatch.exitCode:type_name -> proto.ExitCode - 170, // 244: proto.SyncdMutations.mutations:type_name -> proto.SyncdMutation - 39, // 245: proto.SyncdMutation.operation:type_name -> proto.SyncdMutation.SyncdOperation - 167, // 246: proto.SyncdMutation.record:type_name -> proto.SyncdRecord - 183, // 247: proto.SyncActionValue.starAction:type_name -> proto.StarAction - 206, // 248: proto.SyncActionValue.contactAction:type_name -> proto.ContactAction - 195, // 249: proto.SyncActionValue.muteAction:type_name -> proto.MuteAction - 193, // 250: proto.SyncActionValue.pinAction:type_name -> proto.PinAction - 184, // 251: proto.SyncActionValue.securityNotificationSetting:type_name -> proto.SecurityNotificationSetting - 188, // 252: proto.SyncActionValue.pushNameSetting:type_name -> proto.PushNameSetting - 187, // 253: proto.SyncActionValue.quickReplyAction:type_name -> proto.QuickReplyAction - 186, // 254: proto.SyncActionValue.recentEmojiWeightsAction:type_name -> proto.RecentEmojiWeightsAction - 200, // 255: proto.SyncActionValue.labelEditAction:type_name -> proto.LabelEditAction - 201, // 256: proto.SyncActionValue.labelAssociationAction:type_name -> proto.LabelAssociationAction - 199, // 257: proto.SyncActionValue.localeSetting:type_name -> proto.LocaleSetting - 210, // 258: proto.SyncActionValue.archiveChatAction:type_name -> proto.ArchiveChatAction - 204, // 259: proto.SyncActionValue.deleteMessageForMeAction:type_name -> proto.DeleteMessageForMeAction - 202, // 260: proto.SyncActionValue.keyExpiration:type_name -> proto.KeyExpiration - 198, // 261: proto.SyncActionValue.markChatAsReadAction:type_name -> proto.MarkChatAsReadAction - 207, // 262: proto.SyncActionValue.clearChatAction:type_name -> proto.ClearChatAction - 205, // 263: proto.SyncActionValue.deleteChatAction:type_name -> proto.DeleteChatAction - 177, // 264: proto.SyncActionValue.unarchiveChatsSetting:type_name -> proto.UnarchiveChatsSetting - 191, // 265: proto.SyncActionValue.primaryFeature:type_name -> proto.PrimaryFeature - 211, // 266: proto.SyncActionValue.androidUnsupportedActions:type_name -> proto.AndroidUnsupportedActions - 212, // 267: proto.SyncActionValue.agentAction:type_name -> proto.AgentAction - 181, // 268: proto.SyncActionValue.subscriptionAction:type_name -> proto.SubscriptionAction - 176, // 269: proto.SyncActionValue.userStatusMuteAction:type_name -> proto.UserStatusMuteAction - 178, // 270: proto.SyncActionValue.timeFormatAction:type_name -> proto.TimeFormatAction - 194, // 271: proto.SyncActionValue.nuxAction:type_name -> proto.NuxAction - 190, // 272: proto.SyncActionValue.primaryVersionAction:type_name -> proto.PrimaryVersionAction - 182, // 273: proto.SyncActionValue.stickerAction:type_name -> proto.StickerAction - 185, // 274: proto.SyncActionValue.removeRecentStickerAction:type_name -> proto.RemoveRecentStickerAction - 209, // 275: proto.SyncActionValue.chatAssignment:type_name -> proto.ChatAssignmentAction - 208, // 276: proto.SyncActionValue.chatAssignmentOpenedStatus:type_name -> proto.ChatAssignmentOpenedStatusAction - 192, // 277: proto.SyncActionValue.pnForLidChatAction:type_name -> proto.PnForLidChatAction - 197, // 278: proto.SyncActionValue.marketingMessageAction:type_name -> proto.MarketingMessageAction - 196, // 279: proto.SyncActionValue.marketingMessageBroadcastAction:type_name -> proto.MarketingMessageBroadcastAction - 203, // 280: proto.SyncActionValue.externalWebBetaAction:type_name -> proto.ExternalWebBetaAction - 189, // 281: proto.SyncActionValue.privacySettingRelayAllCalls:type_name -> proto.PrivacySettingRelayAllCalls - 163, // 282: proto.SyncActionMessage.key:type_name -> proto.MessageKey - 179, // 283: proto.SyncActionMessageRange.messages:type_name -> proto.SyncActionMessage - 214, // 284: proto.RecentEmojiWeightsAction.weights:type_name -> proto.RecentEmojiWeight - 40, // 285: proto.MarketingMessageAction.type:type_name -> proto.MarketingMessageAction.MarketingMessagePrototypeType - 180, // 286: proto.MarkChatAsReadAction.messageRange:type_name -> proto.SyncActionMessageRange - 180, // 287: proto.DeleteChatAction.messageRange:type_name -> proto.SyncActionMessageRange - 180, // 288: proto.ClearChatAction.messageRange:type_name -> proto.SyncActionMessageRange - 180, // 289: proto.ArchiveChatAction.messageRange:type_name -> proto.SyncActionMessageRange - 175, // 290: proto.SyncActionData.value:type_name -> proto.SyncActionValue - 41, // 291: proto.BizIdentityInfo.vlevel:type_name -> proto.BizIdentityInfo.VerifiedLevelValue - 215, // 292: proto.BizIdentityInfo.vnameCert:type_name -> proto.VerifiedNameCertificate - 42, // 293: proto.BizIdentityInfo.hostStorage:type_name -> proto.BizIdentityInfo.HostStorageType - 43, // 294: proto.BizIdentityInfo.actualActors:type_name -> proto.BizIdentityInfo.ActualActorsType - 215, // 295: proto.BizAccountPayload.vnameCert:type_name -> proto.VerifiedNameCertificate - 44, // 296: proto.BizAccountLinkInfo.hostStorage:type_name -> proto.BizAccountLinkInfo.HostStorageType - 45, // 297: proto.BizAccountLinkInfo.accountType:type_name -> proto.BizAccountLinkInfo.AccountType - 222, // 298: proto.HandshakeMessage.clientHello:type_name -> proto.HandshakeClientHello - 221, // 299: proto.HandshakeMessage.serverHello:type_name -> proto.HandshakeServerHello - 223, // 300: proto.HandshakeMessage.clientFinish:type_name -> proto.HandshakeClientFinish - 296, // 301: proto.ClientPayload.userAgent:type_name -> proto.ClientPayload.UserAgent - 295, // 302: proto.ClientPayload.webInfo:type_name -> proto.ClientPayload.WebInfo - 48, // 303: proto.ClientPayload.connectType:type_name -> proto.ClientPayload.ConnectType - 49, // 304: proto.ClientPayload.connectReason:type_name -> proto.ClientPayload.ConnectReason - 299, // 305: proto.ClientPayload.dnsSource:type_name -> proto.ClientPayload.DNSSource - 298, // 306: proto.ClientPayload.devicePairingData:type_name -> proto.ClientPayload.DevicePairingRegistrationData - 46, // 307: proto.ClientPayload.product:type_name -> proto.ClientPayload.Product - 47, // 308: proto.ClientPayload.iosAppExtension:type_name -> proto.ClientPayload.IOSAppExtension - 297, // 309: proto.ClientPayload.interopData:type_name -> proto.ClientPayload.InteropData - 226, // 310: proto.WebNotificationsInfo.notifyMessages:type_name -> proto.WebMessageInfo - 163, // 311: proto.WebMessageInfo.key:type_name -> proto.MessageKey - 119, // 312: proto.WebMessageInfo.message:type_name -> proto.Message - 56, // 313: proto.WebMessageInfo.status:type_name -> proto.WebMessageInfo.Status - 55, // 314: proto.WebMessageInfo.messageStubType:type_name -> proto.WebMessageInfo.StubType - 235, // 315: proto.WebMessageInfo.paymentInfo:type_name -> proto.PaymentInfo - 69, // 316: proto.WebMessageInfo.finalLiveLocation:type_name -> proto.LiveLocationMessage - 235, // 317: proto.WebMessageInfo.quotedPaymentInfo:type_name -> proto.PaymentInfo - 57, // 318: proto.WebMessageInfo.bizPrivacyStatus:type_name -> proto.WebMessageInfo.BizPrivacyStatus - 238, // 319: proto.WebMessageInfo.mediaData:type_name -> proto.MediaData - 234, // 320: proto.WebMessageInfo.photoChange:type_name -> proto.PhotoChange - 228, // 321: proto.WebMessageInfo.userReceipt:type_name -> proto.UserReceipt - 230, // 322: proto.WebMessageInfo.reactions:type_name -> proto.Reaction - 238, // 323: proto.WebMessageInfo.quotedStickerData:type_name -> proto.MediaData - 229, // 324: proto.WebMessageInfo.statusPsa:type_name -> proto.StatusPSA - 231, // 325: proto.WebMessageInfo.pollUpdates:type_name -> proto.PollUpdate - 232, // 326: proto.WebMessageInfo.pollAdditionalMetadata:type_name -> proto.PollAdditionalMetadata - 239, // 327: proto.WebMessageInfo.keepInChat:type_name -> proto.KeepInChat - 233, // 328: proto.WebMessageInfo.pinInChat:type_name -> proto.PinInChat - 58, // 329: proto.WebFeatures.labelsDisplay:type_name -> proto.WebFeatures.Flag - 58, // 330: proto.WebFeatures.voipIndividualOutgoing:type_name -> proto.WebFeatures.Flag - 58, // 331: proto.WebFeatures.groupsV3:type_name -> proto.WebFeatures.Flag - 58, // 332: proto.WebFeatures.groupsV3Create:type_name -> proto.WebFeatures.Flag - 58, // 333: proto.WebFeatures.changeNumberV2:type_name -> proto.WebFeatures.Flag - 58, // 334: proto.WebFeatures.queryStatusV3Thumbnail:type_name -> proto.WebFeatures.Flag - 58, // 335: proto.WebFeatures.liveLocations:type_name -> proto.WebFeatures.Flag - 58, // 336: proto.WebFeatures.queryVname:type_name -> proto.WebFeatures.Flag - 58, // 337: proto.WebFeatures.voipIndividualIncoming:type_name -> proto.WebFeatures.Flag - 58, // 338: proto.WebFeatures.quickRepliesQuery:type_name -> proto.WebFeatures.Flag - 58, // 339: proto.WebFeatures.payments:type_name -> proto.WebFeatures.Flag - 58, // 340: proto.WebFeatures.stickerPackQuery:type_name -> proto.WebFeatures.Flag - 58, // 341: proto.WebFeatures.liveLocationsFinal:type_name -> proto.WebFeatures.Flag - 58, // 342: proto.WebFeatures.labelsEdit:type_name -> proto.WebFeatures.Flag - 58, // 343: proto.WebFeatures.mediaUpload:type_name -> proto.WebFeatures.Flag - 58, // 344: proto.WebFeatures.mediaUploadRichQuickReplies:type_name -> proto.WebFeatures.Flag - 58, // 345: proto.WebFeatures.vnameV2:type_name -> proto.WebFeatures.Flag - 58, // 346: proto.WebFeatures.videoPlaybackUrl:type_name -> proto.WebFeatures.Flag - 58, // 347: proto.WebFeatures.statusRanking:type_name -> proto.WebFeatures.Flag - 58, // 348: proto.WebFeatures.voipIndividualVideo:type_name -> proto.WebFeatures.Flag - 58, // 349: proto.WebFeatures.thirdPartyStickers:type_name -> proto.WebFeatures.Flag - 58, // 350: proto.WebFeatures.frequentlyForwardedSetting:type_name -> proto.WebFeatures.Flag - 58, // 351: proto.WebFeatures.groupsV4JoinPermission:type_name -> proto.WebFeatures.Flag - 58, // 352: proto.WebFeatures.recentStickers:type_name -> proto.WebFeatures.Flag - 58, // 353: proto.WebFeatures.catalog:type_name -> proto.WebFeatures.Flag - 58, // 354: proto.WebFeatures.starredStickers:type_name -> proto.WebFeatures.Flag - 58, // 355: proto.WebFeatures.voipGroupCall:type_name -> proto.WebFeatures.Flag - 58, // 356: proto.WebFeatures.templateMessage:type_name -> proto.WebFeatures.Flag - 58, // 357: proto.WebFeatures.templateMessageInteractivity:type_name -> proto.WebFeatures.Flag - 58, // 358: proto.WebFeatures.ephemeralMessages:type_name -> proto.WebFeatures.Flag - 58, // 359: proto.WebFeatures.e2ENotificationSync:type_name -> proto.WebFeatures.Flag - 58, // 360: proto.WebFeatures.recentStickersV2:type_name -> proto.WebFeatures.Flag - 58, // 361: proto.WebFeatures.recentStickersV3:type_name -> proto.WebFeatures.Flag - 58, // 362: proto.WebFeatures.userNotice:type_name -> proto.WebFeatures.Flag - 58, // 363: proto.WebFeatures.support:type_name -> proto.WebFeatures.Flag - 58, // 364: proto.WebFeatures.groupUiiCleanup:type_name -> proto.WebFeatures.Flag - 58, // 365: proto.WebFeatures.groupDogfoodingInternalOnly:type_name -> proto.WebFeatures.Flag - 58, // 366: proto.WebFeatures.settingsSync:type_name -> proto.WebFeatures.Flag - 58, // 367: proto.WebFeatures.archiveV2:type_name -> proto.WebFeatures.Flag - 58, // 368: proto.WebFeatures.ephemeralAllowGroupMembers:type_name -> proto.WebFeatures.Flag - 58, // 369: proto.WebFeatures.ephemeral24HDuration:type_name -> proto.WebFeatures.Flag - 58, // 370: proto.WebFeatures.mdForceUpgrade:type_name -> proto.WebFeatures.Flag - 58, // 371: proto.WebFeatures.disappearingMode:type_name -> proto.WebFeatures.Flag - 58, // 372: proto.WebFeatures.externalMdOptInAvailable:type_name -> proto.WebFeatures.Flag - 58, // 373: proto.WebFeatures.noDeleteMessageTimeLimit:type_name -> proto.WebFeatures.Flag - 163, // 374: proto.Reaction.key:type_name -> proto.MessageKey - 163, // 375: proto.PollUpdate.pollUpdateMessageKey:type_name -> proto.MessageKey - 136, // 376: proto.PollUpdate.vote:type_name -> proto.PollVoteMessage - 59, // 377: proto.PinInChat.type:type_name -> proto.PinInChat.Type - 163, // 378: proto.PinInChat.key:type_name -> proto.MessageKey - 237, // 379: proto.PinInChat.messageAddOnContextInfo:type_name -> proto.MessageAddOnContextInfo - 62, // 380: proto.PaymentInfo.currencyDeprecated:type_name -> proto.PaymentInfo.Currency - 61, // 381: proto.PaymentInfo.status:type_name -> proto.PaymentInfo.Status - 163, // 382: proto.PaymentInfo.requestMessageKey:type_name -> proto.MessageKey - 60, // 383: proto.PaymentInfo.txnStatus:type_name -> proto.PaymentInfo.TxnStatus - 118, // 384: proto.PaymentInfo.primaryAmount:type_name -> proto.Money - 118, // 385: proto.PaymentInfo.exchangeAmount:type_name -> proto.Money - 163, // 386: proto.NotificationMessageInfo.key:type_name -> proto.MessageKey - 119, // 387: proto.NotificationMessageInfo.message:type_name -> proto.Message - 1, // 388: proto.KeepInChat.keepType:type_name -> proto.KeepType - 163, // 389: proto.KeepInChat.key:type_name -> proto.MessageKey - 303, // 390: proto.CertChain.leaf:type_name -> proto.CertChain.NoiseCertificate - 303, // 391: proto.CertChain.intermediate:type_name -> proto.CertChain.NoiseCertificate - 246, // 392: proto.ListMessage.Section.rows:type_name -> proto.ListMessage.Row - 247, // 393: proto.ListMessage.ProductSection.products:type_name -> proto.ListMessage.Product - 248, // 394: proto.ListMessage.ProductListInfo.productSections:type_name -> proto.ListMessage.ProductSection - 250, // 395: proto.ListMessage.ProductListInfo.headerImage:type_name -> proto.ListMessage.ProductListHeaderImage - 8, // 396: proto.InteractiveResponseMessage.Body.format:type_name -> proto.InteractiveResponseMessage.Body.Format - 9, // 397: proto.InteractiveMessage.ShopMessage.surface:type_name -> proto.InteractiveMessage.ShopMessage.Surface - 260, // 398: proto.InteractiveMessage.NativeFlowMessage.buttons:type_name -> proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton - 85, // 399: proto.InteractiveMessage.Header.documentMessage:type_name -> proto.DocumentMessage - 77, // 400: proto.InteractiveMessage.Header.imageMessage:type_name -> proto.ImageMessage - 122, // 401: proto.InteractiveMessage.Header.videoMessage:type_name -> proto.VideoMessage - 146, // 402: proto.InteractiveMessage.Header.locationMessage:type_name -> proto.LocationMessage - 75, // 403: proto.InteractiveMessage.CarouselMessage.cards:type_name -> proto.InteractiveMessage - 263, // 404: proto.HighlyStructuredMessage.HSMLocalizableParameter.currency:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency - 262, // 405: proto.HighlyStructuredMessage.HSMLocalizableParameter.dateTime:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime - 265, // 406: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.component:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent - 264, // 407: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.unixEpoch:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch - 11, // 408: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.dayOfWeek:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType - 12, // 409: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.calendar:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType - 268, // 410: proto.ButtonsMessage.Button.buttonText:type_name -> proto.ButtonsMessage.Button.ButtonText - 19, // 411: proto.ButtonsMessage.Button.type:type_name -> proto.ButtonsMessage.Button.Type - 267, // 412: proto.ButtonsMessage.Button.nativeFlowInfo:type_name -> proto.ButtonsMessage.Button.NativeFlowInfo - 23, // 413: proto.ContextInfo.ExternalAdReplyInfo.mediaType:type_name -> proto.ContextInfo.ExternalAdReplyInfo.MediaType - 24, // 414: proto.ContextInfo.AdReplyInfo.mediaType:type_name -> proto.ContextInfo.AdReplyInfo.MediaType - 79, // 415: proto.TemplateButton.URLButton.displayText:type_name -> proto.HighlyStructuredMessage - 79, // 416: proto.TemplateButton.URLButton.url:type_name -> proto.HighlyStructuredMessage - 79, // 417: proto.TemplateButton.QuickReplyButton.displayText:type_name -> proto.HighlyStructuredMessage - 79, // 418: proto.TemplateButton.CallButton.displayText:type_name -> proto.HighlyStructuredMessage - 79, // 419: proto.TemplateButton.CallButton.phoneNumber:type_name -> proto.HighlyStructuredMessage - 106, // 420: proto.TemplateMessage.HydratedFourRowTemplate.hydratedButtons:type_name -> proto.HydratedTemplateButton - 85, // 421: proto.TemplateMessage.HydratedFourRowTemplate.documentMessage:type_name -> proto.DocumentMessage - 77, // 422: proto.TemplateMessage.HydratedFourRowTemplate.imageMessage:type_name -> proto.ImageMessage - 122, // 423: proto.TemplateMessage.HydratedFourRowTemplate.videoMessage:type_name -> proto.VideoMessage - 146, // 424: proto.TemplateMessage.HydratedFourRowTemplate.locationMessage:type_name -> proto.LocationMessage - 79, // 425: proto.TemplateMessage.FourRowTemplate.content:type_name -> proto.HighlyStructuredMessage - 79, // 426: proto.TemplateMessage.FourRowTemplate.footer:type_name -> proto.HighlyStructuredMessage - 115, // 427: proto.TemplateMessage.FourRowTemplate.buttons:type_name -> proto.TemplateButton - 85, // 428: proto.TemplateMessage.FourRowTemplate.documentMessage:type_name -> proto.DocumentMessage - 79, // 429: proto.TemplateMessage.FourRowTemplate.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage - 77, // 430: proto.TemplateMessage.FourRowTemplate.imageMessage:type_name -> proto.ImageMessage - 122, // 431: proto.TemplateMessage.FourRowTemplate.videoMessage:type_name -> proto.VideoMessage - 146, // 432: proto.TemplateMessage.FourRowTemplate.locationMessage:type_name -> proto.LocationMessage - 77, // 433: proto.ProductMessage.ProductSnapshot.productImage:type_name -> proto.ImageMessage - 77, // 434: proto.ProductMessage.CatalogSnapshot.catalogImage:type_name -> proto.ImageMessage - 38, // 435: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.mediaUploadResult:type_name -> proto.MediaRetryNotification.ResultType - 126, // 436: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.stickerMessage:type_name -> proto.StickerMessage - 288, // 437: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.linkPreviewResponse:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse - 287, // 438: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.placeholderMessageResendResponse:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse - 289, // 439: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.hqThumbnail:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail - 163, // 440: proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest.messageKey:type_name -> proto.MessageKey - 216, // 441: proto.VerifiedNameCertificate.Details.localizedNames:type_name -> proto.LocalizedName - 300, // 442: proto.ClientPayload.WebInfo.webdPayload:type_name -> proto.ClientPayload.WebInfo.WebdPayload - 50, // 443: proto.ClientPayload.WebInfo.webSubPlatform:type_name -> proto.ClientPayload.WebInfo.WebSubPlatform - 52, // 444: proto.ClientPayload.UserAgent.platform:type_name -> proto.ClientPayload.UserAgent.Platform - 301, // 445: proto.ClientPayload.UserAgent.appVersion:type_name -> proto.ClientPayload.UserAgent.AppVersion - 51, // 446: proto.ClientPayload.UserAgent.releaseChannel:type_name -> proto.ClientPayload.UserAgent.ReleaseChannel - 53, // 447: proto.ClientPayload.UserAgent.deviceType:type_name -> proto.ClientPayload.UserAgent.DeviceType - 54, // 448: proto.ClientPayload.DNSSource.dnsMethod:type_name -> proto.ClientPayload.DNSSource.DNSResolutionMethod - 449, // [449:449] is the sub-list for method output_type - 449, // [449:449] is the sub-list for method input_type - 449, // [449:449] is the sub-list for extension type_name - 449, // [449:449] is the sub-list for extension extendee - 0, // [0:449] is the sub-list for field type_name + 307, // 6: proto.DeviceProps.historySyncConfig:type_name -> proto.DeviceProps.HistorySyncConfig + 131, // 7: proto.ImageMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation + 136, // 8: proto.ImageMessage.contextInfo:type_name -> proto.ContextInfo + 131, // 9: proto.ImageMessage.annotations:type_name -> proto.InteractiveAnnotation + 5, // 10: proto.ImageMessage.imageSourceType:type_name -> proto.ImageMessage.ImageSourceType + 6, // 11: proto.HistorySyncNotification.syncType:type_name -> proto.HistorySyncNotification.HistorySyncType + 309, // 12: proto.HighlyStructuredMessage.localizableParams:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter + 152, // 13: proto.HighlyStructuredMessage.hydratedHsm:type_name -> proto.TemplateMessage + 136, // 14: proto.GroupInviteMessage.contextInfo:type_name -> proto.ContextInfo + 9, // 15: proto.GroupInviteMessage.groupType:type_name -> proto.GroupInviteMessage.GroupType + 148, // 16: proto.FutureProofMessage.message:type_name -> proto.Message + 12, // 17: proto.ExtendedTextMessage.font:type_name -> proto.ExtendedTextMessage.FontType + 10, // 18: proto.ExtendedTextMessage.previewType:type_name -> proto.ExtendedTextMessage.PreviewType + 136, // 19: proto.ExtendedTextMessage.contextInfo:type_name -> proto.ContextInfo + 11, // 20: proto.ExtendedTextMessage.inviteLinkGroupType:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType + 11, // 21: proto.ExtendedTextMessage.inviteLinkGroupTypeV2:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType + 13, // 22: proto.EventResponseMessage.response:type_name -> proto.EventResponseMessage.EventResponseType + 136, // 23: proto.EventMessage.contextInfo:type_name -> proto.ContextInfo + 180, // 24: proto.EventMessage.location:type_name -> proto.LocationMessage + 205, // 25: proto.EncReactionMessage.targetMessageKey:type_name -> proto.MessageKey + 205, // 26: proto.EncEventResponseMessage.eventCreationMessageKey:type_name -> proto.MessageKey + 205, // 27: proto.EncCommentMessage.targetMessageKey:type_name -> proto.MessageKey + 136, // 28: proto.DocumentMessage.contextInfo:type_name -> proto.ContextInfo + 148, // 29: proto.DeviceSentMessage.message:type_name -> proto.Message + 205, // 30: proto.DeclinePaymentRequestMessage.key:type_name -> proto.MessageKey + 111, // 31: proto.ContactsArrayMessage.contacts:type_name -> proto.ContactMessage + 136, // 32: proto.ContactsArrayMessage.contextInfo:type_name -> proto.ContextInfo + 136, // 33: proto.ContactMessage.contextInfo:type_name -> proto.ContextInfo + 148, // 34: proto.CommentMessage.message:type_name -> proto.Message + 205, // 35: proto.CommentMessage.targetMessageKey:type_name -> proto.MessageKey + 205, // 36: proto.CancelPaymentRequestMessage.key:type_name -> proto.MessageKey + 15, // 37: proto.CallLogMessage.callOutcome:type_name -> proto.CallLogMessage.CallOutcome + 14, // 38: proto.CallLogMessage.callType:type_name -> proto.CallLogMessage.CallType + 314, // 39: proto.CallLogMessage.participants:type_name -> proto.CallLogMessage.CallParticipant + 136, // 40: proto.ButtonsResponseMessage.contextInfo:type_name -> proto.ContextInfo + 16, // 41: proto.ButtonsResponseMessage.type:type_name -> proto.ButtonsResponseMessage.Type + 136, // 42: proto.ButtonsMessage.contextInfo:type_name -> proto.ContextInfo + 315, // 43: proto.ButtonsMessage.buttons:type_name -> proto.ButtonsMessage.Button + 17, // 44: proto.ButtonsMessage.headerType:type_name -> proto.ButtonsMessage.HeaderType + 107, // 45: proto.ButtonsMessage.documentMessage:type_name -> proto.DocumentMessage + 96, // 46: proto.ButtonsMessage.imageMessage:type_name -> proto.ImageMessage + 151, // 47: proto.ButtonsMessage.videoMessage:type_name -> proto.VideoMessage + 180, // 48: proto.ButtonsMessage.locationMessage:type_name -> proto.LocationMessage + 205, // 49: proto.BotFeedbackMessage.messageKey:type_name -> proto.MessageKey + 21, // 50: proto.BotFeedbackMessage.kind:type_name -> proto.BotFeedbackMessage.BotFeedbackKind + 22, // 51: proto.BCallMessage.mediaType:type_name -> proto.BCallMessage.MediaType + 136, // 52: proto.AudioMessage.contextInfo:type_name -> proto.ContextInfo + 125, // 53: proto.AppStateSyncKey.keyId:type_name -> proto.AppStateSyncKeyId + 127, // 54: proto.AppStateSyncKey.keyData:type_name -> proto.AppStateSyncKeyData + 122, // 55: proto.AppStateSyncKeyShare.keys:type_name -> proto.AppStateSyncKey + 125, // 56: proto.AppStateSyncKeyRequest.keyIds:type_name -> proto.AppStateSyncKeyId + 126, // 57: proto.AppStateSyncKeyData.fingerprint:type_name -> proto.AppStateSyncKeyFingerprint + 145, // 58: proto.InteractiveAnnotation.polygonVertices:type_name -> proto.Point + 130, // 59: proto.InteractiveAnnotation.location:type_name -> proto.Location + 137, // 60: proto.InteractiveAnnotation.newsletter:type_name -> proto.ForwardedNewsletterMessageInfo + 319, // 61: proto.HydratedTemplateButton.quickReplyButton:type_name -> proto.HydratedTemplateButton.HydratedQuickReplyButton + 318, // 62: proto.HydratedTemplateButton.urlButton:type_name -> proto.HydratedTemplateButton.HydratedURLButton + 320, // 63: proto.HydratedTemplateButton.callButton:type_name -> proto.HydratedTemplateButton.HydratedCallButton + 25, // 64: proto.DisappearingMode.initiator:type_name -> proto.DisappearingMode.Initiator + 24, // 65: proto.DisappearingMode.trigger:type_name -> proto.DisappearingMode.Trigger + 0, // 66: proto.DeviceListMetadata.senderAccountType:type_name -> proto.ADVEncryptionType + 0, // 67: proto.DeviceListMetadata.receiverAccountType:type_name -> proto.ADVEncryptionType + 148, // 68: proto.ContextInfo.quotedMessage:type_name -> proto.Message + 325, // 69: proto.ContextInfo.quotedAd:type_name -> proto.ContextInfo.AdReplyInfo + 205, // 70: proto.ContextInfo.placeholderKey:type_name -> proto.MessageKey + 322, // 71: proto.ContextInfo.externalAdReply:type_name -> proto.ContextInfo.ExternalAdReplyInfo + 134, // 72: proto.ContextInfo.disappearingMode:type_name -> proto.DisappearingMode + 143, // 73: proto.ContextInfo.actionLink:type_name -> proto.ActionLink + 133, // 74: proto.ContextInfo.groupMentions:type_name -> proto.GroupMention + 321, // 75: proto.ContextInfo.utm:type_name -> proto.ContextInfo.UTMInfo + 137, // 76: proto.ContextInfo.forwardedNewsletterMessageInfo:type_name -> proto.ForwardedNewsletterMessageInfo + 324, // 77: proto.ContextInfo.businessMessageForwardInfo:type_name -> proto.ContextInfo.BusinessMessageForwardInfo + 323, // 78: proto.ContextInfo.dataSharingContext:type_name -> proto.ContextInfo.DataSharingContext + 28, // 79: proto.ForwardedNewsletterMessageInfo.contentType:type_name -> proto.ForwardedNewsletterMessageInfo.ContentType + 29, // 80: proto.BotPluginMetadata.provider:type_name -> proto.BotPluginMetadata.SearchProvider + 30, // 81: proto.BotPluginMetadata.pluginType:type_name -> proto.BotPluginMetadata.PluginType + 205, // 82: proto.BotPluginMetadata.parentPluginMessageKey:type_name -> proto.MessageKey + 142, // 83: proto.BotMetadata.avatarMetadata:type_name -> proto.BotAvatarMetadata + 140, // 84: proto.BotMetadata.pluginMetadata:type_name -> proto.BotPluginMetadata + 138, // 85: proto.BotMetadata.suggestedPromptMetadata:type_name -> proto.BotSuggestedPromptMetadata + 139, // 86: proto.BotMetadata.searchMetadata:type_name -> proto.BotSearchMetadata + 327, // 87: proto.TemplateButton.quickReplyButton:type_name -> proto.TemplateButton.QuickReplyButton + 326, // 88: proto.TemplateButton.urlButton:type_name -> proto.TemplateButton.URLButton + 328, // 89: proto.TemplateButton.callButton:type_name -> proto.TemplateButton.CallButton + 329, // 90: proto.PaymentBackground.mediaData:type_name -> proto.PaymentBackground.MediaData + 31, // 91: proto.PaymentBackground.type:type_name -> proto.PaymentBackground.Type + 156, // 92: proto.Message.senderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage + 96, // 93: proto.Message.imageMessage:type_name -> proto.ImageMessage + 111, // 94: proto.Message.contactMessage:type_name -> proto.ContactMessage + 180, // 95: proto.Message.locationMessage:type_name -> proto.LocationMessage + 101, // 96: proto.Message.extendedTextMessage:type_name -> proto.ExtendedTextMessage + 107, // 97: proto.Message.documentMessage:type_name -> proto.DocumentMessage + 121, // 98: proto.Message.audioMessage:type_name -> proto.AudioMessage + 151, // 99: proto.Message.videoMessage:type_name -> proto.VideoMessage + 115, // 100: proto.Message.call:type_name -> proto.Call + 113, // 101: proto.Message.chat:type_name -> proto.Chat + 165, // 102: proto.Message.protocolMessage:type_name -> proto.ProtocolMessage + 110, // 103: proto.Message.contactsArrayMessage:type_name -> proto.ContactsArrayMessage + 98, // 104: proto.Message.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage + 156, // 105: proto.Message.fastRatchetKeySenderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage + 157, // 106: proto.Message.sendPaymentMessage:type_name -> proto.SendPaymentMessage + 181, // 107: proto.Message.liveLocationMessage:type_name -> proto.LiveLocationMessage + 163, // 108: proto.Message.requestPaymentMessage:type_name -> proto.RequestPaymentMessage + 109, // 109: proto.Message.declinePaymentRequestMessage:type_name -> proto.DeclinePaymentRequestMessage + 114, // 110: proto.Message.cancelPaymentRequestMessage:type_name -> proto.CancelPaymentRequestMessage + 152, // 111: proto.Message.templateMessage:type_name -> proto.TemplateMessage + 155, // 112: proto.Message.stickerMessage:type_name -> proto.StickerMessage + 99, // 113: proto.Message.groupInviteMessage:type_name -> proto.GroupInviteMessage + 153, // 114: proto.Message.templateButtonReplyMessage:type_name -> proto.TemplateButtonReplyMessage + 166, // 115: proto.Message.productMessage:type_name -> proto.ProductMessage + 108, // 116: proto.Message.deviceSentMessage:type_name -> proto.DeviceSentMessage + 150, // 117: proto.Message.messageContextInfo:type_name -> proto.MessageContextInfo + 183, // 118: proto.Message.listMessage:type_name -> proto.ListMessage + 100, // 119: proto.Message.viewOnceMessage:type_name -> proto.FutureProofMessage + 177, // 120: proto.Message.orderMessage:type_name -> proto.OrderMessage + 182, // 121: proto.Message.listResponseMessage:type_name -> proto.ListResponseMessage + 100, // 122: proto.Message.ephemeralMessage:type_name -> proto.FutureProofMessage + 185, // 123: proto.Message.invoiceMessage:type_name -> proto.InvoiceMessage + 118, // 124: proto.Message.buttonsMessage:type_name -> proto.ButtonsMessage + 117, // 125: proto.Message.buttonsResponseMessage:type_name -> proto.ButtonsResponseMessage + 176, // 126: proto.Message.paymentInviteMessage:type_name -> proto.PaymentInviteMessage + 187, // 127: proto.Message.interactiveMessage:type_name -> proto.InteractiveMessage + 164, // 128: proto.Message.reactionMessage:type_name -> proto.ReactionMessage + 154, // 129: proto.Message.stickerSyncRmrMessage:type_name -> proto.StickerSyncRMRMessage + 186, // 130: proto.Message.interactiveResponseMessage:type_name -> proto.InteractiveResponseMessage + 171, // 131: proto.Message.pollCreationMessage:type_name -> proto.PollCreationMessage + 168, // 132: proto.Message.pollUpdateMessage:type_name -> proto.PollUpdateMessage + 184, // 133: proto.Message.keepInChatMessage:type_name -> proto.KeepInChatMessage + 100, // 134: proto.Message.documentWithCaptionMessage:type_name -> proto.FutureProofMessage + 162, // 135: proto.Message.requestPhoneNumberMessage:type_name -> proto.RequestPhoneNumberMessage + 100, // 136: proto.Message.viewOnceMessageV2:type_name -> proto.FutureProofMessage + 104, // 137: proto.Message.encReactionMessage:type_name -> proto.EncReactionMessage + 100, // 138: proto.Message.editedMessage:type_name -> proto.FutureProofMessage + 100, // 139: proto.Message.viewOnceMessageV2Extension:type_name -> proto.FutureProofMessage + 171, // 140: proto.Message.pollCreationMessageV2:type_name -> proto.PollCreationMessage + 160, // 141: proto.Message.scheduledCallCreationMessage:type_name -> proto.ScheduledCallCreationMessage + 100, // 142: proto.Message.groupMentionedMessage:type_name -> proto.FutureProofMessage + 173, // 143: proto.Message.pinInChatMessage:type_name -> proto.PinInChatMessage + 171, // 144: proto.Message.pollCreationMessageV3:type_name -> proto.PollCreationMessage + 159, // 145: proto.Message.scheduledCallEditMessage:type_name -> proto.ScheduledCallEditMessage + 151, // 146: proto.Message.ptvMessage:type_name -> proto.VideoMessage + 100, // 147: proto.Message.botInvokeMessage:type_name -> proto.FutureProofMessage + 116, // 148: proto.Message.callLogMesssage:type_name -> proto.CallLogMessage + 179, // 149: proto.Message.messageHistoryBundle:type_name -> proto.MessageHistoryBundle + 106, // 150: proto.Message.encCommentMessage:type_name -> proto.EncCommentMessage + 120, // 151: proto.Message.bcallMessage:type_name -> proto.BCallMessage + 100, // 152: proto.Message.lottieStickerMessage:type_name -> proto.FutureProofMessage + 103, // 153: proto.Message.eventMessage:type_name -> proto.EventMessage + 105, // 154: proto.Message.encEventResponseMessage:type_name -> proto.EncEventResponseMessage + 112, // 155: proto.Message.commentMessage:type_name -> proto.CommentMessage + 178, // 156: proto.Message.newsletterAdminInviteMessage:type_name -> proto.NewsletterAdminInviteMessage + 172, // 157: proto.Message.placeholderMessage:type_name -> proto.PlaceholderMessage + 158, // 158: proto.Message.secretEncryptedMessage:type_name -> proto.SecretEncryptedMessage + 135, // 159: proto.MessageContextInfo.deviceListMetadata:type_name -> proto.DeviceListMetadata + 141, // 160: proto.MessageContextInfo.botMetadata:type_name -> proto.BotMetadata + 131, // 161: proto.VideoMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation + 136, // 162: proto.VideoMessage.contextInfo:type_name -> proto.ContextInfo + 32, // 163: proto.VideoMessage.gifAttribution:type_name -> proto.VideoMessage.Attribution + 131, // 164: proto.VideoMessage.annotations:type_name -> proto.InteractiveAnnotation + 136, // 165: proto.TemplateMessage.contextInfo:type_name -> proto.ContextInfo + 330, // 166: proto.TemplateMessage.hydratedTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate + 331, // 167: proto.TemplateMessage.fourRowTemplate:type_name -> proto.TemplateMessage.FourRowTemplate + 330, // 168: proto.TemplateMessage.hydratedFourRowTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate + 187, // 169: proto.TemplateMessage.interactiveMessageTemplate:type_name -> proto.InteractiveMessage + 136, // 170: proto.TemplateButtonReplyMessage.contextInfo:type_name -> proto.ContextInfo + 136, // 171: proto.StickerMessage.contextInfo:type_name -> proto.ContextInfo + 148, // 172: proto.SendPaymentMessage.noteMessage:type_name -> proto.Message + 205, // 173: proto.SendPaymentMessage.requestMessageKey:type_name -> proto.MessageKey + 146, // 174: proto.SendPaymentMessage.background:type_name -> proto.PaymentBackground + 205, // 175: proto.SecretEncryptedMessage.targetMessageKey:type_name -> proto.MessageKey + 33, // 176: proto.SecretEncryptedMessage.secretEncType:type_name -> proto.SecretEncryptedMessage.SecretEncType + 205, // 177: proto.ScheduledCallEditMessage.key:type_name -> proto.MessageKey + 34, // 178: proto.ScheduledCallEditMessage.editType:type_name -> proto.ScheduledCallEditMessage.EditType + 35, // 179: proto.ScheduledCallCreationMessage.callType:type_name -> proto.ScheduledCallCreationMessage.CallType + 36, // 180: proto.RequestWelcomeMessageMetadata.localChatState:type_name -> proto.RequestWelcomeMessageMetadata.LocalChatState + 136, // 181: proto.RequestPhoneNumberMessage.contextInfo:type_name -> proto.ContextInfo + 148, // 182: proto.RequestPaymentMessage.noteMessage:type_name -> proto.Message + 147, // 183: proto.RequestPaymentMessage.amount:type_name -> proto.Money + 146, // 184: proto.RequestPaymentMessage.background:type_name -> proto.PaymentBackground + 205, // 185: proto.ReactionMessage.key:type_name -> proto.MessageKey + 205, // 186: proto.ProtocolMessage.key:type_name -> proto.MessageKey + 37, // 187: proto.ProtocolMessage.type:type_name -> proto.ProtocolMessage.Type + 97, // 188: proto.ProtocolMessage.historySyncNotification:type_name -> proto.HistorySyncNotification + 123, // 189: proto.ProtocolMessage.appStateSyncKeyShare:type_name -> proto.AppStateSyncKeyShare + 124, // 190: proto.ProtocolMessage.appStateSyncKeyRequest:type_name -> proto.AppStateSyncKeyRequest + 95, // 191: proto.ProtocolMessage.initialSecurityNotificationSettingSync:type_name -> proto.InitialSecurityNotificationSettingSync + 128, // 192: proto.ProtocolMessage.appStateFatalExceptionNotification:type_name -> proto.AppStateFatalExceptionNotification + 134, // 193: proto.ProtocolMessage.disappearingMode:type_name -> proto.DisappearingMode + 148, // 194: proto.ProtocolMessage.editedMessage:type_name -> proto.Message + 175, // 195: proto.ProtocolMessage.peerDataOperationRequestMessage:type_name -> proto.PeerDataOperationRequestMessage + 174, // 196: proto.ProtocolMessage.peerDataOperationRequestResponseMessage:type_name -> proto.PeerDataOperationRequestResponseMessage + 119, // 197: proto.ProtocolMessage.botFeedbackMessage:type_name -> proto.BotFeedbackMessage + 161, // 198: proto.ProtocolMessage.requestWelcomeMessageMetadata:type_name -> proto.RequestWelcomeMessageMetadata + 129, // 199: proto.ProtocolMessage.mediaNotifyMessage:type_name -> proto.MediaNotifyMessage + 332, // 200: proto.ProductMessage.product:type_name -> proto.ProductMessage.ProductSnapshot + 333, // 201: proto.ProductMessage.catalog:type_name -> proto.ProductMessage.CatalogSnapshot + 136, // 202: proto.ProductMessage.contextInfo:type_name -> proto.ContextInfo + 205, // 203: proto.PollUpdateMessage.pollCreationMessageKey:type_name -> proto.MessageKey + 170, // 204: proto.PollUpdateMessage.vote:type_name -> proto.PollEncValue + 169, // 205: proto.PollUpdateMessage.metadata:type_name -> proto.PollUpdateMessageMetadata + 334, // 206: proto.PollCreationMessage.options:type_name -> proto.PollCreationMessage.Option + 136, // 207: proto.PollCreationMessage.contextInfo:type_name -> proto.ContextInfo + 38, // 208: proto.PlaceholderMessage.type:type_name -> proto.PlaceholderMessage.PlaceholderType + 205, // 209: proto.PinInChatMessage.key:type_name -> proto.MessageKey + 39, // 210: proto.PinInChatMessage.type:type_name -> proto.PinInChatMessage.Type + 2, // 211: proto.PeerDataOperationRequestResponseMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType + 335, // 212: proto.PeerDataOperationRequestResponseMessage.peerDataOperationResult:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult + 2, // 213: proto.PeerDataOperationRequestMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType + 340, // 214: proto.PeerDataOperationRequestMessage.requestStickerReupload:type_name -> proto.PeerDataOperationRequestMessage.RequestStickerReupload + 339, // 215: proto.PeerDataOperationRequestMessage.requestUrlPreview:type_name -> proto.PeerDataOperationRequestMessage.RequestUrlPreview + 342, // 216: proto.PeerDataOperationRequestMessage.historySyncOnDemandRequest:type_name -> proto.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest + 341, // 217: proto.PeerDataOperationRequestMessage.placeholderMessageResendRequest:type_name -> proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest + 40, // 218: proto.PaymentInviteMessage.serviceType:type_name -> proto.PaymentInviteMessage.ServiceType + 42, // 219: proto.OrderMessage.status:type_name -> proto.OrderMessage.OrderStatus + 41, // 220: proto.OrderMessage.surface:type_name -> proto.OrderMessage.OrderSurface + 136, // 221: proto.OrderMessage.contextInfo:type_name -> proto.ContextInfo + 205, // 222: proto.OrderMessage.orderRequestMessageId:type_name -> proto.MessageKey + 136, // 223: proto.NewsletterAdminInviteMessage.contextInfo:type_name -> proto.ContextInfo + 136, // 224: proto.MessageHistoryBundle.contextInfo:type_name -> proto.ContextInfo + 136, // 225: proto.LocationMessage.contextInfo:type_name -> proto.ContextInfo + 136, // 226: proto.LiveLocationMessage.contextInfo:type_name -> proto.ContextInfo + 43, // 227: proto.ListResponseMessage.listType:type_name -> proto.ListResponseMessage.ListType + 343, // 228: proto.ListResponseMessage.singleSelectReply:type_name -> proto.ListResponseMessage.SingleSelectReply + 136, // 229: proto.ListResponseMessage.contextInfo:type_name -> proto.ContextInfo + 44, // 230: proto.ListMessage.listType:type_name -> proto.ListMessage.ListType + 344, // 231: proto.ListMessage.sections:type_name -> proto.ListMessage.Section + 348, // 232: proto.ListMessage.productListInfo:type_name -> proto.ListMessage.ProductListInfo + 136, // 233: proto.ListMessage.contextInfo:type_name -> proto.ContextInfo + 205, // 234: proto.KeepInChatMessage.key:type_name -> proto.MessageKey + 1, // 235: proto.KeepInChatMessage.keepType:type_name -> proto.KeepType + 45, // 236: proto.InvoiceMessage.attachmentType:type_name -> proto.InvoiceMessage.AttachmentType + 351, // 237: proto.InteractiveResponseMessage.body:type_name -> proto.InteractiveResponseMessage.Body + 136, // 238: proto.InteractiveResponseMessage.contextInfo:type_name -> proto.ContextInfo + 350, // 239: proto.InteractiveResponseMessage.nativeFlowResponseMessage:type_name -> proto.InteractiveResponseMessage.NativeFlowResponseMessage + 353, // 240: proto.InteractiveMessage.header:type_name -> proto.InteractiveMessage.Header + 357, // 241: proto.InteractiveMessage.body:type_name -> proto.InteractiveMessage.Body + 354, // 242: proto.InteractiveMessage.footer:type_name -> proto.InteractiveMessage.Footer + 136, // 243: proto.InteractiveMessage.contextInfo:type_name -> proto.ContextInfo + 358, // 244: proto.InteractiveMessage.shopStorefrontMessage:type_name -> proto.InteractiveMessage.ShopMessage + 355, // 245: proto.InteractiveMessage.collectionMessage:type_name -> proto.InteractiveMessage.CollectionMessage + 352, // 246: proto.InteractiveMessage.nativeFlowMessage:type_name -> proto.InteractiveMessage.NativeFlowMessage + 356, // 247: proto.InteractiveMessage.carouselMessage:type_name -> proto.InteractiveMessage.CarouselMessage + 194, // 248: proto.PastParticipants.pastParticipants:type_name -> proto.PastParticipant + 48, // 249: proto.PastParticipant.leaveReason:type_name -> proto.PastParticipant.LeaveReason + 49, // 250: proto.HistorySync.syncType:type_name -> proto.HistorySync.HistorySyncType + 200, // 251: proto.HistorySync.conversations:type_name -> proto.Conversation + 282, // 252: proto.HistorySync.statusV3Messages:type_name -> proto.WebMessageInfo + 191, // 253: proto.HistorySync.pushnames:type_name -> proto.Pushname + 199, // 254: proto.HistorySync.globalSettings:type_name -> proto.GlobalSettings + 190, // 255: proto.HistorySync.recentStickers:type_name -> proto.StickerMetadata + 193, // 256: proto.HistorySync.pastParticipants:type_name -> proto.PastParticipants + 270, // 257: proto.HistorySync.callLogRecords:type_name -> proto.CallLogRecord + 50, // 258: proto.HistorySync.aiWaitListState:type_name -> proto.HistorySync.BotAIWaitListState + 192, // 259: proto.HistorySync.phoneNumberToLidMappings:type_name -> proto.PhoneNumberToLIDMapping + 282, // 260: proto.HistorySyncMsg.message:type_name -> proto.WebMessageInfo + 51, // 261: proto.GroupParticipant.rank:type_name -> proto.GroupParticipant.Rank + 189, // 262: proto.GlobalSettings.lightThemeWallpaper:type_name -> proto.WallpaperSettings + 3, // 263: proto.GlobalSettings.mediaVisibility:type_name -> proto.MediaVisibility + 189, // 264: proto.GlobalSettings.darkThemeWallpaper:type_name -> proto.WallpaperSettings + 202, // 265: proto.GlobalSettings.autoDownloadWiFi:type_name -> proto.AutoDownloadSettings + 202, // 266: proto.GlobalSettings.autoDownloadCellular:type_name -> proto.AutoDownloadSettings + 202, // 267: proto.GlobalSettings.autoDownloadRoaming:type_name -> proto.AutoDownloadSettings + 201, // 268: proto.GlobalSettings.avatarUserSettings:type_name -> proto.AvatarUserSettings + 195, // 269: proto.GlobalSettings.individualNotificationSettings:type_name -> proto.NotificationSettings + 195, // 270: proto.GlobalSettings.groupNotificationSettings:type_name -> proto.NotificationSettings + 304, // 271: proto.GlobalSettings.chatLockSettings:type_name -> proto.ChatLockSettings + 197, // 272: proto.Conversation.messages:type_name -> proto.HistorySyncMsg + 52, // 273: proto.Conversation.endOfHistoryTransferType:type_name -> proto.Conversation.EndOfHistoryTransferType + 134, // 274: proto.Conversation.disappearingMode:type_name -> proto.DisappearingMode + 198, // 275: proto.Conversation.participant:type_name -> proto.GroupParticipant + 189, // 276: proto.Conversation.wallpaper:type_name -> proto.WallpaperSettings + 3, // 277: proto.Conversation.mediaVisibility:type_name -> proto.MediaVisibility + 53, // 278: proto.MediaRetryNotification.result:type_name -> proto.MediaRetryNotification.ResultType + 206, // 279: proto.SyncdSnapshot.version:type_name -> proto.SyncdVersion + 209, // 280: proto.SyncdSnapshot.records:type_name -> proto.SyncdRecord + 214, // 281: proto.SyncdSnapshot.keyId:type_name -> proto.KeyId + 213, // 282: proto.SyncdRecord.index:type_name -> proto.SyncdIndex + 207, // 283: proto.SyncdRecord.value:type_name -> proto.SyncdValue + 214, // 284: proto.SyncdRecord.keyId:type_name -> proto.KeyId + 206, // 285: proto.SyncdPatch.version:type_name -> proto.SyncdVersion + 212, // 286: proto.SyncdPatch.mutations:type_name -> proto.SyncdMutation + 215, // 287: proto.SyncdPatch.externalMutations:type_name -> proto.ExternalBlobReference + 214, // 288: proto.SyncdPatch.keyId:type_name -> proto.KeyId + 216, // 289: proto.SyncdPatch.exitCode:type_name -> proto.ExitCode + 212, // 290: proto.SyncdMutations.mutations:type_name -> proto.SyncdMutation + 54, // 291: proto.SyncdMutation.operation:type_name -> proto.SyncdMutation.SyncdOperation + 209, // 292: proto.SyncdMutation.record:type_name -> proto.SyncdRecord + 227, // 293: proto.SyncActionValue.starAction:type_name -> proto.StarAction + 258, // 294: proto.SyncActionValue.contactAction:type_name -> proto.ContactAction + 241, // 295: proto.SyncActionValue.muteAction:type_name -> proto.MuteAction + 238, // 296: proto.SyncActionValue.pinAction:type_name -> proto.PinAction + 228, // 297: proto.SyncActionValue.securityNotificationSetting:type_name -> proto.SecurityNotificationSetting + 232, // 298: proto.SyncActionValue.pushNameSetting:type_name -> proto.PushNameSetting + 231, // 299: proto.SyncActionValue.quickReplyAction:type_name -> proto.QuickReplyAction + 230, // 300: proto.SyncActionValue.recentEmojiWeightsAction:type_name -> proto.RecentEmojiWeightsAction + 248, // 301: proto.SyncActionValue.labelEditAction:type_name -> proto.LabelEditAction + 249, // 302: proto.SyncActionValue.labelAssociationAction:type_name -> proto.LabelAssociationAction + 246, // 303: proto.SyncActionValue.localeSetting:type_name -> proto.LocaleSetting + 264, // 304: proto.SyncActionValue.archiveChatAction:type_name -> proto.ArchiveChatAction + 252, // 305: proto.SyncActionValue.deleteMessageForMeAction:type_name -> proto.DeleteMessageForMeAction + 250, // 306: proto.SyncActionValue.keyExpiration:type_name -> proto.KeyExpiration + 244, // 307: proto.SyncActionValue.markChatAsReadAction:type_name -> proto.MarkChatAsReadAction + 259, // 308: proto.SyncActionValue.clearChatAction:type_name -> proto.ClearChatAction + 254, // 309: proto.SyncActionValue.deleteChatAction:type_name -> proto.DeleteChatAction + 220, // 310: proto.SyncActionValue.unarchiveChatsSetting:type_name -> proto.UnarchiveChatsSetting + 236, // 311: proto.SyncActionValue.primaryFeature:type_name -> proto.PrimaryFeature + 265, // 312: proto.SyncActionValue.androidUnsupportedActions:type_name -> proto.AndroidUnsupportedActions + 266, // 313: proto.SyncActionValue.agentAction:type_name -> proto.AgentAction + 224, // 314: proto.SyncActionValue.subscriptionAction:type_name -> proto.SubscriptionAction + 219, // 315: proto.SyncActionValue.userStatusMuteAction:type_name -> proto.UserStatusMuteAction + 221, // 316: proto.SyncActionValue.timeFormatAction:type_name -> proto.TimeFormatAction + 240, // 317: proto.SyncActionValue.nuxAction:type_name -> proto.NuxAction + 235, // 318: proto.SyncActionValue.primaryVersionAction:type_name -> proto.PrimaryVersionAction + 225, // 319: proto.SyncActionValue.stickerAction:type_name -> proto.StickerAction + 229, // 320: proto.SyncActionValue.removeRecentStickerAction:type_name -> proto.RemoveRecentStickerAction + 261, // 321: proto.SyncActionValue.chatAssignment:type_name -> proto.ChatAssignmentAction + 260, // 322: proto.SyncActionValue.chatAssignmentOpenedStatus:type_name -> proto.ChatAssignmentOpenedStatusAction + 237, // 323: proto.SyncActionValue.pnForLidChatAction:type_name -> proto.PnForLidChatAction + 243, // 324: proto.SyncActionValue.marketingMessageAction:type_name -> proto.MarketingMessageAction + 242, // 325: proto.SyncActionValue.marketingMessageBroadcastAction:type_name -> proto.MarketingMessageBroadcastAction + 251, // 326: proto.SyncActionValue.externalWebBetaAction:type_name -> proto.ExternalWebBetaAction + 233, // 327: proto.SyncActionValue.privacySettingRelayAllCalls:type_name -> proto.PrivacySettingRelayAllCalls + 262, // 328: proto.SyncActionValue.callLogAction:type_name -> proto.CallLogAction + 226, // 329: proto.SyncActionValue.statusPrivacy:type_name -> proto.StatusPrivacyAction + 263, // 330: proto.SyncActionValue.botWelcomeRequestAction:type_name -> proto.BotWelcomeRequestAction + 253, // 331: proto.SyncActionValue.deleteIndividualCallLog:type_name -> proto.DeleteIndividualCallLogAction + 247, // 332: proto.SyncActionValue.labelReorderingAction:type_name -> proto.LabelReorderingAction + 239, // 333: proto.SyncActionValue.paymentInfoAction:type_name -> proto.PaymentInfoAction + 255, // 334: proto.SyncActionValue.customPaymentMethodsAction:type_name -> proto.CustomPaymentMethodsAction + 245, // 335: proto.SyncActionValue.lockChatAction:type_name -> proto.LockChatAction + 304, // 336: proto.SyncActionValue.chatLockSettings:type_name -> proto.ChatLockSettings + 218, // 337: proto.SyncActionValue.wamoUserIdentifierAction:type_name -> proto.WamoUserIdentifierAction + 234, // 338: proto.SyncActionValue.privacySettingDisableLinkPreviewsAction:type_name -> proto.PrivacySettingDisableLinkPreviewsAction + 305, // 339: proto.SyncActionValue.deviceCapabilities:type_name -> proto.DeviceCapabilities + 205, // 340: proto.SyncActionMessage.key:type_name -> proto.MessageKey + 222, // 341: proto.SyncActionMessageRange.messages:type_name -> proto.SyncActionMessage + 55, // 342: proto.StatusPrivacyAction.mode:type_name -> proto.StatusPrivacyAction.StatusDistributionMode + 268, // 343: proto.RecentEmojiWeightsAction.weights:type_name -> proto.RecentEmojiWeight + 56, // 344: proto.MarketingMessageAction.type:type_name -> proto.MarketingMessageAction.MarketingMessagePrototypeType + 223, // 345: proto.MarkChatAsReadAction.messageRange:type_name -> proto.SyncActionMessageRange + 223, // 346: proto.DeleteChatAction.messageRange:type_name -> proto.SyncActionMessageRange + 256, // 347: proto.CustomPaymentMethodsAction.customPaymentMethods:type_name -> proto.CustomPaymentMethod + 257, // 348: proto.CustomPaymentMethod.metadata:type_name -> proto.CustomPaymentMethodMetadata + 223, // 349: proto.ClearChatAction.messageRange:type_name -> proto.SyncActionMessageRange + 270, // 350: proto.CallLogAction.callLogRecord:type_name -> proto.CallLogRecord + 223, // 351: proto.ArchiveChatAction.messageRange:type_name -> proto.SyncActionMessageRange + 217, // 352: proto.SyncActionData.value:type_name -> proto.SyncActionValue + 57, // 353: proto.PatchDebugData.senderPlatform:type_name -> proto.PatchDebugData.Platform + 60, // 354: proto.CallLogRecord.callResult:type_name -> proto.CallLogRecord.CallResult + 58, // 355: proto.CallLogRecord.silenceReason:type_name -> proto.CallLogRecord.SilenceReason + 360, // 356: proto.CallLogRecord.participants:type_name -> proto.CallLogRecord.ParticipantInfo + 59, // 357: proto.CallLogRecord.callType:type_name -> proto.CallLogRecord.CallType + 61, // 358: proto.BizIdentityInfo.vlevel:type_name -> proto.BizIdentityInfo.VerifiedLevelValue + 271, // 359: proto.BizIdentityInfo.vnameCert:type_name -> proto.VerifiedNameCertificate + 62, // 360: proto.BizIdentityInfo.hostStorage:type_name -> proto.BizIdentityInfo.HostStorageType + 63, // 361: proto.BizIdentityInfo.actualActors:type_name -> proto.BizIdentityInfo.ActualActorsType + 271, // 362: proto.BizAccountPayload.vnameCert:type_name -> proto.VerifiedNameCertificate + 64, // 363: proto.BizAccountLinkInfo.hostStorage:type_name -> proto.BizAccountLinkInfo.HostStorageType + 65, // 364: proto.BizAccountLinkInfo.accountType:type_name -> proto.BizAccountLinkInfo.AccountType + 278, // 365: proto.HandshakeMessage.clientHello:type_name -> proto.HandshakeClientHello + 277, // 366: proto.HandshakeMessage.serverHello:type_name -> proto.HandshakeServerHello + 279, // 367: proto.HandshakeMessage.clientFinish:type_name -> proto.HandshakeClientFinish + 363, // 368: proto.ClientPayload.userAgent:type_name -> proto.ClientPayload.UserAgent + 362, // 369: proto.ClientPayload.webInfo:type_name -> proto.ClientPayload.WebInfo + 68, // 370: proto.ClientPayload.connectType:type_name -> proto.ClientPayload.ConnectType + 69, // 371: proto.ClientPayload.connectReason:type_name -> proto.ClientPayload.ConnectReason + 366, // 372: proto.ClientPayload.dnsSource:type_name -> proto.ClientPayload.DNSSource + 365, // 373: proto.ClientPayload.devicePairingData:type_name -> proto.ClientPayload.DevicePairingRegistrationData + 66, // 374: proto.ClientPayload.product:type_name -> proto.ClientPayload.Product + 67, // 375: proto.ClientPayload.iosAppExtension:type_name -> proto.ClientPayload.IOSAppExtension + 364, // 376: proto.ClientPayload.interopData:type_name -> proto.ClientPayload.InteropData + 282, // 377: proto.WebNotificationsInfo.notifyMessages:type_name -> proto.WebMessageInfo + 205, // 378: proto.WebMessageInfo.key:type_name -> proto.MessageKey + 148, // 379: proto.WebMessageInfo.message:type_name -> proto.Message + 76, // 380: proto.WebMessageInfo.status:type_name -> proto.WebMessageInfo.Status + 75, // 381: proto.WebMessageInfo.messageStubType:type_name -> proto.WebMessageInfo.StubType + 293, // 382: proto.WebMessageInfo.paymentInfo:type_name -> proto.PaymentInfo + 181, // 383: proto.WebMessageInfo.finalLiveLocation:type_name -> proto.LiveLocationMessage + 293, // 384: proto.WebMessageInfo.quotedPaymentInfo:type_name -> proto.PaymentInfo + 77, // 385: proto.WebMessageInfo.bizPrivacyStatus:type_name -> proto.WebMessageInfo.BizPrivacyStatus + 296, // 386: proto.WebMessageInfo.mediaData:type_name -> proto.MediaData + 292, // 387: proto.WebMessageInfo.photoChange:type_name -> proto.PhotoChange + 284, // 388: proto.WebMessageInfo.userReceipt:type_name -> proto.UserReceipt + 287, // 389: proto.WebMessageInfo.reactions:type_name -> proto.Reaction + 296, // 390: proto.WebMessageInfo.quotedStickerData:type_name -> proto.MediaData + 285, // 391: proto.WebMessageInfo.statusPsa:type_name -> proto.StatusPSA + 289, // 392: proto.WebMessageInfo.pollUpdates:type_name -> proto.PollUpdate + 290, // 393: proto.WebMessageInfo.pollAdditionalMetadata:type_name -> proto.PollAdditionalMetadata + 297, // 394: proto.WebMessageInfo.keepInChat:type_name -> proto.KeepInChat + 291, // 395: proto.WebMessageInfo.pinInChat:type_name -> proto.PinInChat + 288, // 396: proto.WebMessageInfo.premiumMessageInfo:type_name -> proto.PremiumMessageInfo + 300, // 397: proto.WebMessageInfo.commentMetadata:type_name -> proto.CommentMetadata + 298, // 398: proto.WebMessageInfo.eventResponses:type_name -> proto.EventResponse + 286, // 399: proto.WebMessageInfo.reportingTokenInfo:type_name -> proto.ReportingTokenInfo + 299, // 400: proto.WebMessageInfo.eventAdditionalMetadata:type_name -> proto.EventAdditionalMetadata + 78, // 401: proto.WebFeatures.labelsDisplay:type_name -> proto.WebFeatures.Flag + 78, // 402: proto.WebFeatures.voipIndividualOutgoing:type_name -> proto.WebFeatures.Flag + 78, // 403: proto.WebFeatures.groupsV3:type_name -> proto.WebFeatures.Flag + 78, // 404: proto.WebFeatures.groupsV3Create:type_name -> proto.WebFeatures.Flag + 78, // 405: proto.WebFeatures.changeNumberV2:type_name -> proto.WebFeatures.Flag + 78, // 406: proto.WebFeatures.queryStatusV3Thumbnail:type_name -> proto.WebFeatures.Flag + 78, // 407: proto.WebFeatures.liveLocations:type_name -> proto.WebFeatures.Flag + 78, // 408: proto.WebFeatures.queryVname:type_name -> proto.WebFeatures.Flag + 78, // 409: proto.WebFeatures.voipIndividualIncoming:type_name -> proto.WebFeatures.Flag + 78, // 410: proto.WebFeatures.quickRepliesQuery:type_name -> proto.WebFeatures.Flag + 78, // 411: proto.WebFeatures.payments:type_name -> proto.WebFeatures.Flag + 78, // 412: proto.WebFeatures.stickerPackQuery:type_name -> proto.WebFeatures.Flag + 78, // 413: proto.WebFeatures.liveLocationsFinal:type_name -> proto.WebFeatures.Flag + 78, // 414: proto.WebFeatures.labelsEdit:type_name -> proto.WebFeatures.Flag + 78, // 415: proto.WebFeatures.mediaUpload:type_name -> proto.WebFeatures.Flag + 78, // 416: proto.WebFeatures.mediaUploadRichQuickReplies:type_name -> proto.WebFeatures.Flag + 78, // 417: proto.WebFeatures.vnameV2:type_name -> proto.WebFeatures.Flag + 78, // 418: proto.WebFeatures.videoPlaybackUrl:type_name -> proto.WebFeatures.Flag + 78, // 419: proto.WebFeatures.statusRanking:type_name -> proto.WebFeatures.Flag + 78, // 420: proto.WebFeatures.voipIndividualVideo:type_name -> proto.WebFeatures.Flag + 78, // 421: proto.WebFeatures.thirdPartyStickers:type_name -> proto.WebFeatures.Flag + 78, // 422: proto.WebFeatures.frequentlyForwardedSetting:type_name -> proto.WebFeatures.Flag + 78, // 423: proto.WebFeatures.groupsV4JoinPermission:type_name -> proto.WebFeatures.Flag + 78, // 424: proto.WebFeatures.recentStickers:type_name -> proto.WebFeatures.Flag + 78, // 425: proto.WebFeatures.catalog:type_name -> proto.WebFeatures.Flag + 78, // 426: proto.WebFeatures.starredStickers:type_name -> proto.WebFeatures.Flag + 78, // 427: proto.WebFeatures.voipGroupCall:type_name -> proto.WebFeatures.Flag + 78, // 428: proto.WebFeatures.templateMessage:type_name -> proto.WebFeatures.Flag + 78, // 429: proto.WebFeatures.templateMessageInteractivity:type_name -> proto.WebFeatures.Flag + 78, // 430: proto.WebFeatures.ephemeralMessages:type_name -> proto.WebFeatures.Flag + 78, // 431: proto.WebFeatures.e2ENotificationSync:type_name -> proto.WebFeatures.Flag + 78, // 432: proto.WebFeatures.recentStickersV2:type_name -> proto.WebFeatures.Flag + 78, // 433: proto.WebFeatures.recentStickersV3:type_name -> proto.WebFeatures.Flag + 78, // 434: proto.WebFeatures.userNotice:type_name -> proto.WebFeatures.Flag + 78, // 435: proto.WebFeatures.support:type_name -> proto.WebFeatures.Flag + 78, // 436: proto.WebFeatures.groupUiiCleanup:type_name -> proto.WebFeatures.Flag + 78, // 437: proto.WebFeatures.groupDogfoodingInternalOnly:type_name -> proto.WebFeatures.Flag + 78, // 438: proto.WebFeatures.settingsSync:type_name -> proto.WebFeatures.Flag + 78, // 439: proto.WebFeatures.archiveV2:type_name -> proto.WebFeatures.Flag + 78, // 440: proto.WebFeatures.ephemeralAllowGroupMembers:type_name -> proto.WebFeatures.Flag + 78, // 441: proto.WebFeatures.ephemeral24HDuration:type_name -> proto.WebFeatures.Flag + 78, // 442: proto.WebFeatures.mdForceUpgrade:type_name -> proto.WebFeatures.Flag + 78, // 443: proto.WebFeatures.disappearingMode:type_name -> proto.WebFeatures.Flag + 78, // 444: proto.WebFeatures.externalMdOptInAvailable:type_name -> proto.WebFeatures.Flag + 78, // 445: proto.WebFeatures.noDeleteMessageTimeLimit:type_name -> proto.WebFeatures.Flag + 205, // 446: proto.Reaction.key:type_name -> proto.MessageKey + 205, // 447: proto.PollUpdate.pollUpdateMessageKey:type_name -> proto.MessageKey + 167, // 448: proto.PollUpdate.vote:type_name -> proto.PollVoteMessage + 79, // 449: proto.PinInChat.type:type_name -> proto.PinInChat.Type + 205, // 450: proto.PinInChat.key:type_name -> proto.MessageKey + 295, // 451: proto.PinInChat.messageAddOnContextInfo:type_name -> proto.MessageAddOnContextInfo + 82, // 452: proto.PaymentInfo.currencyDeprecated:type_name -> proto.PaymentInfo.Currency + 81, // 453: proto.PaymentInfo.status:type_name -> proto.PaymentInfo.Status + 205, // 454: proto.PaymentInfo.requestMessageKey:type_name -> proto.MessageKey + 80, // 455: proto.PaymentInfo.txnStatus:type_name -> proto.PaymentInfo.TxnStatus + 147, // 456: proto.PaymentInfo.primaryAmount:type_name -> proto.Money + 147, // 457: proto.PaymentInfo.exchangeAmount:type_name -> proto.Money + 205, // 458: proto.NotificationMessageInfo.key:type_name -> proto.MessageKey + 148, // 459: proto.NotificationMessageInfo.message:type_name -> proto.Message + 1, // 460: proto.KeepInChat.keepType:type_name -> proto.KeepType + 205, // 461: proto.KeepInChat.key:type_name -> proto.MessageKey + 205, // 462: proto.EventResponse.eventResponseMessageKey:type_name -> proto.MessageKey + 102, // 463: proto.EventResponse.eventResponseMessage:type_name -> proto.EventResponseMessage + 205, // 464: proto.CommentMetadata.commentParentKey:type_name -> proto.MessageKey + 370, // 465: proto.CertChain.leaf:type_name -> proto.CertChain.NoiseCertificate + 370, // 466: proto.CertChain.intermediate:type_name -> proto.CertChain.NoiseCertificate + 306, // 467: proto.ChatLockSettings.secretCode:type_name -> proto.UserPassword + 86, // 468: proto.DeviceCapabilities.chatLockSupportLevel:type_name -> proto.DeviceCapabilities.ChatLockSupportLevel + 88, // 469: proto.UserPassword.encoding:type_name -> proto.UserPassword.Encoding + 87, // 470: proto.UserPassword.transformer:type_name -> proto.UserPassword.Transformer + 375, // 471: proto.UserPassword.transformerArg:type_name -> proto.UserPassword.TransformerArg + 311, // 472: proto.HighlyStructuredMessage.HSMLocalizableParameter.currency:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency + 310, // 473: proto.HighlyStructuredMessage.HSMLocalizableParameter.dateTime:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime + 313, // 474: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.component:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent + 312, // 475: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.unixEpoch:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch + 7, // 476: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.dayOfWeek:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType + 8, // 477: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.calendar:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType + 15, // 478: proto.CallLogMessage.CallParticipant.callOutcome:type_name -> proto.CallLogMessage.CallOutcome + 317, // 479: proto.ButtonsMessage.Button.buttonText:type_name -> proto.ButtonsMessage.Button.ButtonText + 18, // 480: proto.ButtonsMessage.Button.type:type_name -> proto.ButtonsMessage.Button.Type + 316, // 481: proto.ButtonsMessage.Button.nativeFlowInfo:type_name -> proto.ButtonsMessage.Button.NativeFlowInfo + 23, // 482: proto.HydratedTemplateButton.HydratedURLButton.webviewPresentation:type_name -> proto.HydratedTemplateButton.HydratedURLButton.WebviewPresentationType + 26, // 483: proto.ContextInfo.ExternalAdReplyInfo.mediaType:type_name -> proto.ContextInfo.ExternalAdReplyInfo.MediaType + 27, // 484: proto.ContextInfo.AdReplyInfo.mediaType:type_name -> proto.ContextInfo.AdReplyInfo.MediaType + 98, // 485: proto.TemplateButton.URLButton.displayText:type_name -> proto.HighlyStructuredMessage + 98, // 486: proto.TemplateButton.URLButton.url:type_name -> proto.HighlyStructuredMessage + 98, // 487: proto.TemplateButton.QuickReplyButton.displayText:type_name -> proto.HighlyStructuredMessage + 98, // 488: proto.TemplateButton.CallButton.displayText:type_name -> proto.HighlyStructuredMessage + 98, // 489: proto.TemplateButton.CallButton.phoneNumber:type_name -> proto.HighlyStructuredMessage + 132, // 490: proto.TemplateMessage.HydratedFourRowTemplate.hydratedButtons:type_name -> proto.HydratedTemplateButton + 107, // 491: proto.TemplateMessage.HydratedFourRowTemplate.documentMessage:type_name -> proto.DocumentMessage + 96, // 492: proto.TemplateMessage.HydratedFourRowTemplate.imageMessage:type_name -> proto.ImageMessage + 151, // 493: proto.TemplateMessage.HydratedFourRowTemplate.videoMessage:type_name -> proto.VideoMessage + 180, // 494: proto.TemplateMessage.HydratedFourRowTemplate.locationMessage:type_name -> proto.LocationMessage + 98, // 495: proto.TemplateMessage.FourRowTemplate.content:type_name -> proto.HighlyStructuredMessage + 98, // 496: proto.TemplateMessage.FourRowTemplate.footer:type_name -> proto.HighlyStructuredMessage + 144, // 497: proto.TemplateMessage.FourRowTemplate.buttons:type_name -> proto.TemplateButton + 107, // 498: proto.TemplateMessage.FourRowTemplate.documentMessage:type_name -> proto.DocumentMessage + 98, // 499: proto.TemplateMessage.FourRowTemplate.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage + 96, // 500: proto.TemplateMessage.FourRowTemplate.imageMessage:type_name -> proto.ImageMessage + 151, // 501: proto.TemplateMessage.FourRowTemplate.videoMessage:type_name -> proto.VideoMessage + 180, // 502: proto.TemplateMessage.FourRowTemplate.locationMessage:type_name -> proto.LocationMessage + 96, // 503: proto.ProductMessage.ProductSnapshot.productImage:type_name -> proto.ImageMessage + 96, // 504: proto.ProductMessage.CatalogSnapshot.catalogImage:type_name -> proto.ImageMessage + 53, // 505: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.mediaUploadResult:type_name -> proto.MediaRetryNotification.ResultType + 155, // 506: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.stickerMessage:type_name -> proto.StickerMessage + 337, // 507: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.linkPreviewResponse:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse + 336, // 508: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.placeholderMessageResendResponse:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.PlaceholderMessageResendResponse + 338, // 509: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.hqThumbnail:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse.LinkPreviewHighQualityThumbnail + 205, // 510: proto.PeerDataOperationRequestMessage.PlaceholderMessageResendRequest.messageKey:type_name -> proto.MessageKey + 345, // 511: proto.ListMessage.Section.rows:type_name -> proto.ListMessage.Row + 346, // 512: proto.ListMessage.ProductSection.products:type_name -> proto.ListMessage.Product + 347, // 513: proto.ListMessage.ProductListInfo.productSections:type_name -> proto.ListMessage.ProductSection + 349, // 514: proto.ListMessage.ProductListInfo.headerImage:type_name -> proto.ListMessage.ProductListHeaderImage + 46, // 515: proto.InteractiveResponseMessage.Body.format:type_name -> proto.InteractiveResponseMessage.Body.Format + 359, // 516: proto.InteractiveMessage.NativeFlowMessage.buttons:type_name -> proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton + 107, // 517: proto.InteractiveMessage.Header.documentMessage:type_name -> proto.DocumentMessage + 96, // 518: proto.InteractiveMessage.Header.imageMessage:type_name -> proto.ImageMessage + 151, // 519: proto.InteractiveMessage.Header.videoMessage:type_name -> proto.VideoMessage + 180, // 520: proto.InteractiveMessage.Header.locationMessage:type_name -> proto.LocationMessage + 166, // 521: proto.InteractiveMessage.Header.productMessage:type_name -> proto.ProductMessage + 187, // 522: proto.InteractiveMessage.CarouselMessage.cards:type_name -> proto.InteractiveMessage + 47, // 523: proto.InteractiveMessage.ShopMessage.surface:type_name -> proto.InteractiveMessage.ShopMessage.Surface + 60, // 524: proto.CallLogRecord.ParticipantInfo.callResult:type_name -> proto.CallLogRecord.CallResult + 272, // 525: proto.VerifiedNameCertificate.Details.localizedNames:type_name -> proto.LocalizedName + 367, // 526: proto.ClientPayload.WebInfo.webdPayload:type_name -> proto.ClientPayload.WebInfo.WebdPayload + 70, // 527: proto.ClientPayload.WebInfo.webSubPlatform:type_name -> proto.ClientPayload.WebInfo.WebSubPlatform + 72, // 528: proto.ClientPayload.UserAgent.platform:type_name -> proto.ClientPayload.UserAgent.Platform + 368, // 529: proto.ClientPayload.UserAgent.appVersion:type_name -> proto.ClientPayload.UserAgent.AppVersion + 71, // 530: proto.ClientPayload.UserAgent.releaseChannel:type_name -> proto.ClientPayload.UserAgent.ReleaseChannel + 73, // 531: proto.ClientPayload.UserAgent.deviceType:type_name -> proto.ClientPayload.UserAgent.DeviceType + 74, // 532: proto.ClientPayload.DNSSource.dnsMethod:type_name -> proto.ClientPayload.DNSSource.DNSResolutionMethod + 373, // 533: proto.QP.Filter.parameters:type_name -> proto.QP.FilterParameters + 83, // 534: proto.QP.Filter.filterResult:type_name -> proto.QP.FilterResult + 84, // 535: proto.QP.Filter.clientNotSupportedConfig:type_name -> proto.QP.FilterClientNotSupportedConfig + 85, // 536: proto.QP.FilterClause.clauseType:type_name -> proto.QP.ClauseType + 374, // 537: proto.QP.FilterClause.clauses:type_name -> proto.QP.FilterClause + 372, // 538: proto.QP.FilterClause.filters:type_name -> proto.QP.Filter + 376, // 539: proto.UserPassword.TransformerArg.value:type_name -> proto.UserPassword.TransformerArg.Value + 540, // [540:540] is the sub-list for method output_type + 540, // [540:540] is the sub-list for method input_type + 540, // [540:540] is the sub-list for extension type_name + 540, // [540:540] is the sub-list for extension extendee + 0, // [0:540] is the sub-list for field type_name } func init() { file_binary_proto_def_proto_init() } @@ -25420,90 +30802,6 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LiveLocationMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListResponseMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeepInChatMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InvoiceMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveResponseMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_binary_proto_def_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InitialSecurityNotificationSettingSync); i { case 0: return &v.state @@ -25515,7 +30813,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ImageMessage); i { case 0: return &v.state @@ -25527,7 +30825,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HistorySyncNotification); i { case 0: return &v.state @@ -25539,7 +30837,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HighlyStructuredMessage); i { case 0: return &v.state @@ -25551,7 +30849,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GroupInviteMessage); i { case 0: return &v.state @@ -25563,7 +30861,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FutureProofMessage); i { case 0: return &v.state @@ -25575,7 +30873,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExtendedTextMessage); i { case 0: return &v.state @@ -25587,7 +30885,31 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EncReactionMessage); i { case 0: return &v.state @@ -25599,7 +30921,19 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EncEventResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EncCommentMessage); i { case 0: return &v.state @@ -25611,7 +30945,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DocumentMessage); i { case 0: return &v.state @@ -25623,7 +30957,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeviceSentMessage); i { case 0: return &v.state @@ -25635,7 +30969,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeclinePaymentRequestMessage); i { case 0: return &v.state @@ -25647,7 +30981,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ContactsArrayMessage); i { case 0: return &v.state @@ -25659,7 +30993,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ContactMessage); i { case 0: return &v.state @@ -25671,7 +31005,19 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommentMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Chat); i { case 0: return &v.state @@ -25683,7 +31029,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CancelPaymentRequestMessage); i { case 0: return &v.state @@ -25695,7 +31041,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Call); i { case 0: return &v.state @@ -25707,7 +31053,19 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CallLogMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ButtonsResponseMessage); i { case 0: return &v.state @@ -25719,7 +31077,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ButtonsMessage); i { case 0: return &v.state @@ -25731,7 +31089,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BotFeedbackMessage); i { case 0: return &v.state @@ -25743,7 +31101,19 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BCallMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AudioMessage); i { case 0: return &v.state @@ -25755,7 +31125,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AppStateSyncKey); i { case 0: return &v.state @@ -25767,7 +31137,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AppStateSyncKeyShare); i { case 0: return &v.state @@ -25779,7 +31149,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AppStateSyncKeyRequest); i { case 0: return &v.state @@ -25791,7 +31161,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AppStateSyncKeyId); i { case 0: return &v.state @@ -25803,7 +31173,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AppStateSyncKeyFingerprint); i { case 0: return &v.state @@ -25815,7 +31185,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AppStateSyncKeyData); i { case 0: return &v.state @@ -25827,7 +31197,7 @@ func file_binary_proto_def_proto_init() { return nil } } - file_binary_proto_def_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_binary_proto_def_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AppStateFatalExceptionNotification); i { case 0: return &v.state @@ -25839,6 +31209,18 @@ func file_binary_proto_def_proto_init() { return nil } } + file_binary_proto_def_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MediaNotifyMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } file_binary_proto_def_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Location); i { case 0: @@ -25924,7 +31306,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BotPluginMetadata); i { + switch v := v.(*ForwardedNewsletterMessageInfo); i { case 0: return &v.state case 1: @@ -25936,7 +31318,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BotMetadata); i { + switch v := v.(*BotSuggestedPromptMetadata); i { case 0: return &v.state case 1: @@ -25948,7 +31330,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BotAvatarMetadata); i { + switch v := v.(*BotSearchMetadata); i { case 0: return &v.state case 1: @@ -25960,7 +31342,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ActionLink); i { + switch v := v.(*BotPluginMetadata); i { case 0: return &v.state case 1: @@ -25972,7 +31354,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButton); i { + switch v := v.(*BotMetadata); i { case 0: return &v.state case 1: @@ -25984,7 +31366,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Point); i { + switch v := v.(*BotAvatarMetadata); i { case 0: return &v.state case 1: @@ -25996,7 +31378,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentBackground); i { + switch v := v.(*ActionLink); i { case 0: return &v.state case 1: @@ -26008,7 +31390,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Money); i { + switch v := v.(*TemplateButton); i { case 0: return &v.state case 1: @@ -26020,7 +31402,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Message); i { + switch v := v.(*Point); i { case 0: return &v.state case 1: @@ -26032,7 +31414,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageSecretMessage); i { + switch v := v.(*PaymentBackground); i { case 0: return &v.state case 1: @@ -26044,7 +31426,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageContextInfo); i { + switch v := v.(*Money); i { case 0: return &v.state case 1: @@ -26056,7 +31438,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VideoMessage); i { + switch v := v.(*Message); i { case 0: return &v.state case 1: @@ -26068,7 +31450,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateMessage); i { + switch v := v.(*MessageSecretMessage); i { case 0: return &v.state case 1: @@ -26080,7 +31462,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButtonReplyMessage); i { + switch v := v.(*MessageContextInfo); i { case 0: return &v.state case 1: @@ -26092,7 +31474,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerSyncRMRMessage); i { + switch v := v.(*VideoMessage); i { case 0: return &v.state case 1: @@ -26104,7 +31486,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerMessage); i { + switch v := v.(*TemplateMessage); i { case 0: return &v.state case 1: @@ -26116,7 +31498,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SenderKeyDistributionMessage); i { + switch v := v.(*TemplateButtonReplyMessage); i { case 0: return &v.state case 1: @@ -26128,7 +31510,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SendPaymentMessage); i { + switch v := v.(*StickerSyncRMRMessage); i { case 0: return &v.state case 1: @@ -26140,7 +31522,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ScheduledCallEditMessage); i { + switch v := v.(*StickerMessage); i { case 0: return &v.state case 1: @@ -26152,7 +31534,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ScheduledCallCreationMessage); i { + switch v := v.(*SenderKeyDistributionMessage); i { case 0: return &v.state case 1: @@ -26164,7 +31546,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestPhoneNumberMessage); i { + switch v := v.(*SendPaymentMessage); i { case 0: return &v.state case 1: @@ -26176,7 +31558,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RequestPaymentMessage); i { + switch v := v.(*SecretEncryptedMessage); i { case 0: return &v.state case 1: @@ -26188,7 +31570,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReactionMessage); i { + switch v := v.(*ScheduledCallEditMessage); i { case 0: return &v.state case 1: @@ -26200,7 +31582,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProtocolMessage); i { + switch v := v.(*ScheduledCallCreationMessage); i { case 0: return &v.state case 1: @@ -26212,7 +31594,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProductMessage); i { + switch v := v.(*RequestWelcomeMessageMetadata); i { case 0: return &v.state case 1: @@ -26224,7 +31606,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollVoteMessage); i { + switch v := v.(*RequestPhoneNumberMessage); i { case 0: return &v.state case 1: @@ -26236,7 +31618,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollUpdateMessage); i { + switch v := v.(*RequestPaymentMessage); i { case 0: return &v.state case 1: @@ -26248,7 +31630,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollUpdateMessageMetadata); i { + switch v := v.(*ReactionMessage); i { case 0: return &v.state case 1: @@ -26260,7 +31642,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollEncValue); i { + switch v := v.(*ProtocolMessage); i { case 0: return &v.state case 1: @@ -26272,7 +31654,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollCreationMessage); i { + switch v := v.(*ProductMessage); i { case 0: return &v.state case 1: @@ -26284,7 +31666,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PinInChatMessage); i { + switch v := v.(*PollVoteMessage); i { case 0: return &v.state case 1: @@ -26296,7 +31678,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestResponseMessage); i { + switch v := v.(*PollUpdateMessage); i { case 0: return &v.state case 1: @@ -26308,7 +31690,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestMessage); i { + switch v := v.(*PollUpdateMessageMetadata); i { case 0: return &v.state case 1: @@ -26320,7 +31702,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentInviteMessage); i { + switch v := v.(*PollEncValue); i { case 0: return &v.state case 1: @@ -26332,7 +31714,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OrderMessage); i { + switch v := v.(*PollCreationMessage); i { case 0: return &v.state case 1: @@ -26344,7 +31726,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocationMessage); i { + switch v := v.(*PlaceholderMessage); i { case 0: return &v.state case 1: @@ -26356,7 +31738,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EphemeralSetting); i { + switch v := v.(*PinInChatMessage); i { case 0: return &v.state case 1: @@ -26368,7 +31750,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WallpaperSettings); i { + switch v := v.(*PeerDataOperationRequestResponseMessage); i { case 0: return &v.state case 1: @@ -26380,7 +31762,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerMetadata); i { + switch v := v.(*PeerDataOperationRequestMessage); i { case 0: return &v.state case 1: @@ -26392,7 +31774,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Pushname); i { + switch v := v.(*PaymentInviteMessage); i { case 0: return &v.state case 1: @@ -26404,7 +31786,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PastParticipants); i { + switch v := v.(*OrderMessage); i { case 0: return &v.state case 1: @@ -26416,7 +31798,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PastParticipant); i { + switch v := v.(*NewsletterAdminInviteMessage); i { case 0: return &v.state case 1: @@ -26428,7 +31810,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotificationSettings); i { + switch v := v.(*MessageHistoryBundle); i { case 0: return &v.state case 1: @@ -26440,7 +31822,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HistorySync); i { + switch v := v.(*LocationMessage); i { case 0: return &v.state case 1: @@ -26452,7 +31834,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HistorySyncMsg); i { + switch v := v.(*LiveLocationMessage); i { case 0: return &v.state case 1: @@ -26464,7 +31846,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GroupParticipant); i { + switch v := v.(*ListResponseMessage); i { case 0: return &v.state case 1: @@ -26476,7 +31858,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GlobalSettings); i { + switch v := v.(*ListMessage); i { case 0: return &v.state case 1: @@ -26488,7 +31870,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Conversation); i { + switch v := v.(*KeepInChatMessage); i { case 0: return &v.state case 1: @@ -26500,7 +31882,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AvatarUserSettings); i { + switch v := v.(*InvoiceMessage); i { case 0: return &v.state case 1: @@ -26512,7 +31894,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AutoDownloadSettings); i { + switch v := v.(*InteractiveResponseMessage); i { case 0: return &v.state case 1: @@ -26524,7 +31906,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerErrorReceipt); i { + switch v := v.(*InteractiveMessage); i { case 0: return &v.state case 1: @@ -26536,7 +31918,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MediaRetryNotification); i { + switch v := v.(*EphemeralSetting); i { case 0: return &v.state case 1: @@ -26548,7 +31930,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageKey); i { + switch v := v.(*WallpaperSettings); i { case 0: return &v.state case 1: @@ -26560,7 +31942,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdVersion); i { + switch v := v.(*StickerMetadata); i { case 0: return &v.state case 1: @@ -26572,7 +31954,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdValue); i { + switch v := v.(*Pushname); i { case 0: return &v.state case 1: @@ -26584,7 +31966,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdSnapshot); i { + switch v := v.(*PhoneNumberToLIDMapping); i { case 0: return &v.state case 1: @@ -26596,7 +31978,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdRecord); i { + switch v := v.(*PastParticipants); i { case 0: return &v.state case 1: @@ -26608,7 +31990,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdPatch); i { + switch v := v.(*PastParticipant); i { case 0: return &v.state case 1: @@ -26620,7 +32002,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdMutations); i { + switch v := v.(*NotificationSettings); i { case 0: return &v.state case 1: @@ -26632,7 +32014,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdMutation); i { + switch v := v.(*HistorySync); i { case 0: return &v.state case 1: @@ -26644,7 +32026,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncdIndex); i { + switch v := v.(*HistorySyncMsg); i { case 0: return &v.state case 1: @@ -26656,7 +32038,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeyId); i { + switch v := v.(*GroupParticipant); i { case 0: return &v.state case 1: @@ -26668,7 +32050,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExternalBlobReference); i { + switch v := v.(*GlobalSettings); i { case 0: return &v.state case 1: @@ -26680,7 +32062,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExitCode); i { + switch v := v.(*Conversation); i { case 0: return &v.state case 1: @@ -26692,7 +32074,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActionValue); i { + switch v := v.(*AvatarUserSettings); i { case 0: return &v.state case 1: @@ -26704,7 +32086,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserStatusMuteAction); i { + switch v := v.(*AutoDownloadSettings); i { case 0: return &v.state case 1: @@ -26716,7 +32098,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnarchiveChatsSetting); i { + switch v := v.(*ServerErrorReceipt); i { case 0: return &v.state case 1: @@ -26728,7 +32110,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TimeFormatAction); i { + switch v := v.(*MediaRetryNotification); i { case 0: return &v.state case 1: @@ -26740,7 +32122,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActionMessage); i { + switch v := v.(*MessageKey); i { case 0: return &v.state case 1: @@ -26752,7 +32134,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActionMessageRange); i { + switch v := v.(*SyncdVersion); i { case 0: return &v.state case 1: @@ -26764,7 +32146,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubscriptionAction); i { + switch v := v.(*SyncdValue); i { case 0: return &v.state case 1: @@ -26776,7 +32158,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StickerAction); i { + switch v := v.(*SyncdSnapshot); i { case 0: return &v.state case 1: @@ -26788,7 +32170,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StarAction); i { + switch v := v.(*SyncdRecord); i { case 0: return &v.state case 1: @@ -26800,7 +32182,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SecurityNotificationSetting); i { + switch v := v.(*SyncdPatch); i { case 0: return &v.state case 1: @@ -26812,7 +32194,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveRecentStickerAction); i { + switch v := v.(*SyncdMutations); i { case 0: return &v.state case 1: @@ -26824,7 +32206,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RecentEmojiWeightsAction); i { + switch v := v.(*SyncdMutation); i { case 0: return &v.state case 1: @@ -26836,7 +32218,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QuickReplyAction); i { + switch v := v.(*SyncdIndex); i { case 0: return &v.state case 1: @@ -26848,7 +32230,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PushNameSetting); i { + switch v := v.(*KeyId); i { case 0: return &v.state case 1: @@ -26860,7 +32242,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrivacySettingRelayAllCalls); i { + switch v := v.(*ExternalBlobReference); i { case 0: return &v.state case 1: @@ -26872,7 +32254,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrimaryVersionAction); i { + switch v := v.(*ExitCode); i { case 0: return &v.state case 1: @@ -26884,7 +32266,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PrimaryFeature); i { + switch v := v.(*SyncActionValue); i { case 0: return &v.state case 1: @@ -26896,7 +32278,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PnForLidChatAction); i { + switch v := v.(*WamoUserIdentifierAction); i { case 0: return &v.state case 1: @@ -26908,7 +32290,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PinAction); i { + switch v := v.(*UserStatusMuteAction); i { case 0: return &v.state case 1: @@ -26920,7 +32302,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NuxAction); i { + switch v := v.(*UnarchiveChatsSetting); i { case 0: return &v.state case 1: @@ -26932,7 +32314,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MuteAction); i { + switch v := v.(*TimeFormatAction); i { case 0: return &v.state case 1: @@ -26944,7 +32326,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketingMessageBroadcastAction); i { + switch v := v.(*SyncActionMessage); i { case 0: return &v.state case 1: @@ -26956,7 +32338,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketingMessageAction); i { + switch v := v.(*SyncActionMessageRange); i { case 0: return &v.state case 1: @@ -26968,7 +32350,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkChatAsReadAction); i { + switch v := v.(*SubscriptionAction); i { case 0: return &v.state case 1: @@ -26980,7 +32362,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocaleSetting); i { + switch v := v.(*StickerAction); i { case 0: return &v.state case 1: @@ -26992,7 +32374,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LabelEditAction); i { + switch v := v.(*StatusPrivacyAction); i { case 0: return &v.state case 1: @@ -27004,7 +32386,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LabelAssociationAction); i { + switch v := v.(*StarAction); i { case 0: return &v.state case 1: @@ -27016,7 +32398,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeyExpiration); i { + switch v := v.(*SecurityNotificationSetting); i { case 0: return &v.state case 1: @@ -27028,7 +32410,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExternalWebBetaAction); i { + switch v := v.(*RemoveRecentStickerAction); i { case 0: return &v.state case 1: @@ -27040,7 +32422,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteMessageForMeAction); i { + switch v := v.(*RecentEmojiWeightsAction); i { case 0: return &v.state case 1: @@ -27052,7 +32434,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteChatAction); i { + switch v := v.(*QuickReplyAction); i { case 0: return &v.state case 1: @@ -27064,7 +32446,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContactAction); i { + switch v := v.(*PushNameSetting); i { case 0: return &v.state case 1: @@ -27076,7 +32458,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClearChatAction); i { + switch v := v.(*PrivacySettingRelayAllCalls); i { case 0: return &v.state case 1: @@ -27088,7 +32470,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChatAssignmentOpenedStatusAction); i { + switch v := v.(*PrivacySettingDisableLinkPreviewsAction); i { case 0: return &v.state case 1: @@ -27100,7 +32482,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChatAssignmentAction); i { + switch v := v.(*PrimaryVersionAction); i { case 0: return &v.state case 1: @@ -27112,7 +32494,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ArchiveChatAction); i { + switch v := v.(*PrimaryFeature); i { case 0: return &v.state case 1: @@ -27124,7 +32506,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AndroidUnsupportedActions); i { + switch v := v.(*PnForLidChatAction); i { case 0: return &v.state case 1: @@ -27136,7 +32518,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AgentAction); i { + switch v := v.(*PinAction); i { case 0: return &v.state case 1: @@ -27148,7 +32530,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SyncActionData); i { + switch v := v.(*PaymentInfoAction); i { case 0: return &v.state case 1: @@ -27160,7 +32542,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RecentEmojiWeight); i { + switch v := v.(*NuxAction); i { case 0: return &v.state case 1: @@ -27172,7 +32554,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VerifiedNameCertificate); i { + switch v := v.(*MuteAction); i { case 0: return &v.state case 1: @@ -27184,7 +32566,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LocalizedName); i { + switch v := v.(*MarketingMessageBroadcastAction); i { case 0: return &v.state case 1: @@ -27196,7 +32578,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BizIdentityInfo); i { + switch v := v.(*MarketingMessageAction); i { case 0: return &v.state case 1: @@ -27208,7 +32590,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BizAccountPayload); i { + switch v := v.(*MarkChatAsReadAction); i { case 0: return &v.state case 1: @@ -27220,7 +32602,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BizAccountLinkInfo); i { + switch v := v.(*LockChatAction); i { case 0: return &v.state case 1: @@ -27232,7 +32614,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HandshakeMessage); i { + switch v := v.(*LocaleSetting); i { case 0: return &v.state case 1: @@ -27244,7 +32626,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HandshakeServerHello); i { + switch v := v.(*LabelReorderingAction); i { case 0: return &v.state case 1: @@ -27256,7 +32638,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HandshakeClientHello); i { + switch v := v.(*LabelEditAction); i { case 0: return &v.state case 1: @@ -27268,7 +32650,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HandshakeClientFinish); i { + switch v := v.(*LabelAssociationAction); i { case 0: return &v.state case 1: @@ -27280,7 +32662,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload); i { + switch v := v.(*KeyExpiration); i { case 0: return &v.state case 1: @@ -27292,7 +32674,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebNotificationsInfo); i { + switch v := v.(*ExternalWebBetaAction); i { case 0: return &v.state case 1: @@ -27304,7 +32686,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebMessageInfo); i { + switch v := v.(*DeleteMessageForMeAction); i { case 0: return &v.state case 1: @@ -27316,7 +32698,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebFeatures); i { + switch v := v.(*DeleteIndividualCallLogAction); i { case 0: return &v.state case 1: @@ -27328,7 +32710,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserReceipt); i { + switch v := v.(*DeleteChatAction); i { case 0: return &v.state case 1: @@ -27340,7 +32722,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StatusPSA); i { + switch v := v.(*CustomPaymentMethodsAction); i { case 0: return &v.state case 1: @@ -27352,7 +32734,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Reaction); i { + switch v := v.(*CustomPaymentMethod); i { case 0: return &v.state case 1: @@ -27364,7 +32746,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollUpdate); i { + switch v := v.(*CustomPaymentMethodMetadata); i { case 0: return &v.state case 1: @@ -27376,7 +32758,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollAdditionalMetadata); i { + switch v := v.(*ContactAction); i { case 0: return &v.state case 1: @@ -27388,7 +32770,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PinInChat); i { + switch v := v.(*ClearChatAction); i { case 0: return &v.state case 1: @@ -27400,7 +32782,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PhotoChange); i { + switch v := v.(*ChatAssignmentOpenedStatusAction); i { case 0: return &v.state case 1: @@ -27412,7 +32794,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentInfo); i { + switch v := v.(*ChatAssignmentAction); i { case 0: return &v.state case 1: @@ -27424,7 +32806,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotificationMessageInfo); i { + switch v := v.(*CallLogAction); i { case 0: return &v.state case 1: @@ -27436,7 +32818,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MessageAddOnContextInfo); i { + switch v := v.(*BotWelcomeRequestAction); i { case 0: return &v.state case 1: @@ -27448,7 +32830,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MediaData); i { + switch v := v.(*ArchiveChatAction); i { case 0: return &v.state case 1: @@ -27460,7 +32842,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeepInChat); i { + switch v := v.(*AndroidUnsupportedActions); i { case 0: return &v.state case 1: @@ -27472,7 +32854,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NoiseCertificate); i { + switch v := v.(*AgentAction); i { case 0: return &v.state case 1: @@ -27484,7 +32866,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CertChain); i { + switch v := v.(*SyncActionData); i { case 0: return &v.state case 1: @@ -27496,7 +32878,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceProps_HistorySyncConfig); i { + switch v := v.(*RecentEmojiWeight); i { case 0: return &v.state case 1: @@ -27508,7 +32890,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeviceProps_AppVersion); i { + switch v := v.(*PatchDebugData); i { case 0: return &v.state case 1: @@ -27520,7 +32902,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListResponseMessage_SingleSelectReply); i { + switch v := v.(*CallLogRecord); i { case 0: return &v.state case 1: @@ -27532,7 +32914,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_Section); i { + switch v := v.(*VerifiedNameCertificate); i { case 0: return &v.state case 1: @@ -27544,7 +32926,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_Row); i { + switch v := v.(*LocalizedName); i { case 0: return &v.state case 1: @@ -27556,7 +32938,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_Product); i { + switch v := v.(*BizIdentityInfo); i { case 0: return &v.state case 1: @@ -27568,7 +32950,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_ProductSection); i { + switch v := v.(*BizAccountPayload); i { case 0: return &v.state case 1: @@ -27580,7 +32962,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_ProductListInfo); i { + switch v := v.(*BizAccountLinkInfo); i { case 0: return &v.state case 1: @@ -27592,7 +32974,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[187].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMessage_ProductListHeaderImage); i { + switch v := v.(*HandshakeMessage); i { case 0: return &v.state case 1: @@ -27604,7 +32986,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveResponseMessage_NativeFlowResponseMessage); i { + switch v := v.(*HandshakeServerHello); i { case 0: return &v.state case 1: @@ -27616,7 +32998,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[189].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveResponseMessage_Body); i { + switch v := v.(*HandshakeClientHello); i { case 0: return &v.state case 1: @@ -27628,7 +33010,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_ShopMessage); i { + switch v := v.(*HandshakeClientFinish); i { case 0: return &v.state case 1: @@ -27640,7 +33022,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[191].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_NativeFlowMessage); i { + switch v := v.(*ClientPayload); i { case 0: return &v.state case 1: @@ -27652,7 +33034,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[192].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_Header); i { + switch v := v.(*WebNotificationsInfo); i { case 0: return &v.state case 1: @@ -27664,7 +33046,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[193].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_Footer); i { + switch v := v.(*WebMessageInfo); i { case 0: return &v.state case 1: @@ -27676,7 +33058,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[194].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_CollectionMessage); i { + switch v := v.(*WebFeatures); i { case 0: return &v.state case 1: @@ -27688,7 +33070,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[195].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_CarouselMessage); i { + switch v := v.(*UserReceipt); i { case 0: return &v.state case 1: @@ -27700,7 +33082,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[196].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_Body); i { + switch v := v.(*StatusPSA); i { case 0: return &v.state case 1: @@ -27712,7 +33094,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[197].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InteractiveMessage_NativeFlowMessage_NativeFlowButton); i { + switch v := v.(*ReportingTokenInfo); i { case 0: return &v.state case 1: @@ -27724,7 +33106,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[198].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter); i { + switch v := v.(*Reaction); i { case 0: return &v.state case 1: @@ -27736,7 +33118,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[199].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime); i { + switch v := v.(*PremiumMessageInfo); i { case 0: return &v.state case 1: @@ -27748,7 +33130,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[200].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency); i { + switch v := v.(*PollUpdate); i { case 0: return &v.state case 1: @@ -27760,7 +33142,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[201].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch); i { + switch v := v.(*PollAdditionalMetadata); i { case 0: return &v.state case 1: @@ -27772,7 +33154,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[202].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent); i { + switch v := v.(*PinInChat); i { case 0: return &v.state case 1: @@ -27784,7 +33166,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[203].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ButtonsMessage_Button); i { + switch v := v.(*PhotoChange); i { case 0: return &v.state case 1: @@ -27796,7 +33178,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[204].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ButtonsMessage_Button_NativeFlowInfo); i { + switch v := v.(*PaymentInfo); i { case 0: return &v.state case 1: @@ -27808,7 +33190,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[205].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ButtonsMessage_Button_ButtonText); i { + switch v := v.(*NotificationMessageInfo); i { case 0: return &v.state case 1: @@ -27820,7 +33202,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[206].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HydratedTemplateButton_HydratedURLButton); i { + switch v := v.(*MessageAddOnContextInfo); i { case 0: return &v.state case 1: @@ -27832,7 +33214,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[207].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HydratedTemplateButton_HydratedQuickReplyButton); i { + switch v := v.(*MediaData); i { case 0: return &v.state case 1: @@ -27844,7 +33226,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[208].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HydratedTemplateButton_HydratedCallButton); i { + switch v := v.(*KeepInChat); i { case 0: return &v.state case 1: @@ -27856,7 +33238,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[209].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContextInfo_UTMInfo); i { + switch v := v.(*EventResponse); i { case 0: return &v.state case 1: @@ -27868,7 +33250,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[210].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContextInfo_ForwardedNewsletterMessageInfo); i { + switch v := v.(*EventAdditionalMetadata); i { case 0: return &v.state case 1: @@ -27880,7 +33262,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[211].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContextInfo_ExternalAdReplyInfo); i { + switch v := v.(*CommentMetadata); i { case 0: return &v.state case 1: @@ -27892,7 +33274,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[212].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContextInfo_BusinessMessageForwardInfo); i { + switch v := v.(*NoiseCertificate); i { case 0: return &v.state case 1: @@ -27904,7 +33286,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[213].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ContextInfo_AdReplyInfo); i { + switch v := v.(*CertChain); i { case 0: return &v.state case 1: @@ -27916,7 +33298,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[214].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButton_URLButton); i { + switch v := v.(*QP); i { case 0: return &v.state case 1: @@ -27928,7 +33310,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[215].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButton_QuickReplyButton); i { + switch v := v.(*ChatLockSettings); i { case 0: return &v.state case 1: @@ -27940,7 +33322,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[216].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateButton_CallButton); i { + switch v := v.(*DeviceCapabilities); i { case 0: return &v.state case 1: @@ -27952,7 +33334,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[217].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaymentBackground_MediaData); i { + switch v := v.(*UserPassword); i { case 0: return &v.state case 1: @@ -27964,7 +33346,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[218].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateMessage_HydratedFourRowTemplate); i { + switch v := v.(*DeviceProps_HistorySyncConfig); i { case 0: return &v.state case 1: @@ -27976,7 +33358,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[219].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TemplateMessage_FourRowTemplate); i { + switch v := v.(*DeviceProps_AppVersion); i { case 0: return &v.state case 1: @@ -27988,7 +33370,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[220].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProductMessage_ProductSnapshot); i { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter); i { case 0: return &v.state case 1: @@ -28000,7 +33382,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[221].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProductMessage_CatalogSnapshot); i { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime); i { case 0: return &v.state case 1: @@ -28012,7 +33394,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[222].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PollCreationMessage_Option); i { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency); i { case 0: return &v.state case 1: @@ -28024,7 +33406,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[223].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult); i { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch); i { case 0: return &v.state case 1: @@ -28036,7 +33418,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[224].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse); i { + switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent); i { case 0: return &v.state case 1: @@ -28048,7 +33430,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[225].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse); i { + switch v := v.(*CallLogMessage_CallParticipant); i { case 0: return &v.state case 1: @@ -28060,7 +33442,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[226].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail); i { + switch v := v.(*ButtonsMessage_Button); i { case 0: return &v.state case 1: @@ -28072,7 +33454,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[227].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestMessage_RequestUrlPreview); i { + switch v := v.(*ButtonsMessage_Button_NativeFlowInfo); i { case 0: return &v.state case 1: @@ -28084,7 +33466,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[228].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestMessage_RequestStickerReupload); i { + switch v := v.(*ButtonsMessage_Button_ButtonText); i { case 0: return &v.state case 1: @@ -28096,7 +33478,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[229].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest); i { + switch v := v.(*HydratedTemplateButton_HydratedURLButton); i { case 0: return &v.state case 1: @@ -28108,7 +33490,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[230].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest); i { + switch v := v.(*HydratedTemplateButton_HydratedQuickReplyButton); i { case 0: return &v.state case 1: @@ -28120,7 +33502,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[231].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VerifiedNameCertificate_Details); i { + switch v := v.(*HydratedTemplateButton_HydratedCallButton); i { case 0: return &v.state case 1: @@ -28132,7 +33514,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[232].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_WebInfo); i { + switch v := v.(*ContextInfo_UTMInfo); i { case 0: return &v.state case 1: @@ -28144,7 +33526,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[233].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_UserAgent); i { + switch v := v.(*ContextInfo_ExternalAdReplyInfo); i { case 0: return &v.state case 1: @@ -28156,7 +33538,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[234].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_InteropData); i { + switch v := v.(*ContextInfo_DataSharingContext); i { case 0: return &v.state case 1: @@ -28168,7 +33550,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[235].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_DevicePairingRegistrationData); i { + switch v := v.(*ContextInfo_BusinessMessageForwardInfo); i { case 0: return &v.state case 1: @@ -28180,7 +33562,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[236].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_DNSSource); i { + switch v := v.(*ContextInfo_AdReplyInfo); i { case 0: return &v.state case 1: @@ -28192,7 +33574,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[237].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_WebInfo_WebdPayload); i { + switch v := v.(*TemplateButton_URLButton); i { case 0: return &v.state case 1: @@ -28204,7 +33586,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[238].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClientPayload_UserAgent_AppVersion); i { + switch v := v.(*TemplateButton_QuickReplyButton); i { case 0: return &v.state case 1: @@ -28216,7 +33598,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[239].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NoiseCertificate_Details); i { + switch v := v.(*TemplateButton_CallButton); i { case 0: return &v.state case 1: @@ -28228,7 +33610,7 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[240].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CertChain_NoiseCertificate); i { + switch v := v.(*PaymentBackground_MediaData); i { case 0: return &v.state case 1: @@ -28240,6 +33622,498 @@ func file_binary_proto_def_proto_init() { } } file_binary_proto_def_proto_msgTypes[241].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TemplateMessage_HydratedFourRowTemplate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[242].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TemplateMessage_FourRowTemplate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[243].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProductMessage_ProductSnapshot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[244].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProductMessage_CatalogSnapshot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[245].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PollCreationMessage_Option); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[246].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[247].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[248].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[249].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[250].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestMessage_RequestUrlPreview); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[251].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestMessage_RequestStickerReupload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[252].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[253].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[254].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListResponseMessage_SingleSelectReply); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[255].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMessage_Section); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[256].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMessage_Row); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[257].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMessage_Product); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[258].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMessage_ProductSection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[259].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMessage_ProductListInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[260].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMessage_ProductListHeaderImage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[261].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveResponseMessage_NativeFlowResponseMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[262].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveResponseMessage_Body); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[263].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_NativeFlowMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[264].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[265].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_Footer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[266].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_CollectionMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[267].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_CarouselMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[268].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_Body); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[269].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_ShopMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[270].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InteractiveMessage_NativeFlowMessage_NativeFlowButton); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[271].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CallLogRecord_ParticipantInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[272].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifiedNameCertificate_Details); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[273].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_WebInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[274].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_UserAgent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[275].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_InteropData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[276].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_DevicePairingRegistrationData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[277].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_DNSSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[278].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_WebInfo_WebdPayload); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[279].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientPayload_UserAgent_AppVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[280].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NoiseCertificate_Details); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[281].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertChain_NoiseCertificate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[282].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CertChain_NoiseCertificate_Details); i { case 0: return &v.state @@ -28251,20 +34125,71 @@ func file_binary_proto_def_proto_init() { return nil } } + file_binary_proto_def_proto_msgTypes[283].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QP_Filter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[284].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QP_FilterParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[285].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QP_FilterClause); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[286].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserPassword_TransformerArg); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_binary_proto_def_proto_msgTypes[287].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserPassword_TransformerArg_Value); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } - file_binary_proto_def_proto_msgTypes[11].OneofWrappers = []interface{}{ - (*InteractiveResponseMessage_NativeFlowResponseMessage_)(nil), - } - file_binary_proto_def_proto_msgTypes[12].OneofWrappers = []interface{}{ - (*InteractiveMessage_ShopStorefrontMessage)(nil), - (*InteractiveMessage_CollectionMessage_)(nil), - (*InteractiveMessage_NativeFlowMessage_)(nil), - (*InteractiveMessage_CarouselMessage_)(nil), - } - file_binary_proto_def_proto_msgTypes[30].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[28].OneofWrappers = []interface{}{ (*ButtonsResponseMessage_SelectedDisplayText)(nil), } - file_binary_proto_def_proto_msgTypes[31].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[29].OneofWrappers = []interface{}{ (*ButtonsMessage_Text)(nil), (*ButtonsMessage_DocumentMessage)(nil), (*ButtonsMessage_ImageMessage)(nil), @@ -28273,58 +34198,73 @@ func file_binary_proto_def_proto_init() { } file_binary_proto_def_proto_msgTypes[42].OneofWrappers = []interface{}{ (*InteractiveAnnotation_Location)(nil), + (*InteractiveAnnotation_Newsletter)(nil), } file_binary_proto_def_proto_msgTypes[43].OneofWrappers = []interface{}{ (*HydratedTemplateButton_QuickReplyButton)(nil), (*HydratedTemplateButton_UrlButton)(nil), (*HydratedTemplateButton_CallButton)(nil), } - file_binary_proto_def_proto_msgTypes[52].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[55].OneofWrappers = []interface{}{ (*TemplateButton_QuickReplyButton_)(nil), (*TemplateButton_UrlButton)(nil), (*TemplateButton_CallButton_)(nil), } - file_binary_proto_def_proto_msgTypes[60].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[63].OneofWrappers = []interface{}{ (*TemplateMessage_FourRowTemplate_)(nil), (*TemplateMessage_HydratedFourRowTemplate_)(nil), (*TemplateMessage_InteractiveMessageTemplate)(nil), } - file_binary_proto_def_proto_msgTypes[192].OneofWrappers = []interface{}{ - (*InteractiveMessage_Header_DocumentMessage)(nil), - (*InteractiveMessage_Header_ImageMessage)(nil), - (*InteractiveMessage_Header_JpegThumbnail)(nil), - (*InteractiveMessage_Header_VideoMessage)(nil), - (*InteractiveMessage_Header_LocationMessage)(nil), + file_binary_proto_def_proto_msgTypes[97].OneofWrappers = []interface{}{ + (*InteractiveResponseMessage_NativeFlowResponseMessage_)(nil), } - file_binary_proto_def_proto_msgTypes[198].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[98].OneofWrappers = []interface{}{ + (*InteractiveMessage_ShopStorefrontMessage)(nil), + (*InteractiveMessage_CollectionMessage_)(nil), + (*InteractiveMessage_NativeFlowMessage_)(nil), + (*InteractiveMessage_CarouselMessage_)(nil), + } + file_binary_proto_def_proto_msgTypes[220].OneofWrappers = []interface{}{ (*HighlyStructuredMessage_HSMLocalizableParameter_Currency)(nil), (*HighlyStructuredMessage_HSMLocalizableParameter_DateTime)(nil), } - file_binary_proto_def_proto_msgTypes[199].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[221].OneofWrappers = []interface{}{ (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component)(nil), (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch)(nil), } - file_binary_proto_def_proto_msgTypes[218].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[241].OneofWrappers = []interface{}{ (*TemplateMessage_HydratedFourRowTemplate_DocumentMessage)(nil), (*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText)(nil), (*TemplateMessage_HydratedFourRowTemplate_ImageMessage)(nil), (*TemplateMessage_HydratedFourRowTemplate_VideoMessage)(nil), (*TemplateMessage_HydratedFourRowTemplate_LocationMessage)(nil), } - file_binary_proto_def_proto_msgTypes[219].OneofWrappers = []interface{}{ + file_binary_proto_def_proto_msgTypes[242].OneofWrappers = []interface{}{ (*TemplateMessage_FourRowTemplate_DocumentMessage)(nil), (*TemplateMessage_FourRowTemplate_HighlyStructuredMessage)(nil), (*TemplateMessage_FourRowTemplate_ImageMessage)(nil), (*TemplateMessage_FourRowTemplate_VideoMessage)(nil), (*TemplateMessage_FourRowTemplate_LocationMessage)(nil), } + file_binary_proto_def_proto_msgTypes[264].OneofWrappers = []interface{}{ + (*InteractiveMessage_Header_DocumentMessage)(nil), + (*InteractiveMessage_Header_ImageMessage)(nil), + (*InteractiveMessage_Header_JpegThumbnail)(nil), + (*InteractiveMessage_Header_VideoMessage)(nil), + (*InteractiveMessage_Header_LocationMessage)(nil), + (*InteractiveMessage_Header_ProductMessage)(nil), + } + file_binary_proto_def_proto_msgTypes[287].OneofWrappers = []interface{}{ + (*UserPassword_TransformerArg_Value_AsBlob)(nil), + (*UserPassword_TransformerArg_Value_AsUnsignedInteger)(nil), + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_binary_proto_def_proto_rawDesc, - NumEnums: 63, - NumMessages: 242, + NumEnums: 89, + NumMessages: 288, NumExtensions: 0, NumServices: 0, }, diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw b/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw index c914646d..c5fa6e8c 100644 Binary files a/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw and b/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw differ diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto b/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto index 7e496add..7debec3a 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto @@ -4,6 +4,7 @@ package proto; message ADVSignedKeyIndexList { optional bytes details = 1; optional bytes accountSignature = 2; + optional bytes accountSignatureKey = 3; } message ADVSignedDeviceIdentity { @@ -71,6 +72,11 @@ message DeviceProps { optional uint32 storageQuotaMb = 3; optional bool inlineInitialPayloadInE2EeMsg = 4; optional uint32 recentSyncDaysLimit = 5; + optional bool supportCallLogHistory = 6; + optional bool supportBotUserAgentChatHistory = 7; + optional bool supportCagReactionsAndPolls = 8; + optional bool supportBizHostedMsg = 9; + optional bool supportRecentSyncChunkMessageCountTuning = 10; } message AppVersion { @@ -88,201 +94,16 @@ message DeviceProps { optional HistorySyncConfig historySyncConfig = 5; } -message LiveLocationMessage { - optional double degreesLatitude = 1; - optional double degreesLongitude = 2; - optional uint32 accuracyInMeters = 3; - optional float speedInMps = 4; - optional uint32 degreesClockwiseFromMagneticNorth = 5; - optional string caption = 6; - optional int64 sequenceNumber = 7; - optional uint32 timeOffset = 8; - optional bytes jpegThumbnail = 16; - optional ContextInfo contextInfo = 17; -} - -message ListResponseMessage { - message SingleSelectReply { - optional string selectedRowId = 1; - } - - enum ListType { - UNKNOWN = 0; - SINGLE_SELECT = 1; - } - optional string title = 1; - optional ListType listType = 2; - optional SingleSelectReply singleSelectReply = 3; - optional ContextInfo contextInfo = 4; - optional string description = 5; -} - -message ListMessage { - message Section { - optional string title = 1; - repeated Row rows = 2; - } - - message Row { - optional string title = 1; - optional string description = 2; - optional string rowId = 3; - } - - message Product { - optional string productId = 1; - } - - message ProductSection { - optional string title = 1; - repeated Product products = 2; - } - - message ProductListInfo { - repeated ProductSection productSections = 1; - optional ProductListHeaderImage headerImage = 2; - optional string businessOwnerJid = 3; - } - - message ProductListHeaderImage { - optional string productId = 1; - optional bytes jpegThumbnail = 2; - } - - enum ListType { - UNKNOWN = 0; - SINGLE_SELECT = 1; - PRODUCT_LIST = 2; - } - optional string title = 1; - optional string description = 2; - optional string buttonText = 3; - optional ListType listType = 4; - repeated Section sections = 5; - optional ProductListInfo productListInfo = 6; - optional string footerText = 7; - optional ContextInfo contextInfo = 8; -} - -message KeepInChatMessage { - optional MessageKey key = 1; - optional KeepType keepType = 2; - optional int64 timestampMs = 3; -} - -message InvoiceMessage { - enum AttachmentType { - IMAGE = 0; - PDF = 1; - } - optional string note = 1; - optional string token = 2; - optional AttachmentType attachmentType = 3; - optional string attachmentMimetype = 4; - optional bytes attachmentMediaKey = 5; - optional int64 attachmentMediaKeyTimestamp = 6; - optional bytes attachmentFileSha256 = 7; - optional bytes attachmentFileEncSha256 = 8; - optional string attachmentDirectPath = 9; - optional bytes attachmentJpegThumbnail = 10; -} - -message InteractiveResponseMessage { - message NativeFlowResponseMessage { - optional string name = 1; - optional string paramsJson = 2; - optional int32 version = 3; - } - - message Body { - enum Format { - DEFAULT = 0; - EXTENSIONS_1 = 1; - } - optional string text = 1; - optional Format format = 2; - } - - optional Body body = 1; - optional ContextInfo contextInfo = 15; - oneof interactiveResponseMessage { - NativeFlowResponseMessage nativeFlowResponseMessage = 2; - } -} - -message InteractiveMessage { - message ShopMessage { - enum Surface { - UNKNOWN_SURFACE = 0; - FB = 1; - IG = 2; - WA = 3; - } - optional string id = 1; - optional Surface surface = 2; - optional int32 messageVersion = 3; - } - - message NativeFlowMessage { - message NativeFlowButton { - optional string name = 1; - optional string buttonParamsJson = 2; - } - - repeated NativeFlowButton buttons = 1; - optional string messageParamsJson = 2; - optional int32 messageVersion = 3; - } - - message Header { - optional string title = 1; - optional string subtitle = 2; - optional bool hasMediaAttachment = 5; - oneof media { - DocumentMessage documentMessage = 3; - ImageMessage imageMessage = 4; - bytes jpegThumbnail = 6; - VideoMessage videoMessage = 7; - LocationMessage locationMessage = 8; - } - } - - message Footer { - optional string text = 1; - } - - message CollectionMessage { - optional string bizJid = 1; - optional string id = 2; - optional int32 messageVersion = 3; - } - - message CarouselMessage { - repeated InteractiveMessage cards = 1; - optional int32 messageVersion = 2; - } - - message Body { - optional string text = 1; - } - - optional Header header = 1; - optional Body body = 2; - optional Footer footer = 3; - optional ContextInfo contextInfo = 15; - oneof interactiveMessage { - ShopMessage shopStorefrontMessage = 4; - CollectionMessage collectionMessage = 5; - NativeFlowMessage nativeFlowMessage = 6; - CarouselMessage carouselMessage = 7; - } -} - message InitialSecurityNotificationSettingSync { optional bool securityNotificationEnabled = 1; } message ImageMessage { + enum ImageSourceType { + USER_IMAGE = 0; + AI_GENERATED = 1; + AI_MODIFIED = 2; + } optional string url = 1; optional string mimetype = 2; optional string caption = 3; @@ -309,6 +130,8 @@ message ImageMessage { optional bytes thumbnailSha256 = 27; optional bytes thumbnailEncSha256 = 28; optional string staticUrl = 29; + repeated InteractiveAnnotation annotations = 30; + optional ImageSourceType imageSourceType = 31; } message HistorySyncNotification { @@ -417,6 +240,8 @@ message ExtendedTextMessage { enum PreviewType { NONE = 0; VIDEO = 1; + PLACEHOLDER = 4; + IMAGE = 5; } enum InviteLinkGroupType { DEFAULT = 0; @@ -460,12 +285,38 @@ message ExtendedTextMessage { optional bool viewOnce = 30; } +message EventResponseMessage { + enum EventResponseType { + UNKNOWN = 0; + GOING = 1; + NOT_GOING = 2; + } + optional EventResponseType response = 1; + optional int64 timestampMs = 2; +} + +message EventMessage { + optional ContextInfo contextInfo = 1; + optional bool isCanceled = 2; + optional string name = 3; + optional string description = 4; + optional LocationMessage location = 5; + optional string joinLink = 6; + optional int64 startTime = 7; +} + message EncReactionMessage { optional MessageKey targetMessageKey = 1; optional bytes encPayload = 2; optional bytes encIv = 3; } +message EncEventResponseMessage { + optional MessageKey eventCreationMessageKey = 1; + optional bytes encPayload = 2; + optional bytes encIv = 3; +} + message EncCommentMessage { optional MessageKey targetMessageKey = 1; optional bytes encPayload = 2; @@ -517,6 +368,11 @@ message ContactMessage { optional ContextInfo contextInfo = 17; } +message CommentMessage { + optional Message message = 1; + optional MessageKey targetMessageKey = 2; +} + message Chat { optional string displayName = 1; optional string id = 2; @@ -533,6 +389,34 @@ message Call { optional uint32 conversionDelaySeconds = 4; } +message CallLogMessage { + enum CallType { + REGULAR = 0; + SCHEDULED_CALL = 1; + VOICE_CHAT = 2; + } + message CallParticipant { + optional string jid = 1; + optional CallOutcome callOutcome = 2; + } + + enum CallOutcome { + CONNECTED = 0; + MISSED = 1; + FAILED = 2; + REJECTED = 3; + ACCEPTED_ELSEWHERE = 4; + ONGOING = 5; + SILENCED_BY_DND = 6; + SILENCED_UNKNOWN_CALLER = 7; + } + optional bool isVideo = 1; + optional CallOutcome callOutcome = 2; + optional int64 durationSecs = 3; + optional CallType callType = 4; + repeated CallParticipant participants = 5; +} + message ButtonsResponseMessage { enum Type { UNKNOWN = 0; @@ -592,6 +476,20 @@ message ButtonsMessage { } message BotFeedbackMessage { + enum BotFeedbackKindMultiplePositive { + BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1; + } + enum BotFeedbackKindMultipleNegative { + BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128; + BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256; + } enum BotFeedbackKind { BOT_FEEDBACK_POSITIVE = 0; BOT_FEEDBACK_NEGATIVE_GENERIC = 1; @@ -600,10 +498,27 @@ message BotFeedbackMessage { BOT_FEEDBACK_NEGATIVE_ACCURATE = 4; BOT_FEEDBACK_NEGATIVE_SAFE = 5; BOT_FEEDBACK_NEGATIVE_OTHER = 6; + BOT_FEEDBACK_NEGATIVE_REFUSED = 7; + BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8; + BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9; } optional MessageKey messageKey = 1; optional BotFeedbackKind kind = 2; optional string text = 3; + optional uint64 kindNegative = 4; + optional uint64 kindPositive = 5; +} + +message BCallMessage { + enum MediaType { + UNKNOWN = 0; + AUDIO = 1; + VIDEO = 2; + } + optional string sessionId = 1; + optional MediaType mediaType = 2; + optional bytes masterKey = 3; + optional string caption = 4; } message AudioMessage { @@ -658,6 +573,12 @@ message AppStateFatalExceptionNotification { optional int64 timestamp = 2; } +message MediaNotifyMessage { + optional string expressPathUrl = 1; + optional bytes fileEncSha256 = 2; + optional uint64 fileLength = 3; +} + message Location { optional double degreesLatitude = 1; optional double degreesLongitude = 2; @@ -671,15 +592,24 @@ enum KeepType { } message InteractiveAnnotation { repeated Point polygonVertices = 1; + optional bool shouldSkipConfirmation = 4; oneof action { Location location = 2; + ForwardedNewsletterMessageInfo newsletter = 3; } } message HydratedTemplateButton { message HydratedURLButton { + enum WebviewPresentationType { + FULL = 1; + TALL = 2; + COMPACT = 3; + } optional string displayText = 1; optional string url = 2; + optional string consentedUsersUrl = 3; + optional WebviewPresentationType webviewPresentation = 4; } message HydratedQuickReplyButton { @@ -711,21 +641,26 @@ message DisappearingMode { CHAT_SETTING = 1; ACCOUNT_SETTING = 2; BULK_CHANGE = 3; + BIZ_SUPPORTS_FB_HOSTING = 4; } enum Initiator { CHANGED_IN_CHAT = 0; INITIATED_BY_ME = 1; INITIATED_BY_OTHER = 2; + BIZ_UPGRADE_FB_HOSTING = 3; } optional Initiator initiator = 1; optional Trigger trigger = 2; optional string initiatorDeviceJid = 3; + optional bool initiatedByMe = 4; } message DeviceListMetadata { optional bytes senderKeyHash = 1; optional uint64 senderTimestamp = 2; repeated uint32 senderKeyIndexes = 3 [packed=true]; + optional ADVEncryptionType senderAccountType = 4; + optional ADVEncryptionType receiverAccountType = 5; optional bytes recipientKeyHash = 8; optional uint64 recipientTimestamp = 9; repeated uint32 recipientKeyIndexes = 10 [packed=true]; @@ -737,12 +672,6 @@ message ContextInfo { optional string utmCampaign = 2; } - message ForwardedNewsletterMessageInfo { - optional string newsletterJid = 1; - optional int32 serverMessageId = 2; - optional string newsletterName = 3; - } - message ExternalAdReplyInfo { enum MediaType { NONE = 0; @@ -765,6 +694,10 @@ message ContextInfo { optional string ref = 14; } + message DataSharingContext { + optional bool showMmDisclosure = 1; + } + message BusinessMessageForwardInfo { optional string businessOwnerJid = 1; } @@ -812,16 +745,60 @@ message ContextInfo { optional ForwardedNewsletterMessageInfo forwardedNewsletterMessageInfo = 43; optional BusinessMessageForwardInfo businessMessageForwardInfo = 44; optional string smbClientCampaignId = 45; + optional string smbServerCampaignId = 46; + optional DataSharingContext dataSharingContext = 47; + optional bool alwaysShowAdAttribution = 48; +} + +message ForwardedNewsletterMessageInfo { + enum ContentType { + UPDATE = 1; + UPDATE_CARD = 2; + LINK_CARD = 3; + } + optional string newsletterJid = 1; + optional int32 serverMessageId = 2; + optional string newsletterName = 3; + optional ContentType contentType = 4; + optional string accessibilityText = 5; +} + +message BotSuggestedPromptMetadata { + repeated string suggestedPrompts = 1; + optional uint32 selectedPromptIndex = 2; +} + +message BotSearchMetadata { + optional string sessionId = 1; } message BotPluginMetadata { - optional bool isPlaceholder = 1; + enum SearchProvider { + BING = 1; + GOOGLE = 2; + } + enum PluginType { + REELS = 1; + SEARCH = 2; + } + optional SearchProvider provider = 1; + optional PluginType pluginType = 2; + optional string thumbnailCdnUrl = 3; + optional string profilePhotoCdnUrl = 4; + optional string searchProviderUrl = 5; + optional uint32 referenceIndex = 6; + optional uint32 expectedLinksCount = 7; + optional string searchQuery = 9; + optional MessageKey parentPluginMessageKey = 10; } message BotMetadata { optional BotAvatarMetadata avatarMetadata = 1; optional string personaId = 2; optional BotPluginMetadata pluginMetadata = 3; + optional BotSuggestedPromptMetadata suggestedPromptMetadata = 4; + optional string invokerJid = 5; + optional BotSearchMetadata searchMetadata = 6; } message BotAvatarMetadata { @@ -957,7 +934,17 @@ message Message { optional ScheduledCallEditMessage scheduledCallEditMessage = 65; optional VideoMessage ptvMessage = 66; optional FutureProofMessage botInvokeMessage = 67; - optional EncCommentMessage encCommentMessage = 68; + optional CallLogMessage callLogMesssage = 69; + optional MessageHistoryBundle messageHistoryBundle = 70; + optional EncCommentMessage encCommentMessage = 71; + optional BCallMessage bcallMessage = 72; + optional FutureProofMessage lottieStickerMessage = 74; + optional EventMessage eventMessage = 75; + optional EncEventResponseMessage encEventResponseMessage = 76; + optional CommentMessage commentMessage = 77; + optional NewsletterAdminInviteMessage newsletterAdminInviteMessage = 78; + optional PlaceholderMessage placeholderMessage = 80; + optional SecretEncryptedMessage secretEncryptedMessage = 82; } message MessageSecretMessage { @@ -974,6 +961,7 @@ message MessageContextInfo { optional uint32 messageAddOnDurationInSecs = 5; optional bytes botMessageSecret = 6; optional BotMetadata botMetadata = 7; + optional int32 reportingTokenVersion = 8; } message VideoMessage { @@ -1005,6 +993,7 @@ message VideoMessage { optional bytes thumbnailSha256 = 22; optional bytes thumbnailEncSha256 = 23; optional string staticUrl = 24; + repeated InteractiveAnnotation annotations = 25; } message TemplateMessage { @@ -1013,6 +1002,7 @@ message TemplateMessage { optional string hydratedFooterText = 7; repeated HydratedTemplateButton hydratedButtons = 8; optional string templateId = 9; + optional bool maskLinkedDevices = 10; oneof title { DocumentMessage documentMessage = 1; string hydratedTitleText = 2; @@ -1050,6 +1040,7 @@ message TemplateButtonReplyMessage { optional string selectedDisplayText = 2; optional ContextInfo contextInfo = 3; optional uint32 selectedIndex = 4; + optional uint32 selectedCarouselCardIndex = 5; } message StickerSyncRMRMessage { @@ -1077,6 +1068,7 @@ message StickerMessage { optional int64 stickerSentTs = 18; optional bool isAvatar = 19; optional bool isAiSticker = 20; + optional bool isLottie = 21; } message SenderKeyDistributionMessage { @@ -1090,6 +1082,17 @@ message SendPaymentMessage { optional PaymentBackground background = 4; } +message SecretEncryptedMessage { + enum SecretEncType { + UNKNOWN = 0; + EVENT_EDIT = 1; + } + optional MessageKey targetMessageKey = 1; + optional bytes encPayload = 2; + optional bytes encIv = 3; + optional SecretEncType secretEncType = 4; +} + message ScheduledCallEditMessage { enum EditType { UNKNOWN = 0; @@ -1110,6 +1113,14 @@ message ScheduledCallCreationMessage { optional string title = 3; } +message RequestWelcomeMessageMetadata { + enum LocalChatState { + EMPTY = 0; + NON_EMPTY = 1; + } + optional LocalChatState localChatState = 1; +} + message RequestPhoneNumberMessage { optional ContextInfo contextInfo = 1; } @@ -1148,6 +1159,7 @@ message ProtocolMessage { PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = 17; REQUEST_WELCOME_MESSAGE = 18; BOT_FEEDBACK_MESSAGE = 19; + MEDIA_NOTIFY_MESSAGE = 20; } optional MessageKey key = 1; optional Type type = 2; @@ -1164,6 +1176,9 @@ message ProtocolMessage { optional PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16; optional PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17; optional BotFeedbackMessage botFeedbackMessage = 18; + optional string invokerJid = 19; + optional RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20; + optional MediaNotifyMessage mediaNotifyMessage = 21; } message ProductMessage { @@ -1226,6 +1241,13 @@ message PollCreationMessage { optional ContextInfo contextInfo = 5; } +message PlaceholderMessage { + enum PlaceholderType { + MASK_LINKED_DEVICES = 0; + } + optional PlaceholderType type = 1; +} + message PinInChatMessage { enum Type { UNKNOWN_TYPE = 0; @@ -1328,6 +1350,8 @@ message OrderMessage { } enum OrderStatus { INQUIRY = 1; + ACCEPTED = 2; + DECLINED = 3; } optional string orderId = 1; optional bytes thumbnail = 2; @@ -1341,6 +1365,28 @@ message OrderMessage { optional int64 totalAmount1000 = 10; optional string totalCurrencyCode = 11; optional ContextInfo contextInfo = 17; + optional int32 messageVersion = 12; + optional MessageKey orderRequestMessageId = 13; +} + +message NewsletterAdminInviteMessage { + optional string newsletterJid = 1; + optional string newsletterName = 2; + optional bytes jpegThumbnail = 3; + optional string caption = 4; + optional int64 inviteExpiration = 5; + optional ContextInfo contextInfo = 6; +} + +message MessageHistoryBundle { + optional string mimetype = 2; + optional bytes fileSha256 = 3; + optional bytes mediaKey = 5; + optional bytes fileEncSha256 = 6; + optional string directPath = 7; + optional int64 mediaKeyTimestamp = 8; + optional ContextInfo contextInfo = 9; + repeated string participants = 10; } message LocationMessage { @@ -1358,6 +1404,197 @@ message LocationMessage { optional ContextInfo contextInfo = 17; } +message LiveLocationMessage { + optional double degreesLatitude = 1; + optional double degreesLongitude = 2; + optional uint32 accuracyInMeters = 3; + optional float speedInMps = 4; + optional uint32 degreesClockwiseFromMagneticNorth = 5; + optional string caption = 6; + optional int64 sequenceNumber = 7; + optional uint32 timeOffset = 8; + optional bytes jpegThumbnail = 16; + optional ContextInfo contextInfo = 17; +} + +message ListResponseMessage { + message SingleSelectReply { + optional string selectedRowId = 1; + } + + enum ListType { + UNKNOWN = 0; + SINGLE_SELECT = 1; + } + optional string title = 1; + optional ListType listType = 2; + optional SingleSelectReply singleSelectReply = 3; + optional ContextInfo contextInfo = 4; + optional string description = 5; +} + +message ListMessage { + message Section { + optional string title = 1; + repeated Row rows = 2; + } + + message Row { + optional string title = 1; + optional string description = 2; + optional string rowId = 3; + } + + message Product { + optional string productId = 1; + } + + message ProductSection { + optional string title = 1; + repeated Product products = 2; + } + + message ProductListInfo { + repeated ProductSection productSections = 1; + optional ProductListHeaderImage headerImage = 2; + optional string businessOwnerJid = 3; + } + + message ProductListHeaderImage { + optional string productId = 1; + optional bytes jpegThumbnail = 2; + } + + enum ListType { + UNKNOWN = 0; + SINGLE_SELECT = 1; + PRODUCT_LIST = 2; + } + optional string title = 1; + optional string description = 2; + optional string buttonText = 3; + optional ListType listType = 4; + repeated Section sections = 5; + optional ProductListInfo productListInfo = 6; + optional string footerText = 7; + optional ContextInfo contextInfo = 8; +} + +message KeepInChatMessage { + optional MessageKey key = 1; + optional KeepType keepType = 2; + optional int64 timestampMs = 3; +} + +message InvoiceMessage { + enum AttachmentType { + IMAGE = 0; + PDF = 1; + } + optional string note = 1; + optional string token = 2; + optional AttachmentType attachmentType = 3; + optional string attachmentMimetype = 4; + optional bytes attachmentMediaKey = 5; + optional int64 attachmentMediaKeyTimestamp = 6; + optional bytes attachmentFileSha256 = 7; + optional bytes attachmentFileEncSha256 = 8; + optional string attachmentDirectPath = 9; + optional bytes attachmentJpegThumbnail = 10; +} + +message InteractiveResponseMessage { + message NativeFlowResponseMessage { + optional string name = 1; + optional string paramsJson = 2; + optional int32 version = 3; + } + + message Body { + enum Format { + DEFAULT = 0; + EXTENSIONS_1 = 1; + } + optional string text = 1; + optional Format format = 2; + } + + optional Body body = 1; + optional ContextInfo contextInfo = 15; + oneof interactiveResponseMessage { + NativeFlowResponseMessage nativeFlowResponseMessage = 2; + } +} + +message InteractiveMessage { + message NativeFlowMessage { + message NativeFlowButton { + optional string name = 1; + optional string buttonParamsJson = 2; + } + + repeated NativeFlowButton buttons = 1; + optional string messageParamsJson = 2; + optional int32 messageVersion = 3; + } + + message Header { + optional string title = 1; + optional string subtitle = 2; + optional bool hasMediaAttachment = 5; + oneof media { + DocumentMessage documentMessage = 3; + ImageMessage imageMessage = 4; + bytes jpegThumbnail = 6; + VideoMessage videoMessage = 7; + LocationMessage locationMessage = 8; + ProductMessage productMessage = 9; + } + } + + message Footer { + optional string text = 1; + } + + message CollectionMessage { + optional string bizJid = 1; + optional string id = 2; + optional int32 messageVersion = 3; + } + + message CarouselMessage { + repeated InteractiveMessage cards = 1; + optional int32 messageVersion = 2; + } + + message Body { + optional string text = 1; + } + + message ShopMessage { + enum Surface { + UNKNOWN_SURFACE = 0; + FB = 1; + IG = 2; + WA = 3; + } + optional string id = 1; + optional Surface surface = 2; + optional int32 messageVersion = 3; + } + + optional Header header = 1; + optional Body body = 2; + optional Footer footer = 3; + optional ContextInfo contextInfo = 15; + oneof interactiveMessage { + ShopMessage shopStorefrontMessage = 4; + CollectionMessage collectionMessage = 5; + NativeFlowMessage nativeFlowMessage = 6; + CarouselMessage carouselMessage = 7; + } +} + message EphemeralSetting { optional sfixed32 duration = 1; optional sfixed64 timestamp = 2; @@ -1387,6 +1624,11 @@ message Pushname { optional string pushname = 2; } +message PhoneNumberToLIDMapping { + optional string pnJid = 1; + optional string lidJid = 2; +} + message PastParticipants { optional string groupJid = 1; repeated PastParticipant pastParticipants = 2; @@ -1426,6 +1668,10 @@ message HistorySync { NON_BLOCKING_DATA = 5; ON_DEMAND = 6; } + enum BotAIWaitListState { + IN_WAITLIST = 0; + AI_AVAILABLE = 1; + } required HistorySyncType syncType = 1; repeated Conversation conversations = 2; repeated WebMessageInfo statusV3Messages = 3; @@ -1437,6 +1683,9 @@ message HistorySync { optional uint32 threadDsTimeframeOffset = 10; repeated StickerMetadata recentStickers = 11; repeated PastParticipants pastParticipants = 12; + repeated CallLogRecord callLogRecords = 13; + optional BotAIWaitListState aiWaitListState = 14; + repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15; } message HistorySyncMsg { @@ -1473,6 +1722,7 @@ message GlobalSettings { optional int32 photoQualityMode = 16; optional NotificationSettings individualNotificationSettings = 17; optional NotificationSettings groupNotificationSettings = 18; + optional ChatLockSettings chatLockSettings = 19; } message Conversation { @@ -1523,6 +1773,10 @@ message Conversation { optional bool shareOwnPn = 40; optional bool pnhDuplicateLidThread = 41; optional string lidJid = 42; + optional string username = 43; + optional string lidOriginType = 44; + optional uint32 commentsCount = 45; + optional bool locked = 46; } message AvatarUserSettings { @@ -1598,6 +1852,7 @@ message SyncdPatch { optional KeyId keyId = 6; optional ExitCode exitCode = 7; optional uint32 deviceIndex = 8; + optional bytes clientDebugData = 9; } message SyncdMutations { @@ -1672,6 +1927,22 @@ message SyncActionValue { optional MarketingMessageBroadcastAction marketingMessageBroadcastAction = 39; optional ExternalWebBetaAction externalWebBetaAction = 40; optional PrivacySettingRelayAllCalls privacySettingRelayAllCalls = 41; + optional CallLogAction callLogAction = 42; + optional StatusPrivacyAction statusPrivacy = 44; + optional BotWelcomeRequestAction botWelcomeRequestAction = 45; + optional DeleteIndividualCallLogAction deleteIndividualCallLog = 46; + optional LabelReorderingAction labelReorderingAction = 47; + optional PaymentInfoAction paymentInfoAction = 48; + optional CustomPaymentMethodsAction customPaymentMethodsAction = 49; + optional LockChatAction lockChatAction = 50; + optional ChatLockSettings chatLockSettings = 51; + optional WamoUserIdentifierAction wamoUserIdentifierAction = 52; + optional PrivacySettingDisableLinkPreviewsAction privacySettingDisableLinkPreviewsAction = 53; + optional DeviceCapabilities deviceCapabilities = 54; +} + +message WamoUserIdentifierAction { + optional string identifier = 1; } message UserStatusMuteAction { @@ -1716,6 +1987,16 @@ message StickerAction { optional uint32 deviceIdHint = 10; } +message StatusPrivacyAction { + enum StatusDistributionMode { + ALLOW_LIST = 0; + DENY_LIST = 1; + CONTACTS = 2; + } + optional StatusDistributionMode mode = 1; + repeated string userJid = 2; +} + message StarAction { optional bool starred = 1; } @@ -1748,6 +2029,10 @@ message PrivacySettingRelayAllCalls { optional bool isEnabled = 1; } +message PrivacySettingDisableLinkPreviewsAction { + optional bool isPreviewsDisabled = 1; +} + message PrimaryVersionAction { optional string version = 1; } @@ -1764,6 +2049,10 @@ message PinAction { optional bool pinned = 1; } +message PaymentInfoAction { + optional string cpi = 1; +} + message NuxAction { optional bool acknowledged = 1; } @@ -1796,15 +2085,24 @@ message MarkChatAsReadAction { optional SyncActionMessageRange messageRange = 2; } +message LockChatAction { + optional bool locked = 1; +} + message LocaleSetting { optional string locale = 1; } +message LabelReorderingAction { + repeated int32 sortedLabelIds = 1; +} + message LabelEditAction { optional string name = 1; optional int32 color = 2; optional int32 predefinedId = 3; optional bool deleted = 4; + optional int32 orderIndex = 5; } message LabelAssociationAction { @@ -1824,14 +2122,36 @@ message DeleteMessageForMeAction { optional int64 messageTimestamp = 2; } +message DeleteIndividualCallLogAction { + optional string peerJid = 1; + optional bool isIncoming = 2; +} + message DeleteChatAction { optional SyncActionMessageRange messageRange = 1; } +message CustomPaymentMethodsAction { + repeated CustomPaymentMethod customPaymentMethods = 1; +} + +message CustomPaymentMethod { + required string credentialId = 1; + required string country = 2; + required string type = 3; + repeated CustomPaymentMethodMetadata metadata = 4; +} + +message CustomPaymentMethodMetadata { + required string key = 1; + required string value = 2; +} + message ContactAction { optional string fullName = 1; optional string firstName = 2; optional string lidJid = 3; + optional bool saveOnPrimaryAddressbook = 4; } message ClearChatAction { @@ -1846,6 +2166,14 @@ message ChatAssignmentAction { optional string deviceAgentID = 1; } +message CallLogAction { + optional CallLogRecord callLogRecord = 1; +} + +message BotWelcomeRequestAction { + optional bool isSent = 1; +} + message ArchiveChatAction { optional bool archived = 1; optional SyncActionMessageRange messageRange = 2; @@ -1873,6 +2201,76 @@ message RecentEmojiWeight { optional float weight = 2; } +message PatchDebugData { + enum Platform { + ANDROID = 0; + SMBA = 1; + IPHONE = 2; + SMBI = 3; + WEB = 4; + UWP = 5; + DARWIN = 6; + } + optional bytes currentLthash = 1; + optional bytes newLthash = 2; + optional bytes patchVersion = 3; + optional bytes collectionName = 4; + optional bytes firstFourBytesFromAHashOfSnapshotMacKey = 5; + optional bytes newLthashSubtract = 6; + optional int32 numberAdd = 7; + optional int32 numberRemove = 8; + optional int32 numberOverride = 9; + optional Platform senderPlatform = 10; + optional bool isSenderPrimary = 11; +} + +message CallLogRecord { + enum SilenceReason { + NONE = 0; + SCHEDULED = 1; + PRIVACY = 2; + LIGHTWEIGHT = 3; + } + message ParticipantInfo { + optional string userJid = 1; + optional CallResult callResult = 2; + } + + enum CallType { + REGULAR = 0; + SCHEDULED_CALL = 1; + VOICE_CHAT = 2; + } + enum CallResult { + CONNECTED = 0; + REJECTED = 1; + CANCELLED = 2; + ACCEPTEDELSEWHERE = 3; + MISSED = 4; + INVALID = 5; + UNAVAILABLE = 6; + UPCOMING = 7; + FAILED = 8; + ABANDONED = 9; + ONGOING = 10; + } + optional CallResult callResult = 1; + optional bool isDndMode = 2; + optional SilenceReason silenceReason = 3; + optional int64 duration = 4; + optional int64 startTime = 5; + optional bool isIncoming = 6; + optional bool isVideo = 7; + optional bool isCallLink = 8; + optional string callLinkToken = 9; + optional string scheduledCallId = 10; + optional string callId = 11; + optional string callCreatorJid = 12; + optional string groupJid = 13; + repeated ParticipantInfo participants = 14; + optional CallType callType = 15; +} + message VerifiedNameCertificate { message Details { optional uint64 serial = 1; @@ -2031,6 +2429,8 @@ message ClientPayload { VRDEVICE = 31; BLUE_WEB = 32; IPAD = 33; + TEST = 34; + SMART_GLASSES = 35; } enum DeviceType { PHONE = 0; @@ -2062,17 +2462,18 @@ message ClientPayload { optional string deviceBoard = 13; optional string deviceExpId = 14; optional DeviceType deviceType = 15; + optional string deviceModelType = 16; } enum Product { WHATSAPP = 0; MESSENGER = 1; INTEROP = 2; + INTEROP_MSGR = 3; } message InteropData { optional uint64 accountId = 1; - optional uint32 integratorId = 2; - optional bytes token = 3; + optional bytes token = 2; } enum IOSAppExtension { @@ -2353,6 +2754,25 @@ message WebMessageInfo { EMPTY_SUBGROUP_CREATE = 183; SCHEDULED_CALL_CANCEL = 184; SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH = 185; + GROUP_CHANGE_RECENT_HISTORY_SHARING = 186; + PAID_MESSAGE_SERVER_CAMPAIGN_ID = 187; + GENERAL_CHAT_CREATE = 188; + GENERAL_CHAT_ADD = 189; + GENERAL_CHAT_AUTO_ADD_DISABLED = 190; + SUGGESTED_SUBGROUP_ANNOUNCE = 191; + BIZ_BOT_1P_MESSAGING_ENABLED = 192; + CHANGE_USERNAME = 193; + BIZ_COEX_PRIVACY_INIT_SELF = 194; + BIZ_COEX_PRIVACY_TRANSITION_SELF = 195; + SUPPORT_AI_EDUCATION = 196; + BIZ_BOT_3P_MESSAGING_ENABLED = 197; + REMINDER_SETUP_MESSAGE = 198; + REMINDER_SENT_MESSAGE = 199; + REMINDER_CANCEL_MESSAGE = 200; + BIZ_COEX_PRIVACY_INIT = 201; + BIZ_COEX_PRIVACY_TRANSITION = 202; + GROUP_DEACTIVATED = 203; + COMMUNITY_DEACTIVATE_SIBLING_GROUP = 204; } enum Status { ERROR = 0; @@ -2412,6 +2832,15 @@ message WebMessageInfo { optional string originalSelfAuthorUserJidString = 51; optional uint64 revokeMessageTimestamp = 52; optional PinInChat pinInChat = 54; + optional PremiumMessageInfo premiumMessageInfo = 55; + optional bool is1PBizBotMessage = 56; + optional bool isGroupHistoryMessage = 57; + optional string botMessageInvokerJid = 58; + optional CommentMetadata commentMetadata = 59; + repeated EventResponse eventResponses = 61; + optional ReportingTokenInfo reportingTokenInfo = 62; + optional uint64 newsletterServerId = 63; + optional EventAdditionalMetadata eventAdditionalMetadata = 64; } message WebFeatures { @@ -2482,6 +2911,10 @@ message StatusPSA { optional uint64 campaignExpirationTimestamp = 45; } +message ReportingTokenInfo { + optional bytes reportingTag = 1; +} + message Reaction { optional MessageKey key = 1; optional string text = 2; @@ -2490,6 +2923,10 @@ message Reaction { optional bool unread = 5; } +message PremiumMessageInfo { + optional string serverCampaignId = 1; +} + message PollUpdate { optional MessageKey pollUpdateMessageKey = 1; optional PollVoteMessage vote = 2; @@ -2613,6 +3050,22 @@ message KeepInChat { optional int64 serverTimestampMs = 6; } +message EventResponse { + optional MessageKey eventResponseMessageKey = 1; + optional int64 timestampMs = 2; + optional EventResponseMessage eventResponseMessage = 3; + optional bool unread = 4; +} + +message EventAdditionalMetadata { + optional bool isStale = 1; +} + +message CommentMetadata { + optional MessageKey commentParentKey = 1; + optional uint32 replyCount = 2; +} + message NoiseCertificate { message Details { optional uint32 serial = 1; @@ -2644,3 +3097,79 @@ message CertChain { optional NoiseCertificate intermediate = 2; } +message QP { + message Filter { + required string filterName = 1; + repeated FilterParameters parameters = 2; + optional FilterResult filterResult = 3; + required FilterClientNotSupportedConfig clientNotSupportedConfig = 4; + } + + enum FilterResult { + TRUE = 1; + FALSE = 2; + UNKNOWN = 3; + } + message FilterParameters { + optional string key = 1; + optional string value = 2; + } + + enum FilterClientNotSupportedConfig { + PASS_BY_DEFAULT = 1; + FAIL_BY_DEFAULT = 2; + } + message FilterClause { + required ClauseType clauseType = 1; + repeated FilterClause clauses = 2; + repeated Filter filters = 3; + } + + enum ClauseType { + AND = 1; + OR = 2; + NOR = 3; + } +} + +message ChatLockSettings { + optional bool hideLockedChats = 1; + optional UserPassword secretCode = 2; +} + +message DeviceCapabilities { + enum ChatLockSupportLevel { + NONE = 0; + MINIMAL = 1; + FULL = 2; + } + optional ChatLockSupportLevel chatLockSupportLevel = 1; +} + +message UserPassword { + message TransformerArg { + message Value { + oneof value { + bytes asBlob = 1; + uint32 asUnsignedInteger = 2; + } + } + + optional string key = 1; + optional Value value = 2; + } + + enum Transformer { + NONE = 0; + PBKDF2_HMAC_SHA512 = 1; + PBKDF2_HMAC_SHA384 = 2; + } + enum Encoding { + UTF8 = 0; + } + optional Encoding encoding = 1; + optional Transformer transformer = 2; + repeated TransformerArg transformerArg = 3; + optional bytes transformedData = 4; +} + diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/extract/README.md b/vendor/go.mau.fi/whatsmeow/binary/proto/extract/README.md new file mode 100644 index 00000000..90d2222e --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/extract/README.md @@ -0,0 +1,7 @@ +# proto/extract +This is an updated version of the [protobuf extractor from sigalor/whatsapp-web-reveng](https://github.com/sigalor/whatsapp-web-reveng/tree/master/doc/spec/protobuf-extractor). + +## Usage +1. Install dependencies with `yarn` (or `npm install`) +2. `node index.js` +3. The script will update `../def.proto` (except if something is broken) diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/extract/index.js b/vendor/go.mau.fi/whatsmeow/binary/proto/extract/index.js new file mode 100644 index 00000000..20964600 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/extract/index.js @@ -0,0 +1,349 @@ +const request = require("request-promise-native") +const acorn = require("acorn") +const walk = require("acorn-walk") +const fs = require("fs/promises") + +const addPrefix = (lines, prefix) => lines.map(line => prefix + line) + +async function findAppModules(mods) { + const ua = { + headers: { + "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0", + "Sec-Fetch-Dest": "script", + "Sec-Fetch-Mode": "no-cors", + "Sec-Fetch-Site": "same-origin", + "Referer": "https://web.whatsapp.com/", + "Accept": "*/*", /**/ + "Accept-Language": "en-US,en;q=0.5", + } + } + const baseURL = "https://web.whatsapp.com" + const index = await request.get(baseURL, ua) + const appID = index.match(/src="\/app.([0-9a-z]{10,}).js"/)[1] + const appURL = baseURL + "/app." + appID + ".js" + console.error("Found app.js URL:", appURL) + const qrData = await request.get(appURL, ua) + const waVersion = qrData.match(/VERSION_BASE="(\d\.\d+\.\d+)"/)[1] + console.log("Current version:", waVersion) + // This one list of types is so long that it's split into two JavaScript declarations. + // The module finder below can't handle it, so just patch it manually here. + const patchedQrData = qrData.replace("t.ActionLinkSpec=void 0,t.TemplateButtonSpec", "t.ActionLinkSpec=t.TemplateButtonSpec") + //const patchedQrData = qrData.replace("Spec=void 0,t.", "Spec=t.") + const qrModules = acorn.parse(patchedQrData).body[0].expression.arguments[0].elements[1].properties + return qrModules.filter(m => mods.includes(m.key.value)) +} + +(async () => { + // The module IDs that contain protobuf types + const wantedModules = [ + 962559, // ADVSignedKeyIndexList, ADVSignedDeviceIdentity, ADVSignedDeviceIdentityHMAC, ADVKeyIndexList, ADVDeviceIdentity + 113259, // DeviceProps + 533494, // Message, ..., RequestPaymentMessage, Reaction, QuickReplyButton, ..., ButtonsResponseMessage, ActionLink, ... + 199931, // EphemeralSetting + 60370, // WallpaperSettings, Pushname, MediaVisibility, HistorySync, ..., GroupParticipant, ... + //412744, // PollEncValue, MsgOpaqueData, MsgRowOpaqueData + 229479, // ServerErrorReceipt, MediaRetryNotification, MediaRetryNotificationResult + 933734, // MessageKey + 557871, // Duplicate of MessageKey + 679905, // SyncdVersion, SyncdValue, ..., SyncdPatch, SyncdMutation, ..., ExitCode + 623420, // SyncActionValue, ..., UnarchiveChatsSetting, SyncActionData, StarAction, ... + //527796, // Duplicate of 623420, but without CallLogRecord + 759089, // VerifiedNameCertificate, LocalizedName, ..., BizIdentityInfo, BizAccountLinkInfo, ... + 614806, // HandshakeMessage, ..., ClientPayload, ..., AppVersion, UserAgent, WebdPayload ... + 968923, // Reaction, UserReceipt, ..., PhotoChange, ..., WebFeatures, ..., WebMessageInfoStatus, ... + 623641, // NoiseCertificate, CertChain + //867311, // ChatRowOpaqueData, ... + //2336, // SignalMessage, ... + //984661, // SessionStructure, ... + 853721, // QP + //281698, // Duplicate of ChatLockSettings + 913628, // ChatLockSettings + //144132, // Duplicate of DeviceCapabilities + 988521, // DeviceCapabilities + //691721, // Duplicate of UserPassword + 700584, // UserPassword + ] + const unspecName = name => name.endsWith("Spec") ? name.slice(0, -4) : name + const unnestName = name => name + .replace("Message$", "").replace("SyncActionValue$", "") // Don't nest messages into Message, that's too much nesting + .replace("ContextInfo$ForwardedNewsletterMessageInfo", "ForwardedNewsletterMessageInfo") // Hack to unnest name used outside ContextInfo + const rename = name => unnestName(unspecName(name)) + // The constructor IDs that can be used for enum types + const enumConstructorIDs = [76672, 654302] + + const unsortedModules = await findAppModules(wantedModules) + if (unsortedModules.length !== wantedModules.length) { + console.error("did not find all wanted modules") + return + } + // Sort modules so that whatsapp module id changes don't change the order in the output protobuf schema + const modules = [] + for (const mod of wantedModules) { + modules.push(unsortedModules.find(node => node.key.value === mod)) + } + + // find aliases of cross references between the wanted modules + let modulesInfo = {} + modules.forEach(({key, value}) => { + const requiringParam = value.params[2].name + modulesInfo[key.value] = {crossRefs: []} + walk.simple(value, { + VariableDeclarator(node) { + if (node.init && node.init.type === "CallExpression" && node.init.callee.name === requiringParam && node.init.arguments.length === 1 && wantedModules.indexOf(node.init.arguments[0].value) !== -1) { + modulesInfo[key.value].crossRefs.push({alias: node.id.name, module: node.init.arguments[0].value}) + } + } + }) + }) + + // find all identifiers and, for enums, their array of values + for (const mod of modules) { + const modInfo = modulesInfo[mod.key.value] + + // all identifiers will be initialized to "void 0" (i.e. "undefined") at the start, so capture them here + walk.ancestor(mod, { + UnaryExpression(node, anc) { + if (!modInfo.identifiers && node.operator === "void") { + const assignments = [] + let i = 1 + anc.reverse() + while (anc[i].type === "AssignmentExpression") { + assignments.push(anc[i++].left) + } + const makeBlankIdent = a => { + const key = rename(a.property.name) + const value = {name: key} + return [key, value] + } + modInfo.identifiers = Object.fromEntries(assignments.map(makeBlankIdent).reverse()) + } + } + }) + const enumAliases = {} + // enums are defined directly, and both enums and messages get a one-letter alias + walk.simple(mod, { + AssignmentExpression(node) { + if (node.left.type === "MemberExpression" && modInfo.identifiers[rename(node.left.property.name)]) { + const ident = modInfo.identifiers[rename(node.left.property.name)] + ident.alias = node.right.name + ident.enumValues = enumAliases[ident.alias] + } + }, + VariableDeclarator(node) { + if (node.init && node.init.type === "CallExpression" && enumConstructorIDs.includes(node.init.callee?.arguments?.[0]?.value) && node.init.arguments.length === 1 && node.init.arguments[0].type === "ObjectExpression") { + enumAliases[node.id.name] = node.init.arguments[0].properties.map(p => ({ + name: p.key.name, + id: p.value.value + })) + } + } + }) + } + + // find the contents for all protobuf messages + for (const mod of modules) { + const modInfo = modulesInfo[mod.key.value] + + // message specifications are stored in a "internalSpec" attribute of the respective identifier alias + walk.simple(mod, { + AssignmentExpression(node) { + if (node.left.type === "MemberExpression" && node.left.property.name === "internalSpec" && node.right.type === "ObjectExpression") { + const targetIdent = Object.values(modInfo.identifiers).find(v => v.alias === node.left.object.name) + if (!targetIdent) { + console.warn(`found message specification for unknown identifier alias: ${node.left.object.name}`) + return + } + + // partition spec properties by normal members and constraints (like "__oneofs__") which will be processed afterwards + const constraints = [] + let members = [] + for (const p of node.right.properties) { + p.key.name = p.key.type === "Identifier" ? p.key.name : p.key.value + ;(p.key.name.substr(0, 2) === "__" ? constraints : members).push(p) + } + + members = members.map(({key: {name}, value: {elements}}) => { + let type + const flags = [] + const unwrapBinaryOr = n => (n.type === "BinaryExpression" && n.operator === "|") ? [].concat(unwrapBinaryOr(n.left), unwrapBinaryOr(n.right)) : [n] + + // find type and flags + unwrapBinaryOr(elements[1]).forEach(m => { + if (m.type === "MemberExpression" && m.object.type === "MemberExpression") { + if (m.object.property.name === "TYPES") + type = m.property.name.toLowerCase() + else if (m.object.property.name === "FLAGS") + flags.push(m.property.name.toLowerCase()) + } + }) + + // determine cross reference name from alias if this member has type "message" or "enum" + if (type === "message" || type === "enum") { + const currLoc = ` from member '${name}' of message '${targetIdent.name}'` + if (elements[2].type === "Identifier") { + type = Object.values(modInfo.identifiers).find(v => v.alias === elements[2].name)?.name + if (!type) { + console.warn(`unable to find reference of alias '${elements[2].name}'` + currLoc) + } + } else if (elements[2].type === "MemberExpression") { + const crossRef = modInfo.crossRefs.find(r => r.alias === elements[2].object.name) + if (crossRef && modulesInfo[crossRef.module].identifiers[rename(elements[2].property.name)]) { + type = rename(elements[2].property.name) + } else { + console.warn(`unable to find reference of alias to other module '${elements[2].object.name}' or to message ${elements[2].property.name} of this module` + currLoc) + } + } + } + + return {name, id: elements[0].value, type, flags} + }) + + // resolve constraints for members + constraints.forEach(c => { + if (c.key.name === "__oneofs__" && c.value.type === "ObjectExpression") { + const newOneOfs = c.value.properties.map(p => ({ + name: p.key.name, + type: "__oneof__", + members: p.value.elements.map(e => { + const idx = members.findIndex(m => m.name === e.value) + const member = members[idx] + members.splice(idx, 1) + return member + }) + })) + members.push(...newOneOfs) + } + }) + + targetIdent.members = members + targetIdent.children = [] + } + } + }) + } + + const findNested = (items, path) => { + if (path.length === 0) { + return items + } + const item = items.find(v => (v.unnestedName ?? v.name) === path[0]) + if (path.length === 1) { + return item + } + return findNested(item.children, path.slice(1)) + } + + + for (const mod of modules) { + let hasMore = true + let loops = 0 + const idents = modulesInfo[mod.key.value].identifiers + while (hasMore && loops < 5) { + hasMore = false + loops++ + for (const ident of Object.values(idents)) { + if (!ident.name.includes("$")) { + continue + } + const parts = ident.name.split("$") + const parent = findNested(Object.values(idents), parts.slice(0, -1)) + if (!parent) { + hasMore = true + continue + } + parent.children.push(ident) + delete idents[ident.name] + ident.unnestedName = parts[parts.length-1] + } + } + } + + const addedMessages = new Set() + let decodedProto = [ + 'syntax = "proto2";', + "package proto;", + "" + ] + const sharesParent = (path1, path2) => { + for (let i = 0; i < path1.length - 1 && i < path2.length - 1; i++) { + if (path1[i] != path2[i]) { + return false + } + } + return true + } + const spaceIndent = " ".repeat(4) + for (const mod of modules) { + const modInfo = modulesInfo[mod.key.value] + + // enum stringifying function + const stringifyEnum = (ident, overrideName = null) => + [].concat( + [`enum ${overrideName ?? ident.unnestedName ?? ident.name} {`], + addPrefix(ident.enumValues.map(v => `${v.name} = ${v.id};`), spaceIndent), + ["}"] + ) + + // message specification member stringifying function + const stringifyMessageSpecMember = (info, path, completeFlags = true) => { + if (info.type === "__oneof__") { + return [].concat( + [`oneof ${info.name} {`], + addPrefix([].concat(...info.members.map(m => stringifyMessageSpecMember(m, path, false))), spaceIndent), + ["}"] + ) + } else { + if (info.flags.includes("packed")) { + info.flags.splice(info.flags.indexOf("packed")) + info.packed = " [packed=true]" + } + if (completeFlags && info.flags.length === 0) { + info.flags.push("optional") + } + const ret = info.enumValues ? stringifyEnum(info, info.type) : [] + const typeParts = info.type.split("$") + let unnestedType = typeParts[typeParts.length-1] + if (!sharesParent(typeParts, path.split("$"))) { + unnestedType = typeParts.join(".") + } + ret.push(`${info.flags.join(" ") + (info.flags.length === 0 ? "" : " ")}${unnestedType} ${info.name} = ${info.id}${info.packed || ""};`) + return ret + } + } + + // message specification stringifying function + const stringifyMessageSpec = (ident) => { + let result = [] + result.push( + `message ${ident.unnestedName ?? ident.name} {`, + ...addPrefix([].concat(...ident.children.map(m => stringifyEntity(m))), spaceIndent), + ...addPrefix([].concat(...ident.members.map(m => stringifyMessageSpecMember(m, ident.name))), spaceIndent), + "}", + ) + if (addedMessages.has(ident.name)) { + result = addPrefix(result, "//") + result.unshift("// Duplicate type omitted") + } else { + addedMessages.add(ident.name) + } + result.push("") + return result + } + + const stringifyEntity = v => { + if (v.members) { + return stringifyMessageSpec(v) + } else if (v.enumValues) { + return stringifyEnum(v) + } else { + console.error(v) + return "// Unknown entity" + } + } + + decodedProto = decodedProto.concat(...Object.values(modInfo.identifiers).map(stringifyEntity)) + } + const decodedProtoStr = decodedProto.join("\n") + "\n" + await fs.writeFile("../def.proto", decodedProtoStr) + console.log("Extracted protobuf schema to ../def.proto") +})() diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/extract/package.json b/vendor/go.mau.fi/whatsmeow/binary/proto/extract/package.json new file mode 100644 index 00000000..e4cb8e49 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/extract/package.json @@ -0,0 +1,18 @@ +{ + "name": "whatsapp-web-protobuf-extractor", + "version": "1.0.0", + "description": "A utility program for extracting the protobuf definitions of WhatsApp Web.", + "main": "index.js", + "scripts": { + "test": "node index.js" + }, + "author": "sigalor", + "license": "ISC", + "dependencies": { + "acorn": "^6.4.1", + "acorn-walk": "^6.1.1", + "request": "^2.88.0", + "request-promise-core": "^1.1.2", + "request-promise-native": "^1.0.7" + } +} diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/extract/yarn.lock b/vendor/go.mau.fi/whatsmeow/binary/proto/extract/yarn.lock new file mode 100644 index 00000000..ca6342c1 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/binary/proto/extract/yarn.lock @@ -0,0 +1,357 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +acorn-walk@^6.1.1: + version "6.2.0" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-6.2.0.tgz#123cb8f3b84c2171f1f7fb252615b1c78a6b1a8c" + integrity sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA== + +acorn@^6.4.1: + version "6.4.2" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.2.tgz#35866fd710528e92de10cf06016498e47e39e1e6" + integrity sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ== + +ajv@^6.12.3: + version "6.12.6" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +asn1@~0.2.3: + version "0.2.4" + resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136" + integrity sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg== + dependencies: + safer-buffer "~2.1.0" + +assert-plus@1.0.0, assert-plus@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" + integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= + +aws-sign2@~0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" + integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg= + +aws4@^1.8.0: + version "1.11.0" + resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" + integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== + +bcrypt-pbkdf@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" + integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4= + dependencies: + tweetnacl "^0.14.3" + +caseless@~0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" + integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= + +combined-stream@^1.0.6, combined-stream@~1.0.6: + version "1.0.8" + resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +core-util-is@1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" + integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= + +dashdash@^1.12.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" + integrity sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA= + dependencies: + assert-plus "^1.0.0" + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= + +ecc-jsbn@~0.1.1: + version "0.1.2" + resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" + integrity sha1-OoOpBOVDUyh4dMVkt1SThoSamMk= + dependencies: + jsbn "~0.1.0" + safer-buffer "^2.1.0" + +extend@~3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" + integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== + +extsprintf@1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" + integrity sha1-lpGEQOMEGnpBT4xS48V06zw+HgU= + +extsprintf@^1.2.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" + integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8= + +fast-deep-equal@^3.1.1: + version "3.1.3" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +forever-agent@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" + integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= + +form-data@~2.3.2: + version "2.3.3" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" + integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.6" + mime-types "^2.1.12" + +getpass@^0.1.1: + version "0.1.7" + resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" + integrity sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo= + dependencies: + assert-plus "^1.0.0" + +har-schema@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" + integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI= + +har-validator@~5.1.3: + version "5.1.5" + resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd" + integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w== + dependencies: + ajv "^6.12.3" + har-schema "^2.0.0" + +http-signature@~1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" + integrity sha1-muzZJRFHcvPZW2WmCruPfBj7rOE= + dependencies: + assert-plus "^1.0.0" + jsprim "^1.2.2" + sshpk "^1.7.0" + +is-typedarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" + integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= + +isstream@~0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" + integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= + +jsbn@~0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" + integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= + +json-schema-traverse@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" + integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== + +json-schema@0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" + integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM= + +json-stringify-safe@~5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" + integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= + +jsprim@^1.2.2: + version "1.4.1" + resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" + integrity sha1-MT5mvB5cwG5Di8G3SZwuXFastqI= + dependencies: + assert-plus "1.0.0" + extsprintf "1.3.0" + json-schema "0.2.3" + verror "1.10.0" + +lodash@^4.17.19: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +mime-db@1.50.0: + version "1.50.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.50.0.tgz#abd4ac94e98d3c0e185016c67ab45d5fde40c11f" + integrity sha512-9tMZCDlYHqeERXEHO9f/hKfNXhre5dK2eE/krIvUjZbS2KPcqGDfNShIWS1uW9XOTKQKqK6qbeOci18rbfW77A== + +mime-types@^2.1.12, mime-types@~2.1.19: + version "2.1.33" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.33.tgz#1fa12a904472fafd068e48d9e8401f74d3f70edb" + integrity sha512-plLElXp7pRDd0bNZHw+nMd52vRYjLwQjygaNg7ddJ2uJtTlmnTCjWuPKxVu6//AdaRuME84SvLW91sIkBqGT0g== + dependencies: + mime-db "1.50.0" + +oauth-sign@~0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" + integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== + +performance-now@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" + integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= + +psl@^1.1.28: + version "1.8.0" + resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24" + integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ== + +punycode@^2.1.0, punycode@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" + integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== + +qs@~6.5.2: + version "6.5.2" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" + integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== + +request-promise-core@1.1.4, request-promise-core@^1.1.2: + version "1.1.4" + resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.4.tgz#3eedd4223208d419867b78ce815167d10593a22f" + integrity sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw== + dependencies: + lodash "^4.17.19" + +request-promise-native@^1.0.7: + version "1.0.9" + resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.9.tgz#e407120526a5efdc9a39b28a5679bf47b9d9dc28" + integrity sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g== + dependencies: + request-promise-core "1.1.4" + stealthy-require "^1.1.1" + tough-cookie "^2.3.3" + +request@^2.88.0: + version "2.88.2" + resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" + integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== + dependencies: + aws-sign2 "~0.7.0" + aws4 "^1.8.0" + caseless "~0.12.0" + combined-stream "~1.0.6" + extend "~3.0.2" + forever-agent "~0.6.1" + form-data "~2.3.2" + har-validator "~5.1.3" + http-signature "~1.2.0" + is-typedarray "~1.0.0" + isstream "~0.1.2" + json-stringify-safe "~5.0.1" + mime-types "~2.1.19" + oauth-sign "~0.9.0" + performance-now "^2.1.0" + qs "~6.5.2" + safe-buffer "^5.1.2" + tough-cookie "~2.5.0" + tunnel-agent "^0.6.0" + uuid "^3.3.2" + +safe-buffer@^5.0.1, safe-buffer@^5.1.2: + version "5.2.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +sshpk@^1.7.0: + version "1.16.1" + resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" + integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg== + dependencies: + asn1 "~0.2.3" + assert-plus "^1.0.0" + bcrypt-pbkdf "^1.0.0" + dashdash "^1.12.0" + ecc-jsbn "~0.1.1" + getpass "^0.1.1" + jsbn "~0.1.0" + safer-buffer "^2.0.2" + tweetnacl "~0.14.0" + +stealthy-require@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b" + integrity sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks= + +tough-cookie@^2.3.3, tough-cookie@~2.5.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" + integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== + dependencies: + psl "^1.1.28" + punycode "^2.1.1" + +tunnel-agent@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" + integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0= + dependencies: + safe-buffer "^5.0.1" + +tweetnacl@^0.14.3, tweetnacl@~0.14.0: + version "0.14.5" + resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" + integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= + +uri-js@^4.2.2: + version "4.4.1" + resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== + dependencies: + punycode "^2.1.0" + +uuid@^3.3.2: + version "3.4.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" + integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== + +verror@1.10.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" + integrity sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA= + dependencies: + assert-plus "^1.0.0" + core-util-is "1.0.2" + extsprintf "^1.2.0" diff --git a/vendor/go.mau.fi/whatsmeow/binary/token/token.go b/vendor/go.mau.fi/whatsmeow/binary/token/token.go index 3a8ee5a4..361acd19 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/token/token.go +++ b/vendor/go.mau.fi/whatsmeow/binary/token/token.go @@ -6,18 +6,18 @@ import "fmt" // All the currently known string tokens. var ( - SingleByteTokens = [...]string{"", "xmlstreamstart", "xmlstreamend", "s.whatsapp.net", "type", "participant", "from", "receipt", "id", "broadcast", "status", "message", "notification", "notify", "to", "jid", "user", "class", "offline", "g.us", "result", "mediatype", "enc", "skmsg", "off_cnt", "xmlns", "presence", "participants", "ack", "t", "iq", "device_hash", "read", "value", "media", "picture", "chatstate", "unavailable", "text", "urn:xmpp:whatsapp:push", "devices", "verified_name", "contact", "composing", "edge_routing", "routing_info", "item", "image", "verified_level", "get", "fallback_hostname", "2", "media_conn", "1", "v", "handshake", "fallback_class", "count", "config", "offline_preview", "download_buckets", "w:profile:picture", "set", "creation", "location", "fallback_ip4", "msg", "urn:xmpp:ping", "fallback_ip6", "call-creator", "relaylatency", "success", "subscribe", "video", "business_hours_config", "platform", "hostname", "version", "unknown", "0", "ping", "hash", "edit", "subject", "max_buckets", "download", "delivery", "props", "sticker", "name", "last", "contacts", "business", "primary", "preview", "w:p", "pkmsg", "call-id", "retry", "prop", "call", "auth_ttl", "available", "relay_id", "last_id", "day_of_week", "w", "host", "seen", "bits", "list", "atn", "upload", "is_new", "w:stats", "key", "paused", "specific_hours", "multicast", "stream:error", "mmg.whatsapp.net", "code", "deny", "played", "profile", "fna", "device-list", "close_time", "latency", "gcm", "pop", "audio", "26", "w:web", "open_time", "error", "auth", "ip4", "update", "profile_options", "config_value", "category", "catalog_not_created", "00", "config_code", "mode", "catalog_status", "ip6", "blocklist", "registration", "7", "web", "fail", "w:m", "cart_enabled", "ttl", "gif", "300", "device_orientation", "identity", "query", "401", "media-gig2-1.cdn.whatsapp.net", "in", "3", "te2", "add", "fallback", "categories", "ptt", "encrypt", "notice", "thumbnail-document", "item-not-found", "12", "thumbnail-image", "stage", "thumbnail-link", "usync", "out", "thumbnail-video", "8", "01", "context", "sidelist", "thumbnail-gif", "terminate", "not-authorized", "orientation", "dhash", "capability", "side_list", "md-app-state", "description", "serial", "readreceipts", "te", "business_hours", "md-msg-hist", "tag", "attribute_padding", "document", "open_24h", "delete", "expiration", "active", "prev_v_id", "true", "passive", "index", "4", "conflict", "remove", "w:gp2", "config_expo_key", "screen_height", "replaced", "02", "screen_width", "uploadfieldstat", "2:47DEQpj8", "media-bog1-1.cdn.whatsapp.net", "encopt", "url", "catalog_exists", "keygen", "rate", "offer", "opus", "media-mia3-1.cdn.whatsapp.net", "privacy", "media-mia3-2.cdn.whatsapp.net", "signature", "preaccept", "token_id", "media-eze1-1.cdn.whatsapp.net"} + SingleByteTokens = [...]string{"", "xmlstreamstart", "xmlstreamend", "s.whatsapp.net", "type", "participant", "from", "receipt", "id", "notification", "disappearing_mode", "status", "jid", "broadcast", "user", "devices", "device_hash", "to", "offline", "message", "result", "class", "xmlns", "duration", "notify", "iq", "t", "ack", "g.us", "enc", "urn:xmpp:whatsapp:push", "presence", "config_value", "picture", "verified_name", "config_code", "key-index-list", "contact", "mediatype", "routing_info", "edge_routing", "get", "read", "urn:xmpp:ping", "fallback_hostname", "0", "chatstate", "business_hours_config", "unavailable", "download_buckets", "skmsg", "verified_level", "composing", "handshake", "device-list", "media", "text", "fallback_ip4", "media_conn", "device", "creation", "location", "config", "item", "fallback_ip6", "count", "w:profile:picture", "image", "business", "2", "hostname", "call-creator", "display_name", "relaylatency", "platform", "abprops", "success", "msg", "offline_preview", "prop", "key-index", "v", "day_of_week", "pkmsg", "version", "1", "ping", "w:p", "download", "video", "set", "specific_hours", "props", "primary", "unknown", "hash", "commerce_experience", "last", "subscribe", "max_buckets", "call", "profile", "member_since_text", "close_time", "call-id", "sticker", "mode", "participants", "value", "query", "profile_options", "open_time", "code", "list", "host", "ts", "contacts", "upload", "lid", "preview", "update", "usync", "w:stats", "delivery", "auth_ttl", "context", "fail", "cart_enabled", "appdata", "category", "atn", "direct_connection", "decrypt-fail", "relay_id", "mmg-fallback.whatsapp.net", "target", "available", "name", "last_id", "mmg.whatsapp.net", "categories", "401", "is_new", "index", "tctoken", "ip4", "token_id", "latency", "recipient", "edit", "ip6", "add", "thumbnail-document", "26", "paused", "true", "identity", "stream:error", "key", "sidelist", "background", "audio", "3", "thumbnail-image", "biz-cover-photo", "cat", "gcm", "thumbnail-video", "error", "auth", "deny", "serial", "in", "registration", "thumbnail-link", "remove", "00", "gif", "thumbnail-gif", "tag", "capability", "multicast", "item-not-found", "description", "business_hours", "config_expo_key", "md-app-state", "expiration", "fallback", "ttl", "300", "md-msg-hist", "device_orientation", "out", "w:m", "open_24h", "side_list", "token", "inactive", "01", "document", "te2", "played", "encrypt", "msgr", "hide", "direct_path", "12", "state", "not-authorized", "url", "terminate", "signature", "status-revoke-delay", "02", "te", "linked_accounts", "trusted_contact", "timezone", "ptt", "kyc-id", "privacy_token", "readreceipts", "appointment_only", "address", "expected_ts", "privacy", "7", "android", "interactive", "device-identity", "enabled", "attribute_padding", "1080", "03", "screen_height"} DoubleByteTokens = [...][]string{ - {"media-for1-1.cdn.whatsapp.net", "relay", "media-gru2-2.cdn.whatsapp.net", "uncompressed", "medium", "voip_settings", "device", "reason", "media-lim1-1.cdn.whatsapp.net", "media-qro1-2.cdn.whatsapp.net", "media-gru1-2.cdn.whatsapp.net", "action", "features", "media-gru2-1.cdn.whatsapp.net", "media-gru1-1.cdn.whatsapp.net", "media-otp1-1.cdn.whatsapp.net", "kyc-id", "priority", "phash", "mute", "token", "100", "media-qro1-1.cdn.whatsapp.net", "none", "media-mrs2-2.cdn.whatsapp.net", "sign_credential", "03", "media-mrs2-1.cdn.whatsapp.net", "protocol", "timezone", "transport", "eph_setting", "1080", "original_dimensions", "media-frx5-1.cdn.whatsapp.net", "background", "disable", "original_image_url", "5", "transaction-id", "direct_path", "103", "appointment_only", "request_image_url", "peer_pid", "address", "105", "104", "102", "media-cdt1-1.cdn.whatsapp.net", "101", "109", "110", "106", "background_location", "v_id", "sync", "status-old", "111", "107", "ppic", "media-scl2-1.cdn.whatsapp.net", "business_profile", "108", "invite", "04", "audio_duration", "media-mct1-1.cdn.whatsapp.net", "media-cdg2-1.cdn.whatsapp.net", "media-los2-1.cdn.whatsapp.net", "invis", "net", "voip_payload_type", "status-revoke-delay", "404", "state", "use_correct_order_for_hmac_sha1", "ver", "media-mad1-1.cdn.whatsapp.net", "order", "540", "skey", "blinded_credential", "android", "contact_remove", "enable_downlink_relay_latency_only", "duration", "enable_vid_one_way_codec_nego", "6", "media-sof1-1.cdn.whatsapp.net", "accept", "all", "signed_credential", "media-atl3-1.cdn.whatsapp.net", "media-lhr8-1.cdn.whatsapp.net", "website", "05", "latitude", "media-dfw5-1.cdn.whatsapp.net", "forbidden", "enable_audio_piggyback_network_mtu_fix", "media-dfw5-2.cdn.whatsapp.net", "note.m4r", "media-atl3-2.cdn.whatsapp.net", "jb_nack_discard_count_fix", "longitude", "Opening.m4r", "media-arn2-1.cdn.whatsapp.net", "email", "timestamp", "admin", "media-pmo1-1.cdn.whatsapp.net", "America/Sao_Paulo", "contact_add", "media-sin6-1.cdn.whatsapp.net", "interactive", "8000", "acs_public_key", "sigquit_anr_detector_release_rollover_percent", "media.fmed1-2.fna.whatsapp.net", "groupadd", "enabled_for_video_upgrade", "latency_update_threshold", "media-frt3-2.cdn.whatsapp.net", "calls_row_constraint_layout", "media.fgbb2-1.fna.whatsapp.net", "mms4_media_retry_notification_encryption_enabled", "timeout", "media-sin6-3.cdn.whatsapp.net", "audio_nack_jitter_multiplier", "jb_discard_count_adjust_pct_rc", "audio_reserve_bps", "delta", "account_sync", "default", "media.fjed4-6.fna.whatsapp.net", "06", "lock_video_orientation", "media-frt3-1.cdn.whatsapp.net", "w:g2", "media-sin6-2.cdn.whatsapp.net", "audio_nack_algo_mask", "media.fgbb2-2.fna.whatsapp.net", "media.fmed1-1.fna.whatsapp.net", "cond_range_target_bitrate", "mms4_server_error_receipt_encryption_enabled", "vid_rc_dyn", "fri", "cart_v1_1_order_message_changes_enabled", "reg_push", "jb_hist_deposit_value", "privatestats", "media.fist7-2.fna.whatsapp.net", "thu", "jb_discard_count_adjust_pct", "mon", "group_call_video_maximization_enabled", "mms_cat_v1_forward_hot_override_enabled", "audio_nack_new_rtt", "media.fsub2-3.fna.whatsapp.net", "media_upload_aggressive_retry_exponential_backoff_enabled", "tue", "wed", "media.fruh4-2.fna.whatsapp.net", "audio_nack_max_seq_req", "max_rtp_audio_packet_resends", "jb_hist_max_cdf_value", "07", "audio_nack_max_jb_delay", "mms_forward_partially_downloaded_video", "media-lcy1-1.cdn.whatsapp.net", "resume", "jb_inband_fec_aware", "new_commerce_entry_point_enabled", "480", "payments_upi_generate_qr_amount_limit", "sigquit_anr_detector_rollover_percent", "media.fsdu2-1.fna.whatsapp.net", "fbns", "aud_pkt_reorder_pct", "dec", "stop_probing_before_accept_send", "media_upload_max_aggressive_retries", "edit_business_profile_new_mode_enabled", "media.fhex4-1.fna.whatsapp.net", "media.fjed4-3.fna.whatsapp.net", "sigquit_anr_detector_64bit_rollover_percent", "cond_range_ema_jb_last_delay", "watls_enable_early_data_http_get", "media.fsdu2-2.fna.whatsapp.net", "message_qr_disambiguation_enabled", "media-mxp1-1.cdn.whatsapp.net", "sat", "vertical", "media.fruh4-5.fna.whatsapp.net", "200", "media-sof1-2.cdn.whatsapp.net", "-1", "height", "product_catalog_hide_show_items_enabled", "deep_copy_frm_last", "tsoffline", "vp8/h.264", "media.fgye5-3.fna.whatsapp.net", "media.ftuc1-2.fna.whatsapp.net", "smb_upsell_chat_banner_enabled", "canonical", "08", "9", ".", "media.fgyd4-4.fna.whatsapp.net", "media.fsti4-1.fna.whatsapp.net", "mms_vcache_aggregation_enabled", "mms_hot_content_timespan_in_seconds", "nse_ver", "rte", "third_party_sticker_web_sync", "cond_range_target_total_bitrate", "media_upload_aggressive_retry_enabled", "instrument_spam_report_enabled", "disable_reconnect_tone", "move_media_folder_from_sister_app", "one_tap_calling_in_group_chat_size", "10", "storage_mgmt_banner_threshold_mb", "enable_backup_passive_mode", "sharechat_inline_player_enabled", "media.fcnq2-1.fna.whatsapp.net", "media.fhex4-2.fna.whatsapp.net", "media.fist6-3.fna.whatsapp.net", "ephemeral_drop_column_stage", "reconnecting_after_network_change_threshold_ms", "media-lhr8-2.cdn.whatsapp.net", "cond_jb_last_delay_ema_alpha", "entry_point_block_logging_enabled", "critical_event_upload_log_config", "respect_initial_bitrate_estimate", "smaller_image_thumbs_status_enabled", "media.fbtz1-4.fna.whatsapp.net", "media.fjed4-1.fna.whatsapp.net", "width", "720", "enable_frame_dropper", "enable_one_side_mode", "urn:xmpp:whatsapp:dirty", "new_sticker_animation_behavior_v2", "media.flim3-2.fna.whatsapp.net", "media.fuio6-2.fna.whatsapp.net", "skip_forced_signaling", "dleq_proof", "status_video_max_bitrate", "lazy_send_probing_req", "enhanced_storage_management", "android_privatestats_endpoint_dit_enabled", "media.fscl13-2.fna.whatsapp.net", "video_duration"}, - {"group_call_discoverability_enabled", "media.faep9-2.fna.whatsapp.net", "msgr", "bloks_loggedin_access_app_id", "db_status_migration_step", "watls_prefer_ip6", "jabber:iq:privacy", "68", "media.fsaw1-11.fna.whatsapp.net", "mms4_media_conn_persist_enabled", "animated_stickers_thread_clean_up", "media.fcgk3-2.fna.whatsapp.net", "media.fcgk4-6.fna.whatsapp.net", "media.fgye5-2.fna.whatsapp.net", "media.flpb1-1.fna.whatsapp.net", "media.fsub2-1.fna.whatsapp.net", "media.fuio6-3.fna.whatsapp.net", "not-allowed", "partial_pjpeg_bw_threshold", "cap_estimated_bitrate", "mms_chatd_resume_check_over_thrift", "smb_upsell_business_profile_enabled", "product_catalog_webclient", "groups", "sigquit_anr_detector_release_updated_rollout", "syncd_key_rotation_enabled", "media.fdmm2-1.fna.whatsapp.net", "media-hou1-1.cdn.whatsapp.net", "remove_old_chat_notifications", "smb_biztools_deeplink_enabled", "use_downloadable_filters_int", "group_qr_codes_enabled", "max_receipt_processing_time", "optimistic_image_processing_enabled", "smaller_video_thumbs_status_enabled", "watls_early_data", "reconnecting_before_relay_failover_threshold_ms", "cond_range_packet_loss_pct", "groups_privacy_blacklist", "status-revoke-drop", "stickers_animated_thumbnail_download", "dedupe_transcode_shared_images", "dedupe_transcode_shared_videos", "media.fcnq2-2.fna.whatsapp.net", "media.fgyd4-1.fna.whatsapp.net", "media.fist7-1.fna.whatsapp.net", "media.flim3-3.fna.whatsapp.net", "add_contact_by_qr_enabled", "https://faq.whatsapp.com/payments", "multicast_limit_global", "sticker_notification_preview", "smb_better_catalog_list_adapters_enabled", "bloks_use_minscript_android", "pen_smoothing_enabled", "media.fcgk4-5.fna.whatsapp.net", "media.fevn1-3.fna.whatsapp.net", "media.fpoj7-1.fna.whatsapp.net", "media-arn2-2.cdn.whatsapp.net", "reconnecting_before_network_change_threshold_ms", "android_media_use_fresco_for_gifs", "cond_in_congestion", "status_image_max_edge", "sticker_search_enabled", "starred_stickers_web_sync", "db_blank_me_jid_migration_step", "media.fist6-2.fna.whatsapp.net", "media.ftuc1-1.fna.whatsapp.net", "09", "anr_fast_logs_upload_rollout", "camera_core_integration_enabled", "11", "third_party_sticker_caching", "thread_dump_contact_support", "wam_privatestats_enabled", "vcard_as_document_size_kb", "maxfpp", "fbip", "ephemeral_allow_group_members", "media-bom1-2.cdn.whatsapp.net", "media-xsp1-1.cdn.whatsapp.net", "disable_prewarm", "frequently_forwarded_max", "media.fbtz1-5.fna.whatsapp.net", "media.fevn7-1.fna.whatsapp.net", "media.fgyd4-2.fna.whatsapp.net", "sticker_tray_animation_fully_visible_items", "green_alert_banner_duration", "reconnecting_after_p2p_failover_threshold_ms", "connected", "share_biz_vcard_enabled", "stickers_animation", "0a", "1200", "WhatsApp", "group_description_length", "p_v_id", "payments_upi_intent_transaction_limit", "frequently_forwarded_messages", "media-xsp1-2.cdn.whatsapp.net", "media.faep8-1.fna.whatsapp.net", "media.faep8-2.fna.whatsapp.net", "media.faep9-1.fna.whatsapp.net", "media.fdmm2-2.fna.whatsapp.net", "media.fgzt3-1.fna.whatsapp.net", "media.flim4-2.fna.whatsapp.net", "media.frao1-1.fna.whatsapp.net", "media.fscl9-2.fna.whatsapp.net", "media.fsub2-2.fna.whatsapp.net", "superadmin", "media.fbog10-1.fna.whatsapp.net", "media.fcgh28-1.fna.whatsapp.net", "media.fjdo10-1.fna.whatsapp.net", "third_party_animated_sticker_import", "delay_fec", "attachment_picker_refresh", "android_linked_devices_re_auth_enabled", "rc_dyn", "green_alert_block_jitter", "add_contact_logging_enabled", "biz_message_logging_enabled", "conversation_media_preview_v2", "media-jnb1-1.cdn.whatsapp.net", "ab_key", "media.fcgk4-2.fna.whatsapp.net", "media.fevn1-1.fna.whatsapp.net", "media.fist6-1.fna.whatsapp.net", "media.fruh4-4.fna.whatsapp.net", "media.fsti4-2.fna.whatsapp.net", "mms_vcard_autodownload_size_kb", "watls_enabled", "notif_ch_override_off", "media.fsaw1-14.fna.whatsapp.net", "media.fscl13-1.fna.whatsapp.net", "db_group_participant_migration_step", "1020", "cond_range_sterm_rtt", "invites_logging_enabled", "triggered_block_enabled", "group_call_max_participants", "media-iad3-1.cdn.whatsapp.net", "product_catalog_open_deeplink", "shops_required_tos_version", "image_max_kbytes", "cond_low_quality_vid_mode", "db_receipt_migration_step", "jb_early_prob_hist_shrink", "media.fdmm2-3.fna.whatsapp.net", "media.fdmm2-4.fna.whatsapp.net", "media.fruh4-1.fna.whatsapp.net", "media.fsaw2-2.fna.whatsapp.net", "remove_geolocation_videos", "new_animation_behavior", "fieldstats_beacon_chance", "403", "authkey_reset_on_ban", "continuous_ptt_playback", "reconnecting_after_relay_failover_threshold_ms", "false", "group", "sun", "conversation_swipe_to_reply", "ephemeral_messages_setting", "smaller_video_thumbs_enabled", "md_device_sync_enabled", "bloks_shops_pdp_url_regex", "lasso_integration_enabled", "media-bom1-1.cdn.whatsapp.net", "new_backup_format_enabled", "256", "media.faep6-1.fna.whatsapp.net", "media.fasr1-1.fna.whatsapp.net", "media.fbtz1-7.fna.whatsapp.net", "media.fesb4-1.fna.whatsapp.net", "media.fjdo1-2.fna.whatsapp.net", "media.frba2-1.fna.whatsapp.net", "watls_no_dns", "600", "db_broadcast_me_jid_migration_step", "new_wam_runtime_enabled", "group_update", "enhanced_block_enabled", "sync_wifi_threshold_kb", "mms_download_nc_cat", "bloks_minification_enabled", "ephemeral_messages_enabled", "reject", "voip_outgoing_xml_signaling", "creator", "dl_bw", "payments_request_messages", "target_bitrate", "bloks_rendercore_enabled", "media-hbe1-1.cdn.whatsapp.net", "media-hel3-1.cdn.whatsapp.net", "media-kut2-2.cdn.whatsapp.net", "media-lax3-1.cdn.whatsapp.net", "media-lax3-2.cdn.whatsapp.net", "sticker_pack_deeplink_enabled", "hq_image_bw_threshold", "status_info", "voip", "dedupe_transcode_videos", "grp_uii_cleanup", "linked_device_max_count", "media.flim1-1.fna.whatsapp.net", "media.fsaw2-1.fna.whatsapp.net", "reconnecting_after_call_active_threshold_ms", "1140", "catalog_pdp_new_design", "media.fbtz1-10.fna.whatsapp.net", "media.fsaw1-15.fna.whatsapp.net", "0b", "consumer_rc_provider", "mms_async_fast_forward_ttl", "jb_eff_size_fix", "voip_incoming_xml_signaling", "media_provider_share_by_uuid", "suspicious_links", "dedupe_transcode_images", "green_alert_modal_start", "media-cgk1-1.cdn.whatsapp.net", "media-lga3-1.cdn.whatsapp.net", "template_doc_mime_types", "important_messages", "user_add", "vcard_max_size_kb", "media.fada2-1.fna.whatsapp.net", "media.fbog2-5.fna.whatsapp.net", "media.fbtz1-3.fna.whatsapp.net", "media.fcgk3-1.fna.whatsapp.net", "media.fcgk7-1.fna.whatsapp.net", "media.flim1-3.fna.whatsapp.net", "media.fscl9-1.fna.whatsapp.net", "ctwa_context_enterprise_enabled", "media.fsaw1-13.fna.whatsapp.net", "media.fuio11-2.fna.whatsapp.net", "status_collapse_muted", "db_migration_level_force", "recent_stickers_web_sync", "bloks_session_state", "bloks_shops_enabled", "green_alert_setting_deep_links_enabled", "restrict_groups", "battery", "green_alert_block_start", "refresh", "ctwa_context_enabled", "md_messaging_enabled", "status_image_quality", "md_blocklist_v2_server", "media-del1-1.cdn.whatsapp.net", "13", "userrate", "a_v_id", "cond_rtt_ema_alpha", "invalid"}, - {"media.fada1-1.fna.whatsapp.net", "media.fadb3-2.fna.whatsapp.net", "media.fbhz2-1.fna.whatsapp.net", "media.fcor2-1.fna.whatsapp.net", "media.fjed4-2.fna.whatsapp.net", "media.flhe4-1.fna.whatsapp.net", "media.frak1-2.fna.whatsapp.net", "media.fsub6-3.fna.whatsapp.net", "media.fsub6-7.fna.whatsapp.net", "media.fvvi1-1.fna.whatsapp.net", "search_v5_eligible", "wam_real_time_enabled", "report_disk_event", "max_tx_rott_based_bitrate", "product", "media.fjdo10-2.fna.whatsapp.net", "video_frame_crc_sample_interval", "media_max_autodownload", "15", "h.264", "wam_privatestats_buffer_count", "md_phash_v2_enabled", "account_transfer_enabled", "business_product_catalog", "enable_non_dyn_codec_param_fix", "is_user_under_epd_jurisdiction", "media.fbog2-4.fna.whatsapp.net", "media.fbtz1-2.fna.whatsapp.net", "media.fcfc1-1.fna.whatsapp.net", "media.fjed4-5.fna.whatsapp.net", "media.flhe4-2.fna.whatsapp.net", "media.flim1-2.fna.whatsapp.net", "media.flos5-1.fna.whatsapp.net", "android_key_store_auth_ver", "010", "anr_process_monitor", "delete_old_auth_key", "media.fcor10-3.fna.whatsapp.net", "storage_usage_enabled", "android_camera2_support_level", "dirty", "consumer_content_provider", "status_video_max_duration", "0c", "bloks_cache_enabled", "media.fadb2-2.fna.whatsapp.net", "media.fbko1-1.fna.whatsapp.net", "media.fbtz1-9.fna.whatsapp.net", "media.fcgk4-4.fna.whatsapp.net", "media.fesb4-2.fna.whatsapp.net", "media.fevn1-2.fna.whatsapp.net", "media.fist2-4.fna.whatsapp.net", "media.fjdo1-1.fna.whatsapp.net", "media.fruh4-6.fna.whatsapp.net", "media.fsrg5-1.fna.whatsapp.net", "media.fsub6-6.fna.whatsapp.net", "minfpp", "5000", "locales", "video_max_bitrate", "use_new_auth_key", "bloks_http_enabled", "heartbeat_interval", "media.fbog11-1.fna.whatsapp.net", "ephemeral_group_query_ts", "fec_nack", "search_in_storage_usage", "c", "media-amt2-1.cdn.whatsapp.net", "linked_devices_ui_enabled", "14", "async_data_load_on_startup", "voip_incoming_xml_ack", "16", "db_migration_step", "init_bwe", "max_participants", "wam_buffer_count", "media.fada2-2.fna.whatsapp.net", "media.fadb3-1.fna.whatsapp.net", "media.fcor2-2.fna.whatsapp.net", "media.fdiy1-2.fna.whatsapp.net", "media.frba3-2.fna.whatsapp.net", "media.fsaw2-3.fna.whatsapp.net", "1280", "status_grid_enabled", "w:biz", "product_catalog_deeplink", "media.fgye10-2.fna.whatsapp.net", "media.fuio11-1.fna.whatsapp.net", "optimistic_upload", "work_manager_init", "lc", "catalog_message", "cond_net_medium", "enable_periodical_aud_rr_processing", "cond_range_ema_rtt", "media-tir2-1.cdn.whatsapp.net", "frame_ms", "group_invite_sending", "payments_web_enabled", "wallpapers_v2", "0d", "browser", "hq_image_max_edge", "image_edit_zoom", "linked_devices_re_auth_enabled", "media.faly3-2.fna.whatsapp.net", "media.fdoh5-3.fna.whatsapp.net", "media.fesb3-1.fna.whatsapp.net", "media.fknu1-1.fna.whatsapp.net", "media.fmex3-1.fna.whatsapp.net", "media.fruh4-3.fna.whatsapp.net", "255", "web_upgrade_to_md_modal", "audio_piggyback_timeout_msec", "enable_audio_oob_fec_feature", "from_ip", "image_max_edge", "message_qr_enabled", "powersave", "receipt_pre_acking", "video_max_edge", "full", "011", "012", "enable_audio_oob_fec_for_sender", "md_voip_enabled", "enable_privatestats", "max_fec_ratio", "payments_cs_faq_url", "media-xsp1-3.cdn.whatsapp.net", "hq_image_quality", "media.fasr1-2.fna.whatsapp.net", "media.fbog3-1.fna.whatsapp.net", "media.ffjr1-6.fna.whatsapp.net", "media.fist2-3.fna.whatsapp.net", "media.flim4-3.fna.whatsapp.net", "media.fpbc2-4.fna.whatsapp.net", "media.fpku1-1.fna.whatsapp.net", "media.frba1-1.fna.whatsapp.net", "media.fudi1-1.fna.whatsapp.net", "media.fvvi1-2.fna.whatsapp.net", "gcm_fg_service", "enable_dec_ltr_size_check", "clear", "lg", "media.fgru11-1.fna.whatsapp.net", "18", "media-lga3-2.cdn.whatsapp.net", "pkey", "0e", "max_subject", "cond_range_lterm_rtt", "announcement_groups", "biz_profile_options", "s_t", "media.fabv2-1.fna.whatsapp.net", "media.fcai3-1.fna.whatsapp.net", "media.fcgh1-1.fna.whatsapp.net", "media.fctg1-4.fna.whatsapp.net", "media.fdiy1-1.fna.whatsapp.net", "media.fisb4-1.fna.whatsapp.net", "media.fpku1-2.fna.whatsapp.net", "media.fros9-1.fna.whatsapp.net", "status_v3_text", "usync_sidelist", "17", "announcement", "...", "md_group_notification", "0f", "animated_pack_in_store", "013", "America/Mexico_City", "1260", "media-ams4-1.cdn.whatsapp.net", "media-cgk1-2.cdn.whatsapp.net", "media-cpt1-1.cdn.whatsapp.net", "media-maa2-1.cdn.whatsapp.net", "media.fgye10-1.fna.whatsapp.net", "e", "catalog_cart", "hfm_string_changes", "init_bitrate", "packless_hsm", "group_info", "America/Belem", "50", "960", "cond_range_bwe", "decode", "encode", "media.fada1-8.fna.whatsapp.net", "media.fadb1-2.fna.whatsapp.net", "media.fasu6-1.fna.whatsapp.net", "media.fbog4-1.fna.whatsapp.net", "media.fcgk9-2.fna.whatsapp.net", "media.fdoh5-2.fna.whatsapp.net", "media.ffjr1-2.fna.whatsapp.net", "media.fgua1-1.fna.whatsapp.net", "media.fgye1-1.fna.whatsapp.net", "media.fist1-4.fna.whatsapp.net", "media.fpbc2-2.fna.whatsapp.net", "media.fres2-1.fna.whatsapp.net", "media.fsdq1-2.fna.whatsapp.net", "media.fsub6-5.fna.whatsapp.net", "profilo_enabled", "template_hsm", "use_disorder_prefetching_timer", "video_codec_priority", "vpx_max_qp", "ptt_reduce_recording_delay", "25", "iphone", "Windows", "s_o", "Africa/Lagos", "abt", "media-kut2-1.cdn.whatsapp.net", "media-mba1-1.cdn.whatsapp.net", "media-mxp1-2.cdn.whatsapp.net", "md_blocklist_v2", "url_text", "enable_short_offset", "group_join_permissions", "enable_audio_piggyback_feature", "image_quality", "media.fcgk7-2.fna.whatsapp.net", "media.fcgk8-2.fna.whatsapp.net", "media.fclo7-1.fna.whatsapp.net", "media.fcmn1-1.fna.whatsapp.net", "media.feoh1-1.fna.whatsapp.net", "media.fgyd4-3.fna.whatsapp.net", "media.fjed4-4.fna.whatsapp.net", "media.flim1-4.fna.whatsapp.net", "media.flim2-4.fna.whatsapp.net", "media.fplu6-1.fna.whatsapp.net", "media.frak1-1.fna.whatsapp.net", "media.fsdq1-1.fna.whatsapp.net", "to_ip", "015", "vp8", "19", "21", "1320", "auth_key_ver", "message_processing_dedup", "server-error", "wap4_enabled", "420", "014", "cond_range_rtt", "ptt_fast_lock_enabled", "media-ort2-1.cdn.whatsapp.net", "fwd_ui_start_ts"}, - {"contact_blacklist", "Asia/Jakarta", "media.fepa10-1.fna.whatsapp.net", "media.fmex10-3.fna.whatsapp.net", "disorder_prefetching_start_when_empty", "America/Bogota", "use_local_probing_rx_bitrate", "America/Argentina/Buenos_Aires", "cross_post", "media.fabb1-1.fna.whatsapp.net", "media.fbog4-2.fna.whatsapp.net", "media.fcgk9-1.fna.whatsapp.net", "media.fcmn2-1.fna.whatsapp.net", "media.fdel3-1.fna.whatsapp.net", "media.ffjr1-1.fna.whatsapp.net", "media.fgdl5-1.fna.whatsapp.net", "media.flpb1-2.fna.whatsapp.net", "media.fmex2-1.fna.whatsapp.net", "media.frba2-2.fna.whatsapp.net", "media.fros2-2.fna.whatsapp.net", "media.fruh2-1.fna.whatsapp.net", "media.fybz2-2.fna.whatsapp.net", "options", "20", "a", "017", "018", "mute_always", "user_notice", "Asia/Kolkata", "gif_provider", "locked", "media-gua1-1.cdn.whatsapp.net", "piggyback_exclude_force_flush", "24", "media.frec39-1.fna.whatsapp.net", "user_remove", "file_max_size", "cond_packet_loss_pct_ema_alpha", "media.facc1-1.fna.whatsapp.net", "media.fadb2-1.fna.whatsapp.net", "media.faly3-1.fna.whatsapp.net", "media.fbdo6-2.fna.whatsapp.net", "media.fcmn2-2.fna.whatsapp.net", "media.fctg1-3.fna.whatsapp.net", "media.ffez1-2.fna.whatsapp.net", "media.fist1-3.fna.whatsapp.net", "media.fist2-2.fna.whatsapp.net", "media.flim2-2.fna.whatsapp.net", "media.fmct2-3.fna.whatsapp.net", "media.fpei3-1.fna.whatsapp.net", "media.frba3-1.fna.whatsapp.net", "media.fsdu8-2.fna.whatsapp.net", "media.fstu2-1.fna.whatsapp.net", "media_type", "receipt_agg", "016", "enable_pli_for_crc_mismatch", "live", "enc_rekey", "frskmsg", "d", "media.fdel11-2.fna.whatsapp.net", "proto", "2250", "audio_piggyback_enable_cache", "skip_nack_if_ltrp_sent", "mark_dtx_jb_frames", "web_service_delay", "7282", "catalog_send_all", "outgoing", "360", "30", "LIMITED", "019", "audio_picker", "bpv2_phase", "media.fada1-7.fna.whatsapp.net", "media.faep7-1.fna.whatsapp.net", "media.fbko1-2.fna.whatsapp.net", "media.fbni1-2.fna.whatsapp.net", "media.fbtz1-1.fna.whatsapp.net", "media.fbtz1-8.fna.whatsapp.net", "media.fcjs3-1.fna.whatsapp.net", "media.fesb3-2.fna.whatsapp.net", "media.fgdl5-4.fna.whatsapp.net", "media.fist2-1.fna.whatsapp.net", "media.flhe2-2.fna.whatsapp.net", "media.flim2-1.fna.whatsapp.net", "media.fmex1-1.fna.whatsapp.net", "media.fpat3-2.fna.whatsapp.net", "media.fpat3-3.fna.whatsapp.net", "media.fros2-1.fna.whatsapp.net", "media.fsdu8-1.fna.whatsapp.net", "media.fsub3-2.fna.whatsapp.net", "payments_chat_plugin", "cond_congestion_no_rtcp_thr", "green_alert", "not-a-biz", "..", "shops_pdp_urls_config", "source", "media-dus1-1.cdn.whatsapp.net", "mute_video", "01b", "currency", "max_keys", "resume_check", "contact_array", "qr_scanning", "23", "b", "media.fbfh15-1.fna.whatsapp.net", "media.flim22-1.fna.whatsapp.net", "media.fsdu11-1.fna.whatsapp.net", "media.fsdu15-1.fna.whatsapp.net", "Chrome", "fts_version", "60", "media.fada1-6.fna.whatsapp.net", "media.faep4-2.fna.whatsapp.net", "media.fbaq5-1.fna.whatsapp.net", "media.fbni1-1.fna.whatsapp.net", "media.fcai3-2.fna.whatsapp.net", "media.fdel3-2.fna.whatsapp.net", "media.fdmm3-2.fna.whatsapp.net", "media.fhex3-1.fna.whatsapp.net", "media.fisb4-2.fna.whatsapp.net", "media.fkhi5-2.fna.whatsapp.net", "media.flos2-1.fna.whatsapp.net", "media.fmct2-1.fna.whatsapp.net", "media.fntr7-1.fna.whatsapp.net", "media.frak3-1.fna.whatsapp.net", "media.fruh5-2.fna.whatsapp.net", "media.fsub6-1.fna.whatsapp.net", "media.fuab1-2.fna.whatsapp.net", "media.fuio1-1.fna.whatsapp.net", "media.fver1-1.fna.whatsapp.net", "media.fymy1-1.fna.whatsapp.net", "product_catalog", "1380", "audio_oob_fec_max_pkts", "22", "254", "media-ort2-2.cdn.whatsapp.net", "media-sjc3-1.cdn.whatsapp.net", "1600", "01a", "01c", "405", "key_frame_interval", "body", "media.fcgh20-1.fna.whatsapp.net", "media.fesb10-2.fna.whatsapp.net", "125", "2000", "media.fbsb1-1.fna.whatsapp.net", "media.fcmn3-2.fna.whatsapp.net", "media.fcpq1-1.fna.whatsapp.net", "media.fdel1-2.fna.whatsapp.net", "media.ffor2-1.fna.whatsapp.net", "media.fgdl1-4.fna.whatsapp.net", "media.fhex2-1.fna.whatsapp.net", "media.fist1-2.fna.whatsapp.net", "media.fjed5-2.fna.whatsapp.net", "media.flim6-4.fna.whatsapp.net", "media.flos2-2.fna.whatsapp.net", "media.fntr6-2.fna.whatsapp.net", "media.fpku3-2.fna.whatsapp.net", "media.fros8-1.fna.whatsapp.net", "media.fymy1-2.fna.whatsapp.net", "ul_bw", "ltrp_qp_offset", "request", "nack", "dtx_delay_state_reset", "timeoffline", "28", "01f", "32", "enable_ltr_pool", "wa_msys_crypto", "01d", "58", "dtx_freeze_hg_update", "nack_if_rpsi_throttled", "253", "840", "media.famd15-1.fna.whatsapp.net", "media.fbog17-2.fna.whatsapp.net", "media.fcai19-2.fna.whatsapp.net", "media.fcai21-4.fna.whatsapp.net", "media.fesb10-4.fna.whatsapp.net", "media.fesb10-5.fna.whatsapp.net", "media.fmaa12-1.fna.whatsapp.net", "media.fmex11-3.fna.whatsapp.net", "media.fpoa33-1.fna.whatsapp.net", "1050", "021", "clean", "cond_range_ema_packet_loss_pct", "media.fadb6-5.fna.whatsapp.net", "media.faqp4-1.fna.whatsapp.net", "media.fbaq3-1.fna.whatsapp.net", "media.fbel2-1.fna.whatsapp.net", "media.fblr4-2.fna.whatsapp.net", "media.fclo8-1.fna.whatsapp.net", "media.fcoo1-2.fna.whatsapp.net", "media.ffjr1-4.fna.whatsapp.net", "media.ffor9-1.fna.whatsapp.net", "media.fisb3-1.fna.whatsapp.net", "media.fkhi2-2.fna.whatsapp.net", "media.fkhi4-1.fna.whatsapp.net", "media.fpbc1-2.fna.whatsapp.net", "media.fruh2-2.fna.whatsapp.net", "media.fruh5-1.fna.whatsapp.net", "media.fsub3-1.fna.whatsapp.net", "payments_transaction_limit", "252", "27", "29", "tintagel", "01e", "237", "780", "callee_updated_payload", "020", "257", "price", "025", "239", "payments_cs_phone_number", "mediaretry", "w:auth:backup:token", "Glass.caf", "max_bitrate", "240", "251", "660", "media.fbog16-1.fna.whatsapp.net", "media.fcgh21-1.fna.whatsapp.net", "media.fkul19-2.fna.whatsapp.net", "media.flim21-2.fna.whatsapp.net", "media.fmex10-4.fna.whatsapp.net", "64", "33", "34", "35", "interruption", "media.fabv3-1.fna.whatsapp.net", "media.fadb6-1.fna.whatsapp.net", "media.fagr1-1.fna.whatsapp.net", "media.famd1-1.fna.whatsapp.net", "media.famm6-1.fna.whatsapp.net", "media.faqp2-3.fna.whatsapp.net"}, + {"read-self", "active", "fbns", "protocol", "reaction", "screen_width", "heartbeat", "deviceid", "2:47DEQpj8", "uploadfieldstat", "voip_settings", "retry", "priority", "longitude", "conflict", "false", "ig_professional", "replaced", "preaccept", "cover_photo", "uncompressed", "encopt", "ppic", "04", "passive", "status-revoke-drop", "keygen", "540", "offer", "rate", "opus", "latitude", "w:gp2", "ver", "4", "business_profile", "medium", "sender", "prev_v_id", "email", "website", "invited", "sign_credential", "05", "transport", "skey", "reason", "peer_abtest_bucket", "America/Sao_Paulo", "appid", "refresh", "100", "06", "404", "101", "104", "107", "102", "109", "103", "member_add_mode", "105", "transaction-id", "110", "106", "outgoing", "108", "111", "tokens", "followers", "ig_handle", "self_pid", "tue", "dec", "thu", "joinable", "peer_pid", "mon", "features", "wed", "peer_device_presence", "pn", "delete", "07", "fri", "audio_duration", "admin", "connected", "delta", "rcat", "disable", "collection", "08", "480", "sat", "phash", "all", "invite", "accept", "critical_unblock_low", "group_update", "signed_credential", "blinded_credential", "eph_setting", "net", "09", "background_location", "refresh_id", "Asia/Kolkata", "privacy_mode_ts", "account_sync", "voip_payload_type", "service_areas", "acs_public_key", "v_id", "0a", "fallback_class", "relay", "actual_actors", "metadata", "w:biz", "5", "connected-limit", "notice", "0b", "host_storage", "fb_page", "subject", "privatestats", "invis", "groupadd", "010", "note.m4r", "uuid", "0c", "8000", "sun", "372", "1020", "stage", "1200", "720", "canonical", "fb", "011", "video_duration", "0d", "1140", "superadmin", "012", "Opening.m4r", "keystore_attestation", "dleq_proof", "013", "timestamp", "ab_key", "w:sync:app:state", "0e", "vertical", "600", "p_v_id", "6", "likes", "014", "500", "1260", "creator", "0f", "rte", "destination", "group", "group_info", "syncd_anti_tampering_fatal_exception_enabled", "015", "dl_bw", "Asia/Jakarta", "vp8/h.264", "online", "1320", "fb:multiway", "10", "timeout", "016", "nse_retry", "urn:xmpp:whatsapp:dirty", "017", "a_v_id", "web_shops_chat_header_button_enabled", "nse_call", "inactive-upgrade", "none", "web", "groups", "2250", "mms_hot_content_timespan_in_seconds", "contact_blacklist", "nse_read", "suspended_group_deletion_notification", "binary_version", "018", "https://www.whatsapp.com/otp/copy/", "reg_push", "shops_hide_catalog_attachment_entrypoint", "server_sync", ".", "ephemeral_messages_allowed_values", "019", "mms_vcache_aggregation_enabled", "iphone", "America/Argentina/Buenos_Aires", "01a", "mms_vcard_autodownload_size_kb", "nse_ver", "shops_header_dropdown_menu_item", "dhash", "catalog_status", "communities_mvp_new_iqs_serverprop", "blocklist", "default", "11", "ephemeral_messages_enabled", "01b", "original_dimensions", "8", "mms4_media_retry_notification_encryption_enabled", "mms4_server_error_receipt_encryption_enabled", "original_image_url", "sync", "multiway", "420", "companion_enc_static", "shops_profile_drawer_entrypoint", "01c", "vcard_as_document_size_kb", "status_video_max_duration", "request_image_url", "01d", "regular_high", "s_t", "abt", "share_ext_min_preliminary_image_quality", "01e", "32", "syncd_key_rotation_enabled", "data_namespace", "md_downgrade_read_receipts2", "patch", "polltype", "ephemeral_messages_setting", "userrate", "15", "partial_pjpeg_bw_threshold", "played-self", "catalog_exists", "01f", "mute_v2"}, + {"reject", "dirty", "announcement", "020", "13", "9", "status_video_max_bitrate", "fb:thrift_iq", "offline_batch", "022", "full", "ctwa_first_business_reply_logging", "h.264", "smax_id", "group_description_length", "https://www.whatsapp.com/otp/code", "status_image_max_edge", "smb_upsell_business_profile_enabled", "021", "web_upgrade_to_md_modal", "14", "023", "s_o", "smaller_video_thumbs_status_enabled", "media_max_autodownload", "960", "blocking_status", "peer_msg", "joinable_group_call_client_version", "group_call_video_maximization_enabled", "return_snapshot", "high", "America/Mexico_City", "entry_point_block_logging_enabled", "pop", "024", "1050", "16", "1380", "one_tap_calling_in_group_chat_size", "regular_low", "inline_joinable_education_enabled", "hq_image_max_edge", "locked", "America/Bogota", "smb_biztools_deeplink_enabled", "status_image_quality", "1088", "025", "payments_upi_intent_transaction_limit", "voip", "w:g2", "027", "md_pin_chat_enabled", "026", "multi_scan_pjpeg_download_enabled", "shops_product_grid", "transaction_id", "ctwa_context_enabled", "20", "fna", "hq_image_quality", "alt_jpeg_doc_detection_quality", "group_call_max_participants", "pkey", "America/Belem", "image_max_kbytes", "web_cart_v1_1_order_message_changes_enabled", "ctwa_context_enterprise_enabled", "urn:xmpp:whatsapp:account", "840", "Asia/Kuala_Lumpur", "max_participants", "video_remux_after_repair_enabled", "stella_addressbook_restriction_type", "660", "900", "780", "context_menu_ios13_enabled", "mute-state", "ref", "payments_request_messages", "029", "frskmsg", "vcard_max_size_kb", "sample_buffer_gif_player_enabled", "match_last_seen", "510", "4983", "video_max_bitrate", "028", "w:comms:chat", "17", "frequently_forwarded_max", "groups_privacy_blacklist", "Asia/Karachi", "02a", "web_download_document_thumb_mms_enabled", "02b", "hist_sync", "biz_block_reasons_version", "1024", "18", "web_is_direct_connection_for_plm_transparent", "view_once_write", "file_max_size", "paid_convo_id", "online_privacy_setting", "video_max_edge", "view_once_read", "enhanced_storage_management", "multi_scan_pjpeg_encoding_enabled", "ctwa_context_forward_enabled", "video_transcode_downgrade_enable", "template_doc_mime_types", "hq_image_bw_threshold", "30", "body", "u_aud_limit_sil_restarts_ctrl", "other", "participating", "w:biz:directory", "1110", "vp8", "4018", "meta", "doc_detection_image_max_edge", "image_quality", "1170", "02c", "smb_upsell_chat_banner_enabled", "key_expiry_time_second", "pid", "stella_interop_enabled", "19", "linked_device_max_count", "md_device_sync_enabled", "02d", "02e", "360", "enhanced_block_enabled", "ephemeral_icon_in_forwarding", "paid_convo_status", "gif_provider", "project_name", "server-error", "canonical_url_validation_enabled", "wallpapers_v2", "syncd_clear_chat_delete_chat_enabled", "medianotify", "02f", "shops_required_tos_version", "vote", "reset_skey_on_id_change", "030", "image_max_edge", "multicast_limit_global", "ul_bw", "21", "25", "5000", "poll", "570", "22", "031", "1280", "WhatsApp", "032", "bloks_shops_enabled", "50", "upload_host_switching_enabled", "web_ctwa_context_compose_enabled", "ptt_forwarded_features_enabled", "unblocked", "partial_pjpeg_enabled", "fbid:devices", "height", "ephemeral_group_query_ts", "group_join_permissions", "order", "033", "alt_jpeg_status_quality", "migrate", "popular-bank", "win_uwp_deprecation_killswitch_enabled", "web_download_status_thumb_mms_enabled", "blocking", "url_text", "035", "web_forwarding_limit_to_groups", "1600", "val", "1000", "syncd_msg_date_enabled", "bank-ref-id", "max_subject", "payments_web_enabled", "web_upload_document_thumb_mms_enabled", "size", "request", "ephemeral", "24", "receipt_agg", "ptt_remember_play_position", "sampling_weight", "enc_rekey", "mute_always", "037", "034", "23", "036", "action", "click_to_chat_qr_enabled", "width", "disabled", "038", "md_blocklist_v2", "played_self_enabled", "web_buttons_message_enabled", "flow_id", "clear", "450", "fbid:thread", "bloks_session_state", "America/Lima", "attachment_picker_refresh", "download_host_switching_enabled", "1792", "u_aud_limit_sil_restarts_test2", "custom_urls", "device_fanout", "optimistic_upload", "2000", "key_cipher_suite", "web_smb_upsell_in_biz_profile_enabled", "e", "039", "siri_post_status_shortcut", "pair-device", "lg", "lc", "stream_attribution_url", "model", "mspjpeg_phash_gen", "catalog_send_all", "new_multi_vcards_ui", "share_biz_vcard_enabled", "-", "clean", "200", "md_blocklist_v2_server", "03b", "03a", "web_md_migration_experience", "ptt_conversation_waveform", "u_aud_limit_sil_restarts_test1"}, + {"64", "ptt_playback_speed_enabled", "web_product_list_message_enabled", "paid_convo_ts", "27", "manufacturer", "psp-routing", "grp_uii_cleanup", "ptt_draft_enabled", "03c", "business_initiated", "web_catalog_products_onoff", "web_upload_link_thumb_mms_enabled", "03e", "mediaretry", "35", "hfm_string_changes", "28", "America/Fortaleza", "max_keys", "md_mhfs_days", "streaming_upload_chunk_size", "5541", "040", "03d", "2675", "03f", "...", "512", "mute", "48", "041", "alt_jpeg_quality", "60", "042", "md_smb_quick_reply", "5183", "c", "1343", "40", "1230", "043", "044", "mms_cat_v1_forward_hot_override_enabled", "user_notice", "ptt_waveform_send", "047", "Asia/Calcutta", "250", "md_privacy_v2", "31", "29", "128", "md_messaging_enabled", "046", "crypto", "690", "045", "enc_iv", "75", "failure", "ptt_oot_playback", "AIzaSyDR5yfaG7OG8sMTUj8kfQEb8T9pN8BM6Lk", "w", "048", "2201", "web_large_files_ui", "Asia/Makassar", "812", "status_collapse_muted", "1334", "257", "2HP4dm", "049", "patches", "1290", "43cY6T", "America/Caracas", "web_sticker_maker", "campaign", "ptt_pausable_enabled", "33", "42", "attestation", "biz", "04b", "query_linked", "s", "125", "04a", "810", "availability", "1411", "responsiveness_v2_m1", "catalog_not_created", "34", "America/Santiago", "1465", "enc_p", "04d", "status_info", "04f", "key_version", "..", "04c", "04e", "md_group_notification", "1598", "1215", "web_cart_enabled", "37", "630", "1920", "2394", "-1", "vcard", "38", "elapsed", "36", "828", "peer", "pricing_category", "1245", "invalid", "stella_ios_enabled", "2687", "45", "1528", "39", "u_is_redial_audio_1104_ctrl", "1025", "1455", "58", "2524", "2603", "054", "bsp_system_message_enabled", "web_pip_redesign", "051", "verify_apps", "1974", "1272", "1322", "1755", "052", "70", "050", "1063", "1135", "1361", "80", "1096", "1828", "1851", "1251", "1921", "key_config_id", "1254", "1566", "1252", "2525", "critical_block", "1669", "max_available", "w:auth:backup:token", "product", "2530", "870", "1022", "participant_uuid", "web_cart_on_off", "1255", "1432", "1867", "41", "1415", "1440", "240", "1204", "1608", "1690", "1846", "1483", "1687", "1749", "69", "url_number", "053", "1325", "1040", "365", "59", "Asia/Riyadh", "1177", "test_recommended", "057", "1612", "43", "1061", "1518", "1635", "055", "1034", "1375", "750", "1430", "event_code", "1682", "503", "55", "865", "78", "1309", "1365", "44", "America/Guayaquil", "535", "LIMITED", "1377", "1613", "1420", "1599", "1822", "05a", "1681", "password", "1111", "1214", "1376", "1478", "47", "1082", "4282", "Europe/Istanbul", "1307", "46", "058", "1124", "256", "rate-overlimit", "retail", "u_a_socket_err_fix_succ_test", "1292", "1370", "1388", "520", "861", "psa", "regular", "1181", "1766", "05b", "1183", "1213", "1304", "1537"}, + {"1724", "profile_picture", "1071", "1314", "1605", "407", "990", "1710", "746", "pricing_model", "056", "059", "061", "1119", "6027", "65", "877", "1607", "05d", "917", "seen", "1516", "49", "470", "973", "1037", "1350", "1394", "1480", "1796", "keys", "794", "1536", "1594", "2378", "1333", "1524", "1825", "116", "309", "52", "808", "827", "909", "495", "1660", "361", "957", "google", "1357", "1565", "1967", "996", "1775", "586", "736", "1052", "1670", "bank", "177", "1416", "2194", "2222", "1454", "1839", "1275", "53", "997", "1629", "6028", "smba", "1378", "1410", "05c", "1849", "727", "create", "1559", "536", "1106", "1310", "1944", "670", "1297", "1316", "1762", "en", "1148", "1295", "1551", "1853", "1890", "1208", "1784", "7200", "05f", "178", "1283", "1332", "381", "643", "1056", "1238", "2024", "2387", "179", "981", "1547", "1705", "05e", "290", "903", "1069", "1285", "2436", "062", "251", "560", "582", "719", "56", "1700", "2321", "325", "448", "613", "777", "791", "51", "488", "902", "Asia/Almaty", "is_hidden", "1398", "1527", "1893", "1999", "2367", "2642", "237", "busy", "065", "067", "233", "590", "993", "1511", "54", "723", "860", "363", "487", "522", "605", "995", "1321", "1691", "1865", "2447", "2462", "NON_TRANSACTIONAL", "433", "871", "432", "1004", "1207", "2032", "2050", "2379", "2446", "279", "636", "703", "904", "248", "370", "691", "700", "1068", "1655", "2334", "060", "063", "364", "533", "534", "567", "1191", "1210", "1473", "1827", "069", "701", "2531", "514", "prev_dhash", "064", "496", "790", "1046", "1139", "1505", "1521", "1108", "207", "544", "637", "final", "1173", "1293", "1694", "1939", "1951", "1993", "2353", "2515", "504", "601", "857", "modify", "spam_request", "p_121_aa_1101_test4", "866", "1427", "1502", "1638", "1744", "2153", "068", "382", "725", "1704", "1864", "1990", "2003", "Asia/Dubai", "508", "531", "1387", "1474", "1632", "2307", "2386", "819", "2014", "066", "387", "1468", "1706", "2186", "2261", "471", "728", "1147", "1372", "1961"}, } ) // DictVersion is the version number of the token lists above. // It's sent when connecting to the websocket so the server knows which tokens are supported. -const DictVersion = 2 +const DictVersion = 3 type doubleByteTokenIndex struct { dictionary byte @@ -74,6 +74,8 @@ const ( Dictionary1 = 237 Dictionary2 = 238 Dictionary3 = 239 + InteropJID = 245 + FBJID = 246 ADJID = 247 List8 = 248 List16 = 249 diff --git a/vendor/go.mau.fi/whatsmeow/call.go b/vendor/go.mau.fi/whatsmeow/call.go index f4de9bd8..7a6ffcb2 100644 --- a/vendor/go.mau.fi/whatsmeow/call.go +++ b/vendor/go.mau.fi/whatsmeow/call.go @@ -59,6 +59,24 @@ func (cli *Client) handleCallEvent(node *waBinary.Node) { }, Data: &child, }) + case "preaccept": + cli.dispatchEvent(&events.CallPreAccept{ + BasicCallMeta: basicMeta, + CallRemoteMeta: types.CallRemoteMeta{ + RemotePlatform: ag.String("platform"), + RemoteVersion: ag.String("version"), + }, + Data: &child, + }) + case "transport": + cli.dispatchEvent(&events.CallTransport{ + BasicCallMeta: basicMeta, + CallRemoteMeta: types.CallRemoteMeta{ + RemotePlatform: ag.String("platform"), + RemoteVersion: ag.String("version"), + }, + Data: &child, + }) case "terminate": cli.dispatchEvent(&events.CallTerminate{ BasicCallMeta: basicMeta, diff --git a/vendor/go.mau.fi/whatsmeow/client.go b/vendor/go.mau.fi/whatsmeow/client.go index ebaf90cc..101a2501 100644 --- a/vendor/go.mau.fi/whatsmeow/client.go +++ b/vendor/go.mau.fi/whatsmeow/client.go @@ -19,6 +19,10 @@ import ( "sync/atomic" "time" + "github.com/gorilla/websocket" + "go.mau.fi/util/random" + "golang.org/x/net/proxy" + "go.mau.fi/whatsmeow/appstate" waBinary "go.mau.fi/whatsmeow/binary" waProto "go.mau.fi/whatsmeow/binary/proto" @@ -28,7 +32,6 @@ import ( "go.mau.fi/whatsmeow/types/events" "go.mau.fi/whatsmeow/util/keys" waLog "go.mau.fi/whatsmeow/util/log" - "go.mau.fi/whatsmeow/util/randbytes" ) // EventHandler is a function that can handle events from WhatsApp. @@ -42,6 +45,11 @@ type wrappedEventHandler struct { id uint32 } +type deviceCache struct { + devices []types.JID + dhash string +} + // Client contains everything necessary to connect to and interact with the WhatsApp web API. type Client struct { Store *store.Device @@ -53,13 +61,16 @@ type Client struct { socketLock sync.RWMutex socketWait chan struct{} - isLoggedIn uint32 - expectedDisconnectVal uint32 + isLoggedIn atomic.Bool + expectedDisconnect atomic.Bool EnableAutoReconnect bool LastSuccessfulConnect time.Time AutoReconnectErrors int + // AutoReconnectHook is called when auto-reconnection fails. If the function returns false, + // the client will not attempt to reconnect. The number of retries can be read from AutoReconnectErrors. + AutoReconnectHook func(error) bool - sendActiveReceipts uint32 + sendActiveReceipts atomic.Uint32 // EmitAppStateEventsOnFullSync can be set to true if you want to get app state events emitted // even when re-syncing the whole state. @@ -73,7 +84,7 @@ type Client struct { appStateSyncLock sync.Mutex historySyncNotifications chan *waProto.HistorySyncNotification - historySyncHandlerStarted uint32 + historySyncHandlerStarted atomic.Bool uploadPreKeysLock sync.Mutex lastPreKeyUpload time.Time @@ -92,6 +103,9 @@ type Client struct { messageRetries map[string]int messageRetriesLock sync.Mutex + incomingRetryRequestCounter map[incomingRetryKey]int + incomingRetryRequestCounterLock sync.Mutex + appStateKeyRequests map[string]time.Time appStateKeyRequestsLock sync.RWMutex @@ -101,10 +115,10 @@ type Client struct { groupParticipantsCache map[types.JID][]types.JID groupParticipantsCacheLock sync.Mutex - userDevicesCache map[types.JID][]types.JID + userDevicesCache map[types.JID]deviceCache userDevicesCacheLock sync.Mutex - recentMessagesMap map[recentMessageKey]*waProto.Message + recentMessagesMap map[recentMessageKey]RecentMessage recentMessagesList [recentMessagesSize]recentMessageKey recentMessagesPtr int recentMessagesLock sync.RWMutex @@ -122,6 +136,10 @@ type Client struct { // the client will disconnect. PrePairCallback func(jid types.JID, platform, businessName string) bool + // GetClientPayload is called to get the client payload for connecting to the server. + // This should NOT be used for WhatsApp (to change the OS name, update fields in store.BaseClientPayload directly). + GetClientPayload func() *waProto.ClientPayload + // Should untrusted identity errors be handled automatically? If true, the stored identity and existing signal // sessions will be removed on untrusted identity errors, and an events.IdentityChange will be dispatched. // If false, decrypting a message from untrusted devices will fail. @@ -137,10 +155,25 @@ type Client struct { phoneLinkingCache *phoneLinkingCache uniqueID string - idCounter uint32 + idCounter atomic.Uint64 - proxy socket.Proxy - http *http.Client + proxy Proxy + socksProxy proxy.Dialer + proxyOnlyLogin bool + http *http.Client + + // This field changes the client to act like a Messenger client instead of a WhatsApp one. + // + // Note that you cannot use a Messenger account just by setting this field, you must use a + // separate library for all the non-e2ee-related stuff like logging in. + // The library is currently embedded in mautrix-meta (https://github.com/mautrix/meta), but may be separated later. + MessengerConfig *MessengerConfig + RefreshCAT func() error +} + +type MessengerConfig struct { + UserAgent string + BaseURL string } // Size of buffer for the channel that all incoming XML nodes go through. @@ -167,7 +200,7 @@ func NewClient(deviceStore *store.Device, log waLog.Logger) *Client { if log == nil { log = waLog.Noop } - uniqueIDPrefix := randbytes.Make(2) + uniqueIDPrefix := random.Bytes(2) cli := &Client{ http: &http.Client{ Transport: (http.DefaultTransport.(*http.Transport)).Clone(), @@ -185,12 +218,14 @@ func NewClient(deviceStore *store.Device, log waLog.Logger) *Client { appStateProc: appstate.NewProcessor(deviceStore, log.Sub("AppState")), socketWait: make(chan struct{}), + incomingRetryRequestCounter: make(map[incomingRetryKey]int), + historySyncNotifications: make(chan *waProto.HistorySyncNotification, 32), groupParticipantsCache: make(map[types.JID][]types.JID), - userDevicesCache: make(map[types.JID][]types.JID), + userDevicesCache: make(map[types.JID]deviceCache), - recentMessagesMap: make(map[recentMessageKey]*waProto.Message, recentMessagesSize), + recentMessagesMap: make(map[recentMessageKey]RecentMessage, recentMessagesSize), sessionRecreateHistory: make(map[types.JID]time.Time), GetMessageForRetry: func(requester, to types.JID, id types.MessageID) *waProto.Message { return nil }, appStateKeyRequests: make(map[string]time.Time), @@ -218,19 +253,35 @@ func NewClient(deviceStore *store.Device, log waLog.Logger) *Client { return cli } -// SetProxyAddress is a helper method that parses a URL string and calls SetProxy. +// SetProxyAddress is a helper method that parses a URL string and calls SetProxy or SetSOCKSProxy based on the URL scheme. // // Returns an error if url.Parse fails to parse the given address. -func (cli *Client) SetProxyAddress(addr string) error { +func (cli *Client) SetProxyAddress(addr string, opts ...SetProxyOptions) error { + if addr == "" { + cli.SetProxy(nil, opts...) + return nil + } parsed, err := url.Parse(addr) if err != nil { return err } - cli.SetProxy(http.ProxyURL(parsed)) + if parsed.Scheme == "http" || parsed.Scheme == "https" { + cli.SetProxy(http.ProxyURL(parsed), opts...) + } else if parsed.Scheme == "socks5" { + px, err := proxy.FromURL(parsed, proxy.Direct) + if err != nil { + return err + } + cli.SetSOCKSProxy(px, opts...) + } else { + return fmt.Errorf("unsupported proxy scheme %q", parsed.Scheme) + } return nil } -// SetProxy sets the proxy to use for WhatsApp web websocket connections and media uploads/downloads. +type Proxy = func(*http.Request) (*url.URL, error) + +// SetProxy sets a HTTP proxy to use for WhatsApp web websocket connections and media uploads/downloads. // // Must be called before Connect() to take effect in the websocket connection. // If you want to change the proxy after connecting, you must call Disconnect() and then Connect() again manually. @@ -250,9 +301,59 @@ func (cli *Client) SetProxyAddress(addr string) error { // return mediaProxyURL, nil // } // }) -func (cli *Client) SetProxy(proxy socket.Proxy) { - cli.proxy = proxy - cli.http.Transport.(*http.Transport).Proxy = proxy +func (cli *Client) SetProxy(proxy Proxy, opts ...SetProxyOptions) { + var opt SetProxyOptions + if len(opts) > 0 { + opt = opts[0] + } + if !opt.NoWebsocket { + cli.proxy = proxy + cli.socksProxy = nil + } + if !opt.NoMedia { + transport := cli.http.Transport.(*http.Transport) + transport.Proxy = proxy + transport.Dial = nil + transport.DialContext = nil + } +} + +type SetProxyOptions struct { + // If NoWebsocket is true, the proxy won't be used for the websocket + NoWebsocket bool + // If NoMedia is true, the proxy won't be used for media uploads/downloads + NoMedia bool +} + +// SetSOCKSProxy sets a SOCKS5 proxy to use for WhatsApp web websocket connections and media uploads/downloads. +// +// Same details as SetProxy apply, but using a different proxy for the websocket and media is not currently supported. +func (cli *Client) SetSOCKSProxy(px proxy.Dialer, opts ...SetProxyOptions) { + var opt SetProxyOptions + if len(opts) > 0 { + opt = opts[0] + } + if !opt.NoWebsocket { + cli.socksProxy = px + cli.proxy = nil + } + if !opt.NoMedia { + transport := cli.http.Transport.(*http.Transport) + transport.Proxy = nil + transport.Dial = cli.socksProxy.Dial + contextDialer, ok := cli.socksProxy.(proxy.ContextDialer) + if ok { + transport.DialContext = contextDialer.DialContext + } else { + transport.DialContext = nil + } + } +} + +// ToggleProxyOnlyForLogin changes whether the proxy set with SetProxy or related methods +// is only used for the pre-login websocket and not authenticated websockets. +func (cli *Client) ToggleProxyOnlyForLogin(only bool) { + cli.proxyOnlyLogin = only } func (cli *Client) getSocketWaitChan() <-chan struct{} { @@ -308,7 +409,27 @@ func (cli *Client) Connect() error { } cli.resetExpectedDisconnect() - fs := socket.NewFrameSocket(cli.Log.Sub("Socket"), socket.WAConnHeader, cli.proxy) + wsDialer := websocket.Dialer{} + if !cli.proxyOnlyLogin || cli.Store.ID == nil { + if cli.proxy != nil { + wsDialer.Proxy = cli.proxy + } else if cli.socksProxy != nil { + wsDialer.NetDial = cli.socksProxy.Dial + contextDialer, ok := cli.socksProxy.(proxy.ContextDialer) + if ok { + wsDialer.NetDialContext = contextDialer.DialContext + } + } + } + fs := socket.NewFrameSocket(cli.Log.Sub("Socket"), wsDialer) + if cli.MessengerConfig != nil { + fs.URL = "wss://web-chat-e2ee.facebook.com/ws/chat" + fs.HTTPHeaders.Set("Origin", cli.MessengerConfig.BaseURL) + fs.HTTPHeaders.Set("User-Agent", cli.MessengerConfig.UserAgent) + fs.HTTPHeaders.Set("Sec-Fetch-Dest", "empty") + fs.HTTPHeaders.Set("Sec-Fetch-Mode", "websocket") + fs.HTTPHeaders.Set("Sec-Fetch-Site", "cross-site") + } if err := fs.Connect(); err != nil { fs.Close(0) return err @@ -323,7 +444,7 @@ func (cli *Client) Connect() error { // IsLoggedIn returns true after the client is successfully connected and authenticated on WhatsApp. func (cli *Client) IsLoggedIn() bool { - return atomic.LoadUint32(&cli.isLoggedIn) == 1 + return cli.isLoggedIn.Load() } func (cli *Client) onDisconnect(ns *socket.NoiseSocket, remote bool) { @@ -348,15 +469,15 @@ func (cli *Client) onDisconnect(ns *socket.NoiseSocket, remote bool) { } func (cli *Client) expectDisconnect() { - atomic.StoreUint32(&cli.expectedDisconnectVal, 1) + cli.expectedDisconnect.Store(true) } func (cli *Client) resetExpectedDisconnect() { - atomic.StoreUint32(&cli.expectedDisconnectVal, 0) + cli.expectedDisconnect.Store(false) } func (cli *Client) isExpectedDisconnect() bool { - return atomic.LoadUint32(&cli.expectedDisconnectVal) == 1 + return cli.expectedDisconnect.Load() } func (cli *Client) autoReconnect() { @@ -374,6 +495,10 @@ func (cli *Client) autoReconnect() { return } else if err != nil { cli.Log.Errorf("Error reconnecting after autoreconnect sleep: %v", err) + if cli.AutoReconnectHook != nil && !cli.AutoReconnectHook(err) { + cli.Log.Debugf("AutoReconnectHook returned false, not reconnecting") + return + } } else { return } @@ -419,6 +544,9 @@ func (cli *Client) unlockedDisconnect() { // Note that this will not emit any events. The LoggedOut event is only used for external logouts // (triggered by the user from the main device or by WhatsApp servers). func (cli *Client) Logout() error { + if cli.MessengerConfig != nil { + return errors.New("can't logout with Messenger credentials") + } ownID := cli.getOwnID() if ownID.IsEmpty() { return ErrNotLoggedIn @@ -667,7 +795,7 @@ func (cli *Client) ParseWebMessage(chatJID types.JID, webMsg *waProto.WebMessage if info.Sender.IsEmpty() { return nil, ErrNotLoggedIn } - } else if chatJID.Server == types.DefaultUserServer { + } else if chatJID.Server == types.DefaultUserServer || chatJID.Server == types.NewsletterServer { info.Sender = chatJID } else if webMsg.GetParticipant() != "" { info.Sender, err = types.ParseJID(webMsg.GetParticipant()) diff --git a/vendor/go.mau.fi/whatsmeow/client_test.go b/vendor/go.mau.fi/whatsmeow/client_test.go new file mode 100644 index 00000000..c7b1b0a8 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/client_test.go @@ -0,0 +1,76 @@ +// Copyright (c) 2021 Tulir Asokan +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + +package whatsmeow_test + +import ( + "context" + "fmt" + "os" + "os/signal" + "syscall" + + "go.mau.fi/whatsmeow" + "go.mau.fi/whatsmeow/store/sqlstore" + "go.mau.fi/whatsmeow/types/events" + waLog "go.mau.fi/whatsmeow/util/log" +) + +func eventHandler(evt interface{}) { + switch v := evt.(type) { + case *events.Message: + fmt.Println("Received a message!", v.Message.GetConversation()) + } +} + +func Example() { + dbLog := waLog.Stdout("Database", "DEBUG", true) + // Make sure you add appropriate DB connector imports, e.g. github.com/mattn/go-sqlite3 for SQLite + container, err := sqlstore.New("sqlite3", "file:examplestore.db?_foreign_keys=on", dbLog) + if err != nil { + panic(err) + } + // If you want multiple sessions, remember their JIDs and use .GetDevice(jid) or .GetAllDevices() instead. + deviceStore, err := container.GetFirstDevice() + if err != nil { + panic(err) + } + clientLog := waLog.Stdout("Client", "DEBUG", true) + client := whatsmeow.NewClient(deviceStore, clientLog) + client.AddEventHandler(eventHandler) + + if client.Store.ID == nil { + // No ID stored, new login + qrChan, _ := client.GetQRChannel(context.Background()) + err = client.Connect() + if err != nil { + panic(err) + } + for evt := range qrChan { + if evt.Event == "code" { + // Render the QR code here + // e.g. qrterminal.GenerateHalfBlock(evt.Code, qrterminal.L, os.Stdout) + // or just manually `echo 2@... | qrencode -t ansiutf8` in a terminal + fmt.Println("QR code:", evt.Code) + } else { + fmt.Println("Login event:", evt.Event) + } + } + } else { + // Already logged in, just connect + err = client.Connect() + if err != nil { + panic(err) + } + } + + // Listen to Ctrl+C (you can also do something else that prevents the program from exiting) + c := make(chan os.Signal, 1) + signal.Notify(c, os.Interrupt, syscall.SIGTERM) + <-c + + client.Disconnect() +} diff --git a/vendor/go.mau.fi/whatsmeow/connectionevents.go b/vendor/go.mau.fi/whatsmeow/connectionevents.go index c20fe42a..881c6d70 100644 --- a/vendor/go.mau.fi/whatsmeow/connectionevents.go +++ b/vendor/go.mau.fi/whatsmeow/connectionevents.go @@ -7,7 +7,6 @@ package whatsmeow import ( - "sync/atomic" "time" waBinary "go.mau.fi/whatsmeow/binary" @@ -17,7 +16,7 @@ import ( ) func (cli *Client) handleStreamError(node *waBinary.Node) { - atomic.StoreUint32(&cli.isLoggedIn, 0) + cli.isLoggedIn.Store(false) cli.clearResponseWaiters(node) code, _ := node.Attrs["code"].(string) conflict, _ := node.GetOptionalChildByTag("conflict") @@ -48,6 +47,16 @@ func (cli *Client) handleStreamError(node *waBinary.Node) { // This seems to happen when the server wants to restart or something. // The disconnection will be emitted as an events.Disconnected and then the auto-reconnect will do its thing. cli.Log.Warnf("Got 503 stream error, assuming automatic reconnect will handle it") + case cli.RefreshCAT != nil && (code == events.ConnectFailureCATInvalid.NumberString() || code == events.ConnectFailureCATExpired.NumberString()): + cli.Log.Infof("Got %s stream error, refreshing CAT before reconnecting...", code) + cli.socketLock.RLock() + defer cli.socketLock.RUnlock() + err := cli.RefreshCAT() + if err != nil { + cli.Log.Errorf("Failed to refresh CAT: %v", err) + cli.expectDisconnect() + go cli.dispatchEvent(&events.CATRefreshError{Error: err}) + } default: cli.Log.Errorf("Unknown stream error: %s", node.XMLString()) go cli.dispatchEvent(&events.StreamError{Code: code, Raw: node}) @@ -89,9 +98,20 @@ func (cli *Client) handleConnectFailure(node *waBinary.Node) { willAutoReconnect = false case reason == events.ConnectFailureServiceUnavailable: // Auto-reconnect for 503s + case reason == events.ConnectFailureCATInvalid || reason == events.ConnectFailureCATExpired: + // Auto-reconnect when rotating CAT, lock socket to ensure refresh goes through before reconnect + cli.socketLock.RLock() + defer cli.socketLock.RUnlock() case reason == 500 && message == "biz vname fetch error": // These happen for business accounts randomly, also auto-reconnect } + if reason == 403 { + cli.Log.Debugf( + "Message for 403 connect failure: %s / %s", + ag.OptionalString("logout_message_header"), + ag.OptionalString("logout_message_subtext"), + ) + } if reason.IsLoggedOut() { cli.Log.Infof("Got %s connect failure, sending LoggedOut event and deleting session", reason) go cli.dispatchEvent(&events.LoggedOut{OnConnect: true, Reason: reason}) @@ -108,6 +128,14 @@ func (cli *Client) handleConnectFailure(node *waBinary.Node) { } else if reason == events.ConnectFailureClientOutdated { cli.Log.Errorf("Client outdated (405) connect failure (client version: %s)", store.GetWAVersion().String()) go cli.dispatchEvent(&events.ClientOutdated{}) + } else if reason == events.ConnectFailureCATInvalid || reason == events.ConnectFailureCATExpired { + cli.Log.Infof("Got %d/%s connect failure, refreshing CAT before reconnecting...", int(reason), message) + err := cli.RefreshCAT() + if err != nil { + cli.Log.Errorf("Failed to refresh CAT: %v", err) + cli.expectDisconnect() + go cli.dispatchEvent(&events.CATRefreshError{Error: err}) + } } else if willAutoReconnect { cli.Log.Warnf("Got %d/%s connect failure, assuming automatic reconnect will handle it", int(reason), message) } else { @@ -120,7 +148,7 @@ func (cli *Client) handleConnectSuccess(node *waBinary.Node) { cli.Log.Infof("Successfully authenticated") cli.LastSuccessfulConnect = time.Now() cli.AutoReconnectErrors = 0 - atomic.StoreUint32(&cli.isLoggedIn, 1) + cli.isLoggedIn.Store(true) go func() { if dbCount, err := cli.Store.PreKeys.UploadedPreKeyCount(); err != nil { cli.Log.Errorf("Failed to get number of prekeys in database: %v", err) diff --git a/vendor/go.mau.fi/whatsmeow/download.go b/vendor/go.mau.fi/whatsmeow/download.go index 3e510be6..b4cdb3d4 100644 --- a/vendor/go.mau.fi/whatsmeow/download.go +++ b/vendor/go.mau.fi/whatsmeow/download.go @@ -10,6 +10,7 @@ import ( "crypto/hmac" "crypto/sha256" "encoding/base64" + "errors" "fmt" "io" "net" @@ -17,9 +18,11 @@ import ( "strings" "time" + "go.mau.fi/util/retryafter" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" + "go.mau.fi/whatsmeow/binary/armadillo/waMediaTransport" waProto "go.mau.fi/whatsmeow/binary/proto" "go.mau.fi/whatsmeow/socket" "go.mau.fi/whatsmeow/util/cbcutil" @@ -208,6 +211,10 @@ func (cli *Client) Download(msg DownloadableMessage) ([]byte, error) { } } +func (cli *Client) DownloadFB(transport *waMediaTransport.WAMediaTransport_Integral, mediaType MediaType) ([]byte, error) { + return cli.DownloadMediaWithPath(transport.GetDirectPath(), transport.GetFileEncSHA256(), transport.GetFileSHA256(), transport.GetMediaKey(), -1, mediaType, mediaTypeToMMSType[mediaType]) +} + // DownloadMediaWithPath downloads an attachment by manually specifying the path and encryption details. func (cli *Client) DownloadMediaWithPath(directPath string, encFileHash, fileHash, mediaKey []byte, fileLength int, mediaType MediaType, mmsType string) (data []byte, err error) { var mediaConn *MediaConn @@ -219,15 +226,16 @@ func (cli *Client) DownloadMediaWithPath(directPath string, encFileHash, fileHas mmsType = mediaTypeToMMSType[mediaType] } for i, host := range mediaConn.Hosts { + // TODO omit hash for unencrypted media? mediaURL := fmt.Sprintf("https://%s%s&hash=%s&mms-type=%s&__wa-mms=", host.Hostname, directPath, base64.URLEncoding.EncodeToString(encFileHash), mmsType) data, err = cli.downloadAndDecrypt(mediaURL, mediaKey, mediaType, fileLength, encFileHash, fileHash) - // TODO there are probably some errors that shouldn't retry - if err != nil { - if i >= len(mediaConn.Hosts)-1 { - return nil, fmt.Errorf("failed to download media from last host: %w", err) - } - cli.Log.Warnf("Failed to download media: %s, trying with next host...", err) + if err == nil { + return + } else if i >= len(mediaConn.Hosts)-1 { + return nil, fmt.Errorf("failed to download media from last host: %w", err) } + // TODO there are probably some errors that shouldn't retry + cli.Log.Warnf("Failed to download media: %s, trying with next host...", err) } return } @@ -235,8 +243,11 @@ func (cli *Client) DownloadMediaWithPath(directPath string, encFileHash, fileHas func (cli *Client) downloadAndDecrypt(url string, mediaKey []byte, appInfo MediaType, fileLength int, fileEncSha256, fileSha256 []byte) (data []byte, err error) { iv, cipherKey, macKey, _ := getMediaKeys(mediaKey, appInfo) var ciphertext, mac []byte - if ciphertext, mac, err = cli.downloadEncryptedMediaWithRetries(url, fileEncSha256); err != nil { + if ciphertext, mac, err = cli.downloadPossiblyEncryptedMediaWithRetries(url, fileEncSha256); err != nil { + } else if mediaKey == nil && fileEncSha256 == nil && mac == nil { + // Unencrypted media, just return the downloaded data + data = ciphertext } else if err = validateMedia(iv, ciphertext, macKey, mac); err != nil { } else if data, err = cbcutil.Decrypt(cipherKey, iv, ciphertext); err != nil { @@ -254,52 +265,59 @@ func getMediaKeys(mediaKey []byte, appInfo MediaType) (iv, cipherKey, macKey, re return mediaKeyExpanded[:16], mediaKeyExpanded[16:48], mediaKeyExpanded[48:80], mediaKeyExpanded[80:] } -func (cli *Client) downloadEncryptedMediaWithRetries(url string, checksum []byte) (file, mac []byte, err error) { +func shouldRetryMediaDownload(err error) bool { + var netErr net.Error + var httpErr DownloadHTTPError + return errors.As(err, &netErr) || + strings.HasPrefix(err.Error(), "stream error:") || // hacky check for http2 errors + (errors.As(err, &httpErr) && retryafter.Should(httpErr.StatusCode, true)) +} + +func (cli *Client) downloadPossiblyEncryptedMediaWithRetries(url string, checksum []byte) (file, mac []byte, err error) { for retryNum := 0; retryNum < 5; retryNum++ { - file, mac, err = cli.downloadEncryptedMedia(url, checksum) - if err == nil { + if checksum == nil { + file, err = cli.downloadMedia(url) + } else { + file, mac, err = cli.downloadEncryptedMedia(url, checksum) + } + if err == nil || !shouldRetryMediaDownload(err) { return } - netErr, ok := err.(net.Error) - if !ok { - // Not a network error, don't retry - return + retryDuration := time.Duration(retryNum+1) * time.Second + var httpErr DownloadHTTPError + if errors.As(err, &httpErr) { + retryDuration = retryafter.Parse(httpErr.Response.Header.Get("Retry-After"), retryDuration) } - cli.Log.Warnf("Failed to download media due to network error: %w, retrying...", netErr) - time.Sleep(time.Duration(retryNum+1) * time.Second) + cli.Log.Warnf("Failed to download media due to network error: %w, retrying in %s...", err, retryDuration) + time.Sleep(retryDuration) } return } -func (cli *Client) downloadEncryptedMedia(url string, checksum []byte) (file, mac []byte, err error) { - var req *http.Request - req, err = http.NewRequest(http.MethodGet, url, nil) +func (cli *Client) downloadMedia(url string) ([]byte, error) { + req, err := http.NewRequest(http.MethodGet, url, nil) if err != nil { - err = fmt.Errorf("failed to prepare request: %w", err) - return + return nil, fmt.Errorf("failed to prepare request: %w", err) } req.Header.Set("Origin", socket.Origin) req.Header.Set("Referer", socket.Origin+"/") - var resp *http.Response - resp, err = cli.http.Do(req) + if cli.MessengerConfig != nil { + req.Header.Set("User-Agent", cli.MessengerConfig.UserAgent) + } + // TODO user agent for whatsapp downloads? + resp, err := cli.http.Do(req) if err != nil { - return + return nil, err } defer resp.Body.Close() if resp.StatusCode != http.StatusOK { - if resp.StatusCode == http.StatusForbidden { - err = ErrMediaDownloadFailedWith403 - } else if resp.StatusCode == http.StatusNotFound { - err = ErrMediaDownloadFailedWith404 - } else if resp.StatusCode == http.StatusGone { - err = ErrMediaDownloadFailedWith410 - } else { - err = fmt.Errorf("download failed with status code %d", resp.StatusCode) - } - return + return nil, DownloadHTTPError{Response: resp} } - var data []byte - data, err = io.ReadAll(resp.Body) + return io.ReadAll(resp.Body) +} + +func (cli *Client) downloadEncryptedMedia(url string, checksum []byte) (file, mac []byte, err error) { + data, err := cli.downloadMedia(url) if err != nil { return } else if len(data) <= 10 { diff --git a/vendor/go.mau.fi/whatsmeow/errors.go b/vendor/go.mau.fi/whatsmeow/errors.go index a5182eef..27c2f318 100644 --- a/vendor/go.mau.fi/whatsmeow/errors.go +++ b/vendor/go.mau.fi/whatsmeow/errors.go @@ -9,6 +9,7 @@ package whatsmeow import ( "errors" "fmt" + "net/http" waBinary "go.mau.fi/whatsmeow/binary" ) @@ -103,15 +104,28 @@ var ( var ( ErrBroadcastListUnsupported = errors.New("sending to non-status broadcast lists is not yet supported") ErrUnknownServer = errors.New("can't send message to unknown server") - ErrRecipientADJID = errors.New("message recipient must be normal (non-AD) JID") + ErrRecipientADJID = errors.New("message recipient must be a user JID with no device part") ErrServerReturnedError = errors.New("server returned error") ) +type DownloadHTTPError struct { + *http.Response +} + +func (dhe DownloadHTTPError) Error() string { + return fmt.Sprintf("download failed with status code %d", dhe.StatusCode) +} + +func (dhe DownloadHTTPError) Is(other error) bool { + var otherDHE DownloadHTTPError + return errors.As(other, &otherDHE) && dhe.StatusCode == otherDHE.StatusCode +} + // Some errors that Client.Download can return var ( - ErrMediaDownloadFailedWith403 = errors.New("download failed with status code 403") - ErrMediaDownloadFailedWith404 = errors.New("download failed with status code 404") - ErrMediaDownloadFailedWith410 = errors.New("download failed with status code 410") + ErrMediaDownloadFailedWith403 = DownloadHTTPError{Response: &http.Response{StatusCode: 403}} + ErrMediaDownloadFailedWith404 = DownloadHTTPError{Response: &http.Response{StatusCode: 404}} + ErrMediaDownloadFailedWith410 = DownloadHTTPError{Response: &http.Response{StatusCode: 410}} ErrNoURLPresent = errors.New("no url present") ErrFileLengthMismatch = errors.New("file length does not match") ErrTooShortFile = errors.New("file too short") diff --git a/vendor/go.mau.fi/whatsmeow/go.mod b/vendor/go.mau.fi/whatsmeow/go.mod new file mode 100644 index 00000000..a6b946dc --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/go.mod @@ -0,0 +1,21 @@ +module go.mau.fi/whatsmeow + +go 1.21 + +require ( + github.com/google/uuid v1.6.0 + github.com/gorilla/websocket v1.5.0 + github.com/rs/zerolog v1.32.0 + go.mau.fi/libsignal v0.1.0 + go.mau.fi/util v0.4.1 + golang.org/x/crypto v0.23.0 + golang.org/x/net v0.25.0 + google.golang.org/protobuf v1.33.0 +) + +require ( + filippo.io/edwards25519 v1.0.0 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.19 // indirect + golang.org/x/sys v0.20.0 // indirect +) diff --git a/vendor/go.mau.fi/whatsmeow/go.sum b/vendor/go.mau.fi/whatsmeow/go.sum new file mode 100644 index 00000000..8b0fa6aa --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/go.sum @@ -0,0 +1,44 @@ +filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= +filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= +github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= +github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= +github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= +github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= +github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= +github.com/rs/zerolog v1.32.0 h1:keLypqrlIjaFsbmJOBdB/qvyF8KEtCWHwobLp5l/mQ0= +github.com/rs/zerolog v1.32.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +go.mau.fi/libsignal v0.1.0 h1:vAKI/nJ5tMhdzke4cTK1fb0idJzz1JuEIpmjprueC+c= +go.mau.fi/libsignal v0.1.0/go.mod h1:R8ovrTezxtUNzCQE5PH30StOQWWeBskBsWE55vMfY9I= +go.mau.fi/util v0.4.1 h1:3EC9KxIXo5+h869zDGf5OOZklRd/FjeVnimTwtm3owg= +go.mau.fi/util v0.4.1/go.mod h1:GjkTEBsehYZbSh2LlE6cWEn+6ZIZTGrTMM/5DMNlmFY= +golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= +golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= +golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= +golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= +google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/vendor/go.mau.fi/whatsmeow/group.go b/vendor/go.mau.fi/whatsmeow/group.go index c8f80560..199493c8 100644 --- a/vendor/go.mau.fi/whatsmeow/group.go +++ b/vendor/go.mau.fi/whatsmeow/group.go @@ -148,30 +148,93 @@ const ( ) // UpdateGroupParticipants can be used to add, remove, promote and demote members in a WhatsApp group. -func (cli *Client) UpdateGroupParticipants(jid types.JID, participantChanges map[types.JID]ParticipantChange) (*waBinary.Node, error) { +func (cli *Client) UpdateGroupParticipants(jid types.JID, participantChanges []types.JID, action ParticipantChange) ([]types.GroupParticipant, error) { content := make([]waBinary.Node, len(participantChanges)) - i := 0 - for participantJID, change := range participantChanges { + for i, participantJID := range participantChanges { content[i] = waBinary.Node{ - Tag: string(change), - Content: []waBinary.Node{{ - Tag: "participant", - Attrs: waBinary.Attrs{"jid": participantJID}, - }}, + Tag: "participant", + Attrs: waBinary.Attrs{"jid": participantJID}, } - i++ } - resp, err := cli.sendIQ(infoQuery{ - Namespace: "w:g2", - Type: iqSet, - To: jid, - Content: content, + resp, err := cli.sendGroupIQ(context.TODO(), iqSet, jid, waBinary.Node{ + Tag: string(action), + Content: content, }) if err != nil { return nil, err } - // TODO proper return value? - return resp, nil + requestAction, ok := resp.GetOptionalChildByTag(string(action)) + if !ok { + return nil, &ElementMissingError{Tag: string(action), In: "response to group participants update"} + } + requestParticipants := requestAction.GetChildrenByTag("participant") + participants := make([]types.GroupParticipant, len(requestParticipants)) + for i, child := range requestParticipants { + participants[i] = parseParticipant(child.AttrGetter(), &child) + } + return participants, nil +} + +// GetGroupRequestParticipants gets the list of participants that have requested to join the group. +func (cli *Client) GetGroupRequestParticipants(jid types.JID) ([]types.JID, error) { + resp, err := cli.sendGroupIQ(context.TODO(), iqGet, jid, waBinary.Node{ + Tag: "membership_approval_requests", + }) + if err != nil { + return nil, err + } + request, ok := resp.GetOptionalChildByTag("membership_approval_requests") + if !ok { + return nil, &ElementMissingError{Tag: "membership_approval_requests", In: "response to group request participants query"} + } + requestParticipants := request.GetChildrenByTag("membership_approval_request") + participants := make([]types.JID, len(requestParticipants)) + for i, req := range requestParticipants { + participants[i] = req.AttrGetter().JID("jid") + } + return participants, nil +} + +type ParticipantRequestChange string + +const ( + ParticipantChangeApprove ParticipantRequestChange = "approve" + ParticipantChangeReject ParticipantRequestChange = "reject" +) + +// UpdateGroupRequestParticipants can be used to approve or reject requests to join the group. +func (cli *Client) UpdateGroupRequestParticipants(jid types.JID, participantChanges []types.JID, action ParticipantRequestChange) ([]types.GroupParticipant, error) { + content := make([]waBinary.Node, len(participantChanges)) + for i, participantJID := range participantChanges { + content[i] = waBinary.Node{ + Tag: "participant", + Attrs: waBinary.Attrs{"jid": participantJID}, + } + } + resp, err := cli.sendGroupIQ(context.TODO(), iqSet, jid, waBinary.Node{ + Tag: "membership_requests_action", + Content: []waBinary.Node{{ + Tag: string(action), + Content: content, + }}, + }) + if err != nil { + return nil, err + } + request, ok := resp.GetOptionalChildByTag("membership_requests_action") + if !ok { + return nil, &ElementMissingError{Tag: "membership_requests_action", In: "response to group request participants update"} + } + requestAction, ok := request.GetOptionalChildByTag(string(action)) + if !ok { + return nil, &ElementMissingError{Tag: string(action), In: "response to group request participants update"} + } + requestParticipants := requestAction.GetChildrenByTag("participant") + participants := make([]types.GroupParticipant, len(requestParticipants)) + for i, child := range requestParticipants { + participants[i] = parseParticipant(child.AttrGetter(), &child) + } + return participants, nil } // SetGroupPhoto updates the group picture/icon of the given group on WhatsApp. @@ -501,6 +564,33 @@ func (cli *Client) getGroupMembers(ctx context.Context, jid types.JID) ([]types. return cli.groupParticipantsCache[jid], nil } +func parseParticipant(childAG *waBinary.AttrUtility, child *waBinary.Node) types.GroupParticipant { + pcpType := childAG.OptionalString("type") + participant := types.GroupParticipant{ + IsAdmin: pcpType == "admin" || pcpType == "superadmin", + IsSuperAdmin: pcpType == "superadmin", + JID: childAG.JID("jid"), + LID: childAG.OptionalJIDOrEmpty("lid"), + DisplayName: childAG.OptionalString("display_name"), + } + if participant.JID.Server == types.HiddenUserServer && participant.LID.IsEmpty() { + participant.LID = participant.JID + //participant.JID = types.EmptyJID + } + if errorCode := childAG.OptionalInt("error"); errorCode != 0 { + participant.Error = errorCode + addRequest, ok := child.GetOptionalChildByTag("add_request") + if ok { + addAG := addRequest.AttrGetter() + participant.AddRequest = &types.GroupParticipantAddRequest{ + Code: addAG.String("code"), + Expiration: addAG.UnixTime("expiration"), + } + } + } + return participant +} + func (cli *Client) parseGroupNode(groupNode *waBinary.Node) (*types.GroupInfo, error) { var group types.GroupInfo ag := groupNode.AttrGetter() @@ -521,24 +611,7 @@ func (cli *Client) parseGroupNode(groupNode *waBinary.Node) (*types.GroupInfo, e childAG := child.AttrGetter() switch child.Tag { case "participant": - pcpType := childAG.OptionalString("type") - participant := types.GroupParticipant{ - IsAdmin: pcpType == "admin" || pcpType == "superadmin", - IsSuperAdmin: pcpType == "superadmin", - JID: childAG.JID("jid"), - } - if errorCode := childAG.OptionalInt("error"); errorCode != 0 { - participant.Error = errorCode - addRequest, ok := child.GetOptionalChildByTag("add_request") - if ok { - addAG := addRequest.AttrGetter() - participant.AddRequest = &types.GroupParticipantAddRequest{ - Code: addAG.String("code"), - Expiration: addAG.UnixTime("expiration"), - } - } - } - group.Participants = append(group.Participants, participant) + group.Participants = append(group.Participants, parseParticipant(childAG, &child)) case "description": body, bodyOK := child.GetOptionalChildByTag("body") if bodyOK { @@ -565,6 +638,9 @@ func (cli *Client) parseGroupNode(groupNode *waBinary.Node) (*types.GroupInfo, e case "parent": group.IsParent = true group.DefaultMembershipApprovalMode = childAG.OptionalString("default_membership_approval_mode") + case "incognito": + group.IsIncognito = true + // TODO: membership_approval_mode default: cli.Log.Debugf("Unknown element in group node %s: %s", group.JID.String(), child.XMLString()) } diff --git a/vendor/go.mau.fi/whatsmeow/handshake.go b/vendor/go.mau.fi/whatsmeow/handshake.go index dbfe9d99..d6c26a50 100644 --- a/vendor/go.mau.fi/whatsmeow/handshake.go +++ b/vendor/go.mau.fi/whatsmeow/handshake.go @@ -11,6 +11,7 @@ import ( "fmt" "time" + "go.mau.fi/libsignal/ecc" "google.golang.org/protobuf/proto" waProto "go.mau.fi/whatsmeow/binary/proto" @@ -19,6 +20,9 @@ import ( ) const NoiseHandshakeResponseTimeout = 20 * time.Second +const WACertIssuerSerial = 0 + +var WACertPubKey = [...]byte{0x14, 0x23, 0x75, 0x57, 0x4d, 0xa, 0x58, 0x71, 0x66, 0xaa, 0xe7, 0x1e, 0xbe, 0x51, 0x64, 0x37, 0xc4, 0xa2, 0x8b, 0x73, 0xe3, 0x69, 0x5c, 0x6c, 0xe1, 0xf7, 0xf9, 0x54, 0x5d, 0xa8, 0xee, 0x6b} // doHandshake implements the Noise_XX_25519_AESGCM_SHA256 handshake for the WhatsApp web API. func (cli *Client) doHandshake(fs *socket.FrameSocket, ephemeralKP keys.KeyPair) error { @@ -76,23 +80,8 @@ func (cli *Client) doHandshake(fs *socket.FrameSocket, ephemeralKP keys.KeyPair) certDecrypted, err := nh.Decrypt(certificateCiphertext) if err != nil { return fmt.Errorf("failed to decrypt noise certificate ciphertext: %w", err) - } - var cert waProto.NoiseCertificate - err = proto.Unmarshal(certDecrypted, &cert) - if err != nil { - return fmt.Errorf("failed to unmarshal noise certificate: %w", err) - } - certDetailsRaw := cert.GetDetails() - certSignature := cert.GetSignature() - if certDetailsRaw == nil || certSignature == nil { - return fmt.Errorf("missing parts of noise certificate") - } - var certDetails waProto.NoiseCertificate_Details - err = proto.Unmarshal(certDetailsRaw, &certDetails) - if err != nil { - return fmt.Errorf("failed to unmarshal noise certificate details: %w", err) - } else if !bytes.Equal(certDetails.GetKey(), staticDecrypted) { - return fmt.Errorf("cert key doesn't match decrypted static") + } else if err = verifyServerCert(certDecrypted, staticDecrypted); err != nil { + return fmt.Errorf("failed to verify server cert: %w", err) } encryptedPubkey := nh.Encrypt(cli.Store.NoiseKey.Pub[:]) @@ -101,7 +90,14 @@ func (cli *Client) doHandshake(fs *socket.FrameSocket, ephemeralKP keys.KeyPair) return fmt.Errorf("failed to mix noise private key in: %w", err) } - clientFinishPayloadBytes, err := proto.Marshal(cli.Store.GetClientPayload()) + var clientPayload *waProto.ClientPayload + if cli.GetClientPayload != nil { + clientPayload = cli.GetClientPayload() + } else { + clientPayload = cli.Store.GetClientPayload() + } + + clientFinishPayloadBytes, err := proto.Marshal(clientPayload) if err != nil { return fmt.Errorf("failed to marshal client finish payload: %w", err) } @@ -129,3 +125,40 @@ func (cli *Client) doHandshake(fs *socket.FrameSocket, ephemeralKP keys.KeyPair) return nil } + +func verifyServerCert(certDecrypted, staticDecrypted []byte) error { + var certChain waProto.CertChain + err := proto.Unmarshal(certDecrypted, &certChain) + if err != nil { + return fmt.Errorf("failed to unmarshal noise certificate: %w", err) + } + var intermediateCertDetails, leafCertDetails waProto.CertChain_NoiseCertificate_Details + intermediateCertDetailsRaw := certChain.GetIntermediate().GetDetails() + intermediateCertSignature := certChain.GetIntermediate().GetSignature() + leafCertDetailsRaw := certChain.GetLeaf().GetDetails() + leafCertSignature := certChain.GetLeaf().GetSignature() + if intermediateCertDetailsRaw == nil || intermediateCertSignature == nil || leafCertDetailsRaw == nil || leafCertSignature == nil { + return fmt.Errorf("missing parts of noise certificate") + } else if len(intermediateCertSignature) != 64 { + return fmt.Errorf("unexpected length of intermediate cert signature %d (expected 64)", len(intermediateCertSignature)) + } else if len(leafCertSignature) != 64 { + return fmt.Errorf("unexpected length of leaf cert signature %d (expected 64)", len(leafCertSignature)) + } else if !ecc.VerifySignature(ecc.NewDjbECPublicKey(WACertPubKey), intermediateCertDetailsRaw, [64]byte(intermediateCertSignature)) { + return fmt.Errorf("failed to verify intermediate cert signature") + } else if err = proto.Unmarshal(intermediateCertDetailsRaw, &intermediateCertDetails); err != nil { + return fmt.Errorf("failed to unmarshal noise certificate details: %w", err) + } else if intermediateCertDetails.GetIssuerSerial() != WACertIssuerSerial { + return fmt.Errorf("unexpected intermediate issuer serial %d (expected %d)", intermediateCertDetails.GetIssuerSerial(), WACertIssuerSerial) + } else if len(intermediateCertDetails.GetKey()) != 32 { + return fmt.Errorf("unexpected length of intermediate cert key %d (expected 32)", len(intermediateCertDetails.GetKey())) + } else if !ecc.VerifySignature(ecc.NewDjbECPublicKey([32]byte(intermediateCertDetails.GetKey())), leafCertDetailsRaw, [64]byte(leafCertSignature)) { + return fmt.Errorf("failed to verify intermediate cert signature") + } else if err = proto.Unmarshal(leafCertDetailsRaw, &leafCertDetails); err != nil { + return fmt.Errorf("failed to unmarshal noise certificate details: %w", err) + } else if leafCertDetails.GetIssuerSerial() != intermediateCertDetails.GetSerial() { + return fmt.Errorf("unexpected leaf issuer serial %d (expected %d)", leafCertDetails.GetIssuerSerial(), intermediateCertDetails.GetSerial()) + } else if !bytes.Equal(leafCertDetails.GetKey(), staticDecrypted) { + return fmt.Errorf("cert key doesn't match decrypted static") + } + return nil +} diff --git a/vendor/go.mau.fi/whatsmeow/internals.go b/vendor/go.mau.fi/whatsmeow/internals.go index 8227b0ce..126eb938 100644 --- a/vendor/go.mau.fi/whatsmeow/internals.go +++ b/vendor/go.mau.fi/whatsmeow/internals.go @@ -9,6 +9,8 @@ package whatsmeow import ( "context" + "go.mau.fi/libsignal/keys/prekey" + waBinary "go.mau.fi/whatsmeow/binary" "go.mau.fi/whatsmeow/types" ) @@ -66,3 +68,19 @@ func (int *DangerousInternalClient) RequestAppStateKeys(ctx context.Context, key func (int *DangerousInternalClient) SendRetryReceipt(node *waBinary.Node, info *types.MessageInfo, forceIncludeIdentity bool) { int.c.sendRetryReceipt(node, info, forceIncludeIdentity) } + +func (int *DangerousInternalClient) EncryptMessageForDevice(plaintext []byte, to types.JID, bundle *prekey.Bundle, extraAttrs waBinary.Attrs) (*waBinary.Node, bool, error) { + return int.c.encryptMessageForDevice(plaintext, to, bundle, extraAttrs) +} + +func (int *DangerousInternalClient) GetOwnID() types.JID { + return int.c.getOwnID() +} + +func (int *DangerousInternalClient) DecryptDM(child *waBinary.Node, from types.JID, isPreKey bool) ([]byte, error) { + return int.c.decryptDM(child, from, isPreKey) +} + +func (int *DangerousInternalClient) MakeDeviceIdentityNode() waBinary.Node { + return int.c.makeDeviceIdentityNode() +} diff --git a/vendor/go.mau.fi/whatsmeow/keepalive.go b/vendor/go.mau.fi/whatsmeow/keepalive.go index 48510a12..94ab639e 100644 --- a/vendor/go.mau.fi/whatsmeow/keepalive.go +++ b/vendor/go.mau.fi/whatsmeow/keepalive.go @@ -11,7 +11,6 @@ import ( "math/rand" "time" - waBinary "go.mau.fi/whatsmeow/binary" "go.mau.fi/whatsmeow/types" "go.mau.fi/whatsmeow/types/events" ) @@ -67,7 +66,6 @@ func (cli *Client) sendKeepAlive(ctx context.Context) (isSuccess, shouldContinue Namespace: "w:p", Type: "get", To: types.ServerJID, - Content: []waBinary.Node{{Tag: "ping"}}, }) if err != nil { cli.Log.Warnf("Failed to send keepalive: %v", err) diff --git a/vendor/go.mau.fi/whatsmeow/mdtest/README.md b/vendor/go.mau.fi/whatsmeow/mdtest/README.md new file mode 100644 index 00000000..fcce7106 --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/mdtest/README.md @@ -0,0 +1,11 @@ +# mdtest + +This is a simple tool for testing whatsmeow. + +1. Clone the repository. +2. Run `go build` inside this directory. +3. Run `./mdtest` to start the program. Optionally, use `rlwrap ./mdtest` to get a nicer prompt. + Add `-debug` if you want to see the raw data being sent/received. +4. On the first run, scan the QR code. On future runs, the program will remember you (unless `mdtest.db` is deleted). + +New messages will be automatically logged. To send a message, use `send ` diff --git a/vendor/go.mau.fi/whatsmeow/mdtest/go.mod b/vendor/go.mau.fi/whatsmeow/mdtest/go.mod new file mode 100644 index 00000000..78812a0d --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/mdtest/go.mod @@ -0,0 +1,29 @@ +module go.mau.fi/whatsmeow/mdtest + +go 1.21 + +toolchain go1.22.0 + +require ( + github.com/mattn/go-sqlite3 v1.14.22 + github.com/mdp/qrterminal/v3 v3.0.0 + go.mau.fi/whatsmeow v0.0.0-20230805111647-405414b9b5c0 + google.golang.org/protobuf v1.33.0 +) + +require ( + filippo.io/edwards25519 v1.0.0 // indirect + github.com/google/uuid v1.6.0 // indirect + github.com/gorilla/websocket v1.5.0 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.19 // indirect + github.com/rs/zerolog v1.32.0 // indirect + go.mau.fi/libsignal v0.1.0 // indirect + go.mau.fi/util v0.4.1 // indirect + golang.org/x/crypto v0.23.0 // indirect + golang.org/x/net v0.25.0 // indirect + golang.org/x/sys v0.20.0 // indirect + rsc.io/qr v0.2.0 // indirect +) + +replace go.mau.fi/whatsmeow => ../ diff --git a/vendor/go.mau.fi/whatsmeow/mdtest/go.sum b/vendor/go.mau.fi/whatsmeow/mdtest/go.sum new file mode 100644 index 00000000..5ba3212b --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/mdtest/go.sum @@ -0,0 +1,54 @@ +filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= +filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= +github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= +github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= +github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= +github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= +github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= +github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU= +github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= +github.com/mdp/qrterminal v1.0.1/go.mod h1:Z33WhxQe9B6CdW37HaVqcRKzP+kByF3q/qLxOGe12xQ= +github.com/mdp/qrterminal/v3 v3.0.0 h1:ywQqLRBXWTktytQNDKFjhAvoGkLVN3J2tAFZ0kMd9xQ= +github.com/mdp/qrterminal/v3 v3.0.0/go.mod h1:NJpfAs7OAm77Dy8EkWrtE4aq+cE6McoLXlBqXQEwvE0= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= +github.com/rs/zerolog v1.32.0 h1:keLypqrlIjaFsbmJOBdB/qvyF8KEtCWHwobLp5l/mQ0= +github.com/rs/zerolog v1.32.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +go.mau.fi/libsignal v0.1.0 h1:vAKI/nJ5tMhdzke4cTK1fb0idJzz1JuEIpmjprueC+c= +go.mau.fi/libsignal v0.1.0/go.mod h1:R8ovrTezxtUNzCQE5PH30StOQWWeBskBsWE55vMfY9I= +go.mau.fi/util v0.4.1 h1:3EC9KxIXo5+h869zDGf5OOZklRd/FjeVnimTwtm3owg= +go.mau.fi/util v0.4.1/go.mod h1:GjkTEBsehYZbSh2LlE6cWEn+6ZIZTGrTMM/5DMNlmFY= +golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= +golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= +golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= +golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= +google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +rsc.io/qr v0.2.0 h1:6vBLea5/NRMVTz8V66gipeLycZMl/+UlFmk8DvqQ6WY= +rsc.io/qr v0.2.0/go.mod h1:IF+uZjkb9fqyeF/4tlBoynqmQxUoPfWEKh921coOuXs= diff --git a/vendor/go.mau.fi/whatsmeow/mdtest/main.go b/vendor/go.mau.fi/whatsmeow/mdtest/main.go new file mode 100644 index 00000000..35237e7b --- /dev/null +++ b/vendor/go.mau.fi/whatsmeow/mdtest/main.go @@ -0,0 +1,1165 @@ +// Copyright (c) 2021 Tulir Asokan +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + +package main + +import ( + "bufio" + "context" + "encoding/hex" + "encoding/json" + "errors" + "flag" + "fmt" + "mime" + "net/http" + "os" + "os/signal" + "strconv" + "strings" + "sync/atomic" + "syscall" + "time" + + _ "github.com/mattn/go-sqlite3" + "github.com/mdp/qrterminal/v3" + "google.golang.org/protobuf/proto" + + "go.mau.fi/whatsmeow" + "go.mau.fi/whatsmeow/appstate" + waBinary "go.mau.fi/whatsmeow/binary" + waProto "go.mau.fi/whatsmeow/binary/proto" + "go.mau.fi/whatsmeow/store" + "go.mau.fi/whatsmeow/store/sqlstore" + "go.mau.fi/whatsmeow/types" + "go.mau.fi/whatsmeow/types/events" + waLog "go.mau.fi/whatsmeow/util/log" +) + +var cli *whatsmeow.Client +var log waLog.Logger + +var logLevel = "INFO" +var debugLogs = flag.Bool("debug", false, "Enable debug logs?") +var dbDialect = flag.String("db-dialect", "sqlite3", "Database dialect (sqlite3 or postgres)") +var dbAddress = flag.String("db-address", "file:mdtest.db?_foreign_keys=on", "Database address") +var requestFullSync = flag.Bool("request-full-sync", false, "Request full (1 year) history sync when logging in?") +var pairRejectChan = make(chan bool, 1) + +func main() { + waBinary.IndentXML = true + flag.Parse() + + if *debugLogs { + logLevel = "DEBUG" + } + if *requestFullSync { + store.DeviceProps.RequireFullSync = proto.Bool(true) + store.DeviceProps.HistorySyncConfig = &waProto.DeviceProps_HistorySyncConfig{ + FullSyncDaysLimit: proto.Uint32(3650), + FullSyncSizeMbLimit: proto.Uint32(102400), + StorageQuotaMb: proto.Uint32(102400), + } + } + log = waLog.Stdout("Main", logLevel, true) + + dbLog := waLog.Stdout("Database", logLevel, true) + storeContainer, err := sqlstore.New(*dbDialect, *dbAddress, dbLog) + if err != nil { + log.Errorf("Failed to connect to database: %v", err) + return + } + device, err := storeContainer.GetFirstDevice() + if err != nil { + log.Errorf("Failed to get device: %v", err) + return + } + + cli = whatsmeow.NewClient(device, waLog.Stdout("Client", logLevel, true)) + var isWaitingForPair atomic.Bool + cli.PrePairCallback = func(jid types.JID, platform, businessName string) bool { + isWaitingForPair.Store(true) + defer isWaitingForPair.Store(false) + log.Infof("Pairing %s (platform: %q, business name: %q). Type r within 3 seconds to reject pair", jid, platform, businessName) + select { + case reject := <-pairRejectChan: + if reject { + log.Infof("Rejecting pair") + return false + } + case <-time.After(3 * time.Second): + } + log.Infof("Accepting pair") + return true + } + + ch, err := cli.GetQRChannel(context.Background()) + if err != nil { + // This error means that we're already logged in, so ignore it. + if !errors.Is(err, whatsmeow.ErrQRStoreContainsID) { + log.Errorf("Failed to get QR channel: %v", err) + } + } else { + go func() { + for evt := range ch { + if evt.Event == "code" { + qrterminal.GenerateHalfBlock(evt.Code, qrterminal.L, os.Stdout) + } else { + log.Infof("QR channel result: %s", evt.Event) + } + } + }() + } + + cli.AddEventHandler(handler) + err = cli.Connect() + if err != nil { + log.Errorf("Failed to connect: %v", err) + return + } + + c := make(chan os.Signal, 1) + input := make(chan string) + signal.Notify(c, os.Interrupt, syscall.SIGTERM) + go func() { + defer close(input) + scan := bufio.NewScanner(os.Stdin) + for scan.Scan() { + line := strings.TrimSpace(scan.Text()) + if len(line) > 0 { + input <- line + } + } + }() + for { + select { + case <-c: + log.Infof("Interrupt received, exiting") + cli.Disconnect() + return + case cmd := <-input: + if len(cmd) == 0 { + log.Infof("Stdin closed, exiting") + cli.Disconnect() + return + } + if isWaitingForPair.Load() { + if cmd == "r" { + pairRejectChan <- true + } else if cmd == "a" { + pairRejectChan <- false + } + continue + } + args := strings.Fields(cmd) + cmd = args[0] + args = args[1:] + go handleCmd(strings.ToLower(cmd), args) + } + } +} + +func parseJID(arg string) (types.JID, bool) { + if arg[0] == '+' { + arg = arg[1:] + } + if !strings.ContainsRune(arg, '@') { + return types.NewJID(arg, types.DefaultUserServer), true + } else { + recipient, err := types.ParseJID(arg) + if err != nil { + log.Errorf("Invalid JID %s: %v", arg, err) + return recipient, false + } else if recipient.User == "" { + log.Errorf("Invalid JID %s: no server specified", arg) + return recipient, false + } + return recipient, true + } +} + +func handleCmd(cmd string, args []string) { + switch cmd { + case "pair-phone": + if len(args) < 1 { + log.Errorf("Usage: pair-phone ") + return + } + linkingCode, err := cli.PairPhone(args[0], true, whatsmeow.PairClientChrome, "Chrome (Linux)") + if err != nil { + panic(err) + } + fmt.Println("Linking code:", linkingCode) + case "reconnect": + cli.Disconnect() + err := cli.Connect() + if err != nil { + log.Errorf("Failed to connect: %v", err) + } + case "logout": + err := cli.Logout() + if err != nil { + log.Errorf("Error logging out: %v", err) + } else { + log.Infof("Successfully logged out") + } + case "appstate": + if len(args) < 1 { + log.Errorf("Usage: appstate ") + return + } + names := []appstate.WAPatchName{appstate.WAPatchName(args[0])} + if args[0] == "all" { + names = []appstate.WAPatchName{appstate.WAPatchRegular, appstate.WAPatchRegularHigh, appstate.WAPatchRegularLow, appstate.WAPatchCriticalUnblockLow, appstate.WAPatchCriticalBlock} + } + resync := len(args) > 1 && args[1] == "resync" + for _, name := range names { + err := cli.FetchAppState(name, resync, false) + if err != nil { + log.Errorf("Failed to sync app state: %v", err) + } + } + case "request-appstate-key": + if len(args) < 1 { + log.Errorf("Usage: request-appstate-key ") + return + } + var keyIDs = make([][]byte, len(args)) + for i, id := range args { + decoded, err := hex.DecodeString(id) + if err != nil { + log.Errorf("Failed to decode %s as hex: %v", id, err) + return + } + keyIDs[i] = decoded + } + cli.DangerousInternals().RequestAppStateKeys(context.Background(), keyIDs) + case "unavailable-request": + if len(args) < 3 { + log.Errorf("Usage: unavailable-request ") + return + } + chat, ok := parseJID(args[0]) + if !ok { + return + } + sender, ok := parseJID(args[1]) + if !ok { + return + } + resp, err := cli.SendMessage( + context.Background(), + cli.Store.ID.ToNonAD(), + cli.BuildUnavailableMessageRequest(chat, sender, args[2]), + whatsmeow.SendRequestExtra{Peer: true}, + ) + fmt.Println(resp) + fmt.Println(err) + case "checkuser": + if len(args) < 1 { + log.Errorf("Usage: checkuser ") + return + } + resp, err := cli.IsOnWhatsApp(args) + if err != nil { + log.Errorf("Failed to check if users are on WhatsApp:", err) + } else { + for _, item := range resp { + if item.VerifiedName != nil { + log.Infof("%s: on whatsapp: %t, JID: %s, business name: %s", item.Query, item.IsIn, item.JID, item.VerifiedName.Details.GetVerifiedName()) + } else { + log.Infof("%s: on whatsapp: %t, JID: %s", item.Query, item.IsIn, item.JID) + } + } + } + case "checkupdate": + resp, err := cli.CheckUpdate() + if err != nil { + log.Errorf("Failed to check for updates: %v", err) + } else { + log.Debugf("Version data: %#v", resp) + if resp.ParsedVersion == store.GetWAVersion() { + log.Infof("Client is up to date") + } else if store.GetWAVersion().LessThan(resp.ParsedVersion) { + log.Warnf("Client is outdated") + } else { + log.Infof("Client is newer than latest") + } + } + case "subscribepresence": + if len(args) < 1 { + log.Errorf("Usage: subscribepresence ") + return + } + jid, ok := parseJID(args[0]) + if !ok { + return + } + err := cli.SubscribePresence(jid) + if err != nil { + fmt.Println(err) + } + case "presence": + if len(args) == 0 { + log.Errorf("Usage: presence ") + return + } + fmt.Println(cli.SendPresence(types.Presence(args[0]))) + case "chatpresence": + if len(args) == 2 { + args = append(args, "") + } else if len(args) < 2 { + log.Errorf("Usage: chatpresence [audio]") + return + } + jid, _ := types.ParseJID(args[0]) + fmt.Println(cli.SendChatPresence(jid, types.ChatPresence(args[1]), types.ChatPresenceMedia(args[2]))) + case "privacysettings": + resp, err := cli.TryFetchPrivacySettings(false) + if err != nil { + fmt.Println(err) + } else { + fmt.Printf("%+v\n", resp) + } + case "setprivacysetting": + if len(args) < 2 { + log.Errorf("Usage: setprivacysetting ") + return + } + setting := types.PrivacySettingType(args[0]) + value := types.PrivacySetting(args[1]) + resp, err := cli.SetPrivacySetting(setting, value) + if err != nil { + fmt.Println(err) + } else { + fmt.Printf("%+v\n", resp) + } + case "getuser": + if len(args) < 1 { + log.Errorf("Usage: getuser ") + return + } + var jids []types.JID + for _, arg := range args { + jid, ok := parseJID(arg) + if !ok { + return + } + jids = append(jids, jid) + } + resp, err := cli.GetUserInfo(jids) + if err != nil { + log.Errorf("Failed to get user info: %v", err) + } else { + for jid, info := range resp { + log.Infof("%s: %+v", jid, info) + } + } + case "mediaconn": + conn, err := cli.DangerousInternals().RefreshMediaConn(false) + if err != nil { + log.Errorf("Failed to get media connection: %v", err) + } else { + log.Infof("Media connection: %+v", conn) + } + case "raw": + var node waBinary.Node + if err := json.Unmarshal([]byte(strings.Join(args, " ")), &node); err != nil { + log.Errorf("Failed to parse args as JSON into XML node: %v", err) + } else if err = cli.DangerousInternals().SendNode(node); err != nil { + log.Errorf("Error sending node: %v", err) + } else { + log.Infof("Node sent") + } + case "listnewsletters": + newsletters, err := cli.GetSubscribedNewsletters() + if err != nil { + log.Errorf("Failed to get subscribed newsletters: %v", err) + return + } + for _, newsletter := range newsletters { + log.Infof("* %s: %s", newsletter.ID, newsletter.ThreadMeta.Name.Text) + } + case "getnewsletter": + jid, ok := parseJID(args[0]) + if !ok { + return + } + meta, err := cli.GetNewsletterInfo(jid) + if err != nil { + log.Errorf("Failed to get info: %v", err) + } else { + log.Infof("Got info: %+v", meta) + } + case "getnewsletterinvite": + meta, err := cli.GetNewsletterInfoWithInvite(args[0]) + if err != nil { + log.Errorf("Failed to get info: %v", err) + } else { + log.Infof("Got info: %+v", meta) + } + case "livesubscribenewsletter": + if len(args) < 1 { + log.Errorf("Usage: livesubscribenewsletter ") + return + } + jid, ok := parseJID(args[0]) + if !ok { + return + } + dur, err := cli.NewsletterSubscribeLiveUpdates(context.TODO(), jid) + if err != nil { + log.Errorf("Failed to subscribe to live updates: %v", err) + } else { + log.Infof("Subscribed to live updates for %s for %s", jid, dur) + } + case "getnewslettermessages": + if len(args) < 1 { + log.Errorf("Usage: getnewslettermessages [count] [before id]") + return + } + jid, ok := parseJID(args[0]) + if !ok { + return + } + count := 100 + var err error + if len(args) > 1 { + count, err = strconv.Atoi(args[1]) + if err != nil { + log.Errorf("Invalid count: %v", err) + return + } + } + var before types.MessageServerID + if len(args) > 2 { + before, err = strconv.Atoi(args[2]) + if err != nil { + log.Errorf("Invalid message ID: %v", err) + return + } + } + messages, err := cli.GetNewsletterMessages(jid, &whatsmeow.GetNewsletterMessagesParams{Count: count, Before: before}) + if err != nil { + log.Errorf("Failed to get messages: %v", err) + } else { + for _, msg := range messages { + log.Infof("%d: %+v (viewed %d times)", msg.MessageServerID, msg.Message, msg.ViewsCount) + } + } + case "createnewsletter": + if len(args) < 1 { + log.Errorf("Usage: createnewsletter ") + return + } + resp, err := cli.CreateNewsletter(whatsmeow.CreateNewsletterParams{ + Name: strings.Join(args, " "), + }) + if err != nil { + log.Errorf("Failed to create newsletter: %v", err) + } else { + log.Infof("Created newsletter %+v", resp) + } + case "getavatar": + if len(args) < 1 { + log.Errorf("Usage: getavatar [existing ID] [--preview] [--community]") + return + } + jid, ok := parseJID(args[0]) + if !ok { + return + } + existingID := "" + if len(args) > 2 { + existingID = args[2] + } + var preview, isCommunity bool + for _, arg := range args { + if arg == "--preview" { + preview = true + } else if arg == "--community" { + isCommunity = true + } + } + pic, err := cli.GetProfilePictureInfo(jid, &whatsmeow.GetProfilePictureParams{ + Preview: preview, + IsCommunity: isCommunity, + ExistingID: existingID, + }) + if err != nil { + log.Errorf("Failed to get avatar: %v", err) + } else if pic != nil { + log.Infof("Got avatar ID %s: %s", pic.ID, pic.URL) + } else { + log.Infof("No avatar found") + } + case "getgroup": + if len(args) < 1 { + log.Errorf("Usage: getgroup ") + return + } + group, ok := parseJID(args[0]) + if !ok { + return + } else if group.Server != types.GroupServer { + log.Errorf("Input must be a group JID (@%s)", types.GroupServer) + return + } + resp, err := cli.GetGroupInfo(group) + if err != nil { + log.Errorf("Failed to get group info: %v", err) + } else { + log.Infof("Group info: %+v", resp) + } + case "subgroups": + if len(args) < 1 { + log.Errorf("Usage: subgroups ") + return + } + group, ok := parseJID(args[0]) + if !ok { + return + } else if group.Server != types.GroupServer { + log.Errorf("Input must be a group JID (@%s)", types.GroupServer) + return + } + resp, err := cli.GetSubGroups(group) + if err != nil { + log.Errorf("Failed to get subgroups: %v", err) + } else { + for _, sub := range resp { + log.Infof("Subgroup: %+v", sub) + } + } + case "communityparticipants": + if len(args) < 1 { + log.Errorf("Usage: communityparticipants ") + return + } + group, ok := parseJID(args[0]) + if !ok { + return + } else if group.Server != types.GroupServer { + log.Errorf("Input must be a group JID (@%s)", types.GroupServer) + return + } + resp, err := cli.GetLinkedGroupsParticipants(group) + if err != nil { + log.Errorf("Failed to get community participants: %v", err) + } else { + log.Infof("Community participants: %+v", resp) + } + case "listgroups": + groups, err := cli.GetJoinedGroups() + if err != nil { + log.Errorf("Failed to get group list: %v", err) + } else { + for _, group := range groups { + log.Infof("%+v", group) + } + } + case "getinvitelink": + if len(args) < 1 { + log.Errorf("Usage: getinvitelink [--reset]") + return + } + group, ok := parseJID(args[0]) + if !ok { + return + } else if group.Server != types.GroupServer { + log.Errorf("Input must be a group JID (@%s)", types.GroupServer) + return + } + resp, err := cli.GetGroupInviteLink(group, len(args) > 1 && args[1] == "--reset") + if err != nil { + log.Errorf("Failed to get group invite link: %v", err) + } else { + log.Infof("Group invite link: %s", resp) + } + case "queryinvitelink": + if len(args) < 1 { + log.Errorf("Usage: queryinvitelink ") + return + } + resp, err := cli.GetGroupInfoFromLink(args[0]) + if err != nil { + log.Errorf("Failed to resolve group invite link: %v", err) + } else { + log.Infof("Group info: %+v", resp) + } + case "querybusinesslink": + if len(args) < 1 { + log.Errorf("Usage: querybusinesslink ") + return + } + resp, err := cli.ResolveBusinessMessageLink(args[0]) + if err != nil { + log.Errorf("Failed to resolve business message link: %v", err) + } else { + log.Infof("Business info: %+v", resp) + } + case "joininvitelink": + if len(args) < 1 { + log.Errorf("Usage: acceptinvitelink ") + return + } + groupID, err := cli.JoinGroupWithLink(args[0]) + if err != nil { + log.Errorf("Failed to join group via invite link: %v", err) + } else { + log.Infof("Joined %s", groupID) + } + case "updateparticipant": + if len(args) < 3 { + log.Errorf("Usage: updateparticipant ") + return + } + jid, ok := parseJID(args[0]) + if !ok { + return + } + action := whatsmeow.ParticipantChange(args[1]) + switch action { + case whatsmeow.ParticipantChangeAdd, whatsmeow.ParticipantChangeRemove, whatsmeow.ParticipantChangePromote, whatsmeow.ParticipantChangeDemote: + default: + log.Errorf("Valid actions: add, remove, promote, demote") + return + } + users := make([]types.JID, len(args)-2) + for i, arg := range args[2:] { + users[i], ok = parseJID(arg) + if !ok { + return + } + } + resp, err := cli.UpdateGroupParticipants(jid, users, action) + if err != nil { + log.Errorf("Failed to add participant: %v", err) + return + } + for _, item := range resp { + if action == whatsmeow.ParticipantChangeAdd && item.Error == 403 && item.AddRequest != nil { + log.Infof("Participant is private: %d %s %s %v", item.Error, item.JID, item.AddRequest.Code, item.AddRequest.Expiration) + cli.SendMessage(context.TODO(), item.JID, &waProto.Message{ + GroupInviteMessage: &waProto.GroupInviteMessage{ + InviteCode: proto.String(item.AddRequest.Code), + InviteExpiration: proto.Int64(item.AddRequest.Expiration.Unix()), + GroupJid: proto.String(jid.String()), + GroupName: proto.String("Test group"), + Caption: proto.String("This is a test group"), + }, + }) + } else if item.Error == 409 { + log.Infof("Participant already in group: %d %s %+v", item.Error, item.JID) + } else if item.Error == 0 { + log.Infof("Added participant: %d %s %+v", item.Error, item.JID) + } else { + log.Infof("Unknown status: %d %s %+v", item.Error, item.JID) + } + } + case "getrequestparticipant": + if len(args) < 1 { + log.Errorf("Usage: getrequestparticipant ") + return + } + group, ok := parseJID(args[0]) + if !ok { + log.Errorf("Invalid JID") + return + } + resp, err := cli.GetGroupRequestParticipants(group) + if err != nil { + log.Errorf("Failed to get request participants: %v", err) + } else { + log.Infof("Request participants: %+v", resp) + } + case "getstatusprivacy": + resp, err := cli.GetStatusPrivacy() + fmt.Println(err) + fmt.Println(resp) + case "setdisappeartimer": + if len(args) < 2 { + log.Errorf("Usage: setdisappeartimer ") + return + } + days, err := strconv.Atoi(args[1]) + if err != nil { + log.Errorf("Invalid duration: %v", err) + return + } + recipient, ok := parseJID(args[0]) + if !ok { + return + } + err = cli.SetDisappearingTimer(recipient, time.Duration(days)*24*time.Hour) + if err != nil { + log.Errorf("Failed to set disappearing timer: %v", err) + } + case "setdefaultdisappeartimer": + if len(args) < 1 { + log.Errorf("Usage: setdefaultdisappeartimer ") + return + } + days, err := strconv.Atoi(args[0]) + if err != nil { + log.Errorf("Invalid duration: %v", err) + return + } + err = cli.SetDefaultDisappearingTimer(time.Duration(days) * 24 * time.Hour) + if err != nil { + log.Errorf("Failed to set default disappearing timer: %v", err) + } + case "send": + if len(args) < 2 { + log.Errorf("Usage: send ") + return + } + recipient, ok := parseJID(args[0]) + if !ok { + return + } + msg := &waProto.Message{Conversation: proto.String(strings.Join(args[1:], " "))} + resp, err := cli.SendMessage(context.Background(), recipient, msg) + if err != nil { + log.Errorf("Error sending message: %v", err) + } else { + log.Infof("Message sent (server timestamp: %s)", resp.Timestamp) + } + case "sendpoll": + if len(args) < 7 { + log.Errorf("Usage: sendpoll --