jagproject 26.3.23 → 26.3.26

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 (209) hide show
  1. package/WAProto/GenerateStatics.sh +3 -4
  2. package/WAProto/WAProto.proto +1215 -511
  3. package/WAProto/fix-imports.js +73 -0
  4. package/WAProto/index.d.ts +14017 -0
  5. package/WAProto/index.js +64857 -145167
  6. package/engine-requirements.js +4 -7
  7. package/lib/Defaults/index.d.ts +74 -0
  8. package/lib/Defaults/index.js +49 -35
  9. package/lib/Defaults/phonenumber-mcc.json +223 -0
  10. package/lib/Defaults/wileys-version.json +2 -2
  11. package/lib/Signal/Group/ciphertext-message.d.ts +10 -0
  12. package/lib/Signal/Group/group-session-builder.d.ts +15 -0
  13. package/lib/Signal/Group/group-session-builder.js +5 -3
  14. package/lib/Signal/Group/group_cipher.d.ts +17 -0
  15. package/lib/Signal/Group/group_cipher.js +35 -46
  16. package/lib/Signal/Group/index.d.ts +12 -0
  17. package/lib/Signal/Group/index.js +21 -21
  18. package/lib/Signal/Group/keyhelper.d.ts +11 -0
  19. package/lib/Signal/Group/keyhelper.js +2 -2
  20. package/lib/Signal/Group/sender-chain-key.d.ts +14 -0
  21. package/lib/Signal/Group/sender-chain-key.js +5 -10
  22. package/lib/Signal/Group/sender-key-distribution-message.d.ts +17 -0
  23. package/lib/Signal/Group/sender-key-distribution-message.js +7 -7
  24. package/lib/Signal/Group/sender-key-message.d.ts +19 -0
  25. package/lib/Signal/Group/sender-key-message.js +8 -8
  26. package/lib/Signal/Group/sender-key-name.d.ts +18 -0
  27. package/lib/Signal/Group/sender-key-record.d.ts +31 -0
  28. package/lib/Signal/Group/sender-key-record.js +7 -16
  29. package/lib/Signal/Group/sender-key-state.d.ts +39 -0
  30. package/lib/Signal/Group/sender-key-state.js +25 -37
  31. package/lib/Signal/Group/sender-message-key.d.ts +12 -0
  32. package/lib/Signal/Group/sender-message-key.js +2 -2
  33. package/lib/Signal/libsignal.d.ts +5 -0
  34. package/lib/Signal/libsignal.js +358 -54
  35. package/lib/Signal/lid-mapping.d.ts +19 -0
  36. package/lib/Signal/lid-mapping.js +274 -0
  37. package/lib/Socket/Client/index.d.ts +3 -0
  38. package/lib/Socket/Client/index.js +2 -2
  39. package/lib/Socket/Client/types.d.ts +16 -0
  40. package/lib/Socket/Client/types.js +1 -0
  41. package/lib/Socket/Client/websocket.d.ts +13 -0
  42. package/lib/Socket/Client/websocket.js +18 -30
  43. package/lib/Socket/business.d.ts +202 -0
  44. package/lib/Socket/business.js +160 -38
  45. package/lib/Socket/chats.d.ts +111 -0
  46. package/lib/Socket/chats.js +497 -314
  47. package/lib/Socket/communities.d.ts +258 -0
  48. package/lib/Socket/communities.js +438 -0
  49. package/lib/Socket/community.js +333 -0
  50. package/lib/Socket/groups.d.ts +150 -0
  51. package/lib/Socket/groups.js +229 -91
  52. package/lib/Socket/index.d.ts +245 -0
  53. package/lib/Socket/index.js +9 -6
  54. package/lib/Socket/messages-recv.d.ts +187 -0
  55. package/lib/Socket/messages-recv.js +1105 -501
  56. package/lib/Socket/messages-send.d.ts +183 -0
  57. package/lib/Socket/messages-send.js +1181 -501
  58. package/lib/Socket/mex.d.ts +3 -0
  59. package/lib/Socket/mex.js +45 -0
  60. package/lib/Socket/newsletter.d.ts +160 -0
  61. package/lib/Socket/newsletter.js +227 -200
  62. package/lib/Socket/socket.d.ts +55 -0
  63. package/lib/Socket/socket.js +507 -206
  64. package/lib/Socket/usync.js +6 -6
  65. package/lib/Store/index.js +17 -5
  66. package/lib/Store/make-cache-manager-store.js +83 -0
  67. package/lib/Store/make-in-memory-store.js +48 -89
  68. package/lib/Store/make-ordered-dictionary.js +1 -1
  69. package/lib/Types/Auth.d.ts +116 -0
  70. package/lib/Types/Bussines.d.ts +25 -0
  71. package/lib/Types/Bussines.js +2 -0
  72. package/lib/Types/Call.d.ts +15 -0
  73. package/lib/Types/Chat.d.ts +123 -0
  74. package/lib/Types/Chat.js +7 -1
  75. package/lib/Types/Contact.d.ts +24 -0
  76. package/lib/Types/Events.d.ts +237 -0
  77. package/lib/Types/Events.js +1 -0
  78. package/lib/Types/GroupMetadata.d.ts +67 -0
  79. package/lib/Types/Label.d.ts +47 -0
  80. package/lib/Types/Label.js +1 -3
  81. package/lib/Types/LabelAssociation.d.ts +30 -0
  82. package/lib/Types/LabelAssociation.js +1 -3
  83. package/lib/Types/Message.d.ts +305 -0
  84. package/lib/Types/Message.js +9 -5
  85. package/lib/Types/MexUpdates.js +11 -0
  86. package/lib/Types/Newsletter.d.ts +135 -0
  87. package/lib/Types/Newsletter.js +36 -11
  88. package/lib/Types/Product.d.ts +79 -0
  89. package/lib/Types/Signal.d.ts +76 -0
  90. package/lib/Types/Signal.js +1 -0
  91. package/lib/Types/Socket.d.ts +133 -0
  92. package/lib/Types/Socket.js +1 -0
  93. package/lib/Types/State.d.ts +39 -0
  94. package/lib/Types/State.js +12 -0
  95. package/lib/Types/USync.d.ts +26 -0
  96. package/lib/Types/USync.js +1 -0
  97. package/lib/Types/index.d.ts +65 -0
  98. package/lib/Types/index.js +14 -14
  99. package/lib/Utils/audioToBuffer.js +31 -0
  100. package/lib/Utils/auth-utils.d.ts +19 -0
  101. package/lib/Utils/auth-utils.js +222 -123
  102. package/lib/Utils/baileys-event-stream.js +60 -0
  103. package/lib/Utils/bridge-runtime.d.ts +1 -0
  104. package/lib/Utils/bridge-runtime.js +14 -0
  105. package/lib/Utils/browser-utils.d.ts +4 -0
  106. package/lib/Utils/browser-utils.js +38 -29
  107. package/lib/Utils/business.d.ts +23 -0
  108. package/lib/Utils/business.js +54 -48
  109. package/lib/Utils/chat-utils.d.ts +70 -0
  110. package/lib/Utils/chat-utils.js +284 -189
  111. package/lib/Utils/crypto.d.ts +37 -0
  112. package/lib/Utils/crypto.js +16 -41
  113. package/lib/Utils/decode-wa-message.d.ts +48 -0
  114. package/lib/Utils/decode-wa-message.js +128 -48
  115. package/lib/Utils/event-buffer.d.ts +34 -0
  116. package/lib/Utils/event-buffer.js +124 -62
  117. package/lib/Utils/generics.d.ts +91 -0
  118. package/lib/Utils/generics.js +154 -138
  119. package/lib/Utils/history.d.ts +22 -0
  120. package/lib/Utils/history.js +77 -34
  121. package/lib/Utils/identity-change-handler.d.ts +37 -0
  122. package/lib/Utils/identity-change-handler.js +54 -0
  123. package/lib/Utils/index.d.ts +22 -0
  124. package/lib/Utils/index.js +32 -19
  125. package/lib/Utils/link-preview.d.ts +21 -0
  126. package/lib/Utils/link-preview.js +12 -17
  127. package/lib/Utils/logger.d.ts +13 -0
  128. package/lib/Utils/lt-hash.d.ts +8 -0
  129. package/lib/Utils/lt-hash.js +2 -43
  130. package/lib/Utils/make-mutex.d.ts +9 -0
  131. package/lib/Utils/make-mutex.js +21 -27
  132. package/lib/Utils/message-retry-manager.d.ts +110 -0
  133. package/lib/Utils/message-retry-manager.js +143 -45
  134. package/lib/Utils/messages-media.d.ts +130 -0
  135. package/lib/Utils/messages-media.js +429 -502
  136. package/lib/Utils/messages-newsletter.d.ts +84 -0
  137. package/lib/Utils/messages-newsletter.js +295 -0
  138. package/lib/Utils/messages.d.ts +92 -0
  139. package/lib/Utils/messages.js +1025 -674
  140. package/lib/Utils/noise-handler.d.ts +20 -0
  141. package/lib/Utils/noise-handler.js +145 -91
  142. package/lib/Utils/pre-key-manager.d.ts +28 -0
  143. package/lib/Utils/pre-key-manager.js +112 -0
  144. package/lib/Utils/process-message.d.ts +60 -0
  145. package/lib/Utils/process-message.js +316 -184
  146. package/lib/Utils/reporting-utils.d.ts +11 -0
  147. package/lib/Utils/reporting-utils.js +262 -0
  148. package/lib/Utils/resolve-jid.d.ts +43 -0
  149. package/lib/Utils/resolve-jid.js +95 -0
  150. package/lib/Utils/rust-bridge-shim.d.ts +22 -0
  151. package/lib/Utils/rust-bridge-shim.js +70 -0
  152. package/lib/Utils/serial-task-queue.js +29 -0
  153. package/lib/Utils/signal.d.ts +34 -0
  154. package/lib/Utils/signal.js +56 -39
  155. package/lib/Utils/streamToBuffer.js +17 -0
  156. package/lib/Utils/sync-action-utils.d.ts +19 -0
  157. package/lib/Utils/sync-action-utils.js +52 -0
  158. package/lib/Utils/tc-token-utils.d.ts +12 -0
  159. package/lib/Utils/tc-token-utils.js +20 -0
  160. package/lib/Utils/use-mongo-file-auth-state.js +71 -0
  161. package/lib/Utils/use-multi-file-auth-state.d.ts +13 -0
  162. package/lib/Utils/use-multi-file-auth-state.js +11 -12
  163. package/lib/Utils/use-single-file-auth-state.js +73 -0
  164. package/lib/Utils/validate-connection.d.ts +11 -0
  165. package/lib/Utils/validate-connection.js +59 -82
  166. package/lib/Utils/wileys-event-stream.js +1 -61
  167. package/lib/WABinary/constants.d.ts +28 -0
  168. package/lib/WABinary/decode.d.ts +7 -0
  169. package/lib/WABinary/decode.js +39 -4
  170. package/lib/WABinary/encode.d.ts +3 -0
  171. package/lib/WABinary/encode.js +17 -11
  172. package/lib/WABinary/generic-utils.d.ts +15 -0
  173. package/lib/WABinary/generic-utils.js +46 -18
  174. package/lib/WABinary/index.d.ts +6 -0
  175. package/lib/WABinary/index.js +9 -5
  176. package/lib/WABinary/jid-utils.d.ts +48 -0
  177. package/lib/WABinary/jid-utils.js +67 -37
  178. package/lib/WABinary/types.d.ts +19 -0
  179. package/lib/WABinary/types.js +34 -0
  180. package/lib/WAM/BinaryInfo.d.ts +9 -0
  181. package/lib/WAM/constants.d.ts +40 -0
  182. package/lib/WAM/constants.js +19183 -11678
  183. package/lib/WAM/encode.d.ts +3 -0
  184. package/lib/WAM/encode.js +15 -17
  185. package/lib/WAM/index.d.ts +4 -0
  186. package/lib/WAM/index.js +3 -3
  187. package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +10 -0
  188. package/lib/WAUSync/Protocols/USyncContactProtocol.js +6 -6
  189. package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +23 -0
  190. package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +9 -9
  191. package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +13 -0
  192. package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +6 -6
  193. package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +13 -0
  194. package/lib/WAUSync/Protocols/USyncStatusProtocol.js +7 -8
  195. package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.d.ts +26 -0
  196. package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +18 -17
  197. package/lib/WAUSync/Protocols/UsyncLIDProtocol.d.ts +10 -0
  198. package/lib/WAUSync/Protocols/UsyncLIDProtocol.js +11 -3
  199. package/lib/WAUSync/Protocols/index.d.ts +5 -0
  200. package/lib/WAUSync/Protocols/index.js +6 -4
  201. package/lib/WAUSync/USyncQuery.d.ts +29 -0
  202. package/lib/WAUSync/USyncQuery.js +38 -30
  203. package/lib/WAUSync/USyncUser.d.ts +13 -0
  204. package/lib/WAUSync/index.d.ts +4 -0
  205. package/lib/WAUSync/index.js +3 -3
  206. package/lib/index.d.ts +12 -0
  207. package/lib/index.js +3 -5
  208. package/package.json +7 -4
  209. package/LICENSE +0 -21
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package proto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1023888953
4
+ /// WhatsApp Version: 2.3000.1029496320
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -42,169 +42,214 @@ message ADVSignedKeyIndexList {
42
42
  optional bytes accountSignatureKey = 3;
43
43
  }
44
44
 
45
+ message AIHomeState {
46
+ optional int64 lastFetchTime = 1;
47
+ repeated AIHomeOption capabilityOptions = 2;
48
+ repeated AIHomeOption conversationOptions = 3;
49
+ message AIHomeOption {
50
+ optional AIHomeActionType type = 1;
51
+ optional string title = 2;
52
+ optional string promptText = 3;
53
+ optional string sessionId = 4;
54
+ optional string imageWdsIdentifier = 5;
55
+ optional string imageTintColor = 6;
56
+ optional string imageBackgroundColor = 7;
57
+ enum AIHomeActionType {
58
+ PROMPT = 0;
59
+ CREATE_IMAGE = 1;
60
+ ANIMATE_PHOTO = 2;
61
+ ANALYZE_FILE = 3;
62
+ }
63
+ }
64
+
65
+ }
66
+
45
67
  message AIQueryFanout {
46
68
  optional MessageKey messageKey = 1;
47
69
  optional Message message = 2;
48
70
  optional int64 timestamp = 3;
49
71
  }
50
72
 
