@skycodee/baileys 8.0.4 → 8.0.6
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.
- package/LICENSE +1 -1
- package/WAProto/WAProto.proto +352 -520
- package/WAProto/index.js +558 -4154
- package/lib/Defaults/index.js +123 -0
- package/lib/Defaults/index.js.bak +123 -0
- package/lib/KeyDB/BinarySearch.js +20 -0
- package/lib/KeyDB/KeyedDB.js +167 -0
- package/lib/KeyDB/index.js +4 -0
- package/lib/Signal/Group/ciphertext-message.js +13 -0
- package/lib/Signal/Group/group-session-builder.js +32 -0
- package/lib/Signal/Group/group_cipher.js +84 -0
- package/lib/Signal/Group/index.js +13 -0
- package/lib/Signal/Group/keyhelper.js +20 -0
- package/lib/Signal/Group/sender-chain-key.js +28 -0
- package/lib/Signal/Group/sender-key-distribution-message.js +65 -0
- package/lib/Signal/Group/sender-key-message.js +68 -0
- package/lib/Signal/Group/sender-key-name.js +52 -0
- package/lib/Signal/Group/sender-key-record.js +43 -0
- package/lib/Signal/Group/sender-key-state.js +86 -0
- package/lib/Signal/Group/sender-message-key.js +28 -0
- package/lib/Signal/libsignal.js +324 -0
- package/lib/Signal/lid-mapping.js +155 -0
- package/lib/Socket/Client/index.js +4 -0
- package/lib/Socket/Client/types.js +13 -0
- package/lib/Socket/Client/websocket.js +52 -0
- package/lib/Socket/Client/websocket.js.bak +53 -0
- package/lib/Socket/business.js +377 -0
- package/lib/Socket/chats.js +885 -0
- package/lib/Socket/communities.js +413 -0
- package/lib/Socket/groups.js +312 -0
- package/lib/Socket/index.js +16 -0
- package/lib/Socket/messages-recv.js +1163 -0
- package/lib/Socket/messages-send.js +1100 -0
- package/lib/Socket/mex.js +45 -0
- package/lib/Socket/newsletter.js +247 -0
- package/lib/Socket/socket.js +820 -0
- package/lib/Store/index.js +6 -0
- package/lib/Store/make-cache-manager-store.js +75 -0
- package/lib/Store/make-in-memory-store.js +290 -0
- package/lib/Store/make-ordered-dictionary.js +79 -0
- package/lib/Store/object-repository.js +25 -0
- package/lib/Types/Auth.js +3 -0
- package/lib/Types/Bussines.js +3 -0
- package/lib/Types/Call.js +3 -0
- package/lib/Types/Chat.js +9 -0
- package/lib/Types/Contact.js +3 -0
- package/lib/Types/Events.js +3 -0
- package/lib/Types/GroupMetadata.js +3 -0
- package/lib/Types/Label.js +25 -0
- package/lib/Types/LabelAssociation.js +7 -0
- package/lib/Types/Message.js +12 -0
- package/lib/Types/Newsletter.js +33 -0
- package/lib/Types/Newsletter.js.bak +33 -0
- package/lib/Types/Product.js +3 -0
- package/lib/Types/Signal.js +3 -0
- package/lib/Types/Socket.js +4 -0
- package/lib/Types/State.js +11 -0
- package/lib/Types/USync.js +3 -0
- package/lib/Types/index.js +28 -0
- package/lib/Utils/auth-utils.js +219 -0
- package/lib/Utils/baileys-event-stream.js +44 -0
- package/lib/Utils/browser-utils.js +25 -0
- package/lib/Utils/business.js +233 -0
- package/lib/Utils/chat-utils.js +752 -0
- package/lib/Utils/crypto.js +130 -0
- package/lib/Utils/decode-wa-message.js +267 -0
- package/lib/Utils/event-buffer.js +528 -0
- package/lib/Utils/generics.js +355 -0
- package/lib/Utils/history.js +87 -0
- package/lib/Utils/index.js +21 -0
- package/lib/Utils/link-preview.js +81 -0
- package/lib/Utils/logger.js +5 -0
- package/lib/Utils/lt-hash.js +45 -0
- package/lib/Utils/make-mutex.js +36 -0
- package/lib/Utils/message-retry-manager.js +113 -0
- package/lib/Utils/messages-media.js +627 -0
- package/lib/Utils/messages.js +909 -0
- package/lib/Utils/noise-handler.js +144 -0
- package/lib/Utils/pre-key-manager.js +85 -0
- package/lib/Utils/process-message.js +341 -0
- package/lib/Utils/signal.js +161 -0
- package/lib/Utils/use-multi-file-auth-state.js +111 -0
- package/lib/Utils/validate-connection.js +200 -0
- package/lib/WABinary/constants.js +1303 -0
- package/lib/WABinary/decode.js +240 -0
- package/lib/WABinary/encode.js +218 -0
- package/lib/WABinary/generic-utils.js +189 -0
- package/lib/WABinary/index.js +7 -0
- package/lib/WABinary/jid-utils.js +93 -0
- package/lib/WABinary/types.js +3 -0
- package/lib/WAM/BinaryInfo.js +11 -0
- package/lib/WAM/constants.js +22853 -0
- package/lib/WAM/encode.js +154 -0
- package/lib/WAM/index.js +5 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +30 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +53 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +29 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +39 -0
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +53 -0
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.js +30 -0
- package/lib/WAUSync/Protocols/index.js +6 -0
- package/lib/WAUSync/USyncQuery.js +90 -0
- package/lib/WAUSync/USyncUser.js +24 -0
- package/lib/WAUSync/index.js +5 -0
- package/lib/index.js +21 -0
- package/package.json +84 -57
- package/README.md +0 -1312
- package/WAProto/GenerateStatics.sh +0 -3
- package/WAProto/fix-imports.js +0 -81
- package/WAProto/index.d.ts +0 -14017
- package/engine-requirements.js +0 -10
- package/src/Defaults/baileys-version.json +0 -1
- package/src/Defaults/index.ts +0 -149
- package/src/Signal/Group/ciphertext-message.ts +0 -9
- package/src/Signal/Group/group-session-builder.ts +0 -56
- package/src/Signal/Group/group_cipher.ts +0 -117
- package/src/Signal/Group/index.ts +0 -11
- package/src/Signal/Group/keyhelper.ts +0 -28
- package/src/Signal/Group/sender-chain-key.ts +0 -34
- package/src/Signal/Group/sender-key-distribution-message.ts +0 -95
- package/src/Signal/Group/sender-key-message.ts +0 -96
- package/src/Signal/Group/sender-key-name.ts +0 -66
- package/src/Signal/Group/sender-key-record.ts +0 -69
- package/src/Signal/Group/sender-key-state.ts +0 -134
- package/src/Signal/Group/sender-message-key.ts +0 -36
- package/src/Signal/libsignal.ts +0 -521
- package/src/Signal/lid-mapping.ts +0 -328
- package/src/Socket/Client/index.ts +0 -2
- package/src/Socket/Client/types.ts +0 -22
- package/src/Socket/Client/websocket.ts +0 -63
- package/src/Socket/business.ts +0 -424
- package/src/Socket/chats.ts +0 -1272
- package/src/Socket/communities.ts +0 -477
- package/src/Socket/groups.ts +0 -361
- package/src/Socket/index.ts +0 -15
- package/src/Socket/messages-recv.ts +0 -1668
- package/src/Socket/messages-send.ts +0 -1296
- package/src/Socket/mex.ts +0 -58
- package/src/Socket/newsletter.ts +0 -229
- package/src/Socket/socket.ts +0 -1184
- package/src/Types/Auth.ts +0 -116
- package/src/Types/Bussines.ts +0 -20
- package/src/Types/Call.ts +0 -15
- package/src/Types/Chat.ts +0 -138
- package/src/Types/Contact.ts +0 -24
- package/src/Types/Events.ts +0 -159
- package/src/Types/GroupMetadata.ts +0 -70
- package/src/Types/Label.ts +0 -48
- package/src/Types/LabelAssociation.ts +0 -35
- package/src/Types/Message.ts +0 -380
- package/src/Types/Newsletter.ts +0 -98
- package/src/Types/Product.ts +0 -85
- package/src/Types/Signal.ts +0 -76
- package/src/Types/Socket.ts +0 -150
- package/src/Types/State.ts +0 -43
- package/src/Types/USync.ts +0 -27
- package/src/Types/globals.d.ts +0 -8
- package/src/Types/index.ts +0 -67
- package/src/Utils/auth-utils.ts +0 -368
- package/src/Utils/browser-utils.ts +0 -31
- package/src/Utils/business.ts +0 -286
- package/src/Utils/chat-utils.ts +0 -974
- package/src/Utils/crypto.ts +0 -147
- package/src/Utils/decode-wa-message.ts +0 -355
- package/src/Utils/event-buffer.ts +0 -692
- package/src/Utils/generics.ts +0 -474
- package/src/Utils/history.ts +0 -161
- package/src/Utils/identity-change-handler.ts +0 -83
- package/src/Utils/index.ts +0 -19
- package/src/Utils/link-preview.ts +0 -111
- package/src/Utils/logger.ts +0 -13
- package/src/Utils/lt-hash.ts +0 -8
- package/src/Utils/make-mutex.ts +0 -42
- package/src/Utils/message-retry-manager.ts +0 -295
- package/src/Utils/messages-media.ts +0 -984
- package/src/Utils/messages.ts +0 -1097
- package/src/Utils/noise-handler.ts +0 -268
- package/src/Utils/pre-key-manager.ts +0 -126
- package/src/Utils/process-message.ts +0 -670
- package/src/Utils/reporting-utils.ts +0 -344
- package/src/Utils/signal.ts +0 -214
- package/src/Utils/sync-action-utils.ts +0 -74
- package/src/Utils/tc-token-utils.ts +0 -34
- package/src/Utils/use-multi-file-auth-state.ts +0 -136
- package/src/Utils/validate-connection.ts +0 -253
- package/src/WABinary/constants.ts +0 -1305
- package/src/WABinary/decode.ts +0 -308
- package/src/WABinary/encode.ts +0 -258
- package/src/WABinary/generic-utils.ts +0 -141
- package/src/WABinary/index.ts +0 -5
- package/src/WABinary/jid-utils.ts +0 -128
- package/src/WABinary/types.ts +0 -17
- package/src/WAM/BinaryInfo.ts +0 -12
- package/src/WAM/constants.ts +0 -22889
- package/src/WAM/encode.ts +0 -169
- package/src/WAM/index.ts +0 -3
- package/src/WAUSync/Protocols/USyncContactProtocol.ts +0 -32
- package/src/WAUSync/Protocols/USyncDeviceProtocol.ts +0 -78
- package/src/WAUSync/Protocols/USyncDisappearingModeProtocol.ts +0 -35
- package/src/WAUSync/Protocols/USyncStatusProtocol.ts +0 -44
- package/src/WAUSync/Protocols/UsyncBotProfileProtocol.ts +0 -76
- package/src/WAUSync/Protocols/UsyncLIDProtocol.ts +0 -33
- package/src/WAUSync/Protocols/index.ts +0 -4
- package/src/WAUSync/USyncQuery.ts +0 -133
- package/src/WAUSync/USyncUser.ts +0 -32
- package/src/WAUSync/index.ts +0 -3
- package/src/__tests__/Signal/Group/sender-key-state-regression.test.ts +0 -22
- package/src/__tests__/Signal/lid-mapping.test.ts +0 -47
- package/src/__tests__/Socket/identity-change-handling.test.ts +0 -207
- package/src/__tests__/TestUtils/session.ts +0 -47
- package/src/__tests__/Utils/generics.test.ts +0 -70
- package/src/__tests__/Utils/history.test.ts +0 -362
- package/src/__tests__/Utils/messages-media.test.ts +0 -405
- package/src/__tests__/Utils/noise-handler.test.ts +0 -339
- package/src/__tests__/Utils/process-message.test.ts +0 -138
- package/src/__tests__/Utils/process-sync-action.test.ts +0 -359
- package/src/__tests__/Utils/reporting-utils.test.ts +0 -160
- package/src/__tests__/Utils/signal.test.ts +0 -69
- package/src/__tests__/Utils/sync-action-utils.test.ts +0 -183
- package/src/__tests__/binary/connection-deadlock.test.ts +0 -54
- package/src/__tests__/e2e/fetch-wa-web-version.test-e2e.ts +0 -60
- package/src/__tests__/e2e/send-receive-message.test-e2e.ts +0 -644
- package/src/__tests__/proto-tojson-long.test.ts +0 -31
- package/src/index.ts +0 -13
package/WAProto/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package proto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1028742310
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -42,39 +42,12 @@ 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
|
-
|
|
67
45
|
message AIQueryFanout {
|
|
68
46
|
optional MessageKey messageKey = 1;
|
|
69
47
|
optional Message message = 2;
|
|
70
48
|
optional int64 timestamp = 3;
|
|
71
49
|
}
|
|
72
50
|
|
|
73
|
-
message AIRegenerateMetadata {
|
|
74
|
-
optional MessageKey messageKey = 1;
|
|
75
|
-
optional int64 responseTimestampMs = 2;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
51
|
message AIRichResponseCodeMetadata {
|
|
79
52
|
optional string codeLanguage = 1;
|
|
80
53
|
repeated AIRichResponseCodeBlock codeBlocks = 2;
|
|
@@ -82,7 +55,7 @@ message AIRichResponseCodeMetadata {
|
|
|
82
55
|
optional AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType highlightType = 1;
|
|
83
56
|
optional string codeContent = 2;
|
|
84
57
|
}
|
|
85
|
-
|
|
58
|
+
|
|
86
59
|
enum AIRichResponseCodeHighlightType {
|
|
87
60
|
AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
|
|
88
61
|
AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
|
|
@@ -101,14 +74,14 @@ message AIRichResponseContentItemsMetadata {
|
|
|
101
74
|
AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
|
|
102
75
|
}
|
|
103
76
|
}
|
|
104
|
-
|
|
77
|
+
|
|
105
78
|
message AIRichResponseReelItem {
|
|
106
79
|
optional string title = 1;
|
|
107
80
|
optional string profileIconUrl = 2;
|
|
108
81
|
optional string thumbnailUrl = 3;
|
|
109
82
|
optional string videoUrl = 4;
|
|
110
83
|
}
|
|
111
|
-
|
|
84
|
+
|
|
112
85
|
enum ContentType {
|
|
113
86
|
DEFAULT = 0;
|
|
114
87
|
CAROUSEL = 1;
|
|
@@ -164,7 +137,7 @@ message AIRichResponseLatexMetadata {
|
|
|
164
137
|
optional double imageBottomPadding = 8;
|
|
165
138
|
optional double imageTrailingPadding = 9;
|
|
166
139
|
}
|
|
167
|
-
|
|
140
|
+
|
|
168
141
|
}
|
|
169
142
|
|
|
170
143
|
message AIRichResponseMapMetadata {
|
|
@@ -181,7 +154,7 @@ message AIRichResponseMapMetadata {
|
|
|
181
154
|
optional string title = 4;
|
|
182
155
|
optional string body = 5;
|
|
183
156
|
}
|
|
184
|
-
|
|
157
|
+
|
|
185
158
|
}
|
|
186
159
|
|
|
187
160
|
message AIRichResponseMessage {
|
|
@@ -227,7 +200,7 @@ message AIRichResponseTableMetadata {
|
|
|
227
200
|
repeated string items = 1;
|
|
228
201
|
optional bool isHeading = 2;
|
|
229
202
|
}
|
|
230
|
-
|
|
203
|
+
|
|
231
204
|
}
|
|
232
205
|
|
|
233
206
|
message AIRichResponseUnifiedResponse {
|
|
@@ -245,11 +218,11 @@ message AIThreadInfo {
|
|
|
245
218
|
INCOGNITO = 2;
|
|
246
219
|
}
|
|
247
220
|
}
|
|
248
|
-
|
|
221
|
+
|
|
249
222
|
message AIThreadServerInfo {
|
|
250
223
|
optional string title = 1;
|
|
251
224
|
}
|
|
252
|
-
|
|
225
|
+
|
|
253
226
|
}
|
|
254
227
|
|
|
255
228
|
message Account {
|
|
@@ -389,8 +362,6 @@ message BotCapabilityMetadata {
|
|
|
389
362
|
RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45;
|
|
390
363
|
RICH_RESPONSE_IN_APP_SURVEY = 46;
|
|
391
364
|
AI_RESPONSE_MODEL_BRANDING = 47;
|
|
392
|
-
SESSION_TRANSPARENCY_SYSTEM_MESSAGE = 48;
|
|
393
|
-
RICH_RESPONSE_UR_REASONING = 49;
|
|
394
365
|
}
|
|
395
366
|
}
|
|
396
367
|
|
|
@@ -450,9 +421,8 @@ message BotFeedbackMessage {
|
|
|
450
421
|
message SideBySideSurveyAnalyticsData {
|
|
451
422
|
optional string tessaEvent = 1;
|
|
452
423
|
optional string tessaSessionFbid = 2;
|
|
453
|
-
optional string simonSessionFbid = 3;
|
|
454
424
|
}
|
|
455
|
-
|
|
425
|
+
|
|
456
426
|
message SidebySideSurveyMetaAiAnalyticsData {
|
|
457
427
|
optional uint32 surveyId = 1;
|
|
458
428
|
optional string primaryResponseId = 2;
|
|
@@ -466,28 +436,27 @@ message BotFeedbackMessage {
|
|
|
466
436
|
message SideBySideSurveyAbandonEventData {
|
|
467
437
|
optional string abandonDwellTimeMsString = 1;
|
|
468
438
|
}
|
|
469
|
-
|
|
439
|
+
|
|
470
440
|
message SideBySideSurveyCTAClickEventData {
|
|
471
441
|
optional bool isSurveyExpired = 1;
|
|
472
442
|
optional string clickDwellTimeMsString = 2;
|
|
473
443
|
}
|
|
474
|
-
|
|
444
|
+
|
|
475
445
|
message SideBySideSurveyCTAImpressionEventData {
|
|
476
446
|
optional bool isSurveyExpired = 1;
|
|
477
447
|
}
|
|
478
|
-
|
|
448
|
+
|
|
479
449
|
message SideBySideSurveyCardImpressionEventData {
|
|
480
450
|
}
|
|
481
|
-
|
|
451
|
+
|
|
482
452
|
message SideBySideSurveyResponseEventData {
|
|
483
453
|
optional string responseDwellTimeMsString = 1;
|
|
484
|
-
optional string selectedResponseId = 2;
|
|
485
454
|
}
|
|
486
|
-
|
|
455
|
+
|
|
487
456
|
}
|
|
488
|
-
|
|
457
|
+
|
|
489
458
|
}
|
|
490
|
-
|
|
459
|
+
|
|
491
460
|
}
|
|
492
461
|
|
|
493
462
|
message BotImagineMetadata {
|
|
@@ -592,8 +561,6 @@ message BotMetadata {
|
|
|
592
561
|
optional BotMessageOriginMetadata botMessageOriginMetadata = 29;
|
|
593
562
|
optional InThreadSurveyMetadata inThreadSurveyMetadata = 30;
|
|
594
563
|
optional AIThreadInfo botThreadInfo = 31;
|
|
595
|
-
optional AIRegenerateMetadata regenerateMetadata = 32;
|
|
596
|
-
optional SessionTransparencyMetadata sessionTransparencyMetadata = 33;
|
|
597
564
|
optional bytes internalMetadata = 999;
|
|
598
565
|
}
|
|
599
566
|
|
|
@@ -635,8 +602,6 @@ enum BotMetricsEntryPoint {
|
|
|
635
602
|
MESSAGE_QUICK_ACTION_GROUP_CHAT = 34;
|
|
636
603
|
ATTACHMENT_TRAY_1_ON_1_CHAT = 35;
|
|
637
604
|
ATTACHMENT_TRAY_GROUP_CHAT = 36;
|
|
638
|
-
ASK_META_AI_MEDIA_VIEWER_1ON1 = 37;
|
|
639
|
-
ASK_META_AI_MEDIA_VIEWER_GROUP = 38;
|
|
640
605
|
}
|
|
641
606
|
message BotMetricsMetadata {
|
|
642
607
|
optional string destinationId = 1;
|
|
@@ -718,7 +683,7 @@ message BotProgressIndicatorMetadata {
|
|
|
718
683
|
optional string sourceUrl = 3;
|
|
719
684
|
optional string favIconUrl = 4;
|
|
720
685
|
}
|
|
721
|
-
|
|
686
|
+
|
|
722
687
|
message BotPlanningSearchSourcesMetadata {
|
|
723
688
|
optional string sourceTitle = 1;
|
|
724
689
|
optional BotPlanningSearchSourceProvider provider = 2;
|
|
@@ -730,13 +695,13 @@ message BotProgressIndicatorMetadata {
|
|
|
730
695
|
BING = 3;
|
|
731
696
|
}
|
|
732
697
|
}
|
|
733
|
-
|
|
698
|
+
|
|
734
699
|
message BotPlanningStepSectionMetadata {
|
|
735
700
|
optional string sectionTitle = 1;
|
|
736
701
|
optional string sectionBody = 2;
|
|
737
702
|
repeated BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata sourcesMetadata = 3;
|
|
738
703
|
}
|
|
739
|
-
|
|
704
|
+
|
|
740
705
|
enum BotSearchSourceProvider {
|
|
741
706
|
UNKNOWN_PROVIDER = 0;
|
|
742
707
|
OTHER = 1;
|
|
@@ -750,7 +715,7 @@ message BotProgressIndicatorMetadata {
|
|
|
750
715
|
FINISHED = 3;
|
|
751
716
|
}
|
|
752
717
|
}
|
|
753
|
-
|
|
718
|
+
|
|
754
719
|
}
|
|
755
720
|
|
|
756
721
|
message BotPromotionMessageMetadata {
|
|
@@ -783,7 +748,7 @@ message BotQuotaMetadata {
|
|
|
783
748
|
REASONING_FEATURE = 1;
|
|
784
749
|
}
|
|
785
750
|
}
|
|
786
|
-
|
|
751
|
+
|
|
787
752
|
}
|
|
788
753
|
|
|
789
754
|
message BotReminderMetadata {
|
|
@@ -813,7 +778,7 @@ message BotRenderingMetadata {
|
|
|
813
778
|
optional string value = 1;
|
|
814
779
|
repeated string associatedPrompts = 2;
|
|
815
780
|
}
|
|
816
|
-
|
|
781
|
+
|
|
817
782
|
}
|
|
818
783
|
|
|
819
784
|
message BotSessionMetadata {
|
|
@@ -863,7 +828,7 @@ message BotSourcesMetadata {
|
|
|
863
828
|
OTHER = 4;
|
|
864
829
|
}
|
|
865
830
|
}
|
|
866
|
-
|
|
831
|
+
|
|
867
832
|
}
|
|
868
833
|
|
|
869
834
|
message BotSuggestedPromptMetadata {
|
|
@@ -881,12 +846,11 @@ message BotUnifiedResponseMutation {
|
|
|
881
846
|
optional BotMediaMetadata highResMedia = 2;
|
|
882
847
|
optional BotMediaMetadata previewMedia = 3;
|
|
883
848
|
}
|
|
884
|
-
|
|
849
|
+
|
|
885
850
|
message SideBySideMetadata {
|
|
886
851
|
optional string primaryResponseId = 1;
|
|
887
|
-
optional bool surveyCtaHasRendered = 2;
|
|
888
852
|
}
|
|
889
|
-
|
|
853
|
+
|
|
890
854
|
}
|
|
891
855
|
|
|
892
856
|
message CallLogRecord {
|
|
@@ -927,7 +891,7 @@ message CallLogRecord {
|
|
|
927
891
|
optional string userJid = 1;
|
|
928
892
|
optional CallLogRecord.CallResult callResult = 2;
|
|
929
893
|
}
|
|
930
|
-
|
|
894
|
+
|
|
931
895
|
enum SilenceReason {
|
|
932
896
|
NONE = 0;
|
|
933
897
|
SCHEDULED = 1;
|
|
@@ -949,9 +913,9 @@ message CertChain {
|
|
|
949
913
|
optional uint64 notBefore = 4;
|
|
950
914
|
optional uint64 notAfter = 5;
|
|
951
915
|
}
|
|
952
|
-
|
|
916
|
+
|
|
953
917
|
}
|
|
954
|
-
|
|
918
|
+
|
|
955
919
|
}
|
|
956
920
|
|
|
957
921
|
message ChatLockSettings {
|
|
@@ -986,23 +950,23 @@ message ChatRowOpaqueData {
|
|
|
986
950
|
VIDEO = 2;
|
|
987
951
|
}
|
|
988
952
|
}
|
|
989
|
-
|
|
953
|
+
|
|
990
954
|
message CtwaContextLinkData {
|
|
991
955
|
optional string context = 1;
|
|
992
956
|
optional string sourceUrl = 2;
|
|
993
957
|
optional string icebreaker = 3;
|
|
994
958
|
optional string phone = 4;
|
|
995
959
|
}
|
|
996
|
-
|
|
960
|
+
|
|
997
961
|
}
|
|
998
|
-
|
|
962
|
+
|
|
999
963
|
}
|
|
1000
964
|
|
|
1001
965
|
message Citation {
|
|
1002
|
-
string title = 1;
|
|
1003
|
-
string subtitle = 2;
|
|
1004
|
-
string cmsId = 3;
|
|
1005
|
-
string imageUrl = 4;
|
|
966
|
+
optional string title = 1;
|
|
967
|
+
optional string subtitle = 2;
|
|
968
|
+
optional string cmsId = 3;
|
|
969
|
+
optional string imageUrl = 4;
|
|
1006
970
|
}
|
|
1007
971
|
|
|
1008
972
|
message ClientPairingProps {
|
|
@@ -1088,7 +1052,7 @@ message ClientPayload {
|
|
|
1088
1052
|
MNS = 5;
|
|
1089
1053
|
}
|
|
1090
1054
|
}
|
|
1091
|
-
|
|
1055
|
+
|
|
1092
1056
|
message DevicePairingRegistrationData {
|
|
1093
1057
|
optional bytes eRegid = 1;
|
|
1094
1058
|
optional bytes eKeytype = 2;
|
|
@@ -1099,7 +1063,7 @@ message ClientPayload {
|
|
|
1099
1063
|
optional bytes buildHash = 7;
|
|
1100
1064
|
optional bytes deviceProps = 8;
|
|
1101
1065
|
}
|
|
1102
|
-
|
|
1066
|
+
|
|
1103
1067
|
enum IOSAppExtension {
|
|
1104
1068
|
SHARE_EXTENSION = 0;
|
|
1105
1069
|
SERVICE_EXTENSION = 1;
|
|
@@ -1110,7 +1074,7 @@ message ClientPayload {
|
|
|
1110
1074
|
optional bytes token = 2;
|
|
1111
1075
|
optional bool enableReadReceipts = 3;
|
|
1112
1076
|
}
|
|
1113
|
-
|
|
1077
|
+
|
|
1114
1078
|
enum Product {
|
|
1115
1079
|
WHATSAPP = 0;
|
|
1116
1080
|
MESSENGER = 1;
|
|
@@ -1146,7 +1110,7 @@ message ClientPayload {
|
|
|
1146
1110
|
optional uint32 quaternary = 4;
|
|
1147
1111
|
optional uint32 quinary = 5;
|
|
1148
1112
|
}
|
|
1149
|
-
|
|
1113
|
+
|
|
1150
1114
|
enum DeviceType {
|
|
1151
1115
|
PHONE = 0;
|
|
1152
1116
|
TABLET = 1;
|
|
@@ -1192,7 +1156,6 @@ message ClientPayload {
|
|
|
1192
1156
|
TEST = 34;
|
|
1193
1157
|
SMART_GLASSES = 35;
|
|
1194
1158
|
BLUE_VR = 36;
|
|
1195
|
-
AR_WRIST = 37;
|
|
1196
1159
|
}
|
|
1197
1160
|
enum ReleaseChannel {
|
|
1198
1161
|
RELEASE = 0;
|
|
@@ -1201,7 +1164,7 @@ message ClientPayload {
|
|
|
1201
1164
|
DEBUG = 3;
|
|
1202
1165
|
}
|
|
1203
1166
|
}
|
|
1204
|
-
|
|
1167
|
+
|
|
1205
1168
|
message WebInfo {
|
|
1206
1169
|
optional string refToken = 1;
|
|
1207
1170
|
optional string version = 2;
|
|
@@ -1228,19 +1191,11 @@ message ClientPayload {
|
|
|
1228
1191
|
optional string documentTypes = 10;
|
|
1229
1192
|
optional bytes features = 11;
|
|
1230
1193
|
}
|
|
1231
|
-
|
|
1194
|
+
|
|
1232
1195
|
}
|
|
1233
|
-
|
|
1196
|
+
|
|
1234
1197
|
}
|
|
1235
1198
|
|
|
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
|
-
}
|
|
1244
1199
|
message CommentMetadata {
|
|
1245
1200
|
optional MessageKey commentParentKey = 1;
|
|
1246
1201
|
optional uint32 replyCount = 2;
|
|
@@ -1328,11 +1283,11 @@ message ContextInfo {
|
|
|
1328
1283
|
VIDEO = 2;
|
|
1329
1284
|
}
|
|
1330
1285
|
}
|
|
1331
|
-
|
|
1286
|
+
|
|
1332
1287
|
message BusinessMessageForwardInfo {
|
|
1333
1288
|
optional string businessOwnerJid = 1;
|
|
1334
1289
|
}
|
|
1335
|
-
|
|
1290
|
+
|
|
1336
1291
|
message DataSharingContext {
|
|
1337
1292
|
optional bool showMmDisclosure = 1;
|
|
1338
1293
|
optional string encryptedSignalTokenConsented = 2;
|
|
@@ -1349,9 +1304,9 @@ message ContextInfo {
|
|
|
1349
1304
|
optional float floatData = 4;
|
|
1350
1305
|
optional ContextInfo.DataSharingContext.Parameters contents = 5;
|
|
1351
1306
|
}
|
|
1352
|
-
|
|
1307
|
+
|
|
1353
1308
|
}
|
|
1354
|
-
|
|
1309
|
+
|
|
1355
1310
|
message ExternalAdReplyInfo {
|
|
1356
1311
|
optional string title = 1;
|
|
1357
1312
|
optional string body = 2;
|
|
@@ -1390,7 +1345,7 @@ message ContextInfo {
|
|
|
1390
1345
|
VIDEO = 2;
|
|
1391
1346
|
}
|
|
1392
1347
|
}
|
|
1393
|
-
|
|
1348
|
+
|
|
1394
1349
|
message FeatureEligibilities {
|
|
1395
1350
|
optional bool cannotBeReactedTo = 1;
|
|
1396
1351
|
optional bool cannotBeRanked = 2;
|
|
@@ -1398,7 +1353,7 @@ message ContextInfo {
|
|
|
1398
1353
|
optional bool canBeReshared = 4;
|
|
1399
1354
|
optional bool canReceiveMultiReact = 5;
|
|
1400
1355
|
}
|
|
1401
|
-
|
|
1356
|
+
|
|
1402
1357
|
enum ForwardOrigin {
|
|
1403
1358
|
UNKNOWN = 0;
|
|
1404
1359
|
CHAT = 1;
|
|
@@ -1419,7 +1374,7 @@ message ContextInfo {
|
|
|
1419
1374
|
LINK_CARD = 3;
|
|
1420
1375
|
}
|
|
1421
1376
|
}
|
|
1422
|
-
|
|
1377
|
+
|
|
1423
1378
|
enum PairedMediaType {
|
|
1424
1379
|
NOT_PAIRED_MEDIA = 0;
|
|
1425
1380
|
SD_VIDEO_PARENT = 1;
|
|
@@ -1436,7 +1391,7 @@ message ContextInfo {
|
|
|
1436
1391
|
optional Message quotedQuestion = 2;
|
|
1437
1392
|
optional Message quotedResponse = 3;
|
|
1438
1393
|
}
|
|
1439
|
-
|
|
1394
|
+
|
|
1440
1395
|
enum QuotedType {
|
|
1441
1396
|
EXPLICIT = 0;
|
|
1442
1397
|
AUTO = 1;
|
|
@@ -1455,7 +1410,7 @@ message ContextInfo {
|
|
|
1455
1410
|
CLOSE_FRIENDS = 1;
|
|
1456
1411
|
}
|
|
1457
1412
|
}
|
|
1458
|
-
|
|
1413
|
+
|
|
1459
1414
|
enum StatusSourceType {
|
|
1460
1415
|
IMAGE = 0;
|
|
1461
1416
|
VIDEO = 1;
|
|
@@ -1468,11 +1423,11 @@ message ContextInfo {
|
|
|
1468
1423
|
optional string utmSource = 1;
|
|
1469
1424
|
optional string utmCampaign = 2;
|
|
1470
1425
|
}
|
|
1471
|
-
|
|
1426
|
+
|
|
1472
1427
|
}
|
|
1473
1428
|
|
|
1474
1429
|
message Conversation {
|
|
1475
|
-
string id = 1;
|
|
1430
|
+
optional string id = 1;
|
|
1476
1431
|
repeated HistorySyncMsg messages = 2;
|
|
1477
1432
|
optional string newJid = 3;
|
|
1478
1433
|
optional string oldJid = 4;
|
|
@@ -1538,11 +1493,10 @@ message DeviceCapabilities {
|
|
|
1538
1493
|
optional LIDMigration lidMigration = 2;
|
|
1539
1494
|
optional BusinessBroadcast businessBroadcast = 3;
|
|
1540
1495
|
optional UserHasAvatar userHasAvatar = 4;
|
|
1541
|
-
optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
|
|
1542
1496
|
message BusinessBroadcast {
|
|
1543
1497
|
optional bool importListEnabled = 1;
|
|
1544
1498
|
}
|
|
1545
|
-
|
|
1499
|
+
|
|
1546
1500
|
enum ChatLockSupportLevel {
|
|
1547
1501
|
NONE = 0;
|
|
1548
1502
|
MINIMAL = 1;
|
|
@@ -1551,16 +1505,11 @@ message DeviceCapabilities {
|
|
|
1551
1505
|
message LIDMigration {
|
|
1552
1506
|
optional uint64 chatDbMigrationTimestamp = 1;
|
|
1553
1507
|
}
|
|
1554
|
-
|
|
1555
|
-
enum MemberNameTagPrimarySupport {
|
|
1556
|
-
DISABLED = 0;
|
|
1557
|
-
RECEIVER_ENABLED = 1;
|
|
1558
|
-
SENDER_ENABLED = 2;
|
|
1559
|
-
}
|
|
1508
|
+
|
|
1560
1509
|
message UserHasAvatar {
|
|
1561
1510
|
optional bool userHasAvatar = 1;
|
|
1562
1511
|
}
|
|
1563
|
-
|
|
1512
|
+
|
|
1564
1513
|
}
|
|
1565
1514
|
|
|
1566
1515
|
message DeviceConsistencyCodeMessage {
|
|
@@ -1592,7 +1541,7 @@ message DeviceProps {
|
|
|
1592
1541
|
optional uint32 quaternary = 4;
|
|
1593
1542
|
optional uint32 quinary = 5;
|
|
1594
1543
|
}
|
|
1595
|
-
|
|
1544
|
+
|
|
1596
1545
|
message HistorySyncConfig {
|
|
1597
1546
|
optional uint32 fullSyncDaysLimit = 1;
|
|
1598
1547
|
optional uint32 fullSyncSizeMbLimit = 2;
|
|
@@ -1611,10 +1560,8 @@ message DeviceProps {
|
|
|
1611
1560
|
optional bool supportGroupHistory = 15;
|
|
1612
1561
|
optional bool onDemandReady = 16;
|
|
1613
1562
|
optional bool supportGuestChat = 17;
|
|
1614
|
-
optional bool completeOnDemandReady = 18;
|
|
1615
|
-
optional uint32 thumbnailSyncDaysLimit = 19;
|
|
1616
1563
|
}
|
|
1617
|
-
|
|
1564
|
+
|
|
1618
1565
|
enum PlatformType {
|
|
1619
1566
|
UNKNOWN = 0;
|
|
1620
1567
|
CHROME = 1;
|
|
@@ -1774,7 +1721,6 @@ message GroupHistoryBundleInfo {
|
|
|
1774
1721
|
INJECTED = 1;
|
|
1775
1722
|
INJECTED_PARTIAL = 2;
|
|
1776
1723
|
INJECTION_FAILED = 3;
|
|
1777
|
-
INJECTION_FAILED_NO_RETRY = 4;
|
|
1778
1724
|
}
|
|
1779
1725
|
}
|
|
1780
1726
|
|
|
@@ -1789,7 +1735,7 @@ message GroupMention {
|
|
|
1789
1735
|
}
|
|
1790
1736
|
|
|
1791
1737
|
message GroupParticipant {
|
|
1792
|
-
string userJid = 1;
|
|
1738
|
+
optional string userJid = 1;
|
|
1793
1739
|
optional Rank rank = 2;
|
|
1794
1740
|
optional MemberLabel memberLabel = 3;
|
|
1795
1741
|
enum Rank {
|
|
@@ -1808,7 +1754,7 @@ message HandshakeMessage {
|
|
|
1808
1754
|
optional bytes payload = 2;
|
|
1809
1755
|
optional bytes extendedCiphertext = 3;
|
|
1810
1756
|
}
|
|
1811
|
-
|
|
1757
|
+
|
|
1812
1758
|
message ClientHello {
|
|
1813
1759
|
optional bytes ephemeral = 1;
|
|
1814
1760
|
optional bytes static = 2;
|
|
@@ -1816,18 +1762,18 @@ message HandshakeMessage {
|
|
|
1816
1762
|
optional bool useExtended = 4;
|
|
1817
1763
|
optional bytes extendedCiphertext = 5;
|
|
1818
1764
|
}
|
|
1819
|
-
|
|
1765
|
+
|
|
1820
1766
|
message ServerHello {
|
|
1821
1767
|
optional bytes ephemeral = 1;
|
|
1822
1768
|
optional bytes static = 2;
|
|
1823
1769
|
optional bytes payload = 3;
|
|
1824
1770
|
optional bytes extendedStatic = 4;
|
|
1825
1771
|
}
|
|
1826
|
-
|
|
1772
|
+
|
|
1827
1773
|
}
|
|
1828
1774
|
|
|
1829
1775
|
message HistorySync {
|
|
1830
|
-
HistorySyncType syncType = 1;
|
|
1776
|
+
optional HistorySyncType syncType = 1;
|
|
1831
1777
|
repeated Conversation conversations = 2;
|
|
1832
1778
|
repeated WebMessageInfo statusV3Messages = 3;
|
|
1833
1779
|
optional uint32 chunkOrder = 5;
|
|
@@ -1875,12 +1821,12 @@ message HydratedTemplateButton {
|
|
|
1875
1821
|
optional string displayText = 1;
|
|
1876
1822
|
optional string phoneNumber = 2;
|
|
1877
1823
|
}
|
|
1878
|
-
|
|
1824
|
+
|
|
1879
1825
|
message HydratedQuickReplyButton {
|
|
1880
1826
|
optional string displayText = 1;
|
|
1881
1827
|
optional string id = 2;
|
|
1882
1828
|
}
|
|
1883
|
-
|
|
1829
|
+
|
|
1884
1830
|
message HydratedURLButton {
|
|
1885
1831
|
optional string displayText = 1;
|
|
1886
1832
|
optional string url = 2;
|
|
@@ -1892,7 +1838,7 @@ message HydratedTemplateButton {
|
|
|
1892
1838
|
COMPACT = 3;
|
|
1893
1839
|
}
|
|
1894
1840
|
}
|
|
1895
|
-
|
|
1841
|
+
|
|
1896
1842
|
}
|
|
1897
1843
|
|
|
1898
1844
|
message IdentityKeyPairStructure {
|
|
@@ -1923,18 +1869,18 @@ message InThreadSurveyMetadata {
|
|
|
1923
1869
|
optional uint32 numericValue = 2;
|
|
1924
1870
|
optional string textTranslated = 3;
|
|
1925
1871
|
}
|
|
1926
|
-
|
|
1872
|
+
|
|
1927
1873
|
message InThreadSurveyPrivacyStatementPart {
|
|
1928
1874
|
optional string text = 1;
|
|
1929
1875
|
optional string url = 2;
|
|
1930
1876
|
}
|
|
1931
|
-
|
|
1877
|
+
|
|
1932
1878
|
message InThreadSurveyQuestion {
|
|
1933
1879
|
optional string questionText = 1;
|
|
1934
1880
|
optional string questionId = 2;
|
|
1935
1881
|
repeated InThreadSurveyMetadata.InThreadSurveyOption questionOptions = 3;
|
|
1936
1882
|
}
|
|
1937
|
-
|
|
1883
|
+
|
|
1938
1884
|
}
|
|
1939
1885
|
|
|
1940
1886
|
message InteractiveAnnotation {
|
|
@@ -1986,8 +1932,8 @@ message KeyId {
|
|
|
1986
1932
|
}
|
|
1987
1933
|
|
|
1988
1934
|
message LIDMigrationMapping {
|
|
1989
|
-
uint64 pn = 1;
|
|
1990
|
-
uint64 assignedLid = 2;
|
|
1935
|
+
optional uint64 pn = 1;
|
|
1936
|
+
optional uint64 assignedLid = 2;
|
|
1991
1937
|
optional uint64 latestLid = 3;
|
|
1992
1938
|
}
|
|
1993
1939
|
|
|
@@ -2157,48 +2103,49 @@ message Message {
|
|
|
2157
2103
|
optional StatusQuotedMessage statusQuotedMessage = 109;
|
|
2158
2104
|
optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
|
|
2159
2105
|
optional PollCreationMessage pollCreationMessageV5 = 111;
|
|
2106
|
+
optional PollResultSnapshotMessage pollResultSnapshotMessageV2 = 112;
|
|
2160
2107
|
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
|
|
2161
|
-
optional
|
|
2108
|
+
optional RequestContactInfoMessage requestContactInfoMessage = 114;
|
|
2162
2109
|
message AlbumMessage {
|
|
2163
2110
|
optional uint32 expectedImageCount = 2;
|
|
2164
2111
|
optional uint32 expectedVideoCount = 3;
|
|
2165
2112
|
optional ContextInfo contextInfo = 17;
|
|
2166
2113
|
}
|
|
2167
|
-
|
|
2114
|
+
|
|
2168
2115
|
message AppStateFatalExceptionNotification {
|
|
2169
2116
|
repeated string collectionNames = 1;
|
|
2170
2117
|
optional int64 timestamp = 2;
|
|
2171
2118
|
}
|
|
2172
|
-
|
|
2119
|
+
|
|
2173
2120
|
message AppStateSyncKey {
|
|
2174
2121
|
optional Message.AppStateSyncKeyId keyId = 1;
|
|
2175
2122
|
optional Message.AppStateSyncKeyData keyData = 2;
|
|
2176
2123
|
}
|
|
2177
|
-
|
|
2124
|
+
|
|
2178
2125
|
message AppStateSyncKeyData {
|
|
2179
2126
|
optional bytes keyData = 1;
|
|
2180
2127
|
optional Message.AppStateSyncKeyFingerprint fingerprint = 2;
|
|
2181
2128
|
optional int64 timestamp = 3;
|
|
2182
2129
|
}
|
|
2183
|
-
|
|
2130
|
+
|
|
2184
2131
|
message AppStateSyncKeyFingerprint {
|
|
2185
2132
|
optional uint32 rawId = 1;
|
|
2186
2133
|
optional uint32 currentIndex = 2;
|
|
2187
2134
|
repeated uint32 deviceIndexes = 3 [packed=true];
|
|
2188
2135
|
}
|
|
2189
|
-
|
|
2136
|
+
|
|
2190
2137
|
message AppStateSyncKeyId {
|
|
2191
2138
|
optional bytes keyId = 1;
|
|
2192
2139
|
}
|
|
2193
|
-
|
|
2140
|
+
|
|
2194
2141
|
message AppStateSyncKeyRequest {
|
|
2195
2142
|
repeated Message.AppStateSyncKeyId keyIds = 1;
|
|
2196
2143
|
}
|
|
2197
|
-
|
|
2144
|
+
|
|
2198
2145
|
message AppStateSyncKeyShare {
|
|
2199
2146
|
repeated Message.AppStateSyncKey keys = 1;
|
|
2200
2147
|
}
|
|
2201
|
-
|
|
2148
|
+
|
|
2202
2149
|
message AudioMessage {
|
|
2203
2150
|
optional string url = 1;
|
|
2204
2151
|
optional string mimetype = 2;
|
|
@@ -2218,7 +2165,7 @@ message Message {
|
|
|
2218
2165
|
optional string accessibilityLabel = 22;
|
|
2219
2166
|
optional Message.MediaKeyDomain mediaKeyDomain = 23;
|
|
2220
2167
|
}
|
|
2221
|
-
|
|
2168
|
+
|
|
2222
2169
|
message BCallMessage {
|
|
2223
2170
|
optional string sessionId = 1;
|
|
2224
2171
|
optional MediaType mediaType = 2;
|
|
@@ -2230,7 +2177,7 @@ message Message {
|
|
|
2230
2177
|
VIDEO = 2;
|
|
2231
2178
|
}
|
|
2232
2179
|
}
|
|
2233
|
-
|
|
2180
|
+
|
|
2234
2181
|
message ButtonsMessage {
|
|
2235
2182
|
optional string contentText = 6;
|
|
2236
2183
|
optional string footerText = 7;
|
|
@@ -2252,19 +2199,19 @@ message Message {
|
|
|
2252
2199
|
message ButtonText {
|
|
2253
2200
|
optional string displayText = 1;
|
|
2254
2201
|
}
|
|
2255
|
-
|
|
2202
|
+
|
|
2256
2203
|
message NativeFlowInfo {
|
|
2257
2204
|
optional string name = 1;
|
|
2258
2205
|
optional string paramsJson = 2;
|
|
2259
2206
|
}
|
|
2260
|
-
|
|
2207
|
+
|
|
2261
2208
|
enum Type {
|
|
2262
2209
|
UNKNOWN = 0;
|
|
2263
2210
|
RESPONSE = 1;
|
|
2264
2211
|
NATIVE_FLOW = 2;
|
|
2265
2212
|
}
|
|
2266
2213
|
}
|
|
2267
|
-
|
|
2214
|
+
|
|
2268
2215
|
enum HeaderType {
|
|
2269
2216
|
UNKNOWN = 0;
|
|
2270
2217
|
EMPTY = 1;
|
|
@@ -2275,7 +2222,7 @@ message Message {
|
|
|
2275
2222
|
LOCATION = 6;
|
|
2276
2223
|
}
|
|
2277
2224
|
}
|
|
2278
|
-
|
|
2225
|
+
|
|
2279
2226
|
message ButtonsResponseMessage {
|
|
2280
2227
|
optional string selectedButtonId = 1;
|
|
2281
2228
|
optional ContextInfo contextInfo = 3;
|
|
@@ -2288,7 +2235,7 @@ message Message {
|
|
|
2288
2235
|
DISPLAY_TEXT = 1;
|
|
2289
2236
|
}
|
|
2290
2237
|
}
|
|
2291
|
-
|
|
2238
|
+
|
|
2292
2239
|
message Call {
|
|
2293
2240
|
optional bytes callKey = 1;
|
|
2294
2241
|
optional string conversionSource = 2;
|
|
@@ -2300,7 +2247,7 @@ message Message {
|
|
|
2300
2247
|
optional string nativeFlowCallButtonPayload = 8;
|
|
2301
2248
|
optional string deeplinkPayload = 9;
|
|
2302
2249
|
}
|
|
2303
|
-
|
|
2250
|
+
|
|
2304
2251
|
message CallLogMessage {
|
|
2305
2252
|
optional bool isVideo = 1;
|
|
2306
2253
|
optional CallOutcome callOutcome = 2;
|
|
@@ -2321,23 +2268,23 @@ message Message {
|
|
|
2321
2268
|
optional string jid = 1;
|
|
2322
2269
|
optional Message.CallLogMessage.CallOutcome callOutcome = 2;
|
|
2323
2270
|
}
|
|
2324
|
-
|
|
2271
|
+
|
|
2325
2272
|
enum CallType {
|
|
2326
2273
|
REGULAR = 0;
|
|
2327
2274
|
SCHEDULED_CALL = 1;
|
|
2328
2275
|
VOICE_CHAT = 2;
|
|
2329
2276
|
}
|
|
2330
2277
|
}
|
|
2331
|
-
|
|
2278
|
+
|
|
2332
2279
|
message CancelPaymentRequestMessage {
|
|
2333
2280
|
optional MessageKey key = 1;
|
|
2334
2281
|
}
|
|
2335
|
-
|
|
2282
|
+
|
|
2336
2283
|
message Chat {
|
|
2337
2284
|
optional string displayName = 1;
|
|
2338
2285
|
optional string id = 2;
|
|
2339
2286
|
}
|
|
2340
|
-
|
|
2287
|
+
|
|
2341
2288
|
message CloudAPIThreadControlNotification {
|
|
2342
2289
|
optional CloudAPIThreadControl status = 1;
|
|
2343
2290
|
optional int64 senderNotificationTimestampMs = 2;
|
|
@@ -2354,36 +2301,36 @@ message Message {
|
|
|
2354
2301
|
optional string handoffNotificationText = 1;
|
|
2355
2302
|
optional string extraJson = 2;
|
|
2356
2303
|
}
|
|
2357
|
-
|
|
2304
|
+
|
|
2358
2305
|
}
|
|
2359
|
-
|
|
2306
|
+
|
|
2360
2307
|
message CommentMessage {
|
|
2361
2308
|
optional Message message = 1;
|
|
2362
2309
|
optional MessageKey targetMessageKey = 2;
|
|
2363
2310
|
}
|
|
2364
|
-
|
|
2311
|
+
|
|
2365
2312
|
message ContactMessage {
|
|
2366
2313
|
optional string displayName = 1;
|
|
2367
2314
|
optional string vcard = 16;
|
|
2368
2315
|
optional ContextInfo contextInfo = 17;
|
|
2369
2316
|
}
|
|
2370
|
-
|
|
2317
|
+
|
|
2371
2318
|
message ContactsArrayMessage {
|
|
2372
2319
|
optional string displayName = 1;
|
|
2373
2320
|
repeated Message.ContactMessage contacts = 2;
|
|
2374
2321
|
optional ContextInfo contextInfo = 17;
|
|
2375
2322
|
}
|
|
2376
|
-
|
|
2323
|
+
|
|
2377
2324
|
message DeclinePaymentRequestMessage {
|
|
2378
2325
|
optional MessageKey key = 1;
|
|
2379
2326
|
}
|
|
2380
|
-
|
|
2327
|
+
|
|
2381
2328
|
message DeviceSentMessage {
|
|
2382
2329
|
optional string destinationJid = 1;
|
|
2383
2330
|
optional Message message = 2;
|
|
2384
2331
|
optional string phash = 3;
|
|
2385
2332
|
}
|
|
2386
|
-
|
|
2333
|
+
|
|
2387
2334
|
message DocumentMessage {
|
|
2388
2335
|
optional string url = 1;
|
|
2389
2336
|
optional string mimetype = 2;
|
|
@@ -2408,25 +2355,25 @@ message Message {
|
|
|
2408
2355
|
optional string accessibilityLabel = 21;
|
|
2409
2356
|
optional Message.MediaKeyDomain mediaKeyDomain = 22;
|
|
2410
2357
|
}
|
|
2411
|
-
|
|
2358
|
+
|
|
2412
2359
|
message EncCommentMessage {
|
|
2413
2360
|
optional MessageKey targetMessageKey = 1;
|
|
2414
2361
|
optional bytes encPayload = 2;
|
|
2415
2362
|
optional bytes encIv = 3;
|
|
2416
2363
|
}
|
|
2417
|
-
|
|
2364
|
+
|
|
2418
2365
|
message EncEventResponseMessage {
|
|
2419
2366
|
optional MessageKey eventCreationMessageKey = 1;
|
|
2420
2367
|
optional bytes encPayload = 2;
|
|
2421
2368
|
optional bytes encIv = 3;
|
|
2422
2369
|
}
|
|
2423
|
-
|
|
2370
|
+
|
|
2424
2371
|
message EncReactionMessage {
|
|
2425
2372
|
optional MessageKey targetMessageKey = 1;
|
|
2426
2373
|
optional bytes encPayload = 2;
|
|
2427
2374
|
optional bytes encIv = 3;
|
|
2428
2375
|
}
|
|
2429
|
-
|
|
2376
|
+
|
|
2430
2377
|
message EventMessage {
|
|
2431
2378
|
optional ContextInfo contextInfo = 1;
|
|
2432
2379
|
optional bool isCanceled = 2;
|
|
@@ -2438,10 +2385,8 @@ message Message {
|
|
|
2438
2385
|
optional int64 endTime = 8;
|
|
2439
2386
|
optional bool extraGuestsAllowed = 9;
|
|
2440
2387
|
optional bool isScheduleCall = 10;
|
|
2441
|
-
optional bool hasReminder = 11;
|
|
2442
|
-
optional int64 reminderOffsetSec = 12;
|
|
2443
2388
|
}
|
|
2444
|
-
|
|
2389
|
+
|
|
2445
2390
|
message EventResponseMessage {
|
|
2446
2391
|
optional EventResponseType response = 1;
|
|
2447
2392
|
optional int64 timestampMs = 2;
|
|
@@ -2453,7 +2398,7 @@ message Message {
|
|
|
2453
2398
|
MAYBE = 3;
|
|
2454
2399
|
}
|
|
2455
2400
|
}
|
|
2456
|
-
|
|
2401
|
+
|
|
2457
2402
|
message ExtendedTextMessage {
|
|
2458
2403
|
optional string text = 1;
|
|
2459
2404
|
optional string matchedText = 2;
|
|
@@ -2512,15 +2457,15 @@ message Message {
|
|
|
2512
2457
|
PROFILE = 7;
|
|
2513
2458
|
}
|
|
2514
2459
|
}
|
|
2515
|
-
|
|
2460
|
+
|
|
2516
2461
|
message FullHistorySyncOnDemandRequestMetadata {
|
|
2517
2462
|
optional string requestId = 1;
|
|
2518
2463
|
}
|
|
2519
|
-
|
|
2464
|
+
|
|
2520
2465
|
message FutureProofMessage {
|
|
2521
2466
|
optional Message message = 1;
|
|
2522
2467
|
}
|
|
2523
|
-
|
|
2468
|
+
|
|
2524
2469
|
message GroupInviteMessage {
|
|
2525
2470
|
optional string groupJid = 1;
|
|
2526
2471
|
optional string inviteCode = 2;
|
|
@@ -2535,7 +2480,7 @@ message Message {
|
|
|
2535
2480
|
PARENT = 1;
|
|
2536
2481
|
}
|
|
2537
2482
|
}
|
|
2538
|
-
|
|
2483
|
+
|
|
2539
2484
|
message HighlyStructuredMessage {
|
|
2540
2485
|
optional string namespace = 1;
|
|
2541
2486
|
optional string elementName = 2;
|
|
@@ -2556,7 +2501,7 @@ message Message {
|
|
|
2556
2501
|
optional string currencyCode = 1;
|
|
2557
2502
|
optional int64 amount1000 = 2;
|
|
2558
2503
|
}
|
|
2559
|
-
|
|
2504
|
+
|
|
2560
2505
|
message HSMDateTime {
|
|
2561
2506
|
oneof datetimeOneof {
|
|
2562
2507
|
Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent component = 1;
|
|
@@ -2584,21 +2529,17 @@ message Message {
|
|
|
2584
2529
|
SUNDAY = 7;
|
|
2585
2530
|
}
|
|
2586
2531
|
}
|
|
2587
|
-
|
|
2532
|
+
|
|
2588
2533
|
message HSMDateTimeUnixEpoch {
|
|
2589
2534
|
optional int64 timestamp = 1;
|
|
2590
2535
|
}
|
|
2591
|
-
|
|
2536
|
+
|
|
2592
2537
|
}
|
|
2593
|
-
|
|
2538
|
+
|
|
2594
2539
|
}
|
|
2595
|
-
|
|
2540
|
+
|
|
2596
2541
|
}
|
|
2597
|
-
|
|
2598
|
-
message HistorySyncMessageAccessStatus {
|
|
2599
|
-
optional bool completeAccessGranted = 1;
|
|
2600
|
-
}
|
|
2601
|
-
|
|
2542
|
+
|
|
2602
2543
|
message HistorySyncNotification {
|
|
2603
2544
|
optional bytes fileSha256 = 1;
|
|
2604
2545
|
optional uint64 fileLength = 2;
|
|
@@ -2614,20 +2555,18 @@ message Message {
|
|
|
2614
2555
|
optional string peerDataRequestSessionId = 12;
|
|
2615
2556
|
optional Message.FullHistorySyncOnDemandRequestMetadata fullHistorySyncOnDemandRequestMetadata = 13;
|
|
2616
2557
|
optional string encHandle = 14;
|
|
2617
|
-
|
|
2558
|
+
enum HistorySyncType {
|
|
2559
|
+
INITIAL_BOOTSTRAP = 0;
|
|
2560
|
+
INITIAL_STATUS_V3 = 1;
|
|
2561
|
+
FULL = 2;
|
|
2562
|
+
RECENT = 3;
|
|
2563
|
+
PUSH_NAME = 4;
|
|
2564
|
+
NON_BLOCKING_DATA = 5;
|
|
2565
|
+
ON_DEMAND = 6;
|
|
2566
|
+
NO_HISTORY = 7;
|
|
2567
|
+
}
|
|
2618
2568
|
}
|
|
2619
2569
|
|
|
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
|
-
}
|
|
2631
2570
|
message ImageMessage {
|
|
2632
2571
|
optional string url = 1;
|
|
2633
2572
|
optional string mimetype = 2;
|
|
@@ -2667,11 +2606,11 @@ message Message {
|
|
|
2667
2606
|
RASTERIZED_TEXT_STATUS = 3;
|
|
2668
2607
|
}
|
|
2669
2608
|
}
|
|
2670
|
-
|
|
2609
|
+
|
|
2671
2610
|
message InitialSecurityNotificationSettingSync {
|
|
2672
2611
|
optional bool securityNotificationEnabled = 1;
|
|
2673
2612
|
}
|
|
2674
|
-
|
|
2613
|
+
|
|
2675
2614
|
message InteractiveMessage {
|
|
2676
2615
|
optional Header header = 1;
|
|
2677
2616
|
optional Body body = 2;
|
|
@@ -2687,7 +2626,7 @@ message Message {
|
|
|
2687
2626
|
message Body {
|
|
2688
2627
|
optional string text = 1;
|
|
2689
2628
|
}
|
|
2690
|
-
|
|
2629
|
+
|
|
2691
2630
|
message CarouselMessage {
|
|
2692
2631
|
repeated Message.InteractiveMessage cards = 1;
|
|
2693
2632
|
optional int32 messageVersion = 2;
|
|
@@ -2698,13 +2637,13 @@ message Message {
|
|
|
2698
2637
|
ALBUM_IMAGE = 2;
|
|
2699
2638
|
}
|
|
2700
2639
|
}
|
|
2701
|
-
|
|
2640
|
+
|
|
2702
2641
|
message CollectionMessage {
|
|
2703
2642
|
optional string bizJid = 1;
|
|
2704
2643
|
optional string id = 2;
|
|
2705
2644
|
optional int32 messageVersion = 3;
|
|
2706
2645
|
}
|
|
2707
|
-
|
|
2646
|
+
|
|
2708
2647
|
message Footer {
|
|
2709
2648
|
optional string text = 1;
|
|
2710
2649
|
optional bool hasMediaAttachment = 3;
|
|
@@ -2712,7 +2651,7 @@ message Message {
|
|
|
2712
2651
|
Message.AudioMessage audioMessage = 2;
|
|
2713
2652
|
}
|
|
2714
2653
|
}
|
|
2715
|
-
|
|
2654
|
+
|
|
2716
2655
|
message Header {
|
|
2717
2656
|
optional string title = 1;
|
|
2718
2657
|
optional string subtitle = 2;
|
|
@@ -2726,7 +2665,7 @@ message Message {
|
|
|
2726
2665
|
Message.ProductMessage productMessage = 9;
|
|
2727
2666
|
}
|
|
2728
2667
|
}
|
|
2729
|
-
|
|
2668
|
+
|
|
2730
2669
|
message NativeFlowMessage {
|
|
2731
2670
|
repeated NativeFlowButton buttons = 1;
|
|
2732
2671
|
optional string messageParamsJson = 2;
|
|
@@ -2735,9 +2674,9 @@ message Message {
|
|
|
2735
2674
|
optional string name = 1;
|
|
2736
2675
|
optional string buttonParamsJson = 2;
|
|
2737
2676
|
}
|
|
2738
|
-
|
|
2677
|
+
|
|
2739
2678
|
}
|
|
2740
|
-
|
|
2679
|
+
|
|
2741
2680
|
message ShopMessage {
|
|
2742
2681
|
optional string id = 1;
|
|
2743
2682
|
optional Surface surface = 2;
|
|
@@ -2749,9 +2688,9 @@ message Message {
|
|
|
2749
2688
|
WA = 3;
|
|
2750
2689
|
}
|
|
2751
2690
|
}
|
|
2752
|
-
|
|
2691
|
+
|
|
2753
2692
|
}
|
|
2754
|
-
|
|
2693
|
+
|
|
2755
2694
|
message InteractiveResponseMessage {
|
|
2756
2695
|
optional Body body = 1;
|
|
2757
2696
|
optional ContextInfo contextInfo = 15;
|
|
@@ -2766,15 +2705,15 @@ message Message {
|
|
|
2766
2705
|
EXTENSIONS_1 = 1;
|
|
2767
2706
|
}
|
|
2768
2707
|
}
|
|
2769
|
-
|
|
2708
|
+
|
|
2770
2709
|
message NativeFlowResponseMessage {
|
|
2771
2710
|
optional string name = 1;
|
|
2772
2711
|
optional string paramsJson = 2;
|
|
2773
2712
|
optional int32 version = 3;
|
|
2774
2713
|
}
|
|
2775
|
-
|
|
2714
|
+
|
|
2776
2715
|
}
|
|
2777
|
-
|
|
2716
|
+
|
|
2778
2717
|
message InvoiceMessage {
|
|
2779
2718
|
optional string note = 1;
|
|
2780
2719
|
optional string token = 2;
|
|
@@ -2791,13 +2730,13 @@ message Message {
|
|
|
2791
2730
|
PDF = 1;
|
|
2792
2731
|
}
|
|
2793
2732
|
}
|
|
2794
|
-
|
|
2733
|
+
|
|
2795
2734
|
message KeepInChatMessage {
|
|
2796
2735
|
optional MessageKey key = 1;
|
|
2797
2736
|
optional KeepType keepType = 2;
|
|
2798
2737
|
optional int64 timestampMs = 3;
|
|
2799
2738
|
}
|
|
2800
|
-
|
|
2739
|
+
|
|
2801
2740
|
message LinkPreviewMetadata {
|
|
2802
2741
|
optional Message.PaymentLinkMetadata paymentLinkMetadata = 1;
|
|
2803
2742
|
optional Message.URLMetadata urlMetadata = 2;
|
|
@@ -2817,7 +2756,7 @@ message Message {
|
|
|
2817
2756
|
CAROUSEL = 5;
|
|
2818
2757
|
}
|
|
2819
2758
|
}
|
|
2820
|
-
|
|
2759
|
+
|
|
2821
2760
|
message ListMessage {
|
|
2822
2761
|
optional string title = 1;
|
|
2823
2762
|
optional string description = 2;
|
|
@@ -2835,36 +2774,36 @@ message Message {
|
|
|
2835
2774
|
message Product {
|
|
2836
2775
|
optional string productId = 1;
|
|
2837
2776
|
}
|
|
2838
|
-
|
|
2777
|
+
|
|
2839
2778
|
message ProductListHeaderImage {
|
|
2840
2779
|
optional string productId = 1;
|
|
2841
2780
|
optional bytes jpegThumbnail = 2;
|
|
2842
2781
|
}
|
|
2843
|
-
|
|
2782
|
+
|
|
2844
2783
|
message ProductListInfo {
|
|
2845
2784
|
repeated Message.ListMessage.ProductSection productSections = 1;
|
|
2846
2785
|
optional Message.ListMessage.ProductListHeaderImage headerImage = 2;
|
|
2847
2786
|
optional string businessOwnerJid = 3;
|
|
2848
2787
|
}
|
|
2849
|
-
|
|
2788
|
+
|
|
2850
2789
|
message ProductSection {
|
|
2851
2790
|
optional string title = 1;
|
|
2852
2791
|
repeated Message.ListMessage.Product products = 2;
|
|
2853
2792
|
}
|
|
2854
|
-
|
|
2793
|
+
|
|
2855
2794
|
message Row {
|
|
2856
2795
|
optional string title = 1;
|
|
2857
2796
|
optional string description = 2;
|
|
2858
2797
|
optional string rowId = 3;
|
|
2859
2798
|
}
|
|
2860
|
-
|
|
2799
|
+
|
|
2861
2800
|
message Section {
|
|
2862
2801
|
optional string title = 1;
|
|
2863
2802
|
repeated Message.ListMessage.Row rows = 2;
|
|
2864
2803
|
}
|
|
2865
|
-
|
|
2804
|
+
|
|
2866
2805
|
}
|
|
2867
|
-
|
|
2806
|
+
|
|
2868
2807
|
message ListResponseMessage {
|
|
2869
2808
|
optional string title = 1;
|
|
2870
2809
|
optional ListType listType = 2;
|
|
@@ -2878,9 +2817,9 @@ message Message {
|
|
|
2878
2817
|
message SingleSelectReply {
|
|
2879
2818
|
optional string selectedRowId = 1;
|
|
2880
2819
|
}
|
|
2881
|
-
|
|
2820
|
+
|
|
2882
2821
|
}
|
|
2883
|
-
|
|
2822
|
+
|
|
2884
2823
|
message LiveLocationMessage {
|
|
2885
2824
|
optional double degreesLatitude = 1;
|
|
2886
2825
|
optional double degreesLongitude = 2;
|
|
@@ -2893,7 +2832,7 @@ message Message {
|
|
|
2893
2832
|
optional bytes jpegThumbnail = 16;
|
|
2894
2833
|
optional ContextInfo contextInfo = 17;
|
|
2895
2834
|
}
|
|
2896
|
-
|
|
2835
|
+
|
|
2897
2836
|
message LocationMessage {
|
|
2898
2837
|
optional double degreesLatitude = 1;
|
|
2899
2838
|
optional double degreesLongitude = 2;
|
|
@@ -2908,7 +2847,7 @@ message Message {
|
|
|
2908
2847
|
optional bytes jpegThumbnail = 16;
|
|
2909
2848
|
optional ContextInfo contextInfo = 17;
|
|
2910
2849
|
}
|
|
2911
|
-
|
|
2850
|
+
|
|
2912
2851
|
message MMSThumbnailMetadata {
|
|
2913
2852
|
optional string thumbnailDirectPath = 1;
|
|
2914
2853
|
optional bytes thumbnailSha256 = 2;
|
|
@@ -2919,7 +2858,7 @@ message Message {
|
|
|
2919
2858
|
optional uint32 thumbnailWidth = 7;
|
|
2920
2859
|
optional Message.MediaKeyDomain mediaKeyDomain = 8;
|
|
2921
2860
|
}
|
|
2922
|
-
|
|
2861
|
+
|
|
2923
2862
|
enum MediaKeyDomain {
|
|
2924
2863
|
UNSET = 0;
|
|
2925
2864
|
E2EE_CHAT = 1;
|
|
@@ -2937,18 +2876,18 @@ message Message {
|
|
|
2937
2876
|
optional ContextInfo contextInfo = 7;
|
|
2938
2877
|
optional Message.MessageHistoryMetadata messageHistoryMetadata = 8;
|
|
2939
2878
|
}
|
|
2940
|
-
|
|
2879
|
+
|
|
2941
2880
|
message MessageHistoryMetadata {
|
|
2942
2881
|
repeated string historyReceivers = 1;
|
|
2943
2882
|
optional int64 oldestMessageTimestamp = 2;
|
|
2944
2883
|
optional int64 messageCount = 3;
|
|
2945
2884
|
}
|
|
2946
|
-
|
|
2885
|
+
|
|
2947
2886
|
message MessageHistoryNotice {
|
|
2948
2887
|
optional ContextInfo contextInfo = 1;
|
|
2949
2888
|
optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
|
|
2950
2889
|
}
|
|
2951
|
-
|
|
2890
|
+
|
|
2952
2891
|
message NewsletterAdminInviteMessage {
|
|
2953
2892
|
optional string newsletterJid = 1;
|
|
2954
2893
|
optional string newsletterName = 2;
|
|
@@ -2957,7 +2896,7 @@ message Message {
|
|
|
2957
2896
|
optional int64 inviteExpiration = 5;
|
|
2958
2897
|
optional ContextInfo contextInfo = 6;
|
|
2959
2898
|
}
|
|
2960
|
-
|
|
2899
|
+
|
|
2961
2900
|
message NewsletterFollowerInviteMessage {
|
|
2962
2901
|
optional string newsletterJid = 1;
|
|
2963
2902
|
optional string newsletterName = 2;
|
|
@@ -2965,7 +2904,7 @@ message Message {
|
|
|
2965
2904
|
optional string caption = 4;
|
|
2966
2905
|
optional ContextInfo contextInfo = 5;
|
|
2967
2906
|
}
|
|
2968
|
-
|
|
2907
|
+
|
|
2969
2908
|
message OrderMessage {
|
|
2970
2909
|
optional string orderId = 1;
|
|
2971
2910
|
optional bytes thumbnail = 2;
|
|
@@ -2991,13 +2930,13 @@ message Message {
|
|
|
2991
2930
|
CATALOG = 1;
|
|
2992
2931
|
}
|
|
2993
2932
|
}
|
|
2994
|
-
|
|
2933
|
+
|
|
2995
2934
|
message PaymentExtendedMetadata {
|
|
2996
2935
|
optional uint32 type = 1;
|
|
2997
2936
|
optional string platform = 2;
|
|
2998
2937
|
optional string messageParamsJson = 3;
|
|
2999
2938
|
}
|
|
3000
|
-
|
|
2939
|
+
|
|
3001
2940
|
message PaymentInviteMessage {
|
|
3002
2941
|
optional ServiceType serviceType = 1;
|
|
3003
2942
|
optional int64 expiryTimestamp = 2;
|
|
@@ -3008,7 +2947,7 @@ message Message {
|
|
|
3008
2947
|
UPI = 3;
|
|
3009
2948
|
}
|
|
3010
2949
|
}
|
|
3011
|
-
|
|
2950
|
+
|
|
3012
2951
|
message PaymentLinkMetadata {
|
|
3013
2952
|
optional PaymentLinkButton button = 1;
|
|
3014
2953
|
optional PaymentLinkHeader header = 2;
|
|
@@ -3016,7 +2955,7 @@ message Message {
|
|
|
3016
2955
|
message PaymentLinkButton {
|
|
3017
2956
|
optional string displayText = 1;
|
|
3018
2957
|
}
|
|
3019
|
-
|
|
2958
|
+
|
|
3020
2959
|
message PaymentLinkHeader {
|
|
3021
2960
|
optional PaymentLinkHeaderType headerType = 1;
|
|
3022
2961
|
enum PaymentLinkHeaderType {
|
|
@@ -3024,13 +2963,13 @@ message Message {
|
|
|
3024
2963
|
ORDER = 1;
|
|
3025
2964
|
}
|
|
3026
2965
|
}
|
|
3027
|
-
|
|
2966
|
+
|
|
3028
2967
|
message PaymentLinkProvider {
|
|
3029
2968
|
optional string paramsJson = 1;
|
|
3030
2969
|
}
|
|
3031
|
-
|
|
2970
|
+
|
|
3032
2971
|
}
|
|
3033
|
-
|
|
2972
|
+
|
|
3034
2973
|
message PeerDataOperationRequestMessage {
|
|
3035
2974
|
optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
|
3036
2975
|
repeated RequestStickerReupload requestStickerReupload = 2;
|
|
@@ -3045,7 +2984,7 @@ message Message {
|
|
|
3045
2984
|
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
|
3046
2985
|
optional DeviceProps.HistorySyncConfig historySyncConfig = 2;
|
|
3047
2986
|
}
|
|
3048
|
-
|
|
2987
|
+
|
|
3049
2988
|
message GalaxyFlowAction {
|
|
3050
2989
|
optional GalaxyFlowActionType type = 1;
|
|
3051
2990
|
optional string flowId = 2;
|
|
@@ -3054,14 +2993,14 @@ message Message {
|
|
|
3054
2993
|
NOTIFY_LAUNCH = 1;
|
|
3055
2994
|
}
|
|
3056
2995
|
}
|
|
3057
|
-
|
|
2996
|
+
|
|
3058
2997
|
message HistorySyncChunkRetryRequest {
|
|
3059
2998
|
optional Message.HistorySyncType syncType = 1;
|
|
3060
2999
|
optional uint32 chunkOrder = 2;
|
|
3061
3000
|
optional string chunkNotificationId = 3;
|
|
3062
3001
|
optional bool regenerateChunk = 4;
|
|
3063
3002
|
}
|
|
3064
|
-
|
|
3003
|
+
|
|
3065
3004
|
message HistorySyncOnDemandRequest {
|
|
3066
3005
|
optional string chatJid = 1;
|
|
3067
3006
|
optional string oldestMsgId = 2;
|
|
@@ -3070,27 +3009,27 @@ message Message {
|
|
|
3070
3009
|
optional int64 oldestMsgTimestampMs = 5;
|
|
3071
3010
|
optional string accountLid = 6;
|
|
3072
3011
|
}
|
|
3073
|
-
|
|
3012
|
+
|
|
3074
3013
|
message PlaceholderMessageResendRequest {
|
|
3075
3014
|
optional MessageKey messageKey = 1;
|
|
3076
3015
|
}
|
|
3077
|
-
|
|
3016
|
+
|
|
3078
3017
|
message RequestStickerReupload {
|
|
3079
3018
|
optional string fileSha256 = 1;
|
|
3080
3019
|
}
|
|
3081
|
-
|
|
3020
|
+
|
|
3082
3021
|
message RequestUrlPreview {
|
|
3083
3022
|
optional string url = 1;
|
|
3084
3023
|
optional bool includeHqThumbnail = 2;
|
|
3085
3024
|
}
|
|
3086
|
-
|
|
3025
|
+
|
|
3087
3026
|
message SyncDCollectionFatalRecoveryRequest {
|
|
3088
3027
|
optional string collectionName = 1;
|
|
3089
3028
|
optional int64 timestamp = 2;
|
|
3090
3029
|
}
|
|
3091
|
-
|
|
3030
|
+
|
|
3092
3031
|
}
|
|
3093
|
-
|
|
3032
|
+
|
|
3094
3033
|
message PeerDataOperationRequestResponseMessage {
|
|
3095
3034
|
optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
|
3096
3035
|
optional string stanzaId = 2;
|
|
@@ -3111,16 +3050,16 @@ message Message {
|
|
|
3111
3050
|
optional string waFbid = 2;
|
|
3112
3051
|
optional bool forceRefresh = 3;
|
|
3113
3052
|
}
|
|
3114
|
-
|
|
3053
|
+
|
|
3115
3054
|
message CompanionMetaNonceFetchResponse {
|
|
3116
3055
|
optional string nonce = 1;
|
|
3117
3056
|
}
|
|
3118
|
-
|
|
3057
|
+
|
|
3119
3058
|
message FullHistorySyncOnDemandRequestResponse {
|
|
3120
3059
|
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
|
3121
3060
|
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandResponseCode responseCode = 2;
|
|
3122
3061
|
}
|
|
3123
|
-
|
|
3062
|
+
|
|
3124
3063
|
enum FullHistorySyncOnDemandResponseCode {
|
|
3125
3064
|
REQUEST_SUCCESS = 0;
|
|
3126
3065
|
REQUEST_TIME_EXPIRED = 1;
|
|
@@ -3137,7 +3076,7 @@ message Message {
|
|
|
3137
3076
|
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponseCode responseCode = 4;
|
|
3138
3077
|
optional bool canRecover = 5;
|
|
3139
3078
|
}
|
|
3140
|
-
|
|
3079
|
+
|
|
3141
3080
|
enum HistorySyncChunkRetryResponseCode {
|
|
3142
3081
|
GENERATION_ERROR = 1;
|
|
3143
3082
|
CHUNK_CONSUMED = 2;
|
|
@@ -3164,32 +3103,32 @@ message Message {
|
|
|
3164
3103
|
optional int32 thumbWidth = 6;
|
|
3165
3104
|
optional int32 thumbHeight = 7;
|
|
3166
3105
|
}
|
|
3167
|
-
|
|
3106
|
+
|
|
3168
3107
|
message PaymentLinkPreviewMetadata {
|
|
3169
3108
|
optional bool isBusinessVerified = 1;
|
|
3170
3109
|
optional string providerName = 2;
|
|
3171
3110
|
}
|
|
3172
|
-
|
|
3111
|
+
|
|
3173
3112
|
}
|
|
3174
|
-
|
|
3113
|
+
|
|
3175
3114
|
message PlaceholderMessageResendResponse {
|
|
3176
3115
|
optional bytes webMessageInfoBytes = 1;
|
|
3177
3116
|
}
|
|
3178
|
-
|
|
3117
|
+
|
|
3179
3118
|
message SyncDSnapshotFatalRecoveryResponse {
|
|
3180
3119
|
optional bytes collectionSnapshot = 1;
|
|
3181
3120
|
optional bool isCompressed = 2;
|
|
3182
3121
|
}
|
|
3183
|
-
|
|
3122
|
+
|
|
3184
3123
|
message WaffleNonceFetchResponse {
|
|
3185
3124
|
optional string nonce = 1;
|
|
3186
3125
|
optional string waEntFbid = 2;
|
|
3187
3126
|
}
|
|
3188
|
-
|
|
3127
|
+
|
|
3189
3128
|
}
|
|
3190
|
-
|
|
3129
|
+
|
|
3191
3130
|
}
|
|
3192
|
-
|
|
3131
|
+
|
|
3193
3132
|
enum PeerDataOperationRequestType {
|
|
3194
3133
|
UPLOAD_STICKER = 0;
|
|
3195
3134
|
SEND_RECENT_STICKER_BOOTSTRAP = 1;
|
|
@@ -3214,14 +3153,14 @@ message Message {
|
|
|
3214
3153
|
UNPIN_FOR_ALL = 2;
|
|
3215
3154
|
}
|
|
3216
3155
|
}
|
|
3217
|
-
|
|
3156
|
+
|
|
3218
3157
|
message PlaceholderMessage {
|
|
3219
3158
|
optional PlaceholderType type = 1;
|
|
3220
3159
|
enum PlaceholderType {
|
|
3221
3160
|
MASK_LINKED_DEVICES = 0;
|
|
3222
3161
|
}
|
|
3223
3162
|
}
|
|
3224
|
-
|
|
3163
|
+
|
|
3225
3164
|
enum PollContentType {
|
|
3226
3165
|
UNKNOWN = 0;
|
|
3227
3166
|
TEXT = 1;
|
|
@@ -3240,14 +3179,14 @@ message Message {
|
|
|
3240
3179
|
optional string optionName = 1;
|
|
3241
3180
|
optional string optionHash = 2;
|
|
3242
3181
|
}
|
|
3243
|
-
|
|
3182
|
+
|
|
3244
3183
|
}
|
|
3245
|
-
|
|
3184
|
+
|
|
3246
3185
|
message PollEncValue {
|
|
3247
3186
|
optional bytes encPayload = 1;
|
|
3248
3187
|
optional bytes encIv = 2;
|
|
3249
3188
|
}
|
|
3250
|
-
|
|
3189
|
+
|
|
3251
3190
|
message PollResultSnapshotMessage {
|
|
3252
3191
|
optional string name = 1;
|
|
3253
3192
|
repeated PollVote pollVotes = 2;
|
|
@@ -3257,9 +3196,9 @@ message Message {
|
|
|
3257
3196
|
optional string optionName = 1;
|
|
3258
3197
|
optional int64 optionVoteCount = 2;
|
|
3259
3198
|
}
|
|
3260
|
-
|
|
3199
|
+
|
|
3261
3200
|
}
|
|
3262
|
-
|
|
3201
|
+
|
|
3263
3202
|
enum PollType {
|
|
3264
3203
|
POLL = 0;
|
|
3265
3204
|
QUIZ = 1;
|
|
@@ -3270,14 +3209,14 @@ message Message {
|
|
|
3270
3209
|
optional Message.PollUpdateMessageMetadata metadata = 3;
|
|
3271
3210
|
optional int64 senderTimestampMs = 4;
|
|
3272
3211
|
}
|
|
3273
|
-
|
|
3212
|
+
|
|
3274
3213
|
message PollUpdateMessageMetadata {
|
|
3275
3214
|
}
|
|
3276
|
-
|
|
3215
|
+
|
|
3277
3216
|
message PollVoteMessage {
|
|
3278
3217
|
repeated bytes selectedOptions = 1;
|
|
3279
3218
|
}
|
|
3280
|
-
|
|
3219
|
+
|
|
3281
3220
|
message ProductMessage {
|
|
3282
3221
|
optional ProductSnapshot product = 1;
|
|
3283
3222
|
optional string businessOwnerJid = 2;
|
|
@@ -3290,7 +3229,7 @@ message Message {
|
|
|
3290
3229
|
optional string title = 2;
|
|
3291
3230
|
optional string description = 3;
|
|
3292
3231
|
}
|
|
3293
|
-
|
|
3232
|
+
|
|
3294
3233
|
message ProductSnapshot {
|
|
3295
3234
|
optional Message.ImageMessage productImage = 1;
|
|
3296
3235
|
optional string productId = 2;
|
|
@@ -3305,9 +3244,9 @@ message Message {
|
|
|
3305
3244
|
optional int64 salePriceAmount1000 = 12;
|
|
3306
3245
|
optional string signedUrl = 13;
|
|
3307
3246
|
}
|
|
3308
|
-
|
|
3247
|
+
|
|
3309
3248
|
}
|
|
3310
|
-
|
|
3249
|
+
|
|
3311
3250
|
message ProtocolMessage {
|
|
3312
3251
|
optional MessageKey key = 1;
|
|
3313
3252
|
optional Type type = 2;
|
|
@@ -3362,19 +3301,25 @@ message Message {
|
|
|
3362
3301
|
GROUP_MEMBER_LABEL_CHANGE = 30;
|
|
3363
3302
|
}
|
|
3364
3303
|
}
|
|
3365
|
-
|
|
3304
|
+
|
|
3366
3305
|
message QuestionResponseMessage {
|
|
3367
3306
|
optional MessageKey key = 1;
|
|
3368
3307
|
optional string text = 2;
|
|
3369
3308
|
}
|
|
3370
|
-
|
|
3309
|
+
|
|
3371
3310
|
message ReactionMessage {
|
|
3372
3311
|
optional MessageKey key = 1;
|
|
3373
3312
|
optional string text = 2;
|
|
3374
3313
|
optional string groupingKey = 3;
|
|
3375
3314
|
optional int64 senderTimestampMs = 4;
|
|
3376
3315
|
}
|
|
3377
|
-
|
|
3316
|
+
|
|
3317
|
+
message RequestContactInfoMessage {
|
|
3318
|
+
optional string text = 1;
|
|
3319
|
+
optional string ctaButtonText = 2;
|
|
3320
|
+
optional ContextInfo contextInfo = 3;
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3378
3323
|
message RequestPaymentMessage {
|
|
3379
3324
|
optional Message noteMessage = 4;
|
|
3380
3325
|
optional string currencyCodeIso4217 = 1;
|
|
@@ -3384,11 +3329,11 @@ message Message {
|
|
|
3384
3329
|
optional Money amount = 6;
|
|
3385
3330
|
optional PaymentBackground background = 7;
|
|
3386
3331
|
}
|
|
3387
|
-
|
|
3332
|
+
|
|
3388
3333
|
message RequestPhoneNumberMessage {
|
|
3389
3334
|
optional ContextInfo contextInfo = 1;
|
|
3390
3335
|
}
|
|
3391
|
-
|
|
3336
|
+
|
|
3392
3337
|
message RequestWelcomeMessageMetadata {
|
|
3393
3338
|
optional LocalChatState localChatState = 1;
|
|
3394
3339
|
enum LocalChatState {
|
|
@@ -3396,7 +3341,7 @@ message Message {
|
|
|
3396
3341
|
NON_EMPTY = 1;
|
|
3397
3342
|
}
|
|
3398
3343
|
}
|
|
3399
|
-
|
|
3344
|
+
|
|
3400
3345
|
message ScheduledCallCreationMessage {
|
|
3401
3346
|
optional int64 scheduledTimestampMs = 1;
|
|
3402
3347
|
optional CallType callType = 2;
|
|
@@ -3407,7 +3352,7 @@ message Message {
|
|
|
3407
3352
|
VIDEO = 2;
|
|
3408
3353
|
}
|
|
3409
3354
|
}
|
|
3410
|
-
|
|
3355
|
+
|
|
3411
3356
|
message ScheduledCallEditMessage {
|
|
3412
3357
|
optional MessageKey key = 1;
|
|
3413
3358
|
optional EditType editType = 2;
|
|
@@ -3416,7 +3361,7 @@ message Message {
|
|
|
3416
3361
|
CANCEL = 1;
|
|
3417
3362
|
}
|
|
3418
3363
|
}
|
|
3419
|
-
|
|
3364
|
+
|
|
3420
3365
|
message SecretEncryptedMessage {
|
|
3421
3366
|
optional MessageKey targetMessageKey = 1;
|
|
3422
3367
|
optional bytes encPayload = 2;
|
|
@@ -3428,19 +3373,19 @@ message Message {
|
|
|
3428
3373
|
MESSAGE_EDIT = 2;
|
|
3429
3374
|
}
|
|
3430
3375
|
}
|
|
3431
|
-
|
|
3376
|
+
|
|
3432
3377
|
message SendPaymentMessage {
|
|
3433
3378
|
optional Message noteMessage = 2;
|
|
3434
3379
|
optional MessageKey requestMessageKey = 3;
|
|
3435
3380
|
optional PaymentBackground background = 4;
|
|
3436
3381
|
optional string transactionData = 5;
|
|
3437
3382
|
}
|
|
3438
|
-
|
|
3383
|
+
|
|
3439
3384
|
message SenderKeyDistributionMessage {
|
|
3440
3385
|
optional string groupId = 1;
|
|
3441
3386
|
optional bytes axolotlSenderKeyDistributionMessage = 2;
|
|
3442
3387
|
}
|
|
3443
|
-
|
|
3388
|
+
|
|
3444
3389
|
message StatusNotificationMessage {
|
|
3445
3390
|
optional MessageKey responseMessageKey = 1;
|
|
3446
3391
|
optional MessageKey originalMessageKey = 2;
|
|
@@ -3452,12 +3397,12 @@ message Message {
|
|
|
3452
3397
|
STATUS_QUESTION_ANSWER_RESHARE = 3;
|
|
3453
3398
|
}
|
|
3454
3399
|
}
|
|
3455
|
-
|
|
3400
|
+
|
|
3456
3401
|
message StatusQuestionAnswerMessage {
|
|
3457
3402
|
optional MessageKey key = 1;
|
|
3458
3403
|
optional string text = 2;
|
|
3459
3404
|
}
|
|
3460
|
-
|
|
3405
|
+
|
|
3461
3406
|
message StatusQuotedMessage {
|
|
3462
3407
|
optional StatusQuotedMessageType type = 1;
|
|
3463
3408
|
optional string text = 2;
|
|
@@ -3467,7 +3412,7 @@ message Message {
|
|
|
3467
3412
|
QUESTION_ANSWER = 1;
|
|
3468
3413
|
}
|
|
3469
3414
|
}
|
|
3470
|
-
|
|
3415
|
+
|
|
3471
3416
|
message StatusStickerInteractionMessage {
|
|
3472
3417
|
optional MessageKey key = 1;
|
|
3473
3418
|
optional string stickerKey = 2;
|
|
@@ -3477,7 +3422,7 @@ message Message {
|
|
|
3477
3422
|
REACTION = 1;
|
|
3478
3423
|
}
|
|
3479
3424
|
}
|
|
3480
|
-
|
|
3425
|
+
|
|
3481
3426
|
message StickerMessage {
|
|
3482
3427
|
optional string url = 1;
|
|
3483
3428
|
optional bytes fileSha256 = 2;
|
|
@@ -3501,7 +3446,7 @@ message Message {
|
|
|
3501
3446
|
optional string accessibilityLabel = 22;
|
|
3502
3447
|
optional Message.MediaKeyDomain mediaKeyDomain = 23;
|
|
3503
3448
|
}
|
|
3504
|
-
|
|
3449
|
+
|
|
3505
3450
|
message StickerPackMessage {
|
|
3506
3451
|
optional string stickerPackId = 1;
|
|
3507
3452
|
optional string name = 2;
|
|
@@ -3533,20 +3478,20 @@ message Message {
|
|
|
3533
3478
|
optional bool isLottie = 5;
|
|
3534
3479
|
optional string mimetype = 6;
|
|
3535
3480
|
}
|
|
3536
|
-
|
|
3481
|
+
|
|
3537
3482
|
enum StickerPackOrigin {
|
|
3538
3483
|
FIRST_PARTY = 0;
|
|
3539
3484
|
THIRD_PARTY = 1;
|
|
3540
3485
|
USER_CREATED = 2;
|
|
3541
3486
|
}
|
|
3542
3487
|
}
|
|
3543
|
-
|
|
3488
|
+
|
|
3544
3489
|
message StickerSyncRMRMessage {
|
|
3545
3490
|
repeated string filehash = 1;
|
|
3546
3491
|
optional string rmrSource = 2;
|
|
3547
3492
|
optional int64 requestTimestamp = 3;
|
|
3548
3493
|
}
|
|
3549
|
-
|
|
3494
|
+
|
|
3550
3495
|
message TemplateButtonReplyMessage {
|
|
3551
3496
|
optional string selectedId = 1;
|
|
3552
3497
|
optional string selectedDisplayText = 2;
|
|
@@ -3554,7 +3499,7 @@ message Message {
|
|
|
3554
3499
|
optional uint32 selectedIndex = 4;
|
|
3555
3500
|
optional uint32 selectedCarouselCardIndex = 5;
|
|
3556
3501
|
}
|
|
3557
|
-
|
|
3502
|
+
|
|
3558
3503
|
message TemplateMessage {
|
|
3559
3504
|
optional ContextInfo contextInfo = 3;
|
|
3560
3505
|
optional HydratedFourRowTemplate hydratedTemplate = 4;
|
|
@@ -3576,7 +3521,7 @@ message Message {
|
|
|
3576
3521
|
Message.LocationMessage locationMessage = 5;
|
|
3577
3522
|
}
|
|
3578
3523
|
}
|
|
3579
|
-
|
|
3524
|
+
|
|
3580
3525
|
message HydratedFourRowTemplate {
|
|
3581
3526
|
optional string hydratedContentText = 6;
|
|
3582
3527
|
optional string hydratedFooterText = 7;
|
|
@@ -3591,20 +3536,20 @@ message Message {
|
|
|
3591
3536
|
Message.LocationMessage locationMessage = 5;
|
|
3592
3537
|
}
|
|
3593
3538
|
}
|
|
3594
|
-
|
|
3539
|
+
|
|
3595
3540
|
}
|
|
3596
|
-
|
|
3541
|
+
|
|
3597
3542
|
message URLMetadata {
|
|
3598
3543
|
optional uint32 fbExperimentId = 1;
|
|
3599
3544
|
}
|
|
3600
|
-
|
|
3545
|
+
|
|
3601
3546
|
message VideoEndCard {
|
|
3602
|
-
string username = 1;
|
|
3603
|
-
string caption = 2;
|
|
3604
|
-
string thumbnailImageUrl = 3;
|
|
3605
|
-
string profilePictureUrl = 4;
|
|
3547
|
+
optional string username = 1;
|
|
3548
|
+
optional string caption = 2;
|
|
3549
|
+
optional string thumbnailImageUrl = 3;
|
|
3550
|
+
optional string profilePictureUrl = 4;
|
|
3606
3551
|
}
|
|
3607
|
-
|
|
3552
|
+
|
|
3608
3553
|
message VideoMessage {
|
|
3609
3554
|
optional string url = 1;
|
|
3610
3555
|
optional string mimetype = 2;
|
|
@@ -3648,7 +3593,7 @@ message Message {
|
|
|
3648
3593
|
AI_GENERATED = 1;
|
|
3649
3594
|
}
|
|
3650
3595
|
}
|
|
3651
|
-
|
|
3596
|
+
|
|
3652
3597
|
}
|
|
3653
3598
|
|
|
3654
3599
|
message MessageAddOn {
|
|
@@ -3718,7 +3663,6 @@ message MessageContextInfo {
|
|
|
3718
3663
|
optional LimitSharing limitSharing = 13;
|
|
3719
3664
|
optional LimitSharing limitSharingV2 = 14;
|
|
3720
3665
|
repeated ThreadID threadId = 15;
|
|
3721
|
-
optional WebLinkRenderConfig weblinkRenderConfig = 16;
|
|
3722
3666
|
enum MessageAddonExpiryType {
|
|
3723
3667
|
STATIC = 1;
|
|
3724
3668
|
DEPENDENT_ON_PARENT = 2;
|
|
@@ -3796,7 +3740,7 @@ message MsgOpaqueData {
|
|
|
3796
3740
|
optional string url = 5;
|
|
3797
3741
|
optional bytes jpegThumbnail = 6;
|
|
3798
3742
|
}
|
|
3799
|
-
|
|
3743
|
+
|
|
3800
3744
|
enum PollContentType {
|
|
3801
3745
|
UNKNOWN = 0;
|
|
3802
3746
|
TEXT = 1;
|
|
@@ -3806,7 +3750,7 @@ message MsgOpaqueData {
|
|
|
3806
3750
|
optional string name = 1;
|
|
3807
3751
|
optional string hash = 2;
|
|
3808
3752
|
}
|
|
3809
|
-
|
|
3753
|
+
|
|
3810
3754
|
enum PollType {
|
|
3811
3755
|
POLL = 0;
|
|
3812
3756
|
QUIZ = 1;
|
|
@@ -3815,11 +3759,11 @@ message MsgOpaqueData {
|
|
|
3815
3759
|
optional MsgOpaqueData.PollOption option = 1;
|
|
3816
3760
|
optional int32 optionVoteCount = 2;
|
|
3817
3761
|
}
|
|
3818
|
-
|
|
3762
|
+
|
|
3819
3763
|
message PollVotesSnapshot {
|
|
3820
3764
|
repeated MsgOpaqueData.PollVoteSnapshot pollVotes = 1;
|
|
3821
3765
|
}
|
|
3822
|
-
|
|
3766
|
+
|
|
3823
3767
|
}
|
|
3824
3768
|
|
|
3825
3769
|
message MsgRowOpaqueData {
|
|
@@ -3827,81 +3771,6 @@ message MsgRowOpaqueData {
|
|
|
3827
3771
|
optional MsgOpaqueData quotedMsg = 2;
|
|
3828
3772
|
}
|
|
3829
3773
|
|
|
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
|
-
}
|
|
3905
3774
|
message NoiseCertificate {
|
|
3906
3775
|
optional bytes details = 1;
|
|
3907
3776
|
optional bytes signature = 2;
|
|
@@ -3912,7 +3781,7 @@ message NoiseCertificate {
|
|
|
3912
3781
|
optional string subject = 4;
|
|
3913
3782
|
optional bytes key = 5;
|
|
3914
3783
|
}
|
|
3915
|
-
|
|
3784
|
+
|
|
3916
3785
|
}
|
|
3917
3786
|
|
|
3918
3787
|
message NotificationMessageInfo {
|
|
@@ -3998,7 +3867,7 @@ message PaymentBackground {
|
|
|
3998
3867
|
optional bytes fileEncSha256 = 4;
|
|
3999
3868
|
optional string directPath = 5;
|
|
4000
3869
|
}
|
|
4001
|
-
|
|
3870
|
+
|
|
4002
3871
|
enum Type {
|
|
4003
3872
|
UNKNOWN = 0;
|
|
4004
3873
|
DEFAULT = 1;
|
|
@@ -4237,17 +4106,17 @@ message SenderKeyStateStructure {
|
|
|
4237
4106
|
optional uint32 iteration = 1;
|
|
4238
4107
|
optional bytes seed = 2;
|
|
4239
4108
|
}
|
|
4240
|
-
|
|
4109
|
+
|
|
4241
4110
|
message SenderMessageKey {
|
|
4242
4111
|
optional uint32 iteration = 1;
|
|
4243
4112
|
optional bytes seed = 2;
|
|
4244
4113
|
}
|
|
4245
|
-
|
|
4114
|
+
|
|
4246
4115
|
message SenderSigningKey {
|
|
4247
4116
|
optional bytes public = 1;
|
|
4248
4117
|
optional bytes private = 2;
|
|
4249
4118
|
}
|
|
4250
|
-
|
|
4119
|
+
|
|
4251
4120
|
}
|
|
4252
4121
|
|
|
4253
4122
|
message ServerErrorReceipt {
|
|
@@ -4277,16 +4146,16 @@ message SessionStructure {
|
|
|
4277
4146
|
optional uint32 index = 1;
|
|
4278
4147
|
optional bytes key = 2;
|
|
4279
4148
|
}
|
|
4280
|
-
|
|
4149
|
+
|
|
4281
4150
|
message MessageKey {
|
|
4282
4151
|
optional uint32 index = 1;
|
|
4283
4152
|
optional bytes cipherKey = 2;
|
|
4284
4153
|
optional bytes macKey = 3;
|
|
4285
4154
|
optional bytes iv = 4;
|
|
4286
4155
|
}
|
|
4287
|
-
|
|
4156
|
+
|
|
4288
4157
|
}
|
|
4289
|
-
|
|
4158
|
+
|
|
4290
4159
|
message PendingKeyExchange {
|
|
4291
4160
|
optional uint32 sequence = 1;
|
|
4292
4161
|
optional bytes localBaseKey = 2;
|
|
@@ -4296,25 +4165,15 @@ message SessionStructure {
|
|
|
4296
4165
|
optional bytes localIdentityKey = 7;
|
|
4297
4166
|
optional bytes localIdentityKeyPrivate = 8;
|
|
4298
4167
|
}
|
|
4299
|
-
|
|
4168
|
+
|
|
4300
4169
|
message PendingPreKey {
|
|
4301
4170
|
optional uint32 preKeyId = 1;
|
|
4302
4171
|
optional int32 signedPreKeyId = 3;
|
|
4303
4172
|
optional bytes baseKey = 2;
|
|
4304
4173
|
}
|
|
4305
|
-
|
|
4306
|
-
}
|
|
4307
|
-
|
|
4308
|
-
message SessionTransparencyMetadata {
|
|
4309
|
-
optional string disclaimerText = 1;
|
|
4310
|
-
optional string hcaId = 2;
|
|
4311
|
-
optional SessionTransparencyType sessionTransparencyType = 3;
|
|
4174
|
+
|
|
4312
4175
|
}
|
|
4313
4176
|
|
|
4314
|
-
enum SessionTransparencyType {
|
|
4315
|
-
UNKNOWN_TYPE = 0;
|
|
4316
|
-
NY_AI_SAFETY_DISCLAIMER = 1;
|
|
4317
|
-
}
|
|
4318
4177
|
message SignalMessage {
|
|
4319
4178
|
optional bytes ratchetKey = 1;
|
|
4320
4179
|
optional uint32 counter = 2;
|
|
@@ -4348,7 +4207,7 @@ message StatusAttribution {
|
|
|
4348
4207
|
STATUS_MIMICRY = 1;
|
|
4349
4208
|
}
|
|
4350
4209
|
}
|
|
4351
|
-
|
|
4210
|
+
|
|
4352
4211
|
message ExternalShare {
|
|
4353
4212
|
optional string actionUrl = 1;
|
|
4354
4213
|
optional Source source = 2;
|
|
@@ -4365,14 +4224,13 @@ message StatusAttribution {
|
|
|
4365
4224
|
THREADS = 7;
|
|
4366
4225
|
APPLE_MUSIC = 8;
|
|
4367
4226
|
SHARECHAT = 9;
|
|
4368
|
-
GOOGLE_PHOTOS = 10;
|
|
4369
4227
|
}
|
|
4370
4228
|
}
|
|
4371
|
-
|
|
4229
|
+
|
|
4372
4230
|
message GroupStatus {
|
|
4373
4231
|
optional string authorJid = 1;
|
|
4374
4232
|
}
|
|
4375
|
-
|
|
4233
|
+
|
|
4376
4234
|
message Music {
|
|
4377
4235
|
optional string authorName = 1;
|
|
4378
4236
|
optional string songId = 2;
|
|
@@ -4381,7 +4239,7 @@ message StatusAttribution {
|
|
|
4381
4239
|
optional string artistAttribution = 5;
|
|
4382
4240
|
optional bool isExplicit = 6;
|
|
4383
4241
|
}
|
|
4384
|
-
|
|
4242
|
+
|
|
4385
4243
|
message RLAttribution {
|
|
4386
4244
|
optional Source source = 1;
|
|
4387
4245
|
enum Source {
|
|
@@ -4391,7 +4249,7 @@ message StatusAttribution {
|
|
|
4391
4249
|
HYPERNOVA_GLASSES = 3;
|
|
4392
4250
|
}
|
|
4393
4251
|
}
|
|
4394
|
-
|
|
4252
|
+
|
|
4395
4253
|
message StatusReshare {
|
|
4396
4254
|
optional Source source = 1;
|
|
4397
4255
|
optional Metadata metadata = 2;
|
|
@@ -4401,7 +4259,7 @@ message StatusAttribution {
|
|
|
4401
4259
|
optional int32 channelMessageId = 3;
|
|
4402
4260
|
optional bool hasMultipleReshares = 4;
|
|
4403
4261
|
}
|
|
4404
|
-
|
|
4262
|
+
|
|
4405
4263
|
enum Source {
|
|
4406
4264
|
UNKNOWN = 0;
|
|
4407
4265
|
INTERNAL_RESHARE = 1;
|
|
@@ -4410,7 +4268,7 @@ message StatusAttribution {
|
|
|
4410
4268
|
FORWARD = 4;
|
|
4411
4269
|
}
|
|
4412
4270
|
}
|
|
4413
|
-
|
|
4271
|
+
|
|
4414
4272
|
enum Type {
|
|
4415
4273
|
UNKNOWN = 0;
|
|
4416
4274
|
RESHARE = 1;
|
|
@@ -4429,7 +4287,7 @@ message StatusMentionMessage {
|
|
|
4429
4287
|
}
|
|
4430
4288
|
|
|
4431
4289
|
message StatusPSA {
|
|
4432
|
-
uint64 campaignId = 44;
|
|
4290
|
+
optional uint64 campaignId = 44;
|
|
4433
4291
|
optional uint64 campaignExpirationTimestamp = 45;
|
|
4434
4292
|
}
|
|
4435
4293
|
|
|
@@ -4524,28 +4382,21 @@ message SyncActionValue {
|
|
|
4524
4382
|
optional StatusPostOptInNotificationPreferencesAction statusPostOptInNotificationPreferencesAction = 71;
|
|
4525
4383
|
optional AvatarUpdatedAction avatarUpdatedAction = 72;
|
|
4526
4384
|
optional PrivateProcessingSettingAction privateProcessingSettingAction = 74;
|
|
4527
|
-
optional NewsletterSavedInterestsAction newsletterSavedInterestsAction = 75;
|
|
4528
|
-
optional AiThreadRenameAction aiThreadRenameAction = 76;
|
|
4529
|
-
optional InteractiveMessageAction interactiveMessageAction = 77;
|
|
4530
4385
|
message AgentAction {
|
|
4531
4386
|
optional string name = 1;
|
|
4532
4387
|
optional int32 deviceID = 2;
|
|
4533
4388
|
optional bool isDeleted = 3;
|
|
4534
4389
|
}
|
|
4535
|
-
|
|
4536
|
-
message AiThreadRenameAction {
|
|
4537
|
-
optional string newTitle = 1;
|
|
4538
|
-
}
|
|
4539
|
-
|
|
4390
|
+
|
|
4540
4391
|
message AndroidUnsupportedActions {
|
|
4541
4392
|
optional bool allowed = 1;
|
|
4542
4393
|
}
|
|
4543
|
-
|
|
4394
|
+
|
|
4544
4395
|
message ArchiveChatAction {
|
|
4545
4396
|
optional bool archived = 1;
|
|
4546
4397
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
|
4547
4398
|
}
|
|
4548
|
-
|
|
4399
|
+
|
|
4549
4400
|
message AvatarUpdatedAction {
|
|
4550
4401
|
optional AvatarEventType eventType = 1;
|
|
4551
4402
|
repeated SyncActionValue.StickerAction recentAvatarStickers = 2;
|
|
@@ -4555,42 +4406,42 @@ message SyncActionValue {
|
|
|
4555
4406
|
DELETED = 2;
|
|
4556
4407
|
}
|
|
4557
4408
|
}
|
|
4558
|
-
|
|
4409
|
+
|
|
4559
4410
|
message BotWelcomeRequestAction {
|
|
4560
4411
|
optional bool isSent = 1;
|
|
4561
4412
|
}
|
|
4562
|
-
|
|
4413
|
+
|
|
4563
4414
|
message BroadcastListParticipant {
|
|
4564
|
-
string lidJid = 1;
|
|
4415
|
+
optional string lidJid = 1;
|
|
4565
4416
|
optional string pnJid = 2;
|
|
4566
4417
|
}
|
|
4567
|
-
|
|
4418
|
+
|
|
4568
4419
|
message BusinessBroadcastAssociationAction {
|
|
4569
4420
|
optional bool deleted = 1;
|
|
4570
4421
|
}
|
|
4571
|
-
|
|
4422
|
+
|
|
4572
4423
|
message BusinessBroadcastListAction {
|
|
4573
4424
|
optional bool deleted = 1;
|
|
4574
4425
|
repeated SyncActionValue.BroadcastListParticipant participants = 2;
|
|
4575
4426
|
optional string listName = 3;
|
|
4576
4427
|
}
|
|
4577
|
-
|
|
4428
|
+
|
|
4578
4429
|
message CallLogAction {
|
|
4579
4430
|
optional CallLogRecord callLogRecord = 1;
|
|
4580
4431
|
}
|
|
4581
|
-
|
|
4432
|
+
|
|
4582
4433
|
message ChatAssignmentAction {
|
|
4583
4434
|
optional string deviceAgentID = 1;
|
|
4584
4435
|
}
|
|
4585
|
-
|
|
4436
|
+
|
|
4586
4437
|
message ChatAssignmentOpenedStatusAction {
|
|
4587
4438
|
optional bool chatOpened = 1;
|
|
4588
4439
|
}
|
|
4589
|
-
|
|
4440
|
+
|
|
4590
4441
|
message ClearChatAction {
|
|
4591
4442
|
optional SyncActionValue.SyncActionMessageRange messageRange = 1;
|
|
4592
4443
|
}
|
|
4593
|
-
|
|
4444
|
+
|
|
4594
4445
|
message ContactAction {
|
|
4595
4446
|
optional string fullName = 1;
|
|
4596
4447
|
optional string firstName = 2;
|
|
@@ -4599,72 +4450,66 @@ message SyncActionValue {
|
|
|
4599
4450
|
optional string pnJid = 5;
|
|
4600
4451
|
optional string username = 6;
|
|
4601
4452
|
}
|
|
4602
|
-
|
|
4453
|
+
|
|
4603
4454
|
message CtwaPerCustomerDataSharingAction {
|
|
4604
4455
|
optional bool isCtwaPerCustomerDataSharingEnabled = 1;
|
|
4605
4456
|
}
|
|
4606
|
-
|
|
4457
|
+
|
|
4607
4458
|
message CustomPaymentMethod {
|
|
4608
|
-
string credentialId = 1;
|
|
4609
|
-
string country = 2;
|
|
4610
|
-
string type = 3;
|
|
4459
|
+
optional string credentialId = 1;
|
|
4460
|
+
optional string country = 2;
|
|
4461
|
+
optional string type = 3;
|
|
4611
4462
|
repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
|
|
4612
4463
|
}
|
|
4613
|
-
|
|
4464
|
+
|
|
4614
4465
|
message CustomPaymentMethodMetadata {
|
|
4615
|
-
string key = 1;
|
|
4616
|
-
string value = 2;
|
|
4466
|
+
optional string key = 1;
|
|
4467
|
+
optional string value = 2;
|
|
4617
4468
|
}
|
|
4618
|
-
|
|
4469
|
+
|
|
4619
4470
|
message CustomPaymentMethodsAction {
|
|
4620
4471
|
repeated SyncActionValue.CustomPaymentMethod customPaymentMethods = 1;
|
|
4621
4472
|
}
|
|
4622
|
-
|
|
4473
|
+
|
|
4623
4474
|
message DeleteChatAction {
|
|
4624
4475
|
optional SyncActionValue.SyncActionMessageRange messageRange = 1;
|
|
4625
4476
|
}
|
|
4626
|
-
|
|
4477
|
+
|
|
4627
4478
|
message DeleteIndividualCallLogAction {
|
|
4628
4479
|
optional string peerJid = 1;
|
|
4629
4480
|
optional bool isIncoming = 2;
|
|
4630
4481
|
}
|
|
4631
|
-
|
|
4482
|
+
|
|
4632
4483
|
message DeleteMessageForMeAction {
|
|
4633
4484
|
optional bool deleteMedia = 1;
|
|
4634
4485
|
optional int64 messageTimestamp = 2;
|
|
4635
4486
|
}
|
|
4636
|
-
|
|
4487
|
+
|
|
4637
4488
|
message DetectedOutcomesStatusAction {
|
|
4638
4489
|
optional bool isEnabled = 1;
|
|
4639
4490
|
}
|
|
4640
|
-
|
|
4491
|
+
|
|
4641
4492
|
message ExternalWebBetaAction {
|
|
4642
4493
|
optional bool isOptIn = 1;
|
|
4643
4494
|
}
|
|
4644
|
-
|
|
4495
|
+
|
|
4645
4496
|
message FavoritesAction {
|
|
4646
4497
|
repeated Favorite favorites = 1;
|
|
4647
4498
|
message Favorite {
|
|
4648
4499
|
optional string id = 1;
|
|
4649
4500
|
}
|
|
4650
|
-
|
|
4651
|
-
}
|
|
4652
|
-
|
|
4653
|
-
message InteractiveMessageAction {
|
|
4654
|
-
InteractiveMessageActionMode type = 1;
|
|
4655
|
-
enum InteractiveMessageActionMode {
|
|
4656
|
-
DISABLE_CTA = 1;
|
|
4657
|
-
}
|
|
4501
|
+
|
|
4658
4502
|
}
|
|
4659
|
-
|
|
4503
|
+
|
|
4504
|
+
// missing nested entity SyncActionValue$GalaxyFlowAction
|
|
4660
4505
|
message KeyExpiration {
|
|
4661
4506
|
optional int32 expiredKeyEpoch = 1;
|
|
4662
4507
|
}
|
|
4663
|
-
|
|
4508
|
+
|
|
4664
4509
|
message LabelAssociationAction {
|
|
4665
4510
|
optional bool labeled = 1;
|
|
4666
4511
|
}
|
|
4667
|
-
|
|
4512
|
+
|
|
4668
4513
|
message LabelEditAction {
|
|
4669
4514
|
optional string name = 1;
|
|
4670
4515
|
optional int32 color = 2;
|
|
@@ -4674,7 +4519,6 @@ message SyncActionValue {
|
|
|
4674
4519
|
optional bool isActive = 6;
|
|
4675
4520
|
optional ListType type = 7;
|
|
4676
4521
|
optional bool isImmutable = 8;
|
|
4677
|
-
optional int64 muteEndTimeMs = 9;
|
|
4678
4522
|
enum ListType {
|
|
4679
4523
|
NONE = 0;
|
|
4680
4524
|
UNREAD = 1;
|
|
@@ -4684,29 +4528,27 @@ message SyncActionValue {
|
|
|
4684
4528
|
CUSTOM = 5;
|
|
4685
4529
|
COMMUNITY = 6;
|
|
4686
4530
|
SERVER_ASSIGNED = 7;
|
|
4687
|
-
DRAFTED = 8;
|
|
4688
|
-
AI_HANDOFF = 9;
|
|
4689
4531
|
}
|
|
4690
4532
|
}
|
|
4691
|
-
|
|
4533
|
+
|
|
4692
4534
|
message LabelReorderingAction {
|
|
4693
4535
|
repeated int32 sortedLabelIds = 1;
|
|
4694
4536
|
}
|
|
4695
|
-
|
|
4537
|
+
|
|
4696
4538
|
message LidContactAction {
|
|
4697
4539
|
optional string fullName = 1;
|
|
4698
4540
|
optional string firstName = 2;
|
|
4699
4541
|
optional string username = 3;
|
|
4700
4542
|
}
|
|
4701
|
-
|
|
4543
|
+
|
|
4702
4544
|
message LocaleSetting {
|
|
4703
4545
|
optional string locale = 1;
|
|
4704
4546
|
}
|
|
4705
|
-
|
|
4547
|
+
|
|
4706
4548
|
message LockChatAction {
|
|
4707
4549
|
optional bool locked = 1;
|
|
4708
4550
|
}
|
|
4709
|
-
|
|
4551
|
+
|
|
4710
4552
|
message MaibaAIFeaturesControlAction {
|
|
4711
4553
|
optional MaibaAIFeatureStatus aiFeatureStatus = 1;
|
|
4712
4554
|
enum MaibaAIFeatureStatus {
|
|
@@ -4715,12 +4557,12 @@ message SyncActionValue {
|
|
|
4715
4557
|
DISABLED = 2;
|
|
4716
4558
|
}
|
|
4717
4559
|
}
|
|
4718
|
-
|
|
4560
|
+
|
|
4719
4561
|
message MarkChatAsReadAction {
|
|
4720
4562
|
optional bool read = 1;
|
|
4721
4563
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
|
4722
4564
|
}
|
|
4723
|
-
|
|
4565
|
+
|
|
4724
4566
|
message MarketingMessageAction {
|
|
4725
4567
|
optional string name = 1;
|
|
4726
4568
|
optional string message = 2;
|
|
@@ -4733,14 +4575,14 @@ message SyncActionValue {
|
|
|
4733
4575
|
PERSONALIZED = 0;
|
|
4734
4576
|
}
|
|
4735
4577
|
}
|
|
4736
|
-
|
|
4578
|
+
|
|
4737
4579
|
message MarketingMessageBroadcastAction {
|
|
4738
4580
|
optional int32 repliedCount = 1;
|
|
4739
4581
|
}
|
|
4740
|
-
|
|
4582
|
+
|
|
4741
4583
|
message MerchantPaymentPartnerAction {
|
|
4742
|
-
Status status = 1;
|
|
4743
|
-
string country = 2;
|
|
4584
|
+
optional Status status = 1;
|
|
4585
|
+
optional string country = 2;
|
|
4744
4586
|
optional string gatewayName = 3;
|
|
4745
4587
|
optional string credentialId = 4;
|
|
4746
4588
|
enum Status {
|
|
@@ -4748,22 +4590,17 @@ message SyncActionValue {
|
|
|
4748
4590
|
INACTIVE = 1;
|
|
4749
4591
|
}
|
|
4750
4592
|
}
|
|
4751
|
-
|
|
4593
|
+
|
|
4752
4594
|
message MusicUserIdAction {
|
|
4753
4595
|
optional string musicUserId = 1;
|
|
4754
|
-
map<string, string> music_user_id_map = 2;
|
|
4755
4596
|
}
|
|
4756
|
-
|
|
4597
|
+
|
|
4757
4598
|
message MuteAction {
|
|
4758
4599
|
optional bool muted = 1;
|
|
4759
4600
|
optional int64 muteEndTimestamp = 2;
|
|
4760
4601
|
optional bool autoMuted = 3;
|
|
4761
4602
|
}
|
|
4762
|
-
|
|
4763
|
-
message NewsletterSavedInterestsAction {
|
|
4764
|
-
optional string newsletterSavedInterests = 1;
|
|
4765
|
-
}
|
|
4766
|
-
|
|
4603
|
+
|
|
4767
4604
|
message NoteEditAction {
|
|
4768
4605
|
optional NoteType type = 1;
|
|
4769
4606
|
optional string chatJid = 2;
|
|
@@ -4775,7 +4612,7 @@ message SyncActionValue {
|
|
|
4775
4612
|
STRUCTURED = 2;
|
|
4776
4613
|
}
|
|
4777
4614
|
}
|
|
4778
|
-
|
|
4615
|
+
|
|
4779
4616
|
message NotificationActivitySettingAction {
|
|
4780
4617
|
optional NotificationActivitySetting notificationActivitySetting = 1;
|
|
4781
4618
|
enum NotificationActivitySetting {
|
|
@@ -4785,64 +4622,63 @@ message SyncActionValue {
|
|
|
4785
4622
|
DEFAULT_HIGHLIGHTS = 3;
|
|
4786
4623
|
}
|
|
4787
4624
|
}
|
|
4788
|
-
|
|
4625
|
+
|
|
4789
4626
|
message NuxAction {
|
|
4790
4627
|
optional bool acknowledged = 1;
|
|
4791
4628
|
}
|
|
4792
|
-
|
|
4629
|
+
|
|
4793
4630
|
message PaymentInfoAction {
|
|
4794
4631
|
optional string cpi = 1;
|
|
4795
4632
|
}
|
|
4796
|
-
|
|
4633
|
+
|
|
4797
4634
|
message PaymentTosAction {
|
|
4798
|
-
PaymentNotice paymentNotice = 1;
|
|
4799
|
-
bool accepted = 2;
|
|
4635
|
+
optional PaymentNotice paymentNotice = 1;
|
|
4636
|
+
optional bool accepted = 2;
|
|
4800
4637
|
enum PaymentNotice {
|
|
4801
4638
|
BR_PAY_PRIVACY_POLICY = 0;
|
|
4802
4639
|
}
|
|
4803
4640
|
}
|
|
4804
|
-
|
|
4641
|
+
|
|
4805
4642
|
message PinAction {
|
|
4806
4643
|
optional bool pinned = 1;
|
|
4807
4644
|
}
|
|
4808
|
-
|
|
4645
|
+
|
|
4809
4646
|
message PnForLidChatAction {
|
|
4810
4647
|
optional string pnJid = 1;
|
|
4811
4648
|
}
|
|
4812
|
-
|
|
4649
|
+
|
|
4813
4650
|
message PrimaryFeature {
|
|
4814
4651
|
repeated string flags = 1;
|
|
4815
4652
|
}
|
|
4816
|
-
|
|
4653
|
+
|
|
4817
4654
|
message PrimaryVersionAction {
|
|
4818
4655
|
optional string version = 1;
|
|
4819
4656
|
}
|
|
4820
|
-
|
|
4657
|
+
|
|
4821
4658
|
message PrivacySettingChannelsPersonalisedRecommendationAction {
|
|
4822
4659
|
optional bool isUserOptedOut = 1;
|
|
4823
4660
|
}
|
|
4824
|
-
|
|
4661
|
+
|
|
4825
4662
|
message PrivacySettingDisableLinkPreviewsAction {
|
|
4826
4663
|
optional bool isPreviewsDisabled = 1;
|
|
4827
4664
|
}
|
|
4828
|
-
|
|
4665
|
+
|
|
4829
4666
|
message PrivacySettingRelayAllCalls {
|
|
4830
4667
|
optional bool isEnabled = 1;
|
|
4831
4668
|
}
|
|
4832
|
-
|
|
4669
|
+
|
|
4833
4670
|
message PrivateProcessingSettingAction {
|
|
4834
4671
|
optional PrivateProcessingStatus privateProcessingStatus = 1;
|
|
4835
4672
|
enum PrivateProcessingStatus {
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
DISABLED = 2;
|
|
4673
|
+
ENABLED = 0;
|
|
4674
|
+
DISABLED = 1;
|
|
4839
4675
|
}
|
|
4840
4676
|
}
|
|
4841
|
-
|
|
4677
|
+
|
|
4842
4678
|
message PushNameSetting {
|
|
4843
4679
|
optional string name = 1;
|
|
4844
4680
|
}
|
|
4845
|
-
|
|
4681
|
+
|
|
4846
4682
|
message QuickReplyAction {
|
|
4847
4683
|
optional string shortcut = 1;
|
|
4848
4684
|
optional string message = 2;
|
|
@@ -4850,23 +4686,24 @@ message SyncActionValue {
|
|
|
4850
4686
|
optional int32 count = 4;
|
|
4851
4687
|
optional bool deleted = 5;
|
|
4852
4688
|
}
|
|
4853
|
-
|
|
4689
|
+
|
|
4854
4690
|
message RecentEmojiWeightsAction {
|
|
4855
4691
|
repeated RecentEmojiWeight weights = 1;
|
|
4856
4692
|
}
|
|
4857
|
-
|
|
4693
|
+
|
|
4858
4694
|
message RemoveRecentStickerAction {
|
|
4859
4695
|
optional int64 lastStickerSentTs = 1;
|
|
4860
4696
|
}
|
|
4861
|
-
|
|
4697
|
+
|
|
4698
|
+
// missing nested entity SyncActionValue$SecurityNotificationSetting
|
|
4862
4699
|
message StarAction {
|
|
4863
4700
|
optional bool starred = 1;
|
|
4864
4701
|
}
|
|
4865
|
-
|
|
4702
|
+
|
|
4866
4703
|
message StatusPostOptInNotificationPreferencesAction {
|
|
4867
4704
|
optional bool enabled = 1;
|
|
4868
4705
|
}
|
|
4869
|
-
|
|
4706
|
+
|
|
4870
4707
|
message StatusPrivacyAction {
|
|
4871
4708
|
optional StatusDistributionMode mode = 1;
|
|
4872
4709
|
repeated string userJid = 2;
|
|
@@ -4877,7 +4714,7 @@ message SyncActionValue {
|
|
|
4877
4714
|
CLOSE_FRIENDS = 3;
|
|
4878
4715
|
}
|
|
4879
4716
|
}
|
|
4880
|
-
|
|
4717
|
+
|
|
4881
4718
|
message StickerAction {
|
|
4882
4719
|
optional string url = 1;
|
|
4883
4720
|
optional bytes fileEncSha256 = 2;
|
|
@@ -4893,40 +4730,40 @@ message SyncActionValue {
|
|
|
4893
4730
|
optional string imageHash = 12;
|
|
4894
4731
|
optional bool isAvatarSticker = 13;
|
|
4895
4732
|
}
|
|
4896
|
-
|
|
4733
|
+
|
|
4897
4734
|
message SubscriptionAction {
|
|
4898
4735
|
optional bool isDeactivated = 1;
|
|
4899
4736
|
optional bool isAutoRenewing = 2;
|
|
4900
4737
|
optional int64 expirationDate = 3;
|
|
4901
4738
|
}
|
|
4902
|
-
|
|
4739
|
+
|
|
4903
4740
|
message SyncActionMessage {
|
|
4904
4741
|
optional MessageKey key = 1;
|
|
4905
4742
|
optional int64 timestamp = 2;
|
|
4906
4743
|
}
|
|
4907
|
-
|
|
4744
|
+
|
|
4908
4745
|
message SyncActionMessageRange {
|
|
4909
4746
|
optional int64 lastMessageTimestamp = 1;
|
|
4910
4747
|
optional int64 lastSystemMessageTimestamp = 2;
|
|
4911
4748
|
repeated SyncActionValue.SyncActionMessage messages = 3;
|
|
4912
4749
|
}
|
|
4913
|
-
|
|
4750
|
+
|
|
4914
4751
|
message TimeFormatAction {
|
|
4915
4752
|
optional bool isTwentyFourHourFormatEnabled = 1;
|
|
4916
4753
|
}
|
|
4917
|
-
|
|
4754
|
+
|
|
4918
4755
|
message UGCBot {
|
|
4919
4756
|
optional bytes definition = 1;
|
|
4920
4757
|
}
|
|
4921
|
-
|
|
4758
|
+
|
|
4922
4759
|
message UnarchiveChatsSetting {
|
|
4923
4760
|
optional bool unarchiveChats = 1;
|
|
4924
4761
|
}
|
|
4925
|
-
|
|
4762
|
+
|
|
4926
4763
|
message UserStatusMuteAction {
|
|
4927
4764
|
optional bool muted = 1;
|
|
4928
4765
|
}
|
|
4929
|
-
|
|
4766
|
+
|
|
4930
4767
|
message UsernameChatStartModeAction {
|
|
4931
4768
|
optional ChatStartMode chatStartMode = 1;
|
|
4932
4769
|
enum ChatStartMode {
|
|
@@ -4934,7 +4771,7 @@ message SyncActionValue {
|
|
|
4934
4771
|
PN = 2;
|
|
4935
4772
|
}
|
|
4936
4773
|
}
|
|
4937
|
-
|
|
4774
|
+
|
|
4938
4775
|
message WaffleAccountLinkStateAction {
|
|
4939
4776
|
optional AccountLinkState linkState = 2;
|
|
4940
4777
|
enum AccountLinkState {
|
|
@@ -4943,11 +4780,11 @@ message SyncActionValue {
|
|
|
4943
4780
|
UNLINKED = 2;
|
|
4944
4781
|
}
|
|
4945
4782
|
}
|
|
4946
|
-
|
|
4783
|
+
|
|
4947
4784
|
message WamoUserIdentifierAction {
|
|
4948
4785
|
optional string identifier = 1;
|
|
4949
4786
|
}
|
|
4950
|
-
|
|
4787
|
+
|
|
4951
4788
|
}
|
|
4952
4789
|
|
|
4953
4790
|
message SyncdIndex {
|
|
@@ -5016,17 +4853,17 @@ message TemplateButton {
|
|
|
5016
4853
|
optional Message.HighlyStructuredMessage displayText = 1;
|
|
5017
4854
|
optional Message.HighlyStructuredMessage phoneNumber = 2;
|
|
5018
4855
|
}
|
|
5019
|
-
|
|
4856
|
+
|
|
5020
4857
|
message QuickReplyButton {
|
|
5021
4858
|
optional Message.HighlyStructuredMessage displayText = 1;
|
|
5022
4859
|
optional string id = 2;
|
|
5023
4860
|
}
|
|
5024
|
-
|
|
4861
|
+
|
|
5025
4862
|
message URLButton {
|
|
5026
4863
|
optional Message.HighlyStructuredMessage displayText = 1;
|
|
5027
4864
|
optional Message.HighlyStructuredMessage url = 2;
|
|
5028
4865
|
}
|
|
5029
|
-
|
|
4866
|
+
|
|
5030
4867
|
}
|
|
5031
4868
|
|
|
5032
4869
|
message ThreadID {
|
|
@@ -5047,7 +4884,7 @@ message UrlTrackingMap {
|
|
|
5047
4884
|
optional string consentedUsersUrl = 3;
|
|
5048
4885
|
optional uint32 cardIndex = 4;
|
|
5049
4886
|
}
|
|
5050
|
-
|
|
4887
|
+
|
|
5051
4888
|
}
|
|
5052
4889
|
|
|
5053
4890
|
message UserPassword {
|
|
@@ -5073,13 +4910,13 @@ message UserPassword {
|
|
|
5073
4910
|
uint32 asUnsignedInteger = 2;
|
|
5074
4911
|
}
|
|
5075
4912
|
}
|
|
5076
|
-
|
|
4913
|
+
|
|
5077
4914
|
}
|
|
5078
|
-
|
|
4915
|
+
|
|
5079
4916
|
}
|
|
5080
4917
|
|
|
5081
4918
|
message UserReceipt {
|
|
5082
|
-
string userJid = 1;
|
|
4919
|
+
optional string userJid = 1;
|
|
5083
4920
|
optional int64 receiptTimestamp = 2;
|
|
5084
4921
|
optional int64 readTimestamp = 3;
|
|
5085
4922
|
optional int64 playedTimestamp = 4;
|
|
@@ -5098,7 +4935,7 @@ message VerifiedNameCertificate {
|
|
|
5098
4935
|
repeated LocalizedName localizedNames = 8;
|
|
5099
4936
|
optional uint64 issueTime = 10;
|
|
5100
4937
|
}
|
|
5101
|
-
|
|
4938
|
+
|
|
5102
4939
|
}
|
|
5103
4940
|
|
|
5104
4941
|
message WallpaperSettings {
|
|
@@ -5160,12 +4997,8 @@ message WebFeatures {
|
|
|
5160
4997
|
}
|
|
5161
4998
|
}
|
|
5162
4999
|
|
|
5163
|
-
enum WebLinkRenderConfig {
|
|
5164
|
-
WEBVIEW = 0;
|
|
5165
|
-
SYSTEM = 1;
|
|
5166
|
-
}
|
|
5167
5000
|
message WebMessageInfo {
|
|
5168
|
-
MessageKey key = 1;
|
|
5001
|
+
optional MessageKey key = 1;
|
|
5169
5002
|
optional Message message = 2;
|
|
5170
5003
|
optional uint64 messageTimestamp = 3;
|
|
5171
5004
|
optional Status status = 4;
|
|
@@ -5467,7 +5300,6 @@ message WebMessageInfo {
|
|
|
5467
5300
|
BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE = 218;
|
|
5468
5301
|
PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219;
|
|
5469
5302
|
QUARANTINED_MESSAGE = 220;
|
|
5470
|
-
GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221;
|
|
5471
5303
|
}
|
|
5472
5304
|
}
|
|
5473
5305
|
|