slidge-whatsapp 0.3.0b0__cp311-cp311-manylinux_2_36_aarch64.whl → 0.3.4__cp311-cp311-manylinux_2_36_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of slidge-whatsapp might be problematic. Click here for more details.

Files changed (167) hide show
  1. slidge_whatsapp/contact.py +2 -0
  2. slidge_whatsapp/event.go +72 -22
  3. slidge_whatsapp/generated/_whatsapp.cpython-311-aarch64-linux-gnu.h +199 -199
  4. slidge_whatsapp/generated/_whatsapp.cpython-311-aarch64-linux-gnu.so +0 -0
  5. slidge_whatsapp/generated/build.py +156 -156
  6. slidge_whatsapp/generated/go.py +1 -1
  7. slidge_whatsapp/generated/whatsapp.c +1543 -1543
  8. slidge_whatsapp/generated/whatsapp.go +1203 -1203
  9. slidge_whatsapp/generated/whatsapp.py +1377 -1377
  10. slidge_whatsapp/generated/whatsapp_go.h +199 -199
  11. slidge_whatsapp/go.mod +11 -11
  12. slidge_whatsapp/go.sum +26 -26
  13. slidge_whatsapp/session.go +4 -4
  14. slidge_whatsapp/vendor/github.com/ebitengine/purego/README.md +21 -5
  15. slidge_whatsapp/vendor/github.com/ebitengine/purego/abi_loong64.h +60 -0
  16. slidge_whatsapp/vendor/github.com/ebitengine/purego/cgo.go +1 -1
  17. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlerror.go +1 -1
  18. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn.go +1 -1
  19. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_netbsd.go +15 -0
  20. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_nocgo_netbsd.go +9 -0
  21. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_stubs.s +1 -1
  22. slidge_whatsapp/vendor/github.com/ebitengine/purego/func.go +113 -60
  23. slidge_whatsapp/vendor/github.com/ebitengine/purego/gen.go +6 -0
  24. slidge_whatsapp/vendor/github.com/ebitengine/purego/go_runtime.go +1 -1
  25. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/dlfcn_cgo_unix.go +2 -2
  26. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/syscall_cgo_unix.go +2 -2
  27. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/abi_loong64.h +60 -0
  28. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/asm_loong64.s +40 -0
  29. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/callbacks.go +1 -1
  30. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/doc.go +1 -1
  31. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_libinit.go +1 -1
  32. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_linux_loong64.go +92 -0
  33. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_netbsd.go +106 -0
  34. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_setenv.go +1 -1
  35. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_util.go +1 -1
  36. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/iscgo.go +1 -1
  37. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo.go +1 -1
  38. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_darwin.go +4 -0
  39. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_freebsd.go +4 -0
  40. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_linux.go +4 -0
  41. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_netbsd.go +26 -0
  42. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/netbsd.go +23 -0
  43. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/setenv.go +1 -1
  44. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols.go +11 -1
  45. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_darwin.go +1 -0
  46. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_freebsd.go +1 -0
  47. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_linux.go +1 -0
  48. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_netbsd.go +30 -0
  49. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_loong64.s +71 -0
  50. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_stubs.s +5 -1
  51. slidge_whatsapp/vendor/github.com/ebitengine/purego/nocgo.go +1 -1
  52. slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_amd64.go +8 -4
  53. slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_arm64.go +16 -6
  54. slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_loong64.go +190 -0
  55. slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_other.go +6 -2
  56. slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_amd64.s +1 -1
  57. slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_arm64.s +1 -1
  58. slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_loong64.s +96 -0
  59. slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_unix_arm64.s +1 -1
  60. slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_unix_loong64.s +75 -0
  61. slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall.go +6 -3
  62. slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_cgo_linux.go +3 -3
  63. slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_sysv.go +13 -10
  64. slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_windows.go +1 -1
  65. slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_amd64.s +2002 -2002
  66. slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_arm64.s +4002 -4002
  67. slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_loong64.s +4014 -0
  68. slidge_whatsapp/vendor/go.mau.fi/libsignal/session/SessionCipher.go +7 -2
  69. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/log.go +1 -0
  70. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/module.go +119 -0
  71. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgradetable.go +3 -34
  72. slidge_whatsapp/vendor/go.mau.fi/util/exbytes/string.go +20 -0
  73. slidge_whatsapp/vendor/go.mau.fi/util/exbytes/writer.go +78 -0
  74. slidge_whatsapp/vendor/go.mau.fi/util/exslices/cast.go +42 -0
  75. slidge_whatsapp/vendor/go.mau.fi/util/exslices/chunk.go +28 -0
  76. slidge_whatsapp/vendor/go.mau.fi/util/exslices/deduplicate.go +67 -0
  77. slidge_whatsapp/vendor/go.mau.fi/util/exslices/diff.go +63 -0
  78. slidge_whatsapp/vendor/go.mau.fi/util/exsync/event.go +15 -1
  79. slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncmap.go +48 -7
  80. slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncset.go +13 -0
  81. slidge_whatsapp/vendor/go.mau.fi/util/jsontime/helpers.go +16 -5
  82. slidge_whatsapp/vendor/go.mau.fi/util/jsontime/integer.go +27 -12
  83. slidge_whatsapp/vendor/go.mau.fi/util/random/string.go +47 -7
  84. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/decode.go +1 -0
  85. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/encode.go +60 -15
  86. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/hash.go +1 -0
  87. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate.go +20 -2
  88. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/armadillomessage.go +2 -2
  89. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/call.go +6 -0
  90. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/errors.go +1 -0
  91. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/group.go +63 -42
  92. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/internals.go +31 -15
  93. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/message.go +77 -26
  94. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/msgsecret.go +23 -0
  95. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/notification.go +5 -1
  96. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair.go +22 -23
  97. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/prekeys.go +21 -0
  98. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAICommon/WAAICommon.pb.go +7747 -0
  99. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/{waBotMetadata/WABotMetadata.proto → waAICommon/WAAICommon.proto} +269 -9
  100. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.go +128 -14
  101. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto +10 -0
  102. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go +8953 -10087
  103. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto +216 -330
  104. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go +11 -2
  105. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto +1 -0
  106. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.pb.go +226 -83
  107. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.proto +14 -0
  108. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.go +709 -449
  109. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto +24 -0
  110. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go +78 -24
  111. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.proto +6 -0
  112. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go +528 -267
  113. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto +24 -0
  114. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/receipt.go +47 -14
  115. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/request.go +4 -0
  116. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/retry.go +6 -13
  117. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/send.go +130 -62
  118. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/sendfb.go +33 -32
  119. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/clientpayload.go +1 -1
  120. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/noop.go +16 -0
  121. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sessioncache.go +125 -0
  122. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/signal.go +8 -0
  123. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/lidmap.go +82 -4
  124. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go +135 -55
  125. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/00-latest-schema.sql +8 -7
  126. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/11-redacted-phone-contacts.sql +2 -0
  127. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/store.go +24 -2
  128. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/call.go +6 -5
  129. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/jid.go +24 -9
  130. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/message.go +7 -1
  131. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/user.go +3 -0
  132. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/user.go +43 -3
  133. slidge_whatsapp/vendor/golang.org/x/crypto/curve25519/curve25519.go +7 -4
  134. slidge_whatsapp/vendor/golang.org/x/net/http2/config.go +11 -6
  135. slidge_whatsapp/vendor/golang.org/x/net/http2/config_go125.go +15 -0
  136. slidge_whatsapp/vendor/golang.org/x/net/http2/config_go126.go +15 -0
  137. slidge_whatsapp/vendor/golang.org/x/net/http2/frame.go +24 -1
  138. slidge_whatsapp/vendor/golang.org/x/net/http2/http2.go +0 -1
  139. slidge_whatsapp/vendor/golang.org/x/net/http2/server.go +35 -26
  140. slidge_whatsapp/vendor/golang.org/x/net/http2/transport.go +4 -2
  141. slidge_whatsapp/vendor/golang.org/x/net/http2/writesched.go +2 -0
  142. slidge_whatsapp/vendor/golang.org/x/net/http2/{writesched_priority.go → writesched_priority_rfc7540.go} +52 -52
  143. slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_priority_rfc9128.go +209 -0
  144. slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_roundrobin.go +1 -1
  145. slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/request.go +2 -2
  146. slidge_whatsapp/vendor/golang.org/x/net/internal/socks/socks.go +1 -1
  147. slidge_whatsapp/vendor/golang.org/x/sys/unix/affinity_linux.go +9 -0
  148. slidge_whatsapp/vendor/golang.org/x/sys/unix/fdset.go +1 -3
  149. slidge_whatsapp/vendor/golang.org/x/sys/unix/ifreq_linux.go +1 -3
  150. slidge_whatsapp/vendor/golang.org/x/sys/unix/mkall.sh +1 -0
  151. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux.go +1 -3
  152. slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd.go +17 -0
  153. slidge_whatsapp/vendor/golang.org/x/sys/windows/syscall_windows.go +2 -0
  154. slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows.go +16 -0
  155. slidge_whatsapp/vendor/golang.org/x/sys/windows/zsyscall_windows.go +18 -0
  156. slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/core.go +2 -9
  157. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc.go +35 -17
  158. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go +14 -0
  159. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go +20 -0
  160. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/version/version.go +1 -1
  161. slidge_whatsapp/vendor/modules.txt +15 -13
  162. {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.4.dist-info}/METADATA +4 -3
  163. {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.4.dist-info}/RECORD +166 -138
  164. {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.4.dist-info}/WHEEL +1 -1
  165. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waBotMetadata/WABotMetadata.pb.go +0 -5156
  166. {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.4.dist-info}/entry_points.txt +0 -0
  167. {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.4.dist-info/licenses}/LICENSE +0 -0
