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