73
+ message AIRegenerateMetadata {
74
+ optional MessageKey messageKey = 1;
75
+ optional int64 responseTimestampMs = 2;
76
+ }
77
+
78
+ message AIRichResponseCodeMetadata {
79
+ optional string codeLanguage = 1;
80
+ repeated AIRichResponseCodeBlock codeBlocks = 2;
81
+ message AIRichResponseCodeBlock {
82
+ optional AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType highlightType = 1;
83
+ optional string codeContent = 2;
84
+ }
85
+
86
+ enum AIRichResponseCodeHighlightType {
87
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
88
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
89
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2;
90
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3;
91
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4;
92
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5;
93
+ }
94
+ }
95
+
96
+ message AIRichResponseContentItemsMetadata {
97
+ repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
98
+ optional ContentType contentType = 2;
99
+ message AIRichResponseContentItemMetadata {
100
+ oneof aIRichResponseContentItem {
101
+ AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
102
+ }
103
+ }
104
+
105
+ message AIRichResponseReelItem {
106
+ optional string title = 1;
107
+ optional string profileIconUrl = 2;
108
+ optional string thumbnailUrl = 3;
109
+ optional string videoUrl = 4;
110
+ }
111
+
112
+ enum ContentType {
113
+ DEFAULT = 0;
114
+ CAROUSEL = 1;
115
+ }
116
+ }
117
+
118
+ message AIRichResponseDynamicMetadata {
119
+ optional AIRichResponseDynamicMetadataType type = 1;
120
+ optional uint64 version = 2;
121
+ optional string url = 3;
122
+ optional uint32 loopCount = 4;
123
+ enum AIRichResponseDynamicMetadataType {
124
+ AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0;
125
+ AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1;
126
+ AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2;
127
+ }
128
+ }
129
+
130
+ message AIRichResponseGridImageMetadata {
131
+ optional AIRichResponseImageURL gridImageUrl = 1;
132
+ repeated AIRichResponseImageURL imageUrls = 2;
133
+ }
134
+
135
+ message AIRichResponseImageURL {
136
+ optional string imagePreviewUrl = 1;
137
+ optional string imageHighResUrl = 2;
138
+ optional string sourceUrl = 3;
139
+ }
140
+
141
+ message AIRichResponseInlineImageMetadata {
142
+ optional AIRichResponseImageURL imageUrl = 1;
143
+ optional string imageText = 2;
144
+ optional AIRichResponseImageAlignment alignment = 3;
145
+ optional string tapLinkUrl = 4;
146
+ enum AIRichResponseImageAlignment {
147
+ AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0;
148
+ AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1;
149
+ AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2;
150
+ }
151
+ }
152
+
153
+ message AIRichResponseLatexMetadata {
154
+ optional string text = 1;
155
+ repeated AIRichResponseLatexExpression expressions = 2;
156
+ message AIRichResponseLatexExpression {
157
+ optional string latexExpression = 1;
158
+ optional string url = 2;
159
+ optional double width = 3;
160
+ optional double height = 4;
161
+ optional double fontHeight = 5;
162
+ optional double imageTopPadding = 6;
163
+ optional double imageLeadingPadding = 7;
164
+ optional double imageBottomPadding = 8;
165
+ optional double imageTrailingPadding = 9;
166
+ }
167
+
168
+ }
169
+
170
+ message AIRichResponseMapMetadata {
171
+ optional double centerLatitude = 1;
172
+ optional double centerLongitude = 2;
173
+ optional double latitudeDelta = 3;
174
+ optional double longitudeDelta = 4;
175
+ repeated AIRichResponseMapAnnotation annotations = 5;
176
+ optional bool showInfoList = 6;
177
+ message AIRichResponseMapAnnotation {
178
+ optional uint32 annotationNumber = 1;
179
+ optional double latitude = 2;
180
+ optional double longitude = 3;
181
+ optional string title = 4;
182
+ optional string body = 5;
183
+ }
184
+
185
+ }
186
+
51
187
  message AIRichResponseMessage {
52
188
  optional AIRichResponseMessageType messageType = 1;
53
189
  repeated AIRichResponseSubMessage submessages = 2;
54
190
  optional AIRichResponseUnifiedResponse unifiedResponse = 3;
55
191
  optional ContextInfo contextInfo = 4;
56
- message AIRichResponseCodeMetadata {
57
- optional string codeLanguage = 1;
58
- repeated AIRichResponseCodeBlock codeBlocks = 2;
59
- message AIRichResponseCodeBlock {
60
- optional AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType highlightType = 1;
61
- optional string codeContent = 2;
62
- }
63
-
64
- enum AIRichResponseCodeHighlightType {
65
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
66
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
67
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2;
68
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3;
69
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4;
70
- AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5;
71
- }
72
- }
73
-
74
- message AIRichResponseContentItemsMetadata {
75
- repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
76
- optional ContentType contentType = 2;
77
- message AIRichResponseContentItemMetadata {
78
- oneof aIRichResponseContentItem {
79
- AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
80
- }
81
- }
82
-
83
- message AIRichResponseReelItem {
84
- optional string title = 1;
85
- optional string profileIconUrl = 2;
86
- optional string thumbnailUrl = 3;
87
- optional string videoUrl = 4;
88
- }
89
-
90
- enum ContentType {
91
- DEFAULT = 0;
92
- CAROUSEL = 1;
93
- }
94
- }
95
-
96
- message AIRichResponseDynamicMetadata {
97
- optional AIRichResponseDynamicMetadataType type = 1;
98
- optional uint64 version = 2;
99
- optional string url = 3;
100
- optional uint32 loopCount = 4;
101
- enum AIRichResponseDynamicMetadataType {
102
- AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0;
103
- AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1;
104
- AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2;
105
- }
106
- }
107
-
108
- message AIRichResponseGridImageMetadata {
109
- optional AIRichResponseMessage.AIRichResponseImageURL gridImageUrl = 1;
110
- repeated AIRichResponseMessage.AIRichResponseImageURL imageUrls = 2;
111
- }
112
-
113
- message AIRichResponseImageURL {
114
- optional string imagePreviewUrl = 1;
115
- optional string imageHighResUrl = 2;
116
- optional string sourceUrl = 3;
117
- }
118
-
119
- message AIRichResponseInlineImageMetadata {
120
- optional AIRichResponseMessage.AIRichResponseImageURL imageUrl = 1;
121
- optional string imageText = 2;
122
- optional AIRichResponseImageAlignment alignment = 3;
123
- optional string tapLinkUrl = 4;
124
- enum AIRichResponseImageAlignment {
125
- AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0;
126
- AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1;
127
- AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2;
128
- }
129
- }
130
-
131
- message AIRichResponseLatexMetadata {
132
- optional string text = 1;
133
- repeated AIRichResponseLatexExpression expressions = 2;
134
- message AIRichResponseLatexExpression {
135
- optional string latexExpression = 1;
136
- optional string url = 2;
137
- optional double width = 3;
138
- optional double height = 4;
139
- optional double fontHeight = 5;
140
- optional double imageTopPadding = 6;
141
- optional double imageLeadingPadding = 7;
142
- optional double imageBottomPadding = 8;
143
- optional double imageTrailingPadding = 9;
144
- }
145
-
146
- }
147
-
148
- message AIRichResponseMapMetadata {
149
- optional double centerLatitude = 1;
150
- optional double centerLongitude = 2;
151
- optional double latitudeDelta = 3;
152
- optional double longitudeDelta = 4;
153
- repeated AIRichResponseMapAnnotation annotations = 5;
154
- optional bool showInfoList = 6;
155
- message AIRichResponseMapAnnotation {
156
- optional uint32 annotationNumber = 1;
157
- optional double latitude = 2;
158
- optional double longitude = 3;
159
- optional string title = 4;
160
- optional string body = 5;
161
- }
162
-
163
- }
164
-
165
- enum AIRichResponseMessageType {
166
- AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
167
- AI_RICH_RESPONSE_TYPE_STANDARD = 1;
168
- }
169
- message AIRichResponseSubMessage {
170
- optional AIRichResponseMessage.AIRichResponseSubMessageType messageType = 1;
171
- optional AIRichResponseMessage.AIRichResponseGridImageMetadata gridImageMetadata = 2;
172
- optional string messageText = 3;
173
- optional AIRichResponseMessage.AIRichResponseInlineImageMetadata imageMetadata = 4;
174
- optional AIRichResponseMessage.AIRichResponseCodeMetadata codeMetadata = 5;
175
- optional AIRichResponseMessage.AIRichResponseTableMetadata tableMetadata = 6;
176
- optional AIRichResponseMessage.AIRichResponseDynamicMetadata dynamicMetadata = 7;
177
- optional AIRichResponseMessage.AIRichResponseLatexMetadata latexMetadata = 8;
178
- optional AIRichResponseMessage.AIRichResponseMapMetadata mapMetadata = 9;
179
- optional AIRichResponseMessage.AIRichResponseContentItemsMetadata contentItemsMetadata = 10;
180
- }
181
-
182
- enum AIRichResponseSubMessageType {
183
- AI_RICH_RESPONSE_UNKNOWN = 0;
184
- AI_RICH_RESPONSE_GRID_IMAGE = 1;
185
- AI_RICH_RESPONSE_TEXT = 2;
186
- AI_RICH_RESPONSE_INLINE_IMAGE = 3;
187
- AI_RICH_RESPONSE_TABLE = 4;
188
- AI_RICH_RESPONSE_CODE = 5;
189
- AI_RICH_RESPONSE_DYNAMIC = 6;
190
- AI_RICH_RESPONSE_MAP = 7;
191
- AI_RICH_RESPONSE_LATEX = 8;
192
- AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
193
- }
194
- message AIRichResponseTableMetadata {
195
- repeated AIRichResponseTableRow rows = 1;
196
- optional string title = 2;
197
- message AIRichResponseTableRow {
198
- repeated string items = 1;
199
- optional bool isHeading = 2;
192
+ }
193
+
194
+ enum AIRichResponseMessageType {
195
+ AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
196
+ AI_RICH_RESPONSE_TYPE_STANDARD = 1;
197
+ }
198
+ message AIRichResponseSubMessage {
199
+ optional AIRichResponseSubMessageType messageType = 1;
200
+ optional AIRichResponseGridImageMetadata gridImageMetadata = 2;
201
+ optional string messageText = 3;
202
+ optional AIRichResponseInlineImageMetadata imageMetadata = 4;
203
+ optional AIRichResponseCodeMetadata codeMetadata = 5;
204
+ optional AIRichResponseTableMetadata tableMetadata = 6;
205
+ optional AIRichResponseDynamicMetadata dynamicMetadata = 7;
206
+ optional AIRichResponseLatexMetadata latexMetadata = 8;
207
+ optional AIRichResponseMapMetadata mapMetadata = 9;
208
+ optional AIRichResponseContentItemsMetadata contentItemsMetadata = 10;
209
+ }
210
+
211
+ enum AIRichResponseSubMessageType {
212
+ AI_RICH_RESPONSE_UNKNOWN = 0;
213
+ AI_RICH_RESPONSE_GRID_IMAGE = 1;
214
+ AI_RICH_RESPONSE_TEXT = 2;
215
+ AI_RICH_RESPONSE_INLINE_IMAGE = 3;
216
+ AI_RICH_RESPONSE_TABLE = 4;
217
+ AI_RICH_RESPONSE_CODE = 5;
218
+ AI_RICH_RESPONSE_DYNAMIC = 6;
219
+ AI_RICH_RESPONSE_MAP = 7;
220
+ AI_RICH_RESPONSE_LATEX = 8;
221
+ AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
222
+ }
223
+ message AIRichResponseTableMetadata {
224
+ repeated AIRichResponseTableRow rows = 1;
225
+ optional string title = 2;
226
+ message AIRichResponseTableRow {
227
+ repeated string items = 1;
228
+ optional bool isHeading = 2;
229
+ }
230
+
231
+ }
232
+
233
+ message AIRichResponseUnifiedResponse {
234
+ optional bytes data = 1;
235
+ }
236
+
237
+ message AIThreadInfo {
238
+ optional AIThreadServerInfo serverInfo = 1;
239
+ optional AIThreadClientInfo clientInfo = 2;
240
+ message AIThreadClientInfo {
241
+ optional AIThreadType type = 1;
242
+ enum AIThreadType {
243
+ UNKNOWN = 0;
244
+ DEFAULT = 1;
245
+ INCOGNITO = 2;
200
246
  }
201
-
202
247
  }
203
-
204
- message AIRichResponseUnifiedResponse {
205
- optional bytes data = 1;
248
+
249
+ message AIThreadServerInfo {
250
+ optional string title = 1;
206
251
  }
207
-
252
+
208
253
  }
209
254
 
210
255
  message Account {
@@ -278,6 +323,11 @@ message BizIdentityInfo {
278
323
  message BotAgeCollectionMetadata {
279
324
  optional bool ageCollectionEligible = 1;
280
325
  optional bool shouldTriggerAgeCollectionOnClient = 2;
326
+ optional AgeCollectionType ageCollectionType = 3;
327
+ enum AgeCollectionType {
328
+ O18_BINARY = 0;
329
+ WAFFLE = 1;
330
+ }
281
331
  }
282
332
 
283
333
  message BotAvatarMetadata {
@@ -328,7 +378,116 @@ message BotCapabilityMetadata {
328
378
  RICH_RESPONSE_UNIFIED_RESPONSE = 34;
329
379
  PROMOTION_MESSAGE = 35;
330
380
  SIMPLIFIED_PROFILE_PAGE = 36;
381
+ RICH_RESPONSE_SOURCES_IN_MESSAGE = 37;
382
+ RICH_RESPONSE_SIDE_BY_SIDE_SURVEY = 38;
383
+ RICH_RESPONSE_UNIFIED_TEXT_COMPONENT = 39;
384
+ AI_SHARED_MEMORY = 40;
385
+ RICH_RESPONSE_UNIFIED_SOURCES = 41;
386
+ RICH_RESPONSE_UNIFIED_DOMAIN_CITATIONS = 42;
387
+ RICH_RESPONSE_UR_INLINE_REELS_ENABLED = 43;
388
+ RICH_RESPONSE_UR_MEDIA_GRID_ENABLED = 44;
389
+ RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45;
390
+ RICH_RESPONSE_IN_APP_SURVEY = 46;
391
+ AI_RESPONSE_MODEL_BRANDING = 47;
392
+ SESSION_TRANSPARENCY_SYSTEM_MESSAGE = 48;
393
+ RICH_RESPONSE_UR_REASONING = 49;
394
+ }
395
+ }
396
+
397
+ message BotFeedbackMessage {
398
+ optional MessageKey messageKey = 1;
399
+ optional BotFeedbackKind kind = 2;
400
+ optional string text = 3;
401
+ optional uint64 kindNegative = 4;
402
+ optional uint64 kindPositive = 5;
403
+ optional ReportKind kindReport = 6;
404
+ optional SideBySideSurveyMetadata sideBySideSurveyMetadata = 7;
405
+ enum BotFeedbackKind {
406
+ BOT_FEEDBACK_POSITIVE = 0;
407
+ BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
408
+ BOT_FEEDBACK_NEGATIVE_HELPFUL = 2;
409
+ BOT_FEEDBACK_NEGATIVE_INTERESTING = 3;
410
+ BOT_FEEDBACK_NEGATIVE_ACCURATE = 4;
411
+ BOT_FEEDBACK_NEGATIVE_SAFE = 5;
412
+ BOT_FEEDBACK_NEGATIVE_OTHER = 6;
413
+ BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
414
+ BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
415
+ BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
416
+ BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10;
417
+ BOT_FEEDBACK_NEGATIVE_CLARITY = 11;
418
+ BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12;
419
+ BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY = 13;
420
+ BOT_FEEDBACK_NEGATIVE = 14;
421
+ }
422
+ enum BotFeedbackKindMultipleNegative {
423
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
424
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2;
425
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4;
426
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8;
427
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16;
428
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32;
429
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64;
430
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128;
431
+ BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256;
432
+ }
433
+ enum BotFeedbackKindMultiplePositive {
434
+ BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
435
+ }
436
+ enum ReportKind {
437
+ NONE = 0;
438
+ GENERIC = 1;
439
+ }
440
+ message SideBySideSurveyMetadata {
441
+ optional string selectedRequestId = 1;
442
+ optional uint32 surveyId = 2;
443
+ optional string simonSessionFbid = 3;
444
+ optional string responseOtid = 4;
445
+ optional string responseTimestampMsString = 5;
446
+ optional bool isSelectedResponsePrimary = 6;
447
+ optional string messageIdToEdit = 7;
448
+ optional SideBySideSurveyAnalyticsData analyticsData = 8;
449
+ optional SidebySideSurveyMetaAiAnalyticsData metaAiAnalyticsData = 9;
450
+ message SideBySideSurveyAnalyticsData {
451
+ optional string tessaEvent = 1;
452
+ optional string tessaSessionFbid = 2;
453
+ optional string simonSessionFbid = 3;
454
+ }
455
+
456
+ message SidebySideSurveyMetaAiAnalyticsData {
457
+ optional uint32 surveyId = 1;
458
+ optional string primaryResponseId = 2;
459
+ optional string testArmName = 3;
460
+ optional string timestampMsString = 4;
461
+ optional SideBySideSurveyCTAImpressionEventData ctaImpressionEvent = 5;
462
+ optional SideBySideSurveyCTAClickEventData ctaClickEvent = 6;
463
+ optional SideBySideSurveyCardImpressionEventData cardImpressionEvent = 7;
464
+ optional SideBySideSurveyResponseEventData responseEvent = 8;
465
+ optional SideBySideSurveyAbandonEventData abandonEvent = 9;
466
+ message SideBySideSurveyAbandonEventData {
467
+ optional string abandonDwellTimeMsString = 1;
468
+ }
469
+
470
+ message SideBySideSurveyCTAClickEventData {
471
+ optional bool isSurveyExpired = 1;
472
+ optional string clickDwellTimeMsString = 2;
473
+ }
474
+
475
+ message SideBySideSurveyCTAImpressionEventData {
476
+ optional bool isSurveyExpired = 1;
477
+ }
478
+
479
+ message SideBySideSurveyCardImpressionEventData {
480
+ }
481
+
482
+ message SideBySideSurveyResponseEventData {
483
+ optional string responseDwellTimeMsString = 1;
484
+ optional string selectedResponseId = 2;
485
+ }
486
+
487
+ }
488
+
331
489
  }
490
+
332
491
  }
333
492
 
334
493
  message BotImagineMetadata {
@@ -385,6 +544,22 @@ message BotMemuMetadata {
385
544
  repeated BotMediaMetadata faceImages = 1;
386
545
  }
387
546
 
547
+ message BotMessageOrigin {
548
+ optional BotMessageOriginType type = 1;
549
+ enum BotMessageOriginType {
550
+ BOT_MESSAGE_ORIGIN_TYPE_AI_INITIATED = 0;
551
+ }
552
+ }
553
+
554
+ message BotMessageOriginMetadata {
555
+ repeated BotMessageOrigin origins = 1;
556
+ }
557
+
558
+ message BotMessageSharingInfo {
559
+ optional BotMetricsEntryPoint botEntryPointOrigin = 1;
560
+ optional uint32 forwardScore = 2;
561
+ }
562
+
388
563
  message BotMetadata {
389
564
  optional BotAvatarMetadata avatarMetadata = 1;
390
565
  optional string personaId = 2;
@@ -413,9 +588,17 @@ message BotMetadata {
413
588
  optional string conversationStarterPromptId = 25;
414
589
  optional string botResponseId = 26;
415
590
  optional BotSignatureVerificationMetadata verificationMetadata = 27;
591
+ optional BotUnifiedResponseMutation unifiedResponseMutation = 28;
592
+ optional BotMessageOriginMetadata botMessageOriginMetadata = 29;
593
+ optional InThreadSurveyMetadata inThreadSurveyMetadata = 30;
594
+ optional AIThreadInfo botThreadInfo = 31;
595
+ optional AIRegenerateMetadata regenerateMetadata = 32;
596
+ optional SessionTransparencyMetadata sessionTransparencyMetadata = 33;
597
+ optional bytes internalMetadata = 999;
416
598
  }
417
599
 
418
600
  enum BotMetricsEntryPoint {
601
+ UNDEFINED_ENTRY_POINT = 0;
419
602
  FAVICON = 1;
420
603
  CHATLIST = 2;
421
604
  AISEARCH_NULL_STATE_PAPER_PLANE = 3;
@@ -441,6 +624,19 @@ enum BotMetricsEntryPoint {
441
624
  UGC_CHAT_SHORTCUT_AI_STUDIO = 23;
442
625
  NEW_CHAT_AI_STUDIO = 24;
443
626
  AIVOICE_FAVICON_CALL_HISTORY = 25;
627
+ ASK_META_AI_CONTEXT_MENU = 26;
628
+ ASK_META_AI_CONTEXT_MENU_1ON1 = 27;
629
+ ASK_META_AI_CONTEXT_MENU_GROUP = 28;
630
+ INVOKE_META_AI_1ON1 = 29;
631
+ INVOKE_META_AI_GROUP = 30;
632
+ META_AI_FORWARD = 31;
633
+ NEW_CHAT_AI_CONTACT = 32;
634
+ MESSAGE_QUICK_ACTION_1_ON_1_CHAT = 33;
635
+ MESSAGE_QUICK_ACTION_GROUP_CHAT = 34;
636
+ ATTACHMENT_TRAY_1_ON_1_CHAT = 35;
637
+ ATTACHMENT_TRAY_GROUP_CHAT = 36;
638
+ ASK_META_AI_MEDIA_VIEWER_1ON1 = 37;
639
+ ASK_META_AI_MEDIA_VIEWER_GROUP = 38;
444
640
  }
445
641
  message BotMetricsMetadata {
446
642
  optional string destinationId = 1;
@@ -453,6 +649,7 @@ enum BotMetricsThreadEntryPoint {
453
649
  AI_HOME_THREAD = 2;
454
650
  AI_DEEPLINK_IMMERSIVE_THREAD = 3;
455
651
  AI_DEEPLINK_THREAD = 4;
652
+ ASK_META_AI_CONTEXT_MENU_THREAD = 5;
456
653
  }
457
654
  message BotModeSelectionMetadata {
458
655
  repeated BotUserSelectionMode mode = 1;
@@ -465,6 +662,7 @@ message BotModeSelectionMetadata {
465
662
  message BotModelMetadata {
466
663
  optional ModelType modelType = 1;
467
664
  optional PremiumModelStatus premiumModelStatus = 2;
665
+ optional string modelNameOverride = 3;
468
666
  enum ModelType {
469
667
  UNKNOWN_TYPE = 0;
470
668
  LLAMA_PROD = 1;
@@ -520,7 +718,7 @@ message BotProgressIndicatorMetadata {
520
718
  optional string sourceUrl = 3;
521
719
  optional string favIconUrl = 4;
522
720
  }
523
-
721
+
524
722
  message BotPlanningSearchSourcesMetadata {
525
723
  optional string sourceTitle = 1;
526
724
  optional BotPlanningSearchSourceProvider provider = 2;
@@ -532,13 +730,13 @@ message BotProgressIndicatorMetadata {
532
730
  BING = 3;
533
731
  }
534
732
  }
535
-
733
+
536
734
  message BotPlanningStepSectionMetadata {
537
735
  optional string sectionTitle = 1;
538
736
  optional string sectionBody = 2;
539
737
  repeated BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata sourcesMetadata = 3;
540
738
  }
541
-
739
+
542
740
  enum BotSearchSourceProvider {
543
741
  UNKNOWN_PROVIDER = 0;
544
742
  OTHER = 1;
@@ -552,7 +750,7 @@ message BotProgressIndicatorMetadata {
552
750
  FINISHED = 3;
553
751
  }
554
752
  }
555
-
753
+
556
754
  }
557
755
 
558
756
  message BotPromotionMessageMetadata {
@@ -561,6 +759,7 @@ message BotPromotionMessageMetadata {
561
759
  enum BotPromotionType {
562
760
  UNKNOWN_TYPE = 0;
563
761
  C50 = 1;
762
+ SURVEY_PLATFORM = 2;
564
763
  }
565
764
  }
566
765
 
@@ -584,7 +783,7 @@ message BotQuotaMetadata {
584
783
  REASONING_FEATURE = 1;
585
784
  }
586
785
  }
587
-
786
+
588
787
  }
589
788
 
590
789
  message BotReminderMetadata {
@@ -614,7 +813,7 @@ message BotRenderingMetadata {
614
813
  optional string value = 1;
615
814
  repeated string associatedPrompts = 2;
616
815
  }
617
-
816
+
618
817
  }
619
818
 
620
819
  message BotSessionMetadata {
@@ -639,9 +838,10 @@ message BotSignatureVerificationUseCaseProof {
639
838
  optional int32 version = 1;
640
839
  optional BotSignatureUseCase useCase = 2;
641
840
  optional bytes signature = 3;
642
- optional bytes certificateChain = 4;
841
+ repeated bytes certificateChain = 4;
643
842
  enum BotSignatureUseCase {
644
- WA_BOT_MSG = 0;
843
+ UNSPECIFIED = 0;
844
+ WA_BOT_MSG = 1;
645
845
  }
646
846
  }
647
847
 
@@ -654,14 +854,16 @@ message BotSourcesMetadata {
654
854
  optional string sourceQuery = 4;
655
855
  optional string faviconCdnUrl = 5;
656
856
  optional uint32 citationNumber = 6;
857
+ optional string sourceTitle = 7;
657
858
  enum SourceProvider {
658
859
  UNKNOWN = 0;
659
860
  BING = 1;
660
861
  GOOGLE = 2;
661
862
  SUPPORT = 3;
863
+ OTHER = 4;
662
864
  }
663
865
  }
664
-
866
+
665
867
  }
666
868
 
667
869
  message BotSuggestedPromptMetadata {
@@ -671,6 +873,22 @@ message BotSuggestedPromptMetadata {
671
873
  optional string selectedPromptId = 4;
672
874
  }
673
875
 
876
+ message BotUnifiedResponseMutation {
877
+ optional SideBySideMetadata sbsMetadata = 1;
878
+ repeated MediaDetailsMetadata mediaDetailsMetadataList = 2;
879
+ message MediaDetailsMetadata {
880
+ optional string id = 1;
881
+ optional BotMediaMetadata highResMedia = 2;
882
+ optional BotMediaMetadata previewMedia = 3;
883
+ }
884
+
885
+ message SideBySideMetadata {
886
+ optional string primaryResponseId = 1;
887
+ optional bool surveyCtaHasRendered = 2;
888
+ }
889
+
890
+ }
891
+
674
892
  message CallLogRecord {
675
893
  optional CallResult callResult = 1;
676
894
  optional bool isDndMode = 2;
@@ -709,7 +927,7 @@ message CallLogRecord {
709
927
  optional string userJid = 1;
710
928
  optional CallLogRecord.CallResult callResult = 2;
711
929
  }
712
-
930
+
713
931
  enum SilenceReason {
714
932
  NONE = 0;
715
933
  SCHEDULED = 1;
@@ -731,9 +949,9 @@ message CertChain {
731
949
  optional uint64 notBefore = 4;
732
950
  optional uint64 notAfter = 5;
733
951
  }
734
-
952
+
735
953
  }
736
-
954
+
737
955
  }
738
956
 
739
957
  message ChatLockSettings {
@@ -768,23 +986,23 @@ message ChatRowOpaqueData {
768
986
  VIDEO = 2;
769
987
  }
770
988
  }
771
-
989
+
772
990
  message CtwaContextLinkData {
773
991
  optional string context = 1;
774
992
  optional string sourceUrl = 2;
775
993
  optional string icebreaker = 3;
776
994
  optional string phone = 4;
777
995
  }
778
-
996
+
779
997
  }
780
-
998
+
781
999
  }
782
1000
 
783
1001
  message Citation {
784
- required string title = 1;
785
- required string subtitle = 2;
786
- required string cmsId = 3;
787
- required string imageUrl = 4;
1002
+ string title = 1;
1003
+ string subtitle = 2;
1004
+ string cmsId = 3;
1005
+ string imageUrl = 4;
788
1006
  }
789
1007
 
790
1008
  message ClientPairingProps {
@@ -824,6 +1042,10 @@ message ClientPayload {
824
1042
  optional TrafficAnonymization trafficAnonymization = 40;
825
1043
  optional bool lidDbMigrated = 41;
826
1044
  optional AccountType accountType = 42;
1045
+ optional sfixed32 connectionSequenceInfo = 43;
1046
+ optional bool paaLink = 44;
1047
+ optional int32 preacksCount = 45;
1048
+ optional int32 processingQueueSize = 46;
827
1049
  enum AccountType {
828
1050
  DEFAULT = 0;
829
1051
  GUEST = 1;
@@ -866,7 +1088,7 @@ message ClientPayload {
866
1088
  MNS = 5;
867
1089
  }
868
1090
  }
869
-
1091
+
870
1092
  message DevicePairingRegistrationData {
871
1093
  optional bytes eRegid = 1;
872
1094
  optional bytes eKeytype = 2;
@@ -877,7 +1099,7 @@ message ClientPayload {
877
1099
  optional bytes buildHash = 7;
878
1100
  optional bytes deviceProps = 8;
879
1101
  }
880
-
1102
+
881
1103
  enum IOSAppExtension {
882
1104
  SHARE_EXTENSION = 0;
883
1105
  SERVICE_EXTENSION = 1;
@@ -888,7 +1110,7 @@ message ClientPayload {
888
1110
  optional bytes token = 2;
889
1111
  optional bool enableReadReceipts = 3;
890
1112
  }
891
-
1113
+
892
1114
  enum Product {
893
1115
  WHATSAPP = 0;
894
1116
  MESSENGER = 1;
@@ -924,7 +1146,7 @@ message ClientPayload {
924
1146
  optional uint32 quaternary = 4;
925
1147
  optional uint32 quinary = 5;
926
1148
  }
927
-
1149
+
928
1150
  enum DeviceType {
929
1151
  PHONE = 0;
930
1152
  TABLET = 1;
@@ -969,6 +1191,8 @@ message ClientPayload {
969
1191
  IPAD = 33;
970
1192
  TEST = 34;
971
1193
  SMART_GLASSES = 35;
1194
+ BLUE_VR = 36;
1195
+ AR_WRIST = 37;
972
1196
  }
973
1197
  enum ReleaseChannel {
974
1198
  RELEASE = 0;
@@ -977,7 +1201,7 @@ message ClientPayload {
977
1201
  DEBUG = 3;
978
1202
  }
979
1203
  }
980
-
1204
+
981
1205
  message WebInfo {
982
1206
  optional string refToken = 1;
983
1207
  optional string version = 2;
@@ -1004,11 +1228,19 @@ message ClientPayload {
1004
1228
  optional string documentTypes = 10;
1005
1229
  optional bytes features = 11;
1006
1230
  }
1007
-
1231
+
1008
1232
  }
1009
-
1233
+
1010
1234
  }
1011
1235
 
1236
+ enum CollectionName {
1237
+ COLLECTION_NAME_UNKNOWN = 0;
1238
+ REGULAR = 1;
1239
+ REGULAR_LOW = 2;
1240
+ REGULAR_HIGH = 3;
1241
+ CRITICAL_BLOCK = 4;
1242
+ CRITICAL_UNBLOCK_LOW = 5;
1243
+ }
1012
1244
  message CommentMetadata {
1013
1245
  optional MessageKey commentParentKey = 1;
1014
1246
  optional uint32 replyCount = 2;
@@ -1078,6 +1310,13 @@ message ContextInfo {
1078
1310
  optional bool isQuestion = 63;
1079
1311
  optional StatusSourceType statusSourceType = 64;
1080
1312
  repeated StatusAttribution statusAttributions = 65;
1313
+ optional bool isGroupStatus = 66;
1314
+ optional ForwardOrigin forwardOrigin = 67;
1315
+ optional QuestionReplyQuotedMessage questionReplyQuotedMessage = 68;
1316
+ optional StatusAudienceMetadata statusAudienceMetadata = 69;
1317
+ optional uint32 nonJidMentions = 70;
1318
+ optional QuotedType quotedType = 71;
1319
+ optional BotMessageSharingInfo botMessageSharingInfo = 72;
1081
1320
  message AdReplyInfo {
1082
1321
  optional string advertiserName = 1;
1083
1322
  optional MediaType mediaType = 2;
@@ -1089,15 +1328,20 @@ message ContextInfo {
1089
1328
  VIDEO = 2;
1090
1329
  }
1091
1330
  }
1092
-
1331
+
1093
1332
  message BusinessMessageForwardInfo {
1094
1333
  optional string businessOwnerJid = 1;
1095
1334
  }
1096
-
1335
+
1097
1336
  message DataSharingContext {
1098
1337
  optional bool showMmDisclosure = 1;
1099
1338
  optional string encryptedSignalTokenConsented = 2;
1100
1339
  repeated Parameters parameters = 3;
1340
+ optional int32 dataSharingFlags = 4;
1341
+ enum DataSharingFlags {
1342
+ SHOW_MM_DISCLOSURE_ON_CLICK = 1;
1343
+ SHOW_MM_DISCLOSURE_ON_READ = 2;
1344
+ }
1101
1345
  message Parameters {
1102
1346
  optional string key = 1;
1103
1347
  optional string stringData = 2;
@@ -1105,9 +1349,9 @@ message ContextInfo {
1105
1349
  optional float floatData = 4;
1106
1350
  optional ContextInfo.DataSharingContext.Parameters contents = 5;
1107
1351
  }
1108
-
1352
+
1109
1353
  }
1110
-
1354
+
1111
1355
  message ExternalAdReplyInfo {
1112
1356
  optional string title = 1;
1113
1357
  optional string body = 2;
@@ -1134,6 +1378,8 @@ message ContextInfo {
1134
1378
  optional string automatedGreetingMessageCtaType = 23;
1135
1379
  optional bool wtwaAdFormat = 24;
1136
1380
  optional AdType adType = 25;
1381
+ optional string wtwaWebsiteUrl = 26;
1382
+ optional string adPreviewUrl = 27;
1137
1383
  enum AdType {
1138
1384
  CTWA = 0;
1139
1385
  CAWC = 1;
@@ -1144,20 +1390,23 @@ message ContextInfo {
1144
1390
  VIDEO = 2;
1145
1391
  }
1146
1392
  }
1147
-
1393
+
1148
1394
  message FeatureEligibilities {
1149
1395
  optional bool cannotBeReactedTo = 1;
1150
1396
  optional bool cannotBeRanked = 2;
1151
1397
  optional bool canRequestFeedback = 3;
1152
1398
  optional bool canBeReshared = 4;
1399
+ optional bool canReceiveMultiReact = 5;
1153
1400
  }
1154
-
1155
- message ForwardedAIBotMessageInfo {
1156
- optional string botName = 1;
1157
- optional string botJid = 2;
1158
- optional string creatorName = 3;
1401
+
1402
+ enum ForwardOrigin {
1403
+ UNKNOWN = 0;
1404
+ CHAT = 1;
1405
+ STATUS = 2;
1406
+ CHANNELS = 3;
1407
+ META_AI = 4;
1408
+ UGC = 5;
1159
1409
  }
1160
-
1161
1410
  message ForwardedNewsletterMessageInfo {
1162
1411
  optional string newsletterJid = 1;
1163
1412
  optional int32 serverMessageId = 2;
@@ -1170,7 +1419,7 @@ message ContextInfo {
1170
1419
  LINK_CARD = 3;
1171
1420
  }
1172
1421
  }
1173
-
1422
+
1174
1423
  enum PairedMediaType {
1175
1424
  NOT_PAIRED_MEDIA = 0;
1176
1425
  SD_VIDEO_PARENT = 1;
@@ -1179,12 +1428,34 @@ message ContextInfo {
1179
1428
  HD_IMAGE_CHILD = 4;
1180
1429
  MOTION_PHOTO_PARENT = 5;
1181
1430
  MOTION_PHOTO_CHILD = 6;
1431
+ HEVC_VIDEO_PARENT = 7;
1432
+ HEVC_VIDEO_CHILD = 8;
1433
+ }
1434
+ message QuestionReplyQuotedMessage {
1435
+ optional int32 serverQuestionId = 1;
1436
+ optional Message quotedQuestion = 2;
1437
+ optional Message quotedResponse = 3;
1438
+ }
1439
+
1440
+ enum QuotedType {
1441
+ EXPLICIT = 0;
1442
+ AUTO = 1;
1182
1443
  }
1183
1444
  enum StatusAttributionType {
1184
1445
  NONE = 0;
1185
1446
  RESHARED_FROM_MENTION = 1;
1186
1447
  RESHARED_FROM_POST = 2;
1448
+ RESHARED_FROM_POST_MANY_TIMES = 3;
1449
+ FORWARDED_FROM_STATUS = 4;
1450
+ }
1451
+ message StatusAudienceMetadata {
1452
+ optional AudienceType audienceType = 1;
1453
+ enum AudienceType {
1454
+ UNKNOWN = 0;
1455
+ CLOSE_FRIENDS = 1;
1456
+ }
1187
1457
  }
1458
+
1188
1459
  enum StatusSourceType {
1189
1460
  IMAGE = 0;
1190
1461
  VIDEO = 1;
@@ -1197,11 +1468,11 @@ message ContextInfo {
1197
1468
  optional string utmSource = 1;
1198
1469
  optional string utmCampaign = 2;
1199
1470
  }
1200
-
1471
+
1201
1472
  }
1202
1473
 
1203
1474
  message Conversation {
1204
- required string id = 1;
1475
+ string id = 1;
1205
1476
  repeated HistorySyncMsg messages = 2;
1206
1477
  optional string newJid = 3;
1207
1478
  optional string oldJid = 4;
@@ -1254,6 +1525,7 @@ message Conversation {
1254
1525
  optional int64 limitSharingSettingTimestamp = 51;
1255
1526
  optional LimitSharing.TriggerType limitSharingTrigger = 52;
1256
1527
  optional bool limitSharingInitiatedByMe = 53;
1528
+ optional bool maibaAiThreadEnabled = 54;
1257
1529
  enum EndOfHistoryTransferType {
1258
1530
  COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
1259
1531
  COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
@@ -1264,6 +1536,13 @@ message Conversation {
1264
1536
  message DeviceCapabilities {
1265
1537
  optional ChatLockSupportLevel chatLockSupportLevel = 1;
1266
1538
  optional LIDMigration lidMigration = 2;
1539
+ optional BusinessBroadcast businessBroadcast = 3;
1540
+ optional UserHasAvatar userHasAvatar = 4;
1541
+ optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
1542
+ message BusinessBroadcast {
1543
+ optional bool importListEnabled = 1;
1544
+ }
1545
+
1267
1546
  enum ChatLockSupportLevel {
1268
1547
  NONE = 0;
1269
1548
  MINIMAL = 1;
@@ -1272,7 +1551,16 @@ message DeviceCapabilities {
1272
1551
  message LIDMigration {
1273
1552
  optional uint64 chatDbMigrationTimestamp = 1;
1274
1553
  }
1275
-
1554
+
1555
+ enum MemberNameTagPrimarySupport {
1556
+ DISABLED = 0;
1557
+ RECEIVER_ENABLED = 1;
1558
+ SENDER_ENABLED = 2;
1559
+ }
1560
+ message UserHasAvatar {
1561
+ optional bool userHasAvatar = 1;
1562
+ }
1563
+
1276
1564
  }
1277
1565
 
1278
1566
  message DeviceConsistencyCodeMessage {
@@ -1304,7 +1592,7 @@ message DeviceProps {
1304
1592
  optional uint32 quaternary = 4;
1305
1593
  optional uint32 quinary = 5;
1306
1594
  }
1307
-
1595
+
1308
1596
  message HistorySyncConfig {
1309
1597
  optional uint32 fullSyncDaysLimit = 1;
1310
1598
  optional uint32 fullSyncSizeMbLimit = 2;
@@ -1320,8 +1608,13 @@ message DeviceProps {
1320
1608
  optional bool supportFbidBotChatHistory = 12;
1321
1609
  optional bool supportAddOnHistorySyncMigration = 13;
1322
1610
  optional bool supportMessageAssociation = 14;
1611
+ optional bool supportGroupHistory = 15;
1612
+ optional bool onDemandReady = 16;
1613
+ optional bool supportGuestChat = 17;
1614
+ optional bool completeOnDemandReady = 18;
1615
+ optional uint32 thumbnailSyncDaysLimit = 19;
1323
1616
  }
1324
-
1617
+
1325
1618
  enum PlatformType {
1326
1619
  UNKNOWN = 0;
1327
1620
  CHROME = 1;
@@ -1392,10 +1685,13 @@ message EmbeddedMusic {
1392
1685
  optional string artworkDirectPath = 5;
1393
1686
  optional bytes artworkSha256 = 6;
1394
1687
  optional bytes artworkEncSha256 = 7;
1395
- optional bytes artworkMediaKey = 11;
1396
1688
  optional string artistAttribution = 8;
1397
1689
  optional bytes countryBlocklist = 9;
1398
1690
  optional bool isExplicit = 10;
1691
+ optional bytes artworkMediaKey = 11;
1692
+ optional int64 musicSongStartTimeInMs = 12;
1693
+ optional int64 derivedContentStartTimeInMs = 13;
1694
+ optional int64 overlapDurationInMs = 14;
1399
1695
  }
1400
1696
 
1401
1697
  message EncryptedPairingRequest {
@@ -1441,6 +1737,12 @@ message Field {
1441
1737
  map<uint32, Field> subfield = 5;
1442
1738
  }
1443
1739
 
1740
+ message ForwardedAIBotMessageInfo {
1741
+ optional string botName = 1;
1742
+ optional string botJid = 2;
1743
+ optional string creatorName = 3;
1744
+ }
1745
+
1444
1746
  message GlobalSettings {
1445
1747
  optional WallpaperSettings lightThemeWallpaper = 1;
1446
1748
  optional MediaVisibility mediaVisibility = 2;
@@ -1464,14 +1766,32 @@ message GlobalSettings {
1464
1766
  optional int64 chatDbLidMigrationTimestamp = 20;
1465
1767
  }
1466
1768
 
1769
+ message GroupHistoryBundleInfo {
1770
+ optional Message.MessageHistoryBundle deprecatedMessageHistoryBundle = 1;
1771
+ optional ProcessState processState = 2;
1772
+ enum ProcessState {
1773
+ NOT_INJECTED = 0;
1774
+ INJECTED = 1;
1775
+ INJECTED_PARTIAL = 2;
1776
+ INJECTION_FAILED = 3;
1777
+ INJECTION_FAILED_NO_RETRY = 4;
1778
+ }
1779
+ }
1780
+
1781
+ message GroupHistoryIndividualMessageInfo {
1782
+ optional MessageKey bundleMessageKey = 1;
1783
+ optional bool editedAfterReceivedAsHistory = 2;
1784
+ }
1785
+
1467
1786
  message GroupMention {
1468
1787
  optional string groupJid = 1;
1469
1788
  optional string groupSubject = 2;
1470
1789
  }
1471
1790
 
1472
1791
  message GroupParticipant {
1473
- required string userJid = 1;
1792
+ string userJid = 1;
1474
1793
  optional Rank rank = 2;
1794
+ optional MemberLabel memberLabel = 3;
1475
1795
  enum Rank {
1476
1796
  REGULAR = 0;
1477
1797
  ADMIN = 1;
@@ -1486,24 +1806,28 @@ message HandshakeMessage {
1486
1806
  message ClientFinish {
1487
1807
  optional bytes static = 1;
1488
1808
  optional bytes payload = 2;
1809
+ optional bytes extendedCiphertext = 3;
1489
1810
  }
1490
-
1811
+
1491
1812
  message ClientHello {
1492
1813
  optional bytes ephemeral = 1;
1493
1814
  optional bytes static = 2;
1494
1815
  optional bytes payload = 3;
1816
+ optional bool useExtended = 4;
1817
+ optional bytes extendedCiphertext = 5;
1495
1818
  }
1496
-
1819
+
1497
1820
  message ServerHello {
1498
1821
  optional bytes ephemeral = 1;
1499
1822
  optional bytes static = 2;
1500
1823
  optional bytes payload = 3;
1824
+ optional bytes extendedStatic = 4;
1501
1825
  }
1502
-
1826
+
1503
1827
  }
1504
1828
 
1505
1829
  message HistorySync {
1506
- required HistorySyncType syncType = 1;
1830
+ HistorySyncType syncType = 1;
1507
1831
  repeated Conversation conversations = 2;
1508
1832
  repeated WebMessageInfo statusV3Messages = 3;
1509
1833
  optional uint32 chunkOrder = 5;
@@ -1551,12 +1875,12 @@ message HydratedTemplateButton {
1551
1875
  optional string displayText = 1;
1552
1876
  optional string phoneNumber = 2;
1553
1877
  }
1554
-
1878
+
1555
1879
  message HydratedQuickReplyButton {
1556
1880
  optional string displayText = 1;
1557
1881
  optional string id = 2;
1558
1882
  }
1559
-
1883
+
1560
1884
  message HydratedURLButton {
1561
1885
  optional string displayText = 1;
1562
1886
  optional string url = 2;
@@ -1568,7 +1892,7 @@ message HydratedTemplateButton {
1568
1892
  COMPACT = 3;
1569
1893
  }
1570
1894
  }
1571
-
1895
+
1572
1896
  }
1573
1897
 
1574
1898
  message IdentityKeyPairStructure {
@@ -1576,6 +1900,43 @@ message IdentityKeyPairStructure {
1576
1900
  optional bytes privateKey = 2;
1577
1901
  }
1578
1902
 
1903
+ message InThreadSurveyMetadata {
1904
+ optional string tessaSessionId = 1;
1905
+ optional string simonSessionId = 2;
1906
+ optional string simonSurveyId = 3;
1907
+ optional string tessaRootId = 4;
1908
+ optional string requestId = 5;
1909
+ optional string tessaEvent = 6;
1910
+ optional string invitationHeaderText = 7;
1911
+ optional string invitationBodyText = 8;
1912
+ optional string invitationCtaText = 9;
1913
+ optional string invitationCtaUrl = 10;
1914
+ optional string surveyTitle = 11;
1915
+ repeated InThreadSurveyQuestion questions = 12;
1916
+ optional string surveyContinueButtonText = 13;
1917
+ optional string surveySubmitButtonText = 14;
1918
+ optional string privacyStatementFull = 15;
1919
+ repeated InThreadSurveyPrivacyStatementPart privacyStatementParts = 16;
1920
+ optional string feedbackToastText = 17;
1921
+ message InThreadSurveyOption {
1922
+ optional string stringValue = 1;
1923
+ optional uint32 numericValue = 2;
1924
+ optional string textTranslated = 3;
1925
+ }
1926
+
1927
+ message InThreadSurveyPrivacyStatementPart {
1928
+ optional string text = 1;
1929
+ optional string url = 2;
1930
+ }
1931
+
1932
+ message InThreadSurveyQuestion {
1933
+ optional string questionText = 1;
1934
+ optional string questionId = 2;
1935
+ repeated InThreadSurveyMetadata.InThreadSurveyOption questionOptions = 3;
1936
+ }
1937
+
1938
+ }
1939
+
1579
1940
  message InteractiveAnnotation {
1580
1941
  repeated Point polygonVertices = 1;
1581
1942
  optional bool shouldSkipConfirmation = 4;
@@ -1594,6 +1955,10 @@ message InteractiveAnnotation {
1594
1955
  }
1595
1956
  }
1596
1957
 
1958
+ message InteractiveMessageAdditionalMetadata {
1959
+ optional bool isGalaxyFlowCompleted = 1;
1960
+ }
1961
+
1597
1962
  message KeepInChat {
1598
1963
  optional KeepType keepType = 1;
1599
1964
  optional int64 serverTimestamp = 2;
@@ -1621,8 +1986,8 @@ message KeyId {
1621
1986
  }
1622
1987
 
1623
1988
  message LIDMigrationMapping {
1624
- required uint64 pn = 1;
1625
- required uint64 assignedLid = 2;
1989
+ uint64 pn = 1;
1990
+ uint64 assignedLid = 2;
1626
1991
  optional uint64 latestLid = 3;
1627
1992
  }
1628
1993
 
@@ -1776,7 +2141,6 @@ message Message {
1776
2141
  optional FutureProofMessage associatedChildMessage = 91;
1777
2142
  optional FutureProofMessage groupStatusMentionMessage = 92;
1778
2143
  optional FutureProofMessage pollCreationMessageV4 = 93;
1779
- optional FutureProofMessage pollCreationMessageV5 = 94;
1780
2144
  optional FutureProofMessage statusAddYours = 95;
1781
2145
  optional FutureProofMessage groupStatusMessage = 96;
1782
2146
  optional AIRichResponseMessage richResponseMessage = 97;
@@ -1787,46 +2151,54 @@ message Message {
1787
2151
  optional MessageHistoryNotice messageHistoryNotice = 102;
1788
2152
  optional FutureProofMessage groupStatusMessageV2 = 103;
1789
2153
  optional FutureProofMessage botForwardedMessage = 104;
2154
+ optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
2155
+ optional FutureProofMessage questionReplyMessage = 106;
2156
+ optional QuestionResponseMessage questionResponseMessage = 107;
2157
+ optional StatusQuotedMessage statusQuotedMessage = 109;
2158
+ optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
2159
+ optional PollCreationMessage pollCreationMessageV5 = 111;
2160
+ optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
2161
+ optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 114;
1790
2162
  message AlbumMessage {
1791
2163
  optional uint32 expectedImageCount = 2;
1792
2164
  optional uint32 expectedVideoCount = 3;
1793
2165
  optional ContextInfo contextInfo = 17;
1794
2166
  }
1795
-
2167
+
1796
2168
  message AppStateFatalExceptionNotification {
1797
2169
  repeated string collectionNames = 1;
1798
2170
  optional int64 timestamp = 2;
1799
2171
  }
1800
-
2172
+
1801
2173
  message AppStateSyncKey {
1802
2174
  optional Message.AppStateSyncKeyId keyId = 1;
1803
2175
  optional Message.AppStateSyncKeyData keyData = 2;
1804
2176
  }
1805
-
2177
+
1806
2178
  message AppStateSyncKeyData {
1807
2179
  optional bytes keyData = 1;
1808
2180
  optional Message.AppStateSyncKeyFingerprint fingerprint = 2;
1809
2181
  optional int64 timestamp = 3;
1810
2182
  }
1811
-
2183
+
1812
2184
  message AppStateSyncKeyFingerprint {
1813
2185
  optional uint32 rawId = 1;
1814
2186
  optional uint32 currentIndex = 2;
1815
2187
  repeated uint32 deviceIndexes = 3 [packed=true];
1816
2188
  }
1817
-
2189
+
1818
2190
  message AppStateSyncKeyId {
1819
2191
  optional bytes keyId = 1;
1820
2192
  }
1821
-
2193
+
1822
2194
  message AppStateSyncKeyRequest {
1823
2195
  repeated Message.AppStateSyncKeyId keyIds = 1;
1824
2196
  }
1825
-
2197
+
1826
2198
  message AppStateSyncKeyShare {
1827
2199
  repeated Message.AppStateSyncKey keys = 1;
1828
2200
  }
1829
-
2201
+
1830
2202
  message AudioMessage {
1831
2203
  optional string url = 1;
1832
2204
  optional string mimetype = 2;
@@ -1844,8 +2216,9 @@ message Message {
1844
2216
  optional fixed32 backgroundArgb = 20;
1845
2217
  optional bool viewOnce = 21;
1846
2218
  optional string accessibilityLabel = 22;
2219
+ optional Message.MediaKeyDomain mediaKeyDomain = 23;
1847
2220
  }
1848
-
2221
+
1849
2222
  message BCallMessage {
1850
2223
  optional string sessionId = 1;
1851
2224
  optional MediaType mediaType = 2;
@@ -1857,51 +2230,7 @@ message Message {
1857
2230
  VIDEO = 2;
1858
2231
  }
1859
2232
  }
1860
-
1861
- message BotFeedbackMessage {
1862
- optional MessageKey messageKey = 1;
1863
- optional BotFeedbackKind kind = 2;
1864
- optional string text = 3;
1865
- optional uint64 kindNegative = 4;
1866
- optional uint64 kindPositive = 5;
1867
- optional ReportKind kindReport = 6;
1868
- enum BotFeedbackKind {
1869
- BOT_FEEDBACK_POSITIVE = 0;
1870
- BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
1871
- BOT_FEEDBACK_NEGATIVE_HELPFUL = 2;
1872
- BOT_FEEDBACK_NEGATIVE_INTERESTING = 3;
1873
- BOT_FEEDBACK_NEGATIVE_ACCURATE = 4;
1874
- BOT_FEEDBACK_NEGATIVE_SAFE = 5;
1875
- BOT_FEEDBACK_NEGATIVE_OTHER = 6;
1876
- BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
1877
- BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
1878
- BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
1879
- BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10;
1880
- BOT_FEEDBACK_NEGATIVE_CLARITY = 11;
1881
- BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12;
1882
- BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY = 13;
1883
- BOT_FEEDBACK_NEGATIVE = 14;
1884
- }
1885
- enum BotFeedbackKindMultipleNegative {
1886
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
1887
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2;
1888
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4;
1889
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8;
1890
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16;
1891
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32;
1892
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64;
1893
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128;
1894
- BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256;
1895
- }
1896
- enum BotFeedbackKindMultiplePositive {
1897
- BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
1898
- }
1899
- enum ReportKind {
1900
- NONE = 0;
1901
- GENERIC = 1;
1902
- }
1903
- }
1904
-
2233
+
1905
2234
  message ButtonsMessage {
1906
2235
  optional string contentText = 6;
1907
2236
  optional string footerText = 7;
@@ -1923,19 +2252,19 @@ message Message {
1923
2252
  message ButtonText {
1924
2253
  optional string displayText = 1;
1925
2254
  }
1926
-
2255
+
1927
2256
  message NativeFlowInfo {
1928
2257
  optional string name = 1;
1929
2258
  optional string paramsJson = 2;
1930
2259
  }
1931
-
2260
+
1932
2261
  enum Type {
1933
2262
  UNKNOWN = 0;
1934
2263
  RESPONSE = 1;
1935
2264
  NATIVE_FLOW = 2;
1936
2265
  }
1937
2266
  }
1938
-
2267
+
1939
2268
  enum HeaderType {
1940
2269
  UNKNOWN = 0;
1941
2270
  EMPTY = 1;
@@ -1946,7 +2275,7 @@ message Message {
1946
2275
  LOCATION = 6;
1947
2276
  }
1948
2277
  }
1949
-
2278
+
1950
2279
  message ButtonsResponseMessage {
1951
2280
  optional string selectedButtonId = 1;
1952
2281
  optional ContextInfo contextInfo = 3;
@@ -1959,7 +2288,7 @@ message Message {
1959
2288
  DISPLAY_TEXT = 1;
1960
2289
  }
1961
2290
  }
1962
-
2291
+
1963
2292
  message Call {
1964
2293
  optional bytes callKey = 1;
1965
2294
  optional string conversionSource = 2;
@@ -1968,8 +2297,10 @@ message Message {
1968
2297
  optional string ctwaSignals = 5;
1969
2298
  optional bytes ctwaPayload = 6;
1970
2299
  optional ContextInfo contextInfo = 7;
2300
+ optional string nativeFlowCallButtonPayload = 8;
2301
+ optional string deeplinkPayload = 9;
1971
2302
  }
1972
-
2303
+
1973
2304
  message CallLogMessage {
1974
2305
  optional bool isVideo = 1;
1975
2306
  optional CallOutcome callOutcome = 2;
@@ -1990,29 +2321,30 @@ message Message {
1990
2321
  optional string jid = 1;
1991
2322
  optional Message.CallLogMessage.CallOutcome callOutcome = 2;
1992
2323
  }
1993
-
2324
+
1994
2325
  enum CallType {
1995
2326
  REGULAR = 0;
1996
2327
  SCHEDULED_CALL = 1;
1997
2328
  VOICE_CHAT = 2;
1998
2329
  }
1999
2330
  }
2000
-
2331
+
2001
2332
  message CancelPaymentRequestMessage {
2002
2333
  optional MessageKey key = 1;
2003
2334
  }
2004
-
2335
+
2005
2336
  message Chat {
2006
2337
  optional string displayName = 1;
2007
2338
  optional string id = 2;
2008
2339
  }
2009
-
2340
+
2010
2341
  message CloudAPIThreadControlNotification {
2011
2342
  optional CloudAPIThreadControl status = 1;
2012
2343
  optional int64 senderNotificationTimestampMs = 2;
2013
2344
  optional string consumerLid = 3;
2014
2345
  optional string consumerPhoneNumber = 4;
2015
2346
  optional CloudAPIThreadControlNotificationContent notificationContent = 5;
2347
+ optional bool shouldSuppressNotification = 6;
2016
2348
  enum CloudAPIThreadControl {
2017
2349
  UNKNOWN = 0;
2018
2350
  CONTROL_PASSED = 1;
@@ -2022,36 +2354,36 @@ message Message {
2022
2354
  optional string handoffNotificationText = 1;
2023
2355
  optional string extraJson = 2;
2024
2356
  }
2025
-
2357
+
2026
2358
  }
2027
-
2359
+
2028
2360
  message CommentMessage {
2029
2361
  optional Message message = 1;
2030
2362
  optional MessageKey targetMessageKey = 2;
2031
2363
  }
2032
-
2364
+
2033
2365
  message ContactMessage {
2034
2366
  optional string displayName = 1;
2035
2367
  optional string vcard = 16;
2036
2368
  optional ContextInfo contextInfo = 17;
2037
2369
  }
2038
-
2370
+
2039
2371
  message ContactsArrayMessage {
2040
2372
  optional string displayName = 1;
2041
2373
  repeated Message.ContactMessage contacts = 2;
2042
2374
  optional ContextInfo contextInfo = 17;
2043
2375
  }
2044
-
2376
+
2045
2377
  message DeclinePaymentRequestMessage {
2046
2378
  optional MessageKey key = 1;
2047
2379
  }
2048
-
2380
+
2049
2381
  message DeviceSentMessage {
2050
2382
  optional string destinationJid = 1;
2051
2383
  optional Message message = 2;
2052
2384
  optional string phash = 3;
2053
2385
  }
2054
-
2386
+
2055
2387
  message DocumentMessage {
2056
2388
  optional string url = 1;
2057
2389
  optional string mimetype = 2;
@@ -2074,26 +2406,27 @@ message Message {
2074
2406
  optional uint32 thumbnailWidth = 19;
2075
2407
  optional string caption = 20;
2076
2408
  optional string accessibilityLabel = 21;
2409
+ optional Message.MediaKeyDomain mediaKeyDomain = 22;
2077
2410
  }
2078
-
2411
+
2079
2412
  message EncCommentMessage {
2080
2413
  optional MessageKey targetMessageKey = 1;
2081
2414
  optional bytes encPayload = 2;
2082
2415
  optional bytes encIv = 3;
2083
2416
  }
2084
-
2417
+
2085
2418
  message EncEventResponseMessage {
2086
2419
  optional MessageKey eventCreationMessageKey = 1;
2087
2420
  optional bytes encPayload = 2;
2088
2421
  optional bytes encIv = 3;
2089
2422
  }
2090
-
2423
+
2091
2424
  message EncReactionMessage {
2092
2425
  optional MessageKey targetMessageKey = 1;
2093
2426
  optional bytes encPayload = 2;
2094
2427
  optional bytes encIv = 3;
2095
2428
  }
2096
-
2429
+
2097
2430
  message EventMessage {
2098
2431
  optional ContextInfo contextInfo = 1;
2099
2432
  optional bool isCanceled = 2;
@@ -2105,8 +2438,10 @@ message Message {
2105
2438
  optional int64 endTime = 8;
2106
2439
  optional bool extraGuestsAllowed = 9;
2107
2440
  optional bool isScheduleCall = 10;
2441
+ optional bool hasReminder = 11;
2442
+ optional int64 reminderOffsetSec = 12;
2108
2443
  }
2109
-
2444
+
2110
2445
  message EventResponseMessage {
2111
2446
  optional EventResponseType response = 1;
2112
2447
  optional int64 timestampMs = 2;
@@ -2118,7 +2453,7 @@ message Message {
2118
2453
  MAYBE = 3;
2119
2454
  }
2120
2455
  }
2121
-
2456
+
2122
2457
  message ExtendedTextMessage {
2123
2458
  optional string text = 1;
2124
2459
  optional string matchedText = 2;
@@ -2148,6 +2483,10 @@ message Message {
2148
2483
  optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
2149
2484
  optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
2150
2485
  optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
2486
+ repeated Message.VideoEndCard endCardTiles = 36;
2487
+ optional string videoContentUrl = 37;
2488
+ optional EmbeddedMusic musicMetadata = 38;
2489
+ optional Message.PaymentExtendedMetadata paymentExtendedMetadata = 39;
2151
2490
  enum FontType {
2152
2491
  SYSTEM = 0;
2153
2492
  SYSTEM_TEXT = 1;
@@ -2173,15 +2512,15 @@ message Message {
2173
2512
  PROFILE = 7;
2174
2513
  }
2175
2514
  }
2176
-
2515
+
2177
2516
  message FullHistorySyncOnDemandRequestMetadata {
2178
2517
  optional string requestId = 1;
2179
2518
  }
2180
-
2519
+
2181
2520
  message FutureProofMessage {
2182
2521
  optional Message message = 1;
2183
2522
  }
2184
-
2523
+
2185
2524
  message GroupInviteMessage {
2186
2525
  optional string groupJid = 1;
2187
2526
  optional string inviteCode = 2;
@@ -2196,7 +2535,7 @@ message Message {
2196
2535
  PARENT = 1;
2197
2536
  }
2198
2537
  }
2199
-
2538
+
2200
2539
  message HighlyStructuredMessage {
2201
2540
  optional string namespace = 1;
2202
2541
  optional string elementName = 2;
@@ -2217,7 +2556,7 @@ message Message {
2217
2556
  optional string currencyCode = 1;
2218
2557
  optional int64 amount1000 = 2;
2219
2558
  }
2220
-
2559
+
2221
2560
  message HSMDateTime {
2222
2561
  oneof datetimeOneof {
2223
2562
  Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent component = 1;
@@ -2245,24 +2584,28 @@ message Message {
2245
2584
  SUNDAY = 7;
2246
2585
  }
2247
2586
  }
2248
-
2587
+
2249
2588
  message HSMDateTimeUnixEpoch {
2250
2589
  optional int64 timestamp = 1;
2251
2590
  }
2252
-
2591
+
2253
2592
  }
2254
-
2593
+
2255
2594
  }
2256
-
2595
+
2257
2596
  }
2258
-
2597
+
2598
+ message HistorySyncMessageAccessStatus {
2599
+ optional bool completeAccessGranted = 1;
2600
+ }
2601
+
2259
2602
  message HistorySyncNotification {
2260
2603
  optional bytes fileSha256 = 1;
2261
2604
  optional uint64 fileLength = 2;
2262
2605
  optional bytes mediaKey = 3;
2263
2606
  optional bytes fileEncSha256 = 4;
2264
2607
  optional string directPath = 5;
2265
- optional HistorySyncType syncType = 6;
2608
+ optional Message.HistorySyncType syncType = 6;
2266
2609
  optional uint32 chunkOrder = 7;
2267
2610
  optional string originalMessageId = 8;
2268
2611
  optional uint32 progress = 9;
@@ -2271,18 +2614,20 @@ message Message {
2271
2614
  optional string peerDataRequestSessionId = 12;
2272
2615
  optional Message.FullHistorySyncOnDemandRequestMetadata fullHistorySyncOnDemandRequestMetadata = 13;
2273
2616
  optional string encHandle = 14;
2274
- enum HistorySyncType {
2275
- INITIAL_BOOTSTRAP = 0;
2276
- INITIAL_STATUS_V3 = 1;
2277
- FULL = 2;
2278
- RECENT = 3;
2279
- PUSH_NAME = 4;
2280
- NON_BLOCKING_DATA = 5;
2281
- ON_DEMAND = 6;
2282
- NO_HISTORY = 7;
2283
- }
2284
- }
2285
-
2617
+ optional Message.HistorySyncMessageAccessStatus messageAccessStatus = 15;
2618
+ }
2619
+
2620
+ enum HistorySyncType {
2621
+ INITIAL_BOOTSTRAP = 0;
2622
+ INITIAL_STATUS_V3 = 1;
2623
+ FULL = 2;
2624
+ RECENT = 3;
2625
+ PUSH_NAME = 4;
2626
+ NON_BLOCKING_DATA = 5;
2627
+ ON_DEMAND = 6;
2628
+ NO_HISTORY = 7;
2629
+ MESSAGE_ACCESS_STATUS = 8;
2630
+ }
2286
2631
  message ImageMessage {
2287
2632
  optional string url = 1;
2288
2633
  optional string mimetype = 2;
@@ -2313,6 +2658,8 @@ message Message {
2313
2658
  repeated InteractiveAnnotation annotations = 30;
2314
2659
  optional ImageSourceType imageSourceType = 31;
2315
2660
  optional string accessibilityLabel = 32;
2661
+ optional Message.MediaKeyDomain mediaKeyDomain = 33;
2662
+ optional string qrUrl = 34;
2316
2663
  enum ImageSourceType {
2317
2664
  USER_IMAGE = 0;
2318
2665
  AI_GENERATED = 1;
@@ -2320,11 +2667,11 @@ message Message {
2320
2667
  RASTERIZED_TEXT_STATUS = 3;
2321
2668
  }
2322
2669
  }
2323
-
2670
+
2324
2671
  message InitialSecurityNotificationSettingSync {
2325
2672
  optional bool securityNotificationEnabled = 1;
2326
2673
  }
2327
-
2674
+
2328
2675
  message InteractiveMessage {
2329
2676
  optional Header header = 1;
2330
2677
  optional Body body = 2;
@@ -2340,22 +2687,32 @@ message Message {
2340
2687
  message Body {
2341
2688
  optional string text = 1;
2342
2689
  }
2343
-
2690
+
2344
2691
  message CarouselMessage {
2345
2692
  repeated Message.InteractiveMessage cards = 1;
2346
2693
  optional int32 messageVersion = 2;
2694
+ optional CarouselCardType carouselCardType = 3;
2695
+ enum CarouselCardType {
2696
+ UNKNOWN = 0;
2697
+ HSCROLL_CARDS = 1;
2698
+ ALBUM_IMAGE = 2;
2699
+ }
2347
2700
  }
2348
-
2701
+
2349
2702
  message CollectionMessage {
2350
2703
  optional string bizJid = 1;
2351
2704
  optional string id = 2;
2352
2705
  optional int32 messageVersion = 3;
2353
2706
  }
2354
-
2707
+
2355
2708
  message Footer {
2356
2709
  optional string text = 1;
2710
+ optional bool hasMediaAttachment = 3;
2711
+ oneof media {
2712
+ Message.AudioMessage audioMessage = 2;
2713
+ }
2357
2714
  }
2358
-
2715
+
2359
2716
  message Header {
2360
2717
  optional string title = 1;
2361
2718
  optional string subtitle = 2;
@@ -2369,7 +2726,7 @@ message Message {
2369
2726
  Message.ProductMessage productMessage = 9;
2370
2727
  }
2371
2728
  }
2372
-
2729
+
2373
2730
  message NativeFlowMessage {
2374
2731
  repeated NativeFlowButton buttons = 1;
2375
2732
  optional string messageParamsJson = 2;
@@ -2378,9 +2735,9 @@ message Message {
2378
2735
  optional string name = 1;
2379
2736
  optional string buttonParamsJson = 2;
2380
2737
  }
2381
-
2738
+
2382
2739
  }
2383
-
2740
+
2384
2741
  message ShopMessage {
2385
2742
  optional string id = 1;
2386
2743
  optional Surface surface = 2;
@@ -2392,9 +2749,9 @@ message Message {
2392
2749
  WA = 3;
2393
2750
  }
2394
2751
  }
2395
-
2752
+
2396
2753
  }
2397
-
2754
+
2398
2755
  message InteractiveResponseMessage {
2399
2756
  optional Body body = 1;
2400
2757
  optional ContextInfo contextInfo = 15;
@@ -2409,15 +2766,15 @@ message Message {
2409
2766
  EXTENSIONS_1 = 1;
2410
2767
  }
2411
2768
  }
2412
-
2769
+
2413
2770
  message NativeFlowResponseMessage {
2414
2771
  optional string name = 1;
2415
2772
  optional string paramsJson = 2;
2416
2773
  optional int32 version = 3;
2417
2774
  }
2418
-
2775
+
2419
2776
  }
2420
-
2777
+
2421
2778
  message InvoiceMessage {
2422
2779
  optional string note = 1;
2423
2780
  optional string token = 2;
@@ -2434,19 +2791,23 @@ message Message {
2434
2791
  PDF = 1;
2435
2792
  }
2436
2793
  }
2437
-
2794
+
2438
2795
  message KeepInChatMessage {
2439
2796
  optional MessageKey key = 1;
2440
2797
  optional KeepType keepType = 2;
2441
2798
  optional int64 timestampMs = 3;
2442
2799
  }
2443
-
2800
+
2444
2801
  message LinkPreviewMetadata {
2445
2802
  optional Message.PaymentLinkMetadata paymentLinkMetadata = 1;
2446
2803
  optional Message.URLMetadata urlMetadata = 2;
2447
2804
  optional uint32 fbExperimentId = 3;
2448
2805
  optional uint32 linkMediaDuration = 4;
2449
2806
  optional SocialMediaPostType socialMediaPostType = 5;
2807
+ optional bool linkInlineVideoMuted = 6;
2808
+ optional string videoContentUrl = 7;
2809
+ optional EmbeddedMusic musicMetadata = 8;
2810
+ optional string videoContentCaption = 9;
2450
2811
  enum SocialMediaPostType {
2451
2812
  NONE = 0;
2452
2813
  REEL = 1;
@@ -2456,7 +2817,7 @@ message Message {
2456
2817
  CAROUSEL = 5;
2457
2818
  }
2458
2819
  }
2459
-
2820
+
2460
2821
  message ListMessage {
2461
2822
  optional string title = 1;
2462
2823
  optional string description = 2;
@@ -2474,36 +2835,36 @@ message Message {
2474
2835
  message Product {
2475
2836
  optional string productId = 1;
2476
2837
  }
2477
-
2838
+
2478
2839
  message ProductListHeaderImage {
2479
2840
  optional string productId = 1;
2480
2841
  optional bytes jpegThumbnail = 2;
2481
2842
  }
2482
-
2843
+
2483
2844
  message ProductListInfo {
2484
2845
  repeated Message.ListMessage.ProductSection productSections = 1;
2485
2846
  optional Message.ListMessage.ProductListHeaderImage headerImage = 2;
2486
2847
  optional string businessOwnerJid = 3;
2487
2848
  }
2488
-
2849
+
2489
2850
  message ProductSection {
2490
2851
  optional string title = 1;
2491
2852
  repeated Message.ListMessage.Product products = 2;
2492
2853
  }
2493
-
2854
+
2494
2855
  message Row {
2495
2856
  optional string title = 1;
2496
2857
  optional string description = 2;
2497
2858
  optional string rowId = 3;
2498
2859
  }
2499
-
2860
+
2500
2861
  message Section {
2501
2862
  optional string title = 1;
2502
2863
  repeated Message.ListMessage.Row rows = 2;
2503
2864
  }
2504
-
2865
+
2505
2866
  }
2506
-
2867
+
2507
2868
  message ListResponseMessage {
2508
2869
  optional string title = 1;
2509
2870
  optional ListType listType = 2;
@@ -2517,9 +2878,9 @@ message Message {
2517
2878
  message SingleSelectReply {
2518
2879
  optional string selectedRowId = 1;
2519
2880
  }
2520
-
2881
+
2521
2882
  }
2522
-
2883
+
2523
2884
  message LiveLocationMessage {
2524
2885
  optional double degreesLatitude = 1;
2525
2886
  optional double degreesLongitude = 2;
@@ -2532,7 +2893,7 @@ message Message {
2532
2893
  optional bytes jpegThumbnail = 16;
2533
2894
  optional ContextInfo contextInfo = 17;
2534
2895
  }
2535
-
2896
+
2536
2897
  message LocationMessage {
2537
2898
  optional double degreesLatitude = 1;
2538
2899
  optional double degreesLongitude = 2;
@@ -2547,7 +2908,7 @@ message Message {
2547
2908
  optional bytes jpegThumbnail = 16;
2548
2909
  optional ContextInfo contextInfo = 17;
2549
2910
  }
2550
-
2911
+
2551
2912
  message MMSThumbnailMetadata {
2552
2913
  optional string thumbnailDirectPath = 1;
2553
2914
  optional bytes thumbnailSha256 = 2;
@@ -2556,8 +2917,16 @@ message Message {
2556
2917
  optional int64 mediaKeyTimestamp = 5;
2557
2918
  optional uint32 thumbnailHeight = 6;
2558
2919
  optional uint32 thumbnailWidth = 7;
2920
+ optional Message.MediaKeyDomain mediaKeyDomain = 8;
2921
+ }
2922
+
2923
+ enum MediaKeyDomain {
2924
+ UNSET = 0;
2925
+ E2EE_CHAT = 1;
2926
+ STATUS = 2;
2927
+ CAPI = 3;
2928
+ BOT = 4;
2559
2929
  }
2560
-
2561
2930
  message MessageHistoryBundle {
2562
2931
  optional string mimetype = 1;
2563
2932
  optional bytes fileSha256 = 2;
@@ -2568,18 +2937,18 @@ message Message {
2568
2937
  optional ContextInfo contextInfo = 7;
2569
2938
  optional Message.MessageHistoryMetadata messageHistoryMetadata = 8;
2570
2939
  }
2571
-
2940
+
2572
2941
  message MessageHistoryMetadata {
2573
2942
  repeated string historyReceivers = 1;
2574
- optional int64 firstMessageTimestamp = 2;
2943
+ optional int64 oldestMessageTimestamp = 2;
2575
2944
  optional int64 messageCount = 3;
2576
2945
  }
2577
-
2946
+
2578
2947
  message MessageHistoryNotice {
2579
2948
  optional ContextInfo contextInfo = 1;
2580
2949
  optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
2581
2950
  }
2582
-
2951
+
2583
2952
  message NewsletterAdminInviteMessage {
2584
2953
  optional string newsletterJid = 1;
2585
2954
  optional string newsletterName = 2;
@@ -2588,7 +2957,15 @@ message Message {
2588
2957
  optional int64 inviteExpiration = 5;
2589
2958
  optional ContextInfo contextInfo = 6;
2590
2959
  }
2591
-
2960
+
2961
+ message NewsletterFollowerInviteMessage {
2962
+ optional string newsletterJid = 1;
2963
+ optional string newsletterName = 2;
2964
+ optional bytes jpegThumbnail = 3;
2965
+ optional string caption = 4;
2966
+ optional ContextInfo contextInfo = 5;
2967
+ }
2968
+
2592
2969
  message OrderMessage {
2593
2970
  optional string orderId = 1;
2594
2971
  optional bytes thumbnail = 2;
@@ -2614,7 +2991,13 @@ message Message {
2614
2991
  CATALOG = 1;
2615
2992
  }
2616
2993
  }
2617
-
2994
+
2995
+ message PaymentExtendedMetadata {
2996
+ optional uint32 type = 1;
2997
+ optional string platform = 2;
2998
+ optional string messageParamsJson = 3;
2999
+ }
3000
+
2618
3001
  message PaymentInviteMessage {
2619
3002
  optional ServiceType serviceType = 1;
2620
3003
  optional int64 expiryTimestamp = 2;
@@ -2625,7 +3008,7 @@ message Message {
2625
3008
  UPI = 3;
2626
3009
  }
2627
3010
  }
2628
-
3011
+
2629
3012
  message PaymentLinkMetadata {
2630
3013
  optional PaymentLinkButton button = 1;
2631
3014
  optional PaymentLinkHeader header = 2;
@@ -2633,7 +3016,7 @@ message Message {
2633
3016
  message PaymentLinkButton {
2634
3017
  optional string displayText = 1;
2635
3018
  }
2636
-
3019
+
2637
3020
  message PaymentLinkHeader {
2638
3021
  optional PaymentLinkHeaderType headerType = 1;
2639
3022
  enum PaymentLinkHeaderType {
@@ -2641,13 +3024,13 @@ message Message {
2641
3024
  ORDER = 1;
2642
3025
  }
2643
3026
  }
2644
-
3027
+
2645
3028
  message PaymentLinkProvider {
2646
3029
  optional string paramsJson = 1;
2647
3030
  }
2648
-
3031
+
2649
3032
  }
2650
-
3033
+
2651
3034
  message PeerDataOperationRequestMessage {
2652
3035
  optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
2653
3036
  repeated RequestStickerReupload requestStickerReupload = 2;
@@ -2656,11 +3039,29 @@ message Message {
2656
3039
  repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
2657
3040
  optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
2658
3041
  optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7;
3042
+ optional HistorySyncChunkRetryRequest historySyncChunkRetryRequest = 8;
3043
+ optional GalaxyFlowAction galaxyFlowAction = 9;
2659
3044
  message FullHistorySyncOnDemandRequest {
2660
3045
  optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
2661
3046
  optional DeviceProps.HistorySyncConfig historySyncConfig = 2;
2662
3047
  }
2663
-
3048
+
3049
+ message GalaxyFlowAction {
3050
+ optional GalaxyFlowActionType type = 1;
3051
+ optional string flowId = 2;
3052
+ optional string stanzaId = 3;
3053
+ enum GalaxyFlowActionType {
3054
+ NOTIFY_LAUNCH = 1;
3055
+ }
3056
+ }
3057
+
3058
+ message HistorySyncChunkRetryRequest {
3059
+ optional Message.HistorySyncType syncType = 1;
3060
+ optional uint32 chunkOrder = 2;
3061
+ optional string chunkNotificationId = 3;
3062
+ optional bool regenerateChunk = 4;
3063
+ }
3064
+
2664
3065
  message HistorySyncOnDemandRequest {
2665
3066
  optional string chatJid = 1;
2666
3067
  optional string oldestMsgId = 2;
@@ -2669,27 +3070,27 @@ message Message {
2669
3070
  optional int64 oldestMsgTimestampMs = 5;
2670
3071
  optional string accountLid = 6;
2671
3072
  }
2672
-
3073
+
2673
3074
  message PlaceholderMessageResendRequest {
2674
3075
  optional MessageKey messageKey = 1;
2675
3076
  }
2676
-
3077
+
2677
3078
  message RequestStickerReupload {
2678
3079
  optional string fileSha256 = 1;
2679
3080
  }
2680
-
3081
+
2681
3082
  message RequestUrlPreview {
2682
3083
  optional string url = 1;
2683
3084
  optional bool includeHqThumbnail = 2;
2684
3085
  }
2685
-
3086
+
2686
3087
  message SyncDCollectionFatalRecoveryRequest {
2687
3088
  optional string collectionName = 1;
2688
3089
  optional int64 timestamp = 2;
2689
3090
  }
2690
-
3091
+
2691
3092
  }
2692
-
3093
+
2693
3094
  message PeerDataOperationRequestResponseMessage {
2694
3095
  optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
2695
3096
  optional string stanzaId = 2;
@@ -2704,19 +3105,22 @@ message Message {
2704
3105
  optional CompanionMetaNonceFetchResponse companionMetaNonceFetchRequestResponse = 7;
2705
3106
  optional SyncDSnapshotFatalRecoveryResponse syncdSnapshotFatalRecoveryResponse = 8;
2706
3107
  optional CompanionCanonicalUserNonceFetchResponse companionCanonicalUserNonceFetchRequestResponse = 9;
3108
+ optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
2707
3109
  message CompanionCanonicalUserNonceFetchResponse {
2708
3110
  optional string nonce = 1;
3111
+ optional string waFbid = 2;
3112
+ optional bool forceRefresh = 3;
2709
3113
  }
2710
-
3114
+
2711
3115
  message CompanionMetaNonceFetchResponse {
2712
3116
  optional string nonce = 1;
2713
3117
  }
2714
-
3118
+
2715
3119
  message FullHistorySyncOnDemandRequestResponse {
2716
3120
  optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
2717
3121
  optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandResponseCode responseCode = 2;
2718
3122
  }
2719
-
3123
+
2720
3124
  enum FullHistorySyncOnDemandResponseCode {
2721
3125
  REQUEST_SUCCESS = 0;
2722
3126
  REQUEST_TIME_EXPIRED = 1;
@@ -2726,6 +3130,22 @@ message Message {
2726
3130
  ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5;
2727
3131
  ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6;
2728
3132
  }
3133
+ message HistorySyncChunkRetryResponse {
3134
+ optional Message.HistorySyncType syncType = 1;
3135
+ optional uint32 chunkOrder = 2;
3136
+ optional string requestId = 3;
3137
+ optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponseCode responseCode = 4;
3138
+ optional bool canRecover = 5;
3139
+ }
3140
+
3141
+ enum HistorySyncChunkRetryResponseCode {
3142
+ GENERATION_ERROR = 1;
3143
+ CHUNK_CONSUMED = 2;
3144
+ TIMEOUT = 3;
3145
+ SESSION_EXHAUSTED = 4;
3146
+ CHUNK_EXHAUSTED = 5;
3147
+ DUPLICATED_REQUEST = 6;
3148
+ }
2729
3149
  message LinkPreviewResponse {
2730
3150
  optional string url = 1;
2731
3151
  optional string title = 2;
@@ -2734,6 +3154,7 @@ message Message {
2734
3154
  optional string matchText = 6;
2735
3155
  optional string previewType = 7;
2736
3156
  optional LinkPreviewHighQualityThumbnail hqThumbnail = 8;
3157
+ optional PaymentLinkPreviewMetadata previewMetadata = 9;
2737
3158
  message LinkPreviewHighQualityThumbnail {
2738
3159
  optional string directPath = 1;
2739
3160
  optional string thumbHash = 2;
@@ -2743,27 +3164,32 @@ message Message {
2743
3164
  optional int32 thumbWidth = 6;
2744
3165
  optional int32 thumbHeight = 7;
2745
3166
  }
2746
-
3167
+
3168
+ message PaymentLinkPreviewMetadata {
3169
+ optional bool isBusinessVerified = 1;
3170
+ optional string providerName = 2;
3171
+ }
3172
+
2747
3173
  }
2748
-
3174
+
2749
3175
  message PlaceholderMessageResendResponse {
2750
3176
  optional bytes webMessageInfoBytes = 1;
2751
3177
  }
2752
-
3178
+
2753
3179
  message SyncDSnapshotFatalRecoveryResponse {
2754
3180
  optional bytes collectionSnapshot = 1;
2755
3181
  optional bool isCompressed = 2;
2756
3182
  }
2757
-
3183
+
2758
3184
  message WaffleNonceFetchResponse {
2759
3185
  optional string nonce = 1;
2760
3186
  optional string waEntFbid = 2;
2761
3187
  }
2762
-
3188
+
2763
3189
  }
2764
-
3190
+
2765
3191
  }
2766
-
3192
+
2767
3193
  enum PeerDataOperationRequestType {
2768
3194
  UPLOAD_STICKER = 0;
2769
3195
  SEND_RECENT_STICKER_BOOTSTRAP = 1;
@@ -2775,6 +3201,8 @@ message Message {
2775
3201
  COMPANION_META_NONCE_FETCH = 7;
2776
3202
  COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8;
2777
3203
  COMPANION_CANONICAL_USER_NONCE_FETCH = 9;
3204
+ HISTORY_SYNC_CHUNK_RETRY = 10;
3205
+ GALAXY_FLOW_ACTION = 11;
2778
3206
  }
2779
3207
  message PinInChatMessage {
2780
3208
  optional MessageKey key = 1;
@@ -2786,14 +3214,14 @@ message Message {
2786
3214
  UNPIN_FOR_ALL = 2;
2787
3215
  }
2788
3216
  }
2789
-
3217
+
2790
3218
  message PlaceholderMessage {
2791
3219
  optional PlaceholderType type = 1;
2792
3220
  enum PlaceholderType {
2793
3221
  MASK_LINKED_DEVICES = 0;
2794
3222
  }
2795
3223
  }
2796
-
3224
+
2797
3225
  enum PollContentType {
2798
3226
  UNKNOWN = 0;
2799
3227
  TEXT = 1;
@@ -2806,49 +3234,50 @@ message Message {
2806
3234
  optional uint32 selectableOptionsCount = 4;
2807
3235
  optional ContextInfo contextInfo = 5;
2808
3236
  optional Message.PollContentType pollContentType = 6;
2809
- optional PollType pollType = 7;
3237
+ optional Message.PollType pollType = 7;
2810
3238
  optional Option correctAnswer = 8;
2811
3239
  message Option {
2812
3240
  optional string optionName = 1;
2813
3241
  optional string optionHash = 2;
2814
3242
  }
2815
-
2816
- enum PollType {
2817
- POLL = 0;
2818
- QUIZ = 1;
2819
- }
3243
+
2820
3244
  }
2821
-
3245
+
2822
3246
  message PollEncValue {
2823
3247
  optional bytes encPayload = 1;
2824
3248
  optional bytes encIv = 2;
2825
3249
  }
2826
-
3250
+
2827
3251
  message PollResultSnapshotMessage {
2828
3252
  optional string name = 1;
2829
3253
  repeated PollVote pollVotes = 2;
2830
3254
  optional ContextInfo contextInfo = 3;
3255
+ optional Message.PollType pollType = 4;
2831
3256
  message PollVote {
2832
3257
  optional string optionName = 1;
2833
3258
  optional int64 optionVoteCount = 2;
2834
3259
  }
2835
-
3260
+
3261
+ }
3262
+
3263
+ enum PollType {
3264
+ POLL = 0;
3265
+ QUIZ = 1;
2836
3266
  }
2837
-
2838
3267
  message PollUpdateMessage {
2839
3268
  optional MessageKey pollCreationMessageKey = 1;
2840
3269
  optional Message.PollEncValue vote = 2;
2841
3270
  optional Message.PollUpdateMessageMetadata metadata = 3;
2842
3271
  optional int64 senderTimestampMs = 4;
2843
3272
  }
2844
-
3273
+
2845
3274
  message PollUpdateMessageMetadata {
2846
3275
  }
2847
-
3276
+
2848
3277
  message PollVoteMessage {
2849
3278
  repeated bytes selectedOptions = 1;
2850
3279
  }
2851
-
3280
+
2852
3281
  message ProductMessage {
2853
3282
  optional ProductSnapshot product = 1;
2854
3283
  optional string businessOwnerJid = 2;
@@ -2861,7 +3290,7 @@ message Message {
2861
3290
  optional string title = 2;
2862
3291
  optional string description = 3;
2863
3292
  }
2864
-
3293
+
2865
3294
  message ProductSnapshot {
2866
3295
  optional Message.ImageMessage productImage = 1;
2867
3296
  optional string productId = 2;
@@ -2876,9 +3305,9 @@ message Message {
2876
3305
  optional int64 salePriceAmount1000 = 12;
2877
3306
  optional string signedUrl = 13;
2878
3307
  }
2879
-
3308
+
2880
3309
  }
2881
-
3310
+
2882
3311
  message ProtocolMessage {
2883
3312
  optional MessageKey key = 1;
2884
3313
  optional Type type = 2;
@@ -2894,7 +3323,7 @@ message Message {
2894
3323
  optional int64 timestampMs = 15;
2895
3324
  optional Message.PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16;
2896
3325
  optional Message.PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17;
2897
- optional Message.BotFeedbackMessage botFeedbackMessage = 18;
3326
+ optional BotFeedbackMessage botFeedbackMessage = 18;
2898
3327
  optional string invokerJid = 19;
2899
3328
  optional Message.RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20;
2900
3329
  optional MediaNotifyMessage mediaNotifyMessage = 21;
@@ -2933,14 +3362,19 @@ message Message {
2933
3362
  GROUP_MEMBER_LABEL_CHANGE = 30;
2934
3363
  }
2935
3364
  }
2936
-
3365
+
3366
+ message QuestionResponseMessage {
3367
+ optional MessageKey key = 1;
3368
+ optional string text = 2;
3369
+ }
3370
+
2937
3371
  message ReactionMessage {
2938
3372
  optional MessageKey key = 1;
2939
3373
  optional string text = 2;
2940
3374
  optional string groupingKey = 3;
2941
3375
  optional int64 senderTimestampMs = 4;
2942
3376
  }
2943
-
3377
+
2944
3378
  message RequestPaymentMessage {
2945
3379
  optional Message noteMessage = 4;
2946
3380
  optional string currencyCodeIso4217 = 1;
@@ -2950,11 +3384,11 @@ message Message {
2950
3384
  optional Money amount = 6;
2951
3385
  optional PaymentBackground background = 7;
2952
3386
  }
2953
-
3387
+
2954
3388
  message RequestPhoneNumberMessage {
2955
3389
  optional ContextInfo contextInfo = 1;
2956
3390
  }
2957
-
3391
+
2958
3392
  message RequestWelcomeMessageMetadata {
2959
3393
  optional LocalChatState localChatState = 1;
2960
3394
  enum LocalChatState {
@@ -2962,7 +3396,7 @@ message Message {
2962
3396
  NON_EMPTY = 1;
2963
3397
  }
2964
3398
  }
2965
-
3399
+
2966
3400
  message ScheduledCallCreationMessage {
2967
3401
  optional int64 scheduledTimestampMs = 1;
2968
3402
  optional CallType callType = 2;
@@ -2973,7 +3407,7 @@ message Message {
2973
3407
  VIDEO = 2;
2974
3408
  }
2975
3409
  }
2976
-
3410
+
2977
3411
  message ScheduledCallEditMessage {
2978
3412
  optional MessageKey key = 1;
2979
3413
  optional EditType editType = 2;
@@ -2982,7 +3416,7 @@ message Message {
2982
3416
  CANCEL = 1;
2983
3417
  }
2984
3418
  }
2985
-
3419
+
2986
3420
  message SecretEncryptedMessage {
2987
3421
  optional MessageKey targetMessageKey = 1;
2988
3422
  optional bytes encPayload = 2;
@@ -2994,18 +3428,19 @@ message Message {
2994
3428
  MESSAGE_EDIT = 2;
2995
3429
  }
2996
3430
  }
2997
-
3431
+
2998
3432
  message SendPaymentMessage {
2999
3433
  optional Message noteMessage = 2;
3000
3434
  optional MessageKey requestMessageKey = 3;
3001
3435
  optional PaymentBackground background = 4;
3436
+ optional string transactionData = 5;
3002
3437
  }
3003
-
3438
+
3004
3439
  message SenderKeyDistributionMessage {
3005
3440
  optional string groupId = 1;
3006
3441
  optional bytes axolotlSenderKeyDistributionMessage = 2;
3007
3442
  }
3008
-
3443
+
3009
3444
  message StatusNotificationMessage {
3010
3445
  optional MessageKey responseMessageKey = 1;
3011
3446
  optional MessageKey originalMessageKey = 2;
@@ -3014,9 +3449,35 @@ message Message {
3014
3449
  UNKNOWN = 0;
3015
3450
  STATUS_ADD_YOURS = 1;
3016
3451
  STATUS_RESHARE = 2;
3452
+ STATUS_QUESTION_ANSWER_RESHARE = 3;
3453
+ }
3454
+ }
3455
+
3456
+ message StatusQuestionAnswerMessage {
3457
+ optional MessageKey key = 1;
3458
+ optional string text = 2;
3459
+ }
3460
+
3461
+ message StatusQuotedMessage {
3462
+ optional StatusQuotedMessageType type = 1;
3463
+ optional string text = 2;
3464
+ optional bytes thumbnail = 3;
3465
+ optional MessageKey originalStatusId = 4;
3466
+ enum StatusQuotedMessageType {
3467
+ QUESTION_ANSWER = 1;
3468
+ }
3469
+ }
3470
+
3471
+ message StatusStickerInteractionMessage {
3472
+ optional MessageKey key = 1;
3473
+ optional string stickerKey = 2;
3474
+ optional StatusStickerType type = 3;
3475
+ enum StatusStickerType {
3476
+ UNKNOWN = 0;
3477
+ REACTION = 1;
3017
3478
  }
3018
3479
  }
3019
-
3480
+
3020
3481
  message StickerMessage {
3021
3482
  optional string url = 1;
3022
3483
  optional bytes fileSha256 = 2;
@@ -3038,8 +3499,9 @@ message Message {
3038
3499
  optional bool isAiSticker = 20;
3039
3500
  optional bool isLottie = 21;
3040
3501
  optional string accessibilityLabel = 22;
3502
+ optional Message.MediaKeyDomain mediaKeyDomain = 23;
3041
3503
  }
3042
-
3504
+
3043
3505
  message StickerPackMessage {
3044
3506
  optional string stickerPackId = 1;
3045
3507
  optional string name = 2;
@@ -3071,20 +3533,20 @@ message Message {
3071
3533
  optional bool isLottie = 5;
3072
3534
  optional string mimetype = 6;
3073
3535
  }
3074
-
3536
+
3075
3537
  enum StickerPackOrigin {
3076
3538
  FIRST_PARTY = 0;
3077
3539
  THIRD_PARTY = 1;
3078
3540
  USER_CREATED = 2;
3079
3541
  }
3080
3542
  }
3081
-
3543
+
3082
3544
  message StickerSyncRMRMessage {
3083
3545
  repeated string filehash = 1;
3084
3546
  optional string rmrSource = 2;
3085
3547
  optional int64 requestTimestamp = 3;
3086
3548
  }
3087
-
3549
+
3088
3550
  message TemplateButtonReplyMessage {
3089
3551
  optional string selectedId = 1;
3090
3552
  optional string selectedDisplayText = 2;
@@ -3092,7 +3554,7 @@ message Message {
3092
3554
  optional uint32 selectedIndex = 4;
3093
3555
  optional uint32 selectedCarouselCardIndex = 5;
3094
3556
  }
3095
-
3557
+
3096
3558
  message TemplateMessage {
3097
3559
  optional ContextInfo contextInfo = 3;
3098
3560
  optional HydratedFourRowTemplate hydratedTemplate = 4;
@@ -3114,7 +3576,7 @@ message Message {
3114
3576
  Message.LocationMessage locationMessage = 5;
3115
3577
  }
3116
3578
  }
3117
-
3579
+
3118
3580
  message HydratedFourRowTemplate {
3119
3581
  optional string hydratedContentText = 6;
3120
3582
  optional string hydratedFooterText = 7;
@@ -3129,13 +3591,20 @@ message Message {
3129
3591
  Message.LocationMessage locationMessage = 5;
3130
3592
  }
3131
3593
  }
3132
-
3594
+
3133
3595
  }
3134
-
3596
+
3135
3597
  message URLMetadata {
3136
3598
  optional uint32 fbExperimentId = 1;
3137
3599
  }
3138
-
3600
+
3601
+ message VideoEndCard {
3602
+ string username = 1;
3603
+ string caption = 2;
3604
+ string thumbnailImageUrl = 3;
3605
+ string profilePictureUrl = 4;
3606
+ }
3607
+
3139
3608
  message VideoMessage {
3140
3609
  optional string url = 1;
3141
3610
  optional string mimetype = 2;
@@ -3167,17 +3636,19 @@ message Message {
3167
3636
  optional uint64 motionPhotoPresentationOffsetMs = 29;
3168
3637
  optional string metadataUrl = 30;
3169
3638
  optional VideoSourceType videoSourceType = 31;
3639
+ optional Message.MediaKeyDomain mediaKeyDomain = 32;
3170
3640
  enum Attribution {
3171
3641
  NONE = 0;
3172
3642
  GIPHY = 1;
3173
3643
  TENOR = 2;
3644
+ KLIPY = 3;
3174
3645
  }
3175
3646
  enum VideoSourceType {
3176
3647
  USER_VIDEO = 0;
3177
3648
  AI_GENERATED = 1;
3178
3649
  }
3179
3650
  }
3180
-
3651
+
3181
3652
  }
3182
3653
 
3183
3654
  message MessageAddOn {
@@ -3224,6 +3695,10 @@ message MessageAssociation {
3224
3695
  STATUS_LINK_ACTION = 13;
3225
3696
  VIEW_ALL_REPLIES = 14;
3226
3697
  STATUS_ADD_YOURS_AI_IMAGINE = 15;
3698
+ STATUS_QUESTION = 16;
3699
+ STATUS_ADD_YOURS_DIWALI = 17;
3700
+ STATUS_REACTION = 18;
3701
+ HEVC_VIDEO_DUAL_UPLOAD = 19;
3227
3702
  }
3228
3703
  }
3229
3704
 
@@ -3243,6 +3718,7 @@ message MessageContextInfo {
3243
3718
  optional LimitSharing limitSharing = 13;
3244
3719
  optional LimitSharing limitSharingV2 = 14;
3245
3720
  repeated ThreadID threadId = 15;
3721
+ optional WebLinkRenderConfig weblinkRenderConfig = 16;
3246
3722
  enum MessageAddonExpiryType {
3247
3723
  STATIC = 1;
3248
3724
  DEPENDENT_ON_PARENT = 2;
@@ -3292,6 +3768,8 @@ message MsgOpaqueData {
3292
3768
  optional PollEncValue encPollVote = 24;
3293
3769
  optional bool isSentCagPollCreation = 28;
3294
3770
  optional PollContentType pollContentType = 42;
3771
+ optional PollType pollType = 46;
3772
+ optional int32 correctOptionIndex = 47;
3295
3773
  optional PollVotesSnapshot pollVotesSnapshot = 41;
3296
3774
  optional string encReactionTargetMessageKey = 25;
3297
3775
  optional bytes encReactionEncPayload = 26;
@@ -3307,6 +3785,8 @@ message MsgOpaqueData {
3307
3785
  optional int64 eventStartTime = 37;
3308
3786
  optional EventLocation eventLocation = 38;
3309
3787
  optional int64 eventEndTime = 40;
3788
+ optional bool eventIsScheduledCall = 44;
3789
+ optional bool eventExtraGuestsAllowed = 45;
3310
3790
  optional bytes plainProtobufBytes = 43;
3311
3791
  message EventLocation {
3312
3792
  optional double degreesLatitude = 1;
@@ -3316,7 +3796,7 @@ message MsgOpaqueData {
3316
3796
  optional string url = 5;
3317
3797
  optional bytes jpegThumbnail = 6;
3318
3798
  }
3319
-
3799
+
3320
3800
  enum PollContentType {
3321
3801
  UNKNOWN = 0;
3322
3802
  TEXT = 1;
@@ -3326,16 +3806,20 @@ message MsgOpaqueData {
3326
3806
  optional string name = 1;
3327
3807
  optional string hash = 2;
3328
3808
  }
3329
-
3809
+
3810
+ enum PollType {
3811
+ POLL = 0;
3812
+ QUIZ = 1;
3813
+ }
3330
3814
  message PollVoteSnapshot {
3331
3815
  optional MsgOpaqueData.PollOption option = 1;
3332
3816
  optional int32 optionVoteCount = 2;
3333
3817
  }
3334
-
3818
+
3335
3819
  message PollVotesSnapshot {
3336
3820
  repeated MsgOpaqueData.PollVoteSnapshot pollVotes = 1;
3337
3821
  }
3338
-
3822
+
3339
3823
  }
3340
3824
 
3341
3825
  message MsgRowOpaqueData {
@@ -3343,6 +3827,81 @@ message MsgRowOpaqueData {
3343
3827
  optional MsgOpaqueData quotedMsg = 2;
3344
3828
  }
3345
3829
 
3830
+ enum MutationProps {
3831
+ STAR_ACTION = 2;
3832
+ CONTACT_ACTION = 3;
3833
+ MUTE_ACTION = 4;
3834
+ PIN_ACTION = 5;
3835
+ SECURITY_NOTIFICATION_SETTING = 6;
3836
+ PUSH_NAME_SETTING = 7;
3837
+ QUICK_REPLY_ACTION = 8;
3838
+ RECENT_EMOJI_WEIGHTS_ACTION = 11;
3839
+ LABEL_MESSAGE_ACTION = 13;
3840
+ LABEL_EDIT_ACTION = 14;
3841
+ LABEL_ASSOCIATION_ACTION = 15;
3842
+ LOCALE_SETTING = 16;
3843
+ ARCHIVE_CHAT_ACTION = 17;
3844
+ DELETE_MESSAGE_FOR_ME_ACTION = 18;
3845
+ KEY_EXPIRATION = 19;
3846
+ MARK_CHAT_AS_READ_ACTION = 20;
3847
+ CLEAR_CHAT_ACTION = 21;
3848
+ DELETE_CHAT_ACTION = 22;
3849
+ UNARCHIVE_CHATS_SETTING = 23;
3850
+ PRIMARY_FEATURE = 24;
3851
+ ANDROID_UNSUPPORTED_ACTIONS = 26;
3852
+ AGENT_ACTION = 27;
3853
+ SUBSCRIPTION_ACTION = 28;
3854
+ USER_STATUS_MUTE_ACTION = 29;
3855
+ TIME_FORMAT_ACTION = 30;
3856
+ NUX_ACTION = 31;
3857
+ PRIMARY_VERSION_ACTION = 32;
3858
+ STICKER_ACTION = 33;
3859
+ REMOVE_RECENT_STICKER_ACTION = 34;
3860
+ CHAT_ASSIGNMENT = 35;
3861
+ CHAT_ASSIGNMENT_OPENED_STATUS = 36;
3862
+ PN_FOR_LID_CHAT_ACTION = 37;
3863
+ MARKETING_MESSAGE_ACTION = 38;
3864
+ MARKETING_MESSAGE_BROADCAST_ACTION = 39;
3865
+ EXTERNAL_WEB_BETA_ACTION = 40;
3866
+ PRIVACY_SETTING_RELAY_ALL_CALLS = 41;
3867
+ CALL_LOG_ACTION = 42;
3868
+ UGC_BOT = 43;
3869
+ STATUS_PRIVACY = 44;
3870
+ BOT_WELCOME_REQUEST_ACTION = 45;
3871
+ DELETE_INDIVIDUAL_CALL_LOG = 46;
3872
+ LABEL_REORDERING_ACTION = 47;
3873
+ PAYMENT_INFO_ACTION = 48;
3874
+ CUSTOM_PAYMENT_METHODS_ACTION = 49;
3875
+ LOCK_CHAT_ACTION = 50;
3876
+ CHAT_LOCK_SETTINGS = 51;
3877
+ WAMO_USER_IDENTIFIER_ACTION = 52;
3878
+ PRIVACY_SETTING_DISABLE_LINK_PREVIEWS_ACTION = 53;
3879
+ DEVICE_CAPABILITIES = 54;
3880
+ NOTE_EDIT_ACTION = 55;
3881
+ FAVORITES_ACTION = 56;
3882
+ MERCHANT_PAYMENT_PARTNER_ACTION = 57;
3883
+ WAFFLE_ACCOUNT_LINK_STATE_ACTION = 58;
3884
+ USERNAME_CHAT_START_MODE = 59;
3885
+ NOTIFICATION_ACTIVITY_SETTING_ACTION = 60;
3886
+ LID_CONTACT_ACTION = 61;
3887
+ CTWA_PER_CUSTOMER_DATA_SHARING_ACTION = 62;
3888
+ PAYMENT_TOS_ACTION = 63;
3889
+ PRIVACY_SETTING_CHANNELS_PERSONALISED_RECOMMENDATION_ACTION = 64;
3890
+ BUSINESS_BROADCAST_ASSOCIATION_ACTION = 65;
3891
+ DETECTED_OUTCOMES_STATUS_ACTION = 66;
3892
+ MAIBA_AI_FEATURES_CONTROL_ACTION = 68;
3893
+ BUSINESS_BROADCAST_LIST_ACTION = 69;
3894
+ MUSIC_USER_ID_ACTION = 70;
3895
+ STATUS_POST_OPT_IN_NOTIFICATION_PREFERENCES_ACTION = 71;
3896
+ AVATAR_UPDATED_ACTION = 72;
3897
+ GALAXY_FLOW_ACTION = 73;
3898
+ PRIVATE_PROCESSING_SETTING_ACTION = 74;
3899
+ NEWSLETTER_SAVED_INTERESTS_ACTION = 75;
3900
+ AI_THREAD_RENAME_ACTION = 76;
3901
+ INTERACTIVE_MESSAGE_ACTION = 77;
3902
+ SHARE_OWN_PN = 10001;
3903
+ BUSINESS_BROADCAST_ACTION = 10002;
3904
+ }
3346
3905
  message NoiseCertificate {
3347
3906
  optional bytes details = 1;
3348
3907
  optional bytes signature = 2;
@@ -3353,7 +3912,7 @@ message NoiseCertificate {
3353
3912
  optional string subject = 4;
3354
3913
  optional bytes key = 5;
3355
3914
  }
3356
-
3915
+
3357
3916
  }
3358
3917
 
3359
3918
  message NotificationMessageInfo {
@@ -3415,6 +3974,9 @@ message PatchDebugData {
3415
3974
  DARWIN = 6;
3416
3975
  IPAD = 7;
3417
3976
  WEAROS = 8;
3977
+ WASG = 9;
3978
+ WEARM = 10;
3979
+ CAPI = 11;
3418
3980
  }
3419
3981
  }
3420
3982
 
@@ -3436,7 +3998,7 @@ message PaymentBackground {
3436
3998
  optional bytes fileEncSha256 = 4;
3437
3999
  optional string directPath = 5;
3438
4000
  }
3439
-
4001
+
3440
4002
  enum Type {
3441
4003
  UNKNOWN = 0;
3442
4004
  DEFAULT = 1;
@@ -3615,6 +4177,11 @@ message Pushname {
3615
4177
  optional string pushname = 2;
3616
4178
  }
3617
4179
 
4180
+ message QuarantinedMessage {
4181
+ optional bytes originalData = 1;
4182
+ optional string extractedText = 2;
4183
+ }
4184
+
3618
4185
  message Reaction {
3619
4186
  optional MessageKey key = 1;
3620
4187
  optional string text = 2;
@@ -3670,17 +4237,17 @@ message SenderKeyStateStructure {
3670
4237
  optional uint32 iteration = 1;
3671
4238
  optional bytes seed = 2;
3672
4239
  }
3673
-
4240
+
3674
4241
  message SenderMessageKey {
3675
4242
  optional uint32 iteration = 1;
3676
4243
  optional bytes seed = 2;
3677
4244
  }
3678
-
4245
+
3679
4246
  message SenderSigningKey {
3680
4247
  optional bytes public = 1;
3681
4248
  optional bytes private = 2;
3682
4249
  }
3683
-
4250
+
3684
4251
  }
3685
4252
 
3686
4253
  message ServerErrorReceipt {
@@ -3710,16 +4277,16 @@ message SessionStructure {
3710
4277
  optional uint32 index = 1;
3711
4278
  optional bytes key = 2;
3712
4279
  }
3713
-
4280
+
3714
4281
  message MessageKey {
3715
4282
  optional uint32 index = 1;
3716
4283
  optional bytes cipherKey = 2;
3717
4284
  optional bytes macKey = 3;
3718
4285
  optional bytes iv = 4;
3719
4286
  }
3720
-
4287
+
3721
4288
  }
3722
-
4289
+
3723
4290
  message PendingKeyExchange {
3724
4291
  optional uint32 sequence = 1;
3725
4292
  optional bytes localBaseKey = 2;
@@ -3729,15 +4296,25 @@ message SessionStructure {
3729
4296
  optional bytes localIdentityKey = 7;
3730
4297
  optional bytes localIdentityKeyPrivate = 8;
3731
4298
  }
3732
-
4299
+
3733
4300
  message PendingPreKey {
3734
4301
  optional uint32 preKeyId = 1;
3735
4302
  optional int32 signedPreKeyId = 3;
3736
4303
  optional bytes baseKey = 2;
3737
4304
  }
3738
-
4305
+
4306
+ }
4307
+
4308
+ message SessionTransparencyMetadata {
4309
+ optional string disclaimerText = 1;
4310
+ optional string hcaId = 2;
4311
+ optional SessionTransparencyType sessionTransparencyType = 3;
3739
4312
  }
3740
4313
 
4314
+ enum SessionTransparencyType {
4315
+ UNKNOWN_TYPE = 0;
4316
+ NY_AI_SAFETY_DISCLAIMER = 1;
4317
+ }
3741
4318
  message SignalMessage {
3742
4319
  optional bytes ratchetKey = 1;
3743
4320
  optional uint32 counter = 2;
@@ -3761,7 +4338,17 @@ message StatusAttribution {
3761
4338
  StatusAttribution.ExternalShare externalShare = 4;
3762
4339
  StatusAttribution.Music music = 5;
3763
4340
  StatusAttribution.GroupStatus groupStatus = 6;
4341
+ StatusAttribution.RLAttribution rlAttribution = 7;
4342
+ StatusAttribution.AiCreatedAttribution aiCreatedAttribution = 8;
4343
+ }
4344
+ message AiCreatedAttribution {
4345
+ optional Source source = 1;
4346
+ enum Source {
4347
+ UNKNOWN = 0;
4348
+ STATUS_MIMICRY = 1;
4349
+ }
3764
4350
  }
4351
+
3765
4352
  message ExternalShare {
3766
4353
  optional string actionUrl = 1;
3767
4354
  optional Source source = 2;
@@ -3775,13 +4362,17 @@ message StatusAttribution {
3775
4362
  SPOTIFY = 4;
3776
4363
  YOUTUBE = 5;
3777
4364
  PINTEREST = 6;
4365
+ THREADS = 7;
4366
+ APPLE_MUSIC = 8;
4367
+ SHARECHAT = 9;
4368
+ GOOGLE_PHOTOS = 10;
3778
4369
  }
3779
4370
  }
3780
-
4371
+
3781
4372
  message GroupStatus {
3782
4373
  optional string authorJid = 1;
3783
4374
  }
3784
-
4375
+
3785
4376
  message Music {
3786
4377
  optional string authorName = 1;
3787
4378
  optional string songId = 2;
@@ -3790,7 +4381,17 @@ message StatusAttribution {
3790
4381
  optional string artistAttribution = 5;
3791
4382
  optional bool isExplicit = 6;
3792
4383
  }
3793
-
4384
+
4385
+ message RLAttribution {
4386
+ optional Source source = 1;
4387
+ enum Source {
4388
+ UNKNOWN = 0;
4389
+ RAY_BAN_META_GLASSES = 1;
4390
+ OAKLEY_META_GLASSES = 2;
4391
+ HYPERNOVA_GLASSES = 3;
4392
+ }
4393
+ }
4394
+
3794
4395
  message StatusReshare {
3795
4396
  optional Source source = 1;
3796
4397
  optional Metadata metadata = 2;
@@ -3800,21 +4401,26 @@ message StatusAttribution {
3800
4401
  optional int32 channelMessageId = 3;
3801
4402
  optional bool hasMultipleReshares = 4;
3802
4403
  }
3803
-
4404
+
3804
4405
  enum Source {
3805
4406
  UNKNOWN = 0;
3806
4407
  INTERNAL_RESHARE = 1;
3807
4408
  MENTION_RESHARE = 2;
3808
4409
  CHANNEL_RESHARE = 3;
4410
+ FORWARD = 4;
3809
4411
  }
3810
4412
  }
3811
-
4413
+
3812
4414
  enum Type {
3813
- RESHARE = 0;
3814
- EXTERNAL_SHARE = 1;
3815
- MUSIC = 2;
3816
- STATUS_MENTION = 3;
3817
- GROUP_STATUS = 4;
4415
+ UNKNOWN = 0;
4416
+ RESHARE = 1;
4417
+ EXTERNAL_SHARE = 2;
4418
+ MUSIC = 3;
4419
+ STATUS_MENTION = 4;
4420
+ GROUP_STATUS = 5;
4421
+ RL_ATTRIBUTION = 6;
4422
+ AI_CREATED = 7;
4423
+ LAYOUTS = 8;
3818
4424
  }
3819
4425
  }
3820
4426
 
@@ -3823,7 +4429,7 @@ message StatusMentionMessage {
3823
4429
  }
3824
4430
 
3825
4431
  message StatusPSA {
3826
- required uint64 campaignId = 44;
4432
+ uint64 campaignId = 44;
3827
4433
  optional uint64 campaignExpirationTimestamp = 45;
3828
4434
  }
3829
4435
 
@@ -3840,6 +4446,8 @@ message StickerMetadata {
3840
4446
  optional float weight = 10;
3841
4447
  optional int64 lastStickerSentTs = 11;
3842
4448
  optional bool isLottie = 12;
4449
+ optional string imageHash = 13;
4450
+ optional bool isAvatarSticker = 14;
3843
4451
  }
3844
4452
 
3845
4453
  message SyncActionData {
@@ -3855,7 +4463,6 @@ message SyncActionValue {
3855
4463
  optional ContactAction contactAction = 3;
3856
4464
  optional MuteAction muteAction = 4;
3857
4465
  optional PinAction pinAction = 5;
3858
- optional SecurityNotificationSetting securityNotificationSetting = 6;
3859
4466
  optional PushNameSetting pushNameSetting = 7;
3860
4467
  optional QuickReplyAction quickReplyAction = 8;
3861
4468
  optional RecentEmojiWeightsAction recentEmojiWeightsAction = 11;
@@ -3887,6 +4494,7 @@ message SyncActionValue {
3887
4494
  optional ExternalWebBetaAction externalWebBetaAction = 40;
3888
4495
  optional PrivacySettingRelayAllCalls privacySettingRelayAllCalls = 41;
3889
4496
  optional CallLogAction callLogAction = 42;
4497
+ optional UGCBot ugcBot = 43;
3890
4498
  optional StatusPrivacyAction statusPrivacy = 44;
3891
4499
  optional BotWelcomeRequestAction botWelcomeRequestAction = 45;
3892
4500
  optional DeleteIndividualCallLogAction deleteIndividualCallLog = 46;
@@ -3909,45 +4517,80 @@ message SyncActionValue {
3909
4517
  optional PaymentTosAction paymentTosAction = 63;
3910
4518
  optional PrivacySettingChannelsPersonalisedRecommendationAction privacySettingChannelsPersonalisedRecommendationAction = 64;
3911
4519
  optional BusinessBroadcastAssociationAction businessBroadcastAssociationAction = 65;
4520
+ optional DetectedOutcomesStatusAction detectedOutcomesStatusAction = 66;
4521
+ optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction = 68;
4522
+ optional BusinessBroadcastListAction businessBroadcastListAction = 69;
4523
+ optional MusicUserIdAction musicUserIdAction = 70;
4524
+ optional StatusPostOptInNotificationPreferencesAction statusPostOptInNotificationPreferencesAction = 71;
4525
+ optional AvatarUpdatedAction avatarUpdatedAction = 72;
4526
+ optional PrivateProcessingSettingAction privateProcessingSettingAction = 74;
4527
+ optional NewsletterSavedInterestsAction newsletterSavedInterestsAction = 75;
4528
+ optional AiThreadRenameAction aiThreadRenameAction = 76;
4529
+ optional InteractiveMessageAction interactiveMessageAction = 77;
3912
4530
  message AgentAction {
3913
4531
  optional string name = 1;
3914
4532
  optional int32 deviceID = 2;
3915
4533
  optional bool isDeleted = 3;
3916
4534
  }
3917
-
4535
+
4536
+ message AiThreadRenameAction {
4537
+ optional string newTitle = 1;
4538
+ }
4539
+
3918
4540
  message AndroidUnsupportedActions {
3919
4541
  optional bool allowed = 1;
3920
4542
  }
3921
-
4543
+
3922
4544
  message ArchiveChatAction {
3923
4545
  optional bool archived = 1;
3924
4546
  optional SyncActionValue.SyncActionMessageRange messageRange = 2;
3925
4547
  }
3926
-
4548
+
4549
+ message AvatarUpdatedAction {
4550
+ optional AvatarEventType eventType = 1;
4551
+ repeated SyncActionValue.StickerAction recentAvatarStickers = 2;
4552
+ enum AvatarEventType {
4553
+ UPDATED = 0;
4554
+ CREATED = 1;
4555
+ DELETED = 2;
4556
+ }
4557
+ }
4558
+
3927
4559
  message BotWelcomeRequestAction {
3928
4560
  optional bool isSent = 1;
3929
4561
  }
3930
-
4562
+
4563
+ message BroadcastListParticipant {
4564
+ string lidJid = 1;
4565
+ optional string pnJid = 2;
4566
+ }
4567
+
3931
4568
  message BusinessBroadcastAssociationAction {
3932
4569
  optional bool deleted = 1;
3933
4570
  }
3934
-
4571
+
4572
+ message BusinessBroadcastListAction {
4573
+ optional bool deleted = 1;
4574
+ repeated SyncActionValue.BroadcastListParticipant participants = 2;
4575
+ optional string listName = 3;
4576
+ }
4577
+
3935
4578
  message CallLogAction {
3936
4579
  optional CallLogRecord callLogRecord = 1;
3937
4580
  }
3938
-
4581
+
3939
4582
  message ChatAssignmentAction {
3940
4583
  optional string deviceAgentID = 1;
3941
4584
  }
3942
-
4585
+
3943
4586
  message ChatAssignmentOpenedStatusAction {
3944
4587
  optional bool chatOpened = 1;
3945
4588
  }
3946
-
4589
+
3947
4590
  message ClearChatAction {
3948
4591
  optional SyncActionValue.SyncActionMessageRange messageRange = 1;
3949
4592
  }
3950
-
4593
+
3951
4594
  message ContactAction {
3952
4595
  optional string fullName = 1;
3953
4596
  optional string firstName = 2;
@@ -3956,61 +4599,72 @@ message SyncActionValue {
3956
4599
  optional string pnJid = 5;
3957
4600
  optional string username = 6;
3958
4601
  }
3959
-
4602
+
3960
4603
  message CtwaPerCustomerDataSharingAction {
3961
4604
  optional bool isCtwaPerCustomerDataSharingEnabled = 1;
3962
4605
  }
3963
-
4606
+
3964
4607
  message CustomPaymentMethod {
3965
- required string credentialId = 1;
3966
- required string country = 2;
3967
- required string type = 3;
4608
+ string credentialId = 1;
4609
+ string country = 2;
4610
+ string type = 3;
3968
4611
  repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
3969
4612
  }
3970
-
4613
+
3971
4614
  message CustomPaymentMethodMetadata {
3972
- required string key = 1;
3973
- required string value = 2;
4615
+ string key = 1;
4616
+ string value = 2;
3974
4617
  }
3975
-
4618
+
3976
4619
  message CustomPaymentMethodsAction {
3977
4620
  repeated SyncActionValue.CustomPaymentMethod customPaymentMethods = 1;
3978
4621
  }
3979
-
4622
+
3980
4623
  message DeleteChatAction {
3981
4624
  optional SyncActionValue.SyncActionMessageRange messageRange = 1;
3982
4625
  }
3983
-
4626
+
3984
4627
  message DeleteIndividualCallLogAction {
3985
4628
  optional string peerJid = 1;
3986
4629
  optional bool isIncoming = 2;
3987
4630
  }
3988
-
4631
+
3989
4632
  message DeleteMessageForMeAction {
3990
4633
  optional bool deleteMedia = 1;
3991
4634
  optional int64 messageTimestamp = 2;
3992
4635
  }
3993
-
4636
+
4637
+ message DetectedOutcomesStatusAction {
4638
+ optional bool isEnabled = 1;
4639
+ }
4640
+
3994
4641
  message ExternalWebBetaAction {
3995
4642
  optional bool isOptIn = 1;
3996
4643
  }
3997
-
4644
+
3998
4645
  message FavoritesAction {
3999
4646
  repeated Favorite favorites = 1;
4000
4647
  message Favorite {
4001
4648
  optional string id = 1;
4002
4649
  }
4003
-
4650
+
4651
+ }
4652
+
4653
+ message InteractiveMessageAction {
4654
+ InteractiveMessageActionMode type = 1;
4655
+ enum InteractiveMessageActionMode {
4656
+ DISABLE_CTA = 1;
4657
+ }
4004
4658
  }
4005
-
4659
+
4006
4660
  message KeyExpiration {
4007
4661
  optional int32 expiredKeyEpoch = 1;
4008
4662
  }
4009
-
4663
+
4010
4664
  message LabelAssociationAction {
4011
4665
  optional bool labeled = 1;
4012
4666
  }
4013
-
4667
+
4014
4668
  message LabelEditAction {
4015
4669
  optional string name = 1;
4016
4670
  optional int32 color = 2;
@@ -4020,6 +4674,7 @@ message SyncActionValue {
4020
4674
  optional bool isActive = 6;
4021
4675
  optional ListType type = 7;
4022
4676
  optional bool isImmutable = 8;
4677
+ optional int64 muteEndTimeMs = 9;
4023
4678
  enum ListType {
4024
4679
  NONE = 0;
4025
4680
  UNREAD = 1;
@@ -4029,33 +4684,43 @@ message SyncActionValue {
4029
4684
  CUSTOM = 5;
4030
4685
  COMMUNITY = 6;
4031
4686
  SERVER_ASSIGNED = 7;
4687
+ DRAFTED = 8;
4688
+ AI_HANDOFF = 9;
4032
4689
  }
4033
4690
  }
4034
-
4691
+
4035
4692
  message LabelReorderingAction {
4036
4693
  repeated int32 sortedLabelIds = 1;
4037
4694
  }
4038
-
4695
+
4039
4696
  message LidContactAction {
4040
4697
  optional string fullName = 1;
4041
4698
  optional string firstName = 2;
4042
4699
  optional string username = 3;
4043
- optional bool saveOnPrimaryAddressbook = 4;
4044
4700
  }
4045
-
4701
+
4046
4702
  message LocaleSetting {
4047
4703
  optional string locale = 1;
4048
4704
  }
4049
-
4705
+
4050
4706
  message LockChatAction {
4051
4707
  optional bool locked = 1;
4052
4708
  }
4053
-
4709
+
4710
+ message MaibaAIFeaturesControlAction {
4711
+ optional MaibaAIFeatureStatus aiFeatureStatus = 1;
4712
+ enum MaibaAIFeatureStatus {
4713
+ ENABLED = 0;
4714
+ ENABLED_HAS_LEARNING = 1;
4715
+ DISABLED = 2;
4716
+ }
4717
+ }
4718
+
4054
4719
  message MarkChatAsReadAction {
4055
4720
  optional bool read = 1;
4056
4721
  optional SyncActionValue.SyncActionMessageRange messageRange = 2;
4057
4722
  }
4058
-
4723
+
4059
4724
  message MarketingMessageAction {
4060
4725
  optional string name = 1;
4061
4726
  optional string message = 2;
@@ -4068,14 +4733,14 @@ message SyncActionValue {
4068
4733
  PERSONALIZED = 0;
4069
4734
  }
4070
4735
  }
4071
-
4736
+
4072
4737
  message MarketingMessageBroadcastAction {
4073
4738
  optional int32 repliedCount = 1;
4074
4739
  }
4075
-
4740
+
4076
4741
  message MerchantPaymentPartnerAction {
4077
- required Status status = 1;
4078
- required string country = 2;
4742
+ Status status = 1;
4743
+ string country = 2;
4079
4744
  optional string gatewayName = 3;
4080
4745
  optional string credentialId = 4;
4081
4746
  enum Status {
@@ -4083,13 +4748,22 @@ message SyncActionValue {
4083
4748
  INACTIVE = 1;
4084
4749
  }
4085
4750
  }
4086
-
4751
+
4752
+ message MusicUserIdAction {
4753
+ optional string musicUserId = 1;
4754
+ map<string, string> music_user_id_map = 2;
4755
+ }
4756
+
4087
4757
  message MuteAction {
4088
4758
  optional bool muted = 1;
4089
4759
  optional int64 muteEndTimestamp = 2;
4090
4760
  optional bool autoMuted = 3;
4091
4761
  }
4092
-
4762
+
4763
+ message NewsletterSavedInterestsAction {
4764
+ optional string newsletterSavedInterests = 1;
4765
+ }
4766
+
4093
4767
  message NoteEditAction {
4094
4768
  optional NoteType type = 1;
4095
4769
  optional string chatJid = 2;
@@ -4101,7 +4775,7 @@ message SyncActionValue {
4101
4775
  STRUCTURED = 2;
4102
4776
  }
4103
4777
  }
4104
-
4778
+
4105
4779
  message NotificationActivitySettingAction {
4106
4780
  optional NotificationActivitySetting notificationActivitySetting = 1;
4107
4781
  enum NotificationActivitySetting {
@@ -4111,55 +4785,64 @@ message SyncActionValue {
4111
4785
  DEFAULT_HIGHLIGHTS = 3;
4112
4786
  }
4113
4787
  }
4114
-
4788
+
4115
4789
  message NuxAction {
4116
4790
  optional bool acknowledged = 1;
4117
4791
  }
4118
-
4792
+
4119
4793
  message PaymentInfoAction {
4120
4794
  optional string cpi = 1;
4121
4795
  }
4122
-
4796
+
4123
4797
  message PaymentTosAction {
4124
- required PaymentNotice paymentNotice = 1;
4125
- required bool accepted = 2;
4798
+ PaymentNotice paymentNotice = 1;
4799
+ bool accepted = 2;
4126
4800
  enum PaymentNotice {
4127
4801
  BR_PAY_PRIVACY_POLICY = 0;
4128
4802
  }
4129
4803
  }
4130
-
4804
+
4131
4805
  message PinAction {
4132
4806
  optional bool pinned = 1;
4133
4807
  }
4134
-
4808
+
4135
4809
  message PnForLidChatAction {
4136
4810
  optional string pnJid = 1;
4137
4811
  }
4138
-
4812
+
4139
4813
  message PrimaryFeature {
4140
4814
  repeated string flags = 1;
4141
4815
  }
4142
-
4816
+
4143
4817
  message PrimaryVersionAction {
4144
4818
  optional string version = 1;
4145
4819
  }
4146
-
4820
+
4147
4821
  message PrivacySettingChannelsPersonalisedRecommendationAction {
4148
4822
  optional bool isUserOptedOut = 1;
4149
4823
  }
4150
-
4824
+
4151
4825
  message PrivacySettingDisableLinkPreviewsAction {
4152
4826
  optional bool isPreviewsDisabled = 1;
4153
4827
  }
4154
-
4828
+
4155
4829
  message PrivacySettingRelayAllCalls {
4156
4830
  optional bool isEnabled = 1;
4157
4831
  }
4158
-
4832
+
4833
+ message PrivateProcessingSettingAction {
4834
+ optional PrivateProcessingStatus privateProcessingStatus = 1;
4835
+ enum PrivateProcessingStatus {
4836
+ UNDEFINED = 0;
4837
+ ENABLED = 1;
4838
+ DISABLED = 2;
4839
+ }
4840
+ }
4841
+
4159
4842
  message PushNameSetting {
4160
4843
  optional string name = 1;
4161
4844
  }
4162
-
4845
+
4163
4846
  message QuickReplyAction {
4164
4847
  optional string shortcut = 1;
4165
4848
  optional string message = 2;
@@ -4167,23 +4850,23 @@ message SyncActionValue {
4167
4850
  optional int32 count = 4;
4168
4851
  optional bool deleted = 5;
4169
4852
  }
4170
-
4853
+
4171
4854
  message RecentEmojiWeightsAction {
4172
4855
  repeated RecentEmojiWeight weights = 1;
4173
4856
  }
4174
-
4857
+
4175
4858
  message RemoveRecentStickerAction {
4176
4859
  optional int64 lastStickerSentTs = 1;
4177
4860
  }
4178
-
4179
- message SecurityNotificationSetting {
4180
- optional bool showNotification = 1;
4181
- }
4182
-
4861
+
4183
4862
  message StarAction {
4184
4863
  optional bool starred = 1;
4185
4864
  }
4186
-
4865
+
4866
+ message StatusPostOptInNotificationPreferencesAction {
4867
+ optional bool enabled = 1;
4868
+ }
4869
+
4187
4870
  message StatusPrivacyAction {
4188
4871
  optional StatusDistributionMode mode = 1;
4189
4872
  repeated string userJid = 2;
@@ -4191,9 +4874,10 @@ message SyncActionValue {
4191
4874
  ALLOW_LIST = 0;
4192
4875
  DENY_LIST = 1;
4193
4876
  CONTACTS = 2;
4877
+ CLOSE_FRIENDS = 3;
4194
4878
  }
4195
4879
  }
4196
-
4880
+
4197
4881
  message StickerAction {
4198
4882
  optional string url = 1;
4199
4883
  optional bytes fileEncSha256 = 2;
@@ -4206,37 +4890,43 @@ message SyncActionValue {
4206
4890
  optional bool isFavorite = 9;
4207
4891
  optional uint32 deviceIdHint = 10;
4208
4892
  optional bool isLottie = 11;
4893
+ optional string imageHash = 12;
4894
+ optional bool isAvatarSticker = 13;
4209
4895
  }
4210
-
4896
+
4211
4897
  message SubscriptionAction {
4212
4898
  optional bool isDeactivated = 1;
4213
4899
  optional bool isAutoRenewing = 2;
4214
4900
  optional int64 expirationDate = 3;
4215
4901
  }
4216
-
4902
+
4217
4903
  message SyncActionMessage {
4218
4904
  optional MessageKey key = 1;
4219
4905
  optional int64 timestamp = 2;
4220
4906
  }
4221
-
4907
+
4222
4908
  message SyncActionMessageRange {
4223
4909
  optional int64 lastMessageTimestamp = 1;
4224
4910
  optional int64 lastSystemMessageTimestamp = 2;
4225
4911
  repeated SyncActionValue.SyncActionMessage messages = 3;
4226
4912
  }
4227
-
4913
+
4228
4914
  message TimeFormatAction {
4229
4915
  optional bool isTwentyFourHourFormatEnabled = 1;
4230
4916
  }
4231
-
4917
+
4918
+ message UGCBot {
4919
+ optional bytes definition = 1;
4920
+ }
4921
+
4232
4922
  message UnarchiveChatsSetting {
4233
4923
  optional bool unarchiveChats = 1;
4234
4924
  }
4235
-
4925
+
4236
4926
  message UserStatusMuteAction {
4237
4927
  optional bool muted = 1;
4238
4928
  }
4239
-
4929
+
4240
4930
  message UsernameChatStartModeAction {
4241
4931
  optional ChatStartMode chatStartMode = 1;
4242
4932
  enum ChatStartMode {
@@ -4244,18 +4934,20 @@ message SyncActionValue {
4244
4934
  PN = 2;
4245
4935
  }
4246
4936
  }
4247
-
4937
+
4248
4938
  message WaffleAccountLinkStateAction {
4249
4939
  optional AccountLinkState linkState = 2;
4250
4940
  enum AccountLinkState {
4251
4941
  ACTIVE = 0;
4942
+ PAUSED = 1;
4943
+ UNLINKED = 2;
4252
4944
  }
4253
4945
  }
4254
-
4946
+
4255
4947
  message WamoUserIdentifierAction {
4256
4948
  optional string identifier = 1;
4257
4949
  }
4258
-
4950
+
4259
4951
  }
4260
4952
 
4261
4953
  message SyncdIndex {
@@ -4324,17 +5016,17 @@ message TemplateButton {
4324
5016
  optional Message.HighlyStructuredMessage displayText = 1;
4325
5017
  optional Message.HighlyStructuredMessage phoneNumber = 2;
4326
5018
  }
4327
-
5019
+
4328
5020
  message QuickReplyButton {
4329
5021
  optional Message.HighlyStructuredMessage displayText = 1;
4330
5022
  optional string id = 2;
4331
5023
  }
4332
-
5024
+
4333
5025
  message URLButton {
4334
5026
  optional Message.HighlyStructuredMessage displayText = 1;
4335
5027
  optional Message.HighlyStructuredMessage url = 2;
4336
5028
  }
4337
-
5029
+
4338
5030
  }
4339
5031
 
4340
5032
  message ThreadID {
@@ -4343,6 +5035,7 @@ message ThreadID {
4343
5035
  enum ThreadType {
4344
5036
  UNKNOWN = 0;
4345
5037
  VIEW_REPLIES = 1;
5038
+ AI_THREAD = 2;
4346
5039
  }
4347
5040
  }
4348
5041
 
@@ -4354,7 +5047,7 @@ message UrlTrackingMap {
4354
5047
  optional string consentedUsersUrl = 3;
4355
5048
  optional uint32 cardIndex = 4;
4356
5049
  }
4357
-
5050
+
4358
5051
  }
4359
5052
 
4360
5053
  message UserPassword {
@@ -4380,13 +5073,13 @@ message UserPassword {
4380
5073
  uint32 asUnsignedInteger = 2;
4381
5074
  }
4382
5075
  }
4383
-
5076
+
4384
5077
  }
4385
-
5078
+
4386
5079
  }
4387
5080
 
4388
5081
  message UserReceipt {
4389
- required string userJid = 1;
5082
+ string userJid = 1;
4390
5083
  optional int64 receiptTimestamp = 2;
4391
5084
  optional int64 readTimestamp = 3;
4392
5085
  optional int64 playedTimestamp = 4;
@@ -4405,7 +5098,7 @@ message VerifiedNameCertificate {
4405
5098
  repeated LocalizedName localizedNames = 8;
4406
5099
  optional uint64 issueTime = 10;
4407
5100
  }
4408
-
5101
+
4409
5102
  }
4410
5103
 
4411
5104
  message WallpaperSettings {
@@ -4467,8 +5160,12 @@ message WebFeatures {
4467
5160
  }
4468
5161
  }
4469
5162
 
5163
+ enum WebLinkRenderConfig {
5164
+ WEBVIEW = 0;
5165
+ SYSTEM = 1;
5166
+ }
4470
5167
  message WebMessageInfo {
4471
- required MessageKey key = 1;
5168
+ MessageKey key = 1;
4472
5169
  optional Message message = 2;
4473
5170
  optional uint64 messageTimestamp = 3;
4474
5171
  optional Status status = 4;
@@ -4530,6 +5227,10 @@ message WebMessageInfo {
4530
5227
  repeated string statusMentionSources = 71;
4531
5228
  repeated Citation supportAiCitations = 72;
4532
5229
  optional string botTargetId = 73;
5230
+ optional GroupHistoryIndividualMessageInfo groupHistoryIndividualMessageInfo = 74;
5231
+ optional GroupHistoryBundleInfo groupHistoryBundleInfo = 75;
5232
+ optional InteractiveMessageAdditionalMetadata interactiveMessageAdditionalMetadata = 76;
5233
+ optional QuarantinedMessage quarantinedMessage = 77;
4533
5234
  enum BizPrivacyStatus {
4534
5235
  E2EE = 0;
4535
5236
  FB = 2;
@@ -4764,6 +5465,9 @@ message WebMessageInfo {
4764
5465
  CHANGE_LIMIT_SHARING = 216;
4765
5466
  GROUP_MEMBER_LINK_MODE = 217;
4766
5467
  BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE = 218;
5468
+ PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219;
5469
+ QUARANTINED_MESSAGE = 220;
5470
+ GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221;
4767
5471
  }
4768
5472
  }
4769
5473