slidge-whatsapp 0.3.0b0__cp313-cp313-manylinux_2_36_aarch64.whl → 0.3.1__cp313-cp313-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.
Files changed (132) hide show
  1. slidge_whatsapp/contact.py +2 -0
  2. slidge_whatsapp/event.go +72 -22
  3. slidge_whatsapp/generated/_whatsapp.cpython-313-aarch64-linux-gnu.h +180 -180
  4. slidge_whatsapp/generated/_whatsapp.cpython-313-aarch64-linux-gnu.so +0 -0
  5. slidge_whatsapp/generated/build.py +138 -138
  6. slidge_whatsapp/generated/whatsapp.c +1532 -1532
  7. slidge_whatsapp/generated/whatsapp.go +1224 -1224
  8. slidge_whatsapp/generated/whatsapp.py +1302 -1302
  9. slidge_whatsapp/generated/whatsapp_go.h +180 -180
  10. slidge_whatsapp/go.mod +5 -5
  11. slidge_whatsapp/go.sum +14 -14
  12. slidge_whatsapp/session.go +4 -4
  13. slidge_whatsapp/vendor/github.com/ebitengine/purego/README.md +21 -5
  14. slidge_whatsapp/vendor/github.com/ebitengine/purego/abi_loong64.h +60 -0
  15. slidge_whatsapp/vendor/github.com/ebitengine/purego/cgo.go +1 -1
  16. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlerror.go +1 -1
  17. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn.go +1 -1
  18. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_netbsd.go +15 -0
  19. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_nocgo_netbsd.go +9 -0
  20. slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_stubs.s +1 -1
  21. slidge_whatsapp/vendor/github.com/ebitengine/purego/func.go +113 -60
  22. slidge_whatsapp/vendor/github.com/ebitengine/purego/gen.go +6 -0
  23. slidge_whatsapp/vendor/github.com/ebitengine/purego/go_runtime.go +1 -1
  24. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/dlfcn_cgo_unix.go +2 -2
  25. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/syscall_cgo_unix.go +2 -2
  26. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/abi_loong64.h +60 -0
  27. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/asm_loong64.s +40 -0
  28. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/callbacks.go +1 -1
  29. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/doc.go +1 -1
  30. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_libinit.go +1 -1
  31. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_linux_loong64.go +92 -0
  32. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_netbsd.go +106 -0
  33. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_setenv.go +1 -1
  34. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_util.go +1 -1
  35. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/iscgo.go +1 -1
  36. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo.go +1 -1
  37. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_darwin.go +4 -0
  38. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_freebsd.go +4 -0
  39. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_linux.go +4 -0
  40. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_netbsd.go +26 -0
  41. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/netbsd.go +23 -0
  42. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/setenv.go +1 -1
  43. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols.go +11 -1
  44. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_darwin.go +1 -0
  45. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_freebsd.go +1 -0
  46. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_linux.go +1 -0
  47. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_netbsd.go +30 -0
  48. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_loong64.s +71 -0
  49. slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_stubs.s +5 -1
  50. slidge_whatsapp/vendor/github.com/ebitengine/purego/nocgo.go +1 -1
  51. slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_amd64.go +8 -4
  52. slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_arm64.go +16 -6
  53. slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_loong64.go +190 -0
  54. slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_other.go +6 -2
  55. slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_amd64.s +1 -1
  56. slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_arm64.s +1 -1
  57. slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_loong64.s +96 -0
  58. slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_unix_arm64.s +1 -1
  59. slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_unix_loong64.s +75 -0
  60. slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall.go +6 -3
  61. slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_cgo_linux.go +3 -3
  62. slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_sysv.go +13 -10
  63. slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_windows.go +1 -1
  64. slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_amd64.s +2002 -2002
  65. slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_arm64.s +4002 -4002
  66. slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_loong64.s +4014 -0
  67. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/log.go +1 -0
  68. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/module.go +118 -0
  69. slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgradetable.go +0 -34
  70. slidge_whatsapp/vendor/go.mau.fi/util/exbytes/string.go +20 -0
  71. slidge_whatsapp/vendor/go.mau.fi/util/exbytes/writer.go +78 -0
  72. slidge_whatsapp/vendor/go.mau.fi/util/exslices/cast.go +42 -0
  73. slidge_whatsapp/vendor/go.mau.fi/util/exslices/chunk.go +28 -0
  74. slidge_whatsapp/vendor/go.mau.fi/util/exslices/deduplicate.go +67 -0
  75. slidge_whatsapp/vendor/go.mau.fi/util/exslices/diff.go +63 -0
  76. slidge_whatsapp/vendor/go.mau.fi/util/exsync/event.go +15 -1
  77. slidge_whatsapp/vendor/go.mau.fi/util/random/string.go +47 -7
  78. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/decode.go +1 -0
  79. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/encode.go +34 -0
  80. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/hash.go +1 -0
  81. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate.go +3 -0
  82. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/armadillomessage.go +1 -2
  83. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/call.go +6 -0
  84. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/errors.go +1 -0
  85. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/group.go +63 -42
  86. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/internals.go +14 -10
  87. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/message.go +45 -18
  88. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/msgsecret.go +23 -0
  89. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/notification.go +5 -1
  90. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair.go +3 -7
  91. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAICommon/WAAICommon.pb.go +7747 -0
  92. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/{waBotMetadata/WABotMetadata.proto → waAICommon/WAAICommon.proto} +269 -9
  93. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.go +128 -14
  94. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto +10 -0
  95. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go +3236 -4732
  96. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto +125 -273
  97. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go +11 -2
  98. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto +1 -0
  99. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.pb.go +220 -81
  100. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.proto +13 -0
  101. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.go +705 -449
  102. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto +23 -0
  103. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go +78 -24
  104. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.proto +6 -0
  105. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go +516 -267
  106. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto +22 -0
  107. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/receipt.go +2 -0
  108. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/request.go +4 -0
  109. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/retry.go +2 -3
  110. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/send.go +110 -28
  111. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/clientpayload.go +1 -1
  112. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/noop.go +12 -0
  113. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/lidmap.go +82 -4
  114. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go +112 -55
  115. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/00-latest-schema.sql +8 -7
  116. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/11-redacted-phone-contacts.sql +2 -0
  117. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/store.go +20 -0
  118. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/call.go +6 -5
  119. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/message.go +7 -1
  120. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/user.go +3 -0
  121. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/user.go +31 -2
  122. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc.go +35 -17
  123. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go +14 -0
  124. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go +20 -0
  125. slidge_whatsapp/vendor/google.golang.org/protobuf/internal/version/version.go +1 -1
  126. slidge_whatsapp/vendor/modules.txt +8 -6
  127. {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.1.dist-info}/METADATA +4 -3
  128. {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.1.dist-info}/RECORD +131 -107
  129. {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.1.dist-info}/WHEEL +1 -1
  130. slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waBotMetadata/WABotMetadata.pb.go +0 -5156
  131. {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.1.dist-info}/entry_points.txt +0 -0
  132. {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.1.dist-info/licenses}/LICENSE +0 -0