@@ -2,13 +2,18 @@ syntax = "proto2";
2
2
  package WAWebProtobufsE2E;
3
3
  option go_package = "go.mau.fi/whatsmeow/proto/waE2E";
4
4
 
5
+ import "waAICommon/WAAICommon.proto";
5
6
  import "waAdv/WAAdv.proto";
6
- import "waBotMetadata/WABotMetadata.proto";
7
7
  import "waCompanionReg/WACompanionReg.proto";
8
8
  import "waMmsRetry/WAMmsRetry.proto";
9
9
  import "waCommon/WACommon.proto";
10
10
  import "waStatusAttributions/WAStatusAttributions.proto";
11
11
 
12
+ enum PollType {
13
+ POLL = 0;
14
+ QUIZ = 1;
15
+ }
16
+
12
17
  enum PollContentType {
13
18
  UNKNOWN_POLL_CONTENT_TYPE = 0;
14
19
  TEXT = 1;
@@ -26,6 +31,19 @@ enum PeerDataOperationRequestType {
26
31
  COMPANION_META_NONCE_FETCH = 7;
27
32
  COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8;
28
33
  COMPANION_CANONICAL_USER_NONCE_FETCH = 9;
34
+ HISTORY_SYNC_CHUNK_RETRY = 10;
35
+ GALAXY_FLOW_ACTION = 11;
36
+ }
37
+
38
+ enum HistorySyncType {
39
+ INITIAL_BOOTSTRAP = 0;
40
+ INITIAL_STATUS_V3 = 1;
41
+ FULL = 2;
42
+ RECENT = 3;
43
+ PUSH_NAME = 4;
44
+ NON_BLOCKING_DATA = 5;
45
+ ON_DEMAND = 6;
46
+ NO_HISTORY = 7;
29
47
  }
30
48
 
31
49
  enum MediaKeyDomain {
@@ -180,25 +198,15 @@ message PinInChatMessage {
180
198
  optional int64 senderTimestampMS = 3;
181
199
  }
182
200
 
183
- message PollCreationMessage {
184
- enum PollType {
185
- POLL = 0;
186
- QUIZ = 1;
187
- }
188
-
189
- message Option {
190
- optional string optionName = 1;
191
- optional string optionHash = 2;
201
+ message StatusStickerInteractionMessage {
202
+ enum StatusStickerType {
203
+ UNKNOWN = 0;
204
+ REACTION = 1;
192
205
  }
193
206
 
194
- optional bytes encKey = 1;
195
- optional string name = 2;
196
- repeated Option options = 3;
197
- optional uint32 selectableOptionsCount = 4;
198
- optional ContextInfo contextInfo = 5;
199
- optional PollContentType pollContentType = 6;
200
- optional PollType pollType = 7;
201
- optional Option correctAnswer = 8;
207
+ optional WACommon.MessageKey key = 1;
208
+ optional string stickerKey = 2;
209
+ optional StatusStickerType type = 3;
202
210
  }
203
211
 
204
212
  message ButtonsResponseMessage {
@@ -362,7 +370,12 @@ message InteractiveMessage {
362
370
  }
363
371
 
364
372
  message Footer {
373
+ oneof media {
374
+ AudioMessage audioMessage = 2;
375
+ }
376
+
365
377
  optional string text = 1;
378
+ optional bool hasMediaAttachment = 3;
366
379
  }
367
380
 
368
381
  message Body {
@@ -491,6 +504,17 @@ message OrderMessage {
491
504
  optional string catalogType = 15;
492
505
  }
493
506
 
507
+ message StatusQuotedMessage {
508
+ enum StatusQuotedMessageType {
509
+ QUESTION_ANSWER = 1;
510
+ }
511
+
512
+ optional StatusQuotedMessageType type = 1;
513
+ optional string text = 2;
514
+ optional bytes thumbnail = 3;
515
+ optional WACommon.MessageKey originalStatusID = 4;
516
+ }
517
+
494
518
  message PaymentInviteMessage {
495
519
  enum ServiceType {
496
520
  UNKNOWN = 0;
@@ -567,6 +591,15 @@ message HighlyStructuredMessage {
567
591
 
568
592
  message PeerDataOperationRequestResponseMessage {
569
593
  message PeerDataOperationResult {
594
+ enum HistorySyncChunkRetryResponseCode {
595
+ GENERATION_ERROR = 1;
596
+ CHUNK_CONSUMED = 2;
597
+ TIMEOUT = 3;
598
+ SESSION_EXHAUSTED = 4;
599
+ CHUNK_EXHAUSTED = 5;
600
+ DUPLICATED_REQUEST = 6;
601
+ }
602
+
570
603
  enum FullHistorySyncOnDemandResponseCode {
571
604
  REQUEST_SUCCESS = 0;
572
605
  REQUEST_TIME_EXPIRED = 1;
@@ -577,6 +610,14 @@ message PeerDataOperationRequestResponseMessage {
577
610
  ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6;
578
611
  }
579
612
 
613
+ message HistorySyncChunkRetryResponse {
614
+ optional HistorySyncType syncType = 1;
615
+ optional uint32 chunkOrder = 2;
616
+ optional string requestID = 3;
617
+ optional HistorySyncChunkRetryResponseCode responseCode = 4;
618
+ optional bool canRecover = 5;
619
+ }
620
+
580
621
  message SyncDSnapshotFatalRecoveryResponse {
581
622
  optional bytes collectionSnapshot = 1;
582
623
  optional bool isCompressed = 2;
@@ -641,6 +682,7 @@ message PeerDataOperationRequestResponseMessage {
641
682
  optional CompanionMetaNonceFetchResponse companionMetaNonceFetchRequestResponse = 7;
642
683
  optional SyncDSnapshotFatalRecoveryResponse syncdSnapshotFatalRecoveryResponse = 8;
643
684
  optional CompanionCanonicalUserNonceFetchResponse companionCanonicalUserNonceFetchRequestResponse = 9;
685
+ optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
644
686
  }
645
687
 
646
688
  optional PeerDataOperationRequestType peerDataOperationRequestType = 1;
@@ -648,32 +690,65 @@ message PeerDataOperationRequestResponseMessage {
648
690
  repeated PeerDataOperationResult peerDataOperationResult = 3;
649
691
  }
650
692
 
651
- message HistorySyncNotification {
652
- enum HistorySyncType {
653
- INITIAL_BOOTSTRAP = 0;
654
- INITIAL_STATUS_V3 = 1;
655
- FULL = 2;
656
- RECENT = 3;
657
- PUSH_NAME = 4;
658
- NON_BLOCKING_DATA = 5;
659
- ON_DEMAND = 6;
660
- NO_HISTORY = 7;
693
+ message PeerDataOperationRequestMessage {
694
+ message GalaxyFlowAction {
695
+ enum GalaxyFlowActionType {
696
+ NOTIFY_LAUNCH = 1;
697
+ }
698
+
699
+ optional GalaxyFlowActionType type = 1;
700
+ optional string flowID = 2;
701
+ optional string stanzaID = 3;
661
702
  }
662
703
 
663
- optional bytes fileSHA256 = 1;
664
- optional uint64 fileLength = 2;
665
- optional bytes mediaKey = 3;
666
- optional bytes fileEncSHA256 = 4;
667
- optional string directPath = 5;
668
- optional HistorySyncType syncType = 6;
669
- optional uint32 chunkOrder = 7;
670
- optional string originalMessageID = 8;
671
- optional uint32 progress = 9;
672
- optional int64 oldestMsgInChunkTimestampSec = 10;
673
- optional bytes initialHistBootstrapInlinePayload = 11;
674
- optional string peerDataRequestSessionID = 12;
675
- optional FullHistorySyncOnDemandRequestMetadata fullHistorySyncOnDemandRequestMetadata = 13;
676
- optional string encHandle = 14;
704
+ message HistorySyncChunkRetryRequest {
705
+ optional HistorySyncType syncType = 1;
706
+ optional uint32 chunkOrder = 2;
707
+ optional string chunkNotificationID = 3;
708
+ optional bool regenerateChunk = 4;
709
+ }
710
+
711
+ message SyncDCollectionFatalRecoveryRequest {
712
+ optional string collectionName = 1;
713
+ optional int64 timestamp = 2;
714
+ }
715
+
716
+ message PlaceholderMessageResendRequest {
717
+ optional WACommon.MessageKey messageKey = 1;
718
+ }
719
+
720
+ message FullHistorySyncOnDemandRequest {
721
+ optional FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
722
+ optional WACompanionReg.DeviceProps.HistorySyncConfig historySyncConfig = 2;
723
+ }
724
+
725
+ message HistorySyncOnDemandRequest {
726
+ optional string chatJID = 1;
727
+ optional string oldestMsgID = 2;
728
+ optional bool oldestMsgFromMe = 3;
729
+ optional int32 onDemandMsgCount = 4;
730
+ optional int64 oldestMsgTimestampMS = 5;
731
+ optional string accountLid = 6;
732
+ }
733
+
734
+ message RequestUrlPreview {
735
+ optional string URL = 1;
736
+ optional bool includeHqThumbnail = 2;
737
+ }
738
+
739
+ message RequestStickerReupload {
740
+ optional string fileSHA256 = 1;
741
+ }
742
+
743
+ optional PeerDataOperationRequestType peerDataOperationRequestType = 1;
744
+ repeated RequestStickerReupload requestStickerReupload = 2;
745
+ repeated RequestUrlPreview requestURLPreview = 3;
746
+ optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4;
747
+ repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
748
+ optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
749
+ optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7;
750
+ optional HistorySyncChunkRetryRequest historySyncChunkRetryRequest = 8;
751
+ optional GalaxyFlowAction galaxyFlowAction = 9;
677
752
  }
678
753
 
679
754
  message RequestWelcomeMessageMetadata {
@@ -729,7 +804,7 @@ message ProtocolMessage {
729
804
  optional int64 timestampMS = 15;
730
805
  optional PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16;
731
806
  optional PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17;
732
- optional BotFeedbackMessage botFeedbackMessage = 18;
807
+ optional WAAICommon.BotFeedbackMessage botFeedbackMessage = 18;
733
808
  optional string invokerJID = 19;
734
809
  optional RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20;
735
810
  optional MediaNotifyMessage mediaNotifyMessage = 21;
@@ -761,71 +836,6 @@ message CloudAPIThreadControlNotification {
761
836
  optional bool shouldSuppressNotification = 6;
762
837
  }
763
838
 
764
- message BotFeedbackMessage {
765
- enum ReportKind {
766
- NONE = 0;
767
- GENERIC = 1;
768
- }
769
-
770
- enum BotFeedbackKindMultiplePositive {
771
- BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
772
- }
773
-
774
- enum BotFeedbackKindMultipleNegative {
775
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
776
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2;
777
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4;
778
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8;
779
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16;
780
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32;
781
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64;
782
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128;
783
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256;
784
- }
785
-
786
- enum BotFeedbackKind {
787
- BOT_FEEDBACK_POSITIVE = 0;
788
- BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
789
- BOT_FEEDBACK_NEGATIVE_HELPFUL = 2;
790
- BOT_FEEDBACK_NEGATIVE_INTERESTING = 3;
791
- BOT_FEEDBACK_NEGATIVE_ACCURATE = 4;
792
- BOT_FEEDBACK_NEGATIVE_SAFE = 5;
793
- BOT_FEEDBACK_NEGATIVE_OTHER = 6;
794
- BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
795
- BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
796
- BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
797
- BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10;
798
- BOT_FEEDBACK_NEGATIVE_CLARITY = 11;
799
- BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12;
800
- BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY = 13;
801
- BOT_FEEDBACK_NEGATIVE = 14;
802
- }
803
-
804
- message SideBySideSurveyMetadata {
805
- message SideBySideSurveyAnalyticsData {
806
- optional string tessaEvent = 1;
807
- optional string tessaSessionFbid = 2;
808
- }
809
-
810
- optional string selectedRequestID = 1;
811
- optional uint32 surveyID = 2;
812
- optional string simonSessionFbid = 3;
813
- optional string responseOtid = 4;
814
- optional string responseTimestampMSString = 5;
815
- optional bool isSelectedResponsePrimary = 6;
816
- optional string messageIDToEdit = 7;
817
- optional SideBySideSurveyAnalyticsData analyticsData = 8;
818
- }
819
-
820
- optional WACommon.MessageKey messageKey = 1;
821
- optional BotFeedbackKind kind = 2;
822
- optional string text = 3;
823
- optional uint64 kindNegative = 4;
824
- optional uint64 kindPositive = 5;
825
- optional ReportKind kindReport = 6;
826
- optional SideBySideSurveyMetadata sideBySideSurveyMetadata = 7;
827
- }
828
-
829
839
  message VideoMessage {
830
840
  enum VideoSourceType {
831
841
  USER_VIDEO = 0;
@@ -929,6 +939,9 @@ message ExtendedTextMessage {
929
939
  optional LinkPreviewMetadata linkPreviewMetadata = 34;
930
940
  optional PaymentLinkMetadata paymentLinkMetadata = 35;
931
941
  repeated VideoEndCard endCardTiles = 36;
942
+ optional string videoContentURL = 37;
943
+ optional EmbeddedMusic musicMetadata = 38;
944
+ optional PaymentExtendedMetadata paymentExtendedMetadata = 39;
932
945
  }
933
946
 
934
947
  message LinkPreviewMetadata {
@@ -946,6 +959,10 @@ message LinkPreviewMetadata {
946
959
  optional uint32 fbExperimentID = 3;
947
960
  optional uint32 linkMediaDuration = 4;
948
961
  optional SocialMediaPostType socialMediaPostType = 5;
962
+ optional bool linkInlineVideoMuted = 6;
963
+ optional string videoContentURL = 7;
964
+ optional EmbeddedMusic musicMetadata = 8;
965
+ optional string videoContentCaption = 9;
949
966
  }
950
967
 
951
968
  message PaymentLinkMetadata {
@@ -1044,6 +1061,11 @@ message ImageMessage {
1044
1061
  }
1045
1062
 
1046
1063
  message ContextInfo {
1064
+ enum QuotedType {
1065
+ EXPLICIT = 0;
1066
+ AUTO = 1;
1067
+ }
1068
+
1047
1069
  enum ForwardOrigin {
1048
1070
  UNKNOWN = 0;
1049
1071
  CHAT = 1;
@@ -1070,6 +1092,8 @@ message ContextInfo {
1070
1092
  HD_IMAGE_CHILD = 4;
1071
1093
  MOTION_PHOTO_PARENT = 5;
1072
1094
  MOTION_PHOTO_CHILD = 6;
1095
+ HEVC_VIDEO_PARENT = 7;
1096
+ HEVC_VIDEO_CHILD = 8;
1073
1097
  }
1074
1098
 
1075
1099
  enum StatusAttributionType {
@@ -1182,12 +1206,7 @@ message ContextInfo {
1182
1206
  optional bool cannotBeRanked = 2;
1183
1207
  optional bool canRequestFeedback = 3;
1184
1208
  optional bool canBeReshared = 4;
1185
- }
1186
-
1187
- message ForwardedAIBotMessageInfo {
1188
- optional string botName = 1;
1189
- optional string botJID = 2;
1190
- optional string creatorName = 3;
1209
+ optional bool canReceiveMultiReact = 5;
1191
1210
  }
1192
1211
 
1193
1212
  message QuestionReplyQuotedMessage {
@@ -1244,7 +1263,7 @@ message ContextInfo {
1244
1263
  optional string entryPointConversionExternalMedium = 51;
1245
1264
  optional string ctwaSignals = 54;
1246
1265
  optional bytes ctwaPayload = 55;
1247
- optional ForwardedAIBotMessageInfo forwardedAiBotMessageInfo = 56;
1266
+ optional WAAICommon.ForwardedAIBotMessageInfo forwardedAiBotMessageInfo = 56;
1248
1267
  optional StatusAttributionType statusAttributionType = 57;
1249
1268
  optional UrlTrackingMap urlTrackingMap = 58;
1250
1269
  optional PairedMediaType pairedMediaType = 59;
@@ -1258,171 +1277,8 @@ message ContextInfo {
1258
1277
  optional QuestionReplyQuotedMessage questionReplyQuotedMessage = 68;
1259
1278
  optional StatusAudienceMetadata statusAudienceMetadata = 69;
1260
1279
  optional uint32 nonJIDMentions = 70;
1261
- }
1262
-
1263
- message AIRichResponseMessage {
1264
- enum AIRichResponseSubMessageType {
1265
- AI_RICH_RESPONSE_UNKNOWN = 0;
1266
- AI_RICH_RESPONSE_GRID_IMAGE = 1;
1267
- AI_RICH_RESPONSE_TEXT = 2;
1268
- AI_RICH_RESPONSE_INLINE_IMAGE = 3;
1269
- AI_RICH_RESPONSE_TABLE = 4;
1270
- AI_RICH_RESPONSE_CODE = 5;
1271
- AI_RICH_RESPONSE_DYNAMIC = 6;
1272
- AI_RICH_RESPONSE_MAP = 7;
1273
- AI_RICH_RESPONSE_LATEX = 8;
1274
- AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
1275
- }
1276
-
1277
- enum AIRichResponseMessageType {
1278
- AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
1279
- AI_RICH_RESPONSE_TYPE_STANDARD = 1;
1280
- }
1281
-
1282
- message AIRichResponseContentItemsMetadata {
1283
- enum ContentType {
1284
- DEFAULT = 0;
1285
- CAROUSEL = 1;
1286
- }
1287
-
1288
- message AIRichResponseContentItemMetadata {
1289
- oneof aIRichResponseContentItem {
1290
- AIRichResponseReelItem reelItem = 1;
1291
- }
1292
- }
1293
-
1294
- message AIRichResponseReelItem {
1295
- optional string title = 1;
1296
- optional string profileIconURL = 2;
1297
- optional string thumbnailURL = 3;
1298
- optional string videoURL = 4;
1299
- }
1300
-
1301
- repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
1302
- optional ContentType contentType = 2;
1303
- }
1304
-
1305
- message AIRichResponseDynamicMetadata {
1306
- enum AIRichResponseDynamicMetadataType {
1307
- AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0;
1308
- AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1;
1309
- AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2;
1310
- }
1311
-
1312
- optional AIRichResponseDynamicMetadataType type = 1;
1313
- optional uint64 version = 2;
1314
- optional string URL = 3;
1315
- optional uint32 loopCount = 4;
1316
- }
1317
-
1318
- message AIRichResponseCodeMetadata {
1319
- enum AIRichResponseCodeHighlightType {
1320
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
1321
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
1322
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2;
1323
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3;
1324
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4;
1325
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5;
1326
- }
1327
-
1328
- message AIRichResponseCodeBlock {
1329
- optional AIRichResponseCodeHighlightType highlightType = 1;
1330
- optional string codeContent = 2;
1331
- }
1332
-
1333
- optional string codeLanguage = 1;
1334
- repeated AIRichResponseCodeBlock codeBlocks = 2;
1335
- }
1336
-
1337
- message AIRichResponseInlineImageMetadata {
1338
- enum AIRichResponseImageAlignment {
1339
- AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0;
1340
- AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1;
1341
- AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2;
1342
- }
1343
-
1344
- optional AIRichResponseImageURL imageURL = 1;
1345
- optional string imageText = 2;
1346
- optional AIRichResponseImageAlignment alignment = 3;
1347
- optional string tapLinkURL = 4;
1348
- }
1349
-
1350
- message AIRichResponseSubMessage {
1351
- optional AIRichResponseSubMessageType messageType = 1;
1352
- optional AIRichResponseGridImageMetadata gridImageMetadata = 2;
1353
- optional string messageText = 3;
1354
- optional AIRichResponseInlineImageMetadata imageMetadata = 4;
1355
- optional AIRichResponseCodeMetadata codeMetadata = 5;
1356
- optional AIRichResponseTableMetadata tableMetadata = 6;
1357
- optional AIRichResponseDynamicMetadata dynamicMetadata = 7;
1358
- optional AIRichResponseLatexMetadata latexMetadata = 8;
1359
- optional AIRichResponseMapMetadata mapMetadata = 9;
1360
- optional AIRichResponseContentItemsMetadata contentItemsMetadata = 10;
1361
- }
1362
-
1363
- message AIRichResponseMapMetadata {
1364
- message AIRichResponseMapAnnotation {
1365
- optional uint32 annotationNumber = 1;
1366
- optional double latitude = 2;
1367
- optional double longitude = 3;
1368
- optional string title = 4;
1369
- optional string body = 5;
1370
- }
1371
-
1372
- optional double centerLatitude = 1;
1373
- optional double centerLongitude = 2;
1374
- optional double latitudeDelta = 3;
1375
- optional double longitudeDelta = 4;
1376
- repeated AIRichResponseMapAnnotation annotations = 5;
1377
- optional bool showInfoList = 6;
1378
- }
1379
-
1380
- message AIRichResponseLatexMetadata {
1381
- message AIRichResponseLatexExpression {
1382
- optional string latexExpression = 1;
1383
- optional string URL = 2;
1384
- optional double width = 3;
1385
- optional double height = 4;
1386
- optional double fontHeight = 5;
1387
- optional double imageTopPadding = 6;
1388
- optional double imageLeadingPadding = 7;
1389
- optional double imageBottomPadding = 8;
1390
- optional double imageTrailingPadding = 9;
1391
- }
1392
-
1393
- optional string text = 1;
1394
- repeated AIRichResponseLatexExpression expressions = 2;
1395
- }
1396
-
1397
- message AIRichResponseUnifiedResponse {
1398
- optional bytes data = 1;
1399
- }
1400
-
1401
- message AIRichResponseTableMetadata {
1402
- message AIRichResponseTableRow {
1403
- repeated string items = 1;
1404
- optional bool isHeading = 2;
1405
- }
1406
-
1407
- repeated AIRichResponseTableRow rows = 1;
1408
- optional string title = 2;
1409
- }
1410
-
1411
- message AIRichResponseGridImageMetadata {
1412
- optional AIRichResponseImageURL gridImageURL = 1;
1413
- repeated AIRichResponseImageURL imageURLs = 2;
1414
- }
1415
-
1416
- message AIRichResponseImageURL {
1417
- optional string imagePreviewURL = 1;
1418
- optional string imageHighResURL = 2;
1419
- optional string sourceURL = 3;
1420
- }
1421
-
1422
- optional AIRichResponseMessageType messageType = 1;
1423
- repeated AIRichResponseSubMessage submessages = 2;
1424
- optional AIRichResponseUnifiedResponse unifiedResponse = 3;
1425
- optional ContextInfo contextInfo = 4;
1280
+ optional QuotedType quotedType = 71;
1281
+ optional WAAICommon.BotMessageSharingInfo botMessageSharingInfo = 72;
1426
1282
  }
1427
1283
 
1428
1284
  message MessageAssociation {
@@ -1444,6 +1300,9 @@ message MessageAssociation {
1444
1300
  VIEW_ALL_REPLIES = 14;
1445
1301
  STATUS_ADD_YOURS_AI_IMAGINE = 15;
1446
1302
  STATUS_QUESTION = 16;
1303
+ STATUS_ADD_YOURS_DIWALI = 17;
1304
+ STATUS_REACTION = 18;
1305
+ HEVC_VIDEO_DUAL_UPLOAD = 19;
1447
1306
  }
1448
1307
 
1449
1308
  optional AssociationType associationType = 1;
@@ -1474,7 +1333,7 @@ message MessageContextInfo {
1474
1333
  optional bytes paddingBytes = 4;
1475
1334
  optional uint32 messageAddOnDurationInSecs = 5;
1476
1335
  optional bytes botMessageSecret = 6;
1477
- optional WABotMetadata.BotMetadata botMetadata = 7;
1336
+ optional WAAICommon.BotMetadata botMetadata = 7;
1478
1337
  optional int32 reportingTokenVersion = 8;
1479
1338
  optional MessageAddonExpiryType messageAddOnExpiryType = 9;
1480
1339
  optional MessageAssociation messageAssociation = 10;
@@ -1683,7 +1542,6 @@ message Message {
1683
1542
  optional FutureProofMessage associatedChildMessage = 91;
1684
1543
  optional FutureProofMessage groupStatusMentionMessage = 92;
1685
1544
  optional FutureProofMessage pollCreationMessageV4 = 93;
1686
- optional FutureProofMessage pollCreationMessageV5 = 94;
1687
1545
  optional FutureProofMessage statusAddYours = 95;
1688
1546
  optional FutureProofMessage groupStatusMessage = 96;
1689
1547
  optional AIRichResponseMessage richResponseMessage = 97;
@@ -1697,6 +1555,12 @@ message Message {
1697
1555
  optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
1698
1556
  optional FutureProofMessage questionReplyMessage = 106;
1699
1557
  optional QuestionResponseMessage questionResponseMessage = 107;
1558
+ optional StatusQuotedMessage statusQuotedMessage = 109;
1559
+ optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
1560
+ optional PollCreationMessage pollCreationMessageV5 = 111;
1561
+ optional PollResultSnapshotMessage pollResultSnapshotMessageV2 = 112;
1562
+ optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
1563
+ optional RequestContactInfoMessage requestContactInfoMessage = 114;
1700
1564
  }
1701
1565
 
1702
1566
  message AlbumMessage {
@@ -1788,6 +1652,7 @@ message PollResultSnapshotMessage {
1788
1652
  optional string name = 1;
1789
1653
  repeated PollVote pollVotes = 2;
1790
1654
  optional ContextInfo contextInfo = 3;
1655
+ optional PollType pollType = 4;
1791
1656
  }
1792
1657
 
1793
1658
  message PollVoteMessage {
@@ -1809,6 +1674,22 @@ message PollUpdateMessage {
1809
1674
  optional int64 senderTimestampMS = 4;
1810
1675
  }
1811
1676
 
1677
+ message PollCreationMessage {
1678
+ message Option {
1679
+ optional string optionName = 1;
1680
+ optional string optionHash = 2;
1681
+ }
1682
+
1683
+ optional bytes encKey = 1;
1684
+ optional string name = 2;
1685
+ repeated Option options = 3;
1686
+ optional uint32 selectableOptionsCount = 4;
1687
+ optional ContextInfo contextInfo = 5;
1688
+ optional PollContentType pollContentType = 6;
1689
+ optional PollType pollType = 7;
1690
+ optional Option correctAnswer = 8;
1691
+ }
1692
+
1812
1693
  message StickerSyncRMRMessage {
1813
1694
  repeated string filehash = 1;
1814
1695
  optional string rmrSource = 2;
@@ -1832,10 +1713,24 @@ message DeviceSentMessage {
1832
1713
  optional string phash = 3;
1833
1714
  }
1834
1715
 
1716
+ message RequestContactInfoMessage {
1717
+ optional string text = 1;
1718
+ optional string ctaButtonText = 2;
1719
+ optional ContextInfo contextInfo = 3;
1720
+ }
1721
+
1835
1722
  message RequestPhoneNumberMessage {
1836
1723
  optional ContextInfo contextInfo = 1;
1837
1724
  }
1838
1725
 
1726
+ message NewsletterFollowerInviteMessage {
1727
+ optional string newsletterJID = 1;
1728
+ optional string newsletterName = 2;
1729
+ optional bytes JPEGThumbnail = 3;
1730
+ optional string caption = 4;
1731
+ optional ContextInfo contextInfo = 5;
1732
+ }
1733
+
1839
1734
  message NewsletterAdminInviteMessage {
1840
1735
  optional string newsletterJID = 1;
1841
1736
  optional string newsletterName = 2;
@@ -1997,48 +1892,6 @@ message InitialSecurityNotificationSettingSync {
1997
1892
  optional bool securityNotificationEnabled = 1;
1998
1893
  }
1999
1894
 
2000
- message PeerDataOperationRequestMessage {
2001
- message SyncDCollectionFatalRecoveryRequest {
2002
- optional string collectionName = 1;
2003
- optional int64 timestamp = 2;
2004
- }
2005
-
2006
- message PlaceholderMessageResendRequest {
2007
- optional WACommon.MessageKey messageKey = 1;
2008
- }
2009
-
2010
- message FullHistorySyncOnDemandRequest {
2011
- optional FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
2012
- optional WACompanionReg.DeviceProps.HistorySyncConfig historySyncConfig = 2;
2013
- }
2014
-
2015
- message HistorySyncOnDemandRequest {
2016
- optional string chatJID = 1;
2017
- optional string oldestMsgID = 2;
2018
- optional bool oldestMsgFromMe = 3;
2019
- optional int32 onDemandMsgCount = 4;
2020
- optional int64 oldestMsgTimestampMS = 5;
2021
- optional string accountLid = 6;
2022
- }
2023
-
2024
- message RequestUrlPreview {
2025
- optional string URL = 1;
2026
- optional bool includeHqThumbnail = 2;
2027
- }
2028
-
2029
- message RequestStickerReupload {
2030
- optional string fileSHA256 = 1;
2031
- }
2032
-
2033
- optional PeerDataOperationRequestType peerDataOperationRequestType = 1;
2034
- repeated RequestStickerReupload requestStickerReupload = 2;
2035
- repeated RequestUrlPreview requestURLPreview = 3;
2036
- optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4;
2037
- repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
2038
- optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
2039
- optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7;
2040
- }
2041
-
2042
1895
  message FullHistorySyncOnDemandRequestMetadata {
2043
1896
  optional string requestID = 1;
2044
1897
  }
@@ -2077,6 +1930,23 @@ message AppStateSyncKey {
2077
1930
  optional AppStateSyncKeyData keyData = 2;
2078
1931
  }
2079
1932
 
1933
+ message HistorySyncNotification {
1934
+ optional bytes fileSHA256 = 1;
1935
+ optional uint64 fileLength = 2;
1936
+ optional bytes mediaKey = 3;
1937
+ optional bytes fileEncSHA256 = 4;
1938
+ optional string directPath = 5;
1939
+ optional HistorySyncType syncType = 6;
1940
+ optional uint32 chunkOrder = 7;
1941
+ optional string originalMessageID = 8;
1942
+ optional uint32 progress = 9;
1943
+ optional int64 oldestMsgInChunkTimestampSec = 10;
1944
+ optional bytes initialHistBootstrapInlinePayload = 11;
1945
+ optional string peerDataRequestSessionID = 12;
1946
+ optional FullHistorySyncOnDemandRequestMetadata fullHistorySyncOnDemandRequestMetadata = 13;
1947
+ optional string encHandle = 14;
1948
+ }
1949
+
2080
1950
  message Chat {
2081
1951
  optional string displayName = 1;
2082
1952
  optional string ID = 2;
@@ -2143,6 +2013,12 @@ message URLMetadata {
2143
2013
  optional uint32 fbExperimentID = 1;
2144
2014
  }
2145
2015
 
2016
+ message PaymentExtendedMetadata {
2017
+ optional uint32 type = 1;
2018
+ optional string platform = 2;
2019
+ optional string messageParamsJSON = 3;
2020
+ }
2021
+
2146
2022
  message MMSThumbnailMetadata {
2147
2023
  optional string thumbnailDirectPath = 1;
2148
2024
  optional bytes thumbnailSHA256 = 2;
@@ -2211,10 +2087,13 @@ message EmbeddedMusic {
2211
2087
  optional string artworkDirectPath = 5;
2212
2088
  optional bytes artworkSHA256 = 6;
2213
2089
  optional bytes artworkEncSHA256 = 7;
2214
- optional bytes artworkMediaKey = 11;
2215
2090
  optional string artistAttribution = 8;
2216
2091
  optional bytes countryBlocklist = 9;
2217
2092
  optional bool isExplicit = 10;
2093
+ optional bytes artworkMediaKey = 11;
2094
+ optional int64 musicSongStartTimeInMS = 12;
2095
+ optional int64 derivedContentStartTimeInMS = 13;
2096
+ optional int64 overlapDurationInMS = 14;
2218
2097
  }
2219
2098
 
2220
2099
  message EmbeddedContent {
@@ -2310,13 +2189,20 @@ message UrlTrackingMap {
2310
2189
  repeated UrlTrackingMapElement urlTrackingMapElements = 1;
2311
2190
  }
2312
2191
 
2192
+ message MemberLabel {
2193
+ optional string label = 1;
2194
+ optional int64 labelTimestamp = 2;
2195
+ }
2196
+
2197
+ message AIRichResponseMessage {
2198
+ optional WAAICommon.AIRichResponseMessageType messageType = 1;
2199
+ repeated WAAICommon.AIRichResponseSubMessage submessages = 2;
2200
+ optional WAAICommon.AIRichResponseUnifiedResponse unifiedResponse = 3;
2201
+ optional ContextInfo contextInfo = 4;
2202
+ }
2203
+
2313
2204
  message AIQueryFanout {
2314
2205
  optional WACommon.MessageKey messageKey = 1;
2315
2206
  optional Message message = 2;
2316
2207
  optional int64 timestamp = 3;
2317
2208
  }
2318
-
2319
- message MemberLabel {
2320
- optional string label = 1;
2321
- optional int64 labelTimestamp = 2;
2322
- }