summaryrefslogtreecommitdiffstats
path: root/vendor/go.mau.fi
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/go.mau.fi')
-rw-r--r--vendor/go.mau.fi/whatsmeow/.editorconfig13
-rw-r--r--vendor/go.mau.fi/whatsmeow/README.md3
-rw-r--r--vendor/go.mau.fi/whatsmeow/appstate.go152
-rw-r--r--vendor/go.mau.fi/whatsmeow/appstate/decode.go2
-rw-r--r--vendor/go.mau.fi/whatsmeow/appstate/encode.go200
-rw-r--r--vendor/go.mau.fi/whatsmeow/appstate/hash.go4
-rw-r--r--vendor/go.mau.fi/whatsmeow/appstate/keys.go16
-rw-r--r--vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go7917
-rw-r--r--vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.rawbin70468 -> 76767 bytes
-rw-r--r--vendor/go.mau.fi/whatsmeow/binary/proto/def.proto440
-rw-r--r--vendor/go.mau.fi/whatsmeow/client.go61
-rw-r--r--vendor/go.mau.fi/whatsmeow/connectionevents.go21
-rw-r--r--vendor/go.mau.fi/whatsmeow/download.go25
-rw-r--r--vendor/go.mau.fi/whatsmeow/errors.go3
-rw-r--r--vendor/go.mau.fi/whatsmeow/group.go10
-rw-r--r--vendor/go.mau.fi/whatsmeow/internals.go5
-rw-r--r--vendor/go.mau.fi/whatsmeow/keepalive.go10
-rw-r--r--vendor/go.mau.fi/whatsmeow/mediaretry.go8
-rw-r--r--vendor/go.mau.fi/whatsmeow/message.go59
-rw-r--r--vendor/go.mau.fi/whatsmeow/msgsecret.go16
-rw-r--r--vendor/go.mau.fi/whatsmeow/notification.go7
-rw-r--r--vendor/go.mau.fi/whatsmeow/pair-code.go252
-rw-r--r--vendor/go.mau.fi/whatsmeow/receipt.go3
-rw-r--r--vendor/go.mau.fi/whatsmeow/retry.go72
-rw-r--r--vendor/go.mau.fi/whatsmeow/send.go333
-rw-r--r--vendor/go.mau.fi/whatsmeow/store/clientpayload.go2
-rw-r--r--vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go15
-rw-r--r--vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go12
-rw-r--r--vendor/go.mau.fi/whatsmeow/store/store.go1
-rw-r--r--vendor/go.mau.fi/whatsmeow/types/events/appstate.go48
-rw-r--r--vendor/go.mau.fi/whatsmeow/types/events/events.go21
-rw-r--r--vendor/go.mau.fi/whatsmeow/upload.go8
-rw-r--r--vendor/go.mau.fi/whatsmeow/util/keys/keypair.go12
-rw-r--r--vendor/go.mau.fi/whatsmeow/util/randbytes/randbytes.go15
34 files changed, 6502 insertions, 3264 deletions
diff --git a/vendor/go.mau.fi/whatsmeow/.editorconfig b/vendor/go.mau.fi/whatsmeow/.editorconfig
new file mode 100644
index 00000000..d7ab7302
--- /dev/null
+++ b/vendor/go.mau.fi/whatsmeow/.editorconfig
@@ -0,0 +1,13 @@
+root = true
+
+[*]
+indent_style = tab
+indent_size = 4
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.{yaml,yml}]
+indent_style = space
+indent_size = 2
diff --git a/vendor/go.mau.fi/whatsmeow/README.md b/vendor/go.mau.fi/whatsmeow/README.md
index 123239b5..b0d36ffb 100644
--- a/vendor/go.mau.fi/whatsmeow/README.md
+++ b/vendor/go.mau.fi/whatsmeow/README.md
@@ -27,12 +27,11 @@ Most core features are already present:
* Joining via invite messages, using and creating invite links
* Sending and receiving typing notifications
* Sending and receiving delivery and read receipts
-* Reading app state (contact list, chat pin/mute status, etc)
+* Reading and writing app state (contact list, chat pin/mute status, etc)
* Sending and handling retry receipts if message decryption fails
* Sending status messages (experimental, may not work for large contact lists)
Things that are not yet implemented:
-* Writing app state (contact list, chat pin/mute status, etc)
* Sending broadcast list messages (this is not supported on WhatsApp web either)
* Calls
diff --git a/vendor/go.mau.fi/whatsmeow/appstate.go b/vendor/go.mau.fi/whatsmeow/appstate.go
index 7493a030..3c128db6 100644
--- a/vendor/go.mau.fi/whatsmeow/appstate.go
+++ b/vendor/go.mau.fi/whatsmeow/appstate.go
@@ -74,7 +74,7 @@ func (cli *Client) FetchAppState(name appstate.WAPatchName, fullSync, onlyIfNotS
}
}
for _, mutation := range mutations {
- cli.dispatchAppState(mutation, !fullSync || cli.EmitAppStateEventsOnFullSync)
+ cli.dispatchAppState(mutation, fullSync, cli.EmitAppStateEventsOnFullSync)
}
}
if fullSync {
@@ -105,7 +105,10 @@ func (cli *Client) filterContacts(mutations []appstate.Mutation) ([]appstate.Mut
return filteredMutations, contacts
}
-func (cli *Client) dispatchAppState(mutation appstate.Mutation, dispatchEvts bool) {
+func (cli *Client) dispatchAppState(mutation appstate.Mutation, fullSync bool, emitOnFullSync bool) {
+
+ dispatchEvts := !fullSync || emitOnFullSync
+
if mutation.Operation != waProto.SyncdMutation_SET {
return
}
@@ -118,87 +121,108 @@ func (cli *Client) dispatchAppState(mutation appstate.Mutation, dispatchEvts boo
if len(mutation.Index) > 1 {
jid, _ = types.ParseJID(mutation.Index[1])
}
- ts := time.Unix(mutation.Action.GetTimestamp(), 0)
+ ts := time.UnixMilli(mutation.Action.GetTimestamp())
var storeUpdateError error
var eventToDispatch interface{}
switch mutation.Index[0] {
- case "mute":
+ case appstate.IndexMute:
act := mutation.Action.GetMuteAction()
- eventToDispatch = &events.Mute{JID: jid, Timestamp: ts, Action: act}
+ eventToDispatch = &events.Mute{JID: jid, Timestamp: ts, Action: act, FromFullSync: fullSync}
var mutedUntil time.Time
if act.GetMuted() {
- mutedUntil = time.Unix(act.GetMuteEndTimestamp(), 0)
+ mutedUntil = time.UnixMilli(act.GetMuteEndTimestamp())
}
if cli.Store.ChatSettings != nil {
storeUpdateError = cli.Store.ChatSettings.PutMutedUntil(jid, mutedUntil)
}
- case "pin_v1":
+ case appstate.IndexPin:
act := mutation.Action.GetPinAction()
- eventToDispatch = &events.Pin{JID: jid, Timestamp: ts, Action: act}
+ eventToDispatch = &events.Pin{JID: jid, Timestamp: ts, Action: act, FromFullSync: fullSync}
if cli.Store.ChatSettings != nil {
storeUpdateError = cli.Store.ChatSettings.PutPinned(jid, act.GetPinned())
}
- case "archive":
+ case appstate.IndexArchive:
act := mutation.Action.GetArchiveChatAction()
- eventToDispatch = &events.Archive{JID: jid, Timestamp: ts, Action: act}
+ eventToDispatch = &events.Archive{JID: jid, Timestamp: ts, Action: act, FromFullSync: fullSync}
if cli.Store.ChatSettings != nil {
storeUpdateError = cli.Store.ChatSettings.PutArchived(jid, act.GetArchived())
}
- case "contact":
+ case appstate.IndexContact:
act := mutation.Action.GetContactAction()
- eventToDispatch = &events.Contact{JID: jid, Timestamp: ts, Action: act}
+ eventToDispatch = &events.Contact{JID: jid, Timestamp: ts, Action: act, FromFullSync: fullSync}
if cli.Store.Contacts != nil {
storeUpdateError = cli.Store.Contacts.PutContactName(jid, act.GetFirstName(), act.GetFullName())
}
- case "deleteChat":
+ case appstate.IndexClearChat:
+ act := mutation.Action.GetClearChatAction()
+ eventToDispatch = &events.ClearChat{JID: jid, Timestamp: ts, Action: act, FromFullSync: fullSync}
+ case appstate.IndexDeleteChat:
act := mutation.Action.GetDeleteChatAction()
- eventToDispatch = &events.DeleteChat{JID: jid, Timestamp: ts, Action: act}
- case "star":
+ eventToDispatch = &events.DeleteChat{JID: jid, Timestamp: ts, Action: act, FromFullSync: fullSync}
+ case appstate.IndexStar:
if len(mutation.Index) < 5 {
return
}
evt := events.Star{
- ChatJID: jid,
- MessageID: mutation.Index[2],
- Timestamp: ts,
- Action: mutation.Action.GetStarAction(),
- IsFromMe: mutation.Index[3] == "1",
+ ChatJID: jid,
+ MessageID: mutation.Index[2],
+ Timestamp: ts,
+ Action: mutation.Action.GetStarAction(),
+ IsFromMe: mutation.Index[3] == "1",
+ FromFullSync: fullSync,
}
if mutation.Index[4] != "0" {
evt.SenderJID, _ = types.ParseJID(mutation.Index[4])
}
eventToDispatch = &evt
- case "deleteMessageForMe":
+ case appstate.IndexDeleteMessageForMe:
if len(mutation.Index) < 5 {
return
}
evt := events.DeleteForMe{
- ChatJID: jid,
- MessageID: mutation.Index[2],
- Timestamp: ts,
- Action: mutation.Action.GetDeleteMessageForMeAction(),
- IsFromMe: mutation.Index[3] == "1",
+ ChatJID: jid,
+ MessageID: mutation.Index[2],
+ Timestamp: ts,
+ Action: mutation.Action.GetDeleteMessageForMeAction(),
+ IsFromMe: mutation.Index[3] == "1",
+ FromFullSync: fullSync,
}
if mutation.Index[4] != "0" {
evt.SenderJID, _ = types.ParseJID(mutation.Index[4])
}
eventToDispatch = &evt
- case "markChatAsRead":
+ case appstate.IndexMarkChatAsRead:
eventToDispatch = &events.MarkChatAsRead{
- JID: jid,
- Timestamp: ts,
- Action: mutation.Action.GetMarkChatAsReadAction(),
+ JID: jid,
+ Timestamp: ts,
+ Action: mutation.Action.GetMarkChatAsReadAction(),
+ FromFullSync: fullSync,
+ }
+ case appstate.IndexSettingPushName:
+ eventToDispatch = &events.PushNameSetting{
+ Timestamp: ts,
+ Action: mutation.Action.GetPushNameSetting(),
+ FromFullSync: fullSync,
}
- case "setting_pushName":
- eventToDispatch = &events.PushNameSetting{Timestamp: ts, Action: mutation.Action.GetPushNameSetting()}
cli.Store.PushName = mutation.Action.GetPushNameSetting().GetName()
err := cli.Store.Save()
if err != nil {
cli.Log.Errorf("Failed to save device store after updating push name: %v", err)
}
- case "setting_unarchiveChats":
- eventToDispatch = &events.UnarchiveChatsSetting{Timestamp: ts, Action: mutation.Action.GetUnarchiveChatsSetting()}
+ case appstate.IndexSettingUnarchiveChats:
+ eventToDispatch = &events.UnarchiveChatsSetting{
+ Timestamp: ts,
+ Action: mutation.Action.GetUnarchiveChatsSetting(),
+ FromFullSync: fullSync,
+ }
+ case appstate.IndexUserStatusMute:
+ eventToDispatch = &events.UserStatusMute{
+ JID: jid,
+ Timestamp: ts,
+ Action: mutation.Action.GetUserStatusMuteAction(),
+ FromFullSync: fullSync,
+ }
}
if storeUpdateError != nil {
cli.Log.Errorf("Failed to update device store after app state mutation: %v", storeUpdateError)
@@ -280,3 +304,63 @@ func (cli *Client) requestAppStateKeys(ctx context.Context, rawKeyIDs [][]byte)
cli.Log.Warnf("Failed to send app state key request: %v", err)
}
}
+
+// SendAppState sends the given app state patch, then resyncs that app state type from the server
+// to update local caches and send events for the updates.
+//
+// You can use the Build methods in the appstate package to build the parameter for this method, e.g.
+//
+// cli.SendAppState(appstate.BuildMute(targetJID, true, 24 * time.Hour))
+func (cli *Client) SendAppState(patch appstate.PatchInfo) error {
+ version, hash, err := cli.Store.AppState.GetAppStateVersion(string(patch.Type))
+ if err != nil {
+ return err
+ }
+ // TODO create new key instead of reusing the primary client's keys
+ latestKeyID, err := cli.Store.AppStateKeys.GetLatestAppStateSyncKeyID()
+ if err != nil {
+ return fmt.Errorf("failed to get latest app state key ID: %w", err)
+ } else if latestKeyID == nil {
+ return fmt.Errorf("no app state keys found, creating app state keys is not yet supported")
+ }
+
+ state := appstate.HashState{Version: version, Hash: hash}
+
+ encodedPatch, err := cli.appStateProc.EncodePatch(latestKeyID, state, patch)
+ if err != nil {
+ return err
+ }
+
+ resp, err := cli.sendIQ(infoQuery{
+ Namespace: "w:sync:app:state",
+ Type: iqSet,
+ To: types.ServerJID,
+ Content: []waBinary.Node{{
+ Tag: "sync",
+ Content: []waBinary.Node{{
+ Tag: "collection",
+ Attrs: waBinary.Attrs{
+ "name": string(patch.Type),
+ "version": version,
+ "return_snapshot": false,
+ },
+ Content: []waBinary.Node{{
+ Tag: "patch",
+ Content: encodedPatch,
+ }},
+ }},
+ }},
+ })
+ if err != nil {
+ return err
+ }
+
+ respCollection := resp.GetChildByTag("sync", "collection")
+ respCollectionAttr := respCollection.AttrGetter()
+ if respCollectionAttr.OptionalString("type") == "error" {
+ // TODO parse error properly
+ return fmt.Errorf("%w: %s", ErrAppStateUpdate, respCollection.XMLString())
+ }
+
+ return cli.FetchAppState(patch.Type, false, false)
+}
diff --git a/vendor/go.mau.fi/whatsmeow/appstate/decode.go b/vendor/go.mau.fi/whatsmeow/appstate/decode.go
index 5c895470..980c20de 100644
--- a/vendor/go.mau.fi/whatsmeow/appstate/decode.go
+++ b/vendor/go.mau.fi/whatsmeow/appstate/decode.go
@@ -290,7 +290,7 @@ func (proc *Processor) DecodePatches(list *PatchList, initialState HashState, va
if err != nil {
return
}
- patchMAC := generatePatchMAC(patch, list.Name, keys.PatchMAC)
+ patchMAC := generatePatchMAC(patch, list.Name, keys.PatchMAC, patch.GetVersion().GetVersion())
if !bytes.Equal(patchMAC, patch.GetPatchMac()) {
err = fmt.Errorf("failed to verify patch v%d: %w", version, ErrMismatchingPatchMAC)
return
diff --git a/vendor/go.mau.fi/whatsmeow/appstate/encode.go b/vendor/go.mau.fi/whatsmeow/appstate/encode.go
new file mode 100644
index 00000000..1cb7d659
--- /dev/null
+++ b/vendor/go.mau.fi/whatsmeow/appstate/encode.go
@@ -0,0 +1,200 @@
+package appstate
+
+import (
+ "crypto/sha256"
+ "encoding/json"
+ "fmt"
+ "time"
+
+ "google.golang.org/protobuf/proto"
+
+ waProto "go.mau.fi/whatsmeow/binary/proto"
+ "go.mau.fi/whatsmeow/types"
+ "go.mau.fi/whatsmeow/util/cbcutil"
+)
+
+// MutationInfo contains information about a single mutation to the app state.
+type MutationInfo struct {
+ // Index contains the thing being mutated (like `mute` or `pin_v1`), followed by parameters like the target JID.
+ Index []string
+ // Version is a static number that depends on the thing being mutated.
+ Version int32
+ // Value contains the data for the mutation.
+ Value *waProto.SyncActionValue
+}
+
+// PatchInfo contains information about a patch to the app state.
+// A patch can contain multiple mutations, as long as all mutations are in the same app state type.
+type PatchInfo struct {
+ // Timestamp is the time when the patch was created. This will be filled automatically in EncodePatch if it's zero.
+ Timestamp time.Time
+ // Type is the app state type being mutated.
+ Type WAPatchName
+ // Mutations contains the individual mutations to apply to the app state in this patch.
+ Mutations []MutationInfo
+}
+
+// BuildMute builds an app state patch for muting or unmuting a chat.
+//
+// If mute is true and the mute duration is zero, the chat is muted forever.
+func BuildMute(target types.JID, mute bool, muteDuration time.Duration) PatchInfo {
+ var muteEndTimestamp *int64
+ if muteDuration > 0 {
+ muteEndTimestamp = proto.Int64(time.Now().Add(muteDuration).UnixMilli())
+ }
+
+ return PatchInfo{
+ Type: WAPatchRegularHigh,
+ Mutations: []MutationInfo{{
+ Index: []string{IndexMute, target.String()},
+ Version: 2,
+ Value: &waProto.SyncActionValue{
+ MuteAction: &waProto.MuteAction{
+ Muted: proto.Bool(mute),
+ MuteEndTimestamp: muteEndTimestamp,
+ },
+ },
+ }},
+ }
+}
+
+func newPinMutationInfo(target types.JID, pin bool) MutationInfo {
+ return MutationInfo{
+ Index: []string{IndexPin, target.String()},
+ Version: 5,
+ Value: &waProto.SyncActionValue{
+ PinAction: &waProto.PinAction{
+ Pinned: &pin,
+ },
+ },
+ }
+}
+
+// BuildPin builds an app state patch for pinning or unpinning a chat.
+func BuildPin(target types.JID, pin bool) PatchInfo {
+ return PatchInfo{
+ Type: WAPatchRegularLow,
+ Mutations: []MutationInfo{
+ newPinMutationInfo(target, pin),
+ },
+ }
+}
+
+// BuildArchive builds an app state patch for archiving or unarchiving a chat.
+//
+// The last message timestamp and last message key are optional and can be set to zero values (`time.Time{}` and `nil`).
+//
+// Archiving a chat will also unpin it automatically.
+func BuildArchive(target types.JID, archive bool, lastMessageTimestamp time.Time, lastMessageKey *waProto.MessageKey) PatchInfo {
+ if lastMessageTimestamp.IsZero() {
+ lastMessageTimestamp = time.Now()
+ }
+ archiveMutationInfo := MutationInfo{
+ Index: []string{IndexArchive, target.String()},
+ Version: 3,
+ Value: &waProto.SyncActionValue{
+ ArchiveChatAction: &waProto.ArchiveChatAction{
+ Archived: &archive,
+ MessageRange: &waProto.SyncActionMessageRange{
+ LastMessageTimestamp: proto.Int64(lastMessageTimestamp.Unix()),
+ // TODO set LastSystemMessageTimestamp?
+ },
+ },
+ },
+ }
+
+ if lastMessageKey != nil {
+ archiveMutationInfo.Value.ArchiveChatAction.MessageRange.Messages = []*waProto.SyncActionMessage{{
+ Key: lastMessageKey,
+ Timestamp: proto.Int64(lastMessageTimestamp.Unix()),
+ }}
+ }
+
+ mutations := []MutationInfo{archiveMutationInfo}
+ if archive {
+ mutations = append(mutations, newPinMutationInfo(target, false))
+ }
+
+ result := PatchInfo{
+ Type: WAPatchRegularLow,
+ Mutations: mutations,
+ }
+
+ return result
+}
+
+func (proc *Processor) EncodePatch(keyID []byte, state HashState, patchInfo PatchInfo) ([]byte, error) {
+ keys, err := proc.getAppStateKey(keyID)
+ if err != nil {
+ return nil, fmt.Errorf("failed to get app state key details with key ID %x: %w", keyID, err)
+ }
+
+ if patchInfo.Timestamp.IsZero() {
+ patchInfo.Timestamp = time.Now()
+ }
+
+ mutations := make([]*waProto.SyncdMutation, 0, len(patchInfo.Mutations))
+ for _, mutationInfo := range patchInfo.Mutations {
+ mutationInfo.Value.Timestamp = proto.Int64(patchInfo.Timestamp.UnixMilli())
+
+ indexBytes, err := json.Marshal(mutationInfo.Index)
+ if err != nil {
+ return nil, fmt.Errorf("failed to marshal mutation index: %w", err)
+ }
+
+ pbObj := &waProto.SyncActionData{
+ Index: indexBytes,
+ Value: mutationInfo.Value,
+ Padding: []byte{},
+ Version: &mutationInfo.Version,
+ }
+
+ content, err := proto.Marshal(pbObj)
+ if err != nil {
+ return nil, fmt.Errorf("failed to marshal mutation: %w", err)
+ }
+
+ encryptedContent, err := cbcutil.Encrypt(keys.ValueEncryption, nil, content)
+ if err != nil {
+ return nil, fmt.Errorf("failed to encrypt mutation: %w", err)
+ }
+
+ valueMac := generateContentMAC(waProto.SyncdMutation_SET, encryptedContent, keyID, keys.ValueMAC)
+ indexMac := concatAndHMAC(sha256.New, keys.Index, indexBytes)
+
+ mutations = append(mutations, &waProto.SyncdMutation{
+ Operation: waProto.SyncdMutation_SET.Enum(),
+ Record: &waProto.SyncdRecord{
+ Index: &waProto.SyncdIndex{Blob: indexMac},
+ Value: &waProto.SyncdValue{Blob: append(encryptedContent, valueMac...)},
+ KeyId: &waProto.KeyId{Id: keyID},
+ },
+ })
+ }
+
+ warn, err := state.updateHash(mutations, func(indexMAC []byte, _ int) ([]byte, error) {
+ return proc.Store.AppState.GetAppStateMutationMAC(string(patchInfo.Type), indexMAC)
+ })
+ if len(warn) > 0 {
+ proc.Log.Warnf("Warnings while updating hash for %s (sending new app state): %+v", patchInfo.Type, warn)
+ }
+ if err != nil {
+ return nil, fmt.Errorf("failed to update state hash: %w", err)
+ }
+
+ state.Version += 1
+
+ syncdPatch := &waProto.SyncdPatch{
+ SnapshotMac: state.generateSnapshotMAC(patchInfo.Type, keys.SnapshotMAC),
+ KeyId: &waProto.KeyId{Id: keyID},
+ Mutations: mutations,
+ }
+ syncdPatch.PatchMac = generatePatchMAC(syncdPatch, patchInfo.Type, keys.PatchMAC, state.Version)
+
+ result, err := proto.Marshal(syncdPatch)
+ if err != nil {
+ return nil, fmt.Errorf("failed to marshal compiled patch: %w", err)
+ }
+
+ return result, nil
+}
diff --git a/vendor/go.mau.fi/whatsmeow/appstate/hash.go b/vendor/go.mau.fi/whatsmeow/appstate/hash.go
index bb17eeac..2bb0924a 100644
--- a/vendor/go.mau.fi/whatsmeow/appstate/hash.go
+++ b/vendor/go.mau.fi/whatsmeow/appstate/hash.go
@@ -77,14 +77,14 @@ func (hs *HashState) generateSnapshotMAC(name WAPatchName, key []byte) []byte {
return concatAndHMAC(sha256.New, key, hs.Hash[:], uint64ToBytes(hs.Version), []byte(name))
}
-func generatePatchMAC(patch *waProto.SyncdPatch, name WAPatchName, key []byte) []byte {
+func generatePatchMAC(patch *waProto.SyncdPatch, name WAPatchName, key []byte, version uint64) []byte {
dataToHash := make([][]byte, len(patch.GetMutations())+3)
dataToHash[0] = patch.GetSnapshotMac()
for i, mutation := range patch.Mutations {
val := mutation.GetRecord().GetValue().GetBlob()
dataToHash[i+1] = val[len(val)-32:]
}
- dataToHash[len(dataToHash)-2] = uint64ToBytes(patch.GetVersion().GetVersion())
+ dataToHash[len(dataToHash)-2] = uint64ToBytes(version)
dataToHash[len(dataToHash)-1] = []byte(name)
return concatAndHMAC(sha256.New, key, dataToHash...)
}
diff --git a/vendor/go.mau.fi/whatsmeow/appstate/keys.go b/vendor/go.mau.fi/whatsmeow/appstate/keys.go
index ec19dc26..95f7d134 100644
--- a/vendor/go.mau.fi/whatsmeow/appstate/keys.go
+++ b/vendor/go.mau.fi/whatsmeow/appstate/keys.go
@@ -35,6 +35,22 @@ const (
// AllPatchNames contains all currently known patch state names.
var AllPatchNames = [...]WAPatchName{WAPatchCriticalBlock, WAPatchCriticalUnblockLow, WAPatchRegularHigh, WAPatchRegular, WAPatchRegularLow}
+// 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"
+)
+
type Processor struct {
keyCache map[string]ExpandedAppStateKeys
keyCacheLock sync.Mutex
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 16a9928c..6e27370c 100644
--- a/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go
+++ b/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.go
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.28.1
+// protoc-gen-go v1.30.0
// protoc v3.21.12
// source: binary/proto/def.proto
@@ -22,6 +22,62 @@ const (
_ = 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_binary_proto_def_proto_enumTypes[0].Descriptor()
+}
+
+func (ADVEncryptionType) Type() protoreflect.EnumType {
+ return &file_binary_proto_def_proto_enumTypes[0]
+}
+
+func (x ADVEncryptionType) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *ADVEncryptionType) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = ADVEncryptionType(num)
+ return nil
+}
+
+// Deprecated: Use ADVEncryptionType.Descriptor instead.
+func (ADVEncryptionType) EnumDescriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{0}
+}
+
type KeepType int32
const (
@@ -55,11 +111,11 @@ func (x KeepType) String() string {
}
func (KeepType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[0].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[1].Descriptor()
}
func (KeepType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[0]
+ return &file_binary_proto_def_proto_enumTypes[1]
}
func (x KeepType) Number() protoreflect.EnumNumber {
@@ -78,7 +134,7 @@ func (x *KeepType) UnmarshalJSON(b []byte) error {
// Deprecated: Use KeepType.Descriptor instead.
func (KeepType) EnumDescriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{1}
}
type PeerDataOperationRequestType int32
@@ -88,6 +144,7 @@ const (
PeerDataOperationRequestType_SEND_RECENT_STICKER_BOOTSTRAP PeerDataOperationRequestType = 1
PeerDataOperationRequestType_GENERATE_LINK_PREVIEW PeerDataOperationRequestType = 2
PeerDataOperationRequestType_HISTORY_SYNC_ON_DEMAND PeerDataOperationRequestType = 3
+ PeerDataOperationRequestType_PLACEHOLDER_MESSAGE_RESEND PeerDataOperationRequestType = 4
)
// Enum value maps for PeerDataOperationRequestType.
@@ -97,12 +154,14 @@ var (
1: "SEND_RECENT_STICKER_BOOTSTRAP",
2: "GENERATE_LINK_PREVIEW",
3: "HISTORY_SYNC_ON_DEMAND",
+ 4: "PLACEHOLDER_MESSAGE_RESEND",
}
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,
}
)
@@ -117,11 +176,11 @@ func (x PeerDataOperationRequestType) String() string {
}
func (PeerDataOperationRequestType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[1].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[2].Descriptor()
}
func (PeerDataOperationRequestType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[1]
+ return &file_binary_proto_def_proto_enumTypes[2]
}
func (x PeerDataOperationRequestType) Number() protoreflect.EnumNumber {
@@ -140,7 +199,7 @@ func (x *PeerDataOperationRequestType) UnmarshalJSON(b []byte) error {
// Deprecated: Use PeerDataOperationRequestType.Descriptor instead.
func (PeerDataOperationRequestType) EnumDescriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{2}
}
type MediaVisibility int32
@@ -176,11 +235,11 @@ func (x MediaVisibility) String() string {
}
func (MediaVisibility) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[2].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[3].Descriptor()
}
func (MediaVisibility) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[2]
+ return &file_binary_proto_def_proto_enumTypes[3]
}
func (x MediaVisibility) Number() protoreflect.EnumNumber {
@@ -199,7 +258,7 @@ func (x *MediaVisibility) UnmarshalJSON(b []byte) error {
// Deprecated: Use MediaVisibility.Descriptor instead.
func (MediaVisibility) EnumDescriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{2}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{3}
}
type DeviceProps_PlatformType int32
@@ -223,6 +282,11 @@ const (
DeviceProps_IOS_CATALYST DeviceProps_PlatformType = 15
DeviceProps_ANDROID_PHONE DeviceProps_PlatformType = 16
DeviceProps_ANDROID_AMBIGUOUS DeviceProps_PlatformType = 17
+ DeviceProps_WEAR_OS DeviceProps_PlatformType = 18
+ DeviceProps_AR_WRIST DeviceProps_PlatformType = 19
+ DeviceProps_AR_DEVICE DeviceProps_PlatformType = 20
+ DeviceProps_UWP DeviceProps_PlatformType = 21
+ DeviceProps_VR DeviceProps_PlatformType = 22
)
// Enum value maps for DeviceProps_PlatformType.
@@ -246,6 +310,11 @@ var (
15: "IOS_CATALYST",
16: "ANDROID_PHONE",
17: "ANDROID_AMBIGUOUS",
+ 18: "WEAR_OS",
+ 19: "AR_WRIST",
+ 20: "AR_DEVICE",
+ 21: "UWP",
+ 22: "VR",
}
DeviceProps_PlatformType_value = map[string]int32{
"UNKNOWN": 0,
@@ -266,6 +335,11 @@ var (
"IOS_CATALYST": 15,
"ANDROID_PHONE": 16,
"ANDROID_AMBIGUOUS": 17,
+ "WEAR_OS": 18,
+ "AR_WRIST": 19,
+ "AR_DEVICE": 20,
+ "UWP": 21,
+ "VR": 22,
}
)
@@ -280,11 +354,11 @@ func (x DeviceProps_PlatformType) String() string {
}
func (DeviceProps_PlatformType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[3].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[4].Descriptor()
}
func (DeviceProps_PlatformType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[3]
+ return &file_binary_proto_def_proto_enumTypes[4]
}
func (x DeviceProps_PlatformType) Number() protoreflect.EnumNumber {
@@ -306,174 +380,6 @@ func (DeviceProps_PlatformType) EnumDescriptor() ([]byte, []int) {
return file_binary_proto_def_proto_rawDescGZIP(), []int{5, 0}
}
-type PaymentInviteMessage_ServiceType int32
-
-const (
- PaymentInviteMessage_UNKNOWN PaymentInviteMessage_ServiceType = 0
- PaymentInviteMessage_FBPAY PaymentInviteMessage_ServiceType = 1
- PaymentInviteMessage_NOVI PaymentInviteMessage_ServiceType = 2
- PaymentInviteMessage_UPI PaymentInviteMessage_ServiceType = 3
-)
-
-// Enum value maps for PaymentInviteMessage_ServiceType.
-var (
- PaymentInviteMessage_ServiceType_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "FBPAY",
- 2: "NOVI",
- 3: "UPI",
- }
- PaymentInviteMessage_ServiceType_value = map[string]int32{
- "UNKNOWN": 0,
- "FBPAY": 1,
- "NOVI": 2,
- "UPI": 3,
- }
-)
-
-func (x PaymentInviteMessage_ServiceType) Enum() *PaymentInviteMessage_ServiceType {
- p := new(PaymentInviteMessage_ServiceType)
- *p = x
- return p
-}
-
-func (x PaymentInviteMessage_ServiceType) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (PaymentInviteMessage_ServiceType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[4].Descriptor()
-}
-
-func (PaymentInviteMessage_ServiceType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[4]
-}
-
-func (x PaymentInviteMessage_ServiceType) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Do not use.
-func (x *PaymentInviteMessage_ServiceType) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = PaymentInviteMessage_ServiceType(num)
- return nil
-}
-
-// Deprecated: Use PaymentInviteMessage_ServiceType.Descriptor instead.
-func (PaymentInviteMessage_ServiceType) EnumDescriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{7, 0}
-}
-
-type OrderMessage_OrderSurface int32
-
-const (
- OrderMessage_CATALOG OrderMessage_OrderSurface = 1
-)
-
-// Enum value maps for OrderMessage_OrderSurface.
-var (
- OrderMessage_OrderSurface_name = map[int32]string{
- 1: "CATALOG",
- }
- OrderMessage_OrderSurface_value = map[string]int32{
- "CATALOG": 1,
- }
-)
-
-func (x OrderMessage_OrderSurface) Enum() *OrderMessage_OrderSurface {
- p := new(OrderMessage_OrderSurface)
- *p = x
- return p
-}
-
-func (x OrderMessage_OrderSurface) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (OrderMessage_OrderSurface) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[5].Descriptor()
-}
-
-func (OrderMessage_OrderSurface) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[5]
-}
-
-func (x OrderMessage_OrderSurface) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Do not use.
-func (x *OrderMessage_OrderSurface) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = OrderMessage_OrderSurface(num)
- return nil
-}
-
-// Deprecated: Use OrderMessage_OrderSurface.Descriptor instead.
-func (OrderMessage_OrderSurface) EnumDescriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 0}
-}
-
-type OrderMessage_OrderStatus int32
-
-const (
- OrderMessage_INQUIRY OrderMessage_OrderStatus = 1
-)
-
-// Enum value maps for OrderMessage_OrderStatus.
-var (
- OrderMessage_OrderStatus_name = map[int32]string{
- 1: "INQUIRY",
- }
- OrderMessage_OrderStatus_value = map[string]int32{
- "INQUIRY": 1,
- }
-)
-
-func (x OrderMessage_OrderStatus) Enum() *OrderMessage_OrderStatus {
- p := new(OrderMessage_OrderStatus)
- *p = x
- return p
-}
-
-func (x OrderMessage_OrderStatus) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
-}
-
-func (OrderMessage_OrderStatus) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[6].Descriptor()
-}
-
-func (OrderMessage_OrderStatus) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[6]
-}
-
-func (x OrderMessage_OrderStatus) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
-}
-
-// Deprecated: Do not use.
-func (x *OrderMessage_OrderStatus) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = OrderMessage_OrderStatus(num)
- return nil
-}
-
-// Deprecated: Use OrderMessage_OrderStatus.Descriptor instead.
-func (OrderMessage_OrderStatus) EnumDescriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 1}
-}
-
type ListResponseMessage_ListType int32
const (
@@ -504,11 +410,11 @@ func (x ListResponseMessage_ListType) String() string {
}
func (ListResponseMessage_ListType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[7].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[5].Descriptor()
}
func (ListResponseMessage_ListType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[7]
+ return &file_binary_proto_def_proto_enumTypes[5]
}
func (x ListResponseMessage_ListType) Number() protoreflect.EnumNumber {
@@ -527,7 +433,7 @@ func (x *ListResponseMessage_ListType) UnmarshalJSON(b []byte) error {
// Deprecated: Use ListResponseMessage_ListType.Descriptor instead.
func (ListResponseMessage_ListType) EnumDescriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{11, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{7, 0}
}
type ListMessage_ListType int32
@@ -563,11 +469,11 @@ func (x ListMessage_ListType) String() string {
}
func (ListMessage_ListType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[8].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[6].Descriptor()
}
func (ListMessage_ListType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[8]
+ return &file_binary_proto_def_proto_enumTypes[6]
}
func (x ListMessage_ListType) Number() protoreflect.EnumNumber {
@@ -586,7 +492,7 @@ func (x *ListMessage_ListType) UnmarshalJSON(b []byte) error {
// Deprecated: Use ListMessage_ListType.Descriptor instead.
func (ListMessage_ListType) EnumDescriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 0}
}
type InvoiceMessage_AttachmentType int32
@@ -619,11 +525,11 @@ func (x InvoiceMessage_AttachmentType) String() string {
}
func (InvoiceMessage_AttachmentType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[9].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[7].Descriptor()
}
func (InvoiceMessage_AttachmentType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[9]
+ return &file_binary_proto_def_proto_enumTypes[7]
}
func (x InvoiceMessage_AttachmentType) Number() protoreflect.EnumNumber {
@@ -642,7 +548,63 @@ func (x *InvoiceMessage_AttachmentType) UnmarshalJSON(b []byte) error {
// Deprecated: Use InvoiceMessage_AttachmentType.Descriptor instead.
func (InvoiceMessage_AttachmentType) EnumDescriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{14, 0}
+ 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
@@ -681,11 +643,11 @@ func (x InteractiveMessage_ShopMessage_Surface) String() string {
}
func (InteractiveMessage_ShopMessage_Surface) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[10].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[9].Descriptor()
}
func (InteractiveMessage_ShopMessage_Surface) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[10]
+ return &file_binary_proto_def_proto_enumTypes[9]
}
func (x InteractiveMessage_ShopMessage_Surface) Number() protoreflect.EnumNumber {
@@ -704,7 +666,7 @@ func (x *InteractiveMessage_ShopMessage_Surface) UnmarshalJSON(b []byte) error {
// Deprecated: Use InteractiveMessage_ShopMessage_Surface.Descriptor instead.
func (InteractiveMessage_ShopMessage_Surface) EnumDescriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0, 0}
}
type HistorySyncNotification_HistorySyncType int32
@@ -752,11 +714,11 @@ func (x HistorySyncNotification_HistorySyncType) String() string {
}
func (HistorySyncNotification_HistorySyncType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[11].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[10].Descriptor()
}
func (HistorySyncNotification_HistorySyncType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[11]
+ return &file_binary_proto_def_proto_enumTypes[10]
}
func (x HistorySyncNotification_HistorySyncType) Number() protoreflect.EnumNumber {
@@ -775,7 +737,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{19, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{15, 0}
}
type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType int32
@@ -823,11 +785,11 @@ func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeC
}
func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[12].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[11].Descriptor()
}
func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[12]
+ return &file_binary_proto_def_proto_enumTypes[11]
}
func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType) Number() protoreflect.EnumNumber {
@@ -846,7 +808,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{20, 0, 0, 1, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 1, 0}
}
type HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType int32
@@ -879,11 +841,11 @@ func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeC
}
func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[13].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[12].Descriptor()
}
func (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[13]
+ return &file_binary_proto_def_proto_enumTypes[12]
}
func (x HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType) Number() protoreflect.EnumNumber {
@@ -902,7 +864,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{20, 0, 0, 1, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 1, 1}
}
type GroupInviteMessage_GroupType int32
@@ -935,11 +897,11 @@ func (x GroupInviteMessage_GroupType) String() string {
}
func (GroupInviteMessage_GroupType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[14].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[13].Descriptor()
}
func (GroupInviteMessage_GroupType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[14]
+ return &file_binary_proto_def_proto_enumTypes[13]
}
func (x GroupInviteMessage_GroupType) Number() protoreflect.EnumNumber {
@@ -958,7 +920,7 @@ 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{21, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{17, 0}
}
type ExtendedTextMessage_PreviewType int32
@@ -991,11 +953,11 @@ func (x ExtendedTextMessage_PreviewType) String() string {
}
func (ExtendedTextMessage_PreviewType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[15].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[14].Descriptor()
}
func (ExtendedTextMessage_PreviewType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[15]
+ return &file_binary_proto_def_proto_enumTypes[14]
}
func (x ExtendedTextMessage_PreviewType) Number() protoreflect.EnumNumber {
@@ -1014,7 +976,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{23, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{19, 0}
}
type ExtendedTextMessage_InviteLinkGroupType int32
@@ -1053,11 +1015,11 @@ func (x ExtendedTextMessage_InviteLinkGroupType) String() string {
}
func (ExtendedTextMessage_InviteLinkGroupType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[16].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[15].Descriptor()
}
func (ExtendedTextMessage_InviteLinkGroupType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[16]
+ return &file_binary_proto_def_proto_enumTypes[15]
}
func (x ExtendedTextMessage_InviteLinkGroupType) Number() protoreflect.EnumNumber {
@@ -1076,19 +1038,16 @@ 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{23, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{19, 1}
}
type ExtendedTextMessage_FontType int32
const (
- ExtendedTextMessage_SANS_SERIF ExtendedTextMessage_FontType = 0
- ExtendedTextMessage_SERIF ExtendedTextMessage_FontType = 1
- ExtendedTextMessage_NORICAN_REGULAR ExtendedTextMessage_FontType = 2
- ExtendedTextMessage_BRYNDAN_WRITE ExtendedTextMessage_FontType = 3
- ExtendedTextMessage_BEBASNEUE_REGULAR ExtendedTextMessage_FontType = 4
- ExtendedTextMessage_OSWALD_HEAVY ExtendedTextMessage_FontType = 5
- ExtendedTextMessage_DAMION_REGULAR ExtendedTextMessage_FontType = 6
+ ExtendedTextMessage_SYSTEM ExtendedTextMessage_FontType = 0
+ ExtendedTextMessage_SYSTEM_TEXT ExtendedTextMessage_FontType = 1
+ ExtendedTextMessage_FB_SCRIPT ExtendedTextMessage_FontType = 2
+ ExtendedTextMessage_SYSTEM_BOLD ExtendedTextMessage_FontType = 6
ExtendedTextMessage_MORNINGBREEZE_REGULAR ExtendedTextMessage_FontType = 7
ExtendedTextMessage_CALISTOGA_REGULAR ExtendedTextMessage_FontType = 8
ExtendedTextMessage_EXO2_EXTRABOLD ExtendedTextMessage_FontType = 9
@@ -1098,26 +1057,20 @@ const (
// Enum value maps for ExtendedTextMessage_FontType.
var (
ExtendedTextMessage_FontType_name = map[int32]string{
- 0: "SANS_SERIF",
- 1: "SERIF",
- 2: "NORICAN_REGULAR",
- 3: "BRYNDAN_WRITE",
- 4: "BEBASNEUE_REGULAR",
- 5: "OSWALD_HEAVY",
- 6: "DAMION_REGULAR",
+ 0: "SYSTEM",
+ 1: "SYSTEM_TEXT",
+ 2: "FB_SCRIPT",
+ 6: "SYSTEM_BOLD",
7: "MORNINGBREEZE_REGULAR",
8: "CALISTOGA_REGULAR",
9: "EXO2_EXTRABOLD",
10: "COURIERPRIME_BOLD",
}
ExtendedTextMessage_FontType_value = map[string]int32{
- "SANS_SERIF": 0,
- "SERIF": 1,
- "NORICAN_REGULAR": 2,
- "BRYNDAN_WRITE": 3,
- "BEBASNEUE_REGULAR": 4,
- "OSWALD_HEAVY": 5,
- "DAMION_REGULAR": 6,
+ "SYSTEM": 0,
+ "SYSTEM_TEXT": 1,
+ "FB_SCRIPT": 2,
+ "SYSTEM_BOLD": 6,
"MORNINGBREEZE_REGULAR": 7,
"CALISTOGA_REGULAR": 8,
"EXO2_EXTRABOLD": 9,
@@ -1136,11 +1089,11 @@ func (x ExtendedTextMessage_FontType) String() string {
}
func (ExtendedTextMessage_FontType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[17].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[16].Descriptor()
}
func (ExtendedTextMessage_FontType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[17]
+ return &file_binary_proto_def_proto_enumTypes[16]
}
func (x ExtendedTextMessage_FontType) Number() protoreflect.EnumNumber {
@@ -1159,7 +1112,7 @@ 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{23, 2}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{19, 2}
}
type ButtonsResponseMessage_Type int32
@@ -1192,11 +1145,11 @@ func (x ButtonsResponseMessage_Type) String() string {
}
func (ButtonsResponseMessage_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[18].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[17].Descriptor()
}
func (ButtonsResponseMessage_Type) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[18]
+ return &file_binary_proto_def_proto_enumTypes[17]
}
func (x ButtonsResponseMessage_Type) Number() protoreflect.EnumNumber {
@@ -1215,7 +1168,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{33, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{30, 0}
}
type ButtonsMessage_HeaderType int32
@@ -1263,11 +1216,11 @@ func (x ButtonsMessage_HeaderType) String() string {
}
func (ButtonsMessage_HeaderType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[19].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[18].Descriptor()
}
func (ButtonsMessage_HeaderType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[19]
+ return &file_binary_proto_def_proto_enumTypes[18]
}
func (x ButtonsMessage_HeaderType) Number() protoreflect.EnumNumber {
@@ -1286,7 +1239,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{34, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0}
}
type ButtonsMessage_Button_Type int32
@@ -1322,11 +1275,11 @@ func (x ButtonsMessage_Button_Type) String() string {
}
func (ButtonsMessage_Button_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[20].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[19].Descriptor()
}
func (ButtonsMessage_Button_Type) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[20]
+ return &file_binary_proto_def_proto_enumTypes[19]
}
func (x ButtonsMessage_Button_Type) Number() protoreflect.EnumNumber {
@@ -1345,7 +1298,140 @@ 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{34, 0, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0, 0}
+}
+
+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
+)
+
+// Enum value maps for BotFeedbackMessage_BotFeedbackKind.
+var (
+ 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",
+ }
+ 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,
+ }
+)
+
+func (x BotFeedbackMessage_BotFeedbackKind) Enum() *BotFeedbackMessage_BotFeedbackKind {
+ p := new(BotFeedbackMessage_BotFeedbackKind)
+ *p = x
+ return p
+}
+
+func (x BotFeedbackMessage_BotFeedbackKind) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (BotFeedbackMessage_BotFeedbackKind) Descriptor() protoreflect.EnumDescriptor {
+ return file_binary_proto_def_proto_enumTypes[20].Descriptor()
+}
+
+func (BotFeedbackMessage_BotFeedbackKind) Type() protoreflect.EnumType {
+ return &file_binary_proto_def_proto_enumTypes[20]
+}
+
+func (x BotFeedbackMessage_BotFeedbackKind) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *BotFeedbackMessage_BotFeedbackKind) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = BotFeedbackMessage_BotFeedbackKind(num)
+ return nil
+}
+
+// Deprecated: Use BotFeedbackMessage_BotFeedbackKind.Descriptor instead.
+func (BotFeedbackMessage_BotFeedbackKind) EnumDescriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{32, 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
+)
+
+// Enum value maps for DisappearingMode_Trigger.
+var (
+ DisappearingMode_Trigger_name = map[int32]string{
+ 0: "UNKNOWN",
+ 1: "CHAT_SETTING",
+ 2: "ACCOUNT_SETTING",
+ 3: "BULK_CHANGE",
+ }
+ DisappearingMode_Trigger_value = map[string]int32{
+ "UNKNOWN": 0,
+ "CHAT_SETTING": 1,
+ "ACCOUNT_SETTING": 2,
+ "BULK_CHANGE": 3,
+ }
+)
+
+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_binary_proto_def_proto_enumTypes[21].Descriptor()
+}
+
+func (DisappearingMode_Trigger) Type() protoreflect.EnumType {
+ return &file_binary_proto_def_proto_enumTypes[21]
+}
+
+func (x DisappearingMode_Trigger) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *DisappearingMode_Trigger) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = DisappearingMode_Trigger(num)
+ return nil
+}
+
+// Deprecated: Use DisappearingMode_Trigger.Descriptor instead.
+func (DisappearingMode_Trigger) EnumDescriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{45, 0}
}
type DisappearingMode_Initiator int32
@@ -1381,11 +1467,11 @@ func (x DisappearingMode_Initiator) String() string {
}
func (DisappearingMode_Initiator) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[21].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[22].Descriptor()
}
func (DisappearingMode_Initiator) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[21]
+ return &file_binary_proto_def_proto_enumTypes[22]
}
func (x DisappearingMode_Initiator) Number() protoreflect.EnumNumber {
@@ -1404,7 +1490,7 @@ func (x *DisappearingMode_Initiator) UnmarshalJSON(b []byte) error {
// Deprecated: Use DisappearingMode_Initiator.Descriptor instead.
func (DisappearingMode_Initiator) EnumDescriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{45, 1}
}
type ContextInfo_ExternalAdReplyInfo_MediaType int32
@@ -1440,11 +1526,11 @@ func (x ContextInfo_ExternalAdReplyInfo_MediaType) String() string {
}
func (ContextInfo_ExternalAdReplyInfo_MediaType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[22].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[23].Descriptor()
}
func (ContextInfo_ExternalAdReplyInfo_MediaType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[22]
+ return &file_binary_proto_def_proto_enumTypes[23]
}
func (x ContextInfo_ExternalAdReplyInfo_MediaType) Number() protoreflect.EnumNumber {
@@ -1463,7 +1549,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{49, 1, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 2, 0}
}
type ContextInfo_AdReplyInfo_MediaType int32
@@ -1499,11 +1585,11 @@ func (x ContextInfo_AdReplyInfo_MediaType) String() string {
}
func (ContextInfo_AdReplyInfo_MediaType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[23].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[24].Descriptor()
}
func (ContextInfo_AdReplyInfo_MediaType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[23]
+ return &file_binary_proto_def_proto_enumTypes[24]
}
func (x ContextInfo_AdReplyInfo_MediaType) Number() protoreflect.EnumNumber {
@@ -1522,7 +1608,7 @@ func (x *ContextInfo_AdReplyInfo_MediaType) UnmarshalJSON(b []byte) error {
// Deprecated: Use ContextInfo_AdReplyInfo_MediaType.Descriptor instead.
func (ContextInfo_AdReplyInfo_MediaType) EnumDescriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{49, 2, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 4, 0}
}
type PaymentBackground_Type int32
@@ -1555,11 +1641,11 @@ func (x PaymentBackground_Type) String() string {
}
func (PaymentBackground_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[24].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[25].Descriptor()
}
func (PaymentBackground_Type) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[24]
+ return &file_binary_proto_def_proto_enumTypes[25]
}
func (x PaymentBackground_Type) Number() protoreflect.EnumNumber {
@@ -1578,7 +1664,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{53, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{54, 0}
}
type VideoMessage_Attribution int32
@@ -1614,11 +1700,11 @@ func (x VideoMessage_Attribution) String() string {
}
func (VideoMessage_Attribution) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[25].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[26].Descriptor()
}
func (VideoMessage_Attribution) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[25]
+ return &file_binary_proto_def_proto_enumTypes[26]
}
func (x VideoMessage_Attribution) Number() protoreflect.EnumNumber {
@@ -1637,7 +1723,7 @@ 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{57, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{59, 0}
}
type ScheduledCallEditMessage_EditType int32
@@ -1670,11 +1756,11 @@ func (x ScheduledCallEditMessage_EditType) String() string {
}
func (ScheduledCallEditMessage_EditType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[26].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[27].Descriptor()
}
func (ScheduledCallEditMessage_EditType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[26]
+ return &file_binary_proto_def_proto_enumTypes[27]
}
func (x ScheduledCallEditMessage_EditType) Number() protoreflect.EnumNumber {
@@ -1693,7 +1779,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{64, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{66, 0}
}
type ScheduledCallCreationMessage_CallType int32
@@ -1729,11 +1815,11 @@ func (x ScheduledCallCreationMessage_CallType) String() string {
}
func (ScheduledCallCreationMessage_CallType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[27].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[28].Descriptor()
}
func (ScheduledCallCreationMessage_CallType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[27]
+ return &file_binary_proto_def_proto_enumTypes[28]
}
func (x ScheduledCallCreationMessage_CallType) Number() protoreflect.EnumNumber {
@@ -1752,7 +1838,7 @@ 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{65, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{67, 0}
}
type ProtocolMessage_Type int32
@@ -1771,6 +1857,8 @@ const (
ProtocolMessage_MESSAGE_EDIT ProtocolMessage_Type = 14
ProtocolMessage_PEER_DATA_OPERATION_REQUEST_MESSAGE ProtocolMessage_Type = 16
ProtocolMessage_PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE ProtocolMessage_Type = 17
+ ProtocolMessage_REQUEST_WELCOME_MESSAGE ProtocolMessage_Type = 18
+ ProtocolMessage_BOT_FEEDBACK_MESSAGE ProtocolMessage_Type = 19
)
// Enum value maps for ProtocolMessage_Type.
@@ -1789,6 +1877,8 @@ var (
14: "MESSAGE_EDIT",
16: "PEER_DATA_OPERATION_REQUEST_MESSAGE",
17: "PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE",
+ 18: "REQUEST_WELCOME_MESSAGE",
+ 19: "BOT_FEEDBACK_MESSAGE",
}
ProtocolMessage_Type_value = map[string]int32{
"REVOKE": 0,
@@ -1804,6 +1894,8 @@ var (
"MESSAGE_EDIT": 14,
"PEER_DATA_OPERATION_REQUEST_MESSAGE": 16,
"PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE": 17,
+ "REQUEST_WELCOME_MESSAGE": 18,
+ "BOT_FEEDBACK_MESSAGE": 19,
}
)
@@ -1818,11 +1910,11 @@ func (x ProtocolMessage_Type) String() string {
}
func (ProtocolMessage_Type) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[28].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[29].Descriptor()
}
func (ProtocolMessage_Type) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[28]
+ return &file_binary_proto_def_proto_enumTypes[29]
}
func (x ProtocolMessage_Type) Number() protoreflect.EnumNumber {
@@ -1841,66 +1933,234 @@ 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{69, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{71, 0}
}
-type PinMessage_PinMessageType int32
+type PinInChatMessage_Type int32
const (
- PinMessage_UNKNOWN_PIN_MESSAGE_TYPE PinMessage_PinMessageType = 0
- PinMessage_PIN_FOR_ALL PinMessage_PinMessageType = 1
- PinMessage_UNPIN_FOR_ALL PinMessage_PinMessageType = 2
+ PinInChatMessage_UNKNOWN_TYPE PinInChatMessage_Type = 0
+ PinInChatMessage_PIN_FOR_ALL PinInChatMessage_Type = 1
+ PinInChatMessage_UNPIN_FOR_ALL PinInChatMessage_Type = 2
)
-// Enum value maps for PinMessage_PinMessageType.
+// Enum value maps for PinInChatMessage_Type.
var (
- PinMessage_PinMessageType_name = map[int32]string{
- 0: "UNKNOWN_PIN_MESSAGE_TYPE",
+ PinInChatMessage_Type_name = map[int32]string{
+ 0: "UNKNOWN_TYPE",
1: "PIN_FOR_ALL",
2: "UNPIN_FOR_ALL",
}
- PinMessage_PinMessageType_value = map[string]int32{
- "UNKNOWN_PIN_MESSAGE_TYPE": 0,
- "PIN_FOR_ALL": 1,
- "UNPIN_FOR_ALL": 2,
+ PinInChatMessage_Type_value = map[string]int32{
+ "UNKNOWN_TYPE": 0,
+ "PIN_FOR_ALL": 1,
+ "UNPIN_FOR_ALL": 2,
}
)
-func (x PinMessage_PinMessageType) Enum() *PinMessage_PinMessageType {
- p := new(PinMessage_PinMessageType)
+func (x PinInChatMessage_Type) Enum() *PinInChatMessage_Type {
+ p := new(PinInChatMessage_Type)
*p = x
return p
}
-func (x PinMessage_PinMessageType) String() string {
+func (x PinInChatMessage_Type) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
-func (PinMessage_PinMessageType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[29].Descriptor()
+func (PinInChatMessage_Type) Descriptor() protoreflect.EnumDescriptor {
+ return file_binary_proto_def_proto_enumTypes[30].Descriptor()
}
-func (PinMessage_PinMessageType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[29]
+func (PinInChatMessage_Type) Type() protoreflect.EnumType {
+ return &file_binary_proto_def_proto_enumTypes[30]
+}
+
+func (x PinInChatMessage_Type) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *PinInChatMessage_Type) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = PinInChatMessage_Type(num)
+ return nil
+}
+
+// Deprecated: Use PinInChatMessage_Type.Descriptor instead.
+func (PinInChatMessage_Type) EnumDescriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{78, 0}
+}
+
+type PaymentInviteMessage_ServiceType int32
+
+const (
+ PaymentInviteMessage_UNKNOWN PaymentInviteMessage_ServiceType = 0
+ PaymentInviteMessage_FBPAY PaymentInviteMessage_ServiceType = 1
+ PaymentInviteMessage_NOVI PaymentInviteMessage_ServiceType = 2
+ PaymentInviteMessage_UPI PaymentInviteMessage_ServiceType = 3
+)
+
+// Enum value maps for PaymentInviteMessage_ServiceType.
+var (
+ PaymentInviteMessage_ServiceType_name = map[int32]string{
+ 0: "UNKNOWN",
+ 1: "FBPAY",
+ 2: "NOVI",
+ 3: "UPI",
+ }
+ PaymentInviteMessage_ServiceType_value = map[string]int32{
+ "UNKNOWN": 0,
+ "FBPAY": 1,
+ "NOVI": 2,
+ "UPI": 3,
+ }
+)
+
+func (x PaymentInviteMessage_ServiceType) Enum() *PaymentInviteMessage_ServiceType {
+ p := new(PaymentInviteMessage_ServiceType)
+ *p = x
+ return p
+}
+
+func (x PaymentInviteMessage_ServiceType) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (PaymentInviteMessage_ServiceType) Descriptor() protoreflect.EnumDescriptor {
+ return file_binary_proto_def_proto_enumTypes[31].Descriptor()
+}
+
+func (PaymentInviteMessage_ServiceType) Type() protoreflect.EnumType {
+ return &file_binary_proto_def_proto_enumTypes[31]
+}
+
+func (x PaymentInviteMessage_ServiceType) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *PaymentInviteMessage_ServiceType) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = PaymentInviteMessage_ServiceType(num)
+ return nil
+}
+
+// Deprecated: Use PaymentInviteMessage_ServiceType.Descriptor instead.
+func (PaymentInviteMessage_ServiceType) EnumDescriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{81, 0}
+}
+
+type OrderMessage_OrderSurface int32
+
+const (
+ OrderMessage_CATALOG OrderMessage_OrderSurface = 1
+)
+
+// Enum value maps for OrderMessage_OrderSurface.
+var (
+ OrderMessage_OrderSurface_name = map[int32]string{
+ 1: "CATALOG",
+ }
+ OrderMessage_OrderSurface_value = map[string]int32{
+ "CATALOG": 1,
+ }
+)
+
+func (x OrderMessage_OrderSurface) Enum() *OrderMessage_OrderSurface {
+ p := new(OrderMessage_OrderSurface)
+ *p = x
+ return p
+}
+
+func (x OrderMessage_OrderSurface) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (OrderMessage_OrderSurface) Descriptor() protoreflect.EnumDescriptor {
+ return file_binary_proto_def_proto_enumTypes[32].Descriptor()
+}
+
+func (OrderMessage_OrderSurface) Type() protoreflect.EnumType {
+ return &file_binary_proto_def_proto_enumTypes[32]
}
-func (x PinMessage_PinMessageType) Number() protoreflect.EnumNumber {
+func (x OrderMessage_OrderSurface) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
-func (x *PinMessage_PinMessageType) UnmarshalJSON(b []byte) error {
+func (x *OrderMessage_OrderSurface) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
- *x = PinMessage_PinMessageType(num)
+ *x = OrderMessage_OrderSurface(num)
return nil
}
-// Deprecated: Use PinMessage_PinMessageType.Descriptor instead.
-func (PinMessage_PinMessageType) EnumDescriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{76, 0}
+// Deprecated: Use OrderMessage_OrderSurface.Descriptor instead.
+func (OrderMessage_OrderSurface) EnumDescriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{82, 0}
+}
+
+type OrderMessage_OrderStatus int32
+
+const (
+ OrderMessage_INQUIRY OrderMessage_OrderStatus = 1
+)
+
+// Enum value maps for OrderMessage_OrderStatus.
+var (
+ OrderMessage_OrderStatus_name = map[int32]string{
+ 1: "INQUIRY",
+ }
+ OrderMessage_OrderStatus_value = map[string]int32{
+ "INQUIRY": 1,
+ }
+)
+
+func (x OrderMessage_OrderStatus) Enum() *OrderMessage_OrderStatus {
+ p := new(OrderMessage_OrderStatus)
+ *p = x
+ return p
+}
+
+func (x OrderMessage_OrderStatus) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (OrderMessage_OrderStatus) Descriptor() protoreflect.EnumDescriptor {
+ return file_binary_proto_def_proto_enumTypes[33].Descriptor()
+}
+
+func (OrderMessage_OrderStatus) Type() protoreflect.EnumType {
+ return &file_binary_proto_def_proto_enumTypes[33]
+}
+
+func (x OrderMessage_OrderStatus) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *OrderMessage_OrderStatus) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = OrderMessage_OrderStatus(num)
+ return nil
+}
+
+// Deprecated: Use OrderMessage_OrderStatus.Descriptor instead.
+func (OrderMessage_OrderStatus) EnumDescriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{82, 1}
}
type PastParticipant_LeaveReason int32
@@ -1933,11 +2193,11 @@ func (x PastParticipant_LeaveReason) String() string {
}
func (PastParticipant_LeaveReason) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[30].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[34].Descriptor()
}
func (PastParticipant_LeaveReason) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[30]
+ return &file_binary_proto_def_proto_enumTypes[34]
}
func (x PastParticipant_LeaveReason) Number() protoreflect.EnumNumber {
@@ -1956,7 +2216,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{83, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{89, 0}
}
type HistorySync_HistorySyncType int32
@@ -2004,11 +2264,11 @@ func (x HistorySync_HistorySyncType) String() string {
}
func (HistorySync_HistorySyncType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[31].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[35].Descriptor()
}
func (HistorySync_HistorySyncType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[31]
+ return &file_binary_proto_def_proto_enumTypes[35]
}
func (x HistorySync_HistorySyncType) Number() protoreflect.EnumNumber {
@@ -2027,7 +2287,7 @@ 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{84, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{91, 0}
}
type GroupParticipant_Rank int32
@@ -2063,11 +2323,11 @@ func (x GroupParticipant_Rank) String() string {
}
func (GroupParticipant_Rank) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[32].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[36].Descriptor()
}
func (GroupParticipant_Rank) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[32]
+ return &file_binary_proto_def_proto_enumTypes[36]
}
func (x GroupParticipant_Rank) Number() protoreflect.EnumNumber {
@@ -2086,14 +2346,15 @@ 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{86, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{93, 0}
}
type Conversation_EndOfHistoryTransferType int32
const (
- Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 0
- Conversation_COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 1
+ Conversation_COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 0
+ Conversation_COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 1
+ Conversation_COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY Conversation_EndOfHistoryTransferType = 2
)
// Enum value maps for Conversation_EndOfHistoryTransferType.
@@ -2101,10 +2362,12 @@ var (
Conversation_EndOfHistoryTransferType_name = map[int32]string{
0: "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY",
1: "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY",
+ 2: "COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY",
}
Conversation_EndOfHistoryTransferType_value = map[string]int32{
- "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY": 0,
- "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY": 1,
+ "COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY": 0,
+ "COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY": 1,
+ "COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY": 2,
}
)
@@ -2119,11 +2382,11 @@ func (x Conversation_EndOfHistoryTransferType) String() string {
}
func (Conversation_EndOfHistoryTransferType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[33].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[37].Descriptor()
}
func (Conversation_EndOfHistoryTransferType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[33]
+ return &file_binary_proto_def_proto_enumTypes[37]
}
func (x Conversation_EndOfHistoryTransferType) Number() protoreflect.EnumNumber {
@@ -2142,7 +2405,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{88, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{95, 0}
}
type MediaRetryNotification_ResultType int32
@@ -2181,11 +2444,11 @@ func (x MediaRetryNotification_ResultType) String() string {
}
func (MediaRetryNotification_ResultType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[34].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[38].Descriptor()
}
func (MediaRetryNotification_ResultType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[34]
+ return &file_binary_proto_def_proto_enumTypes[38]
}
func (x MediaRetryNotification_ResultType) Number() protoreflect.EnumNumber {
@@ -2204,7 +2467,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{94, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{99, 0}
}
type SyncdMutation_SyncdOperation int32
@@ -2237,11 +2500,11 @@ func (x SyncdMutation_SyncdOperation) String() string {
}
func (SyncdMutation_SyncdOperation) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[35].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[39].Descriptor()
}
func (SyncdMutation_SyncdOperation) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[35]
+ return &file_binary_proto_def_proto_enumTypes[39]
}
func (x SyncdMutation_SyncdOperation) Number() protoreflect.EnumNumber {
@@ -2260,7 +2523,60 @@ 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{102, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{107, 0}
+}
+
+type MarketingMessageAction_MarketingMessagePrototypeType int32
+
+const (
+ MarketingMessageAction_PERSONALIZED MarketingMessageAction_MarketingMessagePrototypeType = 0
+)
+
+// Enum value maps for MarketingMessageAction_MarketingMessagePrototypeType.
+var (
+ MarketingMessageAction_MarketingMessagePrototypeType_name = map[int32]string{
+ 0: "PERSONALIZED",
+ }
+ MarketingMessageAction_MarketingMessagePrototypeType_value = map[string]int32{
+ "PERSONALIZED": 0,
+ }
+)
+
+func (x MarketingMessageAction_MarketingMessagePrototypeType) Enum() *MarketingMessageAction_MarketingMessagePrototypeType {
+ p := new(MarketingMessageAction_MarketingMessagePrototypeType)
+ *p = x
+ return p
+}
+
+func (x MarketingMessageAction_MarketingMessagePrototypeType) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (MarketingMessageAction_MarketingMessagePrototypeType) Descriptor() protoreflect.EnumDescriptor {
+ return file_binary_proto_def_proto_enumTypes[40].Descriptor()
+}
+
+func (MarketingMessageAction_MarketingMessagePrototypeType) Type() protoreflect.EnumType {
+ return &file_binary_proto_def_proto_enumTypes[40]
+}
+
+func (x MarketingMessageAction_MarketingMessagePrototypeType) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *MarketingMessageAction_MarketingMessagePrototypeType) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = MarketingMessageAction_MarketingMessagePrototypeType(num)
+ return nil
+}
+
+// Deprecated: Use MarketingMessageAction_MarketingMessagePrototypeType.Descriptor instead.
+func (MarketingMessageAction_MarketingMessagePrototypeType) EnumDescriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{134, 0}
}
type BizIdentityInfo_VerifiedLevelValue int32
@@ -2296,11 +2612,11 @@ func (x BizIdentityInfo_VerifiedLevelValue) String() string {
}
func (BizIdentityInfo_VerifiedLevelValue) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[36].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[41].Descriptor()
}
func (BizIdentityInfo_VerifiedLevelValue) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[36]
+ return &file_binary_proto_def_proto_enumTypes[41]
}
func (x BizIdentityInfo_VerifiedLevelValue) Number() protoreflect.EnumNumber {
@@ -2319,7 +2635,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{145, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{154, 0}
}
type BizIdentityInfo_HostStorageType int32
@@ -2352,11 +2668,11 @@ func (x BizIdentityInfo_HostStorageType) String() string {
}
func (BizIdentityInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[37].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[42].Descriptor()
}
func (BizIdentityInfo_HostStorageType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[37]
+ return &file_binary_proto_def_proto_enumTypes[42]
}
func (x BizIdentityInfo_HostStorageType) Number() protoreflect.EnumNumber {
@@ -2375,7 +2691,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{145, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{154, 1}
}
type BizIdentityInfo_ActualActorsType int32
@@ -2408,11 +2724,11 @@ func (x BizIdentityInfo_ActualActorsType) String() string {
}
func (BizIdentityInfo_ActualActorsType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[38].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[43].Descriptor()
}
func (BizIdentityInfo_ActualActorsType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[38]
+ return &file_binary_proto_def_proto_enumTypes[43]
}
func (x BizIdentityInfo_ActualActorsType) Number() protoreflect.EnumNumber {
@@ -2431,7 +2747,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{145, 2}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{154, 2}
}
type BizAccountLinkInfo_HostStorageType int32
@@ -2464,11 +2780,11 @@ func (x BizAccountLinkInfo_HostStorageType) String() string {
}
func (BizAccountLinkInfo_HostStorageType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[39].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[44].Descriptor()
}
func (BizAccountLinkInfo_HostStorageType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[39]
+ return &file_binary_proto_def_proto_enumTypes[44]
}
func (x BizAccountLinkInfo_HostStorageType) Number() protoreflect.EnumNumber {
@@ -2487,7 +2803,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{147, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{156, 0}
}
type BizAccountLinkInfo_AccountType int32
@@ -2517,11 +2833,11 @@ func (x BizAccountLinkInfo_AccountType) String() string {
}
func (BizAccountLinkInfo_AccountType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[40].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[45].Descriptor()
}
func (BizAccountLinkInfo_AccountType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[40]
+ return &file_binary_proto_def_proto_enumTypes[45]
}
func (x BizAccountLinkInfo_AccountType) Number() protoreflect.EnumNumber {
@@ -2540,7 +2856,7 @@ 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{147, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{156, 1}
}
type ClientPayload_Product int32
@@ -2548,6 +2864,7 @@ type ClientPayload_Product int32
const (
ClientPayload_WHATSAPP ClientPayload_Product = 0
ClientPayload_MESSENGER ClientPayload_Product = 1
+ ClientPayload_INTEROP ClientPayload_Product = 2
)
// Enum value maps for ClientPayload_Product.
@@ -2555,10 +2872,12 @@ var (
ClientPayload_Product_name = map[int32]string{
0: "WHATSAPP",
1: "MESSENGER",
+ 2: "INTEROP",
}
ClientPayload_Product_value = map[string]int32{
"WHATSAPP": 0,
"MESSENGER": 1,
+ "INTEROP": 2,
}
)
@@ -2573,11 +2892,11 @@ func (x ClientPayload_Product) String() string {
}
func (ClientPayload_Product) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[41].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[46].Descriptor()
}
func (ClientPayload_Product) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[41]
+ return &file_binary_proto_def_proto_enumTypes[46]
}
func (x ClientPayload_Product) Number() protoreflect.EnumNumber {
@@ -2596,7 +2915,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{152, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0}
}
type ClientPayload_IOSAppExtension int32
@@ -2632,11 +2951,11 @@ func (x ClientPayload_IOSAppExtension) String() string {
}
func (ClientPayload_IOSAppExtension) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[42].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[47].Descriptor()
}
func (ClientPayload_IOSAppExtension) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[42]
+ return &file_binary_proto_def_proto_enumTypes[47]
}
func (x ClientPayload_IOSAppExtension) Number() protoreflect.EnumNumber {
@@ -2655,7 +2974,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{152, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1}
}
type ClientPayload_ConnectType int32
@@ -2727,11 +3046,11 @@ func (x ClientPayload_ConnectType) String() string {
}
func (ClientPayload_ConnectType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[43].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[48].Descriptor()
}
func (ClientPayload_ConnectType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[43]
+ return &file_binary_proto_def_proto_enumTypes[48]
}
func (x ClientPayload_ConnectType) Number() protoreflect.EnumNumber {
@@ -2750,7 +3069,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{152, 2}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 2}
}
type ClientPayload_ConnectReason int32
@@ -2762,6 +3081,7 @@ const (
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.
@@ -2773,6 +3093,7 @@ var (
3: "ERROR_RECONNECT",
4: "NETWORK_SWITCH",
5: "PING_RECONNECT",
+ 6: "UNKNOWN",
}
ClientPayload_ConnectReason_value = map[string]int32{
"PUSH": 0,
@@ -2781,6 +3102,7 @@ var (
"ERROR_RECONNECT": 3,
"NETWORK_SWITCH": 4,
"PING_RECONNECT": 5,
+ "UNKNOWN": 6,
}
)
@@ -2795,11 +3117,11 @@ func (x ClientPayload_ConnectReason) String() string {
}
func (ClientPayload_ConnectReason) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[44].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[49].Descriptor()
}
func (ClientPayload_ConnectReason) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[44]
+ return &file_binary_proto_def_proto_enumTypes[49]
}
func (x ClientPayload_ConnectReason) Number() protoreflect.EnumNumber {
@@ -2818,7 +3140,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{152, 3}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 3}
}
type ClientPayload_WebInfo_WebSubPlatform int32
@@ -2860,11 +3182,11 @@ func (x ClientPayload_WebInfo_WebSubPlatform) String() string {
}
func (ClientPayload_WebInfo_WebSubPlatform) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[45].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[50].Descriptor()
}
func (ClientPayload_WebInfo_WebSubPlatform) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[45]
+ return &file_binary_proto_def_proto_enumTypes[50]
}
func (x ClientPayload_WebInfo_WebSubPlatform) Number() protoreflect.EnumNumber {
@@ -2883,7 +3205,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{152, 0, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0, 0}
}
type ClientPayload_UserAgent_ReleaseChannel int32
@@ -2922,11 +3244,11 @@ func (x ClientPayload_UserAgent_ReleaseChannel) String() string {
}
func (ClientPayload_UserAgent_ReleaseChannel) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[46].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[51].Descriptor()
}
func (ClientPayload_UserAgent_ReleaseChannel) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[46]
+ return &file_binary_proto_def_proto_enumTypes[51]
}
func (x ClientPayload_UserAgent_ReleaseChannel) Number() protoreflect.EnumNumber {
@@ -2945,7 +3267,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{152, 1, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 0}
}
type ClientPayload_UserAgent_Platform int32
@@ -2984,6 +3306,7 @@ const (
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
)
// Enum value maps for ClientPayload_UserAgent_Platform.
@@ -3022,6 +3345,7 @@ var (
30: "ARDEVICE",
31: "VRDEVICE",
32: "BLUE_WEB",
+ 33: "IPAD",
}
ClientPayload_UserAgent_Platform_value = map[string]int32{
"ANDROID": 0,
@@ -3057,6 +3381,7 @@ var (
"ARDEVICE": 30,
"VRDEVICE": 31,
"BLUE_WEB": 32,
+ "IPAD": 33,
}
)
@@ -3071,11 +3396,11 @@ func (x ClientPayload_UserAgent_Platform) String() string {
}
func (ClientPayload_UserAgent_Platform) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[47].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[52].Descriptor()
}
func (ClientPayload_UserAgent_Platform) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[47]
+ return &file_binary_proto_def_proto_enumTypes[52]
}
func (x ClientPayload_UserAgent_Platform) Number() protoreflect.EnumNumber {
@@ -3094,7 +3419,72 @@ 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{152, 1, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 1}
+}
+
+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_binary_proto_def_proto_enumTypes[53].Descriptor()
+}
+
+func (ClientPayload_UserAgent_DeviceType) Type() protoreflect.EnumType {
+ return &file_binary_proto_def_proto_enumTypes[53]
+}
+
+func (x ClientPayload_UserAgent_DeviceType) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *ClientPayload_UserAgent_DeviceType) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = ClientPayload_UserAgent_DeviceType(num)
+ return nil
+}
+
+// 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}
}
type ClientPayload_DNSSource_DNSResolutionMethod int32
@@ -3136,11 +3526,11 @@ func (x ClientPayload_DNSSource_DNSResolutionMethod) String() string {
}
func (ClientPayload_DNSSource_DNSResolutionMethod) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[48].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[54].Descriptor()
}
func (ClientPayload_DNSSource_DNSResolutionMethod) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[48]
+ return &file_binary_proto_def_proto_enumTypes[54]
}
func (x ClientPayload_DNSSource_DNSResolutionMethod) Number() protoreflect.EnumNumber {
@@ -3159,7 +3549,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{152, 3, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 4, 0}
}
type WebMessageInfo_StubType int32
@@ -3327,6 +3717,30 @@ const (
WebMessageInfo_CAG_INVITE_AUTO_ADD WebMessageInfo_StubType = 159
WebMessageInfo_BIZ_CHAT_ASSIGNMENT_UNASSIGN WebMessageInfo_StubType = 160
WebMessageInfo_CAG_INVITE_AUTO_JOINED WebMessageInfo_StubType = 161
+ WebMessageInfo_SCHEDULED_CALL_START_MESSAGE WebMessageInfo_StubType = 162
+ WebMessageInfo_COMMUNITY_INVITE_RICH WebMessageInfo_StubType = 163
+ WebMessageInfo_COMMUNITY_INVITE_AUTO_ADD_RICH WebMessageInfo_StubType = 164
+ WebMessageInfo_SUB_GROUP_INVITE_RICH WebMessageInfo_StubType = 165
+ WebMessageInfo_SUB_GROUP_PARTICIPANT_ADD_RICH WebMessageInfo_StubType = 166
+ WebMessageInfo_COMMUNITY_LINK_PARENT_GROUP_RICH WebMessageInfo_StubType = 167
+ WebMessageInfo_COMMUNITY_PARTICIPANT_ADD_RICH WebMessageInfo_StubType = 168
+ WebMessageInfo_SILENCED_UNKNOWN_CALLER_AUDIO WebMessageInfo_StubType = 169
+ WebMessageInfo_SILENCED_UNKNOWN_CALLER_VIDEO WebMessageInfo_StubType = 170
+ WebMessageInfo_GROUP_MEMBER_ADD_MODE WebMessageInfo_StubType = 171
+ WebMessageInfo_GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD WebMessageInfo_StubType = 172
+ WebMessageInfo_COMMUNITY_CHANGE_DESCRIPTION WebMessageInfo_StubType = 173
+ WebMessageInfo_SENDER_INVITE WebMessageInfo_StubType = 174
+ WebMessageInfo_RECEIVER_INVITE WebMessageInfo_StubType = 175
+ WebMessageInfo_COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS WebMessageInfo_StubType = 176
+ WebMessageInfo_PINNED_MESSAGE_IN_CHAT WebMessageInfo_StubType = 177
+ WebMessageInfo_PAYMENT_INVITE_SETUP_INVITER WebMessageInfo_StubType = 178
+ WebMessageInfo_PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY WebMessageInfo_StubType = 179
+ WebMessageInfo_PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE WebMessageInfo_StubType = 180
+ WebMessageInfo_LINKED_GROUP_CALL_START WebMessageInfo_StubType = 181
+ WebMessageInfo_REPORT_TO_ADMIN_ENABLED_STATUS WebMessageInfo_StubType = 182
+ WebMessageInfo_EMPTY_SUBGROUP_CREATE WebMessageInfo_StubType = 183
+ WebMessageInfo_SCHEDULED_CALL_CANCEL WebMessageInfo_StubType = 184
+ WebMessageInfo_SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH WebMessageInfo_StubType = 185
)
// Enum value maps for WebMessageInfo_StubType.
@@ -3494,6 +3908,30 @@ var (
159: "CAG_INVITE_AUTO_ADD",
160: "BIZ_CHAT_ASSIGNMENT_UNASSIGN",
161: "CAG_INVITE_AUTO_JOINED",
+ 162: "SCHEDULED_CALL_START_MESSAGE",
+ 163: "COMMUNITY_INVITE_RICH",
+ 164: "COMMUNITY_INVITE_AUTO_ADD_RICH",
+ 165: "SUB_GROUP_INVITE_RICH",
+ 166: "SUB_GROUP_PARTICIPANT_ADD_RICH",
+ 167: "COMMUNITY_LINK_PARENT_GROUP_RICH",
+ 168: "COMMUNITY_PARTICIPANT_ADD_RICH",
+ 169: "SILENCED_UNKNOWN_CALLER_AUDIO",
+ 170: "SILENCED_UNKNOWN_CALLER_VIDEO",
+ 171: "GROUP_MEMBER_ADD_MODE",
+ 172: "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD",
+ 173: "COMMUNITY_CHANGE_DESCRIPTION",
+ 174: "SENDER_INVITE",
+ 175: "RECEIVER_INVITE",
+ 176: "COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS",
+ 177: "PINNED_MESSAGE_IN_CHAT",
+ 178: "PAYMENT_INVITE_SETUP_INVITER",
+ 179: "PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY",
+ 180: "PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE",
+ 181: "LINKED_GROUP_CALL_START",
+ 182: "REPORT_TO_ADMIN_ENABLED_STATUS",
+ 183: "EMPTY_SUBGROUP_CREATE",
+ 184: "SCHEDULED_CALL_CANCEL",
+ 185: "SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH",
}
WebMessageInfo_StubType_value = map[string]int32{
"UNKNOWN": 0,
@@ -3658,6 +4096,30 @@ var (
"CAG_INVITE_AUTO_ADD": 159,
"BIZ_CHAT_ASSIGNMENT_UNASSIGN": 160,
"CAG_INVITE_AUTO_JOINED": 161,
+ "SCHEDULED_CALL_START_MESSAGE": 162,
+ "COMMUNITY_INVITE_RICH": 163,
+ "COMMUNITY_INVITE_AUTO_ADD_RICH": 164,
+ "SUB_GROUP_INVITE_RICH": 165,
+ "SUB_GROUP_PARTICIPANT_ADD_RICH": 166,
+ "COMMUNITY_LINK_PARENT_GROUP_RICH": 167,
+ "COMMUNITY_PARTICIPANT_ADD_RICH": 168,
+ "SILENCED_UNKNOWN_CALLER_AUDIO": 169,
+ "SILENCED_UNKNOWN_CALLER_VIDEO": 170,
+ "GROUP_MEMBER_ADD_MODE": 171,
+ "GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD": 172,
+ "COMMUNITY_CHANGE_DESCRIPTION": 173,
+ "SENDER_INVITE": 174,
+ "RECEIVER_INVITE": 175,
+ "COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS": 176,
+ "PINNED_MESSAGE_IN_CHAT": 177,
+ "PAYMENT_INVITE_SETUP_INVITER": 178,
+ "PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY": 179,
+ "PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE": 180,
+ "LINKED_GROUP_CALL_START": 181,
+ "REPORT_TO_ADMIN_ENABLED_STATUS": 182,
+ "EMPTY_SUBGROUP_CREATE": 183,
+ "SCHEDULED_CALL_CANCEL": 184,
+ "SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH": 185,
}
)
@@ -3672,11 +4134,11 @@ func (x WebMessageInfo_StubType) String() string {
}
func (WebMessageInfo_StubType) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[49].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[55].Descriptor()
}
func (WebMessageInfo_StubType) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[49]
+ return &file_binary_proto_def_proto_enumTypes[55]
}
func (x WebMessageInfo_StubType) Number() protoreflect.EnumNumber {
@@ -3695,7 +4157,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{154, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{163, 0}
}
type WebMessageInfo_Status int32
@@ -3740,11 +4202,11 @@ func (x WebMessageInfo_Status) String() string {
}
func (WebMessageInfo_Status) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[50].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[56].Descriptor()
}
func (WebMessageInfo_Status) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[50]
+ return &file_binary_proto_def_proto_enumTypes[56]
}
func (x WebMessageInfo_Status) Number() protoreflect.EnumNumber {
@@ -3763,7 +4225,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{154, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{163, 1}
}
type WebMessageInfo_BizPrivacyStatus int32
@@ -3802,11 +4264,11 @@ func (x WebMessageInfo_BizPrivacyStatus) String() string {
}
func (WebMessageInfo_BizPrivacyStatus) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[51].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[57].Descriptor()
}
func (WebMessageInfo_BizPrivacyStatus) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[51]
+ return &file_binary_proto_def_proto_enumTypes[57]
}
func (x WebMessageInfo_BizPrivacyStatus) Number() protoreflect.EnumNumber {
@@ -3825,7 +4287,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{154, 2}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{163, 2}
}
type WebFeatures_Flag int32
@@ -3864,11 +4326,11 @@ func (x WebFeatures_Flag) String() string {
}
func (WebFeatures_Flag) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[52].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[58].Descriptor()
}
func (WebFeatures_Flag) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[52]
+ return &file_binary_proto_def_proto_enumTypes[58]
}
func (x WebFeatures_Flag) Number() protoreflect.EnumNumber {
@@ -3887,7 +4349,66 @@ 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{155, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{164, 0}
+}
+
+type PinInChat_Type int32
+
+const (
+ PinInChat_UNKNOWN_TYPE PinInChat_Type = 0
+ PinInChat_PIN_FOR_ALL PinInChat_Type = 1
+ PinInChat_UNPIN_FOR_ALL PinInChat_Type = 2
+)
+
+// Enum value maps for PinInChat_Type.
+var (
+ PinInChat_Type_name = map[int32]string{
+ 0: "UNKNOWN_TYPE",
+ 1: "PIN_FOR_ALL",
+ 2: "UNPIN_FOR_ALL",
+ }
+ PinInChat_Type_value = map[string]int32{
+ "UNKNOWN_TYPE": 0,
+ "PIN_FOR_ALL": 1,
+ "UNPIN_FOR_ALL": 2,
+ }
+)
+
+func (x PinInChat_Type) Enum() *PinInChat_Type {
+ p := new(PinInChat_Type)
+ *p = x
+ return p
+}
+
+func (x PinInChat_Type) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (PinInChat_Type) Descriptor() protoreflect.EnumDescriptor {
+ return file_binary_proto_def_proto_enumTypes[59].Descriptor()
+}
+
+func (PinInChat_Type) Type() protoreflect.EnumType {
+ return &file_binary_proto_def_proto_enumTypes[59]
+}
+
+func (x PinInChat_Type) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Do not use.
+func (x *PinInChat_Type) UnmarshalJSON(b []byte) error {
+ num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
+ if err != nil {
+ return err
+ }
+ *x = PinInChat_Type(num)
+ return nil
+}
+
+// Deprecated: Use PinInChat_Type.Descriptor instead.
+func (PinInChat_Type) EnumDescriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{170, 0}
}
type PaymentInfo_TxnStatus int32
@@ -4010,11 +4531,11 @@ func (x PaymentInfo_TxnStatus) String() string {
}
func (PaymentInfo_TxnStatus) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[53].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[60].Descriptor()
}
func (PaymentInfo_TxnStatus) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[53]
+ return &file_binary_proto_def_proto_enumTypes[60]
}
func (x PaymentInfo_TxnStatus) Number() protoreflect.EnumNumber {
@@ -4033,7 +4554,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{162, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{172, 0}
}
type PaymentInfo_Status int32
@@ -4096,11 +4617,11 @@ func (x PaymentInfo_Status) String() string {
}
func (PaymentInfo_Status) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[54].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[61].Descriptor()
}
func (PaymentInfo_Status) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[54]
+ return &file_binary_proto_def_proto_enumTypes[61]
}
func (x PaymentInfo_Status) Number() protoreflect.EnumNumber {
@@ -4119,7 +4640,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{162, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{172, 1}
}
type PaymentInfo_Currency int32
@@ -4152,11 +4673,11 @@ func (x PaymentInfo_Currency) String() string {
}
func (PaymentInfo_Currency) Descriptor() protoreflect.EnumDescriptor {
- return file_binary_proto_def_proto_enumTypes[55].Descriptor()
+ return file_binary_proto_def_proto_enumTypes[62].Descriptor()
}
func (PaymentInfo_Currency) Type() protoreflect.EnumType {
- return &file_binary_proto_def_proto_enumTypes[55]
+ return &file_binary_proto_def_proto_enumTypes[62]
}
func (x PaymentInfo_Currency) Number() protoreflect.EnumNumber {
@@ -4175,7 +4696,7 @@ 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{162, 2}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{172, 2}
}
type ADVSignedKeyIndexList struct {
@@ -4309,8 +4830,9 @@ type ADVSignedDeviceIdentityHMAC struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
- Hmac []byte `protobuf:"bytes,2,opt,name=hmac" json:"hmac,omitempty"`
+ Details []byte `protobuf:"bytes,1,opt,name=details" json:"details,omitempty"`
+ Hmac []byte `protobuf:"bytes,2,opt,name=hmac" json:"hmac,omitempty"`
+ AccountType *ADVEncryptionType `protobuf:"varint,3,opt,name=accountType,enum=proto.ADVEncryptionType" json:"accountType,omitempty"`
}
func (x *ADVSignedDeviceIdentityHMAC) Reset() {
@@ -4359,15 +4881,23 @@ func (x *ADVSignedDeviceIdentityHMAC) GetHmac() []byte {
return nil
}
+func (x *ADVSignedDeviceIdentityHMAC) GetAccountType() ADVEncryptionType {
+ if x != nil && x.AccountType != nil {
+ return *x.AccountType
+ }
+ return ADVEncryptionType_E2EE
+}
+
type ADVKeyIndexList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- RawId *uint32 `protobuf:"varint,1,opt,name=rawId" json:"rawId,omitempty"`
- Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
- CurrentIndex *uint32 `protobuf:"varint,3,opt,name=currentIndex" json:"currentIndex,omitempty"`
- ValidIndexes []uint32 `protobuf:"varint,4,rep,packed,name=validIndexes" json:"validIndexes,omitempty"`
+ RawId *uint32 `protobuf:"varint,1,opt,name=rawId" json:"rawId,omitempty"`
+ Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
+ CurrentIndex *uint32 `protobuf:"varint,3,opt,name=currentIndex" json:"currentIndex,omitempty"`
+ ValidIndexes []uint32 `protobuf:"varint,4,rep,packed,name=validIndexes" json:"validIndexes,omitempty"`
+ AccountType *ADVEncryptionType `protobuf:"varint,5,opt,name=accountType,enum=proto.ADVEncryptionType" json:"accountType,omitempty"`
}
func (x *ADVKeyIndexList) Reset() {
@@ -4430,14 +4960,23 @@ func (x *ADVKeyIndexList) GetValidIndexes() []uint32 {
return nil
}
+func (x *ADVKeyIndexList) GetAccountType() ADVEncryptionType {
+ if x != nil && x.AccountType != nil {
+ return *x.AccountType
+ }
+ return ADVEncryptionType_E2EE
+}
+
type ADVDeviceIdentity struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- RawId *uint32 `protobuf:"varint,1,opt,name=rawId" json:"rawId,omitempty"`
- Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
- KeyIndex *uint32 `protobuf:"varint,3,opt,name=keyIndex" json:"keyIndex,omitempty"`
+ RawId *uint32 `protobuf:"varint,1,opt,name=rawId" json:"rawId,omitempty"`
+ Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
+ KeyIndex *uint32 `protobuf:"varint,3,opt,name=keyIndex" json:"keyIndex,omitempty"`
+ AccountType *ADVEncryptionType `protobuf:"varint,4,opt,name=accountType,enum=proto.ADVEncryptionType" json:"accountType,omitempty"`
+ DeviceType *ADVEncryptionType `protobuf:"varint,5,opt,name=deviceType,enum=proto.ADVEncryptionType" json:"deviceType,omitempty"`
}
func (x *ADVDeviceIdentity) Reset() {
@@ -4493,6 +5032,20 @@ func (x *ADVDeviceIdentity) GetKeyIndex() uint32 {
return 0
}
+func (x *ADVDeviceIdentity) GetAccountType() ADVEncryptionType {
+ if x != nil && x.AccountType != nil {
+ return *x.AccountType
+ }
+ return ADVEncryptionType_E2EE
+}
+
+func (x *ADVDeviceIdentity) GetDeviceType() ADVEncryptionType {
+ if x != nil && x.DeviceType != nil {
+ return *x.DeviceType
+ }
+ return ADVEncryptionType_E2EE
+}
+
type DeviceProps struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -4572,402 +5125,6 @@ func (x *DeviceProps) GetHistorySyncConfig() *DeviceProps_HistorySyncConfig {
return nil
}
-type PeerDataOperationRequestMessage struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- PeerDataOperationRequestType *PeerDataOperationRequestType `protobuf:"varint,1,opt,name=peerDataOperationRequestType,enum=proto.PeerDataOperationRequestType" json:"peerDataOperationRequestType,omitempty"`
- RequestStickerReupload []*PeerDataOperationRequestMessage_RequestStickerReupload `protobuf:"bytes,2,rep,name=requestStickerReupload" json:"requestStickerReupload,omitempty"`
- RequestUrlPreview []*PeerDataOperationRequestMessage_RequestUrlPreview `protobuf:"bytes,3,rep,name=requestUrlPreview" json:"requestUrlPreview,omitempty"`
- HistorySyncOnDemandRequest *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest `protobuf:"bytes,4,opt,name=historySyncOnDemandRequest" json:"historySyncOnDemandRequest,omitempty"`
-}
-
-func (x *PeerDataOperationRequestMessage) Reset() {
- *x = PeerDataOperationRequestMessage{}
- if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *PeerDataOperationRequestMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*PeerDataOperationRequestMessage) ProtoMessage() {}
-
-func (x *PeerDataOperationRequestMessage) 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 PeerDataOperationRequestMessage.ProtoReflect.Descriptor instead.
-func (*PeerDataOperationRequestMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{6}
-}
-
-func (x *PeerDataOperationRequestMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType {
- if x != nil && x.PeerDataOperationRequestType != nil {
- return *x.PeerDataOperationRequestType
- }
- return PeerDataOperationRequestType_UPLOAD_STICKER
-}
-
-func (x *PeerDataOperationRequestMessage) GetRequestStickerReupload() []*PeerDataOperationRequestMessage_RequestStickerReupload {
- if x != nil {
- return x.RequestStickerReupload
- }
- return nil
-}
-
-func (x *PeerDataOperationRequestMessage) GetRequestUrlPreview() []*PeerDataOperationRequestMessage_RequestUrlPreview {
- if x != nil {
- return x.RequestUrlPreview
- }
- return nil
-}
-
-func (x *PeerDataOperationRequestMessage) GetHistorySyncOnDemandRequest() *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest {
- if x != nil {
- return x.HistorySyncOnDemandRequest
- }
- return nil
-}
-
-type PaymentInviteMessage struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- ServiceType *PaymentInviteMessage_ServiceType `protobuf:"varint,1,opt,name=serviceType,enum=proto.PaymentInviteMessage_ServiceType" json:"serviceType,omitempty"`
- ExpiryTimestamp *int64 `protobuf:"varint,2,opt,name=expiryTimestamp" json:"expiryTimestamp,omitempty"`
-}
-
-func (x *PaymentInviteMessage) Reset() {
- *x = PaymentInviteMessage{}
- if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *PaymentInviteMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*PaymentInviteMessage) ProtoMessage() {}
-
-func (x *PaymentInviteMessage) 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 PaymentInviteMessage.ProtoReflect.Descriptor instead.
-func (*PaymentInviteMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{7}
-}
-
-func (x *PaymentInviteMessage) GetServiceType() PaymentInviteMessage_ServiceType {
- if x != nil && x.ServiceType != nil {
- return *x.ServiceType
- }
- return PaymentInviteMessage_UNKNOWN
-}
-
-func (x *PaymentInviteMessage) GetExpiryTimestamp() int64 {
- if x != nil && x.ExpiryTimestamp != nil {
- return *x.ExpiryTimestamp
- }
- return 0
-}
-
-type OrderMessage struct {
- state protoimpl.MessageState
- 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"`
-}
-
-func (x *OrderMessage) Reset() {
- *x = OrderMessage{}
- if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *OrderMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*OrderMessage) ProtoMessage() {}
-
-func (x *OrderMessage) 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 OrderMessage.ProtoReflect.Descriptor instead.
-func (*OrderMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{8}
-}
-
-func (x *OrderMessage) GetOrderId() string {
- if x != nil && x.OrderId != nil {
- return *x.OrderId
- }
- return ""
-}
-
-func (x *OrderMessage) GetThumbnail() []byte {
- if x != nil {
- return x.Thumbnail
- }
- return nil
-}
-
-func (x *OrderMessage) GetItemCount() int32 {
- if x != nil && x.ItemCount != nil {
- return *x.ItemCount
- }
- return 0
-}
-
-func (x *OrderMessage) GetStatus() OrderMessage_OrderStatus {
- if x != nil && x.Status != nil {
- return *x.Status
- }
- return OrderMessage_INQUIRY
-}
-
-func (x *OrderMessage) GetSurface() OrderMessage_OrderSurface {
- if x != nil && x.Surface != nil {
- return *x.Surface
- }
- return OrderMessage_CATALOG
-}
-
-func (x *OrderMessage) GetMessage() string {
- if x != nil && x.Message != nil {
- return *x.Message
- }
- return ""
-}
-
-func (x *OrderMessage) GetOrderTitle() string {
- if x != nil && x.OrderTitle != nil {
- return *x.OrderTitle
- }
- return ""
-}
-
-func (x *OrderMessage) GetSellerJid() string {
- if x != nil && x.SellerJid != nil {
- return *x.SellerJid
- }
- return ""
-}
-
-func (x *OrderMessage) GetToken() string {
- if x != nil && x.Token != nil {
- return *x.Token
- }
- return ""
-}
-
-func (x *OrderMessage) GetTotalAmount1000() int64 {
- if x != nil && x.TotalAmount1000 != nil {
- return *x.TotalAmount1000
- }
- return 0
-}
-
-func (x *OrderMessage) GetTotalCurrencyCode() string {
- if x != nil && x.TotalCurrencyCode != nil {
- return *x.TotalCurrencyCode
- }
- return ""
-}
-
-func (x *OrderMessage) GetContextInfo() *ContextInfo {
- if x != nil {
- return x.ContextInfo
- }
- return nil
-}
-
-type LocationMessage 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"`
- Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
- Address *string `protobuf:"bytes,4,opt,name=address" json:"address,omitempty"`
- Url *string `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"`
- IsLive *bool `protobuf:"varint,6,opt,name=isLive" json:"isLive,omitempty"`
- AccuracyInMeters *uint32 `protobuf:"varint,7,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"`
- SpeedInMps *float32 `protobuf:"fixed32,8,opt,name=speedInMps" json:"speedInMps,omitempty"`
- DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,9,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"`
- Comment *string `protobuf:"bytes,11,opt,name=comment" json:"comment,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 *LocationMessage) Reset() {
- *x = LocationMessage{}
- if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *LocationMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*LocationMessage) ProtoMessage() {}
-
-func (x *LocationMessage) 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 LocationMessage.ProtoReflect.Descriptor instead.
-func (*LocationMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{9}
-}
-
-func (x *LocationMessage) GetDegreesLatitude() float64 {
- if x != nil && x.DegreesLatitude != nil {
- return *x.DegreesLatitude
- }
- return 0
-}
-
-func (x *LocationMessage) GetDegreesLongitude() float64 {
- if x != nil && x.DegreesLongitude != nil {
- return *x.DegreesLongitude
- }
- return 0
-}
-
-func (x *LocationMessage) GetName() string {
- if x != nil && x.Name != nil {
- return *x.Name
- }
- return ""
-}
-
-func (x *LocationMessage) GetAddress() string {
- if x != nil && x.Address != nil {
- return *x.Address
- }
- return ""
-}
-
-func (x *LocationMessage) GetUrl() string {
- if x != nil && x.Url != nil {
- return *x.Url
- }
- return ""
-}
-
-func (x *LocationMessage) GetIsLive() bool {
- if x != nil && x.IsLive != nil {
- return *x.IsLive
- }
- return false
-}
-
-func (x *LocationMessage) GetAccuracyInMeters() uint32 {
- if x != nil && x.AccuracyInMeters != nil {
- return *x.AccuracyInMeters
- }
- return 0
-}
-
-func (x *LocationMessage) GetSpeedInMps() float32 {
- if x != nil && x.SpeedInMps != nil {
- return *x.SpeedInMps
- }
- return 0
-}
-
-func (x *LocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 {
- if x != nil && x.DegreesClockwiseFromMagneticNorth != nil {
- return *x.DegreesClockwiseFromMagneticNorth
- }
- return 0
-}
-
-func (x *LocationMessage) GetComment() string {
- if x != nil && x.Comment != nil {
- return *x.Comment
- }
- return ""
-}
-
-func (x *LocationMessage) GetJpegThumbnail() []byte {
- if x != nil {
- return x.JpegThumbnail
- }
- return nil
-}
-
-func (x *LocationMessage) GetContextInfo() *ContextInfo {
- if x != nil {
- return x.ContextInfo
- }
- return nil
-}
-
type LiveLocationMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -4988,7 +5145,7 @@ type LiveLocationMessage struct {
func (x *LiveLocationMessage) Reset() {
*x = LiveLocationMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[10]
+ mi := &file_binary_proto_def_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5001,7 +5158,7 @@ func (x *LiveLocationMessage) String() string {
func (*LiveLocationMessage) ProtoMessage() {}
func (x *LiveLocationMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[10]
+ mi := &file_binary_proto_def_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5014,7 +5171,7 @@ func (x *LiveLocationMessage) ProtoReflect() protoreflect.Message {
// Deprecated: Use LiveLocationMessage.ProtoReflect.Descriptor instead.
func (*LiveLocationMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{10}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{6}
}
func (x *LiveLocationMessage) GetDegreesLatitude() float64 {
@@ -5102,7 +5259,7 @@ type ListResponseMessage struct {
func (x *ListResponseMessage) Reset() {
*x = ListResponseMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[11]
+ mi := &file_binary_proto_def_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5115,7 +5272,7 @@ func (x *ListResponseMessage) String() string {
func (*ListResponseMessage) ProtoMessage() {}
func (x *ListResponseMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[11]
+ mi := &file_binary_proto_def_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5128,7 +5285,7 @@ func (x *ListResponseMessage) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListResponseMessage.ProtoReflect.Descriptor instead.
func (*ListResponseMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{11}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{7}
}
func (x *ListResponseMessage) GetTitle() string {
@@ -5184,7 +5341,7 @@ type ListMessage struct {
func (x *ListMessage) Reset() {
*x = ListMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[12]
+ mi := &file_binary_proto_def_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5197,7 +5354,7 @@ func (x *ListMessage) String() string {
func (*ListMessage) ProtoMessage() {}
func (x *ListMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[12]
+ mi := &file_binary_proto_def_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5210,7 +5367,7 @@ func (x *ListMessage) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListMessage.ProtoReflect.Descriptor instead.
func (*ListMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{12}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{8}
}
func (x *ListMessage) GetTitle() string {
@@ -5282,7 +5439,7 @@ type KeepInChatMessage struct {
func (x *KeepInChatMessage) Reset() {
*x = KeepInChatMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[13]
+ mi := &file_binary_proto_def_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5295,7 +5452,7 @@ func (x *KeepInChatMessage) String() string {
func (*KeepInChatMessage) ProtoMessage() {}
func (x *KeepInChatMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[13]
+ mi := &file_binary_proto_def_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5308,7 +5465,7 @@ func (x *KeepInChatMessage) ProtoReflect() protoreflect.Message {
// Deprecated: Use KeepInChatMessage.ProtoReflect.Descriptor instead.
func (*KeepInChatMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{13}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{9}
}
func (x *KeepInChatMessage) GetKey() *MessageKey {
@@ -5352,7 +5509,7 @@ type InvoiceMessage struct {
func (x *InvoiceMessage) Reset() {
*x = InvoiceMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[14]
+ mi := &file_binary_proto_def_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5365,7 +5522,7 @@ func (x *InvoiceMessage) String() string {
func (*InvoiceMessage) ProtoMessage() {}
func (x *InvoiceMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[14]
+ mi := &file_binary_proto_def_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5378,7 +5535,7 @@ func (x *InvoiceMessage) ProtoReflect() protoreflect.Message {
// Deprecated: Use InvoiceMessage.ProtoReflect.Descriptor instead.
func (*InvoiceMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{14}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{10}
}
func (x *InvoiceMessage) GetNote() string {
@@ -5467,7 +5624,7 @@ type InteractiveResponseMessage struct {
func (x *InteractiveResponseMessage) Reset() {
*x = InteractiveResponseMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[15]
+ mi := &file_binary_proto_def_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5480,7 +5637,7 @@ func (x *InteractiveResponseMessage) String() string {
func (*InteractiveResponseMessage) ProtoMessage() {}
func (x *InteractiveResponseMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[15]
+ mi := &file_binary_proto_def_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5493,7 +5650,7 @@ func (x *InteractiveResponseMessage) ProtoReflect() protoreflect.Message {
// Deprecated: Use InteractiveResponseMessage.ProtoReflect.Descriptor instead.
func (*InteractiveResponseMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{15}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{11}
}
func (x *InteractiveResponseMessage) GetBody() *InteractiveResponseMessage_Body {
@@ -5549,13 +5706,14 @@ type InteractiveMessage struct {
// *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[16]
+ mi := &file_binary_proto_def_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5568,7 +5726,7 @@ func (x *InteractiveMessage) String() string {
func (*InteractiveMessage) ProtoMessage() {}
func (x *InteractiveMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[16]
+ mi := &file_binary_proto_def_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5581,7 +5739,7 @@ func (x *InteractiveMessage) ProtoReflect() protoreflect.Message {
// Deprecated: Use InteractiveMessage.ProtoReflect.Descriptor instead.
func (*InteractiveMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{16}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{12}
}
func (x *InteractiveMessage) GetHeader() *InteractiveMessage_Header {
@@ -5640,6 +5798,13 @@ func (x *InteractiveMessage) GetNativeFlowMessage() *InteractiveMessage_NativeFl
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()
}
@@ -5656,12 +5821,18 @@ 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
@@ -5673,7 +5844,7 @@ type InitialSecurityNotificationSettingSync struct {
func (x *InitialSecurityNotificationSettingSync) Reset() {
*x = InitialSecurityNotificationSettingSync{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[17]
+ mi := &file_binary_proto_def_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5686,7 +5857,7 @@ func (x *InitialSecurityNotificationSettingSync) String() string {
func (*InitialSecurityNotificationSettingSync) ProtoMessage() {}
func (x *InitialSecurityNotificationSettingSync) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[17]
+ mi := &file_binary_proto_def_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5699,7 +5870,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{17}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{13}
}
func (x *InitialSecurityNotificationSettingSync) GetSecurityNotificationEnabled() bool {
@@ -5745,7 +5916,7 @@ type ImageMessage struct {
func (x *ImageMessage) Reset() {
*x = ImageMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[18]
+ mi := &file_binary_proto_def_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5758,7 +5929,7 @@ func (x *ImageMessage) String() string {
func (*ImageMessage) ProtoMessage() {}
func (x *ImageMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[18]
+ mi := &file_binary_proto_def_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5771,7 +5942,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{18}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{14}
}
func (x *ImageMessage) GetUrl() string {
@@ -5961,22 +6132,24 @@ type HistorySyncNotification struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- FileSha256 []byte `protobuf:"bytes,1,opt,name=fileSha256" json:"fileSha256,omitempty"`
- FileLength *uint64 `protobuf:"varint,2,opt,name=fileLength" json:"fileLength,omitempty"`
- MediaKey []byte `protobuf:"bytes,3,opt,name=mediaKey" json:"mediaKey,omitempty"`
- FileEncSha256 []byte `protobuf:"bytes,4,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"`
- DirectPath *string `protobuf:"bytes,5,opt,name=directPath" json:"directPath,omitempty"`
- SyncType *HistorySyncNotification_HistorySyncType `protobuf:"varint,6,opt,name=syncType,enum=proto.HistorySyncNotification_HistorySyncType" json:"syncType,omitempty"`
- ChunkOrder *uint32 `protobuf:"varint,7,opt,name=chunkOrder" json:"chunkOrder,omitempty"`
- OriginalMessageId *string `protobuf:"bytes,8,opt,name=originalMessageId" json:"originalMessageId,omitempty"`
- Progress *uint32 `protobuf:"varint,9,opt,name=progress" json:"progress,omitempty"`
- OldestMsgInChunkTimestampSec *int64 `protobuf:"varint,10,opt,name=oldestMsgInChunkTimestampSec" json:"oldestMsgInChunkTimestampSec,omitempty"`
+ FileSha256 []byte `protobuf:"bytes,1,opt,name=fileSha256" json:"fileSha256,omitempty"`
+ FileLength *uint64 `protobuf:"varint,2,opt,name=fileLength" json:"fileLength,omitempty"`
+ MediaKey []byte `protobuf:"bytes,3,opt,name=mediaKey" json:"mediaKey,omitempty"`
+ FileEncSha256 []byte `protobuf:"bytes,4,opt,name=fileEncSha256" json:"fileEncSha256,omitempty"`
+ DirectPath *string `protobuf:"bytes,5,opt,name=directPath" json:"directPath,omitempty"`
+ SyncType *HistorySyncNotification_HistorySyncType `protobuf:"varint,6,opt,name=syncType,enum=proto.HistorySyncNotification_HistorySyncType" json:"syncType,omitempty"`
+ ChunkOrder *uint32 `protobuf:"varint,7,opt,name=chunkOrder" json:"chunkOrder,omitempty"`
+ OriginalMessageId *string `protobuf:"bytes,8,opt,name=originalMessageId" json:"originalMessageId,omitempty"`
+ Progress *uint32 `protobuf:"varint,9,opt,name=progress" json:"progress,omitempty"`
+ OldestMsgInChunkTimestampSec *int64 `protobuf:"varint,10,opt,name=oldestMsgInChunkTimestampSec" json:"oldestMsgInChunkTimestampSec,omitempty"`
+ InitialHistBootstrapInlinePayload []byte `protobuf:"bytes,11,opt,name=initialHistBootstrapInlinePayload" json:"initialHistBootstrapInlinePayload,omitempty"`
+ PeerDataRequestSessionId *string `protobuf:"bytes,12,opt,name=peerDataRequestSessionId" json:"peerDataRequestSessionId,omitempty"`
}
func (x *HistorySyncNotification) Reset() {
*x = HistorySyncNotification{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[19]
+ mi := &file_binary_proto_def_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5989,7 +6162,7 @@ func (x *HistorySyncNotification) String() string {
func (*HistorySyncNotification) ProtoMessage() {}
func (x *HistorySyncNotification) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[19]
+ mi := &file_binary_proto_def_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -6002,7 +6175,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{19}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{15}
}
func (x *HistorySyncNotification) GetFileSha256() []byte {
@@ -6075,6 +6248,20 @@ func (x *HistorySyncNotification) GetOldestMsgInChunkTimestampSec() int64 {
return 0
}
+func (x *HistorySyncNotification) GetInitialHistBootstrapInlinePayload() []byte {
+ if x != nil {
+ return x.InitialHistBootstrapInlinePayload
+ }
+ return nil
+}
+
+func (x *HistorySyncNotification) GetPeerDataRequestSessionId() string {
+ if x != nil && x.PeerDataRequestSessionId != nil {
+ return *x.PeerDataRequestSessionId
+ }
+ return ""
+}
+
type HighlyStructuredMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -6094,7 +6281,7 @@ type HighlyStructuredMessage struct {
func (x *HighlyStructuredMessage) Reset() {
*x = HighlyStructuredMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[20]
+ mi := &file_binary_proto_def_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -6107,7 +6294,7 @@ func (x *HighlyStructuredMessage) String() string {
func (*HighlyStructuredMessage) ProtoMessage() {}
func (x *HighlyStructuredMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[20]
+ mi := &file_binary_proto_def_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -6120,7 +6307,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{20}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{16}
}
func (x *HighlyStructuredMessage) GetNamespace() string {
@@ -6204,7 +6391,7 @@ type GroupInviteMessage struct {
func (x *GroupInviteMessage) Reset() {
*x = GroupInviteMessage{}
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)
}
@@ -6217,7 +6404,7 @@ func (x *GroupInviteMessage) String() string {
func (*GroupInviteMessage) ProtoMessage() {}
func (x *GroupInviteMessage) 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 {
@@ -6230,7 +6417,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{21}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{17}
}
func (x *GroupInviteMessage) GetGroupJid() string {
@@ -6300,7 +6487,7 @@ type FutureProofMessage struct {
func (x *FutureProofMessage) Reset() {
*x = FutureProofMessage{}
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)
}
@@ -6313,7 +6500,7 @@ func (x *FutureProofMessage) String() string {
func (*FutureProofMessage) ProtoMessage() {}
func (x *FutureProofMessage) 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 {
@@ -6326,7 +6513,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{22}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{18}
}
func (x *FutureProofMessage) GetMessage() *Message {
@@ -6370,7 +6557,7 @@ type ExtendedTextMessage struct {
func (x *ExtendedTextMessage) Reset() {
*x = ExtendedTextMessage{}
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)
}
@@ -6383,7 +6570,7 @@ func (x *ExtendedTextMessage) String() string {
func (*ExtendedTextMessage) ProtoMessage() {}
func (x *ExtendedTextMessage) 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 {
@@ -6396,7 +6583,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{23}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{19}
}
func (x *ExtendedTextMessage) GetText() string {
@@ -6452,7 +6639,7 @@ func (x *ExtendedTextMessage) GetFont() ExtendedTextMessage_FontType {
if x != nil && x.Font != nil {
return *x.Font
}
- return ExtendedTextMessage_SANS_SERIF
+ return ExtendedTextMessage_SYSTEM
}
func (x *ExtendedTextMessage) GetPreviewType() ExtendedTextMessage_PreviewType {
@@ -6580,7 +6767,7 @@ type EncReactionMessage struct {
func (x *EncReactionMessage) Reset() {
*x = EncReactionMessage{}
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)
}
@@ -6593,7 +6780,7 @@ func (x *EncReactionMessage) String() string {
func (*EncReactionMessage) ProtoMessage() {}
func (x *EncReactionMessage) 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 {
@@ -6606,7 +6793,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{24}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{20}
}
func (x *EncReactionMessage) GetTargetMessageKey() *MessageKey {
@@ -6630,6 +6817,69 @@ func (x *EncReactionMessage) GetEncIv() []byte {
return nil
}
+type EncCommentMessage 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"`
+}
+
+func (x *EncCommentMessage) Reset() {
+ *x = EncCommentMessage{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[21]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *EncCommentMessage) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*EncCommentMessage) ProtoMessage() {}
+
+func (x *EncCommentMessage) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_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 EncCommentMessage.ProtoReflect.Descriptor instead.
+func (*EncCommentMessage) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{21}
+}
+
+func (x *EncCommentMessage) GetTargetMessageKey() *MessageKey {
+ if x != nil {
+ return x.TargetMessageKey
+ }
+ return nil
+}
+
+func (x *EncCommentMessage) GetEncPayload() []byte {
+ if x != nil {
+ return x.EncPayload
+ }
+ return nil
+}
+
+func (x *EncCommentMessage) GetEncIv() []byte {
+ if x != nil {
+ return x.EncIv
+ }
+ return nil
+}
+
type DocumentMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -6660,7 +6910,7 @@ type DocumentMessage struct {
func (x *DocumentMessage) Reset() {
*x = DocumentMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[25]
+ mi := &file_binary_proto_def_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -6673,7 +6923,7 @@ func (x *DocumentMessage) String() string {
func (*DocumentMessage) ProtoMessage() {}
func (x *DocumentMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[25]
+ mi := &file_binary_proto_def_proto_msgTypes[22]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -6686,7 +6936,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{25}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{22}
}
func (x *DocumentMessage) GetUrl() string {
@@ -6842,7 +7092,7 @@ type DeviceSentMessage struct {
func (x *DeviceSentMessage) Reset() {
*x = DeviceSentMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[26]
+ mi := &file_binary_proto_def_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -6855,7 +7105,7 @@ func (x *DeviceSentMessage) String() string {
func (*DeviceSentMessage) ProtoMessage() {}
func (x *DeviceSentMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[26]
+ mi := &file_binary_proto_def_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -6868,7 +7118,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{26}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{23}
}
func (x *DeviceSentMessage) GetDestinationJid() string {
@@ -6903,7 +7153,7 @@ type DeclinePaymentRequestMessage struct {
func (x *DeclinePaymentRequestMessage) Reset() {
*x = DeclinePaymentRequestMessage{}
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)
}
@@ -6916,7 +7166,7 @@ func (x *DeclinePaymentRequestMessage) String() string {
func (*DeclinePaymentRequestMessage) ProtoMessage() {}
func (x *DeclinePaymentRequestMessage) 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 {
@@ -6929,7 +7179,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{27}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{24}
}
func (x *DeclinePaymentRequestMessage) GetKey() *MessageKey {
@@ -6952,7 +7202,7 @@ type ContactsArrayMessage struct {
func (x *ContactsArrayMessage) Reset() {
*x = ContactsArrayMessage{}
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)
}
@@ -6965,7 +7215,7 @@ func (x *ContactsArrayMessage) String() string {
func (*ContactsArrayMessage) ProtoMessage() {}
func (x *ContactsArrayMessage) 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 {
@@ -6978,7 +7228,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{28}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{25}
}
func (x *ContactsArrayMessage) GetDisplayName() string {
@@ -7015,7 +7265,7 @@ type ContactMessage struct {
func (x *ContactMessage) Reset() {
*x = ContactMessage{}
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)
}
@@ -7028,7 +7278,7 @@ func (x *ContactMessage) String() string {
func (*ContactMessage) ProtoMessage() {}
func (x *ContactMessage) 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 {
@@ -7041,7 +7291,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{29}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{26}
}
func (x *ContactMessage) GetDisplayName() string {
@@ -7077,7 +7327,7 @@ type Chat struct {
func (x *Chat) Reset() {
*x = Chat{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[30]
+ mi := &file_binary_proto_def_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -7090,7 +7340,7 @@ func (x *Chat) String() string {
func (*Chat) ProtoMessage() {}
func (x *Chat) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[30]
+ mi := &file_binary_proto_def_proto_msgTypes[27]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -7103,7 +7353,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{30}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{27}
}
func (x *Chat) GetDisplayName() string {
@@ -7131,7 +7381,7 @@ type CancelPaymentRequestMessage struct {
func (x *CancelPaymentRequestMessage) Reset() {
*x = CancelPaymentRequestMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[31]
+ mi := &file_binary_proto_def_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -7144,7 +7394,7 @@ func (x *CancelPaymentRequestMessage) String() string {
func (*CancelPaymentRequestMessage) ProtoMessage() {}
func (x *CancelPaymentRequestMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[31]
+ mi := &file_binary_proto_def_proto_msgTypes[28]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -7157,7 +7407,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{31}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{28}
}
func (x *CancelPaymentRequestMessage) GetKey() *MessageKey {
@@ -7181,7 +7431,7 @@ type Call struct {
func (x *Call) Reset() {
*x = Call{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[32]
+ mi := &file_binary_proto_def_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -7194,7 +7444,7 @@ func (x *Call) String() string {
func (*Call) ProtoMessage() {}
func (x *Call) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[32]
+ mi := &file_binary_proto_def_proto_msgTypes[29]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -7207,7 +7457,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{32}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{29}
}
func (x *Call) GetCallKey() []byte {
@@ -7255,7 +7505,7 @@ type ButtonsResponseMessage struct {
func (x *ButtonsResponseMessage) Reset() {
*x = ButtonsResponseMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[33]
+ mi := &file_binary_proto_def_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -7268,7 +7518,7 @@ func (x *ButtonsResponseMessage) String() string {
func (*ButtonsResponseMessage) ProtoMessage() {}
func (x *ButtonsResponseMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[33]
+ mi := &file_binary_proto_def_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -7281,7 +7531,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{33}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{30}
}
func (x *ButtonsResponseMessage) GetSelectedButtonId() string {
@@ -7352,7 +7602,7 @@ type ButtonsMessage struct {
func (x *ButtonsMessage) Reset() {
*x = ButtonsMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[34]
+ mi := &file_binary_proto_def_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -7365,7 +7615,7 @@ func (x *ButtonsMessage) String() string {
func (*ButtonsMessage) ProtoMessage() {}
func (x *ButtonsMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[34]
+ mi := &file_binary_proto_def_proto_msgTypes[31]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -7378,7 +7628,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{34}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{31}
}
func (x *ButtonsMessage) GetContentText() string {
@@ -7492,6 +7742,69 @@ func (*ButtonsMessage_VideoMessage) isButtonsMessage_Header() {}
func (*ButtonsMessage_LocationMessage) isButtonsMessage_Header() {}
+type BotFeedbackMessage struct {
+ state protoimpl.MessageState
+ 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"`
+}
+
+func (x *BotFeedbackMessage) Reset() {
+ *x = BotFeedbackMessage{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[32]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *BotFeedbackMessage) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BotFeedbackMessage) ProtoMessage() {}
+
+func (x *BotFeedbackMessage) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_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 BotFeedbackMessage.ProtoReflect.Descriptor instead.
+func (*BotFeedbackMessage) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{32}
+}
+
+func (x *BotFeedbackMessage) GetMessageKey() *MessageKey {
+ if x != nil {
+ return x.MessageKey
+ }
+ return nil
+}
+
+func (x *BotFeedbackMessage) GetKind() BotFeedbackMessage_BotFeedbackKind {
+ if x != nil && x.Kind != nil {
+ return *x.Kind
+ }
+ return BotFeedbackMessage_BOT_FEEDBACK_POSITIVE
+}
+
+func (x *BotFeedbackMessage) GetText() string {
+ if x != nil && x.Text != nil {
+ return *x.Text
+ }
+ return ""
+}
+
type AudioMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -7517,7 +7830,7 @@ type AudioMessage struct {
func (x *AudioMessage) Reset() {
*x = AudioMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[35]
+ mi := &file_binary_proto_def_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -7530,7 +7843,7 @@ func (x *AudioMessage) String() string {
func (*AudioMessage) ProtoMessage() {}
func (x *AudioMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[35]
+ mi := &file_binary_proto_def_proto_msgTypes[33]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -7543,7 +7856,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{35}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{33}
}
func (x *AudioMessage) GetUrl() string {
@@ -7663,7 +7976,7 @@ type AppStateSyncKey struct {
func (x *AppStateSyncKey) Reset() {
*x = AppStateSyncKey{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[36]
+ mi := &file_binary_proto_def_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -7676,7 +7989,7 @@ func (x *AppStateSyncKey) String() string {
func (*AppStateSyncKey) ProtoMessage() {}
func (x *AppStateSyncKey) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[36]
+ mi := &file_binary_proto_def_proto_msgTypes[34]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -7689,7 +8002,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{36}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{34}
}
func (x *AppStateSyncKey) GetKeyId() *AppStateSyncKeyId {
@@ -7717,7 +8030,7 @@ type AppStateSyncKeyShare struct {
func (x *AppStateSyncKeyShare) Reset() {
*x = AppStateSyncKeyShare{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[37]
+ mi := &file_binary_proto_def_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -7730,7 +8043,7 @@ func (x *AppStateSyncKeyShare) String() string {
func (*AppStateSyncKeyShare) ProtoMessage() {}
func (x *AppStateSyncKeyShare) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[37]
+ mi := &file_binary_proto_def_proto_msgTypes[35]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -7743,7 +8056,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{37}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{35}
}
func (x *AppStateSyncKeyShare) GetKeys() []*AppStateSyncKey {
@@ -7764,7 +8077,7 @@ type AppStateSyncKeyRequest struct {
func (x *AppStateSyncKeyRequest) Reset() {
*x = AppStateSyncKeyRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[38]
+ mi := &file_binary_proto_def_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -7777,7 +8090,7 @@ func (x *AppStateSyncKeyRequest) String() string {
func (*AppStateSyncKeyRequest) ProtoMessage() {}
func (x *AppStateSyncKeyRequest) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[38]
+ mi := &file_binary_proto_def_proto_msgTypes[36]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -7790,7 +8103,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{38}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{36}
}
func (x *AppStateSyncKeyRequest) GetKeyIds() []*AppStateSyncKeyId {
@@ -7811,7 +8124,7 @@ type AppStateSyncKeyId struct {
func (x *AppStateSyncKeyId) Reset() {
*x = AppStateSyncKeyId{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[39]
+ mi := &file_binary_proto_def_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -7824,7 +8137,7 @@ func (x *AppStateSyncKeyId) String() string {
func (*AppStateSyncKeyId) ProtoMessage() {}
func (x *AppStateSyncKeyId) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[39]
+ mi := &file_binary_proto_def_proto_msgTypes[37]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -7837,7 +8150,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{39}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{37}
}
func (x *AppStateSyncKeyId) GetKeyId() []byte {
@@ -7860,7 +8173,7 @@ type AppStateSyncKeyFingerprint struct {
func (x *AppStateSyncKeyFingerprint) Reset() {
*x = AppStateSyncKeyFingerprint{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[40]
+ mi := &file_binary_proto_def_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -7873,7 +8186,7 @@ func (x *AppStateSyncKeyFingerprint) String() string {
func (*AppStateSyncKeyFingerprint) ProtoMessage() {}
func (x *AppStateSyncKeyFingerprint) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[40]
+ mi := &file_binary_proto_def_proto_msgTypes[38]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -7886,7 +8199,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{40}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{38}
}
func (x *AppStateSyncKeyFingerprint) GetRawId() uint32 {
@@ -7923,7 +8236,7 @@ type AppStateSyncKeyData struct {
func (x *AppStateSyncKeyData) Reset() {
*x = AppStateSyncKeyData{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[41]
+ mi := &file_binary_proto_def_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -7936,7 +8249,7 @@ func (x *AppStateSyncKeyData) String() string {
func (*AppStateSyncKeyData) ProtoMessage() {}
func (x *AppStateSyncKeyData) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[41]
+ mi := &file_binary_proto_def_proto_msgTypes[39]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -7949,7 +8262,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{41}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{39}
}
func (x *AppStateSyncKeyData) GetKeyData() []byte {
@@ -7985,7 +8298,7 @@ type AppStateFatalExceptionNotification struct {
func (x *AppStateFatalExceptionNotification) Reset() {
*x = AppStateFatalExceptionNotification{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[42]
+ mi := &file_binary_proto_def_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -7998,7 +8311,7 @@ func (x *AppStateFatalExceptionNotification) String() string {
func (*AppStateFatalExceptionNotification) ProtoMessage() {}
func (x *AppStateFatalExceptionNotification) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[42]
+ mi := &file_binary_proto_def_proto_msgTypes[40]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -8011,7 +8324,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{42}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{40}
}
func (x *AppStateFatalExceptionNotification) GetCollectionNames() []string {
@@ -8041,7 +8354,7 @@ type Location struct {
func (x *Location) Reset() {
*x = Location{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[43]
+ mi := &file_binary_proto_def_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -8054,7 +8367,7 @@ func (x *Location) String() string {
func (*Location) ProtoMessage() {}
func (x *Location) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[43]
+ mi := &file_binary_proto_def_proto_msgTypes[41]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -8067,7 +8380,7 @@ func (x *Location) ProtoReflect() protoreflect.Message {
// Deprecated: Use Location.ProtoReflect.Descriptor instead.
func (*Location) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{43}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{41}
}
func (x *Location) GetDegreesLatitude() float64 {
@@ -8106,7 +8419,7 @@ type InteractiveAnnotation struct {
func (x *InteractiveAnnotation) Reset() {
*x = InteractiveAnnotation{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[44]
+ mi := &file_binary_proto_def_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -8119,7 +8432,7 @@ func (x *InteractiveAnnotation) String() string {
func (*InteractiveAnnotation) ProtoMessage() {}
func (x *InteractiveAnnotation) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[44]
+ mi := &file_binary_proto_def_proto_msgTypes[42]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -8132,7 +8445,7 @@ func (x *InteractiveAnnotation) ProtoReflect() protoreflect.Message {
// Deprecated: Use InteractiveAnnotation.ProtoReflect.Descriptor instead.
func (*InteractiveAnnotation) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{44}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{42}
}
func (x *InteractiveAnnotation) GetPolygonVertices() []*Point {
@@ -8183,7 +8496,7 @@ type HydratedTemplateButton struct {
func (x *HydratedTemplateButton) Reset() {
*x = HydratedTemplateButton{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[45]
+ mi := &file_binary_proto_def_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -8196,7 +8509,7 @@ func (x *HydratedTemplateButton) String() string {
func (*HydratedTemplateButton) ProtoMessage() {}
func (x *HydratedTemplateButton) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[45]
+ mi := &file_binary_proto_def_proto_msgTypes[43]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -8209,7 +8522,7 @@ func (x *HydratedTemplateButton) ProtoReflect() protoreflect.Message {
// Deprecated: Use HydratedTemplateButton.ProtoReflect.Descriptor instead.
func (*HydratedTemplateButton) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{45}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{43}
}
func (x *HydratedTemplateButton) GetIndex() uint32 {
@@ -8281,7 +8594,7 @@ type GroupMention struct {
func (x *GroupMention) Reset() {
*x = GroupMention{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[46]
+ mi := &file_binary_proto_def_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -8294,7 +8607,7 @@ func (x *GroupMention) String() string {
func (*GroupMention) ProtoMessage() {}
func (x *GroupMention) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[46]
+ mi := &file_binary_proto_def_proto_msgTypes[44]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -8307,7 +8620,7 @@ func (x *GroupMention) ProtoReflect() protoreflect.Message {
// Deprecated: Use GroupMention.ProtoReflect.Descriptor instead.
func (*GroupMention) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{46}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{44}
}
func (x *GroupMention) GetGroupJid() string {
@@ -8329,13 +8642,15 @@ type DisappearingMode struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Initiator *DisappearingMode_Initiator `protobuf:"varint,1,opt,name=initiator,enum=proto.DisappearingMode_Initiator" json:"initiator,omitempty"`
+ 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"`
}
func (x *DisappearingMode) Reset() {
*x = DisappearingMode{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[47]
+ mi := &file_binary_proto_def_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -8348,7 +8663,7 @@ func (x *DisappearingMode) String() string {
func (*DisappearingMode) ProtoMessage() {}
func (x *DisappearingMode) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[47]
+ mi := &file_binary_proto_def_proto_msgTypes[45]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -8361,7 +8676,7 @@ func (x *DisappearingMode) ProtoReflect() protoreflect.Message {
// Deprecated: Use DisappearingMode.ProtoReflect.Descriptor instead.
func (*DisappearingMode) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{47}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{45}
}
func (x *DisappearingMode) GetInitiator() DisappearingMode_Initiator {
@@ -8371,6 +8686,20 @@ func (x *DisappearingMode) GetInitiator() DisappearingMode_Initiator {
return DisappearingMode_CHANGED_IN_CHAT
}
+func (x *DisappearingMode) GetTrigger() DisappearingMode_Trigger {
+ if x != nil && x.Trigger != nil {
+ return *x.Trigger
+ }
+ return DisappearingMode_UNKNOWN
+}
+
+func (x *DisappearingMode) GetInitiatorDeviceJid() string {
+ if x != nil && x.InitiatorDeviceJid != nil {
+ return *x.InitiatorDeviceJid
+ }
+ return ""
+}
+
type DeviceListMetadata struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -8387,7 +8716,7 @@ type DeviceListMetadata struct {
func (x *DeviceListMetadata) Reset() {
*x = DeviceListMetadata{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[48]
+ mi := &file_binary_proto_def_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -8400,7 +8729,7 @@ func (x *DeviceListMetadata) String() string {
func (*DeviceListMetadata) ProtoMessage() {}
func (x *DeviceListMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[48]
+ mi := &file_binary_proto_def_proto_msgTypes[46]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -8413,7 +8742,7 @@ func (x *DeviceListMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use DeviceListMetadata.ProtoReflect.Descriptor instead.
func (*DeviceListMetadata) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{48}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{46}
}
func (x *DeviceListMetadata) GetSenderKeyHash() []byte {
@@ -8463,40 +8792,43 @@ 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"`
+ 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"`
}
func (x *ContextInfo) Reset() {
*x = ContextInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[49]
+ mi := &file_binary_proto_def_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -8509,7 +8841,7 @@ func (x *ContextInfo) String() string {
func (*ContextInfo) ProtoMessage() {}
func (x *ContextInfo) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[49]
+ mi := &file_binary_proto_def_proto_msgTypes[47]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -8522,7 +8854,7 @@ func (x *ContextInfo) ProtoReflect() protoreflect.Message {
// Deprecated: Use ContextInfo.ProtoReflect.Descriptor instead.
func (*ContextInfo) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{49}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{47}
}
func (x *ContextInfo) GetStanzaId() string {
@@ -8721,6 +9053,216 @@ func (x *ContextInfo) GetUtm() *ContextInfo_UTMInfo {
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 && x.SmbClientCampaignId != nil {
+ return *x.SmbClientCampaignId
+ }
+ return ""
+}
+
+type BotPluginMetadata struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ IsPlaceholder *bool `protobuf:"varint,1,opt,name=isPlaceholder" json:"isPlaceholder,omitempty"`
+}
+
+func (x *BotPluginMetadata) Reset() {
+ *x = BotPluginMetadata{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[48]
+ 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_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 BotPluginMetadata.ProtoReflect.Descriptor instead.
+func (*BotPluginMetadata) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{48}
+}
+
+func (x *BotPluginMetadata) GetIsPlaceholder() bool {
+ if x != nil && x.IsPlaceholder != nil {
+ return *x.IsPlaceholder
+ }
+ return false
+}
+
+type BotMetadata struct {
+ state protoimpl.MessageState
+ 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"`
+}
+
+func (x *BotMetadata) Reset() {
+ *x = BotMetadata{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[49]
+ 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_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 BotMetadata.ProtoReflect.Descriptor instead.
+func (*BotMetadata) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{49}
+}
+
+func (x *BotMetadata) GetAvatarMetadata() *BotAvatarMetadata {
+ if x != nil {
+ return x.AvatarMetadata
+ }
+ return nil
+}
+
+func (x *BotMetadata) GetPersonaId() string {
+ if x != nil && x.PersonaId != nil {
+ return *x.PersonaId
+ }
+ return ""
+}
+
+func (x *BotMetadata) GetPluginMetadata() *BotPluginMetadata {
+ if x != nil {
+ return x.PluginMetadata
+ }
+ return nil
+}
+
+type BotAvatarMetadata struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Sentiment *uint32 `protobuf:"varint,1,opt,name=sentiment" json:"sentiment,omitempty"`
+ BehaviorGraph *string `protobuf:"bytes,2,opt,name=behaviorGraph" json:"behaviorGraph,omitempty"`
+ Action *uint32 `protobuf:"varint,3,opt,name=action" json:"action,omitempty"`
+ Intensity *uint32 `protobuf:"varint,4,opt,name=intensity" json:"intensity,omitempty"`
+ WordCount *uint32 `protobuf:"varint,5,opt,name=wordCount" json:"wordCount,omitempty"`
+}
+
+func (x *BotAvatarMetadata) Reset() {
+ *x = BotAvatarMetadata{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[50]
+ 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_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 BotAvatarMetadata.ProtoReflect.Descriptor instead.
+func (*BotAvatarMetadata) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{50}
+}
+
+func (x *BotAvatarMetadata) GetSentiment() uint32 {
+ if x != nil && x.Sentiment != nil {
+ return *x.Sentiment
+ }
+ return 0
+}
+
+func (x *BotAvatarMetadata) GetBehaviorGraph() string {
+ if x != nil && x.BehaviorGraph != nil {
+ return *x.BehaviorGraph
+ }
+ return ""
+}
+
+func (x *BotAvatarMetadata) GetAction() uint32 {
+ if x != nil && x.Action != nil {
+ return *x.Action
+ }
+ return 0
+}
+
+func (x *BotAvatarMetadata) GetIntensity() uint32 {
+ if x != nil && x.Intensity != nil {
+ return *x.Intensity
+ }
+ return 0
+}
+
+func (x *BotAvatarMetadata) GetWordCount() uint32 {
+ if x != nil && x.WordCount != nil {
+ return *x.WordCount
+ }
+ return 0
+}
+
type ActionLink struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -8733,7 +9275,7 @@ type ActionLink struct {
func (x *ActionLink) Reset() {
*x = ActionLink{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[50]
+ mi := &file_binary_proto_def_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -8746,7 +9288,7 @@ func (x *ActionLink) String() string {
func (*ActionLink) ProtoMessage() {}
func (x *ActionLink) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[50]
+ mi := &file_binary_proto_def_proto_msgTypes[51]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -8759,7 +9301,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{50}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{51}
}
func (x *ActionLink) GetUrl() string {
@@ -8793,7 +9335,7 @@ type TemplateButton struct {
func (x *TemplateButton) Reset() {
*x = TemplateButton{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[51]
+ mi := &file_binary_proto_def_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -8806,7 +9348,7 @@ func (x *TemplateButton) String() string {
func (*TemplateButton) ProtoMessage() {}
func (x *TemplateButton) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[51]
+ mi := &file_binary_proto_def_proto_msgTypes[52]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -8819,7 +9361,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{51}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{52}
}
func (x *TemplateButton) GetIndex() uint32 {
@@ -8893,7 +9435,7 @@ type Point struct {
func (x *Point) Reset() {
*x = Point{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[52]
+ mi := &file_binary_proto_def_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -8906,7 +9448,7 @@ func (x *Point) String() string {
func (*Point) ProtoMessage() {}
func (x *Point) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[52]
+ mi := &file_binary_proto_def_proto_msgTypes[53]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -8919,7 +9461,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{52}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{53}
}
func (x *Point) GetXDeprecated() int32 {
@@ -8970,7 +9512,7 @@ type PaymentBackground struct {
func (x *PaymentBackground) Reset() {
*x = PaymentBackground{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[53]
+ mi := &file_binary_proto_def_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -8983,7 +9525,7 @@ func (x *PaymentBackground) String() string {
func (*PaymentBackground) ProtoMessage() {}
func (x *PaymentBackground) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[53]
+ mi := &file_binary_proto_def_proto_msgTypes[54]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -8996,7 +9538,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{53}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{54}
}
func (x *PaymentBackground) GetId() string {
@@ -9082,7 +9624,7 @@ type Money struct {
func (x *Money) Reset() {
*x = Money{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[54]
+ mi := &file_binary_proto_def_proto_msgTypes[55]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -9095,7 +9637,7 @@ func (x *Money) String() string {
func (*Money) ProtoMessage() {}
func (x *Money) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[54]
+ mi := &file_binary_proto_def_proto_msgTypes[55]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -9108,7 +9650,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{54}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{55}
}
func (x *Money) GetValue() int64 {
@@ -9189,16 +9731,18 @@ type Message struct {
PollCreationMessageV2 *PollCreationMessage `protobuf:"bytes,60,opt,name=pollCreationMessageV2" json:"pollCreationMessageV2,omitempty"`
ScheduledCallCreationMessage *ScheduledCallCreationMessage `protobuf:"bytes,61,opt,name=scheduledCallCreationMessage" json:"scheduledCallCreationMessage,omitempty"`
GroupMentionedMessage *FutureProofMessage `protobuf:"bytes,62,opt,name=groupMentionedMessage" json:"groupMentionedMessage,omitempty"`
- PinMessage *PinMessage `protobuf:"bytes,63,opt,name=pinMessage" json:"pinMessage,omitempty"`
+ PinInChatMessage *PinInChatMessage `protobuf:"bytes,63,opt,name=pinInChatMessage" json:"pinInChatMessage,omitempty"`
PollCreationMessageV3 *PollCreationMessage `protobuf:"bytes,64,opt,name=pollCreationMessageV3" json:"pollCreationMessageV3,omitempty"`
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"`
}
func (x *Message) Reset() {
*x = Message{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[55]
+ mi := &file_binary_proto_def_proto_msgTypes[56]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -9211,7 +9755,7 @@ func (x *Message) String() string {
func (*Message) ProtoMessage() {}
func (x *Message) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[55]
+ mi := &file_binary_proto_def_proto_msgTypes[56]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -9224,7 +9768,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{55}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{56}
}
func (x *Message) GetConversation() string {
@@ -9591,9 +10135,9 @@ func (x *Message) GetGroupMentionedMessage() *FutureProofMessage {
return nil
}
-func (x *Message) GetPinMessage() *PinMessage {
+func (x *Message) GetPinInChatMessage() *PinInChatMessage {
if x != nil {
- return x.PinMessage
+ return x.PinInChatMessage
}
return nil
}
@@ -9619,21 +10163,101 @@ func (x *Message) GetPtvMessage() *VideoMessage {
return nil
}
+func (x *Message) GetBotInvokeMessage() *FutureProofMessage {
+ if x != nil {
+ return x.BotInvokeMessage
+ }
+ return nil
+}
+
+func (x *Message) GetEncCommentMessage() *EncCommentMessage {
+ if x != nil {
+ return x.EncCommentMessage
+ }
+ return nil
+}
+
+type MessageSecretMessage struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Version *int32 `protobuf:"fixed32,1,opt,name=version" json:"version,omitempty"`
+ EncIv []byte `protobuf:"bytes,2,opt,name=encIv" json:"encIv,omitempty"`
+ EncPayload []byte `protobuf:"bytes,3,opt,name=encPayload" json:"encPayload,omitempty"`
+}
+
+func (x *MessageSecretMessage) Reset() {
+ *x = MessageSecretMessage{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[57]
+ 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_binary_proto_def_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 MessageSecretMessage.ProtoReflect.Descriptor instead.
+func (*MessageSecretMessage) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{57}
+}
+
+func (x *MessageSecretMessage) GetVersion() int32 {
+ if x != nil && x.Version != 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 MessageContextInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- DeviceListMetadata *DeviceListMetadata `protobuf:"bytes,1,opt,name=deviceListMetadata" json:"deviceListMetadata,omitempty"`
- DeviceListMetadataVersion *int32 `protobuf:"varint,2,opt,name=deviceListMetadataVersion" json:"deviceListMetadataVersion,omitempty"`
- MessageSecret []byte `protobuf:"bytes,3,opt,name=messageSecret" json:"messageSecret,omitempty"`
- PaddingBytes []byte `protobuf:"bytes,4,opt,name=paddingBytes" json:"paddingBytes,omitempty"`
+ DeviceListMetadata *DeviceListMetadata `protobuf:"bytes,1,opt,name=deviceListMetadata" json:"deviceListMetadata,omitempty"`
+ DeviceListMetadataVersion *int32 `protobuf:"varint,2,opt,name=deviceListMetadataVersion" json:"deviceListMetadataVersion,omitempty"`
+ MessageSecret []byte `protobuf:"bytes,3,opt,name=messageSecret" json:"messageSecret,omitempty"`
+ PaddingBytes []byte `protobuf:"bytes,4,opt,name=paddingBytes" json:"paddingBytes,omitempty"`
+ 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"`
}
func (x *MessageContextInfo) Reset() {
*x = MessageContextInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[56]
+ mi := &file_binary_proto_def_proto_msgTypes[58]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -9646,7 +10270,7 @@ func (x *MessageContextInfo) String() string {
func (*MessageContextInfo) ProtoMessage() {}
func (x *MessageContextInfo) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[56]
+ mi := &file_binary_proto_def_proto_msgTypes[58]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -9659,7 +10283,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{56}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{58}
}
func (x *MessageContextInfo) GetDeviceListMetadata() *DeviceListMetadata {
@@ -9690,6 +10314,27 @@ func (x *MessageContextInfo) GetPaddingBytes() []byte {
return nil
}
+func (x *MessageContextInfo) GetMessageAddOnDurationInSecs() uint32 {
+ if x != nil && x.MessageAddOnDurationInSecs != 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
+}
+
type VideoMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -9723,7 +10368,7 @@ type VideoMessage struct {
func (x *VideoMessage) Reset() {
*x = VideoMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[57]
+ mi := &file_binary_proto_def_proto_msgTypes[59]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -9736,7 +10381,7 @@ func (x *VideoMessage) String() string {
func (*VideoMessage) ProtoMessage() {}
func (x *VideoMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[57]
+ mi := &file_binary_proto_def_proto_msgTypes[59]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -9749,7 +10394,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{57}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{59}
}
func (x *VideoMessage) GetUrl() string {
@@ -9932,7 +10577,7 @@ type TemplateMessage struct {
func (x *TemplateMessage) Reset() {
*x = TemplateMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[58]
+ mi := &file_binary_proto_def_proto_msgTypes[60]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -9945,7 +10590,7 @@ func (x *TemplateMessage) String() string {
func (*TemplateMessage) ProtoMessage() {}
func (x *TemplateMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[58]
+ mi := &file_binary_proto_def_proto_msgTypes[60]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -9958,7 +10603,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{58}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{60}
}
func (x *TemplateMessage) GetContextInfo() *ContextInfo {
@@ -10046,7 +10691,7 @@ type TemplateButtonReplyMessage struct {
func (x *TemplateButtonReplyMessage) Reset() {
*x = TemplateButtonReplyMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[59]
+ mi := &file_binary_proto_def_proto_msgTypes[61]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -10059,7 +10704,7 @@ func (x *TemplateButtonReplyMessage) String() string {
func (*TemplateButtonReplyMessage) ProtoMessage() {}
func (x *TemplateButtonReplyMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[59]
+ mi := &file_binary_proto_def_proto_msgTypes[61]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -10072,7 +10717,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{59}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{61}
}
func (x *TemplateButtonReplyMessage) GetSelectedId() string {
@@ -10116,7 +10761,7 @@ type StickerSyncRMRMessage struct {
func (x *StickerSyncRMRMessage) Reset() {
*x = StickerSyncRMRMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[60]
+ mi := &file_binary_proto_def_proto_msgTypes[62]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -10129,7 +10774,7 @@ func (x *StickerSyncRMRMessage) String() string {
func (*StickerSyncRMRMessage) ProtoMessage() {}
func (x *StickerSyncRMRMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[60]
+ mi := &file_binary_proto_def_proto_msgTypes[62]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -10142,7 +10787,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{60}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{62}
}
func (x *StickerSyncRMRMessage) GetFilehash() []string {
@@ -10188,12 +10833,13 @@ type StickerMessage struct {
ContextInfo *ContextInfo `protobuf:"bytes,17,opt,name=contextInfo" json:"contextInfo,omitempty"`
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"`
}
func (x *StickerMessage) Reset() {
*x = StickerMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[61]
+ mi := &file_binary_proto_def_proto_msgTypes[63]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -10206,7 +10852,7 @@ func (x *StickerMessage) String() string {
func (*StickerMessage) ProtoMessage() {}
func (x *StickerMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[61]
+ mi := &file_binary_proto_def_proto_msgTypes[63]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -10219,7 +10865,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{61}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{63}
}
func (x *StickerMessage) GetUrl() string {
@@ -10341,6 +10987,13 @@ func (x *StickerMessage) GetIsAvatar() bool {
return false
}
+func (x *StickerMessage) GetIsAiSticker() bool {
+ if x != nil && x.IsAiSticker != nil {
+ return *x.IsAiSticker
+ }
+ return false
+}
+
type SenderKeyDistributionMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -10353,7 +11006,7 @@ type SenderKeyDistributionMessage struct {
func (x *SenderKeyDistributionMessage) Reset() {
*x = SenderKeyDistributionMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[62]
+ mi := &file_binary_proto_def_proto_msgTypes[64]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -10366,7 +11019,7 @@ func (x *SenderKeyDistributionMessage) String() string {
func (*SenderKeyDistributionMessage) ProtoMessage() {}
func (x *SenderKeyDistributionMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[62]
+ mi := &file_binary_proto_def_proto_msgTypes[64]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -10379,7 +11032,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{62}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{64}
}
func (x *SenderKeyDistributionMessage) GetGroupId() string {
@@ -10409,7 +11062,7 @@ type SendPaymentMessage struct {
func (x *SendPaymentMessage) Reset() {
*x = SendPaymentMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[63]
+ mi := &file_binary_proto_def_proto_msgTypes[65]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -10422,7 +11075,7 @@ func (x *SendPaymentMessage) String() string {
func (*SendPaymentMessage) ProtoMessage() {}
func (x *SendPaymentMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[63]
+ mi := &file_binary_proto_def_proto_msgTypes[65]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -10435,7 +11088,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{63}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{65}
}
func (x *SendPaymentMessage) GetNoteMessage() *Message {
@@ -10471,7 +11124,7 @@ type ScheduledCallEditMessage struct {
func (x *ScheduledCallEditMessage) Reset() {
*x = ScheduledCallEditMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[64]
+ mi := &file_binary_proto_def_proto_msgTypes[66]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -10484,7 +11137,7 @@ func (x *ScheduledCallEditMessage) String() string {
func (*ScheduledCallEditMessage) ProtoMessage() {}
func (x *ScheduledCallEditMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[64]
+ mi := &file_binary_proto_def_proto_msgTypes[66]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -10497,7 +11150,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{64}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{66}
}
func (x *ScheduledCallEditMessage) GetKey() *MessageKey {
@@ -10527,7 +11180,7 @@ type ScheduledCallCreationMessage struct {
func (x *ScheduledCallCreationMessage) Reset() {
*x = ScheduledCallCreationMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[65]
+ mi := &file_binary_proto_def_proto_msgTypes[67]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -10540,7 +11193,7 @@ func (x *ScheduledCallCreationMessage) String() string {
func (*ScheduledCallCreationMessage) ProtoMessage() {}
func (x *ScheduledCallCreationMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[65]
+ mi := &file_binary_proto_def_proto_msgTypes[67]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -10553,7 +11206,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{65}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{67}
}
func (x *ScheduledCallCreationMessage) GetScheduledTimestampMs() int64 {
@@ -10588,7 +11241,7 @@ type RequestPhoneNumberMessage struct {
func (x *RequestPhoneNumberMessage) Reset() {
*x = RequestPhoneNumberMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[66]
+ mi := &file_binary_proto_def_proto_msgTypes[68]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -10601,7 +11254,7 @@ func (x *RequestPhoneNumberMessage) String() string {
func (*RequestPhoneNumberMessage) ProtoMessage() {}
func (x *RequestPhoneNumberMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[66]
+ mi := &file_binary_proto_def_proto_msgTypes[68]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -10614,7 +11267,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{66}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{68}
}
func (x *RequestPhoneNumberMessage) GetContextInfo() *ContextInfo {
@@ -10641,7 +11294,7 @@ type RequestPaymentMessage struct {
func (x *RequestPaymentMessage) Reset() {
*x = RequestPaymentMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[67]
+ mi := &file_binary_proto_def_proto_msgTypes[69]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -10654,7 +11307,7 @@ func (x *RequestPaymentMessage) String() string {
func (*RequestPaymentMessage) ProtoMessage() {}
func (x *RequestPaymentMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[67]
+ mi := &file_binary_proto_def_proto_msgTypes[69]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -10667,7 +11320,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{67}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{69}
}
func (x *RequestPaymentMessage) GetNoteMessage() *Message {
@@ -10733,7 +11386,7 @@ type ReactionMessage struct {
func (x *ReactionMessage) Reset() {
*x = ReactionMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[68]
+ mi := &file_binary_proto_def_proto_msgTypes[70]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -10746,7 +11399,7 @@ func (x *ReactionMessage) String() string {
func (*ReactionMessage) ProtoMessage() {}
func (x *ReactionMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[68]
+ mi := &file_binary_proto_def_proto_msgTypes[70]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -10759,7 +11412,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{68}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{70}
}
func (x *ReactionMessage) GetKey() *MessageKey {
@@ -10809,12 +11462,13 @@ type ProtocolMessage struct {
TimestampMs *int64 `protobuf:"varint,15,opt,name=timestampMs" json:"timestampMs,omitempty"`
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"`
}
func (x *ProtocolMessage) Reset() {
*x = ProtocolMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[69]
+ mi := &file_binary_proto_def_proto_msgTypes[71]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -10827,7 +11481,7 @@ func (x *ProtocolMessage) String() string {
func (*ProtocolMessage) ProtoMessage() {}
func (x *ProtocolMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[69]
+ mi := &file_binary_proto_def_proto_msgTypes[71]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -10840,7 +11494,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{69}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{71}
}
func (x *ProtocolMessage) GetKey() *MessageKey {
@@ -10941,6 +11595,13 @@ func (x *ProtocolMessage) GetPeerDataOperationRequestResponseMessage() *PeerData
return nil
}
+func (x *ProtocolMessage) GetBotFeedbackMessage() *BotFeedbackMessage {
+ if x != nil {
+ return x.BotFeedbackMessage
+ }
+ return nil
+}
+
type ProductMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -10957,7 +11618,7 @@ type ProductMessage struct {
func (x *ProductMessage) Reset() {
*x = ProductMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[70]
+ mi := &file_binary_proto_def_proto_msgTypes[72]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -10970,7 +11631,7 @@ func (x *ProductMessage) String() string {
func (*ProductMessage) ProtoMessage() {}
func (x *ProductMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[70]
+ mi := &file_binary_proto_def_proto_msgTypes[72]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -10983,7 +11644,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{70}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{72}
}
func (x *ProductMessage) GetProduct() *ProductMessage_ProductSnapshot {
@@ -11039,7 +11700,7 @@ type PollVoteMessage struct {
func (x *PollVoteMessage) Reset() {
*x = PollVoteMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[71]
+ mi := &file_binary_proto_def_proto_msgTypes[73]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -11052,7 +11713,7 @@ func (x *PollVoteMessage) String() string {
func (*PollVoteMessage) ProtoMessage() {}
func (x *PollVoteMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[71]
+ mi := &file_binary_proto_def_proto_msgTypes[73]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -11065,7 +11726,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{71}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{73}
}
func (x *PollVoteMessage) GetSelectedOptions() [][]byte {
@@ -11089,7 +11750,7 @@ type PollUpdateMessage struct {
func (x *PollUpdateMessage) Reset() {
*x = PollUpdateMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[72]
+ mi := &file_binary_proto_def_proto_msgTypes[74]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -11102,7 +11763,7 @@ func (x *PollUpdateMessage) String() string {
func (*PollUpdateMessage) ProtoMessage() {}
func (x *PollUpdateMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[72]
+ mi := &file_binary_proto_def_proto_msgTypes[74]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -11115,7 +11776,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{72}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{74}
}
func (x *PollUpdateMessage) GetPollCreationMessageKey() *MessageKey {
@@ -11155,7 +11816,7 @@ type PollUpdateMessageMetadata struct {
func (x *PollUpdateMessageMetadata) Reset() {
*x = PollUpdateMessageMetadata{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[73]
+ mi := &file_binary_proto_def_proto_msgTypes[75]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -11168,7 +11829,7 @@ func (x *PollUpdateMessageMetadata) String() string {
func (*PollUpdateMessageMetadata) ProtoMessage() {}
func (x *PollUpdateMessageMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[73]
+ mi := &file_binary_proto_def_proto_msgTypes[75]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -11181,7 +11842,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{73}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{75}
}
type PollEncValue struct {
@@ -11196,7 +11857,7 @@ type PollEncValue struct {
func (x *PollEncValue) Reset() {
*x = PollEncValue{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[74]
+ mi := &file_binary_proto_def_proto_msgTypes[76]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -11209,7 +11870,7 @@ func (x *PollEncValue) String() string {
func (*PollEncValue) ProtoMessage() {}
func (x *PollEncValue) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[74]
+ mi := &file_binary_proto_def_proto_msgTypes[76]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -11222,7 +11883,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{74}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{76}
}
func (x *PollEncValue) GetEncPayload() []byte {
@@ -11254,7 +11915,7 @@ type PollCreationMessage struct {
func (x *PollCreationMessage) Reset() {
*x = PollCreationMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[75]
+ mi := &file_binary_proto_def_proto_msgTypes[77]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -11267,7 +11928,7 @@ func (x *PollCreationMessage) String() string {
func (*PollCreationMessage) ProtoMessage() {}
func (x *PollCreationMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[75]
+ mi := &file_binary_proto_def_proto_msgTypes[77]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -11280,7 +11941,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{75}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{77}
}
func (x *PollCreationMessage) GetEncKey() []byte {
@@ -11318,33 +11979,33 @@ func (x *PollCreationMessage) GetContextInfo() *ContextInfo {
return nil
}
-type PinMessage struct {
+type PinInChatMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
- PinMessageType *PinMessage_PinMessageType `protobuf:"varint,2,opt,name=pinMessageType,enum=proto.PinMessage_PinMessageType" json:"pinMessageType,omitempty"`
- SenderTimestampMs *int64 `protobuf:"varint,3,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"`
+ Key *MessageKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
+ Type *PinInChatMessage_Type `protobuf:"varint,2,opt,name=type,enum=proto.PinInChatMessage_Type" json:"type,omitempty"`
+ SenderTimestampMs *int64 `protobuf:"varint,3,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"`
}
-func (x *PinMessage) Reset() {
- *x = PinMessage{}
+func (x *PinInChatMessage) Reset() {
+ *x = PinInChatMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[76]
+ mi := &file_binary_proto_def_proto_msgTypes[78]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *PinMessage) String() string {
+func (x *PinInChatMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*PinMessage) ProtoMessage() {}
+func (*PinInChatMessage) ProtoMessage() {}
-func (x *PinMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[76]
+func (x *PinInChatMessage) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_proto_msgTypes[78]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -11355,26 +12016,26 @@ func (x *PinMessage) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use PinMessage.ProtoReflect.Descriptor instead.
-func (*PinMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{76}
+// Deprecated: Use PinInChatMessage.ProtoReflect.Descriptor instead.
+func (*PinInChatMessage) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{78}
}
-func (x *PinMessage) GetKey() *MessageKey {
+func (x *PinInChatMessage) GetKey() *MessageKey {
if x != nil {
return x.Key
}
return nil
}
-func (x *PinMessage) GetPinMessageType() PinMessage_PinMessageType {
- if x != nil && x.PinMessageType != nil {
- return *x.PinMessageType
+func (x *PinInChatMessage) GetType() PinInChatMessage_Type {
+ if x != nil && x.Type != nil {
+ return *x.Type
}
- return PinMessage_UNKNOWN_PIN_MESSAGE_TYPE
+ return PinInChatMessage_UNKNOWN_TYPE
}
-func (x *PinMessage) GetSenderTimestampMs() int64 {
+func (x *PinInChatMessage) GetSenderTimestampMs() int64 {
if x != nil && x.SenderTimestampMs != nil {
return *x.SenderTimestampMs
}
@@ -11394,7 +12055,7 @@ type PeerDataOperationRequestResponseMessage struct {
func (x *PeerDataOperationRequestResponseMessage) Reset() {
*x = PeerDataOperationRequestResponseMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[77]
+ mi := &file_binary_proto_def_proto_msgTypes[79]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -11407,7 +12068,7 @@ func (x *PeerDataOperationRequestResponseMessage) String() string {
func (*PeerDataOperationRequestResponseMessage) ProtoMessage() {}
func (x *PeerDataOperationRequestResponseMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[77]
+ mi := &file_binary_proto_def_proto_msgTypes[79]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -11420,7 +12081,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{77}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{79}
}
func (x *PeerDataOperationRequestResponseMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType {
@@ -11444,6 +12105,410 @@ func (x *PeerDataOperationRequestResponseMessage) GetPeerDataOperationResult() [
return nil
}
+type PeerDataOperationRequestMessage struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ PeerDataOperationRequestType *PeerDataOperationRequestType `protobuf:"varint,1,opt,name=peerDataOperationRequestType,enum=proto.PeerDataOperationRequestType" json:"peerDataOperationRequestType,omitempty"`
+ RequestStickerReupload []*PeerDataOperationRequestMessage_RequestStickerReupload `protobuf:"bytes,2,rep,name=requestStickerReupload" json:"requestStickerReupload,omitempty"`
+ RequestUrlPreview []*PeerDataOperationRequestMessage_RequestUrlPreview `protobuf:"bytes,3,rep,name=requestUrlPreview" json:"requestUrlPreview,omitempty"`
+ HistorySyncOnDemandRequest *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest `protobuf:"bytes,4,opt,name=historySyncOnDemandRequest" json:"historySyncOnDemandRequest,omitempty"`
+ PlaceholderMessageResendRequest []*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest `protobuf:"bytes,5,rep,name=placeholderMessageResendRequest" json:"placeholderMessageResendRequest,omitempty"`
+}
+
+func (x *PeerDataOperationRequestMessage) Reset() {
+ *x = PeerDataOperationRequestMessage{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[80]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PeerDataOperationRequestMessage) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PeerDataOperationRequestMessage) ProtoMessage() {}
+
+func (x *PeerDataOperationRequestMessage) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_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 PeerDataOperationRequestMessage.ProtoReflect.Descriptor instead.
+func (*PeerDataOperationRequestMessage) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{80}
+}
+
+func (x *PeerDataOperationRequestMessage) GetPeerDataOperationRequestType() PeerDataOperationRequestType {
+ if x != nil && x.PeerDataOperationRequestType != nil {
+ return *x.PeerDataOperationRequestType
+ }
+ return PeerDataOperationRequestType_UPLOAD_STICKER
+}
+
+func (x *PeerDataOperationRequestMessage) GetRequestStickerReupload() []*PeerDataOperationRequestMessage_RequestStickerReupload {
+ if x != nil {
+ return x.RequestStickerReupload
+ }
+ return nil
+}
+
+func (x *PeerDataOperationRequestMessage) GetRequestUrlPreview() []*PeerDataOperationRequestMessage_RequestUrlPreview {
+ if x != nil {
+ return x.RequestUrlPreview
+ }
+ return nil
+}
+
+func (x *PeerDataOperationRequestMessage) GetHistorySyncOnDemandRequest() *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest {
+ if x != nil {
+ return x.HistorySyncOnDemandRequest
+ }
+ return nil
+}
+
+func (x *PeerDataOperationRequestMessage) GetPlaceholderMessageResendRequest() []*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest {
+ if x != nil {
+ return x.PlaceholderMessageResendRequest
+ }
+ return nil
+}
+
+type PaymentInviteMessage struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ServiceType *PaymentInviteMessage_ServiceType `protobuf:"varint,1,opt,name=serviceType,enum=proto.PaymentInviteMessage_ServiceType" json:"serviceType,omitempty"`
+ ExpiryTimestamp *int64 `protobuf:"varint,2,opt,name=expiryTimestamp" json:"expiryTimestamp,omitempty"`
+}
+
+func (x *PaymentInviteMessage) Reset() {
+ *x = PaymentInviteMessage{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[81]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PaymentInviteMessage) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PaymentInviteMessage) ProtoMessage() {}
+
+func (x *PaymentInviteMessage) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_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 PaymentInviteMessage.ProtoReflect.Descriptor instead.
+func (*PaymentInviteMessage) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{81}
+}
+
+func (x *PaymentInviteMessage) GetServiceType() PaymentInviteMessage_ServiceType {
+ if x != nil && x.ServiceType != nil {
+ return *x.ServiceType
+ }
+ return PaymentInviteMessage_UNKNOWN
+}
+
+func (x *PaymentInviteMessage) GetExpiryTimestamp() int64 {
+ if x != nil && x.ExpiryTimestamp != nil {
+ return *x.ExpiryTimestamp
+ }
+ return 0
+}
+
+type OrderMessage struct {
+ state protoimpl.MessageState
+ 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"`
+}
+
+func (x *OrderMessage) Reset() {
+ *x = OrderMessage{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[82]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *OrderMessage) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*OrderMessage) ProtoMessage() {}
+
+func (x *OrderMessage) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_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 OrderMessage.ProtoReflect.Descriptor instead.
+func (*OrderMessage) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{82}
+}
+
+func (x *OrderMessage) GetOrderId() string {
+ if x != nil && x.OrderId != nil {
+ return *x.OrderId
+ }
+ return ""
+}
+
+func (x *OrderMessage) GetThumbnail() []byte {
+ if x != nil {
+ return x.Thumbnail
+ }
+ return nil
+}
+
+func (x *OrderMessage) GetItemCount() int32 {
+ if x != nil && x.ItemCount != nil {
+ return *x.ItemCount
+ }
+ return 0
+}
+
+func (x *OrderMessage) GetStatus() OrderMessage_OrderStatus {
+ if x != nil && x.Status != nil {
+ return *x.Status
+ }
+ return OrderMessage_INQUIRY
+}
+
+func (x *OrderMessage) GetSurface() OrderMessage_OrderSurface {
+ if x != nil && x.Surface != nil {
+ return *x.Surface
+ }
+ return OrderMessage_CATALOG
+}
+
+func (x *OrderMessage) GetMessage() string {
+ if x != nil && x.Message != nil {
+ return *x.Message
+ }
+ return ""
+}
+
+func (x *OrderMessage) GetOrderTitle() string {
+ if x != nil && x.OrderTitle != nil {
+ return *x.OrderTitle
+ }
+ return ""
+}
+
+func (x *OrderMessage) GetSellerJid() string {
+ if x != nil && x.SellerJid != nil {
+ return *x.SellerJid
+ }
+ return ""
+}
+
+func (x *OrderMessage) GetToken() string {
+ if x != nil && x.Token != nil {
+ return *x.Token
+ }
+ return ""
+}
+
+func (x *OrderMessage) GetTotalAmount1000() int64 {
+ if x != nil && x.TotalAmount1000 != nil {
+ return *x.TotalAmount1000
+ }
+ return 0
+}
+
+func (x *OrderMessage) GetTotalCurrencyCode() string {
+ if x != nil && x.TotalCurrencyCode != nil {
+ return *x.TotalCurrencyCode
+ }
+ return ""
+}
+
+func (x *OrderMessage) GetContextInfo() *ContextInfo {
+ if x != nil {
+ return x.ContextInfo
+ }
+ return nil
+}
+
+type LocationMessage 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"`
+ Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
+ Address *string `protobuf:"bytes,4,opt,name=address" json:"address,omitempty"`
+ Url *string `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"`
+ IsLive *bool `protobuf:"varint,6,opt,name=isLive" json:"isLive,omitempty"`
+ AccuracyInMeters *uint32 `protobuf:"varint,7,opt,name=accuracyInMeters" json:"accuracyInMeters,omitempty"`
+ SpeedInMps *float32 `protobuf:"fixed32,8,opt,name=speedInMps" json:"speedInMps,omitempty"`
+ DegreesClockwiseFromMagneticNorth *uint32 `protobuf:"varint,9,opt,name=degreesClockwiseFromMagneticNorth" json:"degreesClockwiseFromMagneticNorth,omitempty"`
+ Comment *string `protobuf:"bytes,11,opt,name=comment" json:"comment,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 *LocationMessage) Reset() {
+ *x = LocationMessage{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[83]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *LocationMessage) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*LocationMessage) ProtoMessage() {}
+
+func (x *LocationMessage) 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 LocationMessage.ProtoReflect.Descriptor instead.
+func (*LocationMessage) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{83}
+}
+
+func (x *LocationMessage) GetDegreesLatitude() float64 {
+ if x != nil && x.DegreesLatitude != nil {
+ return *x.DegreesLatitude
+ }
+ return 0
+}
+
+func (x *LocationMessage) GetDegreesLongitude() float64 {
+ if x != nil && x.DegreesLongitude != nil {
+ return *x.DegreesLongitude
+ }
+ return 0
+}
+
+func (x *LocationMessage) GetName() string {
+ if x != nil && x.Name != nil {
+ return *x.Name
+ }
+ return ""
+}
+
+func (x *LocationMessage) GetAddress() string {
+ if x != nil && x.Address != nil {
+ return *x.Address
+ }
+ return ""
+}
+
+func (x *LocationMessage) GetUrl() string {
+ if x != nil && x.Url != nil {
+ return *x.Url
+ }
+ return ""
+}
+
+func (x *LocationMessage) GetIsLive() bool {
+ if x != nil && x.IsLive != nil {
+ return *x.IsLive
+ }
+ return false
+}
+
+func (x *LocationMessage) GetAccuracyInMeters() uint32 {
+ if x != nil && x.AccuracyInMeters != nil {
+ return *x.AccuracyInMeters
+ }
+ return 0
+}
+
+func (x *LocationMessage) GetSpeedInMps() float32 {
+ if x != nil && x.SpeedInMps != nil {
+ return *x.SpeedInMps
+ }
+ return 0
+}
+
+func (x *LocationMessage) GetDegreesClockwiseFromMagneticNorth() uint32 {
+ if x != nil && x.DegreesClockwiseFromMagneticNorth != nil {
+ return *x.DegreesClockwiseFromMagneticNorth
+ }
+ return 0
+}
+
+func (x *LocationMessage) GetComment() string {
+ if x != nil && x.Comment != nil {
+ return *x.Comment
+ }
+ return ""
+}
+
+func (x *LocationMessage) GetJpegThumbnail() []byte {
+ if x != nil {
+ return x.JpegThumbnail
+ }
+ return nil
+}
+
+func (x *LocationMessage) GetContextInfo() *ContextInfo {
+ if x != nil {
+ return x.ContextInfo
+ }
+ return nil
+}
+
type EphemeralSetting struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -11456,7 +12521,7 @@ type EphemeralSetting struct {
func (x *EphemeralSetting) Reset() {
*x = EphemeralSetting{}
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)
}
@@ -11469,7 +12534,7 @@ func (x *EphemeralSetting) String() string {
func (*EphemeralSetting) ProtoMessage() {}
func (x *EphemeralSetting) 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 {
@@ -11482,7 +12547,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{78}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{84}
}
func (x *EphemeralSetting) GetDuration() int32 {
@@ -11511,7 +12576,7 @@ type WallpaperSettings struct {
func (x *WallpaperSettings) Reset() {
*x = WallpaperSettings{}
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)
}
@@ -11524,7 +12589,7 @@ func (x *WallpaperSettings) String() string {
func (*WallpaperSettings) ProtoMessage() {}
func (x *WallpaperSettings) 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 {
@@ -11537,7 +12602,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{79}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{85}
}
func (x *WallpaperSettings) GetFilename() string {
@@ -11575,7 +12640,7 @@ type StickerMetadata struct {
func (x *StickerMetadata) Reset() {
*x = StickerMetadata{}
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)
}
@@ -11588,7 +12653,7 @@ func (x *StickerMetadata) String() string {
func (*StickerMetadata) ProtoMessage() {}
func (x *StickerMetadata) 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 {
@@ -11601,7 +12666,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{80}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{86}
}
func (x *StickerMetadata) GetUrl() string {
@@ -11693,7 +12758,7 @@ type Pushname struct {
func (x *Pushname) Reset() {
*x = Pushname{}
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)
}
@@ -11706,7 +12771,7 @@ func (x *Pushname) String() string {
func (*Pushname) ProtoMessage() {}
func (x *Pushname) 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 {
@@ -11719,7 +12784,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{81}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{87}
}
func (x *Pushname) GetId() string {
@@ -11748,7 +12813,7 @@ type PastParticipants struct {
func (x *PastParticipants) Reset() {
*x = PastParticipants{}
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)
}
@@ -11761,7 +12826,7 @@ func (x *PastParticipants) String() string {
func (*PastParticipants) ProtoMessage() {}
func (x *PastParticipants) 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 {
@@ -11774,7 +12839,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{82}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{88}
}
func (x *PastParticipants) GetGroupJid() string {
@@ -11804,7 +12869,7 @@ type PastParticipant struct {
func (x *PastParticipant) Reset() {
*x = PastParticipant{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[83]
+ mi := &file_binary_proto_def_proto_msgTypes[89]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -11817,7 +12882,7 @@ func (x *PastParticipant) String() string {
func (*PastParticipant) ProtoMessage() {}
func (x *PastParticipant) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[83]
+ mi := &file_binary_proto_def_proto_msgTypes[89]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -11830,7 +12895,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{83}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{89}
}
func (x *PastParticipant) GetUserJid() string {
@@ -11854,6 +12919,93 @@ func (x *PastParticipant) GetLeaveTs() uint64 {
return 0
}
+type NotificationSettings struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ MessageVibrate *string `protobuf:"bytes,1,opt,name=messageVibrate" json:"messageVibrate,omitempty"`
+ MessagePopup *string `protobuf:"bytes,2,opt,name=messagePopup" json:"messagePopup,omitempty"`
+ MessageLight *string `protobuf:"bytes,3,opt,name=messageLight" json:"messageLight,omitempty"`
+ LowPriorityNotifications *bool `protobuf:"varint,4,opt,name=lowPriorityNotifications" json:"lowPriorityNotifications,omitempty"`
+ ReactionsMuted *bool `protobuf:"varint,5,opt,name=reactionsMuted" json:"reactionsMuted,omitempty"`
+ CallVibrate *string `protobuf:"bytes,6,opt,name=callVibrate" json:"callVibrate,omitempty"`
+}
+
+func (x *NotificationSettings) Reset() {
+ *x = NotificationSettings{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[90]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *NotificationSettings) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*NotificationSettings) ProtoMessage() {}
+
+func (x *NotificationSettings) 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 NotificationSettings.ProtoReflect.Descriptor instead.
+func (*NotificationSettings) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{90}
+}
+
+func (x *NotificationSettings) GetMessageVibrate() string {
+ if x != nil && x.MessageVibrate != nil {
+ return *x.MessageVibrate
+ }
+ return ""
+}
+
+func (x *NotificationSettings) GetMessagePopup() string {
+ if x != nil && x.MessagePopup != nil {
+ return *x.MessagePopup
+ }
+ return ""
+}
+
+func (x *NotificationSettings) GetMessageLight() string {
+ if x != nil && x.MessageLight != nil {
+ return *x.MessageLight
+ }
+ return ""
+}
+
+func (x *NotificationSettings) GetLowPriorityNotifications() bool {
+ if x != nil && x.LowPriorityNotifications != nil {
+ return *x.LowPriorityNotifications
+ }
+ return false
+}
+
+func (x *NotificationSettings) GetReactionsMuted() bool {
+ if x != nil && x.ReactionsMuted != nil {
+ return *x.ReactionsMuted
+ }
+ return false
+}
+
+func (x *NotificationSettings) GetCallVibrate() string {
+ if x != nil && x.CallVibrate != nil {
+ return *x.CallVibrate
+ }
+ return ""
+}
+
type HistorySync struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -11875,7 +13027,7 @@ type HistorySync struct {
func (x *HistorySync) Reset() {
*x = HistorySync{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[84]
+ mi := &file_binary_proto_def_proto_msgTypes[91]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -11888,7 +13040,7 @@ func (x *HistorySync) String() string {
func (*HistorySync) ProtoMessage() {}
func (x *HistorySync) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[84]
+ mi := &file_binary_proto_def_proto_msgTypes[91]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -11901,7 +13053,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{84}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{91}
}
func (x *HistorySync) GetSyncType() HistorySync_HistorySyncType {
@@ -11993,7 +13145,7 @@ type HistorySyncMsg struct {
func (x *HistorySyncMsg) Reset() {
*x = HistorySyncMsg{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[85]
+ mi := &file_binary_proto_def_proto_msgTypes[92]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -12006,7 +13158,7 @@ func (x *HistorySyncMsg) String() string {
func (*HistorySyncMsg) ProtoMessage() {}
func (x *HistorySyncMsg) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[85]
+ mi := &file_binary_proto_def_proto_msgTypes[92]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -12019,7 +13171,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{85}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{92}
}
func (x *HistorySyncMsg) GetMessage() *WebMessageInfo {
@@ -12048,7 +13200,7 @@ type GroupParticipant struct {
func (x *GroupParticipant) Reset() {
*x = GroupParticipant{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[86]
+ mi := &file_binary_proto_def_proto_msgTypes[93]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -12061,7 +13213,7 @@ func (x *GroupParticipant) String() string {
func (*GroupParticipant) ProtoMessage() {}
func (x *GroupParticipant) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[86]
+ mi := &file_binary_proto_def_proto_msgTypes[93]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -12074,7 +13226,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{86}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{93}
}
func (x *GroupParticipant) GetUserJid() string {
@@ -12107,12 +13259,19 @@ type GlobalSettings struct {
DisappearingModeDuration *int32 `protobuf:"varint,9,opt,name=disappearingModeDuration" json:"disappearingModeDuration,omitempty"`
DisappearingModeTimestamp *int64 `protobuf:"varint,10,opt,name=disappearingModeTimestamp" json:"disappearingModeTimestamp,omitempty"`
AvatarUserSettings *AvatarUserSettings `protobuf:"bytes,11,opt,name=avatarUserSettings" json:"avatarUserSettings,omitempty"`
+ FontSize *int32 `protobuf:"varint,12,opt,name=fontSize" json:"fontSize,omitempty"`
+ SecurityNotifications *bool `protobuf:"varint,13,opt,name=securityNotifications" json:"securityNotifications,omitempty"`
+ AutoUnarchiveChats *bool `protobuf:"varint,14,opt,name=autoUnarchiveChats" json:"autoUnarchiveChats,omitempty"`
+ VideoQualityMode *int32 `protobuf:"varint,15,opt,name=videoQualityMode" json:"videoQualityMode,omitempty"`
+ 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"`
}
func (x *GlobalSettings) Reset() {
*x = GlobalSettings{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[87]
+ mi := &file_binary_proto_def_proto_msgTypes[94]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -12125,7 +13284,7 @@ func (x *GlobalSettings) String() string {
func (*GlobalSettings) ProtoMessage() {}
func (x *GlobalSettings) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[87]
+ mi := &file_binary_proto_def_proto_msgTypes[94]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -12138,7 +13297,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{87}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{94}
}
func (x *GlobalSettings) GetLightThemeWallpaper() *WallpaperSettings {
@@ -12218,6 +13377,55 @@ func (x *GlobalSettings) GetAvatarUserSettings() *AvatarUserSettings {
return nil
}
+func (x *GlobalSettings) GetFontSize() int32 {
+ if x != nil && x.FontSize != nil {
+ return *x.FontSize
+ }
+ return 0
+}
+
+func (x *GlobalSettings) GetSecurityNotifications() bool {
+ if x != nil && x.SecurityNotifications != nil {
+ return *x.SecurityNotifications
+ }
+ return false
+}
+
+func (x *GlobalSettings) GetAutoUnarchiveChats() bool {
+ if x != nil && x.AutoUnarchiveChats != nil {
+ return *x.AutoUnarchiveChats
+ }
+ return false
+}
+
+func (x *GlobalSettings) GetVideoQualityMode() int32 {
+ if x != nil && x.VideoQualityMode != nil {
+ return *x.VideoQualityMode
+ }
+ return 0
+}
+
+func (x *GlobalSettings) GetPhotoQualityMode() int32 {
+ if x != nil && x.PhotoQualityMode != nil {
+ return *x.PhotoQualityMode
+ }
+ return 0
+}
+
+func (x *GlobalSettings) GetIndividualNotificationSettings() *NotificationSettings {
+ if x != nil {
+ return x.IndividualNotificationSettings
+ }
+ return nil
+}
+
+func (x *GlobalSettings) GetGroupNotificationSettings() *NotificationSettings {
+ if x != nil {
+ return x.GroupNotificationSettings
+ }
+ return nil
+}
+
type Conversation struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -12270,7 +13478,7 @@ type Conversation struct {
func (x *Conversation) Reset() {
*x = Conversation{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[88]
+ mi := &file_binary_proto_def_proto_msgTypes[95]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -12283,7 +13491,7 @@ func (x *Conversation) String() string {
func (*Conversation) ProtoMessage() {}
func (x *Conversation) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[88]
+ mi := &file_binary_proto_def_proto_msgTypes[95]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -12296,7 +13504,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{88}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{95}
}
func (x *Conversation) GetId() string {
@@ -12605,7 +13813,7 @@ type AvatarUserSettings struct {
func (x *AvatarUserSettings) Reset() {
*x = AvatarUserSettings{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[89]
+ mi := &file_binary_proto_def_proto_msgTypes[96]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -12618,7 +13826,7 @@ func (x *AvatarUserSettings) String() string {
func (*AvatarUserSettings) ProtoMessage() {}
func (x *AvatarUserSettings) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[89]
+ mi := &file_binary_proto_def_proto_msgTypes[96]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -12631,7 +13839,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{89}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{96}
}
func (x *AvatarUserSettings) GetFbid() string {
@@ -12662,7 +13870,7 @@ type AutoDownloadSettings struct {
func (x *AutoDownloadSettings) Reset() {
*x = AutoDownloadSettings{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[90]
+ mi := &file_binary_proto_def_proto_msgTypes[97]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -12675,7 +13883,7 @@ func (x *AutoDownloadSettings) String() string {
func (*AutoDownloadSettings) ProtoMessage() {}
func (x *AutoDownloadSettings) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[90]
+ mi := &file_binary_proto_def_proto_msgTypes[97]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -12688,7 +13896,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{90}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{97}
}
func (x *AutoDownloadSettings) GetDownloadImages() bool {
@@ -12719,308 +13927,6 @@ func (x *AutoDownloadSettings) GetDownloadDocuments() bool {
return false
}
-type MsgRowOpaqueData struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- CurrentMsg *MsgOpaqueData `protobuf:"bytes,1,opt,name=currentMsg" json:"currentMsg,omitempty"`
- QuotedMsg *MsgOpaqueData `protobuf:"bytes,2,opt,name=quotedMsg" json:"quotedMsg,omitempty"`
-}
-
-func (x *MsgRowOpaqueData) Reset() {
- *x = MsgRowOpaqueData{}
- if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[91]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *MsgRowOpaqueData) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MsgRowOpaqueData) ProtoMessage() {}
-
-func (x *MsgRowOpaqueData) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_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 MsgRowOpaqueData.ProtoReflect.Descriptor instead.
-func (*MsgRowOpaqueData) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{91}
-}
-
-func (x *MsgRowOpaqueData) GetCurrentMsg() *MsgOpaqueData {
- if x != nil {
- return x.CurrentMsg
- }
- return nil
-}
-
-func (x *MsgRowOpaqueData) GetQuotedMsg() *MsgOpaqueData {
- if x != nil {
- return x.QuotedMsg
- }
- return nil
-}
-
-type MsgOpaqueData struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Body *string `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
- Caption *string `protobuf:"bytes,3,opt,name=caption" json:"caption,omitempty"`
- Lng *float64 `protobuf:"fixed64,5,opt,name=lng" json:"lng,omitempty"`
- IsLive *bool `protobuf:"varint,6,opt,name=isLive" json:"isLive,omitempty"`
- Lat *float64 `protobuf:"fixed64,7,opt,name=lat" json:"lat,omitempty"`
- PaymentAmount1000 *int32 `protobuf:"varint,8,opt,name=paymentAmount1000" json:"paymentAmount1000,omitempty"`
- PaymentNoteMsgBody *string `protobuf:"bytes,9,opt,name=paymentNoteMsgBody" json:"paymentNoteMsgBody,omitempty"`
- CanonicalUrl *string `protobuf:"bytes,10,opt,name=canonicalUrl" json:"canonicalUrl,omitempty"`
- MatchedText *string `protobuf:"bytes,11,opt,name=matchedText" json:"matchedText,omitempty"`
- Title *string `protobuf:"bytes,12,opt,name=title" json:"title,omitempty"`
- Description *string `protobuf:"bytes,13,opt,name=description" json:"description,omitempty"`
- FutureproofBuffer []byte `protobuf:"bytes,14,opt,name=futureproofBuffer" json:"futureproofBuffer,omitempty"`
- ClientUrl *string `protobuf:"bytes,15,opt,name=clientUrl" json:"clientUrl,omitempty"`
- Loc *string `protobuf:"bytes,16,opt,name=loc" json:"loc,omitempty"`
- PollName *string `protobuf:"bytes,17,opt,name=pollName" json:"pollName,omitempty"`
- PollOptions []*MsgOpaqueData_PollOption `protobuf:"bytes,18,rep,name=pollOptions" json:"pollOptions,omitempty"`
- PollSelectableOptionsCount *uint32 `protobuf:"varint,20,opt,name=pollSelectableOptionsCount" json:"pollSelectableOptionsCount,omitempty"`
- MessageSecret []byte `protobuf:"bytes,21,opt,name=messageSecret" json:"messageSecret,omitempty"`
- OriginalSelfAuthor *string `protobuf:"bytes,51,opt,name=originalSelfAuthor" json:"originalSelfAuthor,omitempty"`
- SenderTimestampMs *int64 `protobuf:"varint,22,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"`
- PollUpdateParentKey *string `protobuf:"bytes,23,opt,name=pollUpdateParentKey" json:"pollUpdateParentKey,omitempty"`
- EncPollVote *PollEncValue `protobuf:"bytes,24,opt,name=encPollVote" json:"encPollVote,omitempty"`
- IsSentCagPollCreation *bool `protobuf:"varint,28,opt,name=isSentCagPollCreation" json:"isSentCagPollCreation,omitempty"`
- EncReactionTargetMessageKey *string `protobuf:"bytes,25,opt,name=encReactionTargetMessageKey" json:"encReactionTargetMessageKey,omitempty"`
- EncReactionEncPayload []byte `protobuf:"bytes,26,opt,name=encReactionEncPayload" json:"encReactionEncPayload,omitempty"`
- EncReactionEncIv []byte `protobuf:"bytes,27,opt,name=encReactionEncIv" json:"encReactionEncIv,omitempty"`
-}
-
-func (x *MsgOpaqueData) Reset() {
- *x = MsgOpaqueData{}
- if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[92]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *MsgOpaqueData) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*MsgOpaqueData) ProtoMessage() {}
-
-func (x *MsgOpaqueData) 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 MsgOpaqueData.ProtoReflect.Descriptor instead.
-func (*MsgOpaqueData) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{92}
-}
-
-func (x *MsgOpaqueData) GetBody() string {
- if x != nil && x.Body != nil {
- return *x.Body
- }
- return ""
-}
-
-func (x *MsgOpaqueData) GetCaption() string {
- if x != nil && x.Caption != nil {
- return *x.Caption
- }
- return ""
-}
-
-func (x *MsgOpaqueData) GetLng() float64 {
- if x != nil && x.Lng != nil {
- return *x.Lng
- }
- return 0
-}
-
-func (x *MsgOpaqueData) GetIsLive() bool {
- if x != nil && x.IsLive != nil {
- return *x.IsLive
- }
- return false
-}
-
-func (x *MsgOpaqueData) GetLat() float64 {
- if x != nil && x.Lat != nil {
- return *x.Lat
- }
- return 0
-}
-
-func (x *MsgOpaqueData) GetPaymentAmount1000() int32 {
- if x != nil && x.PaymentAmount1000 != nil {
- return *x.PaymentAmount1000
- }
- return 0
-}
-
-func (x *MsgOpaqueData) GetPaymentNoteMsgBody() string {
- if x != nil && x.PaymentNoteMsgBody != nil {
- return *x.PaymentNoteMsgBody
- }
- return ""
-}
-
-func (x *MsgOpaqueData) GetCanonicalUrl() string {
- if x != nil && x.CanonicalUrl != nil {
- return *x.CanonicalUrl
- }
- return ""
-}
-
-func (x *MsgOpaqueData) GetMatchedText() string {
- if x != nil && x.MatchedText != nil {
- return *x.MatchedText
- }
- return ""
-}
-
-func (x *MsgOpaqueData) GetTitle() string {
- if x != nil && x.Title != nil {
- return *x.Title
- }
- return ""
-}
-
-func (x *MsgOpaqueData) GetDescription() string {
- if x != nil && x.Description != nil {
- return *x.Description
- }
- return ""
-}
-
-func (x *MsgOpaqueData) GetFutureproofBuffer() []byte {
- if x != nil {
- return x.FutureproofBuffer
- }
- return nil
-}
-
-func (x *MsgOpaqueData) GetClientUrl() string {
- if x != nil && x.ClientUrl != nil {
- return *x.ClientUrl
- }
- return ""
-}
-
-func (x *MsgOpaqueData) GetLoc() string {
- if x != nil && x.Loc != nil {
- return *x.Loc
- }
- return ""
-}
-
-func (x *MsgOpaqueData) GetPollName() string {
- if x != nil && x.PollName != nil {
- return *x.PollName
- }
- return ""
-}
-
-func (x *MsgOpaqueData) GetPollOptions() []*MsgOpaqueData_PollOption {
- if x != nil {
- return x.PollOptions
- }
- return nil
-}
-
-func (x *MsgOpaqueData) GetPollSelectableOptionsCount() uint32 {
- if x != nil && x.PollSelectableOptionsCount != nil {
- return *x.PollSelectableOptionsCount
- }
- return 0
-}
-
-func (x *MsgOpaqueData) GetMessageSecret() []byte {
- if x != nil {
- return x.MessageSecret
- }
- return nil
-}
-
-func (x *MsgOpaqueData) GetOriginalSelfAuthor() string {
- if x != nil && x.OriginalSelfAuthor != nil {
- return *x.OriginalSelfAuthor
- }
- return ""
-}
-
-func (x *MsgOpaqueData) GetSenderTimestampMs() int64 {
- if x != nil && x.SenderTimestampMs != nil {
- return *x.SenderTimestampMs
- }
- return 0
-}
-
-func (x *MsgOpaqueData) GetPollUpdateParentKey() string {
- if x != nil && x.PollUpdateParentKey != nil {
- return *x.PollUpdateParentKey
- }
- return ""
-}
-
-func (x *MsgOpaqueData) GetEncPollVote() *PollEncValue {
- if x != nil {
- return x.EncPollVote
- }
- return nil
-}
-
-func (x *MsgOpaqueData) GetIsSentCagPollCreation() bool {
- if x != nil && x.IsSentCagPollCreation != nil {
- return *x.IsSentCagPollCreation
- }
- return false
-}
-
-func (x *MsgOpaqueData) GetEncReactionTargetMessageKey() string {
- if x != nil && x.EncReactionTargetMessageKey != nil {
- return *x.EncReactionTargetMessageKey
- }
- return ""
-}
-
-func (x *MsgOpaqueData) GetEncReactionEncPayload() []byte {
- if x != nil {
- return x.EncReactionEncPayload
- }
- return nil
-}
-
-func (x *MsgOpaqueData) GetEncReactionEncIv() []byte {
- if x != nil {
- return x.EncReactionEncIv
- }
- return nil
-}
-
type ServerErrorReceipt struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -13032,7 +13938,7 @@ type ServerErrorReceipt struct {
func (x *ServerErrorReceipt) Reset() {
*x = ServerErrorReceipt{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[93]
+ mi := &file_binary_proto_def_proto_msgTypes[98]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13045,7 +13951,7 @@ func (x *ServerErrorReceipt) String() string {
func (*ServerErrorReceipt) ProtoMessage() {}
func (x *ServerErrorReceipt) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[93]
+ mi := &file_binary_proto_def_proto_msgTypes[98]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13058,7 +13964,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{93}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{98}
}
func (x *ServerErrorReceipt) GetStanzaId() string {
@@ -13081,7 +13987,7 @@ type MediaRetryNotification struct {
func (x *MediaRetryNotification) Reset() {
*x = MediaRetryNotification{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[94]
+ mi := &file_binary_proto_def_proto_msgTypes[99]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13094,7 +14000,7 @@ func (x *MediaRetryNotification) String() string {
func (*MediaRetryNotification) ProtoMessage() {}
func (x *MediaRetryNotification) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[94]
+ mi := &file_binary_proto_def_proto_msgTypes[99]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13107,7 +14013,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{94}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{99}
}
func (x *MediaRetryNotification) GetStanzaId() string {
@@ -13145,7 +14051,7 @@ type MessageKey struct {
func (x *MessageKey) Reset() {
*x = MessageKey{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[95]
+ mi := &file_binary_proto_def_proto_msgTypes[100]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13158,7 +14064,7 @@ func (x *MessageKey) String() string {
func (*MessageKey) ProtoMessage() {}
func (x *MessageKey) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[95]
+ mi := &file_binary_proto_def_proto_msgTypes[100]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13171,7 +14077,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{95}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{100}
}
func (x *MessageKey) GetRemoteJid() string {
@@ -13213,7 +14119,7 @@ type SyncdVersion struct {
func (x *SyncdVersion) Reset() {
*x = SyncdVersion{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[96]
+ mi := &file_binary_proto_def_proto_msgTypes[101]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13226,7 +14132,7 @@ func (x *SyncdVersion) String() string {
func (*SyncdVersion) ProtoMessage() {}
func (x *SyncdVersion) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[96]
+ mi := &file_binary_proto_def_proto_msgTypes[101]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13239,7 +14145,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{96}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{101}
}
func (x *SyncdVersion) GetVersion() uint64 {
@@ -13260,7 +14166,7 @@ type SyncdValue struct {
func (x *SyncdValue) Reset() {
*x = SyncdValue{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[97]
+ mi := &file_binary_proto_def_proto_msgTypes[102]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13273,7 +14179,7 @@ func (x *SyncdValue) String() string {
func (*SyncdValue) ProtoMessage() {}
func (x *SyncdValue) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[97]
+ mi := &file_binary_proto_def_proto_msgTypes[102]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13286,7 +14192,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{97}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{102}
}
func (x *SyncdValue) GetBlob() []byte {
@@ -13310,7 +14216,7 @@ type SyncdSnapshot struct {
func (x *SyncdSnapshot) Reset() {
*x = SyncdSnapshot{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[98]
+ mi := &file_binary_proto_def_proto_msgTypes[103]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13323,7 +14229,7 @@ func (x *SyncdSnapshot) String() string {
func (*SyncdSnapshot) ProtoMessage() {}
func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[98]
+ mi := &file_binary_proto_def_proto_msgTypes[103]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13336,7 +14242,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{98}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{103}
}
func (x *SyncdSnapshot) GetVersion() *SyncdVersion {
@@ -13380,7 +14286,7 @@ type SyncdRecord struct {
func (x *SyncdRecord) Reset() {
*x = SyncdRecord{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[99]
+ mi := &file_binary_proto_def_proto_msgTypes[104]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13393,7 +14299,7 @@ func (x *SyncdRecord) String() string {
func (*SyncdRecord) ProtoMessage() {}
func (x *SyncdRecord) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[99]
+ mi := &file_binary_proto_def_proto_msgTypes[104]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13406,7 +14312,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{99}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{104}
}
func (x *SyncdRecord) GetIndex() *SyncdIndex {
@@ -13448,7 +14354,7 @@ type SyncdPatch struct {
func (x *SyncdPatch) Reset() {
*x = SyncdPatch{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[100]
+ mi := &file_binary_proto_def_proto_msgTypes[105]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13461,7 +14367,7 @@ func (x *SyncdPatch) String() string {
func (*SyncdPatch) ProtoMessage() {}
func (x *SyncdPatch) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[100]
+ mi := &file_binary_proto_def_proto_msgTypes[105]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13474,7 +14380,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{100}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{105}
}
func (x *SyncdPatch) GetVersion() *SyncdVersion {
@@ -13544,7 +14450,7 @@ type SyncdMutations struct {
func (x *SyncdMutations) Reset() {
*x = SyncdMutations{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[101]
+ mi := &file_binary_proto_def_proto_msgTypes[106]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13557,7 +14463,7 @@ func (x *SyncdMutations) String() string {
func (*SyncdMutations) ProtoMessage() {}
func (x *SyncdMutations) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[101]
+ mi := &file_binary_proto_def_proto_msgTypes[106]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13570,7 +14476,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{101}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{106}
}
func (x *SyncdMutations) GetMutations() []*SyncdMutation {
@@ -13592,7 +14498,7 @@ type SyncdMutation struct {
func (x *SyncdMutation) Reset() {
*x = SyncdMutation{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[102]
+ mi := &file_binary_proto_def_proto_msgTypes[107]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13605,7 +14511,7 @@ func (x *SyncdMutation) String() string {
func (*SyncdMutation) ProtoMessage() {}
func (x *SyncdMutation) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[102]
+ mi := &file_binary_proto_def_proto_msgTypes[107]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13618,7 +14524,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{102}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{107}
}
func (x *SyncdMutation) GetOperation() SyncdMutation_SyncdOperation {
@@ -13646,7 +14552,7 @@ type SyncdIndex struct {
func (x *SyncdIndex) Reset() {
*x = SyncdIndex{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[103]
+ mi := &file_binary_proto_def_proto_msgTypes[108]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13659,7 +14565,7 @@ func (x *SyncdIndex) String() string {
func (*SyncdIndex) ProtoMessage() {}
func (x *SyncdIndex) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[103]
+ mi := &file_binary_proto_def_proto_msgTypes[108]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13672,7 +14578,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{103}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{108}
}
func (x *SyncdIndex) GetBlob() []byte {
@@ -13693,7 +14599,7 @@ type KeyId struct {
func (x *KeyId) Reset() {
*x = KeyId{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[104]
+ mi := &file_binary_proto_def_proto_msgTypes[109]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13706,7 +14612,7 @@ func (x *KeyId) String() string {
func (*KeyId) ProtoMessage() {}
func (x *KeyId) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[104]
+ mi := &file_binary_proto_def_proto_msgTypes[109]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13719,7 +14625,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{104}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{109}
}
func (x *KeyId) GetId() []byte {
@@ -13745,7 +14651,7 @@ type ExternalBlobReference struct {
func (x *ExternalBlobReference) Reset() {
*x = ExternalBlobReference{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[105]
+ mi := &file_binary_proto_def_proto_msgTypes[110]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13758,7 +14664,7 @@ func (x *ExternalBlobReference) String() string {
func (*ExternalBlobReference) ProtoMessage() {}
func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[105]
+ mi := &file_binary_proto_def_proto_msgTypes[110]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13771,7 +14677,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{105}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{110}
}
func (x *ExternalBlobReference) GetMediaKey() []byte {
@@ -13828,7 +14734,7 @@ type ExitCode struct {
func (x *ExitCode) Reset() {
*x = ExitCode{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[106]
+ mi := &file_binary_proto_def_proto_msgTypes[111]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13841,7 +14747,7 @@ func (x *ExitCode) String() string {
func (*ExitCode) ProtoMessage() {}
func (x *ExitCode) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[106]
+ mi := &file_binary_proto_def_proto_msgTypes[111]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13854,7 +14760,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{106}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{111}
}
func (x *ExitCode) GetCode() uint64 {
@@ -13876,44 +14782,48 @@ 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"`
+ 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"`
}
func (x *SyncActionValue) Reset() {
*x = SyncActionValue{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[107]
+ mi := &file_binary_proto_def_proto_msgTypes[112]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -13926,7 +14836,7 @@ func (x *SyncActionValue) String() string {
func (*SyncActionValue) ProtoMessage() {}
func (x *SyncActionValue) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[107]
+ mi := &file_binary_proto_def_proto_msgTypes[112]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -13939,7 +14849,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{107}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{112}
}
func (x *SyncActionValue) GetTimestamp() int64 {
@@ -14166,6 +15076,34 @@ func (x *SyncActionValue) GetPnForLidChatAction() *PnForLidChatAction {
return nil
}
+func (x *SyncActionValue) GetMarketingMessageAction() *MarketingMessageAction {
+ if x != nil {
+ return x.MarketingMessageAction
+ }
+ return nil
+}
+
+func (x *SyncActionValue) GetMarketingMessageBroadcastAction() *MarketingMessageBroadcastAction {
+ if x != nil {
+ return x.MarketingMessageBroadcastAction
+ }
+ return nil
+}
+
+func (x *SyncActionValue) GetExternalWebBetaAction() *ExternalWebBetaAction {
+ if x != nil {
+ return x.ExternalWebBetaAction
+ }
+ return nil
+}
+
+func (x *SyncActionValue) GetPrivacySettingRelayAllCalls() *PrivacySettingRelayAllCalls {
+ if x != nil {
+ return x.PrivacySettingRelayAllCalls
+ }
+ return nil
+}
+
type UserStatusMuteAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -14177,7 +15115,7 @@ type UserStatusMuteAction struct {
func (x *UserStatusMuteAction) Reset() {
*x = UserStatusMuteAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[108]
+ mi := &file_binary_proto_def_proto_msgTypes[113]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14190,7 +15128,7 @@ func (x *UserStatusMuteAction) String() string {
func (*UserStatusMuteAction) ProtoMessage() {}
func (x *UserStatusMuteAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[108]
+ mi := &file_binary_proto_def_proto_msgTypes[113]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -14203,7 +15141,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{108}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{113}
}
func (x *UserStatusMuteAction) GetMuted() bool {
@@ -14224,7 +15162,7 @@ type UnarchiveChatsSetting struct {
func (x *UnarchiveChatsSetting) Reset() {
*x = UnarchiveChatsSetting{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[109]
+ mi := &file_binary_proto_def_proto_msgTypes[114]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14237,7 +15175,7 @@ func (x *UnarchiveChatsSetting) String() string {
func (*UnarchiveChatsSetting) ProtoMessage() {}
func (x *UnarchiveChatsSetting) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[109]
+ mi := &file_binary_proto_def_proto_msgTypes[114]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -14250,7 +15188,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{109}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{114}
}
func (x *UnarchiveChatsSetting) GetUnarchiveChats() bool {
@@ -14271,7 +15209,7 @@ type TimeFormatAction struct {
func (x *TimeFormatAction) Reset() {
*x = TimeFormatAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[110]
+ mi := &file_binary_proto_def_proto_msgTypes[115]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14284,7 +15222,7 @@ func (x *TimeFormatAction) String() string {
func (*TimeFormatAction) ProtoMessage() {}
func (x *TimeFormatAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[110]
+ mi := &file_binary_proto_def_proto_msgTypes[115]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -14297,7 +15235,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{110}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{115}
}
func (x *TimeFormatAction) GetIsTwentyFourHourFormatEnabled() bool {
@@ -14319,7 +15257,7 @@ type SyncActionMessage struct {
func (x *SyncActionMessage) Reset() {
*x = SyncActionMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[111]
+ mi := &file_binary_proto_def_proto_msgTypes[116]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14332,7 +15270,7 @@ func (x *SyncActionMessage) String() string {
func (*SyncActionMessage) ProtoMessage() {}
func (x *SyncActionMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[111]
+ mi := &file_binary_proto_def_proto_msgTypes[116]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -14345,7 +15283,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{111}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{116}
}
func (x *SyncActionMessage) GetKey() *MessageKey {
@@ -14375,7 +15313,7 @@ type SyncActionMessageRange struct {
func (x *SyncActionMessageRange) Reset() {
*x = SyncActionMessageRange{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[112]
+ mi := &file_binary_proto_def_proto_msgTypes[117]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14388,7 +15326,7 @@ func (x *SyncActionMessageRange) String() string {
func (*SyncActionMessageRange) ProtoMessage() {}
func (x *SyncActionMessageRange) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[112]
+ mi := &file_binary_proto_def_proto_msgTypes[117]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -14401,7 +15339,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{112}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{117}
}
func (x *SyncActionMessageRange) GetLastMessageTimestamp() int64 {
@@ -14438,7 +15376,7 @@ type SubscriptionAction struct {
func (x *SubscriptionAction) Reset() {
*x = SubscriptionAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[113]
+ mi := &file_binary_proto_def_proto_msgTypes[118]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14451,7 +15389,7 @@ func (x *SubscriptionAction) String() string {
func (*SubscriptionAction) ProtoMessage() {}
func (x *SubscriptionAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[113]
+ mi := &file_binary_proto_def_proto_msgTypes[118]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -14464,7 +15402,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{113}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{118}
}
func (x *SubscriptionAction) GetIsDeactivated() bool {
@@ -14508,7 +15446,7 @@ type StickerAction struct {
func (x *StickerAction) Reset() {
*x = StickerAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[114]
+ mi := &file_binary_proto_def_proto_msgTypes[119]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14521,7 +15459,7 @@ func (x *StickerAction) String() string {
func (*StickerAction) ProtoMessage() {}
func (x *StickerAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[114]
+ mi := &file_binary_proto_def_proto_msgTypes[119]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -14534,7 +15472,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{114}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{119}
}
func (x *StickerAction) GetUrl() string {
@@ -14618,7 +15556,7 @@ type StarAction struct {
func (x *StarAction) Reset() {
*x = StarAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[115]
+ mi := &file_binary_proto_def_proto_msgTypes[120]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14631,7 +15569,7 @@ func (x *StarAction) String() string {
func (*StarAction) ProtoMessage() {}
func (x *StarAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[115]
+ mi := &file_binary_proto_def_proto_msgTypes[120]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -14644,7 +15582,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{115}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{120}
}
func (x *StarAction) GetStarred() bool {
@@ -14665,7 +15603,7 @@ type SecurityNotificationSetting struct {
func (x *SecurityNotificationSetting) Reset() {
*x = SecurityNotificationSetting{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[116]
+ mi := &file_binary_proto_def_proto_msgTypes[121]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14678,7 +15616,7 @@ func (x *SecurityNotificationSetting) String() string {
func (*SecurityNotificationSetting) ProtoMessage() {}
func (x *SecurityNotificationSetting) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[116]
+ mi := &file_binary_proto_def_proto_msgTypes[121]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -14691,7 +15629,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{116}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{121}
}
func (x *SecurityNotificationSetting) GetShowNotification() bool {
@@ -14712,7 +15650,7 @@ type RemoveRecentStickerAction struct {
func (x *RemoveRecentStickerAction) Reset() {
*x = RemoveRecentStickerAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[117]
+ mi := &file_binary_proto_def_proto_msgTypes[122]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14725,7 +15663,7 @@ func (x *RemoveRecentStickerAction) String() string {
func (*RemoveRecentStickerAction) ProtoMessage() {}
func (x *RemoveRecentStickerAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[117]
+ mi := &file_binary_proto_def_proto_msgTypes[122]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -14738,7 +15676,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{117}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{122}
}
func (x *RemoveRecentStickerAction) GetLastStickerSentTs() int64 {
@@ -14759,7 +15697,7 @@ type RecentEmojiWeightsAction struct {
func (x *RecentEmojiWeightsAction) Reset() {
*x = RecentEmojiWeightsAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[118]
+ mi := &file_binary_proto_def_proto_msgTypes[123]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14772,7 +15710,7 @@ func (x *RecentEmojiWeightsAction) String() string {
func (*RecentEmojiWeightsAction) ProtoMessage() {}
func (x *RecentEmojiWeightsAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[118]
+ mi := &file_binary_proto_def_proto_msgTypes[123]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -14785,7 +15723,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{118}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{123}
}
func (x *RecentEmojiWeightsAction) GetWeights() []*RecentEmojiWeight {
@@ -14810,7 +15748,7 @@ type QuickReplyAction struct {
func (x *QuickReplyAction) Reset() {
*x = QuickReplyAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[119]
+ mi := &file_binary_proto_def_proto_msgTypes[124]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14823,7 +15761,7 @@ func (x *QuickReplyAction) String() string {
func (*QuickReplyAction) ProtoMessage() {}
func (x *QuickReplyAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[119]
+ mi := &file_binary_proto_def_proto_msgTypes[124]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -14836,7 +15774,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{119}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{124}
}
func (x *QuickReplyAction) GetShortcut() string {
@@ -14885,7 +15823,7 @@ type PushNameSetting struct {
func (x *PushNameSetting) Reset() {
*x = PushNameSetting{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[120]
+ mi := &file_binary_proto_def_proto_msgTypes[125]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14898,7 +15836,7 @@ func (x *PushNameSetting) String() string {
func (*PushNameSetting) ProtoMessage() {}
func (x *PushNameSetting) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[120]
+ mi := &file_binary_proto_def_proto_msgTypes[125]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -14911,7 +15849,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{120}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{125}
}
func (x *PushNameSetting) GetName() string {
@@ -14921,6 +15859,53 @@ func (x *PushNameSetting) GetName() string {
return ""
}
+type PrivacySettingRelayAllCalls struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ IsEnabled *bool `protobuf:"varint,1,opt,name=isEnabled" json:"isEnabled,omitempty"`
+}
+
+func (x *PrivacySettingRelayAllCalls) Reset() {
+ *x = PrivacySettingRelayAllCalls{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[126]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PrivacySettingRelayAllCalls) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PrivacySettingRelayAllCalls) ProtoMessage() {}
+
+func (x *PrivacySettingRelayAllCalls) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_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 PrivacySettingRelayAllCalls.ProtoReflect.Descriptor instead.
+func (*PrivacySettingRelayAllCalls) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{126}
+}
+
+func (x *PrivacySettingRelayAllCalls) GetIsEnabled() bool {
+ if x != nil && x.IsEnabled != nil {
+ return *x.IsEnabled
+ }
+ return false
+}
+
type PrimaryVersionAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -14932,7 +15917,7 @@ type PrimaryVersionAction struct {
func (x *PrimaryVersionAction) Reset() {
*x = PrimaryVersionAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[121]
+ mi := &file_binary_proto_def_proto_msgTypes[127]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14945,7 +15930,7 @@ func (x *PrimaryVersionAction) String() string {
func (*PrimaryVersionAction) ProtoMessage() {}
func (x *PrimaryVersionAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[121]
+ mi := &file_binary_proto_def_proto_msgTypes[127]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -14958,7 +15943,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{121}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{127}
}
func (x *PrimaryVersionAction) GetVersion() string {
@@ -14979,7 +15964,7 @@ type PrimaryFeature struct {
func (x *PrimaryFeature) Reset() {
*x = PrimaryFeature{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[122]
+ mi := &file_binary_proto_def_proto_msgTypes[128]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -14992,7 +15977,7 @@ func (x *PrimaryFeature) String() string {
func (*PrimaryFeature) ProtoMessage() {}
func (x *PrimaryFeature) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[122]
+ mi := &file_binary_proto_def_proto_msgTypes[128]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15005,7 +15990,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{122}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{128}
}
func (x *PrimaryFeature) GetFlags() []string {
@@ -15026,7 +16011,7 @@ type PnForLidChatAction struct {
func (x *PnForLidChatAction) Reset() {
*x = PnForLidChatAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[123]
+ mi := &file_binary_proto_def_proto_msgTypes[129]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15039,7 +16024,7 @@ func (x *PnForLidChatAction) String() string {
func (*PnForLidChatAction) ProtoMessage() {}
func (x *PnForLidChatAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[123]
+ mi := &file_binary_proto_def_proto_msgTypes[129]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15052,7 +16037,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{123}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{129}
}
func (x *PnForLidChatAction) GetPnJid() string {
@@ -15073,7 +16058,7 @@ type PinAction struct {
func (x *PinAction) Reset() {
*x = PinAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[124]
+ mi := &file_binary_proto_def_proto_msgTypes[130]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15086,7 +16071,7 @@ func (x *PinAction) String() string {
func (*PinAction) ProtoMessage() {}
func (x *PinAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[124]
+ mi := &file_binary_proto_def_proto_msgTypes[130]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15099,7 +16084,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{124}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{130}
}
func (x *PinAction) GetPinned() bool {
@@ -15120,7 +16105,7 @@ type NuxAction struct {
func (x *NuxAction) Reset() {
*x = NuxAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[125]
+ mi := &file_binary_proto_def_proto_msgTypes[131]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15133,7 +16118,7 @@ func (x *NuxAction) String() string {
func (*NuxAction) ProtoMessage() {}
func (x *NuxAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[125]
+ mi := &file_binary_proto_def_proto_msgTypes[131]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15146,7 +16131,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{125}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{131}
}
func (x *NuxAction) GetAcknowledged() bool {
@@ -15169,7 +16154,7 @@ type MuteAction struct {
func (x *MuteAction) Reset() {
*x = MuteAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[126]
+ mi := &file_binary_proto_def_proto_msgTypes[132]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15182,7 +16167,7 @@ func (x *MuteAction) String() string {
func (*MuteAction) ProtoMessage() {}
func (x *MuteAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[126]
+ mi := &file_binary_proto_def_proto_msgTypes[132]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15195,7 +16180,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{126}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{132}
}
func (x *MuteAction) GetMuted() bool {
@@ -15219,6 +16204,148 @@ func (x *MuteAction) GetAutoMuted() bool {
return false
}
+type MarketingMessageBroadcastAction struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ RepliedCount *int32 `protobuf:"varint,1,opt,name=repliedCount" json:"repliedCount,omitempty"`
+}
+
+func (x *MarketingMessageBroadcastAction) Reset() {
+ *x = MarketingMessageBroadcastAction{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[133]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *MarketingMessageBroadcastAction) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*MarketingMessageBroadcastAction) ProtoMessage() {}
+
+func (x *MarketingMessageBroadcastAction) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_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 MarketingMessageBroadcastAction.ProtoReflect.Descriptor instead.
+func (*MarketingMessageBroadcastAction) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{133}
+}
+
+func (x *MarketingMessageBroadcastAction) GetRepliedCount() int32 {
+ if x != nil && x.RepliedCount != nil {
+ return *x.RepliedCount
+ }
+ return 0
+}
+
+type MarketingMessageAction struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
+ Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
+ Type *MarketingMessageAction_MarketingMessagePrototypeType `protobuf:"varint,3,opt,name=type,enum=proto.MarketingMessageAction_MarketingMessagePrototypeType" json:"type,omitempty"`
+ CreatedAt *int64 `protobuf:"varint,4,opt,name=createdAt" json:"createdAt,omitempty"`
+ LastSentAt *int64 `protobuf:"varint,5,opt,name=lastSentAt" json:"lastSentAt,omitempty"`
+ IsDeleted *bool `protobuf:"varint,6,opt,name=isDeleted" json:"isDeleted,omitempty"`
+ MediaId *string `protobuf:"bytes,7,opt,name=mediaId" json:"mediaId,omitempty"`
+}
+
+func (x *MarketingMessageAction) Reset() {
+ *x = MarketingMessageAction{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[134]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *MarketingMessageAction) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*MarketingMessageAction) ProtoMessage() {}
+
+func (x *MarketingMessageAction) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_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 MarketingMessageAction.ProtoReflect.Descriptor instead.
+func (*MarketingMessageAction) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{134}
+}
+
+func (x *MarketingMessageAction) GetName() string {
+ if x != nil && x.Name != nil {
+ return *x.Name
+ }
+ return ""
+}
+
+func (x *MarketingMessageAction) GetMessage() string {
+ if x != nil && x.Message != nil {
+ return *x.Message
+ }
+ return ""
+}
+
+func (x *MarketingMessageAction) GetType() MarketingMessageAction_MarketingMessagePrototypeType {
+ if x != nil && x.Type != nil {
+ return *x.Type
+ }
+ return MarketingMessageAction_PERSONALIZED
+}
+
+func (x *MarketingMessageAction) GetCreatedAt() int64 {
+ if x != nil && x.CreatedAt != nil {
+ return *x.CreatedAt
+ }
+ return 0
+}
+
+func (x *MarketingMessageAction) GetLastSentAt() int64 {
+ if x != nil && x.LastSentAt != nil {
+ return *x.LastSentAt
+ }
+ return 0
+}
+
+func (x *MarketingMessageAction) GetIsDeleted() bool {
+ if x != nil && x.IsDeleted != nil {
+ return *x.IsDeleted
+ }
+ return false
+}
+
+func (x *MarketingMessageAction) GetMediaId() string {
+ if x != nil && x.MediaId != nil {
+ return *x.MediaId
+ }
+ return ""
+}
+
type MarkChatAsReadAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -15231,7 +16358,7 @@ type MarkChatAsReadAction struct {
func (x *MarkChatAsReadAction) Reset() {
*x = MarkChatAsReadAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[127]
+ mi := &file_binary_proto_def_proto_msgTypes[135]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15244,7 +16371,7 @@ func (x *MarkChatAsReadAction) String() string {
func (*MarkChatAsReadAction) ProtoMessage() {}
func (x *MarkChatAsReadAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[127]
+ mi := &file_binary_proto_def_proto_msgTypes[135]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15257,7 +16384,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{127}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{135}
}
func (x *MarkChatAsReadAction) GetRead() bool {
@@ -15285,7 +16412,7 @@ type LocaleSetting struct {
func (x *LocaleSetting) Reset() {
*x = LocaleSetting{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[128]
+ mi := &file_binary_proto_def_proto_msgTypes[136]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15298,7 +16425,7 @@ func (x *LocaleSetting) String() string {
func (*LocaleSetting) ProtoMessage() {}
func (x *LocaleSetting) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[128]
+ mi := &file_binary_proto_def_proto_msgTypes[136]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15311,7 +16438,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{128}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{136}
}
func (x *LocaleSetting) GetLocale() string {
@@ -15335,7 +16462,7 @@ type LabelEditAction struct {
func (x *LabelEditAction) Reset() {
*x = LabelEditAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[129]
+ mi := &file_binary_proto_def_proto_msgTypes[137]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15348,7 +16475,7 @@ func (x *LabelEditAction) String() string {
func (*LabelEditAction) ProtoMessage() {}
func (x *LabelEditAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[129]
+ mi := &file_binary_proto_def_proto_msgTypes[137]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15361,7 +16488,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{129}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{137}
}
func (x *LabelEditAction) GetName() string {
@@ -15403,7 +16530,7 @@ type LabelAssociationAction struct {
func (x *LabelAssociationAction) Reset() {
*x = LabelAssociationAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[130]
+ mi := &file_binary_proto_def_proto_msgTypes[138]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15416,7 +16543,7 @@ func (x *LabelAssociationAction) String() string {
func (*LabelAssociationAction) ProtoMessage() {}
func (x *LabelAssociationAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[130]
+ mi := &file_binary_proto_def_proto_msgTypes[138]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15429,7 +16556,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{130}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{138}
}
func (x *LabelAssociationAction) GetLabeled() bool {
@@ -15450,7 +16577,7 @@ type KeyExpiration struct {
func (x *KeyExpiration) Reset() {
*x = KeyExpiration{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[131]
+ mi := &file_binary_proto_def_proto_msgTypes[139]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15463,7 +16590,7 @@ func (x *KeyExpiration) String() string {
func (*KeyExpiration) ProtoMessage() {}
func (x *KeyExpiration) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[131]
+ mi := &file_binary_proto_def_proto_msgTypes[139]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15476,7 +16603,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{131}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{139}
}
func (x *KeyExpiration) GetExpiredKeyEpoch() int32 {
@@ -15486,6 +16613,53 @@ func (x *KeyExpiration) GetExpiredKeyEpoch() int32 {
return 0
}
+type ExternalWebBetaAction struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ IsOptIn *bool `protobuf:"varint,1,opt,name=isOptIn" json:"isOptIn,omitempty"`
+}
+
+func (x *ExternalWebBetaAction) Reset() {
+ *x = ExternalWebBetaAction{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[140]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ExternalWebBetaAction) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ExternalWebBetaAction) ProtoMessage() {}
+
+func (x *ExternalWebBetaAction) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_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 ExternalWebBetaAction.ProtoReflect.Descriptor instead.
+func (*ExternalWebBetaAction) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{140}
+}
+
+func (x *ExternalWebBetaAction) GetIsOptIn() bool {
+ if x != nil && x.IsOptIn != nil {
+ return *x.IsOptIn
+ }
+ return false
+}
+
type DeleteMessageForMeAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -15498,7 +16672,7 @@ type DeleteMessageForMeAction struct {
func (x *DeleteMessageForMeAction) Reset() {
*x = DeleteMessageForMeAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[132]
+ mi := &file_binary_proto_def_proto_msgTypes[141]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15511,7 +16685,7 @@ func (x *DeleteMessageForMeAction) String() string {
func (*DeleteMessageForMeAction) ProtoMessage() {}
func (x *DeleteMessageForMeAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[132]
+ mi := &file_binary_proto_def_proto_msgTypes[141]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15524,7 +16698,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{132}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{141}
}
func (x *DeleteMessageForMeAction) GetDeleteMedia() bool {
@@ -15552,7 +16726,7 @@ type DeleteChatAction struct {
func (x *DeleteChatAction) Reset() {
*x = DeleteChatAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[133]
+ mi := &file_binary_proto_def_proto_msgTypes[142]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15565,7 +16739,7 @@ func (x *DeleteChatAction) String() string {
func (*DeleteChatAction) ProtoMessage() {}
func (x *DeleteChatAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[133]
+ mi := &file_binary_proto_def_proto_msgTypes[142]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15578,7 +16752,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{133}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{142}
}
func (x *DeleteChatAction) GetMessageRange() *SyncActionMessageRange {
@@ -15601,7 +16775,7 @@ type ContactAction struct {
func (x *ContactAction) Reset() {
*x = ContactAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[134]
+ mi := &file_binary_proto_def_proto_msgTypes[143]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15614,7 +16788,7 @@ func (x *ContactAction) String() string {
func (*ContactAction) ProtoMessage() {}
func (x *ContactAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[134]
+ mi := &file_binary_proto_def_proto_msgTypes[143]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15627,7 +16801,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{134}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{143}
}
func (x *ContactAction) GetFullName() string {
@@ -15662,7 +16836,7 @@ type ClearChatAction struct {
func (x *ClearChatAction) Reset() {
*x = ClearChatAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[135]
+ mi := &file_binary_proto_def_proto_msgTypes[144]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15675,7 +16849,7 @@ func (x *ClearChatAction) String() string {
func (*ClearChatAction) ProtoMessage() {}
func (x *ClearChatAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[135]
+ mi := &file_binary_proto_def_proto_msgTypes[144]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15688,7 +16862,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{135}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{144}
}
func (x *ClearChatAction) GetMessageRange() *SyncActionMessageRange {
@@ -15709,7 +16883,7 @@ type ChatAssignmentOpenedStatusAction struct {
func (x *ChatAssignmentOpenedStatusAction) Reset() {
*x = ChatAssignmentOpenedStatusAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[136]
+ mi := &file_binary_proto_def_proto_msgTypes[145]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15722,7 +16896,7 @@ func (x *ChatAssignmentOpenedStatusAction) String() string {
func (*ChatAssignmentOpenedStatusAction) ProtoMessage() {}
func (x *ChatAssignmentOpenedStatusAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[136]
+ mi := &file_binary_proto_def_proto_msgTypes[145]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15735,7 +16909,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{136}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{145}
}
func (x *ChatAssignmentOpenedStatusAction) GetChatOpened() bool {
@@ -15756,7 +16930,7 @@ type ChatAssignmentAction struct {
func (x *ChatAssignmentAction) Reset() {
*x = ChatAssignmentAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[137]
+ mi := &file_binary_proto_def_proto_msgTypes[146]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15769,7 +16943,7 @@ func (x *ChatAssignmentAction) String() string {
func (*ChatAssignmentAction) ProtoMessage() {}
func (x *ChatAssignmentAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[137]
+ mi := &file_binary_proto_def_proto_msgTypes[146]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15782,7 +16956,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{137}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{146}
}
func (x *ChatAssignmentAction) GetDeviceAgentID() string {
@@ -15804,7 +16978,7 @@ type ArchiveChatAction struct {
func (x *ArchiveChatAction) Reset() {
*x = ArchiveChatAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[138]
+ mi := &file_binary_proto_def_proto_msgTypes[147]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15817,7 +16991,7 @@ func (x *ArchiveChatAction) String() string {
func (*ArchiveChatAction) ProtoMessage() {}
func (x *ArchiveChatAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[138]
+ mi := &file_binary_proto_def_proto_msgTypes[147]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15830,7 +17004,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{138}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{147}
}
func (x *ArchiveChatAction) GetArchived() bool {
@@ -15858,7 +17032,7 @@ type AndroidUnsupportedActions struct {
func (x *AndroidUnsupportedActions) Reset() {
*x = AndroidUnsupportedActions{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[139]
+ mi := &file_binary_proto_def_proto_msgTypes[148]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15871,7 +17045,7 @@ func (x *AndroidUnsupportedActions) String() string {
func (*AndroidUnsupportedActions) ProtoMessage() {}
func (x *AndroidUnsupportedActions) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[139]
+ mi := &file_binary_proto_def_proto_msgTypes[148]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15884,7 +17058,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{139}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{148}
}
func (x *AndroidUnsupportedActions) GetAllowed() bool {
@@ -15907,7 +17081,7 @@ type AgentAction struct {
func (x *AgentAction) Reset() {
*x = AgentAction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[140]
+ mi := &file_binary_proto_def_proto_msgTypes[149]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15920,7 +17094,7 @@ func (x *AgentAction) String() string {
func (*AgentAction) ProtoMessage() {}
func (x *AgentAction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[140]
+ mi := &file_binary_proto_def_proto_msgTypes[149]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15933,7 +17107,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{140}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{149}
}
func (x *AgentAction) GetName() string {
@@ -15971,7 +17145,7 @@ type SyncActionData struct {
func (x *SyncActionData) Reset() {
*x = SyncActionData{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[141]
+ mi := &file_binary_proto_def_proto_msgTypes[150]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -15984,7 +17158,7 @@ func (x *SyncActionData) String() string {
func (*SyncActionData) ProtoMessage() {}
func (x *SyncActionData) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[141]
+ mi := &file_binary_proto_def_proto_msgTypes[150]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -15997,7 +17171,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{141}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{150}
}
func (x *SyncActionData) GetIndex() []byte {
@@ -16040,7 +17214,7 @@ type RecentEmojiWeight struct {
func (x *RecentEmojiWeight) Reset() {
*x = RecentEmojiWeight{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[142]
+ mi := &file_binary_proto_def_proto_msgTypes[151]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -16053,7 +17227,7 @@ func (x *RecentEmojiWeight) String() string {
func (*RecentEmojiWeight) ProtoMessage() {}
func (x *RecentEmojiWeight) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[142]
+ mi := &file_binary_proto_def_proto_msgTypes[151]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -16066,7 +17240,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{142}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{151}
}
func (x *RecentEmojiWeight) GetEmoji() string {
@@ -16096,7 +17270,7 @@ type VerifiedNameCertificate struct {
func (x *VerifiedNameCertificate) Reset() {
*x = VerifiedNameCertificate{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[143]
+ mi := &file_binary_proto_def_proto_msgTypes[152]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -16109,7 +17283,7 @@ func (x *VerifiedNameCertificate) String() string {
func (*VerifiedNameCertificate) ProtoMessage() {}
func (x *VerifiedNameCertificate) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[143]
+ mi := &file_binary_proto_def_proto_msgTypes[152]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -16122,7 +17296,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{143}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{152}
}
func (x *VerifiedNameCertificate) GetDetails() []byte {
@@ -16159,7 +17333,7 @@ type LocalizedName struct {
func (x *LocalizedName) Reset() {
*x = LocalizedName{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[144]
+ mi := &file_binary_proto_def_proto_msgTypes[153]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -16172,7 +17346,7 @@ func (x *LocalizedName) String() string {
func (*LocalizedName) ProtoMessage() {}
func (x *LocalizedName) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[144]
+ mi := &file_binary_proto_def_proto_msgTypes[153]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -16185,7 +17359,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{144}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{153}
}
func (x *LocalizedName) GetLg() string {
@@ -16227,7 +17401,7 @@ type BizIdentityInfo struct {
func (x *BizIdentityInfo) Reset() {
*x = BizIdentityInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[145]
+ mi := &file_binary_proto_def_proto_msgTypes[154]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -16240,7 +17414,7 @@ func (x *BizIdentityInfo) String() string {
func (*BizIdentityInfo) ProtoMessage() {}
func (x *BizIdentityInfo) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[145]
+ mi := &file_binary_proto_def_proto_msgTypes[154]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -16253,7 +17427,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{145}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{154}
}
func (x *BizIdentityInfo) GetVlevel() BizIdentityInfo_VerifiedLevelValue {
@@ -16324,7 +17498,7 @@ type BizAccountPayload struct {
func (x *BizAccountPayload) Reset() {
*x = BizAccountPayload{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[146]
+ mi := &file_binary_proto_def_proto_msgTypes[155]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -16337,7 +17511,7 @@ func (x *BizAccountPayload) String() string {
func (*BizAccountPayload) ProtoMessage() {}
func (x *BizAccountPayload) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[146]
+ mi := &file_binary_proto_def_proto_msgTypes[155]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -16350,7 +17524,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{146}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{155}
}
func (x *BizAccountPayload) GetVnameCert() *VerifiedNameCertificate {
@@ -16382,7 +17556,7 @@ type BizAccountLinkInfo struct {
func (x *BizAccountLinkInfo) Reset() {
*x = BizAccountLinkInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[147]
+ mi := &file_binary_proto_def_proto_msgTypes[156]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -16395,7 +17569,7 @@ func (x *BizAccountLinkInfo) String() string {
func (*BizAccountLinkInfo) ProtoMessage() {}
func (x *BizAccountLinkInfo) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[147]
+ mi := &file_binary_proto_def_proto_msgTypes[156]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -16408,7 +17582,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{147}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{156}
}
func (x *BizAccountLinkInfo) GetWhatsappBizAcctFbid() uint64 {
@@ -16459,7 +17633,7 @@ type HandshakeMessage struct {
func (x *HandshakeMessage) Reset() {
*x = HandshakeMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[148]
+ mi := &file_binary_proto_def_proto_msgTypes[157]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -16472,7 +17646,7 @@ func (x *HandshakeMessage) String() string {
func (*HandshakeMessage) ProtoMessage() {}
func (x *HandshakeMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[148]
+ mi := &file_binary_proto_def_proto_msgTypes[157]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -16485,7 +17659,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{148}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{157}
}
func (x *HandshakeMessage) GetClientHello() *HandshakeClientHello {
@@ -16522,7 +17696,7 @@ type HandshakeServerHello struct {
func (x *HandshakeServerHello) Reset() {
*x = HandshakeServerHello{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[149]
+ mi := &file_binary_proto_def_proto_msgTypes[158]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -16535,7 +17709,7 @@ func (x *HandshakeServerHello) String() string {
func (*HandshakeServerHello) ProtoMessage() {}
func (x *HandshakeServerHello) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[149]
+ mi := &file_binary_proto_def_proto_msgTypes[158]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -16548,7 +17722,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{149}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{158}
}
func (x *HandshakeServerHello) GetEphemeral() []byte {
@@ -16585,7 +17759,7 @@ type HandshakeClientHello struct {
func (x *HandshakeClientHello) Reset() {
*x = HandshakeClientHello{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[150]
+ mi := &file_binary_proto_def_proto_msgTypes[159]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -16598,7 +17772,7 @@ func (x *HandshakeClientHello) String() string {
func (*HandshakeClientHello) ProtoMessage() {}
func (x *HandshakeClientHello) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[150]
+ mi := &file_binary_proto_def_proto_msgTypes[159]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -16611,7 +17785,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{150}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{159}
}
func (x *HandshakeClientHello) GetEphemeral() []byte {
@@ -16647,7 +17821,7 @@ type HandshakeClientFinish struct {
func (x *HandshakeClientFinish) Reset() {
*x = HandshakeClientFinish{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[151]
+ mi := &file_binary_proto_def_proto_msgTypes[160]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -16660,7 +17834,7 @@ func (x *HandshakeClientFinish) String() string {
func (*HandshakeClientFinish) ProtoMessage() {}
func (x *HandshakeClientFinish) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[151]
+ mi := &file_binary_proto_def_proto_msgTypes[160]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -16673,7 +17847,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{151}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{160}
}
func (x *HandshakeClientFinish) GetStatic() []byte {
@@ -16721,12 +17895,13 @@ type ClientPayload struct {
PaddingBytes []byte `protobuf:"bytes,34,opt,name=paddingBytes" json:"paddingBytes,omitempty"`
YearClass *int32 `protobuf:"varint,36,opt,name=yearClass" json:"yearClass,omitempty"`
MemClass *int32 `protobuf:"varint,37,opt,name=memClass" json:"memClass,omitempty"`
+ InteropData *ClientPayload_InteropData `protobuf:"bytes,38,opt,name=interopData" json:"interopData,omitempty"`
}
func (x *ClientPayload) Reset() {
*x = ClientPayload{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[152]
+ mi := &file_binary_proto_def_proto_msgTypes[161]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -16739,7 +17914,7 @@ func (x *ClientPayload) String() string {
func (*ClientPayload) ProtoMessage() {}
func (x *ClientPayload) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[152]
+ mi := &file_binary_proto_def_proto_msgTypes[161]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -16752,7 +17927,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{152}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161}
}
func (x *ClientPayload) GetUsername() uint64 {
@@ -16937,6 +18112,13 @@ func (x *ClientPayload) GetMemClass() int32 {
return 0
}
+func (x *ClientPayload) GetInteropData() *ClientPayload_InteropData {
+ if x != nil {
+ return x.InteropData
+ }
+ return nil
+}
+
type WebNotificationsInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -16951,7 +18133,7 @@ type WebNotificationsInfo struct {
func (x *WebNotificationsInfo) Reset() {
*x = WebNotificationsInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[153]
+ mi := &file_binary_proto_def_proto_msgTypes[162]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -16964,7 +18146,7 @@ func (x *WebNotificationsInfo) String() string {
func (*WebNotificationsInfo) ProtoMessage() {}
func (x *WebNotificationsInfo) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[153]
+ mi := &file_binary_proto_def_proto_msgTypes[162]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -16977,7 +18159,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{153}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{162}
}
func (x *WebNotificationsInfo) GetTimestamp() uint64 {
@@ -17056,12 +18238,13 @@ type WebMessageInfo struct {
KeepInChat *KeepInChat `protobuf:"bytes,50,opt,name=keepInChat" json:"keepInChat,omitempty"`
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"`
}
func (x *WebMessageInfo) Reset() {
*x = WebMessageInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[154]
+ mi := &file_binary_proto_def_proto_msgTypes[163]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -17074,7 +18257,7 @@ func (x *WebMessageInfo) String() string {
func (*WebMessageInfo) ProtoMessage() {}
func (x *WebMessageInfo) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[154]
+ mi := &file_binary_proto_def_proto_msgTypes[163]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -17087,7 +18270,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{154}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{163}
}
func (x *WebMessageInfo) GetKey() *MessageKey {
@@ -17391,6 +18574,13 @@ func (x *WebMessageInfo) GetRevokeMessageTimestamp() uint64 {
return 0
}
+func (x *WebMessageInfo) GetPinInChat() *PinInChat {
+ if x != nil {
+ return x.PinInChat
+ }
+ return nil
+}
+
type WebFeatures struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -17446,7 +18636,7 @@ type WebFeatures struct {
func (x *WebFeatures) Reset() {
*x = WebFeatures{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[155]
+ mi := &file_binary_proto_def_proto_msgTypes[164]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -17459,7 +18649,7 @@ func (x *WebFeatures) String() string {
func (*WebFeatures) ProtoMessage() {}
func (x *WebFeatures) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[155]
+ mi := &file_binary_proto_def_proto_msgTypes[164]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -17472,7 +18662,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{155}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{164}
}
func (x *WebFeatures) GetLabelsDisplay() WebFeatures_Flag {
@@ -17806,7 +18996,7 @@ type UserReceipt struct {
func (x *UserReceipt) Reset() {
*x = UserReceipt{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[156]
+ mi := &file_binary_proto_def_proto_msgTypes[165]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -17819,7 +19009,7 @@ func (x *UserReceipt) String() string {
func (*UserReceipt) ProtoMessage() {}
func (x *UserReceipt) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[156]
+ mi := &file_binary_proto_def_proto_msgTypes[165]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -17832,7 +19022,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{156}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{165}
}
func (x *UserReceipt) GetUserJid() string {
@@ -17889,7 +19079,7 @@ type StatusPSA struct {
func (x *StatusPSA) Reset() {
*x = StatusPSA{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[157]
+ mi := &file_binary_proto_def_proto_msgTypes[166]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -17902,7 +19092,7 @@ func (x *StatusPSA) String() string {
func (*StatusPSA) ProtoMessage() {}
func (x *StatusPSA) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[157]
+ mi := &file_binary_proto_def_proto_msgTypes[166]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -17915,7 +19105,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{157}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{166}
}
func (x *StatusPSA) GetCampaignId() uint64 {
@@ -17947,7 +19137,7 @@ type Reaction struct {
func (x *Reaction) Reset() {
*x = Reaction{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[158]
+ mi := &file_binary_proto_def_proto_msgTypes[167]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -17960,7 +19150,7 @@ func (x *Reaction) String() string {
func (*Reaction) ProtoMessage() {}
func (x *Reaction) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[158]
+ mi := &file_binary_proto_def_proto_msgTypes[167]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -17973,7 +19163,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{158}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{167}
}
func (x *Reaction) GetKey() *MessageKey {
@@ -18026,7 +19216,7 @@ type PollUpdate struct {
func (x *PollUpdate) Reset() {
*x = PollUpdate{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[159]
+ mi := &file_binary_proto_def_proto_msgTypes[168]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -18039,7 +19229,7 @@ func (x *PollUpdate) String() string {
func (*PollUpdate) ProtoMessage() {}
func (x *PollUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[159]
+ mi := &file_binary_proto_def_proto_msgTypes[168]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -18052,7 +19242,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{159}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{168}
}
func (x *PollUpdate) GetPollUpdateMessageKey() *MessageKey {
@@ -18101,7 +19291,7 @@ type PollAdditionalMetadata struct {
func (x *PollAdditionalMetadata) Reset() {
*x = PollAdditionalMetadata{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[160]
+ mi := &file_binary_proto_def_proto_msgTypes[169]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -18114,7 +19304,7 @@ func (x *PollAdditionalMetadata) String() string {
func (*PollAdditionalMetadata) ProtoMessage() {}
func (x *PollAdditionalMetadata) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[160]
+ mi := &file_binary_proto_def_proto_msgTypes[169]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -18127,7 +19317,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{160}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{169}
}
func (x *PollAdditionalMetadata) GetPollInvalidated() bool {
@@ -18137,6 +19327,85 @@ func (x *PollAdditionalMetadata) GetPollInvalidated() bool {
return false
}
+type PinInChat struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Type *PinInChat_Type `protobuf:"varint,1,opt,name=type,enum=proto.PinInChat_Type" json:"type,omitempty"`
+ Key *MessageKey `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
+ SenderTimestampMs *int64 `protobuf:"varint,3,opt,name=senderTimestampMs" json:"senderTimestampMs,omitempty"`
+ ServerTimestampMs *int64 `protobuf:"varint,4,opt,name=serverTimestampMs" json:"serverTimestampMs,omitempty"`
+ MessageAddOnContextInfo *MessageAddOnContextInfo `protobuf:"bytes,5,opt,name=messageAddOnContextInfo" json:"messageAddOnContextInfo,omitempty"`
+}
+
+func (x *PinInChat) Reset() {
+ *x = PinInChat{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[170]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PinInChat) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PinInChat) ProtoMessage() {}
+
+func (x *PinInChat) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_proto_msgTypes[170]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use PinInChat.ProtoReflect.Descriptor instead.
+func (*PinInChat) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{170}
+}
+
+func (x *PinInChat) GetType() PinInChat_Type {
+ if x != nil && x.Type != nil {
+ return *x.Type
+ }
+ return PinInChat_UNKNOWN_TYPE
+}
+
+func (x *PinInChat) GetKey() *MessageKey {
+ if x != nil {
+ return x.Key
+ }
+ return nil
+}
+
+func (x *PinInChat) GetSenderTimestampMs() int64 {
+ if x != nil && x.SenderTimestampMs != nil {
+ return *x.SenderTimestampMs
+ }
+ return 0
+}
+
+func (x *PinInChat) GetServerTimestampMs() int64 {
+ if x != nil && x.ServerTimestampMs != nil {
+ return *x.ServerTimestampMs
+ }
+ return 0
+}
+
+func (x *PinInChat) GetMessageAddOnContextInfo() *MessageAddOnContextInfo {
+ if x != nil {
+ return x.MessageAddOnContextInfo
+ }
+ return nil
+}
+
type PhotoChange struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -18150,7 +19419,7 @@ type PhotoChange struct {
func (x *PhotoChange) Reset() {
*x = PhotoChange{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[161]
+ mi := &file_binary_proto_def_proto_msgTypes[171]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -18163,7 +19432,7 @@ func (x *PhotoChange) String() string {
func (*PhotoChange) ProtoMessage() {}
func (x *PhotoChange) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[161]
+ mi := &file_binary_proto_def_proto_msgTypes[171]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -18176,7 +19445,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{161}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{171}
}
func (x *PhotoChange) GetOldPhoto() []byte {
@@ -18223,7 +19492,7 @@ type PaymentInfo struct {
func (x *PaymentInfo) Reset() {
*x = PaymentInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[162]
+ mi := &file_binary_proto_def_proto_msgTypes[172]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -18236,7 +19505,7 @@ func (x *PaymentInfo) String() string {
func (*PaymentInfo) ProtoMessage() {}
func (x *PaymentInfo) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[162]
+ mi := &file_binary_proto_def_proto_msgTypes[172]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -18249,7 +19518,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{162}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{172}
}
func (x *PaymentInfo) GetCurrencyDeprecated() PaymentInfo_Currency {
@@ -18357,7 +19626,7 @@ type NotificationMessageInfo struct {
func (x *NotificationMessageInfo) Reset() {
*x = NotificationMessageInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[163]
+ mi := &file_binary_proto_def_proto_msgTypes[173]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -18370,7 +19639,7 @@ func (x *NotificationMessageInfo) String() string {
func (*NotificationMessageInfo) ProtoMessage() {}
func (x *NotificationMessageInfo) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[163]
+ mi := &file_binary_proto_def_proto_msgTypes[173]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -18383,7 +19652,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{163}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{173}
}
func (x *NotificationMessageInfo) GetKey() *MessageKey {
@@ -18414,6 +19683,53 @@ func (x *NotificationMessageInfo) GetParticipant() string {
return ""
}
+type MessageAddOnContextInfo struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ MessageAddOnDurationInSecs *uint32 `protobuf:"varint,1,opt,name=messageAddOnDurationInSecs" json:"messageAddOnDurationInSecs,omitempty"`
+}
+
+func (x *MessageAddOnContextInfo) Reset() {
+ *x = MessageAddOnContextInfo{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[174]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *MessageAddOnContextInfo) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*MessageAddOnContextInfo) ProtoMessage() {}
+
+func (x *MessageAddOnContextInfo) 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 MessageAddOnContextInfo.ProtoReflect.Descriptor instead.
+func (*MessageAddOnContextInfo) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{174}
+}
+
+func (x *MessageAddOnContextInfo) GetMessageAddOnDurationInSecs() uint32 {
+ if x != nil && x.MessageAddOnDurationInSecs != nil {
+ return *x.MessageAddOnDurationInSecs
+ }
+ return 0
+}
+
type MediaData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -18425,7 +19741,7 @@ type MediaData struct {
func (x *MediaData) Reset() {
*x = MediaData{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[164]
+ mi := &file_binary_proto_def_proto_msgTypes[175]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -18438,7 +19754,7 @@ func (x *MediaData) String() string {
func (*MediaData) ProtoMessage() {}
func (x *MediaData) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[164]
+ mi := &file_binary_proto_def_proto_msgTypes[175]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -18451,7 +19767,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{164}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{175}
}
func (x *MediaData) GetLocalPath() string {
@@ -18477,7 +19793,7 @@ type KeepInChat struct {
func (x *KeepInChat) Reset() {
*x = KeepInChat{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[165]
+ mi := &file_binary_proto_def_proto_msgTypes[176]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -18490,7 +19806,7 @@ func (x *KeepInChat) String() string {
func (*KeepInChat) ProtoMessage() {}
func (x *KeepInChat) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[165]
+ mi := &file_binary_proto_def_proto_msgTypes[176]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -18503,7 +19819,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{165}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{176}
}
func (x *KeepInChat) GetKeepType() KeepType {
@@ -18560,7 +19876,7 @@ type NoiseCertificate struct {
func (x *NoiseCertificate) Reset() {
*x = NoiseCertificate{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[166]
+ mi := &file_binary_proto_def_proto_msgTypes[177]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -18573,7 +19889,7 @@ func (x *NoiseCertificate) String() string {
func (*NoiseCertificate) ProtoMessage() {}
func (x *NoiseCertificate) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[166]
+ mi := &file_binary_proto_def_proto_msgTypes[177]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -18586,7 +19902,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{166}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{177}
}
func (x *NoiseCertificate) GetDetails() []byte {
@@ -18615,7 +19931,7 @@ type CertChain struct {
func (x *CertChain) Reset() {
*x = CertChain{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[167]
+ mi := &file_binary_proto_def_proto_msgTypes[178]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -18628,7 +19944,7 @@ func (x *CertChain) String() string {
func (*CertChain) ProtoMessage() {}
func (x *CertChain) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[167]
+ mi := &file_binary_proto_def_proto_msgTypes[178]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -18641,7 +19957,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{167}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{178}
}
func (x *CertChain) GetLeaf() *CertChain_NoiseCertificate {
@@ -18663,15 +19979,17 @@ type DeviceProps_HistorySyncConfig struct {
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"`
+ 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"`
}
func (x *DeviceProps_HistorySyncConfig) Reset() {
*x = DeviceProps_HistorySyncConfig{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[168]
+ mi := &file_binary_proto_def_proto_msgTypes[179]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -18684,7 +20002,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[168]
+ mi := &file_binary_proto_def_proto_msgTypes[179]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -18721,6 +20039,20 @@ func (x *DeviceProps_HistorySyncConfig) GetStorageQuotaMb() uint32 {
return 0
}
+func (x *DeviceProps_HistorySyncConfig) GetInlineInitialPayloadInE2EeMsg() bool {
+ if x != nil && x.InlineInitialPayloadInE2EeMsg != nil {
+ return *x.InlineInitialPayloadInE2EeMsg
+ }
+ return false
+}
+
+func (x *DeviceProps_HistorySyncConfig) GetRecentSyncDaysLimit() uint32 {
+ if x != nil && x.RecentSyncDaysLimit != nil {
+ return *x.RecentSyncDaysLimit
+ }
+ return 0
+}
+
type DeviceProps_AppVersion struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -18736,7 +20068,7 @@ type DeviceProps_AppVersion struct {
func (x *DeviceProps_AppVersion) Reset() {
*x = DeviceProps_AppVersion{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[169]
+ mi := &file_binary_proto_def_proto_msgTypes[180]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -18749,7 +20081,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[169]
+ mi := &file_binary_proto_def_proto_msgTypes[180]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -18800,179 +20132,6 @@ func (x *DeviceProps_AppVersion) GetQuinary() uint32 {
return 0
}
-type PeerDataOperationRequestMessage_RequestUrlPreview struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
-}
-
-func (x *PeerDataOperationRequestMessage_RequestUrlPreview) Reset() {
- *x = PeerDataOperationRequestMessage_RequestUrlPreview{}
- if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[170]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *PeerDataOperationRequestMessage_RequestUrlPreview) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*PeerDataOperationRequestMessage_RequestUrlPreview) ProtoMessage() {}
-
-func (x *PeerDataOperationRequestMessage_RequestUrlPreview) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[170]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use PeerDataOperationRequestMessage_RequestUrlPreview.ProtoReflect.Descriptor instead.
-func (*PeerDataOperationRequestMessage_RequestUrlPreview) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{6, 0}
-}
-
-func (x *PeerDataOperationRequestMessage_RequestUrlPreview) GetUrl() string {
- if x != nil && x.Url != nil {
- return *x.Url
- }
- return ""
-}
-
-type PeerDataOperationRequestMessage_RequestStickerReupload struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- FileSha256 *string `protobuf:"bytes,1,opt,name=fileSha256" json:"fileSha256,omitempty"`
-}
-
-func (x *PeerDataOperationRequestMessage_RequestStickerReupload) Reset() {
- *x = PeerDataOperationRequestMessage_RequestStickerReupload{}
- if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[171]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *PeerDataOperationRequestMessage_RequestStickerReupload) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*PeerDataOperationRequestMessage_RequestStickerReupload) ProtoMessage() {}
-
-func (x *PeerDataOperationRequestMessage_RequestStickerReupload) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[171]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use PeerDataOperationRequestMessage_RequestStickerReupload.ProtoReflect.Descriptor instead.
-func (*PeerDataOperationRequestMessage_RequestStickerReupload) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{6, 1}
-}
-
-func (x *PeerDataOperationRequestMessage_RequestStickerReupload) GetFileSha256() string {
- if x != nil && x.FileSha256 != nil {
- return *x.FileSha256
- }
- return ""
-}
-
-type PeerDataOperationRequestMessage_HistorySyncOnDemandRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- ChatJid *string `protobuf:"bytes,1,opt,name=chatJid" json:"chatJid,omitempty"`
- OldestMsgId *string `protobuf:"bytes,2,opt,name=oldestMsgId" json:"oldestMsgId,omitempty"`
- OldestMsgFromMe *bool `protobuf:"varint,3,opt,name=oldestMsgFromMe" json:"oldestMsgFromMe,omitempty"`
- OnDemandMsgCount *int32 `protobuf:"varint,4,opt,name=onDemandMsgCount" json:"onDemandMsgCount,omitempty"`
- OldestMsgTimestampMs *int64 `protobuf:"varint,5,opt,name=oldestMsgTimestampMs" json:"oldestMsgTimestampMs,omitempty"`
-}
-
-func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Reset() {
- *x = PeerDataOperationRequestMessage_HistorySyncOnDemandRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[172]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoMessage() {}
-
-func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[172]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use PeerDataOperationRequestMessage_HistorySyncOnDemandRequest.ProtoReflect.Descriptor instead.
-func (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{6, 2}
-}
-
-func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetChatJid() string {
- if x != nil && x.ChatJid != nil {
- return *x.ChatJid
- }
- return ""
-}
-
-func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgId() string {
- if x != nil && x.OldestMsgId != nil {
- return *x.OldestMsgId
- }
- return ""
-}
-
-func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgFromMe() bool {
- if x != nil && x.OldestMsgFromMe != nil {
- return *x.OldestMsgFromMe
- }
- return false
-}
-
-func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOnDemandMsgCount() int32 {
- if x != nil && x.OnDemandMsgCount != nil {
- return *x.OnDemandMsgCount
- }
- return 0
-}
-
-func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgTimestampMs() int64 {
- if x != nil && x.OldestMsgTimestampMs != nil {
- return *x.OldestMsgTimestampMs
- }
- return 0
-}
-
type ListResponseMessage_SingleSelectReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -18984,7 +20143,7 @@ type ListResponseMessage_SingleSelectReply struct {
func (x *ListResponseMessage_SingleSelectReply) Reset() {
*x = ListResponseMessage_SingleSelectReply{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[173]
+ mi := &file_binary_proto_def_proto_msgTypes[181]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -18997,7 +20156,7 @@ func (x *ListResponseMessage_SingleSelectReply) String() string {
func (*ListResponseMessage_SingleSelectReply) ProtoMessage() {}
func (x *ListResponseMessage_SingleSelectReply) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[173]
+ mi := &file_binary_proto_def_proto_msgTypes[181]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19010,7 +20169,7 @@ func (x *ListResponseMessage_SingleSelectReply) ProtoReflect() protoreflect.Mess
// Deprecated: Use ListResponseMessage_SingleSelectReply.ProtoReflect.Descriptor instead.
func (*ListResponseMessage_SingleSelectReply) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{11, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{7, 0}
}
func (x *ListResponseMessage_SingleSelectReply) GetSelectedRowId() string {
@@ -19032,7 +20191,7 @@ type ListMessage_Section struct {
func (x *ListMessage_Section) Reset() {
*x = ListMessage_Section{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[174]
+ mi := &file_binary_proto_def_proto_msgTypes[182]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19045,7 +20204,7 @@ func (x *ListMessage_Section) String() string {
func (*ListMessage_Section) ProtoMessage() {}
func (x *ListMessage_Section) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[174]
+ mi := &file_binary_proto_def_proto_msgTypes[182]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19058,7 +20217,7 @@ func (x *ListMessage_Section) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListMessage_Section.ProtoReflect.Descriptor instead.
func (*ListMessage_Section) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 0}
}
func (x *ListMessage_Section) GetTitle() string {
@@ -19088,7 +20247,7 @@ type ListMessage_Row struct {
func (x *ListMessage_Row) Reset() {
*x = ListMessage_Row{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[175]
+ mi := &file_binary_proto_def_proto_msgTypes[183]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19101,7 +20260,7 @@ func (x *ListMessage_Row) String() string {
func (*ListMessage_Row) ProtoMessage() {}
func (x *ListMessage_Row) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[175]
+ mi := &file_binary_proto_def_proto_msgTypes[183]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19114,7 +20273,7 @@ func (x *ListMessage_Row) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListMessage_Row.ProtoReflect.Descriptor instead.
func (*ListMessage_Row) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 1}
}
func (x *ListMessage_Row) GetTitle() string {
@@ -19149,7 +20308,7 @@ type ListMessage_Product struct {
func (x *ListMessage_Product) Reset() {
*x = ListMessage_Product{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[176]
+ mi := &file_binary_proto_def_proto_msgTypes[184]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19162,7 +20321,7 @@ func (x *ListMessage_Product) String() string {
func (*ListMessage_Product) ProtoMessage() {}
func (x *ListMessage_Product) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[176]
+ mi := &file_binary_proto_def_proto_msgTypes[184]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19175,7 +20334,7 @@ func (x *ListMessage_Product) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListMessage_Product.ProtoReflect.Descriptor instead.
func (*ListMessage_Product) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 2}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 2}
}
func (x *ListMessage_Product) GetProductId() string {
@@ -19197,7 +20356,7 @@ type ListMessage_ProductSection struct {
func (x *ListMessage_ProductSection) Reset() {
*x = ListMessage_ProductSection{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[177]
+ mi := &file_binary_proto_def_proto_msgTypes[185]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19210,7 +20369,7 @@ func (x *ListMessage_ProductSection) String() string {
func (*ListMessage_ProductSection) ProtoMessage() {}
func (x *ListMessage_ProductSection) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[177]
+ mi := &file_binary_proto_def_proto_msgTypes[185]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19223,7 +20382,7 @@ func (x *ListMessage_ProductSection) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListMessage_ProductSection.ProtoReflect.Descriptor instead.
func (*ListMessage_ProductSection) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 3}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 3}
}
func (x *ListMessage_ProductSection) GetTitle() string {
@@ -19253,7 +20412,7 @@ type ListMessage_ProductListInfo struct {
func (x *ListMessage_ProductListInfo) Reset() {
*x = ListMessage_ProductListInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[178]
+ mi := &file_binary_proto_def_proto_msgTypes[186]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19266,7 +20425,7 @@ func (x *ListMessage_ProductListInfo) String() string {
func (*ListMessage_ProductListInfo) ProtoMessage() {}
func (x *ListMessage_ProductListInfo) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[178]
+ mi := &file_binary_proto_def_proto_msgTypes[186]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19279,7 +20438,7 @@ func (x *ListMessage_ProductListInfo) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListMessage_ProductListInfo.ProtoReflect.Descriptor instead.
func (*ListMessage_ProductListInfo) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 4}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 4}
}
func (x *ListMessage_ProductListInfo) GetProductSections() []*ListMessage_ProductSection {
@@ -19315,7 +20474,7 @@ type ListMessage_ProductListHeaderImage struct {
func (x *ListMessage_ProductListHeaderImage) Reset() {
*x = ListMessage_ProductListHeaderImage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[179]
+ mi := &file_binary_proto_def_proto_msgTypes[187]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19328,7 +20487,7 @@ func (x *ListMessage_ProductListHeaderImage) String() string {
func (*ListMessage_ProductListHeaderImage) ProtoMessage() {}
func (x *ListMessage_ProductListHeaderImage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[179]
+ mi := &file_binary_proto_def_proto_msgTypes[187]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19341,7 +20500,7 @@ func (x *ListMessage_ProductListHeaderImage) ProtoReflect() protoreflect.Message
// Deprecated: Use ListMessage_ProductListHeaderImage.ProtoReflect.Descriptor instead.
func (*ListMessage_ProductListHeaderImage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 5}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{8, 5}
}
func (x *ListMessage_ProductListHeaderImage) GetProductId() string {
@@ -19371,7 +20530,7 @@ type InteractiveResponseMessage_NativeFlowResponseMessage struct {
func (x *InteractiveResponseMessage_NativeFlowResponseMessage) Reset() {
*x = InteractiveResponseMessage_NativeFlowResponseMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[180]
+ mi := &file_binary_proto_def_proto_msgTypes[188]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19384,7 +20543,7 @@ func (x *InteractiveResponseMessage_NativeFlowResponseMessage) String() string {
func (*InteractiveResponseMessage_NativeFlowResponseMessage) ProtoMessage() {}
func (x *InteractiveResponseMessage_NativeFlowResponseMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[180]
+ mi := &file_binary_proto_def_proto_msgTypes[188]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19397,7 +20556,7 @@ func (x *InteractiveResponseMessage_NativeFlowResponseMessage) ProtoReflect() pr
// Deprecated: Use InteractiveResponseMessage_NativeFlowResponseMessage.ProtoReflect.Descriptor instead.
func (*InteractiveResponseMessage_NativeFlowResponseMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{15, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{11, 0}
}
func (x *InteractiveResponseMessage_NativeFlowResponseMessage) GetName() string {
@@ -19426,13 +20585,14 @@ type InteractiveResponseMessage_Body struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
+ 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[181]
+ mi := &file_binary_proto_def_proto_msgTypes[189]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19445,7 +20605,7 @@ func (x *InteractiveResponseMessage_Body) String() string {
func (*InteractiveResponseMessage_Body) ProtoMessage() {}
func (x *InteractiveResponseMessage_Body) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[181]
+ mi := &file_binary_proto_def_proto_msgTypes[189]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19458,7 +20618,7 @@ func (x *InteractiveResponseMessage_Body) ProtoReflect() protoreflect.Message {
// Deprecated: Use InteractiveResponseMessage_Body.ProtoReflect.Descriptor instead.
func (*InteractiveResponseMessage_Body) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{15, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{11, 1}
}
func (x *InteractiveResponseMessage_Body) GetText() string {
@@ -19468,6 +20628,13 @@ func (x *InteractiveResponseMessage_Body) GetText() string {
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
@@ -19481,7 +20648,7 @@ type InteractiveMessage_ShopMessage struct {
func (x *InteractiveMessage_ShopMessage) Reset() {
*x = InteractiveMessage_ShopMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[182]
+ mi := &file_binary_proto_def_proto_msgTypes[190]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19494,7 +20661,7 @@ func (x *InteractiveMessage_ShopMessage) String() string {
func (*InteractiveMessage_ShopMessage) ProtoMessage() {}
func (x *InteractiveMessage_ShopMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[182]
+ mi := &file_binary_proto_def_proto_msgTypes[190]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19507,7 +20674,7 @@ func (x *InteractiveMessage_ShopMessage) ProtoReflect() protoreflect.Message {
// Deprecated: Use InteractiveMessage_ShopMessage.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_ShopMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 0}
}
func (x *InteractiveMessage_ShopMessage) GetId() string {
@@ -19544,7 +20711,7 @@ type InteractiveMessage_NativeFlowMessage struct {
func (x *InteractiveMessage_NativeFlowMessage) Reset() {
*x = InteractiveMessage_NativeFlowMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[183]
+ mi := &file_binary_proto_def_proto_msgTypes[191]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19557,7 +20724,7 @@ func (x *InteractiveMessage_NativeFlowMessage) String() string {
func (*InteractiveMessage_NativeFlowMessage) ProtoMessage() {}
func (x *InteractiveMessage_NativeFlowMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[183]
+ mi := &file_binary_proto_def_proto_msgTypes[191]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19570,7 +20737,7 @@ func (x *InteractiveMessage_NativeFlowMessage) ProtoReflect() protoreflect.Messa
// Deprecated: Use InteractiveMessage_NativeFlowMessage.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_NativeFlowMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 1}
}
func (x *InteractiveMessage_NativeFlowMessage) GetButtons() []*InteractiveMessage_NativeFlowMessage_NativeFlowButton {
@@ -19608,13 +20775,14 @@ type InteractiveMessage_Header struct {
// *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[184]
+ mi := &file_binary_proto_def_proto_msgTypes[192]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19627,7 +20795,7 @@ func (x *InteractiveMessage_Header) String() string {
func (*InteractiveMessage_Header) ProtoMessage() {}
func (x *InteractiveMessage_Header) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[184]
+ mi := &file_binary_proto_def_proto_msgTypes[192]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19640,7 +20808,7 @@ func (x *InteractiveMessage_Header) ProtoReflect() protoreflect.Message {
// Deprecated: Use InteractiveMessage_Header.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_Header) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 2}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 2}
}
func (x *InteractiveMessage_Header) GetTitle() string {
@@ -19699,6 +20867,13 @@ func (x *InteractiveMessage_Header) GetVideoMessage() *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()
}
@@ -19719,6 +20894,10 @@ 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() {}
@@ -19727,6 +20906,8 @@ func (*InteractiveMessage_Header_JpegThumbnail) isInteractiveMessage_Header_Medi
func (*InteractiveMessage_Header_VideoMessage) isInteractiveMessage_Header_Media() {}
+func (*InteractiveMessage_Header_LocationMessage) isInteractiveMessage_Header_Media() {}
+
type InteractiveMessage_Footer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -19738,7 +20919,7 @@ type InteractiveMessage_Footer struct {
func (x *InteractiveMessage_Footer) Reset() {
*x = InteractiveMessage_Footer{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[185]
+ mi := &file_binary_proto_def_proto_msgTypes[193]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19751,7 +20932,7 @@ func (x *InteractiveMessage_Footer) String() string {
func (*InteractiveMessage_Footer) ProtoMessage() {}
func (x *InteractiveMessage_Footer) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[185]
+ mi := &file_binary_proto_def_proto_msgTypes[193]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19764,7 +20945,7 @@ func (x *InteractiveMessage_Footer) ProtoReflect() protoreflect.Message {
// Deprecated: Use InteractiveMessage_Footer.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_Footer) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 3}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 3}
}
func (x *InteractiveMessage_Footer) GetText() string {
@@ -19787,7 +20968,7 @@ type InteractiveMessage_CollectionMessage struct {
func (x *InteractiveMessage_CollectionMessage) Reset() {
*x = InteractiveMessage_CollectionMessage{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[186]
+ mi := &file_binary_proto_def_proto_msgTypes[194]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19800,7 +20981,7 @@ func (x *InteractiveMessage_CollectionMessage) String() string {
func (*InteractiveMessage_CollectionMessage) ProtoMessage() {}
func (x *InteractiveMessage_CollectionMessage) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[186]
+ mi := &file_binary_proto_def_proto_msgTypes[194]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19813,7 +20994,7 @@ func (x *InteractiveMessage_CollectionMessage) ProtoReflect() protoreflect.Messa
// Deprecated: Use InteractiveMessage_CollectionMessage.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_CollectionMessage) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 4}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 4}
}
func (x *InteractiveMessage_CollectionMessage) GetBizJid() string {
@@ -19837,6 +21018,61 @@ func (x *InteractiveMessage_CollectionMessage) GetMessageVersion() int32 {
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
@@ -19848,7 +21084,7 @@ type InteractiveMessage_Body struct {
func (x *InteractiveMessage_Body) Reset() {
*x = InteractiveMessage_Body{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[187]
+ mi := &file_binary_proto_def_proto_msgTypes[196]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19861,7 +21097,7 @@ func (x *InteractiveMessage_Body) String() string {
func (*InteractiveMessage_Body) ProtoMessage() {}
func (x *InteractiveMessage_Body) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[187]
+ mi := &file_binary_proto_def_proto_msgTypes[196]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19874,7 +21110,7 @@ func (x *InteractiveMessage_Body) ProtoReflect() protoreflect.Message {
// Deprecated: Use InteractiveMessage_Body.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_Body) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 5}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 6}
}
func (x *InteractiveMessage_Body) GetText() string {
@@ -19896,7 +21132,7 @@ type InteractiveMessage_NativeFlowMessage_NativeFlowButton struct {
func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) Reset() {
*x = InteractiveMessage_NativeFlowMessage_NativeFlowButton{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[188]
+ mi := &file_binary_proto_def_proto_msgTypes[197]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19909,7 +21145,7 @@ func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) String() string
func (*InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoMessage() {}
func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[188]
+ mi := &file_binary_proto_def_proto_msgTypes[197]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19922,7 +21158,7 @@ func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) ProtoReflect() p
// Deprecated: Use InteractiveMessage_NativeFlowMessage_NativeFlowButton.ProtoReflect.Descriptor instead.
func (*InteractiveMessage_NativeFlowMessage_NativeFlowButton) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 1, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{12, 1, 0}
}
func (x *InteractiveMessage_NativeFlowMessage_NativeFlowButton) GetName() string {
@@ -19955,7 +21191,7 @@ type HighlyStructuredMessage_HSMLocalizableParameter struct {
func (x *HighlyStructuredMessage_HSMLocalizableParameter) Reset() {
*x = HighlyStructuredMessage_HSMLocalizableParameter{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[189]
+ mi := &file_binary_proto_def_proto_msgTypes[198]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -19968,7 +21204,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[189]
+ mi := &file_binary_proto_def_proto_msgTypes[198]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -19981,7 +21217,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{20, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0}
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter) GetDefault() string {
@@ -20045,7 +21281,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[190]
+ mi := &file_binary_proto_def_proto_msgTypes[199]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20058,7 +21294,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[190]
+ mi := &file_binary_proto_def_proto_msgTypes[199]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -20071,7 +21307,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{20, 0, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0}
}
func (m *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime) GetDatetimeOneof() isHighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_DatetimeOneof {
@@ -20125,7 +21361,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[191]
+ mi := &file_binary_proto_def_proto_msgTypes[200]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20138,7 +21374,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[191]
+ mi := &file_binary_proto_def_proto_msgTypes[200]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -20151,7 +21387,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{20, 0, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 1}
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency) GetCurrencyCode() string {
@@ -20179,7 +21415,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[192]
+ mi := &file_binary_proto_def_proto_msgTypes[201]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20193,7 +21429,7 @@ func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUn
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[192]
+ mi := &file_binary_proto_def_proto_msgTypes[201]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -20206,7 +21442,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{20, 0, 0, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 0}
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch) GetTimestamp() int64 {
@@ -20233,7 +21469,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[193]
+ mi := &file_binary_proto_def_proto_msgTypes[202]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20247,7 +21483,7 @@ func (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeCo
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[193]
+ mi := &file_binary_proto_def_proto_msgTypes[202]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -20260,7 +21496,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{20, 0, 0, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{16, 0, 0, 1}
}
func (x *HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent) GetDayOfWeek() HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType {
@@ -20326,7 +21562,7 @@ type ButtonsMessage_Button struct {
func (x *ButtonsMessage_Button) Reset() {
*x = ButtonsMessage_Button{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[194]
+ mi := &file_binary_proto_def_proto_msgTypes[203]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20339,7 +21575,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[194]
+ mi := &file_binary_proto_def_proto_msgTypes[203]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -20352,7 +21588,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{34, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0}
}
func (x *ButtonsMessage_Button) GetButtonId() string {
@@ -20395,7 +21631,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[195]
+ mi := &file_binary_proto_def_proto_msgTypes[204]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20408,7 +21644,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[195]
+ mi := &file_binary_proto_def_proto_msgTypes[204]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -20421,7 +21657,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{34, 0, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0, 0}
}
func (x *ButtonsMessage_Button_NativeFlowInfo) GetName() string {
@@ -20449,7 +21685,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[196]
+ mi := &file_binary_proto_def_proto_msgTypes[205]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20462,7 +21698,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[196]
+ mi := &file_binary_proto_def_proto_msgTypes[205]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -20475,7 +21711,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{34, 0, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{31, 0, 1}
}
func (x *ButtonsMessage_Button_ButtonText) GetDisplayText() string {
@@ -20497,7 +21733,7 @@ type HydratedTemplateButton_HydratedURLButton struct {
func (x *HydratedTemplateButton_HydratedURLButton) Reset() {
*x = HydratedTemplateButton_HydratedURLButton{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[197]
+ mi := &file_binary_proto_def_proto_msgTypes[206]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20510,7 +21746,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[197]
+ mi := &file_binary_proto_def_proto_msgTypes[206]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -20523,7 +21759,7 @@ func (x *HydratedTemplateButton_HydratedURLButton) ProtoReflect() protoreflect.M
// Deprecated: Use HydratedTemplateButton_HydratedURLButton.ProtoReflect.Descriptor instead.
func (*HydratedTemplateButton_HydratedURLButton) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{45, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{43, 0}
}
func (x *HydratedTemplateButton_HydratedURLButton) GetDisplayText() string {
@@ -20552,7 +21788,7 @@ type HydratedTemplateButton_HydratedQuickReplyButton struct {
func (x *HydratedTemplateButton_HydratedQuickReplyButton) Reset() {
*x = HydratedTemplateButton_HydratedQuickReplyButton{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[198]
+ mi := &file_binary_proto_def_proto_msgTypes[207]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20565,7 +21801,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[198]
+ mi := &file_binary_proto_def_proto_msgTypes[207]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -20578,7 +21814,7 @@ func (x *HydratedTemplateButton_HydratedQuickReplyButton) ProtoReflect() protore
// Deprecated: Use HydratedTemplateButton_HydratedQuickReplyButton.ProtoReflect.Descriptor instead.
func (*HydratedTemplateButton_HydratedQuickReplyButton) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{45, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{43, 1}
}
func (x *HydratedTemplateButton_HydratedQuickReplyButton) GetDisplayText() string {
@@ -20607,7 +21843,7 @@ type HydratedTemplateButton_HydratedCallButton struct {
func (x *HydratedTemplateButton_HydratedCallButton) Reset() {
*x = HydratedTemplateButton_HydratedCallButton{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[199]
+ mi := &file_binary_proto_def_proto_msgTypes[208]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20620,7 +21856,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[199]
+ mi := &file_binary_proto_def_proto_msgTypes[208]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -20633,7 +21869,7 @@ func (x *HydratedTemplateButton_HydratedCallButton) ProtoReflect() protoreflect.
// Deprecated: Use HydratedTemplateButton_HydratedCallButton.ProtoReflect.Descriptor instead.
func (*HydratedTemplateButton_HydratedCallButton) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{45, 2}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{43, 2}
}
func (x *HydratedTemplateButton_HydratedCallButton) GetDisplayText() string {
@@ -20662,7 +21898,7 @@ type ContextInfo_UTMInfo struct {
func (x *ContextInfo_UTMInfo) Reset() {
*x = ContextInfo_UTMInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[200]
+ mi := &file_binary_proto_def_proto_msgTypes[209]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20675,7 +21911,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[200]
+ mi := &file_binary_proto_def_proto_msgTypes[209]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -20688,7 +21924,7 @@ func (x *ContextInfo_UTMInfo) ProtoReflect() protoreflect.Message {
// Deprecated: Use ContextInfo_UTMInfo.ProtoReflect.Descriptor instead.
func (*ContextInfo_UTMInfo) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{49, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 0}
}
func (x *ContextInfo_UTMInfo) GetUtmSource() string {
@@ -20705,6 +21941,69 @@ 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
@@ -20723,12 +22022,13 @@ type ContextInfo_ExternalAdReplyInfo struct {
RenderLargerThumbnail *bool `protobuf:"varint,11,opt,name=renderLargerThumbnail" json:"renderLargerThumbnail,omitempty"`
ShowAdAttribution *bool `protobuf:"varint,12,opt,name=showAdAttribution" json:"showAdAttribution,omitempty"`
CtwaClid *string `protobuf:"bytes,13,opt,name=ctwaClid" json:"ctwaClid,omitempty"`
+ Ref *string `protobuf:"bytes,14,opt,name=ref" json:"ref,omitempty"`
}
func (x *ContextInfo_ExternalAdReplyInfo) Reset() {
*x = ContextInfo_ExternalAdReplyInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[201]
+ mi := &file_binary_proto_def_proto_msgTypes[211]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20741,7 +22041,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[201]
+ mi := &file_binary_proto_def_proto_msgTypes[211]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -20754,7 +22054,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{49, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 2}
}
func (x *ContextInfo_ExternalAdReplyInfo) GetTitle() string {
@@ -20848,6 +22148,60 @@ func (x *ContextInfo_ExternalAdReplyInfo) GetCtwaClid() string {
return ""
}
+func (x *ContextInfo_ExternalAdReplyInfo) GetRef() string {
+ if x != nil && x.Ref != nil {
+ return *x.Ref
+ }
+ return ""
+}
+
+type ContextInfo_BusinessMessageForwardInfo struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ BusinessOwnerJid *string `protobuf:"bytes,1,opt,name=businessOwnerJid" json:"businessOwnerJid,omitempty"`
+}
+
+func (x *ContextInfo_BusinessMessageForwardInfo) Reset() {
+ *x = ContextInfo_BusinessMessageForwardInfo{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[212]
+ 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_binary_proto_def_proto_msgTypes[212]
+ if protoimpl.UnsafeEnabled && 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_binary_proto_def_proto_rawDescGZIP(), []int{47, 3}
+}
+
+func (x *ContextInfo_BusinessMessageForwardInfo) GetBusinessOwnerJid() string {
+ if x != nil && x.BusinessOwnerJid != nil {
+ return *x.BusinessOwnerJid
+ }
+ return ""
+}
+
type ContextInfo_AdReplyInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -20862,7 +22216,7 @@ type ContextInfo_AdReplyInfo struct {
func (x *ContextInfo_AdReplyInfo) Reset() {
*x = ContextInfo_AdReplyInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[202]
+ mi := &file_binary_proto_def_proto_msgTypes[213]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20875,7 +22229,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[202]
+ mi := &file_binary_proto_def_proto_msgTypes[213]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -20888,7 +22242,7 @@ func (x *ContextInfo_AdReplyInfo) ProtoReflect() protoreflect.Message {
// Deprecated: Use ContextInfo_AdReplyInfo.ProtoReflect.Descriptor instead.
func (*ContextInfo_AdReplyInfo) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{49, 2}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{47, 4}
}
func (x *ContextInfo_AdReplyInfo) GetAdvertiserName() string {
@@ -20931,7 +22285,7 @@ type TemplateButton_URLButton struct {
func (x *TemplateButton_URLButton) Reset() {
*x = TemplateButton_URLButton{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[203]
+ mi := &file_binary_proto_def_proto_msgTypes[214]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20944,7 +22298,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[203]
+ mi := &file_binary_proto_def_proto_msgTypes[214]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -20957,7 +22311,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{51, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{52, 0}
}
func (x *TemplateButton_URLButton) GetDisplayText() *HighlyStructuredMessage {
@@ -20986,7 +22340,7 @@ type TemplateButton_QuickReplyButton struct {
func (x *TemplateButton_QuickReplyButton) Reset() {
*x = TemplateButton_QuickReplyButton{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[204]
+ mi := &file_binary_proto_def_proto_msgTypes[215]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -20999,7 +22353,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[204]
+ mi := &file_binary_proto_def_proto_msgTypes[215]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -21012,7 +22366,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{51, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{52, 1}
}
func (x *TemplateButton_QuickReplyButton) GetDisplayText() *HighlyStructuredMessage {
@@ -21041,7 +22395,7 @@ type TemplateButton_CallButton struct {
func (x *TemplateButton_CallButton) Reset() {
*x = TemplateButton_CallButton{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[205]
+ mi := &file_binary_proto_def_proto_msgTypes[216]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -21054,7 +22408,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[205]
+ mi := &file_binary_proto_def_proto_msgTypes[216]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -21067,7 +22421,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{51, 2}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{52, 2}
}
func (x *TemplateButton_CallButton) GetDisplayText() *HighlyStructuredMessage {
@@ -21099,7 +22453,7 @@ type PaymentBackground_MediaData struct {
func (x *PaymentBackground_MediaData) Reset() {
*x = PaymentBackground_MediaData{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[206]
+ mi := &file_binary_proto_def_proto_msgTypes[217]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -21112,7 +22466,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[206]
+ mi := &file_binary_proto_def_proto_msgTypes[217]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -21125,7 +22479,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{53, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{54, 0}
}
func (x *PaymentBackground_MediaData) GetMediaKey() []byte {
@@ -21185,7 +22539,7 @@ type TemplateMessage_HydratedFourRowTemplate struct {
func (x *TemplateMessage_HydratedFourRowTemplate) Reset() {
*x = TemplateMessage_HydratedFourRowTemplate{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[207]
+ mi := &file_binary_proto_def_proto_msgTypes[218]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -21198,7 +22552,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[207]
+ mi := &file_binary_proto_def_proto_msgTypes[218]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -21211,7 +22565,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{58, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{60, 0}
}
func (x *TemplateMessage_HydratedFourRowTemplate) GetHydratedContentText() string {
@@ -21344,7 +22698,7 @@ type TemplateMessage_FourRowTemplate struct {
func (x *TemplateMessage_FourRowTemplate) Reset() {
*x = TemplateMessage_FourRowTemplate{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[208]
+ mi := &file_binary_proto_def_proto_msgTypes[219]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -21357,7 +22711,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[208]
+ mi := &file_binary_proto_def_proto_msgTypes[219]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -21370,7 +22724,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{58, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{60, 1}
}
func (x *TemplateMessage_FourRowTemplate) GetContent() *HighlyStructuredMessage {
@@ -21492,7 +22846,7 @@ type ProductMessage_ProductSnapshot struct {
func (x *ProductMessage_ProductSnapshot) Reset() {
*x = ProductMessage_ProductSnapshot{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[209]
+ mi := &file_binary_proto_def_proto_msgTypes[220]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -21505,7 +22859,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[209]
+ mi := &file_binary_proto_def_proto_msgTypes[220]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -21518,7 +22872,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{70, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{72, 0}
}
func (x *ProductMessage_ProductSnapshot) GetProductImage() *ImageMessage {
@@ -21611,7 +22965,7 @@ type ProductMessage_CatalogSnapshot struct {
func (x *ProductMessage_CatalogSnapshot) Reset() {
*x = ProductMessage_CatalogSnapshot{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[210]
+ mi := &file_binary_proto_def_proto_msgTypes[221]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -21624,7 +22978,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[210]
+ mi := &file_binary_proto_def_proto_msgTypes[221]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -21637,7 +22991,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{70, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{72, 1}
}
func (x *ProductMessage_CatalogSnapshot) GetCatalogImage() *ImageMessage {
@@ -21672,7 +23026,7 @@ type PollCreationMessage_Option struct {
func (x *PollCreationMessage_Option) Reset() {
*x = PollCreationMessage_Option{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[211]
+ mi := &file_binary_proto_def_proto_msgTypes[222]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -21685,7 +23039,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[211]
+ mi := &file_binary_proto_def_proto_msgTypes[222]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -21698,7 +23052,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{75, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{77, 0}
}
func (x *PollCreationMessage_Option) GetOptionName() string {
@@ -21713,15 +23067,16 @@ type PeerDataOperationRequestResponseMessage_PeerDataOperationResult struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- MediaUploadResult *MediaRetryNotification_ResultType `protobuf:"varint,1,opt,name=mediaUploadResult,enum=proto.MediaRetryNotification_ResultType" json:"mediaUploadResult,omitempty"`
- StickerMessage *StickerMessage `protobuf:"bytes,2,opt,name=stickerMessage" json:"stickerMessage,omitempty"`
- LinkPreviewResponse *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse `protobuf:"bytes,3,opt,name=linkPreviewResponse" json:"linkPreviewResponse,omitempty"`
+ MediaUploadResult *MediaRetryNotification_ResultType `protobuf:"varint,1,opt,name=mediaUploadResult,enum=proto.MediaRetryNotification_ResultType" json:"mediaUploadResult,omitempty"`
+ StickerMessage *StickerMessage `protobuf:"bytes,2,opt,name=stickerMessage" json:"stickerMessage,omitempty"`
+ LinkPreviewResponse *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse `protobuf:"bytes,3,opt,name=linkPreviewResponse" json:"linkPreviewResponse,omitempty"`
+ PlaceholderMessageResendResponse *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse `protobuf:"bytes,4,opt,name=placeholderMessageResendResponse" json:"placeholderMessageResendResponse,omitempty"`
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) Reset() {
*x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[212]
+ mi := &file_binary_proto_def_proto_msgTypes[223]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -21734,7 +23089,7 @@ func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) String
func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoMessage() {}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[212]
+ mi := &file_binary_proto_def_proto_msgTypes[223]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -21747,7 +23102,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{77, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0}
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetMediaUploadResult() MediaRetryNotification_ResultType {
@@ -21771,24 +23126,80 @@ func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetLin
return nil
}
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult) GetPlaceholderMessageResendResponse() *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse {
+ if x != nil {
+ return x.PlaceholderMessageResendResponse
+ }
+ return nil
+}
+
+type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ WebMessageInfoBytes []byte `protobuf:"bytes,1,opt,name=webMessageInfoBytes" json:"webMessageInfoBytes,omitempty"`
+}
+
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) Reset() {
+ *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[224]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) ProtoMessage() {
+}
+
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_proto_msgTypes[224]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// 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}
+}
+
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse) GetWebMessageInfoBytes() []byte {
+ if x != nil {
+ return x.WebMessageInfoBytes
+ }
+ return nil
+}
+
type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
- Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
- Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
- ThumbData []byte `protobuf:"bytes,4,opt,name=thumbData" json:"thumbData,omitempty"`
- CanonicalUrl *string `protobuf:"bytes,5,opt,name=canonicalUrl" json:"canonicalUrl,omitempty"`
- MatchText *string `protobuf:"bytes,6,opt,name=matchText" json:"matchText,omitempty"`
- PreviewType *string `protobuf:"bytes,7,opt,name=previewType" json:"previewType,omitempty"`
+ Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
+ Title *string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
+ Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
+ ThumbData []byte `protobuf:"bytes,4,opt,name=thumbData" json:"thumbData,omitempty"`
+ CanonicalUrl *string `protobuf:"bytes,5,opt,name=canonicalUrl" json:"canonicalUrl,omitempty"`
+ MatchText *string `protobuf:"bytes,6,opt,name=matchText" json:"matchText,omitempty"`
+ PreviewType *string `protobuf:"bytes,7,opt,name=previewType" json:"previewType,omitempty"`
+ HqThumbnail *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail `protobuf:"bytes,8,opt,name=hqThumbnail" json:"hqThumbnail,omitempty"`
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) Reset() {
*x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[213]
+ mi := &file_binary_proto_def_proto_msgTypes[225]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -21802,7 +23213,7 @@ func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPrevi
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[213]
+ mi := &file_binary_proto_def_proto_msgTypes[225]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -21815,7 +23226,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{77, 0, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{79, 0, 1}
}
func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetUrl() string {
@@ -21867,31 +23278,45 @@ func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPre
return ""
}
-type MsgOpaqueData_PollOption struct {
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse) GetHqThumbnail() *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail {
+ if x != nil {
+ return x.HqThumbnail
+ }
+ return nil
+}
+
+type PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
+ DirectPath *string `protobuf:"bytes,1,opt,name=directPath" json:"directPath,omitempty"`
+ ThumbHash *string `protobuf:"bytes,2,opt,name=thumbHash" json:"thumbHash,omitempty"`
+ EncThumbHash *string `protobuf:"bytes,3,opt,name=encThumbHash" json:"encThumbHash,omitempty"`
+ MediaKey []byte `protobuf:"bytes,4,opt,name=mediaKey" json:"mediaKey,omitempty"`
+ MediaKeyTimestampMs *int64 `protobuf:"varint,5,opt,name=mediaKeyTimestampMs" json:"mediaKeyTimestampMs,omitempty"`
+ ThumbWidth *int32 `protobuf:"varint,6,opt,name=thumbWidth" json:"thumbWidth,omitempty"`
+ ThumbHeight *int32 `protobuf:"varint,7,opt,name=thumbHeight" json:"thumbHeight,omitempty"`
}
-func (x *MsgOpaqueData_PollOption) Reset() {
- *x = MsgOpaqueData_PollOption{}
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) Reset() {
+ *x = PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[214]
+ mi := &file_binary_proto_def_proto_msgTypes[226]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *MsgOpaqueData_PollOption) String() string {
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*MsgOpaqueData_PollOption) ProtoMessage() {}
+func (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) ProtoMessage() {
+}
-func (x *MsgOpaqueData_PollOption) ProtoReflect() protoreflect.Message {
- mi := &file_binary_proto_def_proto_msgTypes[214]
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_proto_msgTypes[226]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -21902,18 +23327,288 @@ func (x *MsgOpaqueData_PollOption) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use MsgOpaqueData_PollOption.ProtoReflect.Descriptor instead.
-func (*MsgOpaqueData_PollOption) Descriptor() ([]byte, []int) {
- return file_binary_proto_def_proto_rawDescGZIP(), []int{92, 0}
+// 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}
}
-func (x *MsgOpaqueData_PollOption) GetName() string {
- if x != nil && x.Name != nil {
- return *x.Name
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetDirectPath() string {
+ if x != nil && x.DirectPath != nil {
+ return *x.DirectPath
+ }
+ return ""
+}
+
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbHash() string {
+ if x != nil && x.ThumbHash != nil {
+ return *x.ThumbHash
+ }
+ return ""
+}
+
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetEncThumbHash() string {
+ if x != nil && x.EncThumbHash != nil {
+ return *x.EncThumbHash
+ }
+ return ""
+}
+
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetMediaKey() []byte {
+ if x != nil {
+ return x.MediaKey
+ }
+ return nil
+}
+
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetMediaKeyTimestampMs() int64 {
+ if x != nil && x.MediaKeyTimestampMs != nil {
+ return *x.MediaKeyTimestampMs
+ }
+ return 0
+}
+
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbWidth() int32 {
+ if x != nil && x.ThumbWidth != nil {
+ return *x.ThumbWidth
+ }
+ return 0
+}
+
+func (x *PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail) GetThumbHeight() int32 {
+ if x != nil && x.ThumbHeight != nil {
+ return *x.ThumbHeight
+ }
+ return 0
+}
+
+type PeerDataOperationRequestMessage_RequestUrlPreview struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
+ IncludeHqThumbnail *bool `protobuf:"varint,2,opt,name=includeHqThumbnail" json:"includeHqThumbnail,omitempty"`
+}
+
+func (x *PeerDataOperationRequestMessage_RequestUrlPreview) Reset() {
+ *x = PeerDataOperationRequestMessage_RequestUrlPreview{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[227]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PeerDataOperationRequestMessage_RequestUrlPreview) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PeerDataOperationRequestMessage_RequestUrlPreview) ProtoMessage() {}
+
+func (x *PeerDataOperationRequestMessage_RequestUrlPreview) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_proto_msgTypes[227]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use PeerDataOperationRequestMessage_RequestUrlPreview.ProtoReflect.Descriptor instead.
+func (*PeerDataOperationRequestMessage_RequestUrlPreview) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 0}
+}
+
+func (x *PeerDataOperationRequestMessage_RequestUrlPreview) GetUrl() string {
+ if x != nil && x.Url != nil {
+ return *x.Url
}
return ""
}
+func (x *PeerDataOperationRequestMessage_RequestUrlPreview) GetIncludeHqThumbnail() bool {
+ if x != nil && x.IncludeHqThumbnail != nil {
+ return *x.IncludeHqThumbnail
+ }
+ return false
+}
+
+type PeerDataOperationRequestMessage_RequestStickerReupload struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ FileSha256 *string `protobuf:"bytes,1,opt,name=fileSha256" json:"fileSha256,omitempty"`
+}
+
+func (x *PeerDataOperationRequestMessage_RequestStickerReupload) Reset() {
+ *x = PeerDataOperationRequestMessage_RequestStickerReupload{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[228]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PeerDataOperationRequestMessage_RequestStickerReupload) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PeerDataOperationRequestMessage_RequestStickerReupload) ProtoMessage() {}
+
+func (x *PeerDataOperationRequestMessage_RequestStickerReupload) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_proto_msgTypes[228]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use PeerDataOperationRequestMessage_RequestStickerReupload.ProtoReflect.Descriptor instead.
+func (*PeerDataOperationRequestMessage_RequestStickerReupload) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 1}
+}
+
+func (x *PeerDataOperationRequestMessage_RequestStickerReupload) GetFileSha256() string {
+ if x != nil && x.FileSha256 != nil {
+ return *x.FileSha256
+ }
+ return ""
+}
+
+type PeerDataOperationRequestMessage_PlaceholderMessageResendRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ MessageKey *MessageKey `protobuf:"bytes,1,opt,name=messageKey" json:"messageKey,omitempty"`
+}
+
+func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) Reset() {
+ *x = PeerDataOperationRequestMessage_PlaceholderMessageResendRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[229]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) ProtoMessage() {}
+
+func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_proto_msgTypes[229]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use PeerDataOperationRequestMessage_PlaceholderMessageResendRequest.ProtoReflect.Descriptor instead.
+func (*PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 2}
+}
+
+func (x *PeerDataOperationRequestMessage_PlaceholderMessageResendRequest) GetMessageKey() *MessageKey {
+ if x != nil {
+ return x.MessageKey
+ }
+ return nil
+}
+
+type PeerDataOperationRequestMessage_HistorySyncOnDemandRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ ChatJid *string `protobuf:"bytes,1,opt,name=chatJid" json:"chatJid,omitempty"`
+ OldestMsgId *string `protobuf:"bytes,2,opt,name=oldestMsgId" json:"oldestMsgId,omitempty"`
+ OldestMsgFromMe *bool `protobuf:"varint,3,opt,name=oldestMsgFromMe" json:"oldestMsgFromMe,omitempty"`
+ OnDemandMsgCount *int32 `protobuf:"varint,4,opt,name=onDemandMsgCount" json:"onDemandMsgCount,omitempty"`
+ OldestMsgTimestampMs *int64 `protobuf:"varint,5,opt,name=oldestMsgTimestampMs" json:"oldestMsgTimestampMs,omitempty"`
+}
+
+func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Reset() {
+ *x = PeerDataOperationRequestMessage_HistorySyncOnDemandRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[230]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoMessage() {}
+
+func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_binary_proto_def_proto_msgTypes[230]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use PeerDataOperationRequestMessage_HistorySyncOnDemandRequest.ProtoReflect.Descriptor instead.
+func (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{80, 3}
+}
+
+func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetChatJid() string {
+ if x != nil && x.ChatJid != nil {
+ return *x.ChatJid
+ }
+ return ""
+}
+
+func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgId() string {
+ if x != nil && x.OldestMsgId != nil {
+ return *x.OldestMsgId
+ }
+ return ""
+}
+
+func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgFromMe() bool {
+ if x != nil && x.OldestMsgFromMe != nil {
+ return *x.OldestMsgFromMe
+ }
+ return false
+}
+
+func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOnDemandMsgCount() int32 {
+ if x != nil && x.OnDemandMsgCount != nil {
+ return *x.OnDemandMsgCount
+ }
+ return 0
+}
+
+func (x *PeerDataOperationRequestMessage_HistorySyncOnDemandRequest) GetOldestMsgTimestampMs() int64 {
+ if x != nil && x.OldestMsgTimestampMs != nil {
+ return *x.OldestMsgTimestampMs
+ }
+ return 0
+}
+
type VerifiedNameCertificate_Details struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -21929,7 +23624,7 @@ type VerifiedNameCertificate_Details struct {
func (x *VerifiedNameCertificate_Details) Reset() {
*x = VerifiedNameCertificate_Details{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[215]
+ mi := &file_binary_proto_def_proto_msgTypes[231]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -21942,7 +23637,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[215]
+ mi := &file_binary_proto_def_proto_msgTypes[231]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -21955,7 +23650,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{143, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{152, 0}
}
func (x *VerifiedNameCertificate_Details) GetSerial() uint64 {
@@ -22007,7 +23702,7 @@ type ClientPayload_WebInfo struct {
func (x *ClientPayload_WebInfo) Reset() {
*x = ClientPayload_WebInfo{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[216]
+ mi := &file_binary_proto_def_proto_msgTypes[232]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -22020,7 +23715,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[216]
+ mi := &file_binary_proto_def_proto_msgTypes[232]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -22033,7 +23728,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{152, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0}
}
func (x *ClientPayload_WebInfo) GetRefToken() string {
@@ -22082,12 +23777,14 @@ type ClientPayload_UserAgent struct {
LocaleLanguageIso6391 *string `protobuf:"bytes,11,opt,name=localeLanguageIso6391" json:"localeLanguageIso6391,omitempty"`
LocaleCountryIso31661Alpha2 *string `protobuf:"bytes,12,opt,name=localeCountryIso31661Alpha2" json:"localeCountryIso31661Alpha2,omitempty"`
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"`
}
func (x *ClientPayload_UserAgent) Reset() {
*x = ClientPayload_UserAgent{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[217]
+ mi := &file_binary_proto_def_proto_msgTypes[233]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -22100,7 +23797,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[217]
+ mi := &file_binary_proto_def_proto_msgTypes[233]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -22113,7 +23810,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{152, 1}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1}
}
func (x *ClientPayload_UserAgent) GetPlatform() ClientPayload_UserAgent_Platform {
@@ -22207,6 +23904,83 @@ func (x *ClientPayload_UserAgent) GetDeviceBoard() string {
return ""
}
+func (x *ClientPayload_UserAgent) GetDeviceExpId() string {
+ if x != nil && x.DeviceExpId != nil {
+ return *x.DeviceExpId
+ }
+ return ""
+}
+
+func (x *ClientPayload_UserAgent) GetDeviceType() ClientPayload_UserAgent_DeviceType {
+ if x != nil && x.DeviceType != nil {
+ return *x.DeviceType
+ }
+ return ClientPayload_UserAgent_PHONE
+}
+
+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"`
+}
+
+func (x *ClientPayload_InteropData) Reset() {
+ *x = ClientPayload_InteropData{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_binary_proto_def_proto_msgTypes[234]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *ClientPayload_InteropData) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*ClientPayload_InteropData) ProtoMessage() {}
+
+func (x *ClientPayload_InteropData) 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 ClientPayload_InteropData.ProtoReflect.Descriptor instead.
+func (*ClientPayload_InteropData) Descriptor() ([]byte, []int) {
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 2}
+}
+
+func (x *ClientPayload_InteropData) GetAccountId() uint64 {
+ if x != nil && x.AccountId != nil {
+ return *x.AccountId
+ }
+ 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
+ }
+ return nil
+}
+
type ClientPayload_DevicePairingRegistrationData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -22225,7 +23999,7 @@ type ClientPayload_DevicePairingRegistrationData struct {
func (x *ClientPayload_DevicePairingRegistrationData) Reset() {
*x = ClientPayload_DevicePairingRegistrationData{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[218]
+ mi := &file_binary_proto_def_proto_msgTypes[235]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -22238,7 +24012,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[218]
+ mi := &file_binary_proto_def_proto_msgTypes[235]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -22251,7 +24025,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{152, 2}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 3}
}
func (x *ClientPayload_DevicePairingRegistrationData) GetERegid() []byte {
@@ -22322,7 +24096,7 @@ type ClientPayload_DNSSource struct {
func (x *ClientPayload_DNSSource) Reset() {
*x = ClientPayload_DNSSource{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[219]
+ mi := &file_binary_proto_def_proto_msgTypes[236]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -22335,7 +24109,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[219]
+ mi := &file_binary_proto_def_proto_msgTypes[236]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -22348,7 +24122,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{152, 3}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 4}
}
func (x *ClientPayload_DNSSource) GetDnsMethod() ClientPayload_DNSSource_DNSResolutionMethod {
@@ -22386,7 +24160,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[220]
+ mi := &file_binary_proto_def_proto_msgTypes[237]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -22399,7 +24173,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[220]
+ mi := &file_binary_proto_def_proto_msgTypes[237]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -22412,7 +24186,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{152, 0, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 0, 0}
}
func (x *ClientPayload_WebInfo_WebdPayload) GetUsesParticipantInKey() bool {
@@ -22507,7 +24281,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[221]
+ mi := &file_binary_proto_def_proto_msgTypes[238]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -22520,7 +24294,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[221]
+ mi := &file_binary_proto_def_proto_msgTypes[238]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -22533,7 +24307,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{152, 1, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{161, 1, 0}
}
func (x *ClientPayload_UserAgent_AppVersion) GetPrimary() uint32 {
@@ -22586,7 +24360,7 @@ type NoiseCertificate_Details struct {
func (x *NoiseCertificate_Details) Reset() {
*x = NoiseCertificate_Details{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[222]
+ mi := &file_binary_proto_def_proto_msgTypes[239]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -22599,7 +24373,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[222]
+ mi := &file_binary_proto_def_proto_msgTypes[239]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -22612,7 +24386,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{166, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{177, 0}
}
func (x *NoiseCertificate_Details) GetSerial() uint32 {
@@ -22662,7 +24436,7 @@ type CertChain_NoiseCertificate struct {
func (x *CertChain_NoiseCertificate) Reset() {
*x = CertChain_NoiseCertificate{}
if protoimpl.UnsafeEnabled {
- mi := &file_binary_proto_def_proto_msgTypes[223]
+ mi := &file_binary_proto_def_proto_msgTypes[240]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -22675,7 +24449,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[223]
+ mi := &file_binary_proto_def_proto_msgTypes[240]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -22688,7 +24462,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{167, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{178, 0}
}
func (x *CertChain_NoiseCertificate) GetDetails() []byte {
@@ -22720,7 +24494,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[224]
+ mi := &file_binary_proto_def_proto_msgTypes[241]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -22733,7 +24507,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[224]
+ mi := &file_binary_proto_def_proto_msgTypes[241]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -22746,7 +24520,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{167, 0, 0}
+ return file_binary_proto_def_proto_rawDescGZIP(), []int{178, 0, 0}
}
func (x *CertChain_NoiseCertificate_Details) GetSerial() uint32 {
@@ -22801,713 +24575,770 @@ 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, 56)
-var file_binary_proto_def_proto_msgTypes = make([]protoimpl.MessageInfo, 225)
+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_goTypes = []interface{}{
- (KeepType)(0), // 0: proto.KeepType
- (PeerDataOperationRequestType)(0), // 1: proto.PeerDataOperationRequestType
- (MediaVisibility)(0), // 2: proto.MediaVisibility
- (DeviceProps_PlatformType)(0), // 3: proto.DeviceProps.PlatformType
- (PaymentInviteMessage_ServiceType)(0), // 4: proto.PaymentInviteMessage.ServiceType
- (OrderMessage_OrderSurface)(0), // 5: proto.OrderMessage.OrderSurface
- (OrderMessage_OrderStatus)(0), // 6: proto.OrderMessage.OrderStatus
- (ListResponseMessage_ListType)(0), // 7: proto.ListResponseMessage.ListType
- (ListMessage_ListType)(0), // 8: proto.ListMessage.ListType
- (InvoiceMessage_AttachmentType)(0), // 9: proto.InvoiceMessage.AttachmentType
- (InteractiveMessage_ShopMessage_Surface)(0), // 10: proto.InteractiveMessage.ShopMessage.Surface
- (HistorySyncNotification_HistorySyncType)(0), // 11: proto.HistorySyncNotification.HistorySyncType
- (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_DayOfWeekType)(0), // 12: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType
- (HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent_CalendarType)(0), // 13: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType
- (GroupInviteMessage_GroupType)(0), // 14: proto.GroupInviteMessage.GroupType
- (ExtendedTextMessage_PreviewType)(0), // 15: proto.ExtendedTextMessage.PreviewType
- (ExtendedTextMessage_InviteLinkGroupType)(0), // 16: proto.ExtendedTextMessage.InviteLinkGroupType
- (ExtendedTextMessage_FontType)(0), // 17: proto.ExtendedTextMessage.FontType
- (ButtonsResponseMessage_Type)(0), // 18: proto.ButtonsResponseMessage.Type
- (ButtonsMessage_HeaderType)(0), // 19: proto.ButtonsMessage.HeaderType
- (ButtonsMessage_Button_Type)(0), // 20: proto.ButtonsMessage.Button.Type
- (DisappearingMode_Initiator)(0), // 21: proto.DisappearingMode.Initiator
- (ContextInfo_ExternalAdReplyInfo_MediaType)(0), // 22: proto.ContextInfo.ExternalAdReplyInfo.MediaType
- (ContextInfo_AdReplyInfo_MediaType)(0), // 23: proto.ContextInfo.AdReplyInfo.MediaType
- (PaymentBackground_Type)(0), // 24: proto.PaymentBackground.Type
- (VideoMessage_Attribution)(0), // 25: proto.VideoMessage.Attribution
- (ScheduledCallEditMessage_EditType)(0), // 26: proto.ScheduledCallEditMessage.EditType
- (ScheduledCallCreationMessage_CallType)(0), // 27: proto.ScheduledCallCreationMessage.CallType
- (ProtocolMessage_Type)(0), // 28: proto.ProtocolMessage.Type
- (PinMessage_PinMessageType)(0), // 29: proto.PinMessage.PinMessageType
- (PastParticipant_LeaveReason)(0), // 30: proto.PastParticipant.LeaveReason
- (HistorySync_HistorySyncType)(0), // 31: proto.HistorySync.HistorySyncType
- (GroupParticipant_Rank)(0), // 32: proto.GroupParticipant.Rank
- (Conversation_EndOfHistoryTransferType)(0), // 33: proto.Conversation.EndOfHistoryTransferType
- (MediaRetryNotification_ResultType)(0), // 34: proto.MediaRetryNotification.ResultType
- (SyncdMutation_SyncdOperation)(0), // 35: proto.SyncdMutation.SyncdOperation
- (BizIdentityInfo_VerifiedLevelValue)(0), // 36: proto.BizIdentityInfo.VerifiedLevelValue
- (BizIdentityInfo_HostStorageType)(0), // 37: proto.BizIdentityInfo.HostStorageType
- (BizIdentityInfo_ActualActorsType)(0), // 38: proto.BizIdentityInfo.ActualActorsType
- (BizAccountLinkInfo_HostStorageType)(0), // 39: proto.BizAccountLinkInfo.HostStorageType
- (BizAccountLinkInfo_AccountType)(0), // 40: proto.BizAccountLinkInfo.AccountType
- (ClientPayload_Product)(0), // 41: proto.ClientPayload.Product
- (ClientPayload_IOSAppExtension)(0), // 42: proto.ClientPayload.IOSAppExtension
- (ClientPayload_ConnectType)(0), // 43: proto.ClientPayload.ConnectType
- (ClientPayload_ConnectReason)(0), // 44: proto.ClientPayload.ConnectReason
- (ClientPayload_WebInfo_WebSubPlatform)(0), // 45: proto.ClientPayload.WebInfo.WebSubPlatform
- (ClientPayload_UserAgent_ReleaseChannel)(0), // 46: proto.ClientPayload.UserAgent.ReleaseChannel
- (ClientPayload_UserAgent_Platform)(0), // 47: proto.ClientPayload.UserAgent.Platform
- (ClientPayload_DNSSource_DNSResolutionMethod)(0), // 48: proto.ClientPayload.DNSSource.DNSResolutionMethod
- (WebMessageInfo_StubType)(0), // 49: proto.WebMessageInfo.StubType
- (WebMessageInfo_Status)(0), // 50: proto.WebMessageInfo.Status
- (WebMessageInfo_BizPrivacyStatus)(0), // 51: proto.WebMessageInfo.BizPrivacyStatus
- (WebFeatures_Flag)(0), // 52: proto.WebFeatures.Flag
- (PaymentInfo_TxnStatus)(0), // 53: proto.PaymentInfo.TxnStatus
- (PaymentInfo_Status)(0), // 54: proto.PaymentInfo.Status
- (PaymentInfo_Currency)(0), // 55: proto.PaymentInfo.Currency
- (*ADVSignedKeyIndexList)(nil), // 56: proto.ADVSignedKeyIndexList
- (*ADVSignedDeviceIdentity)(nil), // 57: proto.ADVSignedDeviceIdentity
- (*ADVSignedDeviceIdentityHMAC)(nil), // 58: proto.ADVSignedDeviceIdentityHMAC
- (*ADVKeyIndexList)(nil), // 59: proto.ADVKeyIndexList
- (*ADVDeviceIdentity)(nil), // 60: proto.ADVDeviceIdentity
- (*DeviceProps)(nil), // 61: proto.DeviceProps
- (*PeerDataOperationRequestMessage)(nil), // 62: proto.PeerDataOperationRequestMessage
- (*PaymentInviteMessage)(nil), // 63: proto.PaymentInviteMessage
- (*OrderMessage)(nil), // 64: proto.OrderMessage
- (*LocationMessage)(nil), // 65: proto.LocationMessage
- (*LiveLocationMessage)(nil), // 66: proto.LiveLocationMessage
- (*ListResponseMessage)(nil), // 67: proto.ListResponseMessage
- (*ListMessage)(nil), // 68: proto.ListMessage
- (*KeepInChatMessage)(nil), // 69: proto.KeepInChatMessage
- (*InvoiceMessage)(nil), // 70: proto.InvoiceMessage
- (*InteractiveResponseMessage)(nil), // 71: proto.InteractiveResponseMessage
- (*InteractiveMessage)(nil), // 72: proto.InteractiveMessage
- (*InitialSecurityNotificationSettingSync)(nil), // 73: proto.InitialSecurityNotificationSettingSync
- (*ImageMessage)(nil), // 74: proto.ImageMessage
- (*HistorySyncNotification)(nil), // 75: proto.HistorySyncNotification
- (*HighlyStructuredMessage)(nil), // 76: proto.HighlyStructuredMessage
- (*GroupInviteMessage)(nil), // 77: proto.GroupInviteMessage
- (*FutureProofMessage)(nil), // 78: proto.FutureProofMessage
- (*ExtendedTextMessage)(nil), // 79: proto.ExtendedTextMessage
- (*EncReactionMessage)(nil), // 80: proto.EncReactionMessage
- (*DocumentMessage)(nil), // 81: proto.DocumentMessage
- (*DeviceSentMessage)(nil), // 82: proto.DeviceSentMessage
- (*DeclinePaymentRequestMessage)(nil), // 83: proto.DeclinePaymentRequestMessage
- (*ContactsArrayMessage)(nil), // 84: proto.ContactsArrayMessage
- (*ContactMessage)(nil), // 85: proto.ContactMessage
- (*Chat)(nil), // 86: proto.Chat
- (*CancelPaymentRequestMessage)(nil), // 87: proto.CancelPaymentRequestMessage
- (*Call)(nil), // 88: proto.Call
- (*ButtonsResponseMessage)(nil), // 89: proto.ButtonsResponseMessage
- (*ButtonsMessage)(nil), // 90: proto.ButtonsMessage
- (*AudioMessage)(nil), // 91: proto.AudioMessage
- (*AppStateSyncKey)(nil), // 92: proto.AppStateSyncKey
- (*AppStateSyncKeyShare)(nil), // 93: proto.AppStateSyncKeyShare
- (*AppStateSyncKeyRequest)(nil), // 94: proto.AppStateSyncKeyRequest
- (*AppStateSyncKeyId)(nil), // 95: proto.AppStateSyncKeyId
- (*AppStateSyncKeyFingerprint)(nil), // 96: proto.AppStateSyncKeyFingerprint
- (*AppStateSyncKeyData)(nil), // 97: proto.AppStateSyncKeyData
- (*AppStateFatalExceptionNotification)(nil), // 98: proto.AppStateFatalExceptionNotification
- (*Location)(nil), // 99: proto.Location
- (*InteractiveAnnotation)(nil), // 100: proto.InteractiveAnnotation
- (*HydratedTemplateButton)(nil), // 101: proto.HydratedTemplateButton
- (*GroupMention)(nil), // 102: proto.GroupMention
- (*DisappearingMode)(nil), // 103: proto.DisappearingMode
- (*DeviceListMetadata)(nil), // 104: proto.DeviceListMetadata
- (*ContextInfo)(nil), // 105: proto.ContextInfo
- (*ActionLink)(nil), // 106: proto.ActionLink
- (*TemplateButton)(nil), // 107: proto.TemplateButton
- (*Point)(nil), // 108: proto.Point
- (*PaymentBackground)(nil), // 109: proto.PaymentBackground
- (*Money)(nil), // 110: proto.Money
- (*Message)(nil), // 111: proto.Message
- (*MessageContextInfo)(nil), // 112: proto.MessageContextInfo
- (*VideoMessage)(nil), // 113: proto.VideoMessage
- (*TemplateMessage)(nil), // 114: proto.TemplateMessage
- (*TemplateButtonReplyMessage)(nil), // 115: proto.TemplateButtonReplyMessage
- (*StickerSyncRMRMessage)(nil), // 116: proto.StickerSyncRMRMessage
- (*StickerMessage)(nil), // 117: proto.StickerMessage
- (*SenderKeyDistributionMessage)(nil), // 118: proto.SenderKeyDistributionMessage
- (*SendPaymentMessage)(nil), // 119: proto.SendPaymentMessage
- (*ScheduledCallEditMessage)(nil), // 120: proto.ScheduledCallEditMessage
- (*ScheduledCallCreationMessage)(nil), // 121: proto.ScheduledCallCreationMessage
- (*RequestPhoneNumberMessage)(nil), // 122: proto.RequestPhoneNumberMessage
- (*RequestPaymentMessage)(nil), // 123: proto.RequestPaymentMessage
- (*ReactionMessage)(nil), // 124: proto.ReactionMessage
- (*ProtocolMessage)(nil), // 125: proto.ProtocolMessage
- (*ProductMessage)(nil), // 126: proto.ProductMessage
- (*PollVoteMessage)(nil), // 127: proto.PollVoteMessage
- (*PollUpdateMessage)(nil), // 128: proto.PollUpdateMessage
- (*PollUpdateMessageMetadata)(nil), // 129: proto.PollUpdateMessageMetadata
- (*PollEncValue)(nil), // 130: proto.PollEncValue
- (*PollCreationMessage)(nil), // 131: proto.PollCreationMessage
- (*PinMessage)(nil), // 132: proto.PinMessage
- (*PeerDataOperationRequestResponseMessage)(nil), // 133: proto.PeerDataOperationRequestResponseMessage
- (*EphemeralSetting)(nil), // 134: proto.EphemeralSetting
- (*WallpaperSettings)(nil), // 135: proto.WallpaperSettings
- (*StickerMetadata)(nil), // 136: proto.StickerMetadata
- (*Pushname)(nil), // 137: proto.Pushname
- (*PastParticipants)(nil), // 138: proto.PastParticipants
- (*PastParticipant)(nil), // 139: proto.PastParticipant
- (*HistorySync)(nil), // 140: proto.HistorySync
- (*HistorySyncMsg)(nil), // 141: proto.HistorySyncMsg
- (*GroupParticipant)(nil), // 142: proto.GroupParticipant
- (*GlobalSettings)(nil), // 143: proto.GlobalSettings
- (*Conversation)(nil), // 144: proto.Conversation
- (*AvatarUserSettings)(nil), // 145: proto.AvatarUserSettings
- (*AutoDownloadSettings)(nil), // 146: proto.AutoDownloadSettings
- (*MsgRowOpaqueData)(nil), // 147: proto.MsgRowOpaqueData
- (*MsgOpaqueData)(nil), // 148: proto.MsgOpaqueData
- (*ServerErrorReceipt)(nil), // 149: proto.ServerErrorReceipt
- (*MediaRetryNotification)(nil), // 150: proto.MediaRetryNotification
- (*MessageKey)(nil), // 151: proto.MessageKey
- (*SyncdVersion)(nil), // 152: proto.SyncdVersion
- (*SyncdValue)(nil), // 153: proto.SyncdValue
- (*SyncdSnapshot)(nil), // 154: proto.SyncdSnapshot
- (*SyncdRecord)(nil), // 155: proto.SyncdRecord
- (*SyncdPatch)(nil), // 156: proto.SyncdPatch
- (*SyncdMutations)(nil), // 157: proto.SyncdMutations
- (*SyncdMutation)(nil), // 158: proto.SyncdMutation
- (*SyncdIndex)(nil), // 159: proto.SyncdIndex
- (*KeyId)(nil), // 160: proto.KeyId
- (*ExternalBlobReference)(nil), // 161: proto.ExternalBlobReference
- (*ExitCode)(nil), // 162: proto.ExitCode
- (*SyncActionValue)(nil), // 163: proto.SyncActionValue
- (*UserStatusMuteAction)(nil), // 164: proto.UserStatusMuteAction
- (*UnarchiveChatsSetting)(nil), // 165: proto.UnarchiveChatsSetting
- (*TimeFormatAction)(nil), // 166: proto.TimeFormatAction
- (*SyncActionMessage)(nil), // 167: proto.SyncActionMessage
- (*SyncActionMessageRange)(nil), // 168: proto.SyncActionMessageRange
- (*SubscriptionAction)(nil), // 169: proto.SubscriptionAction
- (*StickerAction)(nil), // 170: proto.StickerAction
- (*StarAction)(nil), // 171: proto.StarAction
- (*SecurityNotificationSetting)(nil), // 172: proto.SecurityNotificationSetting
- (*RemoveRecentStickerAction)(nil), // 173: proto.RemoveRecentStickerAction
- (*RecentEmojiWeightsAction)(nil), // 174: proto.RecentEmojiWeightsAction
- (*QuickReplyAction)(nil), // 175: proto.QuickReplyAction
- (*PushNameSetting)(nil), // 176: proto.PushNameSetting
- (*PrimaryVersionAction)(nil), // 177: proto.PrimaryVersionAction
- (*PrimaryFeature)(nil), // 178: proto.PrimaryFeature
- (*PnForLidChatAction)(nil), // 179: proto.PnForLidChatAction
- (*PinAction)(nil), // 180: proto.PinAction
- (*NuxAction)(nil), // 181: proto.NuxAction
- (*MuteAction)(nil), // 182: proto.MuteAction
- (*MarkChatAsReadAction)(nil), // 183: proto.MarkChatAsReadAction
- (*LocaleSetting)(nil), // 184: proto.LocaleSetting
- (*LabelEditAction)(nil), // 185: proto.LabelEditAction
- (*LabelAssociationAction)(nil), // 186: proto.LabelAssociationAction
- (*KeyExpiration)(nil), // 187: proto.KeyExpiration
- (*DeleteMessageForMeAction)(nil), // 188: proto.DeleteMessageForMeAction
- (*DeleteChatAction)(nil), // 189: proto.DeleteChatAction
- (*ContactAction)(nil), // 190: proto.ContactAction
- (*ClearChatAction)(nil), // 191: proto.ClearChatAction
- (*ChatAssignmentOpenedStatusAction)(nil), // 192: proto.ChatAssignmentOpenedStatusAction
- (*ChatAssignmentAction)(nil), // 193: proto.ChatAssignmentAction
- (*ArchiveChatAction)(nil), // 194: proto.ArchiveChatAction
- (*AndroidUnsupportedActions)(nil), // 195: proto.AndroidUnsupportedActions
- (*AgentAction)(nil), // 196: proto.AgentAction
- (*SyncActionData)(nil), // 197: proto.SyncActionData
- (*RecentEmojiWeight)(nil), // 198: proto.RecentEmojiWeight
- (*VerifiedNameCertificate)(nil), // 199: proto.VerifiedNameCertificate
- (*LocalizedName)(nil), // 200: proto.LocalizedName
- (*BizIdentityInfo)(nil), // 201: proto.BizIdentityInfo
- (*BizAccountPayload)(nil), // 202: proto.BizAccountPayload
- (*BizAccountLinkInfo)(nil), // 203: proto.BizAccountLinkInfo
- (*HandshakeMessage)(nil), // 204: proto.HandshakeMessage
- (*HandshakeServerHello)(nil), // 205: proto.HandshakeServerHello
- (*HandshakeClientHello)(nil), // 206: proto.HandshakeClientHello
- (*HandshakeClientFinish)(nil), // 207: proto.HandshakeClientFinish
- (*ClientPayload)(nil), // 208: proto.ClientPayload
- (*WebNotificationsInfo)(nil), // 209: proto.WebNotificationsInfo
- (*WebMessageInfo)(nil), // 210: proto.WebMessageInfo
- (*WebFeatures)(nil), // 211: proto.WebFeatures
- (*UserReceipt)(nil), // 212: proto.UserReceipt
- (*StatusPSA)(nil), // 213: proto.StatusPSA
- (*Reaction)(nil), // 214: proto.Reaction
- (*PollUpdate)(nil), // 215: proto.PollUpdate
- (*PollAdditionalMetadata)(nil), // 216: proto.PollAdditionalMetadata
- (*PhotoChange)(nil), // 217: proto.PhotoChange
- (*PaymentInfo)(nil), // 218: proto.PaymentInfo
- (*NotificationMessageInfo)(nil), // 219: proto.NotificationMessageInfo
- (*MediaData)(nil), // 220: proto.MediaData
- (*KeepInChat)(nil), // 221: proto.KeepInChat
- (*NoiseCertificate)(nil), // 222: proto.NoiseCertificate
- (*CertChain)(nil), // 223: proto.CertChain
- (*DeviceProps_HistorySyncConfig)(nil), // 224: proto.DeviceProps.HistorySyncConfig
- (*DeviceProps_AppVersion)(nil), // 225: proto.DeviceProps.AppVersion
- (*PeerDataOperationRequestMessage_RequestUrlPreview)(nil), // 226: proto.PeerDataOperationRequestMessage.RequestUrlPreview
- (*PeerDataOperationRequestMessage_RequestStickerReupload)(nil), // 227: proto.PeerDataOperationRequestMessage.RequestStickerReupload
- (*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest)(nil), // 228: proto.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest
- (*ListResponseMessage_SingleSelectReply)(nil), // 229: proto.ListResponseMessage.SingleSelectReply
- (*ListMessage_Section)(nil), // 230: proto.ListMessage.Section
- (*ListMessage_Row)(nil), // 231: proto.ListMessage.Row
- (*ListMessage_Product)(nil), // 232: proto.ListMessage.Product
- (*ListMessage_ProductSection)(nil), // 233: proto.ListMessage.ProductSection
- (*ListMessage_ProductListInfo)(nil), // 234: proto.ListMessage.ProductListInfo
- (*ListMessage_ProductListHeaderImage)(nil), // 235: proto.ListMessage.ProductListHeaderImage
- (*InteractiveResponseMessage_NativeFlowResponseMessage)(nil), // 236: proto.InteractiveResponseMessage.NativeFlowResponseMessage
- (*InteractiveResponseMessage_Body)(nil), // 237: proto.InteractiveResponseMessage.Body
- (*InteractiveMessage_ShopMessage)(nil), // 238: proto.InteractiveMessage.ShopMessage
- (*InteractiveMessage_NativeFlowMessage)(nil), // 239: proto.InteractiveMessage.NativeFlowMessage
- (*InteractiveMessage_Header)(nil), // 240: proto.InteractiveMessage.Header
- (*InteractiveMessage_Footer)(nil), // 241: proto.InteractiveMessage.Footer
- (*InteractiveMessage_CollectionMessage)(nil), // 242: proto.InteractiveMessage.CollectionMessage
- (*InteractiveMessage_Body)(nil), // 243: proto.InteractiveMessage.Body
- (*InteractiveMessage_NativeFlowMessage_NativeFlowButton)(nil), // 244: proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton
- (*HighlyStructuredMessage_HSMLocalizableParameter)(nil), // 245: proto.HighlyStructuredMessage.HSMLocalizableParameter
- (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime)(nil), // 246: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime
- (*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency)(nil), // 247: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency
- (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch)(nil), // 248: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch
- (*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent)(nil), // 249: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent
- (*ButtonsMessage_Button)(nil), // 250: proto.ButtonsMessage.Button
- (*ButtonsMessage_Button_NativeFlowInfo)(nil), // 251: proto.ButtonsMessage.Button.NativeFlowInfo
- (*ButtonsMessage_Button_ButtonText)(nil), // 252: proto.ButtonsMessage.Button.ButtonText
- (*HydratedTemplateButton_HydratedURLButton)(nil), // 253: proto.HydratedTemplateButton.HydratedURLButton
- (*HydratedTemplateButton_HydratedQuickReplyButton)(nil), // 254: proto.HydratedTemplateButton.HydratedQuickReplyButton
- (*HydratedTemplateButton_HydratedCallButton)(nil), // 255: proto.HydratedTemplateButton.HydratedCallButton
- (*ContextInfo_UTMInfo)(nil), // 256: proto.ContextInfo.UTMInfo
- (*ContextInfo_ExternalAdReplyInfo)(nil), // 257: proto.ContextInfo.ExternalAdReplyInfo
- (*ContextInfo_AdReplyInfo)(nil), // 258: proto.ContextInfo.AdReplyInfo
- (*TemplateButton_URLButton)(nil), // 259: proto.TemplateButton.URLButton
- (*TemplateButton_QuickReplyButton)(nil), // 260: proto.TemplateButton.QuickReplyButton
- (*TemplateButton_CallButton)(nil), // 261: proto.TemplateButton.CallButton
- (*PaymentBackground_MediaData)(nil), // 262: proto.PaymentBackground.MediaData
- (*TemplateMessage_HydratedFourRowTemplate)(nil), // 263: proto.TemplateMessage.HydratedFourRowTemplate
- (*TemplateMessage_FourRowTemplate)(nil), // 264: proto.TemplateMessage.FourRowTemplate
- (*ProductMessage_ProductSnapshot)(nil), // 265: proto.ProductMessage.ProductSnapshot
- (*ProductMessage_CatalogSnapshot)(nil), // 266: proto.ProductMessage.CatalogSnapshot
- (*PollCreationMessage_Option)(nil), // 267: proto.PollCreationMessage.Option
- (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult)(nil), // 268: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult
- (*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse)(nil), // 269: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse
- (*MsgOpaqueData_PollOption)(nil), // 270: proto.MsgOpaqueData.PollOption
- (*VerifiedNameCertificate_Details)(nil), // 271: proto.VerifiedNameCertificate.Details
- (*ClientPayload_WebInfo)(nil), // 272: proto.ClientPayload.WebInfo
- (*ClientPayload_UserAgent)(nil), // 273: proto.ClientPayload.UserAgent
- (*ClientPayload_DevicePairingRegistrationData)(nil), // 274: proto.ClientPayload.DevicePairingRegistrationData
- (*ClientPayload_DNSSource)(nil), // 275: proto.ClientPayload.DNSSource
- (*ClientPayload_WebInfo_WebdPayload)(nil), // 276: proto.ClientPayload.WebInfo.WebdPayload
- (*ClientPayload_UserAgent_AppVersion)(nil), // 277: proto.ClientPayload.UserAgent.AppVersion
- (*NoiseCertificate_Details)(nil), // 278: proto.NoiseCertificate.Details
- (*CertChain_NoiseCertificate)(nil), // 279: proto.CertChain.NoiseCertificate
- (*CertChain_NoiseCertificate_Details)(nil), // 280: proto.CertChain.NoiseCertificate.Details
+ (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
}
var file_binary_proto_def_proto_depIdxs = []int32{
- 225, // 0: proto.DeviceProps.version:type_name -> proto.DeviceProps.AppVersion
- 3, // 1: proto.DeviceProps.platformType:type_name -> proto.DeviceProps.PlatformType
- 224, // 2: proto.DeviceProps.historySyncConfig:type_name -> proto.DeviceProps.HistorySyncConfig
- 1, // 3: proto.PeerDataOperationRequestMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType
- 227, // 4: proto.PeerDataOperationRequestMessage.requestStickerReupload:type_name -> proto.PeerDataOperationRequestMessage.RequestStickerReupload
- 226, // 5: proto.PeerDataOperationRequestMessage.requestUrlPreview:type_name -> proto.PeerDataOperationRequestMessage.RequestUrlPreview
- 228, // 6: proto.PeerDataOperationRequestMessage.historySyncOnDemandRequest:type_name -> proto.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest
- 4, // 7: proto.PaymentInviteMessage.serviceType:type_name -> proto.PaymentInviteMessage.ServiceType
- 6, // 8: proto.OrderMessage.status:type_name -> proto.OrderMessage.OrderStatus
- 5, // 9: proto.OrderMessage.surface:type_name -> proto.OrderMessage.OrderSurface
- 105, // 10: proto.OrderMessage.contextInfo:type_name -> proto.ContextInfo
- 105, // 11: proto.LocationMessage.contextInfo:type_name -> proto.ContextInfo
- 105, // 12: proto.LiveLocationMessage.contextInfo:type_name -> proto.ContextInfo
- 7, // 13: proto.ListResponseMessage.listType:type_name -> proto.ListResponseMessage.ListType
- 229, // 14: proto.ListResponseMessage.singleSelectReply:type_name -> proto.ListResponseMessage.SingleSelectReply
- 105, // 15: proto.ListResponseMessage.contextInfo:type_name -> proto.ContextInfo
- 8, // 16: proto.ListMessage.listType:type_name -> proto.ListMessage.ListType
- 230, // 17: proto.ListMessage.sections:type_name -> proto.ListMessage.Section
- 234, // 18: proto.ListMessage.productListInfo:type_name -> proto.ListMessage.ProductListInfo
- 105, // 19: proto.ListMessage.contextInfo:type_name -> proto.ContextInfo
- 151, // 20: proto.KeepInChatMessage.key:type_name -> proto.MessageKey
- 0, // 21: proto.KeepInChatMessage.keepType:type_name -> proto.KeepType
- 9, // 22: proto.InvoiceMessage.attachmentType:type_name -> proto.InvoiceMessage.AttachmentType
- 237, // 23: proto.InteractiveResponseMessage.body:type_name -> proto.InteractiveResponseMessage.Body
- 105, // 24: proto.InteractiveResponseMessage.contextInfo:type_name -> proto.ContextInfo
- 236, // 25: proto.InteractiveResponseMessage.nativeFlowResponseMessage:type_name -> proto.InteractiveResponseMessage.NativeFlowResponseMessage
- 240, // 26: proto.InteractiveMessage.header:type_name -> proto.InteractiveMessage.Header
- 243, // 27: proto.InteractiveMessage.body:type_name -> proto.InteractiveMessage.Body
- 241, // 28: proto.InteractiveMessage.footer:type_name -> proto.InteractiveMessage.Footer
- 105, // 29: proto.InteractiveMessage.contextInfo:type_name -> proto.ContextInfo
- 238, // 30: proto.InteractiveMessage.shopStorefrontMessage:type_name -> proto.InteractiveMessage.ShopMessage
- 242, // 31: proto.InteractiveMessage.collectionMessage:type_name -> proto.InteractiveMessage.CollectionMessage
- 239, // 32: proto.InteractiveMessage.nativeFlowMessage:type_name -> proto.InteractiveMessage.NativeFlowMessage
- 100, // 33: proto.ImageMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation
- 105, // 34: proto.ImageMessage.contextInfo:type_name -> proto.ContextInfo
- 11, // 35: proto.HistorySyncNotification.syncType:type_name -> proto.HistorySyncNotification.HistorySyncType
- 245, // 36: proto.HighlyStructuredMessage.localizableParams:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter
- 114, // 37: proto.HighlyStructuredMessage.hydratedHsm:type_name -> proto.TemplateMessage
- 105, // 38: proto.GroupInviteMessage.contextInfo:type_name -> proto.ContextInfo
- 14, // 39: proto.GroupInviteMessage.groupType:type_name -> proto.GroupInviteMessage.GroupType
- 111, // 40: proto.FutureProofMessage.message:type_name -> proto.Message
- 17, // 41: proto.ExtendedTextMessage.font:type_name -> proto.ExtendedTextMessage.FontType
- 15, // 42: proto.ExtendedTextMessage.previewType:type_name -> proto.ExtendedTextMessage.PreviewType
- 105, // 43: proto.ExtendedTextMessage.contextInfo:type_name -> proto.ContextInfo
- 16, // 44: proto.ExtendedTextMessage.inviteLinkGroupType:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType
- 16, // 45: proto.ExtendedTextMessage.inviteLinkGroupTypeV2:type_name -> proto.ExtendedTextMessage.InviteLinkGroupType
- 151, // 46: proto.EncReactionMessage.targetMessageKey:type_name -> proto.MessageKey
- 105, // 47: proto.DocumentMessage.contextInfo:type_name -> proto.ContextInfo
- 111, // 48: proto.DeviceSentMessage.message:type_name -> proto.Message
- 151, // 49: proto.DeclinePaymentRequestMessage.key:type_name -> proto.MessageKey
- 85, // 50: proto.ContactsArrayMessage.contacts:type_name -> proto.ContactMessage
- 105, // 51: proto.ContactsArrayMessage.contextInfo:type_name -> proto.ContextInfo
- 105, // 52: proto.ContactMessage.contextInfo:type_name -> proto.ContextInfo
- 151, // 53: proto.CancelPaymentRequestMessage.key:type_name -> proto.MessageKey
- 105, // 54: proto.ButtonsResponseMessage.contextInfo:type_name -> proto.ContextInfo
- 18, // 55: proto.ButtonsResponseMessage.type:type_name -> proto.ButtonsResponseMessage.Type
- 105, // 56: proto.ButtonsMessage.contextInfo:type_name -> proto.ContextInfo
- 250, // 57: proto.ButtonsMessage.buttons:type_name -> proto.ButtonsMessage.Button
- 19, // 58: proto.ButtonsMessage.headerType:type_name -> proto.ButtonsMessage.HeaderType
- 81, // 59: proto.ButtonsMessage.documentMessage:type_name -> proto.DocumentMessage
- 74, // 60: proto.ButtonsMessage.imageMessage:type_name -> proto.ImageMessage
- 113, // 61: proto.ButtonsMessage.videoMessage:type_name -> proto.VideoMessage
- 65, // 62: proto.ButtonsMessage.locationMessage:type_name -> proto.LocationMessage
- 105, // 63: proto.AudioMessage.contextInfo:type_name -> proto.ContextInfo
- 95, // 64: proto.AppStateSyncKey.keyId:type_name -> proto.AppStateSyncKeyId
- 97, // 65: proto.AppStateSyncKey.keyData:type_name -> proto.AppStateSyncKeyData
- 92, // 66: proto.AppStateSyncKeyShare.keys:type_name -> proto.AppStateSyncKey
- 95, // 67: proto.AppStateSyncKeyRequest.keyIds:type_name -> proto.AppStateSyncKeyId
- 96, // 68: proto.AppStateSyncKeyData.fingerprint:type_name -> proto.AppStateSyncKeyFingerprint
- 108, // 69: proto.InteractiveAnnotation.polygonVertices:type_name -> proto.Point
- 99, // 70: proto.InteractiveAnnotation.location:type_name -> proto.Location
- 254, // 71: proto.HydratedTemplateButton.quickReplyButton:type_name -> proto.HydratedTemplateButton.HydratedQuickReplyButton
- 253, // 72: proto.HydratedTemplateButton.urlButton:type_name -> proto.HydratedTemplateButton.HydratedURLButton
- 255, // 73: proto.HydratedTemplateButton.callButton:type_name -> proto.HydratedTemplateButton.HydratedCallButton
- 21, // 74: proto.DisappearingMode.initiator:type_name -> proto.DisappearingMode.Initiator
- 111, // 75: proto.ContextInfo.quotedMessage:type_name -> proto.Message
- 258, // 76: proto.ContextInfo.quotedAd:type_name -> proto.ContextInfo.AdReplyInfo
- 151, // 77: proto.ContextInfo.placeholderKey:type_name -> proto.MessageKey
- 257, // 78: proto.ContextInfo.externalAdReply:type_name -> proto.ContextInfo.ExternalAdReplyInfo
- 103, // 79: proto.ContextInfo.disappearingMode:type_name -> proto.DisappearingMode
- 106, // 80: proto.ContextInfo.actionLink:type_name -> proto.ActionLink
- 102, // 81: proto.ContextInfo.groupMentions:type_name -> proto.GroupMention
- 256, // 82: proto.ContextInfo.utm:type_name -> proto.ContextInfo.UTMInfo
- 260, // 83: proto.TemplateButton.quickReplyButton:type_name -> proto.TemplateButton.QuickReplyButton
- 259, // 84: proto.TemplateButton.urlButton:type_name -> proto.TemplateButton.URLButton
- 261, // 85: proto.TemplateButton.callButton:type_name -> proto.TemplateButton.CallButton
- 262, // 86: proto.PaymentBackground.mediaData:type_name -> proto.PaymentBackground.MediaData
- 24, // 87: proto.PaymentBackground.type:type_name -> proto.PaymentBackground.Type
- 118, // 88: proto.Message.senderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage
- 74, // 89: proto.Message.imageMessage:type_name -> proto.ImageMessage
- 85, // 90: proto.Message.contactMessage:type_name -> proto.ContactMessage
- 65, // 91: proto.Message.locationMessage:type_name -> proto.LocationMessage
- 79, // 92: proto.Message.extendedTextMessage:type_name -> proto.ExtendedTextMessage
- 81, // 93: proto.Message.documentMessage:type_name -> proto.DocumentMessage
- 91, // 94: proto.Message.audioMessage:type_name -> proto.AudioMessage
- 113, // 95: proto.Message.videoMessage:type_name -> proto.VideoMessage
- 88, // 96: proto.Message.call:type_name -> proto.Call
- 86, // 97: proto.Message.chat:type_name -> proto.Chat
- 125, // 98: proto.Message.protocolMessage:type_name -> proto.ProtocolMessage
- 84, // 99: proto.Message.contactsArrayMessage:type_name -> proto.ContactsArrayMessage
- 76, // 100: proto.Message.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage
- 118, // 101: proto.Message.fastRatchetKeySenderKeyDistributionMessage:type_name -> proto.SenderKeyDistributionMessage
- 119, // 102: proto.Message.sendPaymentMessage:type_name -> proto.SendPaymentMessage
- 66, // 103: proto.Message.liveLocationMessage:type_name -> proto.LiveLocationMessage
- 123, // 104: proto.Message.requestPaymentMessage:type_name -> proto.RequestPaymentMessage
- 83, // 105: proto.Message.declinePaymentRequestMessage:type_name -> proto.DeclinePaymentRequestMessage
- 87, // 106: proto.Message.cancelPaymentRequestMessage:type_name -> proto.CancelPaymentRequestMessage
- 114, // 107: proto.Message.templateMessage:type_name -> proto.TemplateMessage
- 117, // 108: proto.Message.stickerMessage:type_name -> proto.StickerMessage
- 77, // 109: proto.Message.groupInviteMessage:type_name -> proto.GroupInviteMessage
- 115, // 110: proto.Message.templateButtonReplyMessage:type_name -> proto.TemplateButtonReplyMessage
- 126, // 111: proto.Message.productMessage:type_name -> proto.ProductMessage
- 82, // 112: proto.Message.deviceSentMessage:type_name -> proto.DeviceSentMessage
- 112, // 113: proto.Message.messageContextInfo:type_name -> proto.MessageContextInfo
- 68, // 114: proto.Message.listMessage:type_name -> proto.ListMessage
- 78, // 115: proto.Message.viewOnceMessage:type_name -> proto.FutureProofMessage
- 64, // 116: proto.Message.orderMessage:type_name -> proto.OrderMessage
- 67, // 117: proto.Message.listResponseMessage:type_name -> proto.ListResponseMessage
- 78, // 118: proto.Message.ephemeralMessage:type_name -> proto.FutureProofMessage
- 70, // 119: proto.Message.invoiceMessage:type_name -> proto.InvoiceMessage
- 90, // 120: proto.Message.buttonsMessage:type_name -> proto.ButtonsMessage
- 89, // 121: proto.Message.buttonsResponseMessage:type_name -> proto.ButtonsResponseMessage
- 63, // 122: proto.Message.paymentInviteMessage:type_name -> proto.PaymentInviteMessage
- 72, // 123: proto.Message.interactiveMessage:type_name -> proto.InteractiveMessage
- 124, // 124: proto.Message.reactionMessage:type_name -> proto.ReactionMessage
- 116, // 125: proto.Message.stickerSyncRmrMessage:type_name -> proto.StickerSyncRMRMessage
- 71, // 126: proto.Message.interactiveResponseMessage:type_name -> proto.InteractiveResponseMessage
- 131, // 127: proto.Message.pollCreationMessage:type_name -> proto.PollCreationMessage
- 128, // 128: proto.Message.pollUpdateMessage:type_name -> proto.PollUpdateMessage
- 69, // 129: proto.Message.keepInChatMessage:type_name -> proto.KeepInChatMessage
- 78, // 130: proto.Message.documentWithCaptionMessage:type_name -> proto.FutureProofMessage
- 122, // 131: proto.Message.requestPhoneNumberMessage:type_name -> proto.RequestPhoneNumberMessage
- 78, // 132: proto.Message.viewOnceMessageV2:type_name -> proto.FutureProofMessage
- 80, // 133: proto.Message.encReactionMessage:type_name -> proto.EncReactionMessage
- 78, // 134: proto.Message.editedMessage:type_name -> proto.FutureProofMessage
- 78, // 135: proto.Message.viewOnceMessageV2Extension:type_name -> proto.FutureProofMessage
- 131, // 136: proto.Message.pollCreationMessageV2:type_name -> proto.PollCreationMessage
- 121, // 137: proto.Message.scheduledCallCreationMessage:type_name -> proto.ScheduledCallCreationMessage
- 78, // 138: proto.Message.groupMentionedMessage:type_name -> proto.FutureProofMessage
- 132, // 139: proto.Message.pinMessage:type_name -> proto.PinMessage
- 131, // 140: proto.Message.pollCreationMessageV3:type_name -> proto.PollCreationMessage
- 120, // 141: proto.Message.scheduledCallEditMessage:type_name -> proto.ScheduledCallEditMessage
- 113, // 142: proto.Message.ptvMessage:type_name -> proto.VideoMessage
- 104, // 143: proto.MessageContextInfo.deviceListMetadata:type_name -> proto.DeviceListMetadata
- 100, // 144: proto.VideoMessage.interactiveAnnotations:type_name -> proto.InteractiveAnnotation
- 105, // 145: proto.VideoMessage.contextInfo:type_name -> proto.ContextInfo
- 25, // 146: proto.VideoMessage.gifAttribution:type_name -> proto.VideoMessage.Attribution
- 105, // 147: proto.TemplateMessage.contextInfo:type_name -> proto.ContextInfo
- 263, // 148: proto.TemplateMessage.hydratedTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate
- 264, // 149: proto.TemplateMessage.fourRowTemplate:type_name -> proto.TemplateMessage.FourRowTemplate
- 263, // 150: proto.TemplateMessage.hydratedFourRowTemplate:type_name -> proto.TemplateMessage.HydratedFourRowTemplate
- 72, // 151: proto.TemplateMessage.interactiveMessageTemplate:type_name -> proto.InteractiveMessage
- 105, // 152: proto.TemplateButtonReplyMessage.contextInfo:type_name -> proto.ContextInfo
- 105, // 153: proto.StickerMessage.contextInfo:type_name -> proto.ContextInfo
- 111, // 154: proto.SendPaymentMessage.noteMessage:type_name -> proto.Message
- 151, // 155: proto.SendPaymentMessage.requestMessageKey:type_name -> proto.MessageKey
- 109, // 156: proto.SendPaymentMessage.background:type_name -> proto.PaymentBackground
- 151, // 157: proto.ScheduledCallEditMessage.key:type_name -> proto.MessageKey
- 26, // 158: proto.ScheduledCallEditMessage.editType:type_name -> proto.ScheduledCallEditMessage.EditType
- 27, // 159: proto.ScheduledCallCreationMessage.callType:type_name -> proto.ScheduledCallCreationMessage.CallType
- 105, // 160: proto.RequestPhoneNumberMessage.contextInfo:type_name -> proto.ContextInfo
- 111, // 161: proto.RequestPaymentMessage.noteMessage:type_name -> proto.Message
- 110, // 162: proto.RequestPaymentMessage.amount:type_name -> proto.Money
- 109, // 163: proto.RequestPaymentMessage.background:type_name -> proto.PaymentBackground
- 151, // 164: proto.ReactionMessage.key:type_name -> proto.MessageKey
- 151, // 165: proto.ProtocolMessage.key:type_name -> proto.MessageKey
- 28, // 166: proto.ProtocolMessage.type:type_name -> proto.ProtocolMessage.Type
- 75, // 167: proto.ProtocolMessage.historySyncNotification:type_name -> proto.HistorySyncNotification
- 93, // 168: proto.ProtocolMessage.appStateSyncKeyShare:type_name -> proto.AppStateSyncKeyShare
- 94, // 169: proto.ProtocolMessage.appStateSyncKeyRequest:type_name -> proto.AppStateSyncKeyRequest
- 73, // 170: proto.ProtocolMessage.initialSecurityNotificationSettingSync:type_name -> proto.InitialSecurityNotificationSettingSync
- 98, // 171: proto.ProtocolMessage.appStateFatalExceptionNotification:type_name -> proto.AppStateFatalExceptionNotification
- 103, // 172: proto.ProtocolMessage.disappearingMode:type_name -> proto.DisappearingMode
- 111, // 173: proto.ProtocolMessage.editedMessage:type_name -> proto.Message
- 62, // 174: proto.ProtocolMessage.peerDataOperationRequestMessage:type_name -> proto.PeerDataOperationRequestMessage
- 133, // 175: proto.ProtocolMessage.peerDataOperationRequestResponseMessage:type_name -> proto.PeerDataOperationRequestResponseMessage
- 265, // 176: proto.ProductMessage.product:type_name -> proto.ProductMessage.ProductSnapshot
- 266, // 177: proto.ProductMessage.catalog:type_name -> proto.ProductMessage.CatalogSnapshot
- 105, // 178: proto.ProductMessage.contextInfo:type_name -> proto.ContextInfo
- 151, // 179: proto.PollUpdateMessage.pollCreationMessageKey:type_name -> proto.MessageKey
- 130, // 180: proto.PollUpdateMessage.vote:type_name -> proto.PollEncValue
- 129, // 181: proto.PollUpdateMessage.metadata:type_name -> proto.PollUpdateMessageMetadata
- 267, // 182: proto.PollCreationMessage.options:type_name -> proto.PollCreationMessage.Option
- 105, // 183: proto.PollCreationMessage.contextInfo:type_name -> proto.ContextInfo
- 151, // 184: proto.PinMessage.key:type_name -> proto.MessageKey
- 29, // 185: proto.PinMessage.pinMessageType:type_name -> proto.PinMessage.PinMessageType
- 1, // 186: proto.PeerDataOperationRequestResponseMessage.peerDataOperationRequestType:type_name -> proto.PeerDataOperationRequestType
- 268, // 187: proto.PeerDataOperationRequestResponseMessage.peerDataOperationResult:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult
- 139, // 188: proto.PastParticipants.pastParticipants:type_name -> proto.PastParticipant
- 30, // 189: proto.PastParticipant.leaveReason:type_name -> proto.PastParticipant.LeaveReason
- 31, // 190: proto.HistorySync.syncType:type_name -> proto.HistorySync.HistorySyncType
- 144, // 191: proto.HistorySync.conversations:type_name -> proto.Conversation
- 210, // 192: proto.HistorySync.statusV3Messages:type_name -> proto.WebMessageInfo
- 137, // 193: proto.HistorySync.pushnames:type_name -> proto.Pushname
- 143, // 194: proto.HistorySync.globalSettings:type_name -> proto.GlobalSettings
- 136, // 195: proto.HistorySync.recentStickers:type_name -> proto.StickerMetadata
- 138, // 196: proto.HistorySync.pastParticipants:type_name -> proto.PastParticipants
- 210, // 197: proto.HistorySyncMsg.message:type_name -> proto.WebMessageInfo
- 32, // 198: proto.GroupParticipant.rank:type_name -> proto.GroupParticipant.Rank
- 135, // 199: proto.GlobalSettings.lightThemeWallpaper:type_name -> proto.WallpaperSettings
- 2, // 200: proto.GlobalSettings.mediaVisibility:type_name -> proto.MediaVisibility
- 135, // 201: proto.GlobalSettings.darkThemeWallpaper:type_name -> proto.WallpaperSettings
- 146, // 202: proto.GlobalSettings.autoDownloadWiFi:type_name -> proto.AutoDownloadSettings
- 146, // 203: proto.GlobalSettings.autoDownloadCellular:type_name -> proto.AutoDownloadSettings
- 146, // 204: proto.GlobalSettings.autoDownloadRoaming:type_name -> proto.AutoDownloadSettings
- 145, // 205: proto.GlobalSettings.avatarUserSettings:type_name -> proto.AvatarUserSettings
- 141, // 206: proto.Conversation.messages:type_name -> proto.HistorySyncMsg
- 33, // 207: proto.Conversation.endOfHistoryTransferType:type_name -> proto.Conversation.EndOfHistoryTransferType
- 103, // 208: proto.Conversation.disappearingMode:type_name -> proto.DisappearingMode
- 142, // 209: proto.Conversation.participant:type_name -> proto.GroupParticipant
- 135, // 210: proto.Conversation.wallpaper:type_name -> proto.WallpaperSettings
- 2, // 211: proto.Conversation.mediaVisibility:type_name -> proto.MediaVisibility
- 148, // 212: proto.MsgRowOpaqueData.currentMsg:type_name -> proto.MsgOpaqueData
- 148, // 213: proto.MsgRowOpaqueData.quotedMsg:type_name -> proto.MsgOpaqueData
- 270, // 214: proto.MsgOpaqueData.pollOptions:type_name -> proto.MsgOpaqueData.PollOption
- 130, // 215: proto.MsgOpaqueData.encPollVote:type_name -> proto.PollEncValue
- 34, // 216: proto.MediaRetryNotification.result:type_name -> proto.MediaRetryNotification.ResultType
- 152, // 217: proto.SyncdSnapshot.version:type_name -> proto.SyncdVersion
- 155, // 218: proto.SyncdSnapshot.records:type_name -> proto.SyncdRecord
- 160, // 219: proto.SyncdSnapshot.keyId:type_name -> proto.KeyId
- 159, // 220: proto.SyncdRecord.index:type_name -> proto.SyncdIndex
- 153, // 221: proto.SyncdRecord.value:type_name -> proto.SyncdValue
- 160, // 222: proto.SyncdRecord.keyId:type_name -> proto.KeyId
- 152, // 223: proto.SyncdPatch.version:type_name -> proto.SyncdVersion
- 158, // 224: proto.SyncdPatch.mutations:type_name -> proto.SyncdMutation
- 161, // 225: proto.SyncdPatch.externalMutations:type_name -> proto.ExternalBlobReference
- 160, // 226: proto.SyncdPatch.keyId:type_name -> proto.KeyId
- 162, // 227: proto.SyncdPatch.exitCode:type_name -> proto.ExitCode
- 158, // 228: proto.SyncdMutations.mutations:type_name -> proto.SyncdMutation
- 35, // 229: proto.SyncdMutation.operation:type_name -> proto.SyncdMutation.SyncdOperation
- 155, // 230: proto.SyncdMutation.record:type_name -> proto.SyncdRecord
- 171, // 231: proto.SyncActionValue.starAction:type_name -> proto.StarAction
- 190, // 232: proto.SyncActionValue.contactAction:type_name -> proto.ContactAction
- 182, // 233: proto.SyncActionValue.muteAction:type_name -> proto.MuteAction
- 180, // 234: proto.SyncActionValue.pinAction:type_name -> proto.PinAction
- 172, // 235: proto.SyncActionValue.securityNotificationSetting:type_name -> proto.SecurityNotificationSetting
- 176, // 236: proto.SyncActionValue.pushNameSetting:type_name -> proto.PushNameSetting
- 175, // 237: proto.SyncActionValue.quickReplyAction:type_name -> proto.QuickReplyAction
- 174, // 238: proto.SyncActionValue.recentEmojiWeightsAction:type_name -> proto.RecentEmojiWeightsAction
- 185, // 239: proto.SyncActionValue.labelEditAction:type_name -> proto.LabelEditAction
- 186, // 240: proto.SyncActionValue.labelAssociationAction:type_name -> proto.LabelAssociationAction
- 184, // 241: proto.SyncActionValue.localeSetting:type_name -> proto.LocaleSetting
- 194, // 242: proto.SyncActionValue.archiveChatAction:type_name -> proto.ArchiveChatAction
- 188, // 243: proto.SyncActionValue.deleteMessageForMeAction:type_name -> proto.DeleteMessageForMeAction
- 187, // 244: proto.SyncActionValue.keyExpiration:type_name -> proto.KeyExpiration
- 183, // 245: proto.SyncActionValue.markChatAsReadAction:type_name -> proto.MarkChatAsReadAction
- 191, // 246: proto.SyncActionValue.clearChatAction:type_name -> proto.ClearChatAction
- 189, // 247: proto.SyncActionValue.deleteChatAction:type_name -> proto.DeleteChatAction
- 165, // 248: proto.SyncActionValue.unarchiveChatsSetting:type_name -> proto.UnarchiveChatsSetting
- 178, // 249: proto.SyncActionValue.primaryFeature:type_name -> proto.PrimaryFeature
- 195, // 250: proto.SyncActionValue.androidUnsupportedActions:type_name -> proto.AndroidUnsupportedActions
- 196, // 251: proto.SyncActionValue.agentAction:type_name -> proto.AgentAction
- 169, // 252: proto.SyncActionValue.subscriptionAction:type_name -> proto.SubscriptionAction
- 164, // 253: proto.SyncActionValue.userStatusMuteAction:type_name -> proto.UserStatusMuteAction
- 166, // 254: proto.SyncActionValue.timeFormatAction:type_name -> proto.TimeFormatAction
- 181, // 255: proto.SyncActionValue.nuxAction:type_name -> proto.NuxAction
- 177, // 256: proto.SyncActionValue.primaryVersionAction:type_name -> proto.PrimaryVersionAction
- 170, // 257: proto.SyncActionValue.stickerAction:type_name -> proto.StickerAction
- 173, // 258: proto.SyncActionValue.removeRecentStickerAction:type_name -> proto.RemoveRecentStickerAction
- 193, // 259: proto.SyncActionValue.chatAssignment:type_name -> proto.ChatAssignmentAction
- 192, // 260: proto.SyncActionValue.chatAssignmentOpenedStatus:type_name -> proto.ChatAssignmentOpenedStatusAction
- 179, // 261: proto.SyncActionValue.pnForLidChatAction:type_name -> proto.PnForLidChatAction
- 151, // 262: proto.SyncActionMessage.key:type_name -> proto.MessageKey
- 167, // 263: proto.SyncActionMessageRange.messages:type_name -> proto.SyncActionMessage
- 198, // 264: proto.RecentEmojiWeightsAction.weights:type_name -> proto.RecentEmojiWeight
- 168, // 265: proto.MarkChatAsReadAction.messageRange:type_name -> proto.SyncActionMessageRange
- 168, // 266: proto.DeleteChatAction.messageRange:type_name -> proto.SyncActionMessageRange
- 168, // 267: proto.ClearChatAction.messageRange:type_name -> proto.SyncActionMessageRange
- 168, // 268: proto.ArchiveChatAction.messageRange:type_name -> proto.SyncActionMessageRange
- 163, // 269: proto.SyncActionData.value:type_name -> proto.SyncActionValue
- 36, // 270: proto.BizIdentityInfo.vlevel:type_name -> proto.BizIdentityInfo.VerifiedLevelValue
- 199, // 271: proto.BizIdentityInfo.vnameCert:type_name -> proto.VerifiedNameCertificate
- 37, // 272: proto.BizIdentityInfo.hostStorage:type_name -> proto.BizIdentityInfo.HostStorageType
- 38, // 273: proto.BizIdentityInfo.actualActors:type_name -> proto.BizIdentityInfo.ActualActorsType
- 199, // 274: proto.BizAccountPayload.vnameCert:type_name -> proto.VerifiedNameCertificate
- 39, // 275: proto.BizAccountLinkInfo.hostStorage:type_name -> proto.BizAccountLinkInfo.HostStorageType
- 40, // 276: proto.BizAccountLinkInfo.accountType:type_name -> proto.BizAccountLinkInfo.AccountType
- 206, // 277: proto.HandshakeMessage.clientHello:type_name -> proto.HandshakeClientHello
- 205, // 278: proto.HandshakeMessage.serverHello:type_name -> proto.HandshakeServerHello
- 207, // 279: proto.HandshakeMessage.clientFinish:type_name -> proto.HandshakeClientFinish
- 273, // 280: proto.ClientPayload.userAgent:type_name -> proto.ClientPayload.UserAgent
- 272, // 281: proto.ClientPayload.webInfo:type_name -> proto.ClientPayload.WebInfo
- 43, // 282: proto.ClientPayload.connectType:type_name -> proto.ClientPayload.ConnectType
- 44, // 283: proto.ClientPayload.connectReason:type_name -> proto.ClientPayload.ConnectReason
- 275, // 284: proto.ClientPayload.dnsSource:type_name -> proto.ClientPayload.DNSSource
- 274, // 285: proto.ClientPayload.devicePairingData:type_name -> proto.ClientPayload.DevicePairingRegistrationData
- 41, // 286: proto.ClientPayload.product:type_name -> proto.ClientPayload.Product
- 42, // 287: proto.ClientPayload.iosAppExtension:type_name -> proto.ClientPayload.IOSAppExtension
- 210, // 288: proto.WebNotificationsInfo.notifyMessages:type_name -> proto.WebMessageInfo
- 151, // 289: proto.WebMessageInfo.key:type_name -> proto.MessageKey
- 111, // 290: proto.WebMessageInfo.message:type_name -> proto.Message
- 50, // 291: proto.WebMessageInfo.status:type_name -> proto.WebMessageInfo.Status
- 49, // 292: proto.WebMessageInfo.messageStubType:type_name -> proto.WebMessageInfo.StubType
- 218, // 293: proto.WebMessageInfo.paymentInfo:type_name -> proto.PaymentInfo
- 66, // 294: proto.WebMessageInfo.finalLiveLocation:type_name -> proto.LiveLocationMessage
- 218, // 295: proto.WebMessageInfo.quotedPaymentInfo:type_name -> proto.PaymentInfo
- 51, // 296: proto.WebMessageInfo.bizPrivacyStatus:type_name -> proto.WebMessageInfo.BizPrivacyStatus
- 220, // 297: proto.WebMessageInfo.mediaData:type_name -> proto.MediaData
- 217, // 298: proto.WebMessageInfo.photoChange:type_name -> proto.PhotoChange
- 212, // 299: proto.WebMessageInfo.userReceipt:type_name -> proto.UserReceipt
- 214, // 300: proto.WebMessageInfo.reactions:type_name -> proto.Reaction
- 220, // 301: proto.WebMessageInfo.quotedStickerData:type_name -> proto.MediaData
- 213, // 302: proto.WebMessageInfo.statusPsa:type_name -> proto.StatusPSA
- 215, // 303: proto.WebMessageInfo.pollUpdates:type_name -> proto.PollUpdate
- 216, // 304: proto.WebMessageInfo.pollAdditionalMetadata:type_name -> proto.PollAdditionalMetadata
- 221, // 305: proto.WebMessageInfo.keepInChat:type_name -> proto.KeepInChat
- 52, // 306: proto.WebFeatures.labelsDisplay:type_name -> proto.WebFeatures.Flag
- 52, // 307: proto.WebFeatures.voipIndividualOutgoing:type_name -> proto.WebFeatures.Flag
- 52, // 308: proto.WebFeatures.groupsV3:type_name -> proto.WebFeatures.Flag
- 52, // 309: proto.WebFeatures.groupsV3Create:type_name -> proto.WebFeatures.Flag
- 52, // 310: proto.WebFeatures.changeNumberV2:type_name -> proto.WebFeatures.Flag
- 52, // 311: proto.WebFeatures.queryStatusV3Thumbnail:type_name -> proto.WebFeatures.Flag
- 52, // 312: proto.WebFeatures.liveLocations:type_name -> proto.WebFeatures.Flag
- 52, // 313: proto.WebFeatures.queryVname:type_name -> proto.WebFeatures.Flag
- 52, // 314: proto.WebFeatures.voipIndividualIncoming:type_name -> proto.WebFeatures.Flag
- 52, // 315: proto.WebFeatures.quickRepliesQuery:type_name -> proto.WebFeatures.Flag
- 52, // 316: proto.WebFeatures.payments:type_name -> proto.WebFeatures.Flag
- 52, // 317: proto.WebFeatures.stickerPackQuery:type_name -> proto.WebFeatures.Flag
- 52, // 318: proto.WebFeatures.liveLocationsFinal:type_name -> proto.WebFeatures.Flag
- 52, // 319: proto.WebFeatures.labelsEdit:type_name -> proto.WebFeatures.Flag
- 52, // 320: proto.WebFeatures.mediaUpload:type_name -> proto.WebFeatures.Flag
- 52, // 321: proto.WebFeatures.mediaUploadRichQuickReplies:type_name -> proto.WebFeatures.Flag
- 52, // 322: proto.WebFeatures.vnameV2:type_name -> proto.WebFeatures.Flag
- 52, // 323: proto.WebFeatures.videoPlaybackUrl:type_name -> proto.WebFeatures.Flag
- 52, // 324: proto.WebFeatures.statusRanking:type_name -> proto.WebFeatures.Flag
- 52, // 325: proto.WebFeatures.voipIndividualVideo:type_name -> proto.WebFeatures.Flag
- 52, // 326: proto.WebFeatures.thirdPartyStickers:type_name -> proto.WebFeatures.Flag
- 52, // 327: proto.WebFeatures.frequentlyForwardedSetting:type_name -> proto.WebFeatures.Flag
- 52, // 328: proto.WebFeatures.groupsV4JoinPermission:type_name -> proto.WebFeatures.Flag
- 52, // 329: proto.WebFeatures.recentStickers:type_name -> proto.WebFeatures.Flag
- 52, // 330: proto.WebFeatures.catalog:type_name -> proto.WebFeatures.Flag
- 52, // 331: proto.WebFeatures.starredStickers:type_name -> proto.WebFeatures.Flag
- 52, // 332: proto.WebFeatures.voipGroupCall:type_name -> proto.WebFeatures.Flag
- 52, // 333: proto.WebFeatures.templateMessage:type_name -> proto.WebFeatures.Flag
- 52, // 334: proto.WebFeatures.templateMessageInteractivity:type_name -> proto.WebFeatures.Flag
- 52, // 335: proto.WebFeatures.ephemeralMessages:type_name -> proto.WebFeatures.Flag
- 52, // 336: proto.WebFeatures.e2ENotificationSync:type_name -> proto.WebFeatures.Flag
- 52, // 337: proto.WebFeatures.recentStickersV2:type_name -> proto.WebFeatures.Flag
- 52, // 338: proto.WebFeatures.recentStickersV3:type_name -> proto.WebFeatures.Flag
- 52, // 339: proto.WebFeatures.userNotice:type_name -> proto.WebFeatures.Flag
- 52, // 340: proto.WebFeatures.support:type_name -> proto.WebFeatures.Flag
- 52, // 341: proto.WebFeatures.groupUiiCleanup:type_name -> proto.WebFeatures.Flag
- 52, // 342: proto.WebFeatures.groupDogfoodingInternalOnly:type_name -> proto.WebFeatures.Flag
- 52, // 343: proto.WebFeatures.settingsSync:type_name -> proto.WebFeatures.Flag
- 52, // 344: proto.WebFeatures.archiveV2:type_name -> proto.WebFeatures.Flag
- 52, // 345: proto.WebFeatures.ephemeralAllowGroupMembers:type_name -> proto.WebFeatures.Flag
- 52, // 346: proto.WebFeatures.ephemeral24HDuration:type_name -> proto.WebFeatures.Flag
- 52, // 347: proto.WebFeatures.mdForceUpgrade:type_name -> proto.WebFeatures.Flag
- 52, // 348: proto.WebFeatures.disappearingMode:type_name -> proto.WebFeatures.Flag
- 52, // 349: proto.WebFeatures.externalMdOptInAvailable:type_name -> proto.WebFeatures.Flag
- 52, // 350: proto.WebFeatures.noDeleteMessageTimeLimit:type_name -> proto.WebFeatures.Flag
- 151, // 351: proto.Reaction.key:type_name -> proto.MessageKey
- 151, // 352: proto.PollUpdate.pollUpdateMessageKey:type_name -> proto.MessageKey
- 127, // 353: proto.PollUpdate.vote:type_name -> proto.PollVoteMessage
- 55, // 354: proto.PaymentInfo.currencyDeprecated:type_name -> proto.PaymentInfo.Currency
- 54, // 355: proto.PaymentInfo.status:type_name -> proto.PaymentInfo.Status
- 151, // 356: proto.PaymentInfo.requestMessageKey:type_name -> proto.MessageKey
- 53, // 357: proto.PaymentInfo.txnStatus:type_name -> proto.PaymentInfo.TxnStatus
- 110, // 358: proto.PaymentInfo.primaryAmount:type_name -> proto.Money
- 110, // 359: proto.PaymentInfo.exchangeAmount:type_name -> proto.Money
- 151, // 360: proto.NotificationMessageInfo.key:type_name -> proto.MessageKey
- 111, // 361: proto.NotificationMessageInfo.message:type_name -> proto.Message
- 0, // 362: proto.KeepInChat.keepType:type_name -> proto.KeepType
- 151, // 363: proto.KeepInChat.key:type_name -> proto.MessageKey
- 279, // 364: proto.CertChain.leaf:type_name -> proto.CertChain.NoiseCertificate
- 279, // 365: proto.CertChain.intermediate:type_name -> proto.CertChain.NoiseCertificate
- 231, // 366: proto.ListMessage.Section.rows:type_name -> proto.ListMessage.Row
- 232, // 367: proto.ListMessage.ProductSection.products:type_name -> proto.ListMessage.Product
- 233, // 368: proto.ListMessage.ProductListInfo.productSections:type_name -> proto.ListMessage.ProductSection
- 235, // 369: proto.ListMessage.ProductListInfo.headerImage:type_name -> proto.ListMessage.ProductListHeaderImage
- 10, // 370: proto.InteractiveMessage.ShopMessage.surface:type_name -> proto.InteractiveMessage.ShopMessage.Surface
- 244, // 371: proto.InteractiveMessage.NativeFlowMessage.buttons:type_name -> proto.InteractiveMessage.NativeFlowMessage.NativeFlowButton
- 81, // 372: proto.InteractiveMessage.Header.documentMessage:type_name -> proto.DocumentMessage
- 74, // 373: proto.InteractiveMessage.Header.imageMessage:type_name -> proto.ImageMessage
- 113, // 374: proto.InteractiveMessage.Header.videoMessage:type_name -> proto.VideoMessage
- 247, // 375: proto.HighlyStructuredMessage.HSMLocalizableParameter.currency:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency
- 246, // 376: proto.HighlyStructuredMessage.HSMLocalizableParameter.dateTime:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime
- 249, // 377: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.component:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent
- 248, // 378: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.unixEpoch:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch
- 12, // 379: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.dayOfWeek:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.DayOfWeekType
- 13, // 380: proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.calendar:type_name -> proto.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent.CalendarType
- 252, // 381: proto.ButtonsMessage.Button.buttonText:type_name -> proto.ButtonsMessage.Button.ButtonText
- 20, // 382: proto.ButtonsMessage.Button.type:type_name -> proto.ButtonsMessage.Button.Type
- 251, // 383: proto.ButtonsMessage.Button.nativeFlowInfo:type_name -> proto.ButtonsMessage.Button.NativeFlowInfo
- 22, // 384: proto.ContextInfo.ExternalAdReplyInfo.mediaType:type_name -> proto.ContextInfo.ExternalAdReplyInfo.MediaType
- 23, // 385: proto.ContextInfo.AdReplyInfo.mediaType:type_name -> proto.ContextInfo.AdReplyInfo.MediaType
- 76, // 386: proto.TemplateButton.URLButton.displayText:type_name -> proto.HighlyStructuredMessage
- 76, // 387: proto.TemplateButton.URLButton.url:type_name -> proto.HighlyStructuredMessage
- 76, // 388: proto.TemplateButton.QuickReplyButton.displayText:type_name -> proto.HighlyStructuredMessage
- 76, // 389: proto.TemplateButton.CallButton.displayText:type_name -> proto.HighlyStructuredMessage
- 76, // 390: proto.TemplateButton.CallButton.phoneNumber:type_name -> proto.HighlyStructuredMessage
- 101, // 391: proto.TemplateMessage.HydratedFourRowTemplate.hydratedButtons:type_name -> proto.HydratedTemplateButton
- 81, // 392: proto.TemplateMessage.HydratedFourRowTemplate.documentMessage:type_name -> proto.DocumentMessage
- 74, // 393: proto.TemplateMessage.HydratedFourRowTemplate.imageMessage:type_name -> proto.ImageMessage
- 113, // 394: proto.TemplateMessage.HydratedFourRowTemplate.videoMessage:type_name -> proto.VideoMessage
- 65, // 395: proto.TemplateMessage.HydratedFourRowTemplate.locationMessage:type_name -> proto.LocationMessage
- 76, // 396: proto.TemplateMessage.FourRowTemplate.content:type_name -> proto.HighlyStructuredMessage
- 76, // 397: proto.TemplateMessage.FourRowTemplate.footer:type_name -> proto.HighlyStructuredMessage
- 107, // 398: proto.TemplateMessage.FourRowTemplate.buttons:type_name -> proto.TemplateButton
- 81, // 399: proto.TemplateMessage.FourRowTemplate.documentMessage:type_name -> proto.DocumentMessage
- 76, // 400: proto.TemplateMessage.FourRowTemplate.highlyStructuredMessage:type_name -> proto.HighlyStructuredMessage
- 74, // 401: proto.TemplateMessage.FourRowTemplate.imageMessage:type_name -> proto.ImageMessage
- 113, // 402: proto.TemplateMessage.FourRowTemplate.videoMessage:type_name -> proto.VideoMessage
- 65, // 403: proto.TemplateMessage.FourRowTemplate.locationMessage:type_name -> proto.LocationMessage
- 74, // 404: proto.ProductMessage.ProductSnapshot.productImage:type_name -> proto.ImageMessage
- 74, // 405: proto.ProductMessage.CatalogSnapshot.catalogImage:type_name -> proto.ImageMessage
- 34, // 406: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.mediaUploadResult:type_name -> proto.MediaRetryNotification.ResultType
- 117, // 407: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.stickerMessage:type_name -> proto.StickerMessage
- 269, // 408: proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.linkPreviewResponse:type_name -> proto.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.LinkPreviewResponse
- 200, // 409: proto.VerifiedNameCertificate.Details.localizedNames:type_name -> proto.LocalizedName
- 276, // 410: proto.ClientPayload.WebInfo.webdPayload:type_name -> proto.ClientPayload.WebInfo.WebdPayload
- 45, // 411: proto.ClientPayload.WebInfo.webSubPlatform:type_name -> proto.ClientPayload.WebInfo.WebSubPlatform
- 47, // 412: proto.ClientPayload.UserAgent.platform:type_name -> proto.ClientPayload.UserAgent.Platform
- 277, // 413: proto.ClientPayload.UserAgent.appVersion:type_name -> proto.ClientPayload.UserAgent.AppVersion
- 46, // 414: proto.ClientPayload.UserAgent.releaseChannel:type_name -> proto.ClientPayload.UserAgent.ReleaseChannel
- 48, // 415: proto.ClientPayload.DNSSource.dnsMethod:type_name -> proto.ClientPayload.DNSSource.DNSResolutionMethod
- 416, // [416:416] is the sub-list for method output_type
- 416, // [416:416] is the sub-list for method input_type
- 416, // [416:416] is the sub-list for extension type_name
- 416, // [416:416] is the sub-list for extension extendee
- 0, // [0:416] is the sub-list for field type_name
+ 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
+ 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
}
func init() { file_binary_proto_def_proto_init() }
@@ -23589,7 +25420,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PeerDataOperationRequestMessage); i {
+ switch v := v.(*LiveLocationMessage); i {
case 0:
return &v.state
case 1:
@@ -23601,7 +25432,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PaymentInviteMessage); i {
+ switch v := v.(*ListResponseMessage); i {
case 0:
return &v.state
case 1:
@@ -23613,7 +25444,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderMessage); i {
+ switch v := v.(*ListMessage); i {
case 0:
return &v.state
case 1:
@@ -23625,7 +25456,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*LocationMessage); i {
+ switch v := v.(*KeepInChatMessage); i {
case 0:
return &v.state
case 1:
@@ -23637,7 +25468,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*LiveLocationMessage); i {
+ switch v := v.(*InvoiceMessage); i {
case 0:
return &v.state
case 1:
@@ -23649,7 +25480,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListResponseMessage); i {
+ switch v := v.(*InteractiveResponseMessage); i {
case 0:
return &v.state
case 1:
@@ -23661,7 +25492,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ListMessage); i {
+ switch v := v.(*InteractiveMessage); i {
case 0:
return &v.state
case 1:
@@ -23673,7 +25504,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*KeepInChatMessage); i {
+ switch v := v.(*InitialSecurityNotificationSettingSync); i {
case 0:
return &v.state
case 1:
@@ -23685,7 +25516,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*InvoiceMessage); i {
+ switch v := v.(*ImageMessage); i {
case 0:
return &v.state
case 1:
@@ -23697,7 +25528,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*InteractiveResponseMessage); i {
+ switch v := v.(*HistorySyncNotification); i {
case 0:
return &v.state
case 1:
@@ -23709,7 +25540,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*InteractiveMessage); i {
+ switch v := v.(*HighlyStructuredMessage); i {
case 0:
return &v.state
case 1:
@@ -23721,7 +25552,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*InitialSecurityNotificationSettingSync); i {
+ switch v := v.(*GroupInviteMessage); i {
case 0:
return &v.state
case 1:
@@ -23733,7 +25564,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ImageMessage); i {
+ switch v := v.(*FutureProofMessage); i {
case 0:
return &v.state
case 1:
@@ -23745,7 +25576,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HistorySyncNotification); i {
+ switch v := v.(*ExtendedTextMessage); i {
case 0:
return &v.state
case 1:
@@ -23757,7 +25588,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HighlyStructuredMessage); i {
+ switch v := v.(*EncReactionMessage); i {
case 0:
return &v.state
case 1:
@@ -23769,7 +25600,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GroupInviteMessage); i {
+ switch v := v.(*EncCommentMessage); i {
case 0:
return &v.state
case 1:
@@ -23781,7 +25612,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FutureProofMessage); i {
+ switch v := v.(*DocumentMessage); i {
case 0:
return &v.state
case 1:
@@ -23793,7 +25624,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ExtendedTextMessage); i {
+ switch v := v.(*DeviceSentMessage); i {
case 0:
return &v.state
case 1:
@@ -23805,7 +25636,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EncReactionMessage); i {
+ switch v := v.(*DeclinePaymentRequestMessage); i {
case 0:
return &v.state
case 1:
@@ -23817,7 +25648,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DocumentMessage); i {
+ switch v := v.(*ContactsArrayMessage); i {
case 0:
return &v.state
case 1:
@@ -23829,7 +25660,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DeviceSentMessage); i {
+ switch v := v.(*ContactMessage); i {
case 0:
return &v.state
case 1:
@@ -23841,7 +25672,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DeclinePaymentRequestMessage); i {
+ switch v := v.(*Chat); i {
case 0:
return &v.state
case 1:
@@ -23853,7 +25684,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContactsArrayMessage); i {
+ switch v := v.(*CancelPaymentRequestMessage); i {
case 0:
return &v.state
case 1:
@@ -23865,7 +25696,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ContactMessage); i {
+ switch v := v.(*Call); i {
case 0:
return &v.state
case 1:
@@ -23877,7 +25708,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Chat); i {
+ switch v := v.(*ButtonsResponseMessage); i {
case 0:
return &v.state
case 1:
@@ -23889,7 +25720,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*CancelPaymentRequestMessage); i {
+ switch v := v.(*ButtonsMessage); i {
case 0:
return &v.state
case 1:
@@ -23901,7 +25732,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Call); i {
+ switch v := v.(*BotFeedbackMessage); i {
case 0:
return &v.state
case 1:
@@ -23913,7 +25744,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ButtonsResponseMessage); i {
+ switch v := v.(*AudioMessage); i {
case 0:
return &v.state
case 1:
@@ -23925,7 +25756,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*ButtonsMessage); i {
+ switch v := v.(*AppStateSyncKey); i {
case 0:
return &v.state
case 1:
@@ -23937,7 +25768,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AudioMessage); i {
+ switch v := v.(*AppStateSyncKeyShare); i {
case 0:
return &v.state
case 1:
@@ -23949,7 +25780,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AppStateSyncKey); i {
+ switch v := v.(*AppStateSyncKeyRequest); i {
case 0:
return &v.state
case 1:
@@ -23961,7 +25792,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AppStateSyncKeyShare); i {
+ switch v := v.(*AppStateSyncKeyId); i {
case 0:
return &v.state
case 1:
@@ -23973,7 +25804,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AppStateSyncKeyRequest); i {
+ switch v := v.(*AppStateSyncKeyFingerprint); i {
case 0:
return &v.state
case 1:
@@ -23985,7 +25816,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AppStateSyncKeyId); i {
+ switch v := v.(*AppStateSyncKeyData); i {
case 0:
return &v.state
case 1:
@@ -23997,7 +25828,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AppStateSyncKeyFingerprint); i {
+ switch v := v.(*AppStateFatalExceptionNotification); i {
case 0:
return &v.state
case 1:
@@ -24009,7 +25840,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AppStateSyncKeyData); i {
+ switch v := v.(*Location); i {
case 0:
return &v.state
case 1:
@@ -24021,7 +25852,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AppStateFatalExceptionNotification); i {
+ switch v := v.(*InteractiveAnnotation); i {
case 0:
return &v.state
case 1:
@@ -24033,7 +25864,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Location); i {
+ switch v := v.(*HydratedTemplateButton); i {
case 0:
return &v.state
case 1:
@@ -24045,7 +25876,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*InteractiveAnnotation); i {
+ switch v := v.(*GroupMention); i {
case 0:
return &v.state
case 1:
@@ -24057,7 +25888,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*HydratedTemplateButton); i {
+ switch v := v.(*DisappearingMode); i {
case 0:
return &v.state
case 1:
@@ -24069,7 +25900,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*GroupMention); i {
+ switch v := v.(*DeviceListMetadata); i {
case 0:
return &v.state
case 1:
@@ -24081,7 +25912,7 @@ func file_binary_proto_def_proto_init() {
}
}
file_binary_proto_def_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DisappearingMode); i {
+ switch v := v.(*ContextInfo); i {
case 0:
return &v.state
case 1:
@@ -24093,7 +25924,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.(*DeviceListMetadata); i {
+ switch v := v.(*BotPluginMetadata); i {
case 0:
return &v.state
case 1:
@@ -24105,7 +25936,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.(*ContextInfo); i {
+ switch v := v.(*BotMetadata); i {
case 0:
return &v.state
case 1:
@@ -24117,7 +25948,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.(*ActionLink); i {
+ switch v := v.(*BotAvatarMetadata); i {
case 0:
return &v.state
case 1:
@@ -24129,7 +25960,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.(*TemplateButton); i {
+ switch v := v.(*ActionLink); i {
case 0:
return &v.state
case 1:
@@ -24141,7 +25972,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.(*Point); i {
+ switch v := v.(*TemplateButton); i {
case 0:
return &v.state
case 1:
@@ -24153,7 +25984,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.(*PaymentBackground); i {
+ switch v := v.(*Point); i {
case 0:
return &v.state
case 1:
@@ -24165,7 +25996,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.(*Money); i {
+ switch v := v.(*PaymentBackground); i {
case 0:
return &v.state
case 1:
@@ -24177,7 +26008,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.(*Message); i {
+ switch v := v.(*Money); i {
case 0:
return &v.state
case 1:
@@ -24189,7 +26020,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.(*MessageContextInfo); i {
+ switch v := v.(*Message); i {
case 0:
return &v.state
case 1:
@@ -24201,7 +26032,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.(*VideoMessage); i {
+ switch v := v.(*MessageSecretMessage); i {
case 0:
return &v.state
case 1:
@@ -24213,7 +26044,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.(*TemplateMessage); i {
+ switch v := v.(*MessageContextInfo); i {
case 0:
return &v.state
case 1:
@@ -24225,7 +26056,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.(*TemplateButtonReplyMessage); i {
+ switch v := v.(*VideoMessage); i {
case 0:
return &v.state
case 1:
@@ -24237,7 +26068,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.(*StickerSyncRMRMessage); i {
+ switch v := v.(*TemplateMessage); i {
case 0:
return &v.state
case 1:
@@ -24249,7 +26080,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.(*StickerMessage); i {
+ switch v := v.(*TemplateButtonReplyMessage); i {
case 0:
return &v.state
case 1:
@@ -24261,7 +26092,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.(*SenderKeyDistributionMessage); i {
+ switch v := v.(*StickerSyncRMRMessage); i {
case 0:
return &v.state
case 1:
@@ -24273,7 +26104,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.(*SendPaymentMessage); i {
+ switch v := v.(*StickerMessage); i {
case 0:
return &v.state
case 1:
@@ -24285,7 +26116,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.(*ScheduledCallEditMessage); i {
+ switch v := v.(*SenderKeyDistributionMessage); i {
case 0:
return &v.state
case 1:
@@ -24297,7 +26128,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.(*ScheduledCallCreationMessage); i {
+ switch v := v.(*SendPaymentMessage); i {
case 0:
return &v.state
case 1:
@@ -24309,7 +26140,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.(*RequestPhoneNumberMessage); i {
+ switch v := v.(*ScheduledCallEditMessage); i {
case 0:
return &v.state
case 1:
@@ -24321,7 +26152,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.(*RequestPaymentMessage); i {
+ switch v := v.(*ScheduledCallCreationMessage); i {
case 0:
return &v.state
case 1:
@@ -24333,7 +26164,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.(*ReactionMessage); i {
+ switch v := v.(*RequestPhoneNumberMessage); i {
case 0:
return &v.state
case 1:
@@ -24345,7 +26176,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.(*ProtocolMessage); i {
+ switch v := v.(*RequestPaymentMessage); i {
case 0:
return &v.state
case 1:
@@ -24357,7 +26188,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.(*ProductMessage); i {
+ switch v := v.(*ReactionMessage); i {
case 0:
return &v.state
case 1:
@@ -24369,7 +26200,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.(*PollVoteMessage); i {
+ switch v := v.(*ProtocolMessage); i {
case 0:
return &v.state
case 1:
@@ -24381,7 +26212,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.(*PollUpdateMessage); i {
+ switch v := v.(*ProductMessage); i {
case 0:
return &v.state
case 1:
@@ -24393,7 +26224,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.(*PollUpdateMessageMetadata); i {
+ switch v := v.(*PollVoteMessage); i {
case 0:
return &v.state
case 1:
@@ -24405,7 +26236,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.(*PollEncValue); i {
+ switch v := v.(*PollUpdateMessage); i {
case 0:
return &v.state
case 1:
@@ -24417,7 +26248,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.(*PollCreationMessage); i {
+ switch v := v.(*PollUpdateMessageMetadata); i {
case 0:
return &v.state
case 1:
@@ -24429,7 +26260,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.(*PinMessage); i {
+ switch v := v.(*PollEncValue); i {
case 0:
return &v.state
case 1:
@@ -24441,7 +26272,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.(*PeerDataOperationRequestResponseMessage); i {
+ switch v := v.(*PollCreationMessage); i {
case 0:
return &v.state
case 1:
@@ -24453,7 +26284,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.(*EphemeralSetting); i {
+ switch v := v.(*PinInChatMessage); i {
case 0:
return &v.state
case 1:
@@ -24465,7 +26296,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.(*WallpaperSettings); i {
+ switch v := v.(*PeerDataOperationRequestResponseMessage); i {
case 0:
return &v.state
case 1:
@@ -24477,7 +26308,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.(*StickerMetadata); i {
+ switch v := v.(*PeerDataOperationRequestMessage); i {
case 0:
return &v.state
case 1:
@@ -24489,7 +26320,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.(*Pushname); i {
+ switch v := v.(*PaymentInviteMessage); i {
case 0:
return &v.state
case 1:
@@ -24501,7 +26332,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.(*PastParticipants); i {
+ switch v := v.(*OrderMessage); i {
case 0:
return &v.state
case 1:
@@ -24513,7 +26344,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.(*PastParticipant); i {
+ switch v := v.(*LocationMessage); i {
case 0:
return &v.state
case 1:
@@ -24525,7 +26356,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.(*HistorySync); i {
+ switch v := v.(*EphemeralSetting); i {
case 0:
return &v.state
case 1:
@@ -24537,7 +26368,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.(*HistorySyncMsg); i {
+ switch v := v.(*WallpaperSettings); i {
case 0:
return &v.state
case 1:
@@ -24549,7 +26380,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.(*GroupParticipant); i {
+ switch v := v.(*StickerMetadata); i {
case 0:
return &v.state
case 1:
@@ -24561,7 +26392,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.(*GlobalSettings); i {
+ switch v := v.(*Pushname); i {
case 0:
return &v.state
case 1:
@@ -24573,7 +26404,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.(*Conversation); i {
+ switch v := v.(*PastParticipants); i {
case 0:
return &v.state
case 1:
@@ -24585,7 +26416,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.(*AvatarUserSettings); i {
+ switch v := v.(*PastParticipant); i {
case 0:
return &v.state
case 1:
@@ -24597,7 +26428,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.(*AutoDownloadSettings); i {
+ switch v := v.(*NotificationSettings); i {
case 0:
return &v.state
case 1:
@@ -24609,7 +26440,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.(*MsgRowOpaqueData); i {
+ switch v := v.(*HistorySync); i {
case 0:
return &v.state
case 1:
@@ -24621,7 +26452,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.(*MsgOpaqueData); i {
+ switch v := v.(*HistorySyncMsg); i {
case 0:
return &v.state
case 1:
@@ -24633,7 +26464,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.(*ServerErrorReceipt); i {
+ switch v := v.(*GroupParticipant); i {
case 0:
return &v.state
case 1:
@@ -24645,7 +26476,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.(*MediaRetryNotification); i {
+ switch v := v.(*GlobalSettings); i {
case 0:
return &v.state
case 1:
@@ -24657,7 +26488,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.(*MessageKey); i {
+ switch v := v.(*Conversation); i {
case 0:
return &v.state
case 1:
@@ -24669,7 +26500,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.(*SyncdVersion); i {
+ switch v := v.(*AvatarUserSettings); i {
case 0:
return &v.state
case 1:
@@ -24681,7 +26512,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.(*SyncdValue); i {
+ switch v := v.(*AutoDownloadSettings); i {
case 0:
return &v.state
case 1:
@@ -24693,7 +26524,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.(*SyncdSnapshot); i {
+ switch v := v.(*ServerErrorReceipt); i {
case 0:
return &v.state
case 1:
@@ -24705,7 +26536,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.(*SyncdRecord); i {
+ switch v := v.(*MediaRetryNotification); i {
case 0:
return &v.state
case 1:
@@ -24717,7 +26548,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.(*SyncdPatch); i {
+ switch v := v.(*MessageKey); i {
case 0:
return &v.state
case 1:
@@ -24729,7 +26560,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.(*SyncdMutations); i {
+ switch v := v.(*SyncdVersion); i {
case 0:
return &v.state
case 1:
@@ -24741,7 +26572,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.(*SyncdMutation); i {
+ switch v := v.(*SyncdValue); i {
case 0:
return &v.state
case 1:
@@ -24753,7 +26584,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.(*SyncdIndex); i {
+ switch v := v.(*SyncdSnapshot); i {
case 0:
return &v.state
case 1:
@@ -24765,7 +26596,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.(*KeyId); i {
+ switch v := v.(*SyncdRecord); i {
case 0:
return &v.state
case 1:
@@ -24777,7 +26608,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.(*ExternalBlobReference); i {
+ switch v := v.(*SyncdPatch); i {
case 0:
return &v.state
case 1:
@@ -24789,7 +26620,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.(*ExitCode); i {
+ switch v := v.(*SyncdMutations); i {
case 0:
return &v.state
case 1:
@@ -24801,7 +26632,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.(*SyncActionValue); i {
+ switch v := v.(*SyncdMutation); i {
case 0:
return &v.state
case 1:
@@ -24813,7 +26644,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.(*UserStatusMuteAction); i {
+ switch v := v.(*SyncdIndex); i {
case 0:
return &v.state
case 1:
@@ -24825,7 +26656,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.(*UnarchiveChatsSetting); i {
+ switch v := v.(*KeyId); i {
case 0:
return &v.state
case 1:
@@ -24837,7 +26668,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.(*TimeFormatAction); i {
+ switch v := v.(*ExternalBlobReference); i {
case 0:
return &v.state
case 1:
@@ -24849,7 +26680,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.(*SyncActionMessage); i {
+ switch v := v.(*ExitCode); i {
case 0:
return &v.state
case 1:
@@ -24861,7 +26692,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.(*SyncActionMessageRange); i {
+ switch v := v.(*SyncActionValue); i {
case 0:
return &v.state
case 1:
@@ -24873,7 +26704,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.(*SubscriptionAction); i {
+ switch v := v.(*UserStatusMuteAction); i {
case 0:
return &v.state
case 1:
@@ -24885,7 +26716,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.(*StickerAction); i {
+ switch v := v.(*UnarchiveChatsSetting); i {
case 0:
return &v.state
case 1:
@@ -24897,7 +26728,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.(*StarAction); i {
+ switch v := v.(*TimeFormatAction); i {
case 0:
return &v.state
case 1:
@@ -24909,7 +26740,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.(*SecurityNotificationSetting); i {
+ switch v := v.(*SyncActionMessage); i {
case 0:
return &v.state
case 1:
@@ -24921,7 +26752,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.(*RemoveRecentStickerAction); i {
+ switch v := v.(*SyncActionMessageRange); i {
case 0:
return &v.state
case 1:
@@ -24933,7 +26764,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.(*RecentEmojiWeightsAction); i {
+ switch v := v.(*SubscriptionAction); i {
case 0:
return &v.state
case 1:
@@ -24945,7 +26776,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.(*QuickReplyAction); i {
+ switch v := v.(*StickerAction); i {
case 0:
return &v.state
case 1:
@@ -24957,7 +26788,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.(*PushNameSetting); i {
+ switch v := v.(*StarAction); i {
case 0:
return &v.state
case 1:
@@ -24969,7 +26800,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.(*PrimaryVersionAction); i {
+ switch v := v.(*SecurityNotificationSetting); i {
case 0:
return &v.state
case 1:
@@ -24981,7 +26812,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.(*PrimaryFeature); i {
+ switch v := v.(*RemoveRecentStickerAction); i {
case 0:
return &v.state
case 1:
@@ -24993,7 +26824,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.(*PnForLidChatAction); i {
+ switch v := v.(*RecentEmojiWeightsAction); i {
case 0:
return &v.state
case 1:
@@ -25005,7 +26836,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.(*PinAction); i {
+ switch v := v.(*QuickReplyAction); i {
case 0:
return &v.state
case 1:
@@ -25017,7 +26848,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.(*NuxAction); i {
+ switch v := v.(*PushNameSetting); i {
case 0:
return &v.state
case 1:
@@ -25029,7 +26860,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.(*MuteAction); i {
+ switch v := v.(*PrivacySettingRelayAllCalls); i {
case 0:
return &v.state
case 1:
@@ -25041,7 +26872,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.(*MarkChatAsReadAction); i {
+ switch v := v.(*PrimaryVersionAction); i {
case 0:
return &v.state
case 1:
@@ -25053,7 +26884,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.(*LocaleSetting); i {
+ switch v := v.(*PrimaryFeature); i {
case 0:
return &v.state
case 1:
@@ -25065,7 +26896,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.(*LabelEditAction); i {
+ switch v := v.(*PnForLidChatAction); i {
case 0:
return &v.state
case 1:
@@ -25077,7 +26908,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.(*LabelAssociationAction); i {
+ switch v := v.(*PinAction); i {
case 0:
return &v.state
case 1:
@@ -25089,7 +26920,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.(*KeyExpiration); i {
+ switch v := v.(*NuxAction); i {
case 0:
return &v.state
case 1:
@@ -25101,7 +26932,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.(*DeleteMessageForMeAction); i {
+ switch v := v.(*MuteAction); i {
case 0:
return &v.state
case 1:
@@ -25113,7 +26944,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.(*DeleteChatAction); i {
+ switch v := v.(*MarketingMessageBroadcastAction); i {
case 0:
return &v.state
case 1:
@@ -25125,7 +26956,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.(*ContactAction); i {
+ switch v := v.(*MarketingMessageAction); i {
case 0:
return &v.state
case 1:
@@ -25137,7 +26968,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.(*ClearChatAction); i {
+ switch v := v.(*MarkChatAsReadAction); i {
case 0:
return &v.state
case 1:
@@ -25149,7 +26980,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.(*ChatAssignmentOpenedStatusAction); i {
+ switch v := v.(*LocaleSetting); i {
case 0:
return &v.state
case 1:
@@ -25161,7 +26992,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.(*ChatAssignmentAction); i {
+ switch v := v.(*LabelEditAction); i {
case 0:
return &v.state
case 1:
@@ -25173,7 +27004,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.(*ArchiveChatAction); i {
+ switch v := v.(*LabelAssociationAction); i {
case 0:
return &v.state
case 1:
@@ -25185,7 +27016,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.(*AndroidUnsupportedActions); i {
+ switch v := v.(*KeyExpiration); i {
case 0:
return &v.state
case 1:
@@ -25197,7 +27028,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.(*AgentAction); i {
+ switch v := v.(*ExternalWebBetaAction); i {
case 0:
return &v.state
case 1:
@@ -25209,7 +27040,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.(*SyncActionData); i {
+ switch v := v.(*DeleteMessageForMeAction); i {
case 0:
return &v.state
case 1:
@@ -25221,7 +27052,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.(*RecentEmojiWeight); i {
+ switch v := v.(*DeleteChatAction); i {
case 0:
return &v.state
case 1:
@@ -25233,7 +27064,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.(*VerifiedNameCertificate); i {
+ switch v := v.(*ContactAction); i {
case 0:
return &v.state
case 1:
@@ -25245,7 +27076,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.(*LocalizedName); i {
+ switch v := v.(*ClearChatAction); i {
case 0:
return &v.state
case 1:
@@ -25257,7 +27088,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.(*BizIdentityInfo); i {
+ switch v := v.(*ChatAssignmentOpenedStatusAction); i {
case 0:
return &v.state
case 1:
@@ -25269,7 +27100,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.(*BizAccountPayload); i {
+ switch v := v.(*ChatAssignmentAction); i {
case 0:
return &v.state
case 1:
@@ -25281,7 +27112,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.(*BizAccountLinkInfo); i {
+ switch v := v.(*ArchiveChatAction); i {
case 0:
return &v.state
case 1:
@@ -25293,7 +27124,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.(*HandshakeMessage); i {
+ switch v := v.(*AndroidUnsupportedActions); i {
case 0:
return &v.state
case 1:
@@ -25305,7 +27136,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.(*HandshakeServerHello); i {
+ switch v := v.(*AgentAction); i {
case 0:
return &v.state
case 1:
@@ -25317,7 +27148,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.(*HandshakeClientHello); i {
+ switch v := v.(*SyncActionData); i {
case 0:
return &v.state
case 1:
@@ -25329,7 +27160,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.(*HandshakeClientFinish); i {
+ switch v := v.(*RecentEmojiWeight); i {
case 0:
return &v.state
case 1:
@@ -25341,7 +27172,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.(*ClientPayload); i {
+ switch v := v.(*VerifiedNameCertificate); i {
case 0:
return &v.state
case 1:
@@ -25353,7 +27184,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.(*WebNotificationsInfo); i {
+ switch v := v.(*LocalizedName); i {
case 0:
return &v.state
case 1:
@@ -25365,7 +27196,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.(*WebMessageInfo); i {
+ switch v := v.(*BizIdentityInfo); i {
case 0:
return &v.state
case 1:
@@ -25377,7 +27208,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.(*WebFeatures); i {
+ switch v := v.(*BizAccountPayload); i {
case 0:
return &v.state
case 1:
@@ -25389,7 +27220,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.(*UserReceipt); i {
+ switch v := v.(*BizAccountLinkInfo); i {
case 0:
return &v.state
case 1:
@@ -25401,7 +27232,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.(*StatusPSA); i {
+ switch v := v.(*HandshakeMessage); i {
case 0:
return &v.state
case 1:
@@ -25413,7 +27244,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.(*Reaction); i {
+ switch v := v.(*HandshakeServerHello); i {
case 0:
return &v.state
case 1:
@@ -25425,7 +27256,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.(*PollUpdate); i {
+ switch v := v.(*HandshakeClientHello); i {
case 0:
return &v.state
case 1:
@@ -25437,7 +27268,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.(*PollAdditionalMetadata); i {
+ switch v := v.(*HandshakeClientFinish); i {
case 0:
return &v.state
case 1:
@@ -25449,7 +27280,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.(*PhotoChange); i {
+ switch v := v.(*ClientPayload); i {
case 0:
return &v.state
case 1:
@@ -25461,7 +27292,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.(*PaymentInfo); i {
+ switch v := v.(*WebNotificationsInfo); i {
case 0:
return &v.state
case 1:
@@ -25473,7 +27304,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.(*NotificationMessageInfo); i {
+ switch v := v.(*WebMessageInfo); i {
case 0:
return &v.state
case 1:
@@ -25485,7 +27316,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.(*MediaData); i {
+ switch v := v.(*WebFeatures); i {
case 0:
return &v.state
case 1:
@@ -25497,7 +27328,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.(*KeepInChat); i {
+ switch v := v.(*UserReceipt); i {
case 0:
return &v.state
case 1:
@@ -25509,7 +27340,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.(*NoiseCertificate); i {
+ switch v := v.(*StatusPSA); i {
case 0:
return &v.state
case 1:
@@ -25521,7 +27352,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.(*CertChain); i {
+ switch v := v.(*Reaction); i {
case 0:
return &v.state
case 1:
@@ -25533,7 +27364,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.(*DeviceProps_HistorySyncConfig); i {
+ switch v := v.(*PollUpdate); i {
case 0:
return &v.state
case 1:
@@ -25545,7 +27376,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.(*DeviceProps_AppVersion); i {
+ switch v := v.(*PollAdditionalMetadata); i {
case 0:
return &v.state
case 1:
@@ -25557,7 +27388,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.(*PeerDataOperationRequestMessage_RequestUrlPreview); i {
+ switch v := v.(*PinInChat); i {
case 0:
return &v.state
case 1:
@@ -25569,7 +27400,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.(*PeerDataOperationRequestMessage_RequestStickerReupload); i {
+ switch v := v.(*PhotoChange); i {
case 0:
return &v.state
case 1:
@@ -25581,7 +27412,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.(*PeerDataOperationRequestMessage_HistorySyncOnDemandRequest); i {
+ switch v := v.(*PaymentInfo); i {
case 0:
return &v.state
case 1:
@@ -25593,7 +27424,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.(*ListResponseMessage_SingleSelectReply); i {
+ switch v := v.(*NotificationMessageInfo); i {
case 0:
return &v.state
case 1:
@@ -25605,7 +27436,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.(*ListMessage_Section); i {
+ switch v := v.(*MessageAddOnContextInfo); i {
case 0:
return &v.state
case 1:
@@ -25617,7 +27448,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.(*ListMessage_Row); i {
+ switch v := v.(*MediaData); i {
case 0:
return &v.state
case 1:
@@ -25629,7 +27460,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.(*ListMessage_Product); i {
+ switch v := v.(*KeepInChat); i {
case 0:
return &v.state
case 1:
@@ -25641,7 +27472,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.(*ListMessage_ProductSection); i {
+ switch v := v.(*NoiseCertificate); i {
case 0:
return &v.state
case 1:
@@ -25653,7 +27484,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.(*ListMessage_ProductListInfo); i {
+ switch v := v.(*CertChain); i {
case 0:
return &v.state
case 1:
@@ -25665,7 +27496,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.(*ListMessage_ProductListHeaderImage); i {
+ switch v := v.(*DeviceProps_HistorySyncConfig); i {
case 0:
return &v.state
case 1:
@@ -25677,7 +27508,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.(*InteractiveResponseMessage_NativeFlowResponseMessage); i {
+ switch v := v.(*DeviceProps_AppVersion); i {
case 0:
return &v.state
case 1:
@@ -25689,7 +27520,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.(*InteractiveResponseMessage_Body); i {
+ switch v := v.(*ListResponseMessage_SingleSelectReply); i {
case 0:
return &v.state
case 1:
@@ -25701,7 +27532,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.(*InteractiveMessage_ShopMessage); i {
+ switch v := v.(*ListMessage_Section); i {
case 0:
return &v.state
case 1:
@@ -25713,7 +27544,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.(*InteractiveMessage_NativeFlowMessage); i {
+ switch v := v.(*ListMessage_Row); i {
case 0:
return &v.state
case 1:
@@ -25725,7 +27556,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.(*InteractiveMessage_Header); i {
+ switch v := v.(*ListMessage_Product); i {
case 0:
return &v.state
case 1:
@@ -25737,7 +27568,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.(*InteractiveMessage_Footer); i {
+ switch v := v.(*ListMessage_ProductSection); i {
case 0:
return &v.state
case 1:
@@ -25749,7 +27580,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.(*InteractiveMessage_CollectionMessage); i {
+ switch v := v.(*ListMessage_ProductListInfo); i {
case 0:
return &v.state
case 1:
@@ -25761,7 +27592,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.(*InteractiveMessage_Body); i {
+ switch v := v.(*ListMessage_ProductListHeaderImage); i {
case 0:
return &v.state
case 1:
@@ -25773,7 +27604,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.(*InteractiveMessage_NativeFlowMessage_NativeFlowButton); i {
+ switch v := v.(*InteractiveResponseMessage_NativeFlowResponseMessage); i {
case 0:
return &v.state
case 1:
@@ -25785,7 +27616,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.(*HighlyStructuredMessage_HSMLocalizableParameter); i {
+ switch v := v.(*InteractiveResponseMessage_Body); i {
case 0:
return &v.state
case 1:
@@ -25797,7 +27628,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.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime); i {
+ switch v := v.(*InteractiveMessage_ShopMessage); i {
case 0:
return &v.state
case 1:
@@ -25809,7 +27640,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.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency); i {
+ switch v := v.(*InteractiveMessage_NativeFlowMessage); i {
case 0:
return &v.state
case 1:
@@ -25821,7 +27652,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.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch); i {
+ switch v := v.(*InteractiveMessage_Header); i {
case 0:
return &v.state
case 1:
@@ -25833,7 +27664,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.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent); i {
+ switch v := v.(*InteractiveMessage_Footer); i {
case 0:
return &v.state
case 1:
@@ -25845,7 +27676,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.(*ButtonsMessage_Button); i {
+ switch v := v.(*InteractiveMessage_CollectionMessage); i {
case 0:
return &v.state
case 1:
@@ -25857,7 +27688,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.(*ButtonsMessage_Button_NativeFlowInfo); i {
+ switch v := v.(*InteractiveMessage_CarouselMessage); i {
case 0:
return &v.state
case 1:
@@ -25869,7 +27700,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.(*ButtonsMessage_Button_ButtonText); i {
+ switch v := v.(*InteractiveMessage_Body); i {
case 0:
return &v.state
case 1:
@@ -25881,7 +27712,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.(*HydratedTemplateButton_HydratedURLButton); i {
+ switch v := v.(*InteractiveMessage_NativeFlowMessage_NativeFlowButton); i {
case 0:
return &v.state
case 1:
@@ -25893,7 +27724,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.(*HydratedTemplateButton_HydratedQuickReplyButton); i {
+ switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter); i {
case 0:
return &v.state
case 1:
@@ -25905,7 +27736,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.(*HydratedTemplateButton_HydratedCallButton); i {
+ switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime); i {
case 0:
return &v.state
case 1:
@@ -25917,7 +27748,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.(*ContextInfo_UTMInfo); i {
+ switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMCurrency); i {
case 0:
return &v.state
case 1:
@@ -25929,7 +27760,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.(*ContextInfo_ExternalAdReplyInfo); i {
+ switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeUnixEpoch); i {
case 0:
return &v.state
case 1:
@@ -25941,7 +27772,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.(*ContextInfo_AdReplyInfo); i {
+ switch v := v.(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_HSMDateTimeComponent); i {
case 0:
return &v.state
case 1:
@@ -25953,7 +27784,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.(*TemplateButton_URLButton); i {
+ switch v := v.(*ButtonsMessage_Button); i {
case 0:
return &v.state
case 1:
@@ -25965,7 +27796,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.(*TemplateButton_QuickReplyButton); i {
+ switch v := v.(*ButtonsMessage_Button_NativeFlowInfo); i {
case 0:
return &v.state
case 1:
@@ -25977,7 +27808,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.(*TemplateButton_CallButton); i {
+ switch v := v.(*ButtonsMessage_Button_ButtonText); i {
case 0:
return &v.state
case 1:
@@ -25989,7 +27820,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.(*PaymentBackground_MediaData); i {
+ switch v := v.(*HydratedTemplateButton_HydratedURLButton); i {
case 0:
return &v.state
case 1:
@@ -26001,7 +27832,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.(*TemplateMessage_HydratedFourRowTemplate); i {
+ switch v := v.(*HydratedTemplateButton_HydratedQuickReplyButton); i {
case 0:
return &v.state
case 1:
@@ -26013,7 +27844,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.(*TemplateMessage_FourRowTemplate); i {
+ switch v := v.(*HydratedTemplateButton_HydratedCallButton); i {
case 0:
return &v.state
case 1:
@@ -26025,7 +27856,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.(*ProductMessage_ProductSnapshot); i {
+ switch v := v.(*ContextInfo_UTMInfo); i {
case 0:
return &v.state
case 1:
@@ -26037,7 +27868,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.(*ProductMessage_CatalogSnapshot); i {
+ switch v := v.(*ContextInfo_ForwardedNewsletterMessageInfo); i {
case 0:
return &v.state
case 1:
@@ -26049,7 +27880,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.(*PollCreationMessage_Option); i {
+ switch v := v.(*ContextInfo_ExternalAdReplyInfo); i {
case 0:
return &v.state
case 1:
@@ -26061,7 +27892,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.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult); i {
+ switch v := v.(*ContextInfo_BusinessMessageForwardInfo); i {
case 0:
return &v.state
case 1:
@@ -26073,7 +27904,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.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse); i {
+ switch v := v.(*ContextInfo_AdReplyInfo); i {
case 0:
return &v.state
case 1:
@@ -26085,7 +27916,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.(*MsgOpaqueData_PollOption); i {
+ switch v := v.(*TemplateButton_URLButton); i {
case 0:
return &v.state
case 1:
@@ -26097,7 +27928,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.(*VerifiedNameCertificate_Details); i {
+ switch v := v.(*TemplateButton_QuickReplyButton); i {
case 0:
return &v.state
case 1:
@@ -26109,7 +27940,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.(*ClientPayload_WebInfo); i {
+ switch v := v.(*TemplateButton_CallButton); i {
case 0:
return &v.state
case 1:
@@ -26121,7 +27952,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.(*ClientPayload_UserAgent); i {
+ switch v := v.(*PaymentBackground_MediaData); i {
case 0:
return &v.state
case 1:
@@ -26133,7 +27964,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.(*ClientPayload_DevicePairingRegistrationData); i {
+ switch v := v.(*TemplateMessage_HydratedFourRowTemplate); i {
case 0:
return &v.state
case 1:
@@ -26145,7 +27976,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.(*ClientPayload_DNSSource); i {
+ switch v := v.(*TemplateMessage_FourRowTemplate); i {
case 0:
return &v.state
case 1:
@@ -26157,7 +27988,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.(*ClientPayload_WebInfo_WebdPayload); i {
+ switch v := v.(*ProductMessage_ProductSnapshot); i {
case 0:
return &v.state
case 1:
@@ -26169,7 +28000,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.(*ClientPayload_UserAgent_AppVersion); i {
+ switch v := v.(*ProductMessage_CatalogSnapshot); i {
case 0:
return &v.state
case 1:
@@ -26181,7 +28012,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.(*NoiseCertificate_Details); i {
+ switch v := v.(*PollCreationMessage_Option); i {
case 0:
return &v.state
case 1:
@@ -26193,7 +28024,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.(*CertChain_NoiseCertificate); i {
+ switch v := v.(*PeerDataOperationRequestResponseMessage_PeerDataOperationResult); i {
case 0:
return &v.state
case 1:
@@ -26205,6 +28036,210 @@ 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 {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_binary_proto_def_proto_msgTypes[225].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[226].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[227].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[228].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[229].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[230].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[231].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[232].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[233].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[234].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[235].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[236].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[237].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[238].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[239].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[240].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[241].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CertChain_NoiseCertificate_Details); i {
case 0:
return &v.state
@@ -26217,64 +28252,66 @@ func file_binary_proto_def_proto_init() {
}
}
}
- file_binary_proto_def_proto_msgTypes[15].OneofWrappers = []interface{}{
+ file_binary_proto_def_proto_msgTypes[11].OneofWrappers = []interface{}{
(*InteractiveResponseMessage_NativeFlowResponseMessage_)(nil),
}
- file_binary_proto_def_proto_msgTypes[16].OneofWrappers = []interface{}{
+ 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[33].OneofWrappers = []interface{}{
+ file_binary_proto_def_proto_msgTypes[30].OneofWrappers = []interface{}{
(*ButtonsResponseMessage_SelectedDisplayText)(nil),
}
- file_binary_proto_def_proto_msgTypes[34].OneofWrappers = []interface{}{
+ file_binary_proto_def_proto_msgTypes[31].OneofWrappers = []interface{}{
(*ButtonsMessage_Text)(nil),
(*ButtonsMessage_DocumentMessage)(nil),
(*ButtonsMessage_ImageMessage)(nil),
(*ButtonsMessage_VideoMessage)(nil),
(*ButtonsMessage_LocationMessage)(nil),
}
- file_binary_proto_def_proto_msgTypes[44].OneofWrappers = []interface{}{
+ file_binary_proto_def_proto_msgTypes[42].OneofWrappers = []interface{}{
(*InteractiveAnnotation_Location)(nil),
}
- file_binary_proto_def_proto_msgTypes[45].OneofWrappers = []interface{}{
+ file_binary_proto_def_proto_msgTypes[43].OneofWrappers = []interface{}{
(*HydratedTemplateButton_QuickReplyButton)(nil),
(*HydratedTemplateButton_UrlButton)(nil),
(*HydratedTemplateButton_CallButton)(nil),
}
- file_binary_proto_def_proto_msgTypes[51].OneofWrappers = []interface{}{
+ file_binary_proto_def_proto_msgTypes[52].OneofWrappers = []interface{}{
(*TemplateButton_QuickReplyButton_)(nil),
(*TemplateButton_UrlButton)(nil),
(*TemplateButton_CallButton_)(nil),
}
- file_binary_proto_def_proto_msgTypes[58].OneofWrappers = []interface{}{
+ file_binary_proto_def_proto_msgTypes[60].OneofWrappers = []interface{}{
(*TemplateMessage_FourRowTemplate_)(nil),
(*TemplateMessage_HydratedFourRowTemplate_)(nil),
(*TemplateMessage_InteractiveMessageTemplate)(nil),
}
- file_binary_proto_def_proto_msgTypes[184].OneofWrappers = []interface{}{
+ 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[189].OneofWrappers = []interface{}{
+ file_binary_proto_def_proto_msgTypes[198].OneofWrappers = []interface{}{
(*HighlyStructuredMessage_HSMLocalizableParameter_Currency)(nil),
(*HighlyStructuredMessage_HSMLocalizableParameter_DateTime)(nil),
}
- file_binary_proto_def_proto_msgTypes[190].OneofWrappers = []interface{}{
+ file_binary_proto_def_proto_msgTypes[199].OneofWrappers = []interface{}{
(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_Component)(nil),
(*HighlyStructuredMessage_HSMLocalizableParameter_HSMDateTime_UnixEpoch)(nil),
}
- file_binary_proto_def_proto_msgTypes[207].OneofWrappers = []interface{}{
+ file_binary_proto_def_proto_msgTypes[218].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[208].OneofWrappers = []interface{}{
+ file_binary_proto_def_proto_msgTypes[219].OneofWrappers = []interface{}{
(*TemplateMessage_FourRowTemplate_DocumentMessage)(nil),
(*TemplateMessage_FourRowTemplate_HighlyStructuredMessage)(nil),
(*TemplateMessage_FourRowTemplate_ImageMessage)(nil),
@@ -26286,8 +28323,8 @@ func file_binary_proto_def_proto_init() {
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_binary_proto_def_proto_rawDesc,
- NumEnums: 56,
- NumMessages: 225,
+ NumEnums: 63,
+ NumMessages: 242,
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 827172ab..c914646d 100644
--- a/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw
+++ b/vendor/go.mau.fi/whatsmeow/binary/proto/def.pb.raw
Binary files differ
diff --git a/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto b/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto
index cdfc0c35..7e496add 100644
--- a/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto
+++ b/vendor/go.mau.fi/whatsmeow/binary/proto/def.proto
@@ -16,6 +16,7 @@ message ADVSignedDeviceIdentity {
message ADVSignedDeviceIdentityHMAC {
optional bytes details = 1;
optional bytes hmac = 2;
+ optional ADVEncryptionType accountType = 3;
}
message ADVKeyIndexList {
@@ -23,12 +24,19 @@ message ADVKeyIndexList {
optional uint64 timestamp = 2;
optional uint32 currentIndex = 3;
repeated uint32 validIndexes = 4 [packed=true];
+ optional ADVEncryptionType accountType = 5;
}
+enum ADVEncryptionType {
+ E2EE = 0;
+ HOSTED = 1;
+}
message ADVDeviceIdentity {
optional uint32 rawId = 1;
optional uint64 timestamp = 2;
optional uint32 keyIndex = 3;
+ optional ADVEncryptionType accountType = 4;
+ optional ADVEncryptionType deviceType = 5;
}
message DeviceProps {
@@ -51,11 +59,18 @@ message DeviceProps {
IOS_CATALYST = 15;
ANDROID_PHONE = 16;
ANDROID_AMBIGUOUS = 17;
+ WEAR_OS = 18;
+ AR_WRIST = 19;
+ AR_DEVICE = 20;
+ UWP = 21;
+ VR = 22;
}
message HistorySyncConfig {
optional uint32 fullSyncDaysLimit = 1;
optional uint32 fullSyncSizeMbLimit = 2;
optional uint32 storageQuotaMb = 3;
+ optional bool inlineInitialPayloadInE2EeMsg = 4;
+ optional uint32 recentSyncDaysLimit = 5;
}
message AppVersion {
@@ -73,76 +88,6 @@ message DeviceProps {
optional HistorySyncConfig historySyncConfig = 5;
}
-message PeerDataOperationRequestMessage {
- message RequestUrlPreview {
- optional string url = 1;
- }
-
- message RequestStickerReupload {
- optional string fileSha256 = 1;
- }
-
- message HistorySyncOnDemandRequest {
- optional string chatJid = 1;
- optional string oldestMsgId = 2;
- optional bool oldestMsgFromMe = 3;
- optional int32 onDemandMsgCount = 4;
- optional int64 oldestMsgTimestampMs = 5;
- }
-
- optional PeerDataOperationRequestType peerDataOperationRequestType = 1;
- repeated RequestStickerReupload requestStickerReupload = 2;
- repeated RequestUrlPreview requestUrlPreview = 3;
- optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4;
-}
-
-message PaymentInviteMessage {
- enum ServiceType {
- UNKNOWN = 0;
- FBPAY = 1;
- NOVI = 2;
- UPI = 3;
- }
- optional ServiceType serviceType = 1;
- optional int64 expiryTimestamp = 2;
-}
-
-message OrderMessage {
- enum OrderSurface {
- CATALOG = 1;
- }
- enum OrderStatus {
- INQUIRY = 1;
- }
- optional string orderId = 1;
- optional bytes thumbnail = 2;
- optional int32 itemCount = 3;
- optional OrderStatus status = 4;
- optional OrderSurface surface = 5;
- optional string message = 6;
- optional string orderTitle = 7;
- optional string sellerJid = 8;
- optional string token = 9;
- optional int64 totalAmount1000 = 10;
- optional string totalCurrencyCode = 11;
- optional ContextInfo contextInfo = 17;
-}
-
-message LocationMessage {
- optional double degreesLatitude = 1;
- optional double degreesLongitude = 2;
- optional string name = 3;
- optional string address = 4;
- optional string url = 5;
- optional bool isLive = 6;
- optional uint32 accuracyInMeters = 7;
- optional float speedInMps = 8;
- optional uint32 degreesClockwiseFromMagneticNorth = 9;
- optional string comment = 11;
- optional bytes jpegThumbnail = 16;
- optional ContextInfo contextInfo = 17;
-}
-
message LiveLocationMessage {
optional double degreesLatitude = 1;
optional double degreesLongitude = 2;
@@ -250,7 +195,12 @@ message InteractiveResponseMessage {
}
message Body {
+ enum Format {
+ DEFAULT = 0;
+ EXTENSIONS_1 = 1;
+ }
optional string text = 1;
+ optional Format format = 2;
}
optional Body body = 1;
@@ -293,6 +243,7 @@ message InteractiveMessage {
ImageMessage imageMessage = 4;
bytes jpegThumbnail = 6;
VideoMessage videoMessage = 7;
+ LocationMessage locationMessage = 8;
}
}
@@ -306,6 +257,11 @@ message InteractiveMessage {
optional int32 messageVersion = 3;
}
+ message CarouselMessage {
+ repeated InteractiveMessage cards = 1;
+ optional int32 messageVersion = 2;
+ }
+
message Body {
optional string text = 1;
}
@@ -318,6 +274,7 @@ message InteractiveMessage {
ShopMessage shopStorefrontMessage = 4;
CollectionMessage collectionMessage = 5;
NativeFlowMessage nativeFlowMessage = 6;
+ CarouselMessage carouselMessage = 7;
}
}
@@ -374,6 +331,8 @@ message HistorySyncNotification {
optional string originalMessageId = 8;
optional uint32 progress = 9;
optional int64 oldestMsgInChunkTimestampSec = 10;
+ optional bytes initialHistBootstrapInlinePayload = 11;
+ optional string peerDataRequestSessionId = 12;
}
message HighlyStructuredMessage {
@@ -466,13 +425,10 @@ message ExtendedTextMessage {
DEFAULT_SUB = 3;
}
enum FontType {
- SANS_SERIF = 0;
- SERIF = 1;
- NORICAN_REGULAR = 2;
- BRYNDAN_WRITE = 3;
- BEBASNEUE_REGULAR = 4;
- OSWALD_HEAVY = 5;
- DAMION_REGULAR = 6;
+ SYSTEM = 0;
+ SYSTEM_TEXT = 1;
+ FB_SCRIPT = 2;
+ SYSTEM_BOLD = 6;
MORNINGBREEZE_REGULAR = 7;
CALISTOGA_REGULAR = 8;
EXO2_EXTRABOLD = 9;
@@ -510,6 +466,12 @@ message EncReactionMessage {
optional bytes encIv = 3;
}
+message EncCommentMessage {
+ optional MessageKey targetMessageKey = 1;
+ optional bytes encPayload = 2;
+ optional bytes encIv = 3;
+}
+
message DocumentMessage {
optional string url = 1;
optional string mimetype = 2;
@@ -629,6 +591,21 @@ message ButtonsMessage {
}
}
+message BotFeedbackMessage {
+ 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;
+ }
+ optional MessageKey messageKey = 1;
+ optional BotFeedbackKind kind = 2;
+ optional string text = 3;
+}
+
message AudioMessage {
optional string url = 1;
optional string mimetype = 2;
@@ -729,12 +706,20 @@ message GroupMention {
}
message DisappearingMode {
+ enum Trigger {
+ UNKNOWN = 0;
+ CHAT_SETTING = 1;
+ ACCOUNT_SETTING = 2;
+ BULK_CHANGE = 3;
+ }
enum Initiator {
CHANGED_IN_CHAT = 0;
INITIATED_BY_ME = 1;
INITIATED_BY_OTHER = 2;
}
optional Initiator initiator = 1;
+ optional Trigger trigger = 2;
+ optional string initiatorDeviceJid = 3;
}
message DeviceListMetadata {
@@ -752,6 +737,12 @@ 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;
@@ -771,6 +762,11 @@ message ContextInfo {
optional bool renderLargerThumbnail = 11;
optional bool showAdAttribution = 12;
optional string ctwaClid = 13;
+ optional string ref = 14;
+ }
+
+ message BusinessMessageForwardInfo {
+ optional string businessOwnerJid = 1;
}
message AdReplyInfo {
@@ -813,6 +809,27 @@ message ContextInfo {
optional bool isSampled = 39;
repeated GroupMention groupMentions = 40;
optional UTMInfo utm = 41;
+ optional ForwardedNewsletterMessageInfo forwardedNewsletterMessageInfo = 43;
+ optional BusinessMessageForwardInfo businessMessageForwardInfo = 44;
+ optional string smbClientCampaignId = 45;
+}
+
+message BotPluginMetadata {
+ optional bool isPlaceholder = 1;
+}
+
+message BotMetadata {
+ optional BotAvatarMetadata avatarMetadata = 1;
+ optional string personaId = 2;
+ optional BotPluginMetadata pluginMetadata = 3;
+}
+
+message BotAvatarMetadata {
+ optional uint32 sentiment = 1;
+ optional string behaviorGraph = 2;
+ optional uint32 action = 3;
+ optional uint32 intensity = 4;
+ optional uint32 wordCount = 5;
}
message ActionLink {
@@ -935,10 +952,18 @@ message Message {
optional PollCreationMessage pollCreationMessageV2 = 60;
optional ScheduledCallCreationMessage scheduledCallCreationMessage = 61;
optional FutureProofMessage groupMentionedMessage = 62;
- optional PinMessage pinMessage = 63;
+ optional PinInChatMessage pinInChatMessage = 63;
optional PollCreationMessage pollCreationMessageV3 = 64;
optional ScheduledCallEditMessage scheduledCallEditMessage = 65;
optional VideoMessage ptvMessage = 66;
+ optional FutureProofMessage botInvokeMessage = 67;
+ optional EncCommentMessage encCommentMessage = 68;
+}
+
+message MessageSecretMessage {
+ optional sfixed32 version = 1;
+ optional bytes encIv = 2;
+ optional bytes encPayload = 3;
}
message MessageContextInfo {
@@ -946,6 +971,9 @@ message MessageContextInfo {
optional int32 deviceListMetadataVersion = 2;
optional bytes messageSecret = 3;
optional bytes paddingBytes = 4;
+ optional uint32 messageAddOnDurationInSecs = 5;
+ optional bytes botMessageSecret = 6;
+ optional BotMetadata botMetadata = 7;
}
message VideoMessage {
@@ -1048,6 +1076,7 @@ message StickerMessage {
optional ContextInfo contextInfo = 17;
optional int64 stickerSentTs = 18;
optional bool isAvatar = 19;
+ optional bool isAiSticker = 20;
}
message SenderKeyDistributionMessage {
@@ -1117,6 +1146,8 @@ message ProtocolMessage {
MESSAGE_EDIT = 14;
PEER_DATA_OPERATION_REQUEST_MESSAGE = 16;
PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = 17;
+ REQUEST_WELCOME_MESSAGE = 18;
+ BOT_FEEDBACK_MESSAGE = 19;
}
optional MessageKey key = 1;
optional Type type = 2;
@@ -1132,6 +1163,7 @@ message ProtocolMessage {
optional int64 timestampMs = 15;
optional PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16;
optional PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17;
+ optional BotFeedbackMessage botFeedbackMessage = 18;
}
message ProductMessage {
@@ -1194,14 +1226,14 @@ message PollCreationMessage {
optional ContextInfo contextInfo = 5;
}
-message PinMessage {
- enum PinMessageType {
- UNKNOWN_PIN_MESSAGE_TYPE = 0;
+message PinInChatMessage {
+ enum Type {
+ UNKNOWN_TYPE = 0;
PIN_FOR_ALL = 1;
UNPIN_FOR_ALL = 2;
}
optional MessageKey key = 1;
- optional PinMessageType pinMessageType = 2;
+ optional Type type = 2;
optional int64 senderTimestampMs = 3;
}
@@ -1210,10 +1242,25 @@ enum PeerDataOperationRequestType {
SEND_RECENT_STICKER_BOOTSTRAP = 1;
GENERATE_LINK_PREVIEW = 2;
HISTORY_SYNC_ON_DEMAND = 3;
+ PLACEHOLDER_MESSAGE_RESEND = 4;
}
message PeerDataOperationRequestResponseMessage {
message PeerDataOperationResult {
+ message PlaceholderMessageResendResponse {
+ optional bytes webMessageInfoBytes = 1;
+ }
+
message LinkPreviewResponse {
+ message LinkPreviewHighQualityThumbnail {
+ optional string directPath = 1;
+ optional string thumbHash = 2;
+ optional string encThumbHash = 3;
+ optional bytes mediaKey = 4;
+ optional int64 mediaKeyTimestampMs = 5;
+ optional int32 thumbWidth = 6;
+ optional int32 thumbHeight = 7;
+ }
+
optional string url = 1;
optional string title = 2;
optional string description = 3;
@@ -1221,11 +1268,13 @@ message PeerDataOperationRequestResponseMessage {
optional string canonicalUrl = 5;
optional string matchText = 6;
optional string previewType = 7;
+ optional LinkPreviewHighQualityThumbnail hqThumbnail = 8;
}
optional MediaRetryNotification.ResultType mediaUploadResult = 1;
optional StickerMessage stickerMessage = 2;
optional LinkPreviewResponse linkPreviewResponse = 3;
+ optional PlaceholderMessageResendResponse placeholderMessageResendResponse = 4;
}
optional PeerDataOperationRequestType peerDataOperationRequestType = 1;
@@ -1233,6 +1282,82 @@ message PeerDataOperationRequestResponseMessage {
repeated PeerDataOperationResult peerDataOperationResult = 3;
}
+message PeerDataOperationRequestMessage {
+ message RequestUrlPreview {
+ optional string url = 1;
+ optional bool includeHqThumbnail = 2;
+ }
+
+ message RequestStickerReupload {
+ optional string fileSha256 = 1;
+ }
+
+ message PlaceholderMessageResendRequest {
+ optional MessageKey messageKey = 1;
+ }
+
+ message HistorySyncOnDemandRequest {
+ optional string chatJid = 1;
+ optional string oldestMsgId = 2;
+ optional bool oldestMsgFromMe = 3;
+ optional int32 onDemandMsgCount = 4;
+ optional int64 oldestMsgTimestampMs = 5;
+ }
+
+ optional PeerDataOperationRequestType peerDataOperationRequestType = 1;
+ repeated RequestStickerReupload requestStickerReupload = 2;
+ repeated RequestUrlPreview requestUrlPreview = 3;
+ optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4;
+ repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
+}
+
+message PaymentInviteMessage {
+ enum ServiceType {
+ UNKNOWN = 0;
+ FBPAY = 1;
+ NOVI = 2;
+ UPI = 3;
+ }
+ optional ServiceType serviceType = 1;
+ optional int64 expiryTimestamp = 2;
+}
+
+message OrderMessage {
+ enum OrderSurface {
+ CATALOG = 1;
+ }
+ enum OrderStatus {
+ INQUIRY = 1;
+ }
+ optional string orderId = 1;
+ optional bytes thumbnail = 2;
+ optional int32 itemCount = 3;
+ optional OrderStatus status = 4;
+ optional OrderSurface surface = 5;
+ optional string message = 6;
+ optional string orderTitle = 7;
+ optional string sellerJid = 8;
+ optional string token = 9;
+ optional int64 totalAmount1000 = 10;
+ optional string totalCurrencyCode = 11;
+ optional ContextInfo contextInfo = 17;
+}
+
+message LocationMessage {
+ optional double degreesLatitude = 1;
+ optional double degreesLongitude = 2;
+ optional string name = 3;
+ optional string address = 4;
+ optional string url = 5;
+ optional bool isLive = 6;
+ optional uint32 accuracyInMeters = 7;
+ optional float speedInMps = 8;
+ optional uint32 degreesClockwiseFromMagneticNorth = 9;
+ optional string comment = 11;
+ optional bytes jpegThumbnail = 16;
+ optional ContextInfo contextInfo = 17;
+}
+
message EphemeralSetting {
optional sfixed32 duration = 1;
optional sfixed64 timestamp = 2;
@@ -1277,6 +1402,15 @@ message PastParticipant {
optional uint64 leaveTs = 3;
}
+message NotificationSettings {
+ optional string messageVibrate = 1;
+ optional string messagePopup = 2;
+ optional string messageLight = 3;
+ optional bool lowPriorityNotifications = 4;
+ optional bool reactionsMuted = 5;
+ optional string callVibrate = 6;
+}
+
enum MediaVisibility {
DEFAULT = 0;
OFF = 1;
@@ -1332,12 +1466,20 @@ message GlobalSettings {
optional int32 disappearingModeDuration = 9;
optional int64 disappearingModeTimestamp = 10;
optional AvatarUserSettings avatarUserSettings = 11;
+ optional int32 fontSize = 12;
+ optional bool securityNotifications = 13;
+ optional bool autoUnarchiveChats = 14;
+ optional int32 videoQualityMode = 15;
+ optional int32 photoQualityMode = 16;
+ optional NotificationSettings individualNotificationSettings = 17;
+ optional NotificationSettings groupNotificationSettings = 18;
}
message Conversation {
enum EndOfHistoryTransferType {
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
+ COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY = 2;
}
required string id = 1;
repeated HistorySyncMsg messages = 2;
@@ -1395,50 +1537,6 @@ message AutoDownloadSettings {
optional bool downloadDocuments = 4;
}
-// Duplicate type omitted
-//message PollEncValue {
-// optional bytes encPayload = 1;
-// optional bytes encIv = 2;
-//}
-
-message MsgRowOpaqueData {
- optional MsgOpaqueData currentMsg = 1;
- optional MsgOpaqueData quotedMsg = 2;
-}
-
-message MsgOpaqueData {
- message PollOption {
- optional string name = 1;
- }
-
- optional string body = 1;
- optional string caption = 3;
- optional double lng = 5;
- optional bool isLive = 6;
- optional double lat = 7;
- optional int32 paymentAmount1000 = 8;
- optional string paymentNoteMsgBody = 9;
- optional string canonicalUrl = 10;
- optional string matchedText = 11;
- optional string title = 12;
- optional string description = 13;
- optional bytes futureproofBuffer = 14;
- optional string clientUrl = 15;
- optional string loc = 16;
- optional string pollName = 17;
- repeated PollOption pollOptions = 18;
- optional uint32 pollSelectableOptionsCount = 20;
- optional bytes messageSecret = 21;
- optional string originalSelfAuthor = 51;
- optional int64 senderTimestampMs = 22;
- optional string pollUpdateParentKey = 23;
- optional PollEncValue encPollVote = 24;
- optional bool isSentCagPollCreation = 28;
- optional string encReactionTargetMessageKey = 25;
- optional bytes encReactionEncPayload = 26;
- optional bytes encReactionEncIv = 27;
-}
-
message ServerErrorReceipt {
optional string stanzaId = 1;
}
@@ -1570,6 +1668,10 @@ message SyncActionValue {
optional ChatAssignmentAction chatAssignment = 35;
optional ChatAssignmentOpenedStatusAction chatAssignmentOpenedStatus = 36;
optional PnForLidChatAction pnForLidChatAction = 37;
+ optional MarketingMessageAction marketingMessageAction = 38;
+ optional MarketingMessageBroadcastAction marketingMessageBroadcastAction = 39;
+ optional ExternalWebBetaAction externalWebBetaAction = 40;
+ optional PrivacySettingRelayAllCalls privacySettingRelayAllCalls = 41;
}
message UserStatusMuteAction {
@@ -1642,6 +1744,10 @@ message PushNameSetting {
optional string name = 1;
}
+message PrivacySettingRelayAllCalls {
+ optional bool isEnabled = 1;
+}
+
message PrimaryVersionAction {
optional string version = 1;
}
@@ -1668,6 +1774,23 @@ message MuteAction {
optional bool autoMuted = 3;
}
+message MarketingMessageBroadcastAction {
+ optional int32 repliedCount = 1;
+}
+
+message MarketingMessageAction {
+ enum MarketingMessagePrototypeType {
+ PERSONALIZED = 0;
+ }
+ optional string name = 1;
+ optional string message = 2;
+ optional MarketingMessagePrototypeType type = 3;
+ optional int64 createdAt = 4;
+ optional int64 lastSentAt = 5;
+ optional bool isDeleted = 6;
+ optional string mediaId = 7;
+}
+
message MarkChatAsReadAction {
optional bool read = 1;
optional SyncActionMessageRange messageRange = 2;
@@ -1692,6 +1815,10 @@ message KeyExpiration {
optional int32 expiredKeyEpoch = 1;
}
+message ExternalWebBetaAction {
+ optional bool isOptIn = 1;
+}
+
message DeleteMessageForMeAction {
optional bool deleteMedia = 1;
optional int64 messageTimestamp = 2;
@@ -1903,6 +2030,14 @@ message ClientPayload {
ARDEVICE = 30;
VRDEVICE = 31;
BLUE_WEB = 32;
+ IPAD = 33;
+ }
+ enum DeviceType {
+ PHONE = 0;
+ TABLET = 1;
+ DESKTOP = 2;
+ WEARABLE = 3;
+ VR = 4;
}
message AppVersion {
optional uint32 primary = 1;
@@ -1925,12 +2060,21 @@ message ClientPayload {
optional string localeLanguageIso6391 = 11;
optional string localeCountryIso31661Alpha2 = 12;
optional string deviceBoard = 13;
+ optional string deviceExpId = 14;
+ optional DeviceType deviceType = 15;
}
enum Product {
WHATSAPP = 0;
MESSENGER = 1;
+ INTEROP = 2;
+ }
+ message InteropData {
+ optional uint64 accountId = 1;
+ optional uint32 integratorId = 2;
+ optional bytes token = 3;
}
+
enum IOSAppExtension {
SHARE_EXTENSION = 0;
SERVICE_EXTENSION = 1;
@@ -1983,6 +2127,7 @@ message ClientPayload {
ERROR_RECONNECT = 3;
NETWORK_SWITCH = 4;
PING_RECONNECT = 5;
+ UNKNOWN = 6;
}
optional uint64 username = 1;
optional bool passive = 3;
@@ -2010,6 +2155,7 @@ message ClientPayload {
optional bytes paddingBytes = 34;
optional int32 yearClass = 36;
optional int32 memClass = 37;
+ optional InteropData interopData = 38;
}
message WebNotificationsInfo {
@@ -2183,6 +2329,30 @@ message WebMessageInfo {
CAG_INVITE_AUTO_ADD = 159;
BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160;
CAG_INVITE_AUTO_JOINED = 161;
+ SCHEDULED_CALL_START_MESSAGE = 162;
+ COMMUNITY_INVITE_RICH = 163;
+ COMMUNITY_INVITE_AUTO_ADD_RICH = 164;
+ SUB_GROUP_INVITE_RICH = 165;
+ SUB_GROUP_PARTICIPANT_ADD_RICH = 166;
+ COMMUNITY_LINK_PARENT_GROUP_RICH = 167;
+ COMMUNITY_PARTICIPANT_ADD_RICH = 168;
+ SILENCED_UNKNOWN_CALLER_AUDIO = 169;
+ SILENCED_UNKNOWN_CALLER_VIDEO = 170;
+ GROUP_MEMBER_ADD_MODE = 171;
+ GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD = 172;
+ COMMUNITY_CHANGE_DESCRIPTION = 173;
+ SENDER_INVITE = 174;
+ RECEIVER_INVITE = 175;
+ COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS = 176;
+ PINNED_MESSAGE_IN_CHAT = 177;
+ PAYMENT_INVITE_SETUP_INVITER = 178;
+ PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY = 179;
+ PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE = 180;
+ LINKED_GROUP_CALL_START = 181;
+ REPORT_TO_ADMIN_ENABLED_STATUS = 182;
+ EMPTY_SUBGROUP_CREATE = 183;
+ SCHEDULED_CALL_CANCEL = 184;
+ SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH = 185;
}
enum Status {
ERROR = 0;
@@ -2241,6 +2411,7 @@ message WebMessageInfo {
optional KeepInChat keepInChat = 50;
optional string originalSelfAuthorUserJidString = 51;
optional uint64 revokeMessageTimestamp = 52;
+ optional PinInChat pinInChat = 54;
}
message WebFeatures {
@@ -2331,6 +2502,19 @@ message PollAdditionalMetadata {
optional bool pollInvalidated = 1;
}
+message PinInChat {
+ enum Type {
+ UNKNOWN_TYPE = 0;
+ PIN_FOR_ALL = 1;
+ UNPIN_FOR_ALL = 2;
+ }
+ optional Type type = 1;
+ optional MessageKey key = 2;
+ optional int64 senderTimestampMs = 3;
+ optional int64 serverTimestampMs = 4;
+ optional MessageAddOnContextInfo messageAddOnContextInfo = 5;
+}
+
message PhotoChange {
optional bytes oldPhoto = 1;
optional bytes newPhoto = 2;
@@ -2412,6 +2596,10 @@ message NotificationMessageInfo {
optional string participant = 4;
}
+message MessageAddOnContextInfo {
+ optional uint32 messageAddOnDurationInSecs = 1;
+}
+
message MediaData {
optional string localPath = 1;
}
diff --git a/vendor/go.mau.fi/whatsmeow/client.go b/vendor/go.mau.fi/whatsmeow/client.go
index 86581198..ebaf90cc 100644
--- a/vendor/go.mau.fi/whatsmeow/client.go
+++ b/vendor/go.mau.fi/whatsmeow/client.go
@@ -9,7 +9,6 @@ package whatsmeow
import (
"context"
- "crypto/rand"
"encoding/hex"
"errors"
"fmt"
@@ -29,6 +28,7 @@ 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.
@@ -65,6 +65,10 @@ type Client struct {
// even when re-syncing the whole state.
EmitAppStateEventsOnFullSync bool
+ AutomaticMessageRerequestFromPhone bool
+ pendingPhoneRerequests map[types.MessageID]context.CancelFunc
+ pendingPhoneRerequestsLock sync.RWMutex
+
appStateProc *appstate.Processor
appStateSyncLock sync.Mutex
@@ -130,6 +134,8 @@ type Client struct {
// Should SubscribePresence return an error if no privacy token is stored for the user?
ErrorOnSubscribePresenceWithoutToken bool
+ phoneLinkingCache *phoneLinkingCache
+
uniqueID string
idCounter uint32
@@ -161,8 +167,7 @@ func NewClient(deviceStore *store.Device, log waLog.Logger) *Client {
if log == nil {
log = waLog.Noop
}
- randomBytes := make([]byte, 2)
- _, _ = rand.Read(randomBytes)
+ uniqueIDPrefix := randbytes.Make(2)
cli := &Client{
http: &http.Client{
Transport: (http.DefaultTransport.(*http.Transport)).Clone(),
@@ -172,7 +177,7 @@ func NewClient(deviceStore *store.Device, log waLog.Logger) *Client {
Log: log,
recvLog: log.Sub("Recv"),
sendLog: log.Sub("Send"),
- uniqueID: fmt.Sprintf("%d.%d-", randomBytes[0], randomBytes[1]),
+ uniqueID: fmt.Sprintf("%d.%d-", uniqueIDPrefix[0], uniqueIDPrefix[1]),
responseWaiters: make(map[string]chan<- *waBinary.Node),
eventHandlers: make([]wrappedEventHandler, 0, 1),
messageRetries: make(map[string]int),
@@ -190,6 +195,8 @@ func NewClient(deviceStore *store.Device, log waLog.Logger) *Client {
GetMessageForRetry: func(requester, to types.JID, id types.MessageID) *waProto.Message { return nil },
appStateKeyRequests: make(map[string]time.Time),
+ pendingPhoneRerequests: make(map[types.MessageID]context.CancelFunc),
+
EnableAutoReconnect: true,
AutoTrustIdentity: true,
DontSendSelfBroadcast: true,
@@ -547,17 +554,46 @@ func (cli *Client) handleFrame(data []byte) {
cli.handlerQueue <- node
}()
}
- } else {
+ } else if node.Tag != "ack" {
cli.Log.Debugf("Didn't handle WhatsApp node %s", node.Tag)
}
}
+func stopAndDrainTimer(timer *time.Timer) {
+ if !timer.Stop() {
+ select {
+ case <-timer.C:
+ default:
+ }
+ }
+}
+
func (cli *Client) handlerQueueLoop(ctx context.Context) {
+ timer := time.NewTimer(5 * time.Minute)
+ stopAndDrainTimer(timer)
+ cli.Log.Debugf("Starting handler queue loop")
for {
select {
case node := <-cli.handlerQueue:
- cli.nodeHandlers[node.Tag](node)
+ doneChan := make(chan struct{}, 1)
+ go func() {
+ start := time.Now()
+ cli.nodeHandlers[node.Tag](node)
+ duration := time.Since(start)
+ doneChan <- struct{}{}
+ if duration > 5*time.Second {
+ cli.Log.Warnf("Node handling took %s for %s", duration, node.XMLString())
+ }
+ }()
+ timer.Reset(5 * time.Minute)
+ select {
+ case <-doneChan:
+ stopAndDrainTimer(timer)
+ case <-timer.C:
+ cli.Log.Warnf("Node handling is taking long for %s - continuing in background", node.XMLString())
+ }
case <-ctx.Done():
+ cli.Log.Debugf("Closing handler queue loop")
return
}
}
@@ -609,6 +645,13 @@ func (cli *Client) dispatchEvent(evt interface{}) {
// yourNormalEventHandler(evt)
// }
func (cli *Client) ParseWebMessage(chatJID types.JID, webMsg *waProto.WebMessageInfo) (*events.Message, error) {
+ var err error
+ if chatJID.IsEmpty() {
+ chatJID, err = types.ParseJID(webMsg.GetKey().GetRemoteJid())
+ if err != nil {
+ return nil, fmt.Errorf("no chat JID provided and failed to parse remote JID: %w", err)
+ }
+ }
info := types.MessageInfo{
MessageSource: types.MessageSource{
Chat: chatJID,
@@ -619,7 +662,6 @@ func (cli *Client) ParseWebMessage(chatJID types.JID, webMsg *waProto.WebMessage
PushName: webMsg.GetPushName(),
Timestamp: time.Unix(int64(webMsg.GetMessageTimestamp()), 0),
}
- var err error
if info.IsFromMe {
info.Sender = cli.getOwnID().ToNonAD()
if info.Sender.IsEmpty() {
@@ -638,8 +680,9 @@ func (cli *Client) ParseWebMessage(chatJID types.JID, webMsg *waProto.WebMessage
return nil, fmt.Errorf("failed to parse sender of message %s: %v", info.ID, err)
}
evt := &events.Message{
- RawMessage: webMsg.GetMessage(),
- Info: info,
+ RawMessage: webMsg.GetMessage(),
+ SourceWebMsg: webMsg,
+ Info: info,
}
evt.UnwrapRaw()
return evt, nil
diff --git a/vendor/go.mau.fi/whatsmeow/connectionevents.go b/vendor/go.mau.fi/whatsmeow/connectionevents.go
index 3a6d9e29..c20fe42a 100644
--- a/vendor/go.mau.fi/whatsmeow/connectionevents.go
+++ b/vendor/go.mau.fi/whatsmeow/connectionevents.go
@@ -11,6 +11,7 @@ import (
"time"
waBinary "go.mau.fi/whatsmeow/binary"
+ "go.mau.fi/whatsmeow/store"
"go.mau.fi/whatsmeow/types"
"go.mau.fi/whatsmeow/types/events"
)
@@ -79,9 +80,17 @@ func (cli *Client) handleIB(node *waBinary.Node) {
func (cli *Client) handleConnectFailure(node *waBinary.Node) {
ag := node.AttrGetter()
reason := events.ConnectFailureReason(ag.Int("reason"))
- // Let the auto-reconnect happen for 503s, for all other failures block it
- if reason != events.ConnectFailureServiceUnavailable {
+ message := ag.OptionalString("message")
+ willAutoReconnect := true
+ switch {
+ default:
+ // By default, expect a disconnect (i.e. prevent auto-reconnect)
cli.expectDisconnect()
+ willAutoReconnect = false
+ case reason == events.ConnectFailureServiceUnavailable:
+ // Auto-reconnect for 503s
+ case reason == 500 && message == "biz vname fetch error":
+ // These happen for business accounts randomly, also auto-reconnect
}
if reason.IsLoggedOut() {
cli.Log.Infof("Got %s connect failure, sending LoggedOut event and deleting session", reason)
@@ -97,13 +106,13 @@ func (cli *Client) handleConnectFailure(node *waBinary.Node) {
Expire: time.Duration(ag.Int("expire")) * time.Second,
})
} else if reason == events.ConnectFailureClientOutdated {
- cli.Log.Errorf("Client outdated (405) connect failure")
+ cli.Log.Errorf("Client outdated (405) connect failure (client version: %s)", store.GetWAVersion().String())
go cli.dispatchEvent(&events.ClientOutdated{})
- } else if reason == events.ConnectFailureServiceUnavailable {
- cli.Log.Warnf("Got 503 connect failure, assuming automatic reconnect will handle it")
+ } else if willAutoReconnect {
+ cli.Log.Warnf("Got %d/%s connect failure, assuming automatic reconnect will handle it", int(reason), message)
} else {
cli.Log.Warnf("Unknown connect failure: %s", node.XMLString())
- go cli.dispatchEvent(&events.ConnectFailure{Reason: reason, Raw: node})
+ go cli.dispatchEvent(&events.ConnectFailure{Reason: reason, Message: message, Raw: node})
}
}
diff --git a/vendor/go.mau.fi/whatsmeow/download.go b/vendor/go.mau.fi/whatsmeow/download.go
index e9bedd45..3e510be6 100644
--- a/vendor/go.mau.fi/whatsmeow/download.go
+++ b/vendor/go.mau.fi/whatsmeow/download.go
@@ -12,8 +12,10 @@ import (
"encoding/base64"
"fmt"
"io"
+ "net"
"net/http"
"strings"
+ "time"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/reflect/protoreflect"
@@ -233,7 +235,7 @@ 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.downloadEncryptedMedia(url, fileEncSha256); err != nil {
+ if ciphertext, mac, err = cli.downloadEncryptedMediaWithRetries(url, fileEncSha256); err != nil {
} else if err = validateMedia(iv, ciphertext, macKey, mac); err != nil {
@@ -252,6 +254,23 @@ 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) {
+ for retryNum := 0; retryNum < 5; retryNum++ {
+ file, mac, err = cli.downloadEncryptedMedia(url, checksum)
+ if err == nil {
+ return
+ }
+ netErr, ok := err.(net.Error)
+ if !ok {
+ // Not a network error, don't retry
+ return
+ }
+ cli.Log.Warnf("Failed to download media due to network error: %w, retrying...", netErr)
+ time.Sleep(time.Duration(retryNum+1) * time.Second)
+ }
+ 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)
@@ -268,7 +287,9 @@ func (cli *Client) downloadEncryptedMedia(url string, checksum []byte) (file, ma
}
defer resp.Body.Close()
if resp.StatusCode != http.StatusOK {
- if resp.StatusCode == http.StatusNotFound {
+ if resp.StatusCode == http.StatusForbidden {
+ err = ErrMediaDownloadFailedWith403
+ } else if resp.StatusCode == http.StatusNotFound {
err = ErrMediaDownloadFailedWith404
} else if resp.StatusCode == http.StatusGone {
err = ErrMediaDownloadFailedWith410
diff --git a/vendor/go.mau.fi/whatsmeow/errors.go b/vendor/go.mau.fi/whatsmeow/errors.go
index 62227f3b..a5182eef 100644
--- a/vendor/go.mau.fi/whatsmeow/errors.go
+++ b/vendor/go.mau.fi/whatsmeow/errors.go
@@ -29,6 +29,8 @@ var (
ErrNoPushName = errors.New("can't send presence without PushName set")
ErrNoPrivacyToken = errors.New("no privacy token stored")
+
+ ErrAppStateUpdate = errors.New("server returned error updating app state")
)
// Errors that happen while confirming device pairing
@@ -107,6 +109,7 @@ var (
// 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")
ErrNoURLPresent = errors.New("no url present")
diff --git a/vendor/go.mau.fi/whatsmeow/group.go b/vendor/go.mau.fi/whatsmeow/group.go
index c771b5a2..c8f80560 100644
--- a/vendor/go.mau.fi/whatsmeow/group.go
+++ b/vendor/go.mau.fi/whatsmeow/group.go
@@ -57,7 +57,7 @@ func (cli *Client) CreateGroup(req ReqCreateGroup) (*types.GroupInfo, error) {
}
}
if req.CreateKey == "" {
- req.CreateKey = GenerateMessageID()
+ req.CreateKey = cli.GenerateMessageID()
}
if req.IsParent {
if req.DefaultMembershipApprovalMode == "" {
@@ -99,7 +99,7 @@ func (cli *Client) CreateGroup(req ReqCreateGroup) (*types.GroupInfo, error) {
func (cli *Client) UnlinkGroup(parent, child types.JID) error {
_, err := cli.sendGroupIQ(context.TODO(), iqSet, parent, waBinary.Node{
Tag: "unlink",
- Attrs: waBinary.Attrs{"unlink_type": types.GroupLinkChangeTypeSub},
+ Attrs: waBinary.Attrs{"unlink_type": string(types.GroupLinkChangeTypeSub)},
Content: []waBinary.Node{{
Tag: "group",
Attrs: waBinary.Attrs{"jid": child},
@@ -116,7 +116,7 @@ func (cli *Client) LinkGroup(parent, child types.JID) error {
Tag: "links",
Content: []waBinary.Node{{
Tag: "link",
- Attrs: waBinary.Attrs{"link_type": types.GroupLinkChangeTypeSub},
+ Attrs: waBinary.Attrs{"link_type": string(types.GroupLinkChangeTypeSub)},
Content: []waBinary.Node{{
Tag: "group",
Attrs: waBinary.Attrs{"jid": child},
@@ -221,7 +221,7 @@ func (cli *Client) SetGroupName(jid types.JID, name string) error {
//
// The previousID and newID fields are optional. If the previous ID is not specified, this will
// automatically fetch the current group info to find the previous topic ID. If the new ID is not
-// specified, one will be generated with GenerateMessageID().
+// specified, one will be generated with Client.GenerateMessageID().
func (cli *Client) SetGroupTopic(jid types.JID, previousID, newID, topic string) error {
if previousID == "" {
oldInfo, err := cli.GetGroupInfo(jid)
@@ -231,7 +231,7 @@ func (cli *Client) SetGroupTopic(jid types.JID, previousID, newID, topic string)
previousID = oldInfo.TopicID
}
if newID == "" {
- newID = GenerateMessageID()
+ newID = cli.GenerateMessageID()
}
attrs := waBinary.Attrs{
"id": newID,
diff --git a/vendor/go.mau.fi/whatsmeow/internals.go b/vendor/go.mau.fi/whatsmeow/internals.go
index f71e71e5..8227b0ce 100644
--- a/vendor/go.mau.fi/whatsmeow/internals.go
+++ b/vendor/go.mau.fi/whatsmeow/internals.go
@@ -10,6 +10,7 @@ import (
"context"
waBinary "go.mau.fi/whatsmeow/binary"
+ "go.mau.fi/whatsmeow/types"
)
type DangerousInternalClient struct {
@@ -62,6 +63,6 @@ func (int *DangerousInternalClient) RequestAppStateKeys(ctx context.Context, key
int.c.requestAppStateKeys(ctx, keyIDs)
}
-func (int *DangerousInternalClient) SendRetryReceipt(node *waBinary.Node, forceIncludeIdentity bool) {
- int.c.sendRetryReceipt(node, forceIncludeIdentity)
+func (int *DangerousInternalClient) SendRetryReceipt(node *waBinary.Node, info *types.MessageInfo, forceIncludeIdentity bool) {
+ int.c.sendRetryReceipt(node, info, forceIncludeIdentity)
}
diff --git a/vendor/go.mau.fi/whatsmeow/keepalive.go b/vendor/go.mau.fi/whatsmeow/keepalive.go
index d5e40286..48510a12 100644
--- a/vendor/go.mau.fi/whatsmeow/keepalive.go
+++ b/vendor/go.mau.fi/whatsmeow/keepalive.go
@@ -23,10 +23,13 @@ var (
KeepAliveIntervalMin = 20 * time.Second
// KeepAliveIntervalMax specifies the maximum interval for websocket keepalive pings.
KeepAliveIntervalMax = 30 * time.Second
+
+ // KeepAliveMaxFailTime specifies the maximum time to wait before forcing a reconnect if keepalives fail repeatedly.
+ KeepAliveMaxFailTime = 3 * time.Minute
)
func (cli *Client) keepAliveLoop(ctx context.Context) {
- var lastSuccess time.Time
+ lastSuccess := time.Now()
var errorCount int
for {
interval := rand.Int63n(KeepAliveIntervalMax.Milliseconds()-KeepAliveIntervalMin.Milliseconds()) + KeepAliveIntervalMin.Milliseconds()
@@ -41,6 +44,11 @@ func (cli *Client) keepAliveLoop(ctx context.Context) {
ErrorCount: errorCount,
LastSuccess: lastSuccess,
})
+ if cli.EnableAutoReconnect && time.Since(lastSuccess) > KeepAliveMaxFailTime {
+ cli.Log.Debugf("Forcing reconnect due to keepalive failure")
+ cli.Disconnect()
+ go cli.autoReconnect()
+ }
} else {
if errorCount > 0 {
errorCount = 0
diff --git a/vendor/go.mau.fi/whatsmeow/mediaretry.go b/vendor/go.mau.fi/whatsmeow/mediaretry.go
index 167df5f2..dfbffe26 100644
--- a/vendor/go.mau.fi/whatsmeow/mediaretry.go
+++ b/vendor/go.mau.fi/whatsmeow/mediaretry.go
@@ -7,7 +7,6 @@
package whatsmeow
import (
- "crypto/rand"
"fmt"
"google.golang.org/protobuf/proto"
@@ -18,6 +17,7 @@ import (
"go.mau.fi/whatsmeow/types/events"
"go.mau.fi/whatsmeow/util/gcmutil"
"go.mau.fi/whatsmeow/util/hkdfutil"
+ "go.mau.fi/whatsmeow/util/randbytes"
)
func getMediaRetryKey(mediaKey []byte) (cipherKey []byte) {
@@ -34,11 +34,7 @@ func encryptMediaRetryReceipt(messageID types.MessageID, mediaKey []byte) (ciphe
err = fmt.Errorf("failed to marshal payload: %w", err)
return
}
- iv = make([]byte, 12)
- _, err = rand.Read(iv)
- if err != nil {
- panic(err)
- }
+ iv = randbytes.Make(12)
ciphertext, err = gcmutil.Encrypt(getMediaRetryKey(mediaKey), iv, plaintext, []byte(messageID))
return
}
diff --git a/vendor/go.mau.fi/whatsmeow/message.go b/vendor/go.mau.fi/whatsmeow/message.go
index b3ef53b6..fd22c9be 100644
--- a/vendor/go.mau.fi/whatsmeow/message.go
+++ b/vendor/go.mau.fi/whatsmeow/message.go
@@ -9,7 +9,6 @@ package whatsmeow
import (
"bytes"
"compress/zlib"
- "crypto/rand"
"encoding/hex"
"errors"
"fmt"
@@ -31,6 +30,7 @@ import (
"go.mau.fi/whatsmeow/store"
"go.mau.fi/whatsmeow/types"
"go.mau.fi/whatsmeow/types/events"
+ "go.mau.fi/whatsmeow/util/randbytes"
)
var pbSerializer = store.SignalProtobufSerializer
@@ -101,6 +101,7 @@ func (cli *Client) parseMessageInfo(node *waBinary.Node) (*types.MessageInfo, er
info.Timestamp = ag.UnixTime("t")
info.PushName = ag.OptionalString("notify")
info.Category = ag.OptionalString("category")
+ info.Type = ag.OptionalString("type")
if !ag.OK() {
return nil, ag.Error()
}
@@ -125,7 +126,7 @@ func (cli *Client) decryptMessages(info *types.MessageInfo, node *waBinary.Node)
go cli.sendAck(node)
if len(node.GetChildrenByTag("unavailable")) > 0 && len(node.GetChildrenByTag("enc")) == 0 {
cli.Log.Warnf("Unavailable message %s from %s", info.ID, info.SourceString())
- go cli.sendRetryReceipt(node, true)
+ go cli.sendRetryReceipt(node, info, true)
cli.dispatchEvent(&events.UndecryptableMessage{Info: *info, IsUnavailable: true})
return
}
@@ -137,7 +138,8 @@ func (cli *Client) decryptMessages(info *types.MessageInfo, node *waBinary.Node)
if child.Tag != "enc" {
continue
}
- encType, ok := child.Attrs["type"].(string)
+ ag := child.AttrGetter()
+ encType, ok := ag.GetString("type", false)
if !ok {
continue
}
@@ -155,8 +157,13 @@ func (cli *Client) decryptMessages(info *types.MessageInfo, node *waBinary.Node)
if err != nil {
cli.Log.Warnf("Error decrypting message from %s: %v", info.SourceString(), err)
isUnavailable := encType == "skmsg" && !containsDirectMsg && errors.Is(err, signalerror.ErrNoSenderKeyForUser)
- go cli.sendRetryReceipt(node, isUnavailable)
- cli.dispatchEvent(&events.UndecryptableMessage{Info: *info, IsUnavailable: isUnavailable})
+ go cli.sendRetryReceipt(node, info, isUnavailable)
+ decryptFailMode, _ := child.Attrs["decrypt-fail"].(string)
+ cli.dispatchEvent(&events.UndecryptableMessage{
+ Info: *info,
+ IsUnavailable: isUnavailable,
+ DecryptFailMode: events.DecryptFailMode(decryptFailMode),
+ })
return
}
@@ -166,8 +173,12 @@ func (cli *Client) decryptMessages(info *types.MessageInfo, node *waBinary.Node)
cli.Log.Warnf("Error unmarshaling decrypted message from %s: %v", info.SourceString(), err)
continue
}
+ retryCount := ag.OptionalInt("count")
+ if retryCount > 0 {
+ cli.cancelDelayedRequestFromPhone(info.ID)
+ }
- cli.handleDecryptedMessage(info, &msg)
+ cli.handleDecryptedMessage(info, &msg, retryCount)
handled = true
}
if handled {
@@ -246,6 +257,9 @@ func isValidPadding(plaintext []byte) bool {
}
func unpadMessage(plaintext []byte) ([]byte, error) {
+ if len(plaintext) == 0 {
+ return nil, fmt.Errorf("plaintext is empty")
+ }
if checkPadding && !isValidPadding(plaintext) {
return nil, fmt.Errorf("plaintext doesn't have expected padding")
}
@@ -253,11 +267,7 @@ func unpadMessage(plaintext []byte) ([]byte, error) {
}
func padMessage(plaintext []byte) []byte {
- var pad [1]byte
- _, err := rand.Read(pad[:])
- if err != nil {
- panic(err)
- }
+ pad := randbytes.Make(1)
pad[0] &= 0xf
if pad[0] == 0 {
pad[0] = 0xf
@@ -357,6 +367,25 @@ func (cli *Client) handleAppStateSyncKeyShare(keys *waProto.AppStateSyncKeyShare
}
}
+func (cli *Client) handlePlaceholderResendResponse(msg *waProto.PeerDataOperationRequestResponseMessage) {
+ reqID := msg.GetStanzaId()
+ parts := msg.GetPeerDataOperationResult()
+ cli.Log.Debugf("Handling response to placeholder resend request %s with %d items", reqID, len(parts))
+ for i, part := range parts {
+ var webMsg waProto.WebMessageInfo
+ if resp := part.GetPlaceholderMessageResendResponse(); resp == nil {
+ cli.Log.Warnf("Missing response in item #%d of response to %s", i+1, reqID)
+ } else if err := proto.Unmarshal(resp.GetWebMessageInfoBytes(), &webMsg); err != nil {
+ cli.Log.Warnf("Failed to unmarshal protobuf web message in item #%d of response to %s: %v", i+1, reqID, err)
+ } else if msgEvt, err := cli.ParseWebMessage(types.EmptyJID, &webMsg); err != nil {
+ cli.Log.Warnf("Failed to parse web message info in item #%d of response to %s: %v", i+1, reqID, err)
+ } else {
+ msgEvt.UnavailableRequestID = reqID
+ cli.dispatchEvent(msgEvt)
+ }
+ }
+}
+
func (cli *Client) handleProtocolMessage(info *types.MessageInfo, msg *waProto.Message) {
protoMsg := msg.GetProtocolMessage()
@@ -368,6 +397,10 @@ func (cli *Client) handleProtocolMessage(info *types.MessageInfo, msg *waProto.M
go cli.sendProtocolMessageReceipt(info.ID, "hist_sync")
}
+ if protoMsg.GetPeerDataOperationRequestResponseMessage().GetPeerDataOperationRequestType() == waProto.PeerDataOperationRequestType_PLACEHOLDER_MESSAGE_RESEND {
+ go cli.handlePlaceholderResendResponse(protoMsg.GetPeerDataOperationRequestResponseMessage())
+ }
+
if protoMsg.GetAppStateSyncKeyShare() != nil && info.IsFromMe {
go cli.handleAppStateSyncKeyShare(protoMsg.AppStateSyncKeyShare)
}
@@ -472,9 +505,9 @@ func (cli *Client) storeHistoricalMessageSecrets(conversations []*waProto.Conver
}
}
-func (cli *Client) handleDecryptedMessage(info *types.MessageInfo, msg *waProto.Message) {
+func (cli *Client) handleDecryptedMessage(info *types.MessageInfo, msg *waProto.Message, retryCount int) {
cli.processProtocolParts(info, msg)
- evt := &events.Message{Info: *info, RawMessage: msg}
+ evt := &events.Message{Info: *info, RawMessage: msg, RetryCount: retryCount}
cli.dispatchEvent(evt.UnwrapRaw())
}
diff --git a/vendor/go.mau.fi/whatsmeow/msgsecret.go b/vendor/go.mau.fi/whatsmeow/msgsecret.go
index a4cbb17b..5f3e16ac 100644
--- a/vendor/go.mau.fi/whatsmeow/msgsecret.go
+++ b/vendor/go.mau.fi/whatsmeow/msgsecret.go
@@ -7,7 +7,6 @@
package whatsmeow
import (
- "crypto/rand"
"crypto/sha256"
"fmt"
"time"
@@ -19,6 +18,7 @@ import (
"go.mau.fi/whatsmeow/types/events"
"go.mau.fi/whatsmeow/util/gcmutil"
"go.mau.fi/whatsmeow/util/hkdfutil"
+ "go.mau.fi/whatsmeow/util/randbytes"
)
type MsgSecretType string
@@ -107,11 +107,7 @@ func (cli *Client) encryptMsgSecret(chat, origSender types.JID, origMsgID types.
}
secretKey, additionalData := generateMsgSecretKey(useCase, ownID, origMsgID, origSender, baseEncKey)
- iv = make([]byte, 12)
- _, err = rand.Read(iv)
- if err != nil {
- return nil, nil, fmt.Errorf("failed to generate iv: %w", err)
- }
+ iv = randbytes.Make(12)
ciphertext, err = gcmutil.Encrypt(secretKey, iv, plaintext, additionalData)
if err != nil {
return nil, nil, fmt.Errorf("failed to encrypt secret message: %w", err)
@@ -132,7 +128,7 @@ func (cli *Client) encryptMsgSecret(chat, origSender types.JID, origMsgID types.
// }
func (cli *Client) DecryptReaction(reaction *events.Message) (*waProto.ReactionMessage, error) {
encReaction := reaction.Message.GetEncReactionMessage()
- if encReaction != nil {
+ if encReaction == nil {
return nil, ErrNotEncryptedReactionMessage
}
plaintext, err := cli.decryptMsgSecret(reaction, EncSecretReaction, encReaction, encReaction.GetTargetMessageKey())
@@ -225,11 +221,7 @@ func (cli *Client) BuildPollVote(pollInfo *types.MessageInfo, optionNames []stri
//
// resp, err := cli.SendMessage(context.Background(), chat, cli.BuildPollCreation("meow?", []string{"yes", "no"}, 1))
func (cli *Client) BuildPollCreation(name string, optionNames []string, selectableOptionCount int) *waProto.Message {
- msgSecret := make([]byte, 32)
- _, err := rand.Read(msgSecret)
- if err != nil {
- panic(err)
- }
+ msgSecret := randbytes.Make(32)
if selectableOptionCount < 0 || selectableOptionCount > len(optionNames) {
selectableOptionCount = 0
}
diff --git a/vendor/go.mau.fi/whatsmeow/notification.go b/vendor/go.mau.fi/whatsmeow/notification.go
index 567722b5..b455785a 100644
--- a/vendor/go.mau.fi/whatsmeow/notification.go
+++ b/vendor/go.mau.fi/whatsmeow/notification.go
@@ -173,6 +173,11 @@ func (cli *Client) handleAccountSyncNotification(node *waBinary.Node) {
cli.handlePrivacySettingsNotification(&child)
case "devices":
cli.handleOwnDevicesNotification(&child)
+ case "picture":
+ cli.dispatchEvent(&events.Picture{
+ Timestamp: node.AttrGetter().UnixTime("t"),
+ JID: cli.getOwnID().ToNonAD(),
+ })
default:
cli.Log.Debugf("Unhandled account sync item %s", child.Tag)
}
@@ -254,6 +259,8 @@ func (cli *Client) handleNotification(node *waBinary.Node) {
go cli.handleMediaRetryNotification(node)
case "privacy_token":
go cli.handlePrivacyTokenNotification(node)
+ case "link_code_companion_reg":
+ go cli.tryHandleCodePairNotification(node)
// Other types: business, disappearing_mode, server, status, pay, psa
default:
cli.Log.Debugf("Unhandled notification with type %s", notifType)
diff --git a/vendor/go.mau.fi/whatsmeow/pair-code.go b/vendor/go.mau.fi/whatsmeow/pair-code.go
new file mode 100644
index 00000000..183c5304
--- /dev/null
+++ b/vendor/go.mau.fi/whatsmeow/pair-code.go
@@ -0,0 +1,252 @@
+// Copyright (c) 2023 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 (
+ "crypto/aes"
+ "crypto/cipher"
+ "crypto/sha256"
+ "encoding/base32"
+ "fmt"
+ "regexp"
+ "strconv"
+
+ "golang.org/x/crypto/curve25519"
+ "golang.org/x/crypto/pbkdf2"
+
+ waBinary "go.mau.fi/whatsmeow/binary"
+ waProto "go.mau.fi/whatsmeow/binary/proto"
+ "go.mau.fi/whatsmeow/store"
+ "go.mau.fi/whatsmeow/types"
+ "go.mau.fi/whatsmeow/util/hkdfutil"
+ "go.mau.fi/whatsmeow/util/keys"
+ "go.mau.fi/whatsmeow/util/randbytes"
+)
+
+// PairClientType is the type of client to use with PairCode.
+// The type is automatically filled based on store.DeviceProps.PlatformType (which is what QR login uses).
+type PairClientType int
+
+const (
+ PairClientUnknown PairClientType = iota
+ PairClientChrome
+ PairClientEdge
+ PairClientFirefox
+ PairClientIE
+ PairClientOpera
+ PairClientSafari
+ PairClientElectron
+ PairClientUWP
+ PairClientOtherWebClient
+)
+
+func platformTypeToPairClientType(platformType waProto.DeviceProps_PlatformType) PairClientType {
+ switch platformType {
+ case waProto.DeviceProps_CHROME:
+ return PairClientChrome
+ case waProto.DeviceProps_EDGE:
+ return PairClientEdge
+ case waProto.DeviceProps_FIREFOX:
+ return PairClientFirefox
+ case waProto.DeviceProps_IE:
+ return PairClientIE
+ case waProto.DeviceProps_OPERA:
+ return PairClientOpera
+ case waProto.DeviceProps_SAFARI:
+ return PairClientSafari
+ case waProto.DeviceProps_DESKTOP:
+ return PairClientElectron
+ case waProto.DeviceProps_UWP:
+ return PairClientUWP
+ default:
+ return PairClientOtherWebClient
+ }
+}
+
+var notNumbers = regexp.MustCompile("[^0-9]")
+var linkingBase32 = base32.NewEncoding("123456789ABCDEFGHJKLMNPQRSTVWXYZ")
+
+type phoneLinkingCache struct {
+ jid types.JID
+ keyPair *keys.KeyPair
+ linkingCode string
+ pairingRef string
+}
+
+func generateCompanionEphemeralKey() (ephemeralKeyPair *keys.KeyPair, ephemeralKey []byte, encodedLinkingCode string) {
+ ephemeralKeyPair = keys.NewKeyPair()
+ salt := randbytes.Make(32)
+ iv := randbytes.Make(16)
+ linkingCode := randbytes.Make(5)
+ encodedLinkingCode = linkingBase32.EncodeToString(linkingCode)
+ linkCodeKey := pbkdf2.Key([]byte(encodedLinkingCode), salt, 2<<16, 32, sha256.New)
+ linkCipherBlock, _ := aes.NewCipher(linkCodeKey)
+ encryptedPubkey := ephemeralKeyPair.Pub[:]
+ cipher.NewCTR(linkCipherBlock, iv).XORKeyStream(encryptedPubkey, encryptedPubkey)
+ ephemeralKey = make([]byte, 80)
+ copy(ephemeralKey[0:32], salt)
+ copy(ephemeralKey[32:48], iv)
+ copy(ephemeralKey[48:80], encryptedPubkey)
+ return
+}
+
+// PairPhone generates a pairing code that can be used to link to a phone without scanning a QR code.
+//
+// The exact expiry of pairing codes is unknown, but QR codes are always generated and the login websocket is closed
+// after the QR codes run out, which means there's a 160-second time limit. It is recommended to generate the pairing
+// code immediately after connecting to the websocket to have the maximum time.
+//
+// See https://faq.whatsapp.com/1324084875126592 for more info
+func (cli *Client) PairPhone(phone string, showPushNotification bool) (string, error) {
+ clientType := platformTypeToPairClientType(store.DeviceProps.GetPlatformType())
+ clientDisplayName := store.DeviceProps.GetOs()
+
+ ephemeralKeyPair, ephemeralKey, encodedLinkingCode := generateCompanionEphemeralKey()
+ phone = notNumbers.ReplaceAllString(phone, "")
+ jid := types.NewJID(phone, types.DefaultUserServer)
+ resp, err := cli.sendIQ(infoQuery{
+ Namespace: "md",
+ Type: iqSet,
+ To: types.ServerJID,
+ Content: []waBinary.Node{{
+ Tag: "link_code_companion_reg",
+ Attrs: waBinary.Attrs{
+ "jid": jid,
+ "stage": "companion_hello",
+
+ "should_show_push_notification": strconv.FormatBool(showPushNotification),
+ },
+ Content: []waBinary.Node{
+ {Tag: "link_code_pairing_wrapped_companion_ephemeral_pub", Content: ephemeralKey},
+ {Tag: "companion_server_auth_key_pub", Content: cli.Store.NoiseKey.Pub[:]},
+ {Tag: "companion_platform_id", Content: strconv.Itoa(int(clientType))},
+ {Tag: "companion_platform_display", Content: clientDisplayName},
+ {Tag: "link_code_pairing_nonce", Content: []byte{0}},
+ },
+ }},
+ })
+ if err != nil {
+ return "", err
+ }
+ pairingRefNode, ok := resp.GetOptionalChildByTag("link_code_companion_reg", "link_code_pairing_ref")
+ if !ok {
+ return "", &ElementMissingError{Tag: "link_code_pairing_ref", In: "code link registration response"}
+ }
+ pairingRef, ok := pairingRefNode.Content.([]byte)
+ if !ok {
+ return "", fmt.Errorf("unexpected type %T in content of link_code_pairing_ref tag", pairingRefNode.Content)
+ }
+ cli.phoneLinkingCache = &phoneLinkingCache{
+ jid: jid,
+ keyPair: ephemeralKeyPair,
+ linkingCode: encodedLinkingCode,
+ pairingRef: string(pairingRef),
+ }
+ return encodedLinkingCode[0:4] + "-" + encodedLinkingCode[4:], nil
+}
+
+func (cli *Client) tryHandleCodePairNotification(parentNode *waBinary.Node) {
+ err := cli.handleCodePairNotification(parentNode)
+ if err != nil {
+ cli.Log.Errorf("Failed to handle code pair notification: %s", err)
+ }
+}
+
+func (cli *Client) handleCodePairNotification(parentNode *waBinary.Node) error {
+ node, ok := parentNode.GetOptionalChildByTag("link_code_companion_reg")
+ if !ok {
+ return &ElementMissingError{
+ Tag: "link_code_companion_reg",
+ In: "notification",
+ }
+ }
+ linkCache := cli.phoneLinkingCache
+ if linkCache == nil {
+ return fmt.Errorf("received code pair notification without a pending pairing")
+ }
+ linkCodePairingRef, _ := node.GetChildByTag("link_code_pairing_ref").Content.([]byte)
+ if string(linkCodePairingRef) != linkCache.pairingRef {
+ return fmt.Errorf("pairing ref mismatch in code pair notification")
+ }
+ wrappedPrimaryEphemeralPub, ok := node.GetChildByTag("link_code_pairing_wrapped_primary_ephemeral_pub").Content.([]byte)
+ if !ok {
+ return &ElementMissingError{
+ Tag: "link_code_pairing_wrapped_primary_ephemeral_pub",
+ In: "notification",
+ }
+ }
+ primaryIdentityPub, ok := node.GetChildByTag("primary_identity_pub").Content.([]byte)
+ if !ok {
+ return &ElementMissingError{
+ Tag: "primary_identity_pub",
+ In: "notification",
+ }
+ }
+
+ advSecretRandom := randbytes.Make(32)
+ keyBundleSalt := randbytes.Make(32)
+ keyBundleNonce := randbytes.Make(12)
+
+ // Decrypt the primary device's ephemeral public key, which was encrypted with the 8-character pairing code,
+ // then compute the DH shared secret using our ephemeral private key we generated earlier.
+ primarySalt := wrappedPrimaryEphemeralPub[0:32]
+ primaryIV := wrappedPrimaryEphemeralPub[32:48]
+ primaryEncryptedPubkey := wrappedPrimaryEphemeralPub[48:80]
+ linkCodeKey := pbkdf2.Key([]byte(linkCache.linkingCode), primarySalt, 2<<16, 32, sha256.New)
+ linkCipherBlock, err := aes.NewCipher(linkCodeKey)
+ if err != nil {
+ return fmt.Errorf("failed to create link cipher: %w", err)
+ }
+ primaryDecryptedPubkey := make([]byte, 32)
+ cipher.NewCTR(linkCipherBlock, primaryIV).XORKeyStream(primaryDecryptedPubkey, primaryEncryptedPubkey)
+ ephemeralSharedSecret, err := curve25519.X25519(linkCache.keyPair.Priv[:], primaryDecryptedPubkey)
+ if err != nil {
+ return fmt.Errorf("failed to compute ephemeral shared secret: %w", err)
+ }
+
+ // Encrypt and wrap key bundle containing our identity key, the primary device's identity key and the randomness used for the adv key.
+ keyBundleEncryptionKey := hkdfutil.SHA256(ephemeralSharedSecret, keyBundleSalt, []byte("link_code_pairing_key_bundle_encryption_key"), 32)
+ keyBundleCipherBlock, err := aes.NewCipher(keyBundleEncryptionKey)
+ if err != nil {
+ return fmt.Errorf("failed to create key bundle cipher: %w", err)
+ }
+ keyBundleGCM, err := cipher.NewGCM(keyBundleCipherBlock)
+ if err != nil {
+ return fmt.Errorf("failed to create key bundle GCM: %w", err)
+ }
+ plaintextKeyBundle := concatBytes(cli.Store.IdentityKey.Pub[:], primaryIdentityPub, advSecretRandom)
+ encryptedKeyBundle := keyBundleGCM.Seal(nil, keyBundleNonce, plaintextKeyBundle, nil)
+ wrappedKeyBundle := concatBytes(keyBundleSalt, keyBundleNonce, encryptedKeyBundle)
+
+ // Compute the adv secret key (which is used to authenticate the pair-success event later)
+ identitySharedKey, err := curve25519.X25519(cli.Store.IdentityKey.Priv[:], primaryIdentityPub)
+ if err != nil {
+ return fmt.Errorf("failed to compute identity shared key: %w", err)
+ }
+ advSecretInput := append(append(ephemeralSharedSecret, identitySharedKey...), advSecretRandom...)
+ advSecret := hkdfutil.SHA256(advSecretInput, nil, []byte("adv_secret"), 32)
+ cli.Store.AdvSecretKey = advSecret
+
+ _, err = cli.sendIQ(infoQuery{
+ Namespace: "md",
+ Type: iqSet,
+ To: types.ServerJID,
+ Content: []waBinary.Node{{
+ Tag: "link_code_companion_reg",
+ Attrs: waBinary.Attrs{
+ "jid": linkCache.jid,
+ "stage": "companion_finish",
+ },
+ Content: []waBinary.Node{
+ {Tag: "link_code_pairing_wrapped_key_bundle", Content: wrappedKeyBundle},
+ {Tag: "companion_identity_public", Content: cli.Store.IdentityKey.Pub[:]},
+ {Tag: "link_code_pairing_ref", Content: linkCodePairingRef},
+ },
+ }},
+ })
+ return err
+}
diff --git a/vendor/go.mau.fi/whatsmeow/receipt.go b/vendor/go.mau.fi/whatsmeow/receipt.go
index 7e02c0af..8a958c8c 100644
--- a/vendor/go.mau.fi/whatsmeow/receipt.go
+++ b/vendor/go.mau.fi/whatsmeow/receipt.go
@@ -124,6 +124,9 @@ func (cli *Client) sendAck(node *waBinary.Node) {
//
// The first JID parameter (chat) must always be set to the chat ID (user ID in DMs and group ID in group chats).
// The second JID parameter (sender) must be set in group chats and must be the user ID who sent the message.
+//
+// You can mark multiple messages as read at the same time, but only if the messages were sent by the same user.
+// To mark messages by different users as read, you must call MarkRead multiple times (once for each user).
func (cli *Client) MarkRead(ids []types.MessageID, timestamp time.Time, chat, sender types.JID) error {
node := waBinary.Node{
Tag: "receipt",
diff --git a/vendor/go.mau.fi/whatsmeow/retry.go b/vendor/go.mau.fi/whatsmeow/retry.go
index 95104c8f..a729cdab 100644
--- a/vendor/go.mau.fi/whatsmeow/retry.go
+++ b/vendor/go.mau.fi/whatsmeow/retry.go
@@ -169,7 +169,11 @@ func (cli *Client) handleRetryReceipt(receipt *events.Receipt, node *waBinary.No
return fmt.Errorf("didn't get prekey bundle for %s (response size: %d)", senderAD, len(keys))
}
}
- encrypted, includeDeviceIdentity, err := cli.encryptMessageForDevice(plaintext, receipt.Sender, bundle)
+ encAttrs := waBinary.Attrs{}
+ if mediaType := getMediaTypeFromMessage(msg); mediaType != "" {
+ encAttrs["mediatype"] = mediaType
+ }
+ encrypted, includeDeviceIdentity, err := cli.encryptMessageForDevice(plaintext, receipt.Sender, bundle, encAttrs)
if err != nil {
return fmt.Errorf("failed to encrypt message for retry: %w", err)
}
@@ -193,14 +197,10 @@ func (cli *Client) handleRetryReceipt(receipt *events.Receipt, node *waBinary.No
if edit, ok := node.Attrs["edit"]; ok {
attrs["edit"] = edit
}
- content := []waBinary.Node{*encrypted}
- if includeDeviceIdentity {
- content = append(content, cli.makeDeviceIdentityNode())
- }
err = cli.sendNode(waBinary.Node{
Tag: "message",
Attrs: attrs,
- Content: content,
+ Content: cli.getMessageContent(*encrypted, msg, attrs, includeDeviceIdentity),
})
if err != nil {
return fmt.Errorf("failed to send retry message: %w", err)
@@ -209,8 +209,63 @@ func (cli *Client) handleRetryReceipt(receipt *events.Receipt, node *waBinary.No
return nil
}
+func (cli *Client) cancelDelayedRequestFromPhone(msgID types.MessageID) {
+ if !cli.AutomaticMessageRerequestFromPhone {
+ return
+ }
+ cli.pendingPhoneRerequestsLock.RLock()
+ cancelPendingRequest, ok := cli.pendingPhoneRerequests[msgID]
+ if ok {
+ cancelPendingRequest()
+ }
+ cli.pendingPhoneRerequestsLock.RUnlock()
+}
+
+// RequestFromPhoneDelay specifies how long to wait for the sender to resend the message before requesting from your phone.
+// This is only used if Client.AutomaticMessageRerequestFromPhone is true.
+var RequestFromPhoneDelay = 5 * time.Second
+
+func (cli *Client) delayedRequestMessageFromPhone(info *types.MessageInfo) {
+ if !cli.AutomaticMessageRerequestFromPhone {
+ return
+ }
+ cli.pendingPhoneRerequestsLock.Lock()
+ _, alreadyRequesting := cli.pendingPhoneRerequests[info.ID]
+ if alreadyRequesting {
+ cli.pendingPhoneRerequestsLock.Unlock()
+ return
+ }
+ ctx, cancel := context.WithCancel(context.Background())
+ defer cancel()
+ cli.pendingPhoneRerequests[info.ID] = cancel
+ cli.pendingPhoneRerequestsLock.Unlock()
+
+ defer func() {
+ cli.pendingPhoneRerequestsLock.Lock()
+ delete(cli.pendingPhoneRerequests, info.ID)
+ cli.pendingPhoneRerequestsLock.Unlock()
+ }()
+ select {
+ case <-time.After(RequestFromPhoneDelay):
+ case <-ctx.Done():
+ cli.Log.Debugf("Cancelled delayed request for message %s from phone", info.ID)
+ return
+ }
+ _, err := cli.SendMessage(
+ ctx,
+ cli.Store.ID.ToNonAD(),
+ cli.BuildUnavailableMessageRequest(info.Chat, info.Sender, info.ID),
+ SendRequestExtra{Peer: true},
+ )
+ if err != nil {
+ cli.Log.Warnf("Failed to send request for unavailable message %s to phone: %v", info.ID, err)
+ } else {
+ cli.Log.Debugf("Requested message %s from phone", info.ID)
+ }
+}
+
// sendRetryReceipt sends a retry receipt for an incoming message.
-func (cli *Client) sendRetryReceipt(node *waBinary.Node, forceIncludeIdentity bool) {
+func (cli *Client) sendRetryReceipt(node *waBinary.Node, info *types.MessageInfo, forceIncludeIdentity bool) {
id, _ := node.Attrs["id"].(string)
children := node.GetChildren()
var retryCountInMsg int
@@ -231,6 +286,9 @@ func (cli *Client) sendRetryReceipt(node *waBinary.Node, forceIncludeIdentity bo
cli.Log.Warnf("Not sending any more retry receipts for %s", id)
return
}
+ if retryCount == 1 {
+ go cli.delayedRequestMessageFromPhone(info)
+ }
var registrationIDBytes [4]byte
binary.BigEndian.PutUint32(registrationIDBytes[:], cli.Store.RegistrationID)
diff --git a/vendor/go.mau.fi/whatsmeow/send.go b/vendor/go.mau.fi/whatsmeow/send.go
index 96d888be..a4d49f48 100644
--- a/vendor/go.mau.fi/whatsmeow/send.go
+++ b/vendor/go.mau.fi/whatsmeow/send.go
@@ -8,9 +8,9 @@ package whatsmeow
import (
"context"
- "crypto/rand"
"crypto/sha256"
"encoding/base64"
+ "encoding/binary"
"encoding/hex"
"errors"
"fmt"
@@ -30,20 +30,35 @@ import (
waBinary "go.mau.fi/whatsmeow/binary"
waProto "go.mau.fi/whatsmeow/binary/proto"
"go.mau.fi/whatsmeow/types"
+ "go.mau.fi/whatsmeow/types/events"
+ "go.mau.fi/whatsmeow/util/randbytes"
)
// GenerateMessageID generates a random string that can be used as a message ID on WhatsApp.
//
+// msgID := cli.GenerateMessageID()
+// cli.SendMessage(context.Background(), targetJID, &waProto.Message{...}, whatsmeow.SendRequestExtra{ID: msgID})
+func (cli *Client) GenerateMessageID() types.MessageID {
+ data := make([]byte, 8, 8+20+16)
+ binary.BigEndian.PutUint64(data, uint64(time.Now().Unix()))
+ ownID := cli.getOwnID()
+ if !ownID.IsEmpty() {
+ data = append(data, []byte(ownID.User)...)
+ data = append(data, []byte("@c.us")...)
+ }
+ data = append(data, randbytes.Make(16)...)
+ hash := sha256.Sum256(data)
+ return "3EB0" + strings.ToUpper(hex.EncodeToString(hash[:9]))
+}
+
+// GenerateMessageID generates a random string that can be used as a message ID on WhatsApp.
+//
// msgID := whatsmeow.GenerateMessageID()
// cli.SendMessage(context.Background(), targetJID, &waProto.Message{...}, whatsmeow.SendRequestExtra{ID: msgID})
+//
+// Deprecated: WhatsApp web has switched to using a hash of the current timestamp, user id and random bytes. Use Client.GenerateMessageID instead.
func GenerateMessageID() types.MessageID {
- id := make([]byte, 8)
- _, err := rand.Read(id)
- if err != nil {
- // Out of entropy
- panic(err)
- }
- return "3EB0" + strings.ToUpper(hex.EncodeToString(id))
+ return "3EB0" + strings.ToUpper(hex.EncodeToString(randbytes.Make(8)))
}
type MessageDebugTimings struct {
@@ -132,7 +147,7 @@ func (cli *Client) SendMessage(ctx context.Context, to types.JID, message *waPro
}
if len(req.ID) == 0 {
- req.ID = GenerateMessageID()
+ req.ID = cli.GenerateMessageID()
}
resp.ID = req.ID
@@ -216,6 +231,23 @@ func (cli *Client) RevokeMessage(chat types.JID, id types.MessageID) (SendRespon
return cli.SendMessage(context.TODO(), chat, cli.BuildRevoke(chat, types.EmptyJID, id))
}
+// BuildMessageKey builds a MessageKey object, which is used to refer to previous messages
+// for things such as replies, revocations and reactions.
+func (cli *Client) BuildMessageKey(chat, sender types.JID, id types.MessageID) *waProto.MessageKey {
+ key := &waProto.MessageKey{
+ FromMe: proto.Bool(true),
+ Id: proto.String(id),
+ RemoteJid: proto.String(chat.String()),
+ }
+ if !sender.IsEmpty() && sender.User != cli.getOwnID().User {
+ key.FromMe = proto.Bool(false)
+ if chat.Server != types.DefaultUserServer {
+ key.Participant = proto.String(sender.ToNonAD().String())
+ }
+ }
+ return key
+}
+
// BuildRevoke builds a message revocation message using the given variables.
// The built message can be sent normally using Client.SendMessage.
//
@@ -227,25 +259,76 @@ func (cli *Client) RevokeMessage(chat types.JID, id types.MessageID) (SendRespon
//
// resp, err := cli.SendMessage(context.Background(), chat, cli.BuildRevoke(chat, senderJID, originalMessageID)
func (cli *Client) BuildRevoke(chat, sender types.JID, id types.MessageID) *waProto.Message {
- key := &waProto.MessageKey{
- FromMe: proto.Bool(true),
- Id: proto.String(id),
- RemoteJid: proto.String(chat.String()),
+ return &waProto.Message{
+ ProtocolMessage: &waProto.ProtocolMessage{
+ Type: waProto.ProtocolMessage_REVOKE.Enum(),
+ Key: cli.BuildMessageKey(chat, sender, id),
+ },
}
- if !sender.IsEmpty() && sender.User != cli.getOwnID().User {
- key.FromMe = proto.Bool(false)
- if chat.Server != types.DefaultUserServer {
- key.Participant = proto.String(sender.ToNonAD().String())
- }
+}
+
+// BuildReaction builds a message reaction message using the given variables.
+// The built message can be sent normally using Client.SendMessage.
+//
+// resp, err := cli.SendMessage(context.Background(), chat, cli.BuildReaction(chat, senderJID, targetMessageID, "🐈️")
+func (cli *Client) BuildReaction(chat, sender types.JID, id types.MessageID, reaction string) *waProto.Message {
+ return &waProto.Message{
+ ReactionMessage: &waProto.ReactionMessage{
+ Key: cli.BuildMessageKey(chat, sender, id),
+ Text: proto.String(reaction),
+ SenderTimestampMs: proto.Int64(time.Now().UnixMilli()),
+ },
}
+}
+
+// BuildUnavailableMessageRequest builds a message to request the user's primary device to send
+// the copy of a message that this client was unable to decrypt.
+//
+// The built message can be sent using Client.SendMessage, but you must pass whatsmeow.SendRequestExtra{Peer: true} as the last parameter.
+// The full response will come as a ProtocolMessage with type `PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE`.
+// The response events will also be dispatched as normal *events.Message's with UnavailableRequestID set to the request message ID.
+func (cli *Client) BuildUnavailableMessageRequest(chat, sender types.JID, id string) *waProto.Message {
return &waProto.Message{
ProtocolMessage: &waProto.ProtocolMessage{
- Type: waProto.ProtocolMessage_REVOKE.Enum(),
- Key: key,
+ Type: waProto.ProtocolMessage_PEER_DATA_OPERATION_REQUEST_MESSAGE.Enum(),
+ PeerDataOperationRequestMessage: &waProto.PeerDataOperationRequestMessage{
+ PeerDataOperationRequestType: waProto.PeerDataOperationRequestType_PLACEHOLDER_MESSAGE_RESEND.Enum(),
+ PlaceholderMessageResendRequest: []*waProto.PeerDataOperationRequestMessage_PlaceholderMessageResendRequest{{
+ MessageKey: cli.BuildMessageKey(chat, sender, id),
+ }},
+ },
},
}
}
+// BuildHistorySyncRequest builds a message to request additional history from the user's primary device.
+//
+// The built message can be sent using Client.SendMessage, but you must pass whatsmeow.SendRequestExtra{Peer: true} as the last parameter.
+// The response will come as an *events.HistorySync with type `ON_DEMAND`.
+//
+// The response will contain to `count` messages immediately before the given message.
+// The recommended number of messages to request at a time is 50.
+func (cli *Client) BuildHistorySyncRequest(lastKnownMessageInfo *types.MessageInfo, count int) *waProto.Message {
+ return &waProto.Message{
+ ProtocolMessage: &waProto.ProtocolMessage{
+ Type: waProto.ProtocolMessage_PEER_DATA_OPERATION_REQUEST_MESSAGE.Enum(),
+ PeerDataOperationRequestMessage: &waProto.PeerDataOperationRequestMessage{
+ PeerDataOperationRequestType: waProto.PeerDataOperationRequestType_HISTORY_SYNC_ON_DEMAND.Enum(),
+ HistorySyncOnDemandRequest: &waProto.PeerDataOperationRequestMessage_HistorySyncOnDemandRequest{
+ ChatJid: proto.String(lastKnownMessageInfo.Chat.String()),
+ OldestMsgId: proto.String(lastKnownMessageInfo.ID),
+ OldestMsgFromMe: proto.Bool(lastKnownMessageInfo.IsFromMe),
+ OnDemandMsgCount: proto.Int32(int32(count)),
+ OldestMsgTimestampMs: proto.Int64(lastKnownMessageInfo.Timestamp.UnixMilli()),
+ },
+ },
+ },
+ }
+}
+
+// EditWindow specifies how long a message can be edited for after it was sent.
+const EditWindow = 20 * time.Minute
+
// BuildEdit builds a message edit message using the given variables.
// The built message can be sent normally using Client.SendMessage.
//
@@ -399,11 +482,15 @@ func (cli *Client) sendGroup(ctx context.Context, to, ownID types.JID, id types.
phash := participantListHashV2(allDevices)
node.Attrs["phash"] = phash
- node.Content = append(node.GetChildren(), waBinary.Node{
+ skMsg := waBinary.Node{
Tag: "enc",
Content: ciphertext,
Attrs: waBinary.Attrs{"v": "2", "type": "skmsg"},
- })
+ }
+ if mediaType := getMediaTypeFromMessage(message); mediaType != "" {
+ skMsg.Attrs["mediatype"] = mediaType
+ }
+ node.Content = append(node.GetChildren(), skMsg)
start = time.Now()
data, err := cli.sendNodeAndGetData(*node)
@@ -463,16 +550,109 @@ func getTypeFromMessage(msg *waProto.Message) string {
return "reaction"
case msg.PollCreationMessage != nil, msg.PollUpdateMessage != nil:
return "poll"
+ case getMediaTypeFromMessage(msg) != "":
+ return "media"
case msg.Conversation != nil, msg.ExtendedTextMessage != nil, msg.ProtocolMessage != nil:
return "text"
- //TODO this requires setting mediatype in the enc nodes
- //case msg.ImageMessage != nil, msg.DocumentMessage != nil, msg.AudioMessage != nil, msg.VideoMessage != nil:
- // return "media"
default:
return "text"
}
}
+func getMediaTypeFromMessage(msg *waProto.Message) string {
+ switch {
+ case msg.ViewOnceMessage != nil:
+ return getMediaTypeFromMessage(msg.ViewOnceMessage.Message)
+ case msg.ViewOnceMessageV2 != nil:
+ return getMediaTypeFromMessage(msg.ViewOnceMessageV2.Message)
+ case msg.EphemeralMessage != nil:
+ return getMediaTypeFromMessage(msg.EphemeralMessage.Message)
+ case msg.DocumentWithCaptionMessage != nil:
+ return getMediaTypeFromMessage(msg.DocumentWithCaptionMessage.Message)
+ case msg.ExtendedTextMessage != nil && msg.ExtendedTextMessage.Title != nil:
+ return "url"
+ case msg.ImageMessage != nil:
+ return "image"
+ case msg.StickerMessage != nil:
+ return "sticker"
+ case msg.DocumentMessage != nil:
+ return "document"
+ case msg.AudioMessage != nil:
+ if msg.AudioMessage.GetPtt() {
+ return "ptt"
+ } else {
+ return "audio"
+ }
+ case msg.VideoMessage != nil:
+ if msg.VideoMessage.GetGifPlayback() {
+ return "gif"
+ } else {
+ return "video"
+ }
+ case msg.ContactMessage != nil:
+ return "vcard"
+ case msg.ContactsArrayMessage != nil:
+ return "contact_array"
+ case msg.ListMessage != nil:
+ return "list"
+ case msg.ListResponseMessage != nil:
+ return "list_response"
+ case msg.ButtonsResponseMessage != nil:
+ return "buttons_response"
+ case msg.OrderMessage != nil:
+ return "order"
+ case msg.ProductMessage != nil:
+ return "product"
+ case msg.InteractiveResponseMessage != nil:
+ return "native_flow_response"
+ default:
+ return ""
+ }
+}
+
+func getButtonTypeFromMessage(msg *waProto.Message) string {
+ switch {
+ case msg.ViewOnceMessage != nil:
+ return getButtonTypeFromMessage(msg.ViewOnceMessage.Message)
+ case msg.ViewOnceMessageV2 != nil:
+ return getButtonTypeFromMessage(msg.ViewOnceMessageV2.Message)
+ case msg.EphemeralMessage != nil:
+ return getButtonTypeFromMessage(msg.EphemeralMessage.Message)
+ case msg.ButtonsMessage != nil:
+ return "buttons"
+ case msg.ButtonsResponseMessage != nil:
+ return "buttons_response"
+ case msg.ListMessage != nil:
+ return "list"
+ case msg.ListResponseMessage != nil:
+ return "list_response"
+ case msg.InteractiveResponseMessage != nil:
+ return "interactive_response"
+ default:
+ return ""
+ }
+}
+
+func getButtonAttributes(msg *waProto.Message) waBinary.Attrs {
+ switch {
+ case msg.ViewOnceMessage != nil:
+ return getButtonAttributes(msg.ViewOnceMessage.Message)
+ case msg.ViewOnceMessageV2 != nil:
+ return getButtonAttributes(msg.ViewOnceMessageV2.Message)
+ case msg.EphemeralMessage != nil:
+ return getButtonAttributes(msg.EphemeralMessage.Message)
+ case msg.TemplateMessage != nil:
+ return waBinary.Attrs{}
+ case msg.ListMessage != nil:
+ return waBinary.Attrs{
+ "v": "2",
+ "type": strings.ToLower(waProto.ListMessage_ListType_name[int32(msg.ListMessage.GetListType())]),
+ }
+ default:
+ return waBinary.Attrs{}
+ }
+}
+
const (
EditAttributeEmpty = ""
EditAttributeMessageEdit = "1"
@@ -484,6 +664,8 @@ const RemoveReactionText = ""
func getEditAttribute(msg *waProto.Message) string {
switch {
+ case msg.EditedMessage != nil && msg.EditedMessage.Message != nil:
+ return getEditAttribute(msg.EditedMessage.Message)
case msg.ProtocolMessage != nil && msg.ProtocolMessage.GetKey() != nil:
switch msg.ProtocolMessage.GetType() {
case waProto.ProtocolMessage_REVOKE:
@@ -493,7 +675,7 @@ func getEditAttribute(msg *waProto.Message) string {
return EditAttributeAdminRevoke
}
case waProto.ProtocolMessage_MESSAGE_EDIT:
- if msg.EditedMessage != nil {
+ if msg.ProtocolMessage.EditedMessage != nil {
return EditAttributeMessageEdit
}
}
@@ -523,7 +705,7 @@ func (cli *Client) preparePeerMessageNode(to types.JID, id types.MessageID, mess
return nil, err
}
start = time.Now()
- encrypted, isPreKey, err := cli.encryptMessageForDevice(plaintext, to, nil)
+ encrypted, isPreKey, err := cli.encryptMessageForDevice(plaintext, to, nil, nil)
timings.PeerEncrypt = time.Since(start)
if err != nil {
return nil, fmt.Errorf("failed to encrypt peer message for %s: %v", to, err)
@@ -539,6 +721,35 @@ func (cli *Client) preparePeerMessageNode(to types.JID, id types.MessageID, mess
}, nil
}
+func (cli *Client) getMessageContent(baseNode waBinary.Node, message *waProto.Message, msgAttrs waBinary.Attrs, includeIdentity bool) []waBinary.Node {
+ content := []waBinary.Node{baseNode}
+ if includeIdentity {
+ content = append(content, cli.makeDeviceIdentityNode())
+ }
+ if msgAttrs["type"] == "poll" {
+ pollType := "creation"
+ if message.PollUpdateMessage != nil {
+ pollType = "vote"
+ }
+ content = append(content, waBinary.Node{
+ Tag: "meta",
+ Attrs: waBinary.Attrs{
+ "polltype": pollType,
+ },
+ })
+ }
+ if buttonType := getButtonTypeFromMessage(message); buttonType != "" {
+ content = append(content, waBinary.Node{
+ Tag: "biz",
+ Content: []waBinary.Node{{
+ Tag: buttonType,
+ Attrs: getButtonAttributes(message),
+ }},
+ })
+ }
+ return content
+}
+
func (cli *Client) prepareMessageNode(ctx context.Context, to, ownID types.JID, id types.MessageID, message *waProto.Message, participants []types.JID, plaintext, dsmPlaintext []byte, timings *MessageDebugTimings) (*waBinary.Node, []types.JID, error) {
start := time.Now()
allDevices, err := cli.GetUserDevicesContext(ctx, participants)
@@ -547,41 +758,36 @@ func (cli *Client) prepareMessageNode(ctx context.Context, to, ownID types.JID,
return nil, nil, fmt.Errorf("failed to get device list: %w", err)
}
+ msgType := getTypeFromMessage(message)
+ encAttrs := waBinary.Attrs{}
+ // Only include encMediaType for 1:1 messages (groups don't have a device-sent message plaintext)
+ if encMediaType := getMediaTypeFromMessage(message); dsmPlaintext != nil && encMediaType != "" {
+ encAttrs["mediatype"] = encMediaType
+ }
attrs := waBinary.Attrs{
"id": id,
- "type": getTypeFromMessage(message),
+ "type": msgType,
"to": to,
}
if editAttr := getEditAttribute(message); editAttr != "" {
attrs["edit"] = editAttr
+ encAttrs["decrypt-fail"] = string(events.DecryptFailHide)
+ }
+ if msgType == "reaction" {
+ encAttrs["decrypt-fail"] = string(events.DecryptFailHide)
}
start = time.Now()
- participantNodes, includeIdentity := cli.encryptMessageForDevices(ctx, allDevices, ownID, id, plaintext, dsmPlaintext)
+ participantNodes, includeIdentity := cli.encryptMessageForDevices(ctx, allDevices, ownID, id, plaintext, dsmPlaintext, encAttrs)
timings.PeerEncrypt = time.Since(start)
- content := []waBinary.Node{{
+ participantNode := waBinary.Node{
Tag: "participants",
Content: participantNodes,
- }}
- if includeIdentity {
- content = append(content, cli.makeDeviceIdentityNode())
- }
- if attrs["type"] == "poll" {
- pollType := "creation"
- if message.PollUpdateMessage != nil {
- pollType = "vote"
- }
- content = append(content, waBinary.Node{
- Tag: "meta",
- Attrs: waBinary.Attrs{
- "polltype": pollType,
- },
- })
}
return &waBinary.Node{
Tag: "message",
Attrs: attrs,
- Content: content,
+ Content: cli.getMessageContent(participantNode, message, attrs, includeIdentity),
}, allDevices, nil
}
@@ -619,7 +825,7 @@ func (cli *Client) makeDeviceIdentityNode() waBinary.Node {
}
}
-func (cli *Client) encryptMessageForDevices(ctx context.Context, allDevices []types.JID, ownID types.JID, id string, msgPlaintext, dsmPlaintext []byte) ([]waBinary.Node, bool) {
+func (cli *Client) encryptMessageForDevices(ctx context.Context, allDevices []types.JID, ownID types.JID, id string, msgPlaintext, dsmPlaintext []byte, encAttrs waBinary.Attrs) ([]waBinary.Node, bool) {
includeIdentity := false
participantNodes := make([]waBinary.Node, 0, len(allDevices))
var retryDevices []types.JID
@@ -631,7 +837,7 @@ func (cli *Client) encryptMessageForDevices(ctx context.Context, allDevices []ty
}
plaintext = dsmPlaintext
}
- encrypted, isPreKey, err := cli.encryptMessageForDeviceAndWrap(plaintext, jid, nil)
+ encrypted, isPreKey, err := cli.encryptMessageForDeviceAndWrap(plaintext, jid, nil, encAttrs)
if errors.Is(err, ErrNoSession) {
retryDevices = append(retryDevices, jid)
continue
@@ -659,7 +865,7 @@ func (cli *Client) encryptMessageForDevices(ctx context.Context, allDevices []ty
if jid.User == ownID.User && dsmPlaintext != nil {
plaintext = dsmPlaintext
}
- encrypted, isPreKey, err := cli.encryptMessageForDeviceAndWrap(plaintext, jid, resp.bundle)
+ encrypted, isPreKey, err := cli.encryptMessageForDeviceAndWrap(plaintext, jid, resp.bundle, encAttrs)
if err != nil {
cli.Log.Warnf("Failed to encrypt %s for %s (retry): %v", id, jid, err)
continue
@@ -674,8 +880,8 @@ func (cli *Client) encryptMessageForDevices(ctx context.Context, allDevices []ty
return participantNodes, includeIdentity
}
-func (cli *Client) encryptMessageForDeviceAndWrap(plaintext []byte, to types.JID, bundle *prekey.Bundle) (*waBinary.Node, bool, error) {
- node, includeDeviceIdentity, err := cli.encryptMessageForDevice(plaintext, to, bundle)
+func (cli *Client) encryptMessageForDeviceAndWrap(plaintext []byte, to types.JID, bundle *prekey.Bundle, encAttrs waBinary.Attrs) (*waBinary.Node, bool, error) {
+ node, includeDeviceIdentity, err := cli.encryptMessageForDevice(plaintext, to, bundle, encAttrs)
if err != nil {
return nil, false, err
}
@@ -686,7 +892,13 @@ func (cli *Client) encryptMessageForDeviceAndWrap(plaintext []byte, to types.JID
}, includeDeviceIdentity, nil
}
-func (cli *Client) encryptMessageForDevice(plaintext []byte, to types.JID, bundle *prekey.Bundle) (*waBinary.Node, bool, error) {
+func copyAttrs(from, to waBinary.Attrs) {
+ for k, v := range from {
+ to[k] = v
+ }
+}
+
+func (cli *Client) encryptMessageForDevice(plaintext []byte, to types.JID, bundle *prekey.Bundle, extraAttrs waBinary.Attrs) (*waBinary.Node, bool, error) {
builder := session.NewBuilderFromSignal(cli.Store, to.SignalAddress(), pbSerializer)
if bundle != nil {
cli.Log.Debugf("Processing prekey bundle for %s", to)
@@ -708,17 +920,18 @@ func (cli *Client) encryptMessageForDevice(plaintext []byte, to types.JID, bundl
return nil, false, fmt.Errorf("cipher encryption failed: %w", err)
}
- encType := "msg"
+ encAttrs := waBinary.Attrs{
+ "v": "2",
+ "type": "msg",
+ }
if ciphertext.Type() == protocol.PREKEY_TYPE {
- encType = "pkmsg"
+ encAttrs["type"] = "pkmsg"
}
+ copyAttrs(extraAttrs, encAttrs)
return &waBinary.Node{
- Tag: "enc",
- Attrs: waBinary.Attrs{
- "v": "2",
- "type": encType,
- },
+ Tag: "enc",
+ Attrs: encAttrs,
Content: ciphertext.Serialize(),
- }, encType == "pkmsg", nil
+ }, encAttrs["type"] == "pkmsg", nil
}
diff --git a/vendor/go.mau.fi/whatsmeow/store/clientpayload.go b/vendor/go.mau.fi/whatsmeow/store/clientpayload.go
index 9e8b1778..5ef7d2e6 100644
--- a/vendor/go.mau.fi/whatsmeow/store/clientpayload.go
+++ b/vendor/go.mau.fi/whatsmeow/store/clientpayload.go
@@ -74,7 +74,7 @@ func (vc WAVersionContainer) ProtoAppVersion() *waProto.ClientPayload_UserAgent_
}
// waVersion is the WhatsApp web client version
-var waVersion = WAVersionContainer{2, 2310, 5}
+var waVersion = WAVersionContainer{2, 2332, 15}
// waVersionHash is the md5 hash of a dot-separated waVersion
var waVersionHash [16]byte
diff --git a/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go b/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go
index 7f8c6c8f..4fbcec34 100644
--- a/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go
+++ b/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go
@@ -7,7 +7,6 @@
package sqlstore
import (
- "crypto/rand"
"database/sql"
"errors"
"fmt"
@@ -18,6 +17,7 @@ import (
"go.mau.fi/whatsmeow/types"
"go.mau.fi/whatsmeow/util/keys"
waLog "go.mau.fi/whatsmeow/util/log"
+ "go.mau.fi/whatsmeow/util/randbytes"
)
// Container is a wrapper for a SQL database that can contain multiple whatsmeow sessions.
@@ -65,7 +65,12 @@ func New(dialect, address string, log waLog.Logger) (*Container, error) {
// if err != nil {
// panic(err)
// }
-// container, err := sqlstore.NewWithDB(db, "sqlite3", nil)
+// container := sqlstore.NewWithDB(db, "sqlite3", nil)
+//
+// This method does not call Upgrade automatically like New does, so you must call it yourself:
+//
+// container := sqlstore.NewWithDB(...)
+// err := container.Upgrade()
func NewWithDB(db *sql.DB, dialect string, log waLog.Logger) *Container {
if log == nil {
log = waLog.Noop
@@ -205,11 +210,7 @@ func (c *Container) NewDevice() *store.Device {
NoiseKey: keys.NewKeyPair(),
IdentityKey: keys.NewKeyPair(),
RegistrationID: mathRand.Uint32(),
- AdvSecretKey: make([]byte, 32),
- }
- _, err := rand.Read(device.AdvSecretKey)
- if err != nil {
- panic(err)
+ AdvSecretKey: randbytes.Make(32),
}
device.SignedPreKey = device.IdentityKey.CreateSignedPreKey(1)
return device
diff --git a/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go b/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go
index f9f5a287..a6acdfc0 100644
--- a/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go
+++ b/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go
@@ -284,7 +284,8 @@ const (
SET key_data=excluded.key_data, timestamp=excluded.timestamp, fingerprint=excluded.fingerprint
WHERE excluded.timestamp > whatsmeow_app_state_sync_keys.timestamp
`
- getAppStateSyncKeyQuery = `SELECT key_data, timestamp, fingerprint FROM whatsmeow_app_state_sync_keys WHERE jid=$1 AND key_id=$2`
+ getAppStateSyncKeyQuery = `SELECT key_data, timestamp, fingerprint FROM whatsmeow_app_state_sync_keys WHERE jid=$1 AND key_id=$2`
+ getLatestAppStateSyncKeyIDQuery = `SELECT key_id FROM whatsmeow_app_state_sync_keys WHERE jid=$1 ORDER BY timestamp DESC LIMIT 1`
)
func (s *SQLStore) PutAppStateSyncKey(id []byte, key store.AppStateSyncKey) error {
@@ -301,6 +302,15 @@ func (s *SQLStore) GetAppStateSyncKey(id []byte) (*store.AppStateSyncKey, error)
return &key, err
}
+func (s *SQLStore) GetLatestAppStateSyncKeyID() ([]byte, error) {
+ var keyID []byte
+ err := s.db.QueryRow(getLatestAppStateSyncKeyIDQuery, s.JID).Scan(&keyID)
+ if errors.Is(err, sql.ErrNoRows) {
+ return nil, nil
+ }
+ return keyID, err
+}
+
const (
putAppStateVersionQuery = `
INSERT INTO whatsmeow_app_state_version (jid, name, version, hash) VALUES ($1, $2, $3, $4)
diff --git a/vendor/go.mau.fi/whatsmeow/store/store.go b/vendor/go.mau.fi/whatsmeow/store/store.go
index 36a6dce9..49c2176e 100644
--- a/vendor/go.mau.fi/whatsmeow/store/store.go
+++ b/vendor/go.mau.fi/whatsmeow/store/store.go
@@ -55,6 +55,7 @@ type AppStateSyncKey struct {
type AppStateSyncKeyStore interface {
PutAppStateSyncKey(id []byte, key AppStateSyncKey) error
GetAppStateSyncKey(id []byte) (*AppStateSyncKey, error)
+ GetLatestAppStateSyncKeyID() ([]byte, error)
}
type AppStateMutationMAC struct {
diff --git a/vendor/go.mau.fi/whatsmeow/types/events/appstate.go b/vendor/go.mau.fi/whatsmeow/types/events/appstate.go
index d462d6f3..285e546b 100644
--- a/vendor/go.mau.fi/whatsmeow/types/events/appstate.go
+++ b/vendor/go.mau.fi/whatsmeow/types/events/appstate.go
@@ -19,7 +19,8 @@ type Contact struct {
JID types.JID // The contact who was modified.
Timestamp time.Time // The time when the modification happened.'
- Action *waProto.ContactAction // The new contact info.
+ Action *waProto.ContactAction // The new contact info.
+ FromFullSync bool // Whether the action is emitted because of a fullSync
}
// PushName is emitted when a message is received with a different push name than the previous value cached for the same user.
@@ -43,7 +44,8 @@ type Pin struct {
JID types.JID // The chat which was pinned or unpinned.
Timestamp time.Time // The time when the (un)pinning happened.
- Action *waProto.PinAction // Whether the chat is now pinned or not.
+ Action *waProto.PinAction // Whether the chat is now pinned or not.
+ FromFullSync bool // Whether the action is emitted because of a fullSync
}
// Star is emitted when a message is starred or unstarred from another device.
@@ -54,7 +56,8 @@ type Star struct {
MessageID string // The message which was starred or unstarred.
Timestamp time.Time // The time when the (un)starring happened.
- Action *waProto.StarAction // Whether the message is now starred or not.
+ Action *waProto.StarAction // Whether the message is now starred or not.
+ FromFullSync bool // Whether the action is emitted because of a fullSync
}
// DeleteForMe is emitted when a message is deleted (for the current user only) from another device.
@@ -65,7 +68,8 @@ type DeleteForMe struct {
MessageID string // The message which was deleted.
Timestamp time.Time // The time when the deletion happened.
- Action *waProto.DeleteMessageForMeAction // Additional information for the deletion.
+ Action *waProto.DeleteMessageForMeAction // Additional information for the deletion.
+ FromFullSync bool // Whether the action is emitted because of a fullSync
}
// Mute is emitted when a chat is muted or unmuted from another device.
@@ -73,7 +77,8 @@ type Mute struct {
JID types.JID // The chat which was muted or unmuted.
Timestamp time.Time // The time when the (un)muting happened.
- Action *waProto.MuteAction // The current mute status of the chat.
+ Action *waProto.MuteAction // The current mute status of the chat.
+ FromFullSync bool // Whether the action is emitted because of a fullSync
}
// Archive is emitted when a chat is archived or unarchived from another device.
@@ -81,7 +86,8 @@ type Archive struct {
JID types.JID // The chat which was archived or unarchived.
Timestamp time.Time // The time when the (un)archiving happened.
- Action *waProto.ArchiveChatAction // The current archival status of the chat.
+ Action *waProto.ArchiveChatAction // The current archival status of the chat.
+ FromFullSync bool // Whether the action is emitted because of a fullSync
}
// MarkChatAsRead is emitted when a whole chat is marked as read or unread from another device.
@@ -89,7 +95,17 @@ type MarkChatAsRead struct {
JID types.JID // The chat which was marked as read or unread.
Timestamp time.Time // The time when the marking happened.
- Action *waProto.MarkChatAsReadAction // Whether the chat was marked as read or unread, and info about the most recent messages.
+ Action *waProto.MarkChatAsReadAction // Whether the chat was marked as read or unread, and info about the most recent messages.
+ FromFullSync bool // Whether the action is emitted because of a fullSync
+}
+
+// ClearChat is emitted when a chat is cleared on another device. This is different from DeleteChat.
+type ClearChat struct {
+ JID types.JID // The chat which was cleared.
+ Timestamp time.Time // The time when the clear happened.
+
+ Action *waProto.ClearChatAction // Information about the clear.
+ FromFullSync bool // Whether the action is emitted because of a fullSync
}
// DeleteChat is emitted when a chat is deleted on another device.
@@ -97,21 +113,33 @@ type DeleteChat struct {
JID types.JID // The chat which was deleted.
Timestamp time.Time // The time when the deletion happened.
- Action *waProto.DeleteChatAction // Information about the deletion.
+ Action *waProto.DeleteChatAction // Information about the deletion.
+ FromFullSync bool // Whether the action is emitted because of a fullSync
}
// PushNameSetting is emitted when the user's push name is changed from another device.
type PushNameSetting struct {
Timestamp time.Time // The time when the push name was changed.
- Action *waProto.PushNameSetting // The new push name for the user.
+ Action *waProto.PushNameSetting // The new push name for the user.
+ FromFullSync bool // Whether the action is emitted because of a fullSync
}
// UnarchiveChatsSetting is emitted when the user changes the "Keep chats archived" setting from another device.
type UnarchiveChatsSetting struct {
Timestamp time.Time // The time when the setting was changed.
- Action *waProto.UnarchiveChatsSetting // The new settings.
+ Action *waProto.UnarchiveChatsSetting // The new settings.
+ FromFullSync bool // Whether the action is emitted because of a fullSync
+}
+
+// UserStatusMute is emitted when the user mutes or unmutes another user's status updates.
+type UserStatusMute struct {
+ JID types.JID // The user who was muted or unmuted
+ Timestamp time.Time // The timestamp when the action happened
+
+ Action *waProto.UserStatusMuteAction // The new mute status
+ FromFullSync bool // Whether the action is emitted because of a fullSync
}
// AppState is emitted directly for new data received from app state syncing.
diff --git a/vendor/go.mau.fi/whatsmeow/types/events/events.go b/vendor/go.mau.fi/whatsmeow/types/events/events.go
index 4ec38d20..e1124e85 100644
--- a/vendor/go.mau.fi/whatsmeow/types/events/events.go
+++ b/vendor/go.mau.fi/whatsmeow/types/events/events.go
@@ -176,8 +176,9 @@ func (cfr ConnectFailureReason) String() string {
//
// Known reasons are handled internally and emitted as different events (e.g. LoggedOut and TemporaryBan).
type ConnectFailure struct {
- Reason ConnectFailureReason
- Raw *waBinary.Node
+ Reason ConnectFailureReason
+ Message string
+ Raw *waBinary.Node
}
// ClientOutdated is emitted when the WhatsApp server rejects the connection with the ConnectFailureClientOutdated code.
@@ -199,6 +200,13 @@ type HistorySync struct {
Data *waProto.HistorySync
}
+type DecryptFailMode string
+
+const (
+ DecryptFailShow DecryptFailMode = ""
+ DecryptFailHide DecryptFailMode = "hide"
+)
+
// UndecryptableMessage is emitted when receiving a new message that failed to decrypt.
//
// The library will automatically ask the sender to retry. If the sender resends the message,
@@ -211,6 +219,8 @@ type UndecryptableMessage struct {
// IsUnavailable is true if the recipient device didn't send a ciphertext to this device at all
// (as opposed to sending a ciphertext, but the ciphertext not being decryptable).
IsUnavailable bool
+
+ DecryptFailMode DecryptFailMode
}
// Message is emitted when receiving a new message.
@@ -224,6 +234,13 @@ type Message struct {
IsDocumentWithCaption bool // True if the message was unwrapped from a DocumentWithCaptionMessage
IsEdit bool // True if the message was unwrapped from an EditedMessage
+ // If this event was parsed from a WebMessageInfo (i.e. from a history sync or unavailable message request), the source data is here.
+ SourceWebMsg *waProto.WebMessageInfo
+ // If this event is a response to an unavailable message request, the request ID is here.
+ UnavailableRequestID types.MessageID
+ // If the message was re-requested from the sender, this is the number of retries it took.
+ RetryCount int
+
// The raw message struct. This is the raw unmodified data, which means the actual message might
// be wrapped in DeviceSentMessage, EphemeralMessage or ViewOnceMessage.
RawMessage *waProto.Message
diff --git a/vendor/go.mau.fi/whatsmeow/upload.go b/vendor/go.mau.fi/whatsmeow/upload.go
index c72025f0..8bdc1543 100644
--- a/vendor/go.mau.fi/whatsmeow/upload.go
+++ b/vendor/go.mau.fi/whatsmeow/upload.go
@@ -10,7 +10,6 @@ import (
"bytes"
"context"
"crypto/hmac"
- "crypto/rand"
"crypto/sha256"
"encoding/base64"
"encoding/json"
@@ -20,6 +19,7 @@ import (
"go.mau.fi/whatsmeow/socket"
"go.mau.fi/whatsmeow/util/cbcutil"
+ "go.mau.fi/whatsmeow/util/randbytes"
)
// UploadResponse contains the data from the attachment upload, which can be put into a message to send the attachment.
@@ -62,11 +62,7 @@ type UploadResponse struct {
// The same applies to the other message types like DocumentMessage, just replace the struct type and Message field name.
func (cli *Client) Upload(ctx context.Context, plaintext []byte, appInfo MediaType) (resp UploadResponse, err error) {
resp.FileLength = uint64(len(plaintext))
- resp.MediaKey = make([]byte, 32)
- _, err = rand.Read(resp.MediaKey)
- if err != nil {
- return
- }
+ resp.MediaKey = randbytes.Make(32)
plaintextSHA256 := sha256.Sum256(plaintext)
resp.FileSHA256 = plaintextSHA256[:]
diff --git a/vendor/go.mau.fi/whatsmeow/util/keys/keypair.go b/vendor/go.mau.fi/whatsmeow/util/keys/keypair.go
index 55679ff2..75b050aa 100644
--- a/vendor/go.mau.fi/whatsmeow/util/keys/keypair.go
+++ b/vendor/go.mau.fi/whatsmeow/util/keys/keypair.go
@@ -8,11 +8,10 @@
package keys
import (
- "crypto/rand"
- "fmt"
-
"go.mau.fi/libsignal/ecc"
"golang.org/x/crypto/curve25519"
+
+ "go.mau.fi/whatsmeow/util/randbytes"
)
type KeyPair struct {
@@ -32,12 +31,7 @@ func NewKeyPairFromPrivateKey(priv [32]byte) *KeyPair {
}
func NewKeyPair() *KeyPair {
- var priv [32]byte
-
- _, err := rand.Read(priv[:])
- if err != nil {
- panic(fmt.Errorf("failed to generate curve25519 private key: %w", err))
- }
+ priv := *(*[32]byte)(randbytes.Make(32))
priv[0] &= 248
priv[31] &= 127
diff --git a/vendor/go.mau.fi/whatsmeow/util/randbytes/randbytes.go b/vendor/go.mau.fi/whatsmeow/util/randbytes/randbytes.go
new file mode 100644
index 00000000..befcd4e9
--- /dev/null
+++ b/vendor/go.mau.fi/whatsmeow/util/randbytes/randbytes.go
@@ -0,0 +1,15 @@
+package randbytes
+
+import (
+ "crypto/rand"
+ "fmt"
+)
+
+func Make(length int) []byte {
+ random := make([]byte, length)
+ _, err := rand.Read(random)
+ if err != nil {
+ panic(fmt.Errorf("failed to get random bytes: %w", err))
+ }
+ return random
+}