@@ -2,8 +2,8 @@ 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";
@@ -26,6 +26,18 @@ enum PeerDataOperationRequestType {
26
26
  COMPANION_META_NONCE_FETCH = 7;
27
27
  COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8;
28
28
  COMPANION_CANONICAL_USER_NONCE_FETCH = 9;
29
+ HISTORY_SYNC_CHUNK_RETRY = 10;
30
+ }
31
+
32
+ enum HistorySyncType {
33
+ INITIAL_BOOTSTRAP = 0;
34
+ INITIAL_STATUS_V3 = 1;
35
+ FULL = 2;
36
+ RECENT = 3;
37
+ PUSH_NAME = 4;
38
+ NON_BLOCKING_DATA = 5;
39
+ ON_DEMAND = 6;
40
+ NO_HISTORY = 7;
29
41
  }
30
42
 
31
43
  enum MediaKeyDomain {
@@ -180,6 +192,17 @@ message PinInChatMessage {
180
192
  optional int64 senderTimestampMS = 3;
181
193
  }
182
194
 
195
+ message StatusStickerInteractionMessage {
196
+ enum StatusStickerType {
197
+ UNKNOWN = 0;
198
+ REACTION = 1;
199
+ }
200
+
201
+ optional WACommon.MessageKey key = 1;
202
+ optional string stickerKey = 2;
203
+ optional StatusStickerType type = 3;
204
+ }
205
+
183
206
  message PollCreationMessage {
184
207
  enum PollType {
185
208
  POLL = 0;
@@ -362,7 +385,12 @@ message InteractiveMessage {
362
385
  }
363
386
 
364
387
  message Footer {
388
+ oneof media {
389
+ AudioMessage audioMessage = 2;
390
+ }
391
+
365
392
  optional string text = 1;
393
+ optional bool hasMediaAttachment = 3;
366
394
  }
367
395
 
368
396
  message Body {
@@ -491,6 +519,17 @@ message OrderMessage {
491
519
  optional string catalogType = 15;
492
520
  }
493
521
 
522
+ message StatusQuotedMessage {
523
+ enum StatusQuotedMessageType {
524
+ QUESTION_ANSWER = 1;
525
+ }
526
+
527
+ optional StatusQuotedMessageType type = 1;
528
+ optional string text = 2;
529
+ optional bytes thumbnail = 3;
530
+ optional WACommon.MessageKey originalStatusID = 4;
531
+ }
532
+
494
533
  message PaymentInviteMessage {
495
534
  enum ServiceType {
496
535
  UNKNOWN = 0;
@@ -567,6 +606,15 @@ message HighlyStructuredMessage {
567
606
 
568
607
  message PeerDataOperationRequestResponseMessage {
569
608
  message PeerDataOperationResult {
609
+ enum HistorySyncChunkRetryResponseCode {
610
+ GENERATION_ERROR = 1;
611
+ CHUNK_CONSUMED = 2;
612
+ TIMEOUT = 3;
613
+ SESSION_EXHAUSTED = 4;
614
+ CHUNK_EXHAUSTED = 5;
615
+ DUPLICATED_REQUEST = 6;
616
+ }
617
+
570
618
  enum FullHistorySyncOnDemandResponseCode {
571
619
  REQUEST_SUCCESS = 0;
572
620
  REQUEST_TIME_EXPIRED = 1;
@@ -577,6 +625,14 @@ message PeerDataOperationRequestResponseMessage {
577
625
  ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6;
578
626
  }
579
627
 
628
+ message HistorySyncChunkRetryResponse {
629
+ optional HistorySyncType syncType = 1;
630
+ optional uint32 chunkOrder = 2;
631
+ optional string requestID = 3;
632
+ optional HistorySyncChunkRetryResponseCode responseCode = 4;
633
+ optional bool canRecover = 5;
634
+ }
635
+
580
636
  message SyncDSnapshotFatalRecoveryResponse {
581
637
  optional bytes collectionSnapshot = 1;
582
638
  optional bool isCompressed = 2;
@@ -641,6 +697,7 @@ message PeerDataOperationRequestResponseMessage {
641
697
  optional CompanionMetaNonceFetchResponse companionMetaNonceFetchRequestResponse = 7;
642
698
  optional SyncDSnapshotFatalRecoveryResponse syncdSnapshotFatalRecoveryResponse = 8;
643
699
  optional CompanionCanonicalUserNonceFetchResponse companionCanonicalUserNonceFetchRequestResponse = 9;
700
+ optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
644
701
  }
645
702
 
646
703
  optional PeerDataOperationRequestType peerDataOperationRequestType = 1;
@@ -648,34 +705,6 @@ message PeerDataOperationRequestResponseMessage {
648
705
  repeated PeerDataOperationResult peerDataOperationResult = 3;
649
706
  }
650
707
 
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;
661
- }
662
-
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;
677
- }
678
-
679
708
  message RequestWelcomeMessageMetadata {
680
709
  enum LocalChatState {
681
710
  EMPTY = 0;
@@ -729,7 +758,7 @@ message ProtocolMessage {
729
758
  optional int64 timestampMS = 15;
730
759
  optional PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16;
731
760
  optional PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17;
732
- optional BotFeedbackMessage botFeedbackMessage = 18;
761
+ optional WAAICommon.BotFeedbackMessage botFeedbackMessage = 18;
733
762
  optional string invokerJID = 19;
734
763
  optional RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20;
735
764
  optional MediaNotifyMessage mediaNotifyMessage = 21;
@@ -761,71 +790,6 @@ message CloudAPIThreadControlNotification {
761
790
  optional bool shouldSuppressNotification = 6;
762
791
  }
763
792
 
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
793
  message VideoMessage {
830
794
  enum VideoSourceType {
831
795
  USER_VIDEO = 0;
@@ -929,6 +893,8 @@ message ExtendedTextMessage {
929
893
  optional LinkPreviewMetadata linkPreviewMetadata = 34;
930
894
  optional PaymentLinkMetadata paymentLinkMetadata = 35;
931
895
  repeated VideoEndCard endCardTiles = 36;
896
+ optional string videoContentURL = 37;
897
+ optional EmbeddedMusic musicMetadata = 38;
932
898
  }
933
899
 
934
900
  message LinkPreviewMetadata {
@@ -946,6 +912,7 @@ message LinkPreviewMetadata {
946
912
  optional uint32 fbExperimentID = 3;
947
913
  optional uint32 linkMediaDuration = 4;
948
914
  optional SocialMediaPostType socialMediaPostType = 5;
915
+ optional bool linkInlineVideoMuted = 6;
949
916
  }
950
917
 
951
918
  message PaymentLinkMetadata {
@@ -1044,6 +1011,11 @@ message ImageMessage {
1044
1011
  }
1045
1012
 
1046
1013
  message ContextInfo {
1014
+ enum QuotedType {
1015
+ EXPLICIT = 0;
1016
+ AUTO = 1;
1017
+ }
1018
+
1047
1019
  enum ForwardOrigin {
1048
1020
  UNKNOWN = 0;
1049
1021
  CHAT = 1;
@@ -1070,6 +1042,8 @@ message ContextInfo {
1070
1042
  HD_IMAGE_CHILD = 4;
1071
1043
  MOTION_PHOTO_PARENT = 5;
1072
1044
  MOTION_PHOTO_CHILD = 6;
1045
+ HEVC_VIDEO_PARENT = 7;
1046
+ HEVC_VIDEO_CHILD = 8;
1073
1047
  }
1074
1048
 
1075
1049
  enum StatusAttributionType {
@@ -1182,12 +1156,7 @@ message ContextInfo {
1182
1156
  optional bool cannotBeRanked = 2;
1183
1157
  optional bool canRequestFeedback = 3;
1184
1158
  optional bool canBeReshared = 4;
1185
- }
1186
-
1187
- message ForwardedAIBotMessageInfo {
1188
- optional string botName = 1;
1189
- optional string botJID = 2;
1190
- optional string creatorName = 3;
1159
+ optional bool canReceiveMultiReact = 5;
1191
1160
  }
1192
1161
 
1193
1162
  message QuestionReplyQuotedMessage {
@@ -1244,7 +1213,7 @@ message ContextInfo {
1244
1213
  optional string entryPointConversionExternalMedium = 51;
1245
1214
  optional string ctwaSignals = 54;
1246
1215
  optional bytes ctwaPayload = 55;
1247
- optional ForwardedAIBotMessageInfo forwardedAiBotMessageInfo = 56;
1216
+ optional WAAICommon.ForwardedAIBotMessageInfo forwardedAiBotMessageInfo = 56;
1248
1217
  optional StatusAttributionType statusAttributionType = 57;
1249
1218
  optional UrlTrackingMap urlTrackingMap = 58;
1250
1219
  optional PairedMediaType pairedMediaType = 59;
@@ -1258,171 +1227,8 @@ message ContextInfo {
1258
1227
  optional QuestionReplyQuotedMessage questionReplyQuotedMessage = 68;
1259
1228
  optional StatusAudienceMetadata statusAudienceMetadata = 69;
1260
1229
  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;
1230
+ optional QuotedType quotedType = 71;
1231
+ optional WAAICommon.BotMessageSharingInfo botMessageSharingInfo = 72;
1426
1232
  }
1427
1233
 
1428
1234
  message MessageAssociation {
@@ -1444,6 +1250,9 @@ message MessageAssociation {
1444
1250
  VIEW_ALL_REPLIES = 14;
1445
1251
  STATUS_ADD_YOURS_AI_IMAGINE = 15;
1446
1252
  STATUS_QUESTION = 16;
1253
+ STATUS_ADD_YOURS_DIWALI = 17;
1254
+ STATUS_REACTION = 18;
1255
+ HEVC_VIDEO_DUAL_UPLOAD = 19;
1447
1256
  }
1448
1257
 
1449
1258
  optional AssociationType associationType = 1;
@@ -1474,7 +1283,7 @@ message MessageContextInfo {
1474
1283
  optional bytes paddingBytes = 4;
1475
1284
  optional uint32 messageAddOnDurationInSecs = 5;
1476
1285
  optional bytes botMessageSecret = 6;
1477
- optional WABotMetadata.BotMetadata botMetadata = 7;
1286
+ optional WAAICommon.BotMetadata botMetadata = 7;
1478
1287
  optional int32 reportingTokenVersion = 8;
1479
1288
  optional MessageAddonExpiryType messageAddOnExpiryType = 9;
1480
1289
  optional MessageAssociation messageAssociation = 10;
@@ -1697,6 +1506,9 @@ message Message {
1697
1506
  optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
1698
1507
  optional FutureProofMessage questionReplyMessage = 106;
1699
1508
  optional QuestionResponseMessage questionResponseMessage = 107;
1509
+ optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessage = 108;
1510
+ optional StatusQuotedMessage statusQuotedMessage = 109;
1511
+ optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
1700
1512
  }
1701
1513
 
1702
1514
  message AlbumMessage {
@@ -1836,6 +1648,14 @@ message RequestPhoneNumberMessage {
1836
1648
  optional ContextInfo contextInfo = 1;
1837
1649
  }
1838
1650
 
1651
+ message NewsletterFollowerInviteMessage {
1652
+ optional string newsletterJID = 1;
1653
+ optional string newsletterName = 2;
1654
+ optional bytes JPEGThumbnail = 3;
1655
+ optional string caption = 4;
1656
+ optional ContextInfo contextInfo = 5;
1657
+ }
1658
+
1839
1659
  message NewsletterAdminInviteMessage {
1840
1660
  optional string newsletterJID = 1;
1841
1661
  optional string newsletterName = 2;
@@ -1998,6 +1818,13 @@ message InitialSecurityNotificationSettingSync {
1998
1818
  }
1999
1819
 
2000
1820
  message PeerDataOperationRequestMessage {
1821
+ message HistorySyncChunkRetryRequest {
1822
+ optional HistorySyncType syncType = 1;
1823
+ optional uint32 chunkOrder = 2;
1824
+ optional string chunkNotificationID = 3;
1825
+ optional bool regenerateChunk = 4;
1826
+ }
1827
+
2001
1828
  message SyncDCollectionFatalRecoveryRequest {
2002
1829
  optional string collectionName = 1;
2003
1830
  optional int64 timestamp = 2;
@@ -2037,6 +1864,7 @@ message PeerDataOperationRequestMessage {
2037
1864
  repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
2038
1865
  optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
2039
1866
  optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7;
1867
+ optional HistorySyncChunkRetryRequest historySyncChunkRetryRequest = 8;
2040
1868
  }
2041
1869
 
2042
1870
  message FullHistorySyncOnDemandRequestMetadata {
@@ -2077,6 +1905,23 @@ message AppStateSyncKey {
2077
1905
  optional AppStateSyncKeyData keyData = 2;
2078
1906
  }
2079
1907
 
1908
+ message HistorySyncNotification {
1909
+ optional bytes fileSHA256 = 1;
1910
+ optional uint64 fileLength = 2;
1911
+ optional bytes mediaKey = 3;
1912
+ optional bytes fileEncSHA256 = 4;
1913
+ optional string directPath = 5;
1914
+ optional HistorySyncType syncType = 6;
1915
+ optional uint32 chunkOrder = 7;
1916
+ optional string originalMessageID = 8;
1917
+ optional uint32 progress = 9;
1918
+ optional int64 oldestMsgInChunkTimestampSec = 10;
1919
+ optional bytes initialHistBootstrapInlinePayload = 11;
1920
+ optional string peerDataRequestSessionID = 12;
1921
+ optional FullHistorySyncOnDemandRequestMetadata fullHistorySyncOnDemandRequestMetadata = 13;
1922
+ optional string encHandle = 14;
1923
+ }
1924
+
2080
1925
  message Chat {
2081
1926
  optional string displayName = 1;
2082
1927
  optional string ID = 2;
@@ -2310,13 +2155,20 @@ message UrlTrackingMap {
2310
2155
  repeated UrlTrackingMapElement urlTrackingMapElements = 1;
2311
2156
  }
2312
2157
 
2158
+ message MemberLabel {
2159
+ optional string label = 1;
2160
+ optional int64 labelTimestamp = 2;
2161
+ }
2162
+
2163
+ message AIRichResponseMessage {
2164
+ optional WAAICommon.AIRichResponseMessageType messageType = 1;
2165
+ repeated WAAICommon.AIRichResponseSubMessage submessages = 2;
2166
+ optional WAAICommon.AIRichResponseUnifiedResponse unifiedResponse = 3;
2167
+ optional ContextInfo contextInfo = 4;
2168
+ }
2169
+
2313
2170
  message AIQueryFanout {
2314
2171
  optional WACommon.MessageKey messageKey = 1;
2315
2172
  optional Message message = 2;
2316
2173
  optional int64 timestamp = 3;
2317
2174
  }
2318
-
2319
- message MemberLabel {
2320
- optional string label = 1;
2321
- optional int64 labelTimestamp = 2;
2322
- }
@@ -674,6 +674,7 @@ type Conversation struct {
674
674
  LimitSharingSettingTimestamp *int64 `protobuf:"varint,51,opt,name=limitSharingSettingTimestamp" json:"limitSharingSettingTimestamp,omitempty"`
675
675
  LimitSharingTrigger *waCommon.LimitSharing_Trigger `protobuf:"varint,52,opt,name=limitSharingTrigger,enum=WACommon.LimitSharing_Trigger" json:"limitSharingTrigger,omitempty"`
676
676
  LimitSharingInitiatedByMe *bool `protobuf:"varint,53,opt,name=limitSharingInitiatedByMe" json:"limitSharingInitiatedByMe,omitempty"`
677
+ MaibaAiThreadEnabled *bool `protobuf:"varint,54,opt,name=maibaAiThreadEnabled" json:"maibaAiThreadEnabled,omitempty"`
677
678
  unknownFields protoimpl.UnknownFields
678
679
  sizeCache protoimpl.SizeCache
679
680
  }
@@ -1079,6 +1080,13 @@ func (x *Conversation) GetLimitSharingInitiatedByMe() bool {
1079
1080
  return false
1080
1081
  }
1081
1082
 
1083
+ func (x *Conversation) GetMaibaAiThreadEnabled() bool {
1084
+ if x != nil && x.MaibaAiThreadEnabled != nil {
1085
+ return *x.MaibaAiThreadEnabled
1086
+ }
1087
+ return false
1088
+ }
1089
+
1082
1090
  type GroupParticipant struct {
1083
1091
  state protoimpl.MessageState `protogen:"open.v1"`
1084
1092
  UserJID *string `protobuf:"bytes,1,req,name=userJID" json:"userJID,omitempty"`
@@ -2112,7 +2120,7 @@ const file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc = "" +
2112
2120
  "\x06RECENT\x10\x03\x12\r\n" +
2113
2121
  "\tPUSH_NAME\x10\x04\x12\x15\n" +
2114
2122
  "\x11NON_BLOCKING_DATA\x10\x05\x12\r\n" +
2115
- "\tON_DEMAND\x10\x06\"\x87\x14\n" +
2123
+ "\tON_DEMAND\x10\x06\"\xbb\x14\n" +
2116
2124
  "\fConversation\x12\x0e\n" +
2117
2125
  "\x02ID\x18\x01 \x02(\tR\x02ID\x12E\n" +
2118
2126
  "\bmessages\x18\x02 \x03(\v2).WAWebProtobufsHistorySync.HistorySyncMsgR\bmessages\x12\x16\n" +
@@ -2173,7 +2181,8 @@ const file_waHistorySync_WAWebProtobufsHistorySync_proto_rawDesc = "" +
2173
2181
  "\flimitSharing\x182 \x01(\bR\flimitSharing\x12B\n" +
2174
2182
  "\x1climitSharingSettingTimestamp\x183 \x01(\x03R\x1climitSharingSettingTimestamp\x12P\n" +
2175
2183
  "\x13limitSharingTrigger\x184 \x01(\x0e2\x1e.WACommon.LimitSharing.TriggerR\x13limitSharingTrigger\x12<\n" +
2176
- "\x19limitSharingInitiatedByMe\x185 \x01(\bR\x19limitSharingInitiatedByMe\"\xbc\x01\n" +
2184
+ "\x19limitSharingInitiatedByMe\x185 \x01(\bR\x19limitSharingInitiatedByMe\x122\n" +
2185
+ "\x14maibaAiThreadEnabled\x186 \x01(\bR\x14maibaAiThreadEnabled\"\xbc\x01\n" +
2177
2186
  "\x18EndOfHistoryTransferType\x120\n" +
2178
2187
  ",COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY\x10\x00\x122\n" +
2179
2188
  ".COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY\x10\x01\x12:\n" +
@@ -115,6 +115,7 @@ message Conversation {
115
115
  optional int64 limitSharingSettingTimestamp = 51;
116
116
  optional WACommon.LimitSharing.Trigger limitSharingTrigger = 52;
117
117
  optional bool limitSharingInitiatedByMe = 53;
118
+ optional bool maibaAiThreadEnabled = 54;
118
119
  }
119
120
 
120
121
  message GroupParticipant {