@queenanya/baileys 9.1.1 → 9.2.1
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/README.md +1202 -375
- package/WAProto/WAProto.proto +1067 -221
- package/WAProto/fix-imports.js +1 -1
- package/WAProto/index.d.ts +2578 -530
- package/WAProto/index.js +36676 -23394
- package/lib/Defaults/index.d.ts +1 -1
- package/lib/Defaults/index.d.ts.map +1 -1
- package/lib/Defaults/index.js +7 -7
- package/lib/Defaults/index.js.map +1 -1
- package/lib/Signal/libsignal.js +1 -1
- package/lib/Signal/lid-mapping.js +2 -2
- package/lib/Signal/lid-mapping.js.map +1 -1
- package/lib/Socket/Client/types.d.ts +2 -2
- package/lib/Socket/Client/types.d.ts.map +1 -1
- package/lib/Socket/Client/websocket.d.ts +2 -2
- package/lib/Socket/Client/websocket.d.ts.map +1 -1
- package/lib/Socket/Client/websocket.js +2 -2
- package/lib/Socket/Client/websocket.js.map +1 -1
- package/lib/Socket/business.d.ts +3 -1
- package/lib/Socket/business.d.ts.map +1 -1
- package/lib/Socket/chats.d.ts +2 -0
- package/lib/Socket/chats.d.ts.map +1 -1
- package/lib/Socket/chats.js +5 -3
- package/lib/Socket/chats.js.map +1 -1
- package/lib/Socket/communities.d.ts +3 -1
- package/lib/Socket/communities.d.ts.map +1 -1
- package/lib/Socket/groups.d.ts +2 -0
- package/lib/Socket/groups.d.ts.map +1 -1
- package/lib/Socket/groups.js +0 -1
- package/lib/Socket/groups.js.map +1 -1
- package/lib/Socket/index.d.ts +3 -1
- package/lib/Socket/index.d.ts.map +1 -1
- package/lib/Socket/messages-recv.d.ts +3 -1
- package/lib/Socket/messages-recv.d.ts.map +1 -1
- package/lib/Socket/messages-recv.js +102 -45
- package/lib/Socket/messages-recv.js.map +1 -1
- package/lib/Socket/messages-send.d.ts +3 -1
- package/lib/Socket/messages-send.d.ts.map +1 -1
- package/lib/Socket/messages-send.js +77 -56
- package/lib/Socket/messages-send.js.map +1 -1
- package/lib/Socket/newsletter.d.ts +2 -0
- package/lib/Socket/newsletter.d.ts.map +1 -1
- package/lib/Socket/socket.d.ts +2 -0
- package/lib/Socket/socket.d.ts.map +1 -1
- package/lib/Socket/socket.js +57 -16
- package/lib/Socket/socket.js.map +1 -1
- package/lib/Types/Auth.d.ts +4 -0
- package/lib/Types/Auth.d.ts.map +1 -1
- package/lib/Types/Message.d.ts +2 -0
- package/lib/Types/Message.d.ts.map +1 -1
- package/lib/Types/Message.js.map +1 -1
- package/lib/Utils/auth-utils.js +1 -1
- package/lib/Utils/auth-utils.js.map +1 -1
- package/lib/Utils/decode-wa-message.d.ts.map +1 -1
- package/lib/Utils/decode-wa-message.js +5 -1
- package/lib/Utils/decode-wa-message.js.map +1 -1
- package/lib/Utils/event-buffer.js +2 -2
- package/lib/Utils/event-buffer.js.map +1 -1
- package/lib/Utils/generics.d.ts +1 -1
- package/lib/Utils/generics.d.ts.map +1 -1
- package/lib/Utils/generics.js +3 -3
- package/lib/Utils/generics.js.map +1 -1
- package/lib/Utils/history.d.ts.map +1 -1
- package/lib/Utils/history.js +7 -1
- package/lib/Utils/history.js.map +1 -1
- package/lib/Utils/index.d.ts +0 -1
- package/lib/Utils/index.d.ts.map +1 -1
- package/lib/Utils/index.js +0 -1
- package/lib/Utils/index.js.map +1 -1
- package/lib/Utils/message-retry-manager.d.ts +3 -3
- package/lib/Utils/message-retry-manager.d.ts.map +1 -1
- package/lib/Utils/message-retry-manager.js +25 -2
- package/lib/Utils/message-retry-manager.js.map +1 -1
- package/lib/Utils/messages-media.js +1 -1
- package/lib/Utils/messages-media.js.map +1 -1
- package/lib/Utils/messages.d.ts +13 -0
- package/lib/Utils/messages.d.ts.map +1 -1
- package/lib/Utils/messages.js +30 -0
- package/lib/Utils/messages.js.map +1 -1
- package/lib/Utils/process-message.d.ts +20 -2
- package/lib/Utils/process-message.d.ts.map +1 -1
- package/lib/Utils/process-message.js +75 -3
- package/lib/Utils/process-message.js.map +1 -1
- package/lib/Utils/validate-connection.d.ts.map +1 -1
- package/lib/Utils/validate-connection.js +7 -2
- package/lib/Utils/validate-connection.js.map +1 -1
- package/package.json +4 -4
- package/lib/Utils/baileys-event-stream.d.ts +0 -17
- package/lib/Utils/baileys-event-stream.d.ts.map +0 -1
- package/lib/Utils/baileys-event-stream.js +0 -56
- package/lib/Utils/baileys-event-stream.js.map +0 -1
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.1029496320
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -42,165 +42,212 @@ message ADVSignedKeyIndexList {
|
|
|
42
42
|
optional bytes accountSignatureKey = 3;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
message AIHomeState {
|
|
46
|
+
optional int64 lastFetchTime = 1;
|
|
47
|
+
repeated AIHomeOption capabilityOptions = 2;
|
|
48
|
+
repeated AIHomeOption conversationOptions = 3;
|
|
49
|
+
message AIHomeOption {
|
|
50
|
+
optional AIHomeActionType type = 1;
|
|
51
|
+
optional string title = 2;
|
|
52
|
+
optional string promptText = 3;
|
|
53
|
+
optional string sessionId = 4;
|
|
54
|
+
optional string imageWdsIdentifier = 5;
|
|
55
|
+
optional string imageTintColor = 6;
|
|
56
|
+
optional string imageBackgroundColor = 7;
|
|
57
|
+
enum AIHomeActionType {
|
|
58
|
+
PROMPT = 0;
|
|
59
|
+
CREATE_IMAGE = 1;
|
|
60
|
+
ANIMATE_PHOTO = 2;
|
|
61
|
+
ANALYZE_FILE = 3;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
}
|
|
66
|
+
|
|
45
67
|
message AIQueryFanout {
|
|
46
68
|
optional MessageKey messageKey = 1;
|
|
47
69
|
optional Message message = 2;
|
|
48
70
|
optional int64 timestamp = 3;
|
|
49
71
|
}
|
|
50
72
|
|
|
51
|
-
message
|
|
52
|
-
optional
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
message AIRichResponseCodeMetadata {
|
|
56
|
-
optional string codeLanguage = 1;
|
|
57
|
-
repeated AIRichResponseCodeBlock codeBlocks = 2;
|
|
58
|
-
message AIRichResponseCodeBlock {
|
|
59
|
-
optional AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType highlightType = 1;
|
|
60
|
-
optional string codeContent = 2;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
enum AIRichResponseCodeHighlightType {
|
|
64
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
|
|
65
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
|
|
66
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2;
|
|
67
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3;
|
|
68
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4;
|
|
69
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
message AIRichResponseContentItemsMetadata {
|
|
74
|
-
repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
|
|
75
|
-
optional ContentType contentType = 2;
|
|
76
|
-
message AIRichResponseContentItemMetadata {
|
|
77
|
-
oneof aIRichResponseContentItem {
|
|
78
|
-
AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
73
|
+
message AIRegenerateMetadata {
|
|
74
|
+
optional MessageKey messageKey = 1;
|
|
75
|
+
optional int64 responseTimestampMs = 2;
|
|
76
|
+
}
|
|
81
77
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
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
|
+
}
|
|
88
85
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
93
|
}
|
|
94
|
+
}
|
|
94
95
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0;
|
|
102
|
-
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1;
|
|
103
|
-
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2;
|
|
96
|
+
message AIRichResponseContentItemsMetadata {
|
|
97
|
+
repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
|
|
98
|
+
optional ContentType contentType = 2;
|
|
99
|
+
message AIRichResponseContentItemMetadata {
|
|
100
|
+
oneof aIRichResponseContentItem {
|
|
101
|
+
AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
|
|
104
102
|
}
|
|
105
103
|
}
|
|
106
104
|
|
|
107
|
-
message
|
|
108
|
-
optional
|
|
109
|
-
|
|
105
|
+
message AIRichResponseReelItem {
|
|
106
|
+
optional string title = 1;
|
|
107
|
+
optional string profileIconUrl = 2;
|
|
108
|
+
optional string thumbnailUrl = 3;
|
|
109
|
+
optional string videoUrl = 4;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
optional string sourceUrl = 3;
|
|
112
|
+
enum ContentType {
|
|
113
|
+
DEFAULT = 0;
|
|
114
|
+
CAROUSEL = 1;
|
|
116
115
|
}
|
|
116
|
+
}
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
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;
|
|
128
127
|
}
|
|
128
|
+
}
|
|
129
129
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
optional string latexExpression = 1;
|
|
135
|
-
optional string url = 2;
|
|
136
|
-
optional double width = 3;
|
|
137
|
-
optional double height = 4;
|
|
138
|
-
optional double fontHeight = 5;
|
|
139
|
-
optional double imageTopPadding = 6;
|
|
140
|
-
optional double imageLeadingPadding = 7;
|
|
141
|
-
optional double imageBottomPadding = 8;
|
|
142
|
-
optional double imageTrailingPadding = 9;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
}
|
|
130
|
+
message AIRichResponseGridImageMetadata {
|
|
131
|
+
optional AIRichResponseImageURL gridImageUrl = 1;
|
|
132
|
+
repeated AIRichResponseImageURL imageUrls = 2;
|
|
133
|
+
}
|
|
146
134
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
repeated AIRichResponseMapAnnotation annotations = 5;
|
|
153
|
-
optional bool showInfoList = 6;
|
|
154
|
-
message AIRichResponseMapAnnotation {
|
|
155
|
-
optional uint32 annotationNumber = 1;
|
|
156
|
-
optional double latitude = 2;
|
|
157
|
-
optional double longitude = 3;
|
|
158
|
-
optional string title = 4;
|
|
159
|
-
optional string body = 5;
|
|
160
|
-
}
|
|
135
|
+
message AIRichResponseImageURL {
|
|
136
|
+
optional string imagePreviewUrl = 1;
|
|
137
|
+
optional string imageHighResUrl = 2;
|
|
138
|
+
optional string sourceUrl = 3;
|
|
139
|
+
}
|
|
161
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;
|
|
162
150
|
}
|
|
151
|
+
}
|
|
163
152
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
optional
|
|
170
|
-
optional
|
|
171
|
-
optional
|
|
172
|
-
optional
|
|
173
|
-
optional
|
|
174
|
-
optional
|
|
175
|
-
optional
|
|
176
|
-
optional
|
|
177
|
-
|
|
178
|
-
|
|
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;
|
|
179
183
|
}
|
|
180
184
|
|
|
181
|
-
|
|
182
|
-
AI_RICH_RESPONSE_UNKNOWN = 0;
|
|
183
|
-
AI_RICH_RESPONSE_GRID_IMAGE = 1;
|
|
184
|
-
AI_RICH_RESPONSE_TEXT = 2;
|
|
185
|
-
AI_RICH_RESPONSE_INLINE_IMAGE = 3;
|
|
186
|
-
AI_RICH_RESPONSE_TABLE = 4;
|
|
187
|
-
AI_RICH_RESPONSE_CODE = 5;
|
|
188
|
-
AI_RICH_RESPONSE_DYNAMIC = 6;
|
|
189
|
-
AI_RICH_RESPONSE_MAP = 7;
|
|
190
|
-
AI_RICH_RESPONSE_LATEX = 8;
|
|
191
|
-
AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
|
|
192
|
-
}
|
|
193
|
-
message AIRichResponseTableMetadata {
|
|
194
|
-
repeated AIRichResponseTableRow rows = 1;
|
|
195
|
-
message AIRichResponseTableRow {
|
|
196
|
-
repeated string items = 1;
|
|
197
|
-
optional bool isHeading = 2;
|
|
198
|
-
}
|
|
185
|
+
}
|
|
199
186
|
|
|
187
|
+
message AIRichResponseMessage {
|
|
188
|
+
optional AIRichResponseMessageType messageType = 1;
|
|
189
|
+
repeated AIRichResponseSubMessage submessages = 2;
|
|
190
|
+
optional AIRichResponseUnifiedResponse unifiedResponse = 3;
|
|
191
|
+
optional ContextInfo contextInfo = 4;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
enum AIRichResponseMessageType {
|
|
195
|
+
AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
|
|
196
|
+
AI_RICH_RESPONSE_TYPE_STANDARD = 1;
|
|
197
|
+
}
|
|
198
|
+
message AIRichResponseSubMessage {
|
|
199
|
+
optional AIRichResponseSubMessageType messageType = 1;
|
|
200
|
+
optional AIRichResponseGridImageMetadata gridImageMetadata = 2;
|
|
201
|
+
optional string messageText = 3;
|
|
202
|
+
optional AIRichResponseInlineImageMetadata imageMetadata = 4;
|
|
203
|
+
optional AIRichResponseCodeMetadata codeMetadata = 5;
|
|
204
|
+
optional AIRichResponseTableMetadata tableMetadata = 6;
|
|
205
|
+
optional AIRichResponseDynamicMetadata dynamicMetadata = 7;
|
|
206
|
+
optional AIRichResponseLatexMetadata latexMetadata = 8;
|
|
207
|
+
optional AIRichResponseMapMetadata mapMetadata = 9;
|
|
208
|
+
optional AIRichResponseContentItemsMetadata contentItemsMetadata = 10;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
enum AIRichResponseSubMessageType {
|
|
212
|
+
AI_RICH_RESPONSE_UNKNOWN = 0;
|
|
213
|
+
AI_RICH_RESPONSE_GRID_IMAGE = 1;
|
|
214
|
+
AI_RICH_RESPONSE_TEXT = 2;
|
|
215
|
+
AI_RICH_RESPONSE_INLINE_IMAGE = 3;
|
|
216
|
+
AI_RICH_RESPONSE_TABLE = 4;
|
|
217
|
+
AI_RICH_RESPONSE_CODE = 5;
|
|
218
|
+
AI_RICH_RESPONSE_DYNAMIC = 6;
|
|
219
|
+
AI_RICH_RESPONSE_MAP = 7;
|
|
220
|
+
AI_RICH_RESPONSE_LATEX = 8;
|
|
221
|
+
AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
|
|
222
|
+
}
|
|
223
|
+
message AIRichResponseTableMetadata {
|
|
224
|
+
repeated AIRichResponseTableRow rows = 1;
|
|
225
|
+
optional string title = 2;
|
|
226
|
+
message AIRichResponseTableRow {
|
|
227
|
+
repeated string items = 1;
|
|
228
|
+
optional bool isHeading = 2;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
message AIRichResponseUnifiedResponse {
|
|
234
|
+
optional bytes data = 1;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
message AIThreadInfo {
|
|
238
|
+
optional AIThreadServerInfo serverInfo = 1;
|
|
239
|
+
optional AIThreadClientInfo clientInfo = 2;
|
|
240
|
+
message AIThreadClientInfo {
|
|
241
|
+
optional AIThreadType type = 1;
|
|
242
|
+
enum AIThreadType {
|
|
243
|
+
UNKNOWN = 0;
|
|
244
|
+
DEFAULT = 1;
|
|
245
|
+
INCOGNITO = 2;
|
|
246
|
+
}
|
|
200
247
|
}
|
|
201
248
|
|
|
202
|
-
message
|
|
203
|
-
optional
|
|
249
|
+
message AIThreadServerInfo {
|
|
250
|
+
optional string title = 1;
|
|
204
251
|
}
|
|
205
252
|
|
|
206
253
|
}
|
|
@@ -276,6 +323,11 @@ message BizIdentityInfo {
|
|
|
276
323
|
message BotAgeCollectionMetadata {
|
|
277
324
|
optional bool ageCollectionEligible = 1;
|
|
278
325
|
optional bool shouldTriggerAgeCollectionOnClient = 2;
|
|
326
|
+
optional AgeCollectionType ageCollectionType = 3;
|
|
327
|
+
enum AgeCollectionType {
|
|
328
|
+
O18_BINARY = 0;
|
|
329
|
+
WAFFLE = 1;
|
|
330
|
+
}
|
|
279
331
|
}
|
|
280
332
|
|
|
281
333
|
message BotAvatarMetadata {
|
|
@@ -325,7 +377,117 @@ message BotCapabilityMetadata {
|
|
|
325
377
|
PROACTIVE_MESSAGE = 33;
|
|
326
378
|
RICH_RESPONSE_UNIFIED_RESPONSE = 34;
|
|
327
379
|
PROMOTION_MESSAGE = 35;
|
|
380
|
+
SIMPLIFIED_PROFILE_PAGE = 36;
|
|
381
|
+
RICH_RESPONSE_SOURCES_IN_MESSAGE = 37;
|
|
382
|
+
RICH_RESPONSE_SIDE_BY_SIDE_SURVEY = 38;
|
|
383
|
+
RICH_RESPONSE_UNIFIED_TEXT_COMPONENT = 39;
|
|
384
|
+
AI_SHARED_MEMORY = 40;
|
|
385
|
+
RICH_RESPONSE_UNIFIED_SOURCES = 41;
|
|
386
|
+
RICH_RESPONSE_UNIFIED_DOMAIN_CITATIONS = 42;
|
|
387
|
+
RICH_RESPONSE_UR_INLINE_REELS_ENABLED = 43;
|
|
388
|
+
RICH_RESPONSE_UR_MEDIA_GRID_ENABLED = 44;
|
|
389
|
+
RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45;
|
|
390
|
+
RICH_RESPONSE_IN_APP_SURVEY = 46;
|
|
391
|
+
AI_RESPONSE_MODEL_BRANDING = 47;
|
|
392
|
+
SESSION_TRANSPARENCY_SYSTEM_MESSAGE = 48;
|
|
393
|
+
RICH_RESPONSE_UR_REASONING = 49;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
message BotFeedbackMessage {
|
|
398
|
+
optional MessageKey messageKey = 1;
|
|
399
|
+
optional BotFeedbackKind kind = 2;
|
|
400
|
+
optional string text = 3;
|
|
401
|
+
optional uint64 kindNegative = 4;
|
|
402
|
+
optional uint64 kindPositive = 5;
|
|
403
|
+
optional ReportKind kindReport = 6;
|
|
404
|
+
optional SideBySideSurveyMetadata sideBySideSurveyMetadata = 7;
|
|
405
|
+
enum BotFeedbackKind {
|
|
406
|
+
BOT_FEEDBACK_POSITIVE = 0;
|
|
407
|
+
BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
|
|
408
|
+
BOT_FEEDBACK_NEGATIVE_HELPFUL = 2;
|
|
409
|
+
BOT_FEEDBACK_NEGATIVE_INTERESTING = 3;
|
|
410
|
+
BOT_FEEDBACK_NEGATIVE_ACCURATE = 4;
|
|
411
|
+
BOT_FEEDBACK_NEGATIVE_SAFE = 5;
|
|
412
|
+
BOT_FEEDBACK_NEGATIVE_OTHER = 6;
|
|
413
|
+
BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
|
|
414
|
+
BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
|
|
415
|
+
BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
|
|
416
|
+
BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10;
|
|
417
|
+
BOT_FEEDBACK_NEGATIVE_CLARITY = 11;
|
|
418
|
+
BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12;
|
|
419
|
+
BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY = 13;
|
|
420
|
+
BOT_FEEDBACK_NEGATIVE = 14;
|
|
421
|
+
}
|
|
422
|
+
enum BotFeedbackKindMultipleNegative {
|
|
423
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
|
|
424
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2;
|
|
425
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4;
|
|
426
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8;
|
|
427
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16;
|
|
428
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32;
|
|
429
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64;
|
|
430
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128;
|
|
431
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256;
|
|
432
|
+
}
|
|
433
|
+
enum BotFeedbackKindMultiplePositive {
|
|
434
|
+
BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
|
|
435
|
+
}
|
|
436
|
+
enum ReportKind {
|
|
437
|
+
NONE = 0;
|
|
438
|
+
GENERIC = 1;
|
|
439
|
+
}
|
|
440
|
+
message SideBySideSurveyMetadata {
|
|
441
|
+
optional string selectedRequestId = 1;
|
|
442
|
+
optional uint32 surveyId = 2;
|
|
443
|
+
optional string simonSessionFbid = 3;
|
|
444
|
+
optional string responseOtid = 4;
|
|
445
|
+
optional string responseTimestampMsString = 5;
|
|
446
|
+
optional bool isSelectedResponsePrimary = 6;
|
|
447
|
+
optional string messageIdToEdit = 7;
|
|
448
|
+
optional SideBySideSurveyAnalyticsData analyticsData = 8;
|
|
449
|
+
optional SidebySideSurveyMetaAiAnalyticsData metaAiAnalyticsData = 9;
|
|
450
|
+
message SideBySideSurveyAnalyticsData {
|
|
451
|
+
optional string tessaEvent = 1;
|
|
452
|
+
optional string tessaSessionFbid = 2;
|
|
453
|
+
optional string simonSessionFbid = 3;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
message SidebySideSurveyMetaAiAnalyticsData {
|
|
457
|
+
optional uint32 surveyId = 1;
|
|
458
|
+
optional string primaryResponseId = 2;
|
|
459
|
+
optional string testArmName = 3;
|
|
460
|
+
optional string timestampMsString = 4;
|
|
461
|
+
optional SideBySideSurveyCTAImpressionEventData ctaImpressionEvent = 5;
|
|
462
|
+
optional SideBySideSurveyCTAClickEventData ctaClickEvent = 6;
|
|
463
|
+
optional SideBySideSurveyCardImpressionEventData cardImpressionEvent = 7;
|
|
464
|
+
optional SideBySideSurveyResponseEventData responseEvent = 8;
|
|
465
|
+
optional SideBySideSurveyAbandonEventData abandonEvent = 9;
|
|
466
|
+
message SideBySideSurveyAbandonEventData {
|
|
467
|
+
optional string abandonDwellTimeMsString = 1;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
message SideBySideSurveyCTAClickEventData {
|
|
471
|
+
optional bool isSurveyExpired = 1;
|
|
472
|
+
optional string clickDwellTimeMsString = 2;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
message SideBySideSurveyCTAImpressionEventData {
|
|
476
|
+
optional bool isSurveyExpired = 1;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
message SideBySideSurveyCardImpressionEventData {
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
message SideBySideSurveyResponseEventData {
|
|
483
|
+
optional string responseDwellTimeMsString = 1;
|
|
484
|
+
optional string selectedResponseId = 2;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
}
|
|
488
|
+
|
|
328
489
|
}
|
|
490
|
+
|
|
329
491
|
}
|
|
330
492
|
|
|
331
493
|
message BotImagineMetadata {
|
|
@@ -382,6 +544,22 @@ message BotMemuMetadata {
|
|
|
382
544
|
repeated BotMediaMetadata faceImages = 1;
|
|
383
545
|
}
|
|
384
546
|
|
|
547
|
+
message BotMessageOrigin {
|
|
548
|
+
optional BotMessageOriginType type = 1;
|
|
549
|
+
enum BotMessageOriginType {
|
|
550
|
+
BOT_MESSAGE_ORIGIN_TYPE_AI_INITIATED = 0;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
message BotMessageOriginMetadata {
|
|
555
|
+
repeated BotMessageOrigin origins = 1;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
message BotMessageSharingInfo {
|
|
559
|
+
optional BotMetricsEntryPoint botEntryPointOrigin = 1;
|
|
560
|
+
optional uint32 forwardScore = 2;
|
|
561
|
+
}
|
|
562
|
+
|
|
385
563
|
message BotMetadata {
|
|
386
564
|
optional BotAvatarMetadata avatarMetadata = 1;
|
|
387
565
|
optional string personaId = 2;
|
|
@@ -407,9 +585,20 @@ message BotMetadata {
|
|
|
407
585
|
optional BotModeSelectionMetadata botModeSelectionMetadata = 22;
|
|
408
586
|
optional BotQuotaMetadata botQuotaMetadata = 23;
|
|
409
587
|
optional BotAgeCollectionMetadata botAgeCollectionMetadata = 24;
|
|
588
|
+
optional string conversationStarterPromptId = 25;
|
|
589
|
+
optional string botResponseId = 26;
|
|
590
|
+
optional BotSignatureVerificationMetadata verificationMetadata = 27;
|
|
591
|
+
optional BotUnifiedResponseMutation unifiedResponseMutation = 28;
|
|
592
|
+
optional BotMessageOriginMetadata botMessageOriginMetadata = 29;
|
|
593
|
+
optional InThreadSurveyMetadata inThreadSurveyMetadata = 30;
|
|
594
|
+
optional AIThreadInfo botThreadInfo = 31;
|
|
595
|
+
optional AIRegenerateMetadata regenerateMetadata = 32;
|
|
596
|
+
optional SessionTransparencyMetadata sessionTransparencyMetadata = 33;
|
|
597
|
+
optional bytes internalMetadata = 999;
|
|
410
598
|
}
|
|
411
599
|
|
|
412
600
|
enum BotMetricsEntryPoint {
|
|
601
|
+
UNDEFINED_ENTRY_POINT = 0;
|
|
413
602
|
FAVICON = 1;
|
|
414
603
|
CHATLIST = 2;
|
|
415
604
|
AISEARCH_NULL_STATE_PAPER_PLANE = 3;
|
|
@@ -434,6 +623,20 @@ enum BotMetricsEntryPoint {
|
|
|
434
623
|
META_AI_CHAT_SHORTCUT_AI_STUDIO = 22;
|
|
435
624
|
UGC_CHAT_SHORTCUT_AI_STUDIO = 23;
|
|
436
625
|
NEW_CHAT_AI_STUDIO = 24;
|
|
626
|
+
AIVOICE_FAVICON_CALL_HISTORY = 25;
|
|
627
|
+
ASK_META_AI_CONTEXT_MENU = 26;
|
|
628
|
+
ASK_META_AI_CONTEXT_MENU_1ON1 = 27;
|
|
629
|
+
ASK_META_AI_CONTEXT_MENU_GROUP = 28;
|
|
630
|
+
INVOKE_META_AI_1ON1 = 29;
|
|
631
|
+
INVOKE_META_AI_GROUP = 30;
|
|
632
|
+
META_AI_FORWARD = 31;
|
|
633
|
+
NEW_CHAT_AI_CONTACT = 32;
|
|
634
|
+
MESSAGE_QUICK_ACTION_1_ON_1_CHAT = 33;
|
|
635
|
+
MESSAGE_QUICK_ACTION_GROUP_CHAT = 34;
|
|
636
|
+
ATTACHMENT_TRAY_1_ON_1_CHAT = 35;
|
|
637
|
+
ATTACHMENT_TRAY_GROUP_CHAT = 36;
|
|
638
|
+
ASK_META_AI_MEDIA_VIEWER_1ON1 = 37;
|
|
639
|
+
ASK_META_AI_MEDIA_VIEWER_GROUP = 38;
|
|
437
640
|
}
|
|
438
641
|
message BotMetricsMetadata {
|
|
439
642
|
optional string destinationId = 1;
|
|
@@ -446,6 +649,7 @@ enum BotMetricsThreadEntryPoint {
|
|
|
446
649
|
AI_HOME_THREAD = 2;
|
|
447
650
|
AI_DEEPLINK_IMMERSIVE_THREAD = 3;
|
|
448
651
|
AI_DEEPLINK_THREAD = 4;
|
|
652
|
+
ASK_META_AI_CONTEXT_MENU_THREAD = 5;
|
|
449
653
|
}
|
|
450
654
|
message BotModeSelectionMetadata {
|
|
451
655
|
repeated BotUserSelectionMode mode = 1;
|
|
@@ -458,6 +662,7 @@ message BotModeSelectionMetadata {
|
|
|
458
662
|
message BotModelMetadata {
|
|
459
663
|
optional ModelType modelType = 1;
|
|
460
664
|
optional PremiumModelStatus premiumModelStatus = 2;
|
|
665
|
+
optional string modelNameOverride = 3;
|
|
461
666
|
enum ModelType {
|
|
462
667
|
UNKNOWN_TYPE = 0;
|
|
463
668
|
LLAMA_PROD = 1;
|
|
@@ -554,6 +759,7 @@ message BotPromotionMessageMetadata {
|
|
|
554
759
|
enum BotPromotionType {
|
|
555
760
|
UNKNOWN_TYPE = 0;
|
|
556
761
|
C50 = 1;
|
|
762
|
+
SURVEY_PLATFORM = 2;
|
|
557
763
|
}
|
|
558
764
|
}
|
|
559
765
|
|
|
@@ -624,6 +830,21 @@ enum BotSessionSource {
|
|
|
624
830
|
EMU_FLASH_FOLLOWUP = 5;
|
|
625
831
|
VOICE = 6;
|
|
626
832
|
}
|
|
833
|
+
message BotSignatureVerificationMetadata {
|
|
834
|
+
repeated BotSignatureVerificationUseCaseProof proofs = 1;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
message BotSignatureVerificationUseCaseProof {
|
|
838
|
+
optional int32 version = 1;
|
|
839
|
+
optional BotSignatureUseCase useCase = 2;
|
|
840
|
+
optional bytes signature = 3;
|
|
841
|
+
repeated bytes certificateChain = 4;
|
|
842
|
+
enum BotSignatureUseCase {
|
|
843
|
+
UNSPECIFIED = 0;
|
|
844
|
+
WA_BOT_MSG = 1;
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
|
|
627
848
|
message BotSourcesMetadata {
|
|
628
849
|
repeated BotSourceItem sources = 1;
|
|
629
850
|
message BotSourceItem {
|
|
@@ -633,11 +854,13 @@ message BotSourcesMetadata {
|
|
|
633
854
|
optional string sourceQuery = 4;
|
|
634
855
|
optional string faviconCdnUrl = 5;
|
|
635
856
|
optional uint32 citationNumber = 6;
|
|
857
|
+
optional string sourceTitle = 7;
|
|
636
858
|
enum SourceProvider {
|
|
637
859
|
UNKNOWN = 0;
|
|
638
860
|
BING = 1;
|
|
639
861
|
GOOGLE = 2;
|
|
640
862
|
SUPPORT = 3;
|
|
863
|
+
OTHER = 4;
|
|
641
864
|
}
|
|
642
865
|
}
|
|
643
866
|
|
|
@@ -650,6 +873,22 @@ message BotSuggestedPromptMetadata {
|
|
|
650
873
|
optional string selectedPromptId = 4;
|
|
651
874
|
}
|
|
652
875
|
|
|
876
|
+
message BotUnifiedResponseMutation {
|
|
877
|
+
optional SideBySideMetadata sbsMetadata = 1;
|
|
878
|
+
repeated MediaDetailsMetadata mediaDetailsMetadataList = 2;
|
|
879
|
+
message MediaDetailsMetadata {
|
|
880
|
+
optional string id = 1;
|
|
881
|
+
optional BotMediaMetadata highResMedia = 2;
|
|
882
|
+
optional BotMediaMetadata previewMedia = 3;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
message SideBySideMetadata {
|
|
886
|
+
optional string primaryResponseId = 1;
|
|
887
|
+
optional bool surveyCtaHasRendered = 2;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
}
|
|
891
|
+
|
|
653
892
|
message CallLogRecord {
|
|
654
893
|
optional CallResult callResult = 1;
|
|
655
894
|
optional bool isDndMode = 2;
|
|
@@ -769,6 +1008,7 @@ message Citation {
|
|
|
769
1008
|
message ClientPairingProps {
|
|
770
1009
|
optional bool isChatDbLidMigrated = 1;
|
|
771
1010
|
optional bool isSyncdPureLidSession = 2;
|
|
1011
|
+
optional bool isSyncdSnapshotRecoveryEnabled = 3;
|
|
772
1012
|
}
|
|
773
1013
|
|
|
774
1014
|
message ClientPayload {
|
|
@@ -802,6 +1042,10 @@ message ClientPayload {
|
|
|
802
1042
|
optional TrafficAnonymization trafficAnonymization = 40;
|
|
803
1043
|
optional bool lidDbMigrated = 41;
|
|
804
1044
|
optional AccountType accountType = 42;
|
|
1045
|
+
optional sfixed32 connectionSequenceInfo = 43;
|
|
1046
|
+
optional bool paaLink = 44;
|
|
1047
|
+
optional int32 preacksCount = 45;
|
|
1048
|
+
optional int32 processingQueueSize = 46;
|
|
805
1049
|
enum AccountType {
|
|
806
1050
|
DEFAULT = 0;
|
|
807
1051
|
GUEST = 1;
|
|
@@ -947,6 +1191,8 @@ message ClientPayload {
|
|
|
947
1191
|
IPAD = 33;
|
|
948
1192
|
TEST = 34;
|
|
949
1193
|
SMART_GLASSES = 35;
|
|
1194
|
+
BLUE_VR = 36;
|
|
1195
|
+
AR_WRIST = 37;
|
|
950
1196
|
}
|
|
951
1197
|
enum ReleaseChannel {
|
|
952
1198
|
RELEASE = 0;
|
|
@@ -987,6 +1233,14 @@ message ClientPayload {
|
|
|
987
1233
|
|
|
988
1234
|
}
|
|
989
1235
|
|
|
1236
|
+
enum CollectionName {
|
|
1237
|
+
COLLECTION_NAME_UNKNOWN = 0;
|
|
1238
|
+
REGULAR = 1;
|
|
1239
|
+
REGULAR_LOW = 2;
|
|
1240
|
+
REGULAR_HIGH = 3;
|
|
1241
|
+
CRITICAL_BLOCK = 4;
|
|
1242
|
+
CRITICAL_UNBLOCK_LOW = 5;
|
|
1243
|
+
}
|
|
990
1244
|
message CommentMetadata {
|
|
991
1245
|
optional MessageKey commentParentKey = 1;
|
|
992
1246
|
optional uint32 replyCount = 2;
|
|
@@ -1055,6 +1309,14 @@ message ContextInfo {
|
|
|
1055
1309
|
optional MemberLabel memberLabel = 62;
|
|
1056
1310
|
optional bool isQuestion = 63;
|
|
1057
1311
|
optional StatusSourceType statusSourceType = 64;
|
|
1312
|
+
repeated StatusAttribution statusAttributions = 65;
|
|
1313
|
+
optional bool isGroupStatus = 66;
|
|
1314
|
+
optional ForwardOrigin forwardOrigin = 67;
|
|
1315
|
+
optional QuestionReplyQuotedMessage questionReplyQuotedMessage = 68;
|
|
1316
|
+
optional StatusAudienceMetadata statusAudienceMetadata = 69;
|
|
1317
|
+
optional uint32 nonJidMentions = 70;
|
|
1318
|
+
optional QuotedType quotedType = 71;
|
|
1319
|
+
optional BotMessageSharingInfo botMessageSharingInfo = 72;
|
|
1058
1320
|
message AdReplyInfo {
|
|
1059
1321
|
optional string advertiserName = 1;
|
|
1060
1322
|
optional MediaType mediaType = 2;
|
|
@@ -1075,6 +1337,11 @@ message ContextInfo {
|
|
|
1075
1337
|
optional bool showMmDisclosure = 1;
|
|
1076
1338
|
optional string encryptedSignalTokenConsented = 2;
|
|
1077
1339
|
repeated Parameters parameters = 3;
|
|
1340
|
+
optional int32 dataSharingFlags = 4;
|
|
1341
|
+
enum DataSharingFlags {
|
|
1342
|
+
SHOW_MM_DISCLOSURE_ON_CLICK = 1;
|
|
1343
|
+
SHOW_MM_DISCLOSURE_ON_READ = 2;
|
|
1344
|
+
}
|
|
1078
1345
|
message Parameters {
|
|
1079
1346
|
optional string key = 1;
|
|
1080
1347
|
optional string stringData = 2;
|
|
@@ -1111,6 +1378,8 @@ message ContextInfo {
|
|
|
1111
1378
|
optional string automatedGreetingMessageCtaType = 23;
|
|
1112
1379
|
optional bool wtwaAdFormat = 24;
|
|
1113
1380
|
optional AdType adType = 25;
|
|
1381
|
+
optional string wtwaWebsiteUrl = 26;
|
|
1382
|
+
optional string adPreviewUrl = 27;
|
|
1114
1383
|
enum AdType {
|
|
1115
1384
|
CTWA = 0;
|
|
1116
1385
|
CAWC = 1;
|
|
@@ -1127,14 +1396,17 @@ message ContextInfo {
|
|
|
1127
1396
|
optional bool cannotBeRanked = 2;
|
|
1128
1397
|
optional bool canRequestFeedback = 3;
|
|
1129
1398
|
optional bool canBeReshared = 4;
|
|
1399
|
+
optional bool canReceiveMultiReact = 5;
|
|
1130
1400
|
}
|
|
1131
1401
|
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1402
|
+
enum ForwardOrigin {
|
|
1403
|
+
UNKNOWN = 0;
|
|
1404
|
+
CHAT = 1;
|
|
1405
|
+
STATUS = 2;
|
|
1406
|
+
CHANNELS = 3;
|
|
1407
|
+
META_AI = 4;
|
|
1408
|
+
UGC = 5;
|
|
1136
1409
|
}
|
|
1137
|
-
|
|
1138
1410
|
message ForwardedNewsletterMessageInfo {
|
|
1139
1411
|
optional string newsletterJid = 1;
|
|
1140
1412
|
optional int32 serverMessageId = 2;
|
|
@@ -1156,12 +1428,34 @@ message ContextInfo {
|
|
|
1156
1428
|
HD_IMAGE_CHILD = 4;
|
|
1157
1429
|
MOTION_PHOTO_PARENT = 5;
|
|
1158
1430
|
MOTION_PHOTO_CHILD = 6;
|
|
1431
|
+
HEVC_VIDEO_PARENT = 7;
|
|
1432
|
+
HEVC_VIDEO_CHILD = 8;
|
|
1433
|
+
}
|
|
1434
|
+
message QuestionReplyQuotedMessage {
|
|
1435
|
+
optional int32 serverQuestionId = 1;
|
|
1436
|
+
optional Message quotedQuestion = 2;
|
|
1437
|
+
optional Message quotedResponse = 3;
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
enum QuotedType {
|
|
1441
|
+
EXPLICIT = 0;
|
|
1442
|
+
AUTO = 1;
|
|
1159
1443
|
}
|
|
1160
1444
|
enum StatusAttributionType {
|
|
1161
1445
|
NONE = 0;
|
|
1162
1446
|
RESHARED_FROM_MENTION = 1;
|
|
1163
1447
|
RESHARED_FROM_POST = 2;
|
|
1448
|
+
RESHARED_FROM_POST_MANY_TIMES = 3;
|
|
1449
|
+
FORWARDED_FROM_STATUS = 4;
|
|
1450
|
+
}
|
|
1451
|
+
message StatusAudienceMetadata {
|
|
1452
|
+
optional AudienceType audienceType = 1;
|
|
1453
|
+
enum AudienceType {
|
|
1454
|
+
UNKNOWN = 0;
|
|
1455
|
+
CLOSE_FRIENDS = 1;
|
|
1456
|
+
}
|
|
1164
1457
|
}
|
|
1458
|
+
|
|
1165
1459
|
enum StatusSourceType {
|
|
1166
1460
|
IMAGE = 0;
|
|
1167
1461
|
VIDEO = 1;
|
|
@@ -1178,7 +1472,7 @@ message ContextInfo {
|
|
|
1178
1472
|
}
|
|
1179
1473
|
|
|
1180
1474
|
message Conversation {
|
|
1181
|
-
|
|
1475
|
+
string id = 1;
|
|
1182
1476
|
repeated HistorySyncMsg messages = 2;
|
|
1183
1477
|
optional string newJid = 3;
|
|
1184
1478
|
optional string oldJid = 4;
|
|
@@ -1231,6 +1525,7 @@ message Conversation {
|
|
|
1231
1525
|
optional int64 limitSharingSettingTimestamp = 51;
|
|
1232
1526
|
optional LimitSharing.TriggerType limitSharingTrigger = 52;
|
|
1233
1527
|
optional bool limitSharingInitiatedByMe = 53;
|
|
1528
|
+
optional bool maibaAiThreadEnabled = 54;
|
|
1234
1529
|
enum EndOfHistoryTransferType {
|
|
1235
1530
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
1236
1531
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
@@ -1241,6 +1536,13 @@ message Conversation {
|
|
|
1241
1536
|
message DeviceCapabilities {
|
|
1242
1537
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
1243
1538
|
optional LIDMigration lidMigration = 2;
|
|
1539
|
+
optional BusinessBroadcast businessBroadcast = 3;
|
|
1540
|
+
optional UserHasAvatar userHasAvatar = 4;
|
|
1541
|
+
optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
|
|
1542
|
+
message BusinessBroadcast {
|
|
1543
|
+
optional bool importListEnabled = 1;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1244
1546
|
enum ChatLockSupportLevel {
|
|
1245
1547
|
NONE = 0;
|
|
1246
1548
|
MINIMAL = 1;
|
|
@@ -1250,6 +1552,15 @@ message DeviceCapabilities {
|
|
|
1250
1552
|
optional uint64 chatDbMigrationTimestamp = 1;
|
|
1251
1553
|
}
|
|
1252
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
|
+
|
|
1253
1564
|
}
|
|
1254
1565
|
|
|
1255
1566
|
message DeviceConsistencyCodeMessage {
|
|
@@ -1297,6 +1608,11 @@ message DeviceProps {
|
|
|
1297
1608
|
optional bool supportFbidBotChatHistory = 12;
|
|
1298
1609
|
optional bool supportAddOnHistorySyncMigration = 13;
|
|
1299
1610
|
optional bool supportMessageAssociation = 14;
|
|
1611
|
+
optional bool supportGroupHistory = 15;
|
|
1612
|
+
optional bool onDemandReady = 16;
|
|
1613
|
+
optional bool supportGuestChat = 17;
|
|
1614
|
+
optional bool completeOnDemandReady = 18;
|
|
1615
|
+
optional uint32 thumbnailSyncDaysLimit = 19;
|
|
1300
1616
|
}
|
|
1301
1617
|
|
|
1302
1618
|
enum PlatformType {
|
|
@@ -1369,10 +1685,13 @@ message EmbeddedMusic {
|
|
|
1369
1685
|
optional string artworkDirectPath = 5;
|
|
1370
1686
|
optional bytes artworkSha256 = 6;
|
|
1371
1687
|
optional bytes artworkEncSha256 = 7;
|
|
1372
|
-
optional bytes artworkMediaKey = 11;
|
|
1373
1688
|
optional string artistAttribution = 8;
|
|
1374
1689
|
optional bytes countryBlocklist = 9;
|
|
1375
1690
|
optional bool isExplicit = 10;
|
|
1691
|
+
optional bytes artworkMediaKey = 11;
|
|
1692
|
+
optional int64 musicSongStartTimeInMs = 12;
|
|
1693
|
+
optional int64 derivedContentStartTimeInMs = 13;
|
|
1694
|
+
optional int64 overlapDurationInMs = 14;
|
|
1376
1695
|
}
|
|
1377
1696
|
|
|
1378
1697
|
message EncryptedPairingRequest {
|
|
@@ -1418,6 +1737,12 @@ message Field {
|
|
|
1418
1737
|
map<uint32, Field> subfield = 5;
|
|
1419
1738
|
}
|
|
1420
1739
|
|
|
1740
|
+
message ForwardedAIBotMessageInfo {
|
|
1741
|
+
optional string botName = 1;
|
|
1742
|
+
optional string botJid = 2;
|
|
1743
|
+
optional string creatorName = 3;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1421
1746
|
message GlobalSettings {
|
|
1422
1747
|
optional WallpaperSettings lightThemeWallpaper = 1;
|
|
1423
1748
|
optional MediaVisibility mediaVisibility = 2;
|
|
@@ -1441,14 +1766,32 @@ message GlobalSettings {
|
|
|
1441
1766
|
optional int64 chatDbLidMigrationTimestamp = 20;
|
|
1442
1767
|
}
|
|
1443
1768
|
|
|
1769
|
+
message GroupHistoryBundleInfo {
|
|
1770
|
+
optional Message.MessageHistoryBundle deprecatedMessageHistoryBundle = 1;
|
|
1771
|
+
optional ProcessState processState = 2;
|
|
1772
|
+
enum ProcessState {
|
|
1773
|
+
NOT_INJECTED = 0;
|
|
1774
|
+
INJECTED = 1;
|
|
1775
|
+
INJECTED_PARTIAL = 2;
|
|
1776
|
+
INJECTION_FAILED = 3;
|
|
1777
|
+
INJECTION_FAILED_NO_RETRY = 4;
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
message GroupHistoryIndividualMessageInfo {
|
|
1782
|
+
optional MessageKey bundleMessageKey = 1;
|
|
1783
|
+
optional bool editedAfterReceivedAsHistory = 2;
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1444
1786
|
message GroupMention {
|
|
1445
1787
|
optional string groupJid = 1;
|
|
1446
1788
|
optional string groupSubject = 2;
|
|
1447
1789
|
}
|
|
1448
1790
|
|
|
1449
1791
|
message GroupParticipant {
|
|
1450
|
-
|
|
1792
|
+
string userJid = 1;
|
|
1451
1793
|
optional Rank rank = 2;
|
|
1794
|
+
optional MemberLabel memberLabel = 3;
|
|
1452
1795
|
enum Rank {
|
|
1453
1796
|
REGULAR = 0;
|
|
1454
1797
|
ADMIN = 1;
|
|
@@ -1463,24 +1806,28 @@ message HandshakeMessage {
|
|
|
1463
1806
|
message ClientFinish {
|
|
1464
1807
|
optional bytes static = 1;
|
|
1465
1808
|
optional bytes payload = 2;
|
|
1809
|
+
optional bytes extendedCiphertext = 3;
|
|
1466
1810
|
}
|
|
1467
1811
|
|
|
1468
1812
|
message ClientHello {
|
|
1469
1813
|
optional bytes ephemeral = 1;
|
|
1470
1814
|
optional bytes static = 2;
|
|
1471
1815
|
optional bytes payload = 3;
|
|
1816
|
+
optional bool useExtended = 4;
|
|
1817
|
+
optional bytes extendedCiphertext = 5;
|
|
1472
1818
|
}
|
|
1473
1819
|
|
|
1474
1820
|
message ServerHello {
|
|
1475
1821
|
optional bytes ephemeral = 1;
|
|
1476
1822
|
optional bytes static = 2;
|
|
1477
1823
|
optional bytes payload = 3;
|
|
1824
|
+
optional bytes extendedStatic = 4;
|
|
1478
1825
|
}
|
|
1479
1826
|
|
|
1480
1827
|
}
|
|
1481
1828
|
|
|
1482
1829
|
message HistorySync {
|
|
1483
|
-
|
|
1830
|
+
HistorySyncType syncType = 1;
|
|
1484
1831
|
repeated Conversation conversations = 2;
|
|
1485
1832
|
repeated WebMessageInfo statusV3Messages = 3;
|
|
1486
1833
|
optional uint32 chunkOrder = 5;
|
|
@@ -1553,6 +1900,43 @@ message IdentityKeyPairStructure {
|
|
|
1553
1900
|
optional bytes privateKey = 2;
|
|
1554
1901
|
}
|
|
1555
1902
|
|
|
1903
|
+
message InThreadSurveyMetadata {
|
|
1904
|
+
optional string tessaSessionId = 1;
|
|
1905
|
+
optional string simonSessionId = 2;
|
|
1906
|
+
optional string simonSurveyId = 3;
|
|
1907
|
+
optional string tessaRootId = 4;
|
|
1908
|
+
optional string requestId = 5;
|
|
1909
|
+
optional string tessaEvent = 6;
|
|
1910
|
+
optional string invitationHeaderText = 7;
|
|
1911
|
+
optional string invitationBodyText = 8;
|
|
1912
|
+
optional string invitationCtaText = 9;
|
|
1913
|
+
optional string invitationCtaUrl = 10;
|
|
1914
|
+
optional string surveyTitle = 11;
|
|
1915
|
+
repeated InThreadSurveyQuestion questions = 12;
|
|
1916
|
+
optional string surveyContinueButtonText = 13;
|
|
1917
|
+
optional string surveySubmitButtonText = 14;
|
|
1918
|
+
optional string privacyStatementFull = 15;
|
|
1919
|
+
repeated InThreadSurveyPrivacyStatementPart privacyStatementParts = 16;
|
|
1920
|
+
optional string feedbackToastText = 17;
|
|
1921
|
+
message InThreadSurveyOption {
|
|
1922
|
+
optional string stringValue = 1;
|
|
1923
|
+
optional uint32 numericValue = 2;
|
|
1924
|
+
optional string textTranslated = 3;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
message InThreadSurveyPrivacyStatementPart {
|
|
1928
|
+
optional string text = 1;
|
|
1929
|
+
optional string url = 2;
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
message InThreadSurveyQuestion {
|
|
1933
|
+
optional string questionText = 1;
|
|
1934
|
+
optional string questionId = 2;
|
|
1935
|
+
repeated InThreadSurveyMetadata.InThreadSurveyOption questionOptions = 3;
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1556
1940
|
message InteractiveAnnotation {
|
|
1557
1941
|
repeated Point polygonVertices = 1;
|
|
1558
1942
|
optional bool shouldSkipConfirmation = 4;
|
|
@@ -1571,6 +1955,10 @@ message InteractiveAnnotation {
|
|
|
1571
1955
|
}
|
|
1572
1956
|
}
|
|
1573
1957
|
|
|
1958
|
+
message InteractiveMessageAdditionalMetadata {
|
|
1959
|
+
optional bool isGalaxyFlowCompleted = 1;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1574
1962
|
message KeepInChat {
|
|
1575
1963
|
optional KeepType keepType = 1;
|
|
1576
1964
|
optional int64 serverTimestamp = 2;
|
|
@@ -1598,8 +1986,8 @@ message KeyId {
|
|
|
1598
1986
|
}
|
|
1599
1987
|
|
|
1600
1988
|
message LIDMigrationMapping {
|
|
1601
|
-
|
|
1602
|
-
|
|
1989
|
+
uint64 pn = 1;
|
|
1990
|
+
uint64 assignedLid = 2;
|
|
1603
1991
|
optional uint64 latestLid = 3;
|
|
1604
1992
|
}
|
|
1605
1993
|
|
|
@@ -1753,7 +2141,6 @@ message Message {
|
|
|
1753
2141
|
optional FutureProofMessage associatedChildMessage = 91;
|
|
1754
2142
|
optional FutureProofMessage groupStatusMentionMessage = 92;
|
|
1755
2143
|
optional FutureProofMessage pollCreationMessageV4 = 93;
|
|
1756
|
-
optional FutureProofMessage pollCreationMessageV5 = 94;
|
|
1757
2144
|
optional FutureProofMessage statusAddYours = 95;
|
|
1758
2145
|
optional FutureProofMessage groupStatusMessage = 96;
|
|
1759
2146
|
optional AIRichResponseMessage richResponseMessage = 97;
|
|
@@ -1762,6 +2149,16 @@ message Message {
|
|
|
1762
2149
|
optional FutureProofMessage botTaskMessage = 100;
|
|
1763
2150
|
optional FutureProofMessage questionMessage = 101;
|
|
1764
2151
|
optional MessageHistoryNotice messageHistoryNotice = 102;
|
|
2152
|
+
optional FutureProofMessage groupStatusMessageV2 = 103;
|
|
2153
|
+
optional FutureProofMessage botForwardedMessage = 104;
|
|
2154
|
+
optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
|
|
2155
|
+
optional FutureProofMessage questionReplyMessage = 106;
|
|
2156
|
+
optional QuestionResponseMessage questionResponseMessage = 107;
|
|
2157
|
+
optional StatusQuotedMessage statusQuotedMessage = 109;
|
|
2158
|
+
optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
|
|
2159
|
+
optional PollCreationMessage pollCreationMessageV5 = 111;
|
|
2160
|
+
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
|
|
2161
|
+
optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 114;
|
|
1765
2162
|
message AlbumMessage {
|
|
1766
2163
|
optional uint32 expectedImageCount = 2;
|
|
1767
2164
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -1819,6 +2216,7 @@ message Message {
|
|
|
1819
2216
|
optional fixed32 backgroundArgb = 20;
|
|
1820
2217
|
optional bool viewOnce = 21;
|
|
1821
2218
|
optional string accessibilityLabel = 22;
|
|
2219
|
+
optional Message.MediaKeyDomain mediaKeyDomain = 23;
|
|
1822
2220
|
}
|
|
1823
2221
|
|
|
1824
2222
|
message BCallMessage {
|
|
@@ -1833,47 +2231,6 @@ message Message {
|
|
|
1833
2231
|
}
|
|
1834
2232
|
}
|
|
1835
2233
|
|
|
1836
|
-
message BotFeedbackMessage {
|
|
1837
|
-
optional MessageKey messageKey = 1;
|
|
1838
|
-
optional BotFeedbackKind kind = 2;
|
|
1839
|
-
optional string text = 3;
|
|
1840
|
-
optional uint64 kindNegative = 4;
|
|
1841
|
-
optional uint64 kindPositive = 5;
|
|
1842
|
-
optional ReportKind kindReport = 6;
|
|
1843
|
-
enum BotFeedbackKind {
|
|
1844
|
-
BOT_FEEDBACK_POSITIVE = 0;
|
|
1845
|
-
BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
|
|
1846
|
-
BOT_FEEDBACK_NEGATIVE_HELPFUL = 2;
|
|
1847
|
-
BOT_FEEDBACK_NEGATIVE_INTERESTING = 3;
|
|
1848
|
-
BOT_FEEDBACK_NEGATIVE_ACCURATE = 4;
|
|
1849
|
-
BOT_FEEDBACK_NEGATIVE_SAFE = 5;
|
|
1850
|
-
BOT_FEEDBACK_NEGATIVE_OTHER = 6;
|
|
1851
|
-
BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
|
|
1852
|
-
BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
|
|
1853
|
-
BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
|
|
1854
|
-
BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10;
|
|
1855
|
-
BOT_FEEDBACK_NEGATIVE_CLARITY = 11;
|
|
1856
|
-
BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12;
|
|
1857
|
-
}
|
|
1858
|
-
enum BotFeedbackKindMultipleNegative {
|
|
1859
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
|
|
1860
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2;
|
|
1861
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4;
|
|
1862
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8;
|
|
1863
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16;
|
|
1864
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32;
|
|
1865
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64;
|
|
1866
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128;
|
|
1867
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256;
|
|
1868
|
-
}
|
|
1869
|
-
enum BotFeedbackKindMultiplePositive {
|
|
1870
|
-
BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
|
|
1871
|
-
}
|
|
1872
|
-
enum ReportKind {
|
|
1873
|
-
GENERIC = 0;
|
|
1874
|
-
}
|
|
1875
|
-
}
|
|
1876
|
-
|
|
1877
2234
|
message ButtonsMessage {
|
|
1878
2235
|
optional string contentText = 6;
|
|
1879
2236
|
optional string footerText = 7;
|
|
@@ -1940,6 +2297,8 @@ message Message {
|
|
|
1940
2297
|
optional string ctwaSignals = 5;
|
|
1941
2298
|
optional bytes ctwaPayload = 6;
|
|
1942
2299
|
optional ContextInfo contextInfo = 7;
|
|
2300
|
+
optional string nativeFlowCallButtonPayload = 8;
|
|
2301
|
+
optional string deeplinkPayload = 9;
|
|
1943
2302
|
}
|
|
1944
2303
|
|
|
1945
2304
|
message CallLogMessage {
|
|
@@ -1985,6 +2344,7 @@ message Message {
|
|
|
1985
2344
|
optional string consumerLid = 3;
|
|
1986
2345
|
optional string consumerPhoneNumber = 4;
|
|
1987
2346
|
optional CloudAPIThreadControlNotificationContent notificationContent = 5;
|
|
2347
|
+
optional bool shouldSuppressNotification = 6;
|
|
1988
2348
|
enum CloudAPIThreadControl {
|
|
1989
2349
|
UNKNOWN = 0;
|
|
1990
2350
|
CONTROL_PASSED = 1;
|
|
@@ -2046,6 +2406,7 @@ message Message {
|
|
|
2046
2406
|
optional uint32 thumbnailWidth = 19;
|
|
2047
2407
|
optional string caption = 20;
|
|
2048
2408
|
optional string accessibilityLabel = 21;
|
|
2409
|
+
optional Message.MediaKeyDomain mediaKeyDomain = 22;
|
|
2049
2410
|
}
|
|
2050
2411
|
|
|
2051
2412
|
message EncCommentMessage {
|
|
@@ -2077,6 +2438,8 @@ message Message {
|
|
|
2077
2438
|
optional int64 endTime = 8;
|
|
2078
2439
|
optional bool extraGuestsAllowed = 9;
|
|
2079
2440
|
optional bool isScheduleCall = 10;
|
|
2441
|
+
optional bool hasReminder = 11;
|
|
2442
|
+
optional int64 reminderOffsetSec = 12;
|
|
2080
2443
|
}
|
|
2081
2444
|
|
|
2082
2445
|
message EventResponseMessage {
|
|
@@ -2120,6 +2483,10 @@ message Message {
|
|
|
2120
2483
|
optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
|
|
2121
2484
|
optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
|
|
2122
2485
|
optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
|
|
2486
|
+
repeated Message.VideoEndCard endCardTiles = 36;
|
|
2487
|
+
optional string videoContentUrl = 37;
|
|
2488
|
+
optional EmbeddedMusic musicMetadata = 38;
|
|
2489
|
+
optional Message.PaymentExtendedMetadata paymentExtendedMetadata = 39;
|
|
2123
2490
|
enum FontType {
|
|
2124
2491
|
SYSTEM = 0;
|
|
2125
2492
|
SYSTEM_TEXT = 1;
|
|
@@ -2228,13 +2595,17 @@ message Message {
|
|
|
2228
2595
|
|
|
2229
2596
|
}
|
|
2230
2597
|
|
|
2598
|
+
message HistorySyncMessageAccessStatus {
|
|
2599
|
+
optional bool completeAccessGranted = 1;
|
|
2600
|
+
}
|
|
2601
|
+
|
|
2231
2602
|
message HistorySyncNotification {
|
|
2232
2603
|
optional bytes fileSha256 = 1;
|
|
2233
2604
|
optional uint64 fileLength = 2;
|
|
2234
2605
|
optional bytes mediaKey = 3;
|
|
2235
2606
|
optional bytes fileEncSha256 = 4;
|
|
2236
2607
|
optional string directPath = 5;
|
|
2237
|
-
optional HistorySyncType syncType = 6;
|
|
2608
|
+
optional Message.HistorySyncType syncType = 6;
|
|
2238
2609
|
optional uint32 chunkOrder = 7;
|
|
2239
2610
|
optional string originalMessageId = 8;
|
|
2240
2611
|
optional uint32 progress = 9;
|
|
@@ -2243,18 +2614,20 @@ message Message {
|
|
|
2243
2614
|
optional string peerDataRequestSessionId = 12;
|
|
2244
2615
|
optional Message.FullHistorySyncOnDemandRequestMetadata fullHistorySyncOnDemandRequestMetadata = 13;
|
|
2245
2616
|
optional string encHandle = 14;
|
|
2246
|
-
|
|
2247
|
-
INITIAL_BOOTSTRAP = 0;
|
|
2248
|
-
INITIAL_STATUS_V3 = 1;
|
|
2249
|
-
FULL = 2;
|
|
2250
|
-
RECENT = 3;
|
|
2251
|
-
PUSH_NAME = 4;
|
|
2252
|
-
NON_BLOCKING_DATA = 5;
|
|
2253
|
-
ON_DEMAND = 6;
|
|
2254
|
-
NO_HISTORY = 7;
|
|
2255
|
-
}
|
|
2617
|
+
optional Message.HistorySyncMessageAccessStatus messageAccessStatus = 15;
|
|
2256
2618
|
}
|
|
2257
2619
|
|
|
2620
|
+
enum HistorySyncType {
|
|
2621
|
+
INITIAL_BOOTSTRAP = 0;
|
|
2622
|
+
INITIAL_STATUS_V3 = 1;
|
|
2623
|
+
FULL = 2;
|
|
2624
|
+
RECENT = 3;
|
|
2625
|
+
PUSH_NAME = 4;
|
|
2626
|
+
NON_BLOCKING_DATA = 5;
|
|
2627
|
+
ON_DEMAND = 6;
|
|
2628
|
+
NO_HISTORY = 7;
|
|
2629
|
+
MESSAGE_ACCESS_STATUS = 8;
|
|
2630
|
+
}
|
|
2258
2631
|
message ImageMessage {
|
|
2259
2632
|
optional string url = 1;
|
|
2260
2633
|
optional string mimetype = 2;
|
|
@@ -2285,6 +2658,8 @@ message Message {
|
|
|
2285
2658
|
repeated InteractiveAnnotation annotations = 30;
|
|
2286
2659
|
optional ImageSourceType imageSourceType = 31;
|
|
2287
2660
|
optional string accessibilityLabel = 32;
|
|
2661
|
+
optional Message.MediaKeyDomain mediaKeyDomain = 33;
|
|
2662
|
+
optional string qrUrl = 34;
|
|
2288
2663
|
enum ImageSourceType {
|
|
2289
2664
|
USER_IMAGE = 0;
|
|
2290
2665
|
AI_GENERATED = 1;
|
|
@@ -2316,6 +2691,12 @@ message Message {
|
|
|
2316
2691
|
message CarouselMessage {
|
|
2317
2692
|
repeated Message.InteractiveMessage cards = 1;
|
|
2318
2693
|
optional int32 messageVersion = 2;
|
|
2694
|
+
optional CarouselCardType carouselCardType = 3;
|
|
2695
|
+
enum CarouselCardType {
|
|
2696
|
+
UNKNOWN = 0;
|
|
2697
|
+
HSCROLL_CARDS = 1;
|
|
2698
|
+
ALBUM_IMAGE = 2;
|
|
2699
|
+
}
|
|
2319
2700
|
}
|
|
2320
2701
|
|
|
2321
2702
|
message CollectionMessage {
|
|
@@ -2326,6 +2707,10 @@ message Message {
|
|
|
2326
2707
|
|
|
2327
2708
|
message Footer {
|
|
2328
2709
|
optional string text = 1;
|
|
2710
|
+
optional bool hasMediaAttachment = 3;
|
|
2711
|
+
oneof media {
|
|
2712
|
+
Message.AudioMessage audioMessage = 2;
|
|
2713
|
+
}
|
|
2329
2714
|
}
|
|
2330
2715
|
|
|
2331
2716
|
message Header {
|
|
@@ -2417,6 +2802,20 @@ message Message {
|
|
|
2417
2802
|
optional Message.PaymentLinkMetadata paymentLinkMetadata = 1;
|
|
2418
2803
|
optional Message.URLMetadata urlMetadata = 2;
|
|
2419
2804
|
optional uint32 fbExperimentId = 3;
|
|
2805
|
+
optional uint32 linkMediaDuration = 4;
|
|
2806
|
+
optional SocialMediaPostType socialMediaPostType = 5;
|
|
2807
|
+
optional bool linkInlineVideoMuted = 6;
|
|
2808
|
+
optional string videoContentUrl = 7;
|
|
2809
|
+
optional EmbeddedMusic musicMetadata = 8;
|
|
2810
|
+
optional string videoContentCaption = 9;
|
|
2811
|
+
enum SocialMediaPostType {
|
|
2812
|
+
NONE = 0;
|
|
2813
|
+
REEL = 1;
|
|
2814
|
+
LIVE_VIDEO = 2;
|
|
2815
|
+
LONG_VIDEO = 3;
|
|
2816
|
+
SINGLE_IMAGE = 4;
|
|
2817
|
+
CAROUSEL = 5;
|
|
2818
|
+
}
|
|
2420
2819
|
}
|
|
2421
2820
|
|
|
2422
2821
|
message ListMessage {
|
|
@@ -2518,8 +2917,16 @@ message Message {
|
|
|
2518
2917
|
optional int64 mediaKeyTimestamp = 5;
|
|
2519
2918
|
optional uint32 thumbnailHeight = 6;
|
|
2520
2919
|
optional uint32 thumbnailWidth = 7;
|
|
2920
|
+
optional Message.MediaKeyDomain mediaKeyDomain = 8;
|
|
2521
2921
|
}
|
|
2522
2922
|
|
|
2923
|
+
enum MediaKeyDomain {
|
|
2924
|
+
UNSET = 0;
|
|
2925
|
+
E2EE_CHAT = 1;
|
|
2926
|
+
STATUS = 2;
|
|
2927
|
+
CAPI = 3;
|
|
2928
|
+
BOT = 4;
|
|
2929
|
+
}
|
|
2523
2930
|
message MessageHistoryBundle {
|
|
2524
2931
|
optional string mimetype = 1;
|
|
2525
2932
|
optional bytes fileSha256 = 2;
|
|
@@ -2533,7 +2940,7 @@ message Message {
|
|
|
2533
2940
|
|
|
2534
2941
|
message MessageHistoryMetadata {
|
|
2535
2942
|
repeated string historyReceivers = 1;
|
|
2536
|
-
optional int64
|
|
2943
|
+
optional int64 oldestMessageTimestamp = 2;
|
|
2537
2944
|
optional int64 messageCount = 3;
|
|
2538
2945
|
}
|
|
2539
2946
|
|
|
@@ -2551,6 +2958,14 @@ message Message {
|
|
|
2551
2958
|
optional ContextInfo contextInfo = 6;
|
|
2552
2959
|
}
|
|
2553
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
|
+
|
|
2554
2969
|
message OrderMessage {
|
|
2555
2970
|
optional string orderId = 1;
|
|
2556
2971
|
optional bytes thumbnail = 2;
|
|
@@ -2577,6 +2992,12 @@ message Message {
|
|
|
2577
2992
|
}
|
|
2578
2993
|
}
|
|
2579
2994
|
|
|
2995
|
+
message PaymentExtendedMetadata {
|
|
2996
|
+
optional uint32 type = 1;
|
|
2997
|
+
optional string platform = 2;
|
|
2998
|
+
optional string messageParamsJson = 3;
|
|
2999
|
+
}
|
|
3000
|
+
|
|
2580
3001
|
message PaymentInviteMessage {
|
|
2581
3002
|
optional ServiceType serviceType = 1;
|
|
2582
3003
|
optional int64 expiryTimestamp = 2;
|
|
@@ -2591,6 +3012,7 @@ message Message {
|
|
|
2591
3012
|
message PaymentLinkMetadata {
|
|
2592
3013
|
optional PaymentLinkButton button = 1;
|
|
2593
3014
|
optional PaymentLinkHeader header = 2;
|
|
3015
|
+
optional PaymentLinkProvider provider = 3;
|
|
2594
3016
|
message PaymentLinkButton {
|
|
2595
3017
|
optional string displayText = 1;
|
|
2596
3018
|
}
|
|
@@ -2603,6 +3025,10 @@ message Message {
|
|
|
2603
3025
|
}
|
|
2604
3026
|
}
|
|
2605
3027
|
|
|
3028
|
+
message PaymentLinkProvider {
|
|
3029
|
+
optional string paramsJson = 1;
|
|
3030
|
+
}
|
|
3031
|
+
|
|
2606
3032
|
}
|
|
2607
3033
|
|
|
2608
3034
|
message PeerDataOperationRequestMessage {
|
|
@@ -2613,11 +3039,29 @@ message Message {
|
|
|
2613
3039
|
repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
|
|
2614
3040
|
optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
|
|
2615
3041
|
optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7;
|
|
3042
|
+
optional HistorySyncChunkRetryRequest historySyncChunkRetryRequest = 8;
|
|
3043
|
+
optional GalaxyFlowAction galaxyFlowAction = 9;
|
|
2616
3044
|
message FullHistorySyncOnDemandRequest {
|
|
2617
3045
|
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
|
2618
3046
|
optional DeviceProps.HistorySyncConfig historySyncConfig = 2;
|
|
2619
3047
|
}
|
|
2620
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
|
+
|
|
2621
3065
|
message HistorySyncOnDemandRequest {
|
|
2622
3066
|
optional string chatJid = 1;
|
|
2623
3067
|
optional string oldestMsgId = 2;
|
|
@@ -2660,6 +3104,14 @@ message Message {
|
|
|
2660
3104
|
optional FullHistorySyncOnDemandRequestResponse fullHistorySyncOnDemandRequestResponse = 6;
|
|
2661
3105
|
optional CompanionMetaNonceFetchResponse companionMetaNonceFetchRequestResponse = 7;
|
|
2662
3106
|
optional SyncDSnapshotFatalRecoveryResponse syncdSnapshotFatalRecoveryResponse = 8;
|
|
3107
|
+
optional CompanionCanonicalUserNonceFetchResponse companionCanonicalUserNonceFetchRequestResponse = 9;
|
|
3108
|
+
optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
|
|
3109
|
+
message CompanionCanonicalUserNonceFetchResponse {
|
|
3110
|
+
optional string nonce = 1;
|
|
3111
|
+
optional string waFbid = 2;
|
|
3112
|
+
optional bool forceRefresh = 3;
|
|
3113
|
+
}
|
|
3114
|
+
|
|
2663
3115
|
message CompanionMetaNonceFetchResponse {
|
|
2664
3116
|
optional string nonce = 1;
|
|
2665
3117
|
}
|
|
@@ -2678,6 +3130,22 @@ message Message {
|
|
|
2678
3130
|
ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5;
|
|
2679
3131
|
ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6;
|
|
2680
3132
|
}
|
|
3133
|
+
message HistorySyncChunkRetryResponse {
|
|
3134
|
+
optional Message.HistorySyncType syncType = 1;
|
|
3135
|
+
optional uint32 chunkOrder = 2;
|
|
3136
|
+
optional string requestId = 3;
|
|
3137
|
+
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponseCode responseCode = 4;
|
|
3138
|
+
optional bool canRecover = 5;
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3141
|
+
enum HistorySyncChunkRetryResponseCode {
|
|
3142
|
+
GENERATION_ERROR = 1;
|
|
3143
|
+
CHUNK_CONSUMED = 2;
|
|
3144
|
+
TIMEOUT = 3;
|
|
3145
|
+
SESSION_EXHAUSTED = 4;
|
|
3146
|
+
CHUNK_EXHAUSTED = 5;
|
|
3147
|
+
DUPLICATED_REQUEST = 6;
|
|
3148
|
+
}
|
|
2681
3149
|
message LinkPreviewResponse {
|
|
2682
3150
|
optional string url = 1;
|
|
2683
3151
|
optional string title = 2;
|
|
@@ -2686,6 +3154,7 @@ message Message {
|
|
|
2686
3154
|
optional string matchText = 6;
|
|
2687
3155
|
optional string previewType = 7;
|
|
2688
3156
|
optional LinkPreviewHighQualityThumbnail hqThumbnail = 8;
|
|
3157
|
+
optional PaymentLinkPreviewMetadata previewMetadata = 9;
|
|
2689
3158
|
message LinkPreviewHighQualityThumbnail {
|
|
2690
3159
|
optional string directPath = 1;
|
|
2691
3160
|
optional string thumbHash = 2;
|
|
@@ -2696,6 +3165,11 @@ message Message {
|
|
|
2696
3165
|
optional int32 thumbHeight = 7;
|
|
2697
3166
|
}
|
|
2698
3167
|
|
|
3168
|
+
message PaymentLinkPreviewMetadata {
|
|
3169
|
+
optional bool isBusinessVerified = 1;
|
|
3170
|
+
optional string providerName = 2;
|
|
3171
|
+
}
|
|
3172
|
+
|
|
2699
3173
|
}
|
|
2700
3174
|
|
|
2701
3175
|
message PlaceholderMessageResendResponse {
|
|
@@ -2726,6 +3200,9 @@ message Message {
|
|
|
2726
3200
|
FULL_HISTORY_SYNC_ON_DEMAND = 6;
|
|
2727
3201
|
COMPANION_META_NONCE_FETCH = 7;
|
|
2728
3202
|
COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8;
|
|
3203
|
+
COMPANION_CANONICAL_USER_NONCE_FETCH = 9;
|
|
3204
|
+
HISTORY_SYNC_CHUNK_RETRY = 10;
|
|
3205
|
+
GALAXY_FLOW_ACTION = 11;
|
|
2729
3206
|
}
|
|
2730
3207
|
message PinInChatMessage {
|
|
2731
3208
|
optional MessageKey key = 1;
|
|
@@ -2757,17 +3234,13 @@ message Message {
|
|
|
2757
3234
|
optional uint32 selectableOptionsCount = 4;
|
|
2758
3235
|
optional ContextInfo contextInfo = 5;
|
|
2759
3236
|
optional Message.PollContentType pollContentType = 6;
|
|
2760
|
-
optional PollType pollType = 7;
|
|
3237
|
+
optional Message.PollType pollType = 7;
|
|
2761
3238
|
optional Option correctAnswer = 8;
|
|
2762
3239
|
message Option {
|
|
2763
3240
|
optional string optionName = 1;
|
|
2764
3241
|
optional string optionHash = 2;
|
|
2765
3242
|
}
|
|
2766
3243
|
|
|
2767
|
-
enum PollType {
|
|
2768
|
-
POLL = 0;
|
|
2769
|
-
QUIZ = 1;
|
|
2770
|
-
}
|
|
2771
3244
|
}
|
|
2772
3245
|
|
|
2773
3246
|
message PollEncValue {
|
|
@@ -2779,6 +3252,7 @@ message Message {
|
|
|
2779
3252
|
optional string name = 1;
|
|
2780
3253
|
repeated PollVote pollVotes = 2;
|
|
2781
3254
|
optional ContextInfo contextInfo = 3;
|
|
3255
|
+
optional Message.PollType pollType = 4;
|
|
2782
3256
|
message PollVote {
|
|
2783
3257
|
optional string optionName = 1;
|
|
2784
3258
|
optional int64 optionVoteCount = 2;
|
|
@@ -2786,6 +3260,10 @@ message Message {
|
|
|
2786
3260
|
|
|
2787
3261
|
}
|
|
2788
3262
|
|
|
3263
|
+
enum PollType {
|
|
3264
|
+
POLL = 0;
|
|
3265
|
+
QUIZ = 1;
|
|
3266
|
+
}
|
|
2789
3267
|
message PollUpdateMessage {
|
|
2790
3268
|
optional MessageKey pollCreationMessageKey = 1;
|
|
2791
3269
|
optional Message.PollEncValue vote = 2;
|
|
@@ -2845,7 +3323,7 @@ message Message {
|
|
|
2845
3323
|
optional int64 timestampMs = 15;
|
|
2846
3324
|
optional Message.PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16;
|
|
2847
3325
|
optional Message.PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17;
|
|
2848
|
-
optional
|
|
3326
|
+
optional BotFeedbackMessage botFeedbackMessage = 18;
|
|
2849
3327
|
optional string invokerJid = 19;
|
|
2850
3328
|
optional Message.RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20;
|
|
2851
3329
|
optional MediaNotifyMessage mediaNotifyMessage = 21;
|
|
@@ -2885,6 +3363,11 @@ message Message {
|
|
|
2885
3363
|
}
|
|
2886
3364
|
}
|
|
2887
3365
|
|
|
3366
|
+
message QuestionResponseMessage {
|
|
3367
|
+
optional MessageKey key = 1;
|
|
3368
|
+
optional string text = 2;
|
|
3369
|
+
}
|
|
3370
|
+
|
|
2888
3371
|
message ReactionMessage {
|
|
2889
3372
|
optional MessageKey key = 1;
|
|
2890
3373
|
optional string text = 2;
|
|
@@ -2950,6 +3433,7 @@ message Message {
|
|
|
2950
3433
|
optional Message noteMessage = 2;
|
|
2951
3434
|
optional MessageKey requestMessageKey = 3;
|
|
2952
3435
|
optional PaymentBackground background = 4;
|
|
3436
|
+
optional string transactionData = 5;
|
|
2953
3437
|
}
|
|
2954
3438
|
|
|
2955
3439
|
message SenderKeyDistributionMessage {
|
|
@@ -2965,6 +3449,32 @@ message Message {
|
|
|
2965
3449
|
UNKNOWN = 0;
|
|
2966
3450
|
STATUS_ADD_YOURS = 1;
|
|
2967
3451
|
STATUS_RESHARE = 2;
|
|
3452
|
+
STATUS_QUESTION_ANSWER_RESHARE = 3;
|
|
3453
|
+
}
|
|
3454
|
+
}
|
|
3455
|
+
|
|
3456
|
+
message StatusQuestionAnswerMessage {
|
|
3457
|
+
optional MessageKey key = 1;
|
|
3458
|
+
optional string text = 2;
|
|
3459
|
+
}
|
|
3460
|
+
|
|
3461
|
+
message StatusQuotedMessage {
|
|
3462
|
+
optional StatusQuotedMessageType type = 1;
|
|
3463
|
+
optional string text = 2;
|
|
3464
|
+
optional bytes thumbnail = 3;
|
|
3465
|
+
optional MessageKey originalStatusId = 4;
|
|
3466
|
+
enum StatusQuotedMessageType {
|
|
3467
|
+
QUESTION_ANSWER = 1;
|
|
3468
|
+
}
|
|
3469
|
+
}
|
|
3470
|
+
|
|
3471
|
+
message StatusStickerInteractionMessage {
|
|
3472
|
+
optional MessageKey key = 1;
|
|
3473
|
+
optional string stickerKey = 2;
|
|
3474
|
+
optional StatusStickerType type = 3;
|
|
3475
|
+
enum StatusStickerType {
|
|
3476
|
+
UNKNOWN = 0;
|
|
3477
|
+
REACTION = 1;
|
|
2968
3478
|
}
|
|
2969
3479
|
}
|
|
2970
3480
|
|
|
@@ -2989,6 +3499,7 @@ message Message {
|
|
|
2989
3499
|
optional bool isAiSticker = 20;
|
|
2990
3500
|
optional bool isLottie = 21;
|
|
2991
3501
|
optional string accessibilityLabel = 22;
|
|
3502
|
+
optional Message.MediaKeyDomain mediaKeyDomain = 23;
|
|
2992
3503
|
}
|
|
2993
3504
|
|
|
2994
3505
|
message StickerPackMessage {
|
|
@@ -3087,6 +3598,13 @@ message Message {
|
|
|
3087
3598
|
optional uint32 fbExperimentId = 1;
|
|
3088
3599
|
}
|
|
3089
3600
|
|
|
3601
|
+
message VideoEndCard {
|
|
3602
|
+
string username = 1;
|
|
3603
|
+
string caption = 2;
|
|
3604
|
+
string thumbnailImageUrl = 3;
|
|
3605
|
+
string profilePictureUrl = 4;
|
|
3606
|
+
}
|
|
3607
|
+
|
|
3090
3608
|
message VideoMessage {
|
|
3091
3609
|
optional string url = 1;
|
|
3092
3610
|
optional string mimetype = 2;
|
|
@@ -3115,10 +3633,19 @@ message Message {
|
|
|
3115
3633
|
optional string accessibilityLabel = 26;
|
|
3116
3634
|
repeated ProcessedVideo processedVideos = 27;
|
|
3117
3635
|
optional uint32 externalShareFullVideoDurationInSeconds = 28;
|
|
3636
|
+
optional uint64 motionPhotoPresentationOffsetMs = 29;
|
|
3637
|
+
optional string metadataUrl = 30;
|
|
3638
|
+
optional VideoSourceType videoSourceType = 31;
|
|
3639
|
+
optional Message.MediaKeyDomain mediaKeyDomain = 32;
|
|
3118
3640
|
enum Attribution {
|
|
3119
3641
|
NONE = 0;
|
|
3120
3642
|
GIPHY = 1;
|
|
3121
3643
|
TENOR = 2;
|
|
3644
|
+
KLIPY = 3;
|
|
3645
|
+
}
|
|
3646
|
+
enum VideoSourceType {
|
|
3647
|
+
USER_VIDEO = 0;
|
|
3648
|
+
AI_GENERATED = 1;
|
|
3122
3649
|
}
|
|
3123
3650
|
}
|
|
3124
3651
|
|
|
@@ -3167,6 +3694,11 @@ message MessageAssociation {
|
|
|
3167
3694
|
MOTION_PHOTO = 12;
|
|
3168
3695
|
STATUS_LINK_ACTION = 13;
|
|
3169
3696
|
VIEW_ALL_REPLIES = 14;
|
|
3697
|
+
STATUS_ADD_YOURS_AI_IMAGINE = 15;
|
|
3698
|
+
STATUS_QUESTION = 16;
|
|
3699
|
+
STATUS_ADD_YOURS_DIWALI = 17;
|
|
3700
|
+
STATUS_REACTION = 18;
|
|
3701
|
+
HEVC_VIDEO_DUAL_UPLOAD = 19;
|
|
3170
3702
|
}
|
|
3171
3703
|
}
|
|
3172
3704
|
|
|
@@ -3185,6 +3717,8 @@ message MessageContextInfo {
|
|
|
3185
3717
|
optional string supportPayload = 12;
|
|
3186
3718
|
optional LimitSharing limitSharing = 13;
|
|
3187
3719
|
optional LimitSharing limitSharingV2 = 14;
|
|
3720
|
+
repeated ThreadID threadId = 15;
|
|
3721
|
+
optional WebLinkRenderConfig weblinkRenderConfig = 16;
|
|
3188
3722
|
enum MessageAddonExpiryType {
|
|
3189
3723
|
STATIC = 1;
|
|
3190
3724
|
DEPENDENT_ON_PARENT = 2;
|
|
@@ -3234,6 +3768,8 @@ message MsgOpaqueData {
|
|
|
3234
3768
|
optional PollEncValue encPollVote = 24;
|
|
3235
3769
|
optional bool isSentCagPollCreation = 28;
|
|
3236
3770
|
optional PollContentType pollContentType = 42;
|
|
3771
|
+
optional PollType pollType = 46;
|
|
3772
|
+
optional int32 correctOptionIndex = 47;
|
|
3237
3773
|
optional PollVotesSnapshot pollVotesSnapshot = 41;
|
|
3238
3774
|
optional string encReactionTargetMessageKey = 25;
|
|
3239
3775
|
optional bytes encReactionEncPayload = 26;
|
|
@@ -3249,6 +3785,8 @@ message MsgOpaqueData {
|
|
|
3249
3785
|
optional int64 eventStartTime = 37;
|
|
3250
3786
|
optional EventLocation eventLocation = 38;
|
|
3251
3787
|
optional int64 eventEndTime = 40;
|
|
3788
|
+
optional bool eventIsScheduledCall = 44;
|
|
3789
|
+
optional bool eventExtraGuestsAllowed = 45;
|
|
3252
3790
|
optional bytes plainProtobufBytes = 43;
|
|
3253
3791
|
message EventLocation {
|
|
3254
3792
|
optional double degreesLatitude = 1;
|
|
@@ -3269,6 +3807,10 @@ message MsgOpaqueData {
|
|
|
3269
3807
|
optional string hash = 2;
|
|
3270
3808
|
}
|
|
3271
3809
|
|
|
3810
|
+
enum PollType {
|
|
3811
|
+
POLL = 0;
|
|
3812
|
+
QUIZ = 1;
|
|
3813
|
+
}
|
|
3272
3814
|
message PollVoteSnapshot {
|
|
3273
3815
|
optional MsgOpaqueData.PollOption option = 1;
|
|
3274
3816
|
optional int32 optionVoteCount = 2;
|
|
@@ -3285,6 +3827,81 @@ message MsgRowOpaqueData {
|
|
|
3285
3827
|
optional MsgOpaqueData quotedMsg = 2;
|
|
3286
3828
|
}
|
|
3287
3829
|
|
|
3830
|
+
enum MutationProps {
|
|
3831
|
+
STAR_ACTION = 2;
|
|
3832
|
+
CONTACT_ACTION = 3;
|
|
3833
|
+
MUTE_ACTION = 4;
|
|
3834
|
+
PIN_ACTION = 5;
|
|
3835
|
+
SECURITY_NOTIFICATION_SETTING = 6;
|
|
3836
|
+
PUSH_NAME_SETTING = 7;
|
|
3837
|
+
QUICK_REPLY_ACTION = 8;
|
|
3838
|
+
RECENT_EMOJI_WEIGHTS_ACTION = 11;
|
|
3839
|
+
LABEL_MESSAGE_ACTION = 13;
|
|
3840
|
+
LABEL_EDIT_ACTION = 14;
|
|
3841
|
+
LABEL_ASSOCIATION_ACTION = 15;
|
|
3842
|
+
LOCALE_SETTING = 16;
|
|
3843
|
+
ARCHIVE_CHAT_ACTION = 17;
|
|
3844
|
+
DELETE_MESSAGE_FOR_ME_ACTION = 18;
|
|
3845
|
+
KEY_EXPIRATION = 19;
|
|
3846
|
+
MARK_CHAT_AS_READ_ACTION = 20;
|
|
3847
|
+
CLEAR_CHAT_ACTION = 21;
|
|
3848
|
+
DELETE_CHAT_ACTION = 22;
|
|
3849
|
+
UNARCHIVE_CHATS_SETTING = 23;
|
|
3850
|
+
PRIMARY_FEATURE = 24;
|
|
3851
|
+
ANDROID_UNSUPPORTED_ACTIONS = 26;
|
|
3852
|
+
AGENT_ACTION = 27;
|
|
3853
|
+
SUBSCRIPTION_ACTION = 28;
|
|
3854
|
+
USER_STATUS_MUTE_ACTION = 29;
|
|
3855
|
+
TIME_FORMAT_ACTION = 30;
|
|
3856
|
+
NUX_ACTION = 31;
|
|
3857
|
+
PRIMARY_VERSION_ACTION = 32;
|
|
3858
|
+
STICKER_ACTION = 33;
|
|
3859
|
+
REMOVE_RECENT_STICKER_ACTION = 34;
|
|
3860
|
+
CHAT_ASSIGNMENT = 35;
|
|
3861
|
+
CHAT_ASSIGNMENT_OPENED_STATUS = 36;
|
|
3862
|
+
PN_FOR_LID_CHAT_ACTION = 37;
|
|
3863
|
+
MARKETING_MESSAGE_ACTION = 38;
|
|
3864
|
+
MARKETING_MESSAGE_BROADCAST_ACTION = 39;
|
|
3865
|
+
EXTERNAL_WEB_BETA_ACTION = 40;
|
|
3866
|
+
PRIVACY_SETTING_RELAY_ALL_CALLS = 41;
|
|
3867
|
+
CALL_LOG_ACTION = 42;
|
|
3868
|
+
UGC_BOT = 43;
|
|
3869
|
+
STATUS_PRIVACY = 44;
|
|
3870
|
+
BOT_WELCOME_REQUEST_ACTION = 45;
|
|
3871
|
+
DELETE_INDIVIDUAL_CALL_LOG = 46;
|
|
3872
|
+
LABEL_REORDERING_ACTION = 47;
|
|
3873
|
+
PAYMENT_INFO_ACTION = 48;
|
|
3874
|
+
CUSTOM_PAYMENT_METHODS_ACTION = 49;
|
|
3875
|
+
LOCK_CHAT_ACTION = 50;
|
|
3876
|
+
CHAT_LOCK_SETTINGS = 51;
|
|
3877
|
+
WAMO_USER_IDENTIFIER_ACTION = 52;
|
|
3878
|
+
PRIVACY_SETTING_DISABLE_LINK_PREVIEWS_ACTION = 53;
|
|
3879
|
+
DEVICE_CAPABILITIES = 54;
|
|
3880
|
+
NOTE_EDIT_ACTION = 55;
|
|
3881
|
+
FAVORITES_ACTION = 56;
|
|
3882
|
+
MERCHANT_PAYMENT_PARTNER_ACTION = 57;
|
|
3883
|
+
WAFFLE_ACCOUNT_LINK_STATE_ACTION = 58;
|
|
3884
|
+
USERNAME_CHAT_START_MODE = 59;
|
|
3885
|
+
NOTIFICATION_ACTIVITY_SETTING_ACTION = 60;
|
|
3886
|
+
LID_CONTACT_ACTION = 61;
|
|
3887
|
+
CTWA_PER_CUSTOMER_DATA_SHARING_ACTION = 62;
|
|
3888
|
+
PAYMENT_TOS_ACTION = 63;
|
|
3889
|
+
PRIVACY_SETTING_CHANNELS_PERSONALISED_RECOMMENDATION_ACTION = 64;
|
|
3890
|
+
BUSINESS_BROADCAST_ASSOCIATION_ACTION = 65;
|
|
3891
|
+
DETECTED_OUTCOMES_STATUS_ACTION = 66;
|
|
3892
|
+
MAIBA_AI_FEATURES_CONTROL_ACTION = 68;
|
|
3893
|
+
BUSINESS_BROADCAST_LIST_ACTION = 69;
|
|
3894
|
+
MUSIC_USER_ID_ACTION = 70;
|
|
3895
|
+
STATUS_POST_OPT_IN_NOTIFICATION_PREFERENCES_ACTION = 71;
|
|
3896
|
+
AVATAR_UPDATED_ACTION = 72;
|
|
3897
|
+
GALAXY_FLOW_ACTION = 73;
|
|
3898
|
+
PRIVATE_PROCESSING_SETTING_ACTION = 74;
|
|
3899
|
+
NEWSLETTER_SAVED_INTERESTS_ACTION = 75;
|
|
3900
|
+
AI_THREAD_RENAME_ACTION = 76;
|
|
3901
|
+
INTERACTIVE_MESSAGE_ACTION = 77;
|
|
3902
|
+
SHARE_OWN_PN = 10001;
|
|
3903
|
+
BUSINESS_BROADCAST_ACTION = 10002;
|
|
3904
|
+
}
|
|
3288
3905
|
message NoiseCertificate {
|
|
3289
3906
|
optional bytes details = 1;
|
|
3290
3907
|
optional bytes signature = 2;
|
|
@@ -3357,6 +3974,9 @@ message PatchDebugData {
|
|
|
3357
3974
|
DARWIN = 6;
|
|
3358
3975
|
IPAD = 7;
|
|
3359
3976
|
WEAROS = 8;
|
|
3977
|
+
WASG = 9;
|
|
3978
|
+
WEARM = 10;
|
|
3979
|
+
CAPI = 11;
|
|
3360
3980
|
}
|
|
3361
3981
|
}
|
|
3362
3982
|
|
|
@@ -3557,6 +4177,11 @@ message Pushname {
|
|
|
3557
4177
|
optional string pushname = 2;
|
|
3558
4178
|
}
|
|
3559
4179
|
|
|
4180
|
+
message QuarantinedMessage {
|
|
4181
|
+
optional bytes originalData = 1;
|
|
4182
|
+
optional string extractedText = 2;
|
|
4183
|
+
}
|
|
4184
|
+
|
|
3560
4185
|
message Reaction {
|
|
3561
4186
|
optional MessageKey key = 1;
|
|
3562
4187
|
optional string text = 2;
|
|
@@ -3680,6 +4305,16 @@ message SessionStructure {
|
|
|
3680
4305
|
|
|
3681
4306
|
}
|
|
3682
4307
|
|
|
4308
|
+
message SessionTransparencyMetadata {
|
|
4309
|
+
optional string disclaimerText = 1;
|
|
4310
|
+
optional string hcaId = 2;
|
|
4311
|
+
optional SessionTransparencyType sessionTransparencyType = 3;
|
|
4312
|
+
}
|
|
4313
|
+
|
|
4314
|
+
enum SessionTransparencyType {
|
|
4315
|
+
UNKNOWN_TYPE = 0;
|
|
4316
|
+
NY_AI_SAFETY_DISCLAIMER = 1;
|
|
4317
|
+
}
|
|
3683
4318
|
message SignalMessage {
|
|
3684
4319
|
optional bytes ratchetKey = 1;
|
|
3685
4320
|
optional uint32 counter = 2;
|
|
@@ -3695,12 +4330,106 @@ message SignedPreKeyRecordStructure {
|
|
|
3695
4330
|
optional fixed64 timestamp = 5;
|
|
3696
4331
|
}
|
|
3697
4332
|
|
|
4333
|
+
message StatusAttribution {
|
|
4334
|
+
optional Type type = 1;
|
|
4335
|
+
optional string actionUrl = 2;
|
|
4336
|
+
oneof attributionData {
|
|
4337
|
+
StatusAttribution.StatusReshare statusReshare = 3;
|
|
4338
|
+
StatusAttribution.ExternalShare externalShare = 4;
|
|
4339
|
+
StatusAttribution.Music music = 5;
|
|
4340
|
+
StatusAttribution.GroupStatus groupStatus = 6;
|
|
4341
|
+
StatusAttribution.RLAttribution rlAttribution = 7;
|
|
4342
|
+
StatusAttribution.AiCreatedAttribution aiCreatedAttribution = 8;
|
|
4343
|
+
}
|
|
4344
|
+
message AiCreatedAttribution {
|
|
4345
|
+
optional Source source = 1;
|
|
4346
|
+
enum Source {
|
|
4347
|
+
UNKNOWN = 0;
|
|
4348
|
+
STATUS_MIMICRY = 1;
|
|
4349
|
+
}
|
|
4350
|
+
}
|
|
4351
|
+
|
|
4352
|
+
message ExternalShare {
|
|
4353
|
+
optional string actionUrl = 1;
|
|
4354
|
+
optional Source source = 2;
|
|
4355
|
+
optional int32 duration = 3;
|
|
4356
|
+
optional string actionFallbackUrl = 4;
|
|
4357
|
+
enum Source {
|
|
4358
|
+
UNKNOWN = 0;
|
|
4359
|
+
INSTAGRAM = 1;
|
|
4360
|
+
FACEBOOK = 2;
|
|
4361
|
+
MESSENGER = 3;
|
|
4362
|
+
SPOTIFY = 4;
|
|
4363
|
+
YOUTUBE = 5;
|
|
4364
|
+
PINTEREST = 6;
|
|
4365
|
+
THREADS = 7;
|
|
4366
|
+
APPLE_MUSIC = 8;
|
|
4367
|
+
SHARECHAT = 9;
|
|
4368
|
+
GOOGLE_PHOTOS = 10;
|
|
4369
|
+
}
|
|
4370
|
+
}
|
|
4371
|
+
|
|
4372
|
+
message GroupStatus {
|
|
4373
|
+
optional string authorJid = 1;
|
|
4374
|
+
}
|
|
4375
|
+
|
|
4376
|
+
message Music {
|
|
4377
|
+
optional string authorName = 1;
|
|
4378
|
+
optional string songId = 2;
|
|
4379
|
+
optional string title = 3;
|
|
4380
|
+
optional string author = 4;
|
|
4381
|
+
optional string artistAttribution = 5;
|
|
4382
|
+
optional bool isExplicit = 6;
|
|
4383
|
+
}
|
|
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
|
+
|
|
4395
|
+
message StatusReshare {
|
|
4396
|
+
optional Source source = 1;
|
|
4397
|
+
optional Metadata metadata = 2;
|
|
4398
|
+
message Metadata {
|
|
4399
|
+
optional int32 duration = 1;
|
|
4400
|
+
optional string channelJid = 2;
|
|
4401
|
+
optional int32 channelMessageId = 3;
|
|
4402
|
+
optional bool hasMultipleReshares = 4;
|
|
4403
|
+
}
|
|
4404
|
+
|
|
4405
|
+
enum Source {
|
|
4406
|
+
UNKNOWN = 0;
|
|
4407
|
+
INTERNAL_RESHARE = 1;
|
|
4408
|
+
MENTION_RESHARE = 2;
|
|
4409
|
+
CHANNEL_RESHARE = 3;
|
|
4410
|
+
FORWARD = 4;
|
|
4411
|
+
}
|
|
4412
|
+
}
|
|
4413
|
+
|
|
4414
|
+
enum Type {
|
|
4415
|
+
UNKNOWN = 0;
|
|
4416
|
+
RESHARE = 1;
|
|
4417
|
+
EXTERNAL_SHARE = 2;
|
|
4418
|
+
MUSIC = 3;
|
|
4419
|
+
STATUS_MENTION = 4;
|
|
4420
|
+
GROUP_STATUS = 5;
|
|
4421
|
+
RL_ATTRIBUTION = 6;
|
|
4422
|
+
AI_CREATED = 7;
|
|
4423
|
+
LAYOUTS = 8;
|
|
4424
|
+
}
|
|
4425
|
+
}
|
|
4426
|
+
|
|
3698
4427
|
message StatusMentionMessage {
|
|
3699
4428
|
optional Message quotedStatus = 1;
|
|
3700
4429
|
}
|
|
3701
4430
|
|
|
3702
4431
|
message StatusPSA {
|
|
3703
|
-
|
|
4432
|
+
uint64 campaignId = 44;
|
|
3704
4433
|
optional uint64 campaignExpirationTimestamp = 45;
|
|
3705
4434
|
}
|
|
3706
4435
|
|
|
@@ -3717,6 +4446,8 @@ message StickerMetadata {
|
|
|
3717
4446
|
optional float weight = 10;
|
|
3718
4447
|
optional int64 lastStickerSentTs = 11;
|
|
3719
4448
|
optional bool isLottie = 12;
|
|
4449
|
+
optional string imageHash = 13;
|
|
4450
|
+
optional bool isAvatarSticker = 14;
|
|
3720
4451
|
}
|
|
3721
4452
|
|
|
3722
4453
|
message SyncActionData {
|
|
@@ -3732,7 +4463,6 @@ message SyncActionValue {
|
|
|
3732
4463
|
optional ContactAction contactAction = 3;
|
|
3733
4464
|
optional MuteAction muteAction = 4;
|
|
3734
4465
|
optional PinAction pinAction = 5;
|
|
3735
|
-
optional SecurityNotificationSetting securityNotificationSetting = 6;
|
|
3736
4466
|
optional PushNameSetting pushNameSetting = 7;
|
|
3737
4467
|
optional QuickReplyAction quickReplyAction = 8;
|
|
3738
4468
|
optional RecentEmojiWeightsAction recentEmojiWeightsAction = 11;
|
|
@@ -3764,6 +4494,7 @@ message SyncActionValue {
|
|
|
3764
4494
|
optional ExternalWebBetaAction externalWebBetaAction = 40;
|
|
3765
4495
|
optional PrivacySettingRelayAllCalls privacySettingRelayAllCalls = 41;
|
|
3766
4496
|
optional CallLogAction callLogAction = 42;
|
|
4497
|
+
optional UGCBot ugcBot = 43;
|
|
3767
4498
|
optional StatusPrivacyAction statusPrivacy = 44;
|
|
3768
4499
|
optional BotWelcomeRequestAction botWelcomeRequestAction = 45;
|
|
3769
4500
|
optional DeleteIndividualCallLogAction deleteIndividualCallLog = 46;
|
|
@@ -3784,12 +4515,28 @@ message SyncActionValue {
|
|
|
3784
4515
|
optional LidContactAction lidContactAction = 61;
|
|
3785
4516
|
optional CtwaPerCustomerDataSharingAction ctwaPerCustomerDataSharingAction = 62;
|
|
3786
4517
|
optional PaymentTosAction paymentTosAction = 63;
|
|
4518
|
+
optional PrivacySettingChannelsPersonalisedRecommendationAction privacySettingChannelsPersonalisedRecommendationAction = 64;
|
|
4519
|
+
optional BusinessBroadcastAssociationAction businessBroadcastAssociationAction = 65;
|
|
4520
|
+
optional DetectedOutcomesStatusAction detectedOutcomesStatusAction = 66;
|
|
4521
|
+
optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction = 68;
|
|
4522
|
+
optional BusinessBroadcastListAction businessBroadcastListAction = 69;
|
|
4523
|
+
optional MusicUserIdAction musicUserIdAction = 70;
|
|
4524
|
+
optional StatusPostOptInNotificationPreferencesAction statusPostOptInNotificationPreferencesAction = 71;
|
|
4525
|
+
optional AvatarUpdatedAction avatarUpdatedAction = 72;
|
|
4526
|
+
optional PrivateProcessingSettingAction privateProcessingSettingAction = 74;
|
|
4527
|
+
optional NewsletterSavedInterestsAction newsletterSavedInterestsAction = 75;
|
|
4528
|
+
optional AiThreadRenameAction aiThreadRenameAction = 76;
|
|
4529
|
+
optional InteractiveMessageAction interactiveMessageAction = 77;
|
|
3787
4530
|
message AgentAction {
|
|
3788
4531
|
optional string name = 1;
|
|
3789
4532
|
optional int32 deviceID = 2;
|
|
3790
4533
|
optional bool isDeleted = 3;
|
|
3791
4534
|
}
|
|
3792
4535
|
|
|
4536
|
+
message AiThreadRenameAction {
|
|
4537
|
+
optional string newTitle = 1;
|
|
4538
|
+
}
|
|
4539
|
+
|
|
3793
4540
|
message AndroidUnsupportedActions {
|
|
3794
4541
|
optional bool allowed = 1;
|
|
3795
4542
|
}
|
|
@@ -3799,10 +4546,35 @@ message SyncActionValue {
|
|
|
3799
4546
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
|
3800
4547
|
}
|
|
3801
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
|
+
|
|
3802
4559
|
message BotWelcomeRequestAction {
|
|
3803
4560
|
optional bool isSent = 1;
|
|
3804
4561
|
}
|
|
3805
4562
|
|
|
4563
|
+
message BroadcastListParticipant {
|
|
4564
|
+
string lidJid = 1;
|
|
4565
|
+
optional string pnJid = 2;
|
|
4566
|
+
}
|
|
4567
|
+
|
|
4568
|
+
message BusinessBroadcastAssociationAction {
|
|
4569
|
+
optional bool deleted = 1;
|
|
4570
|
+
}
|
|
4571
|
+
|
|
4572
|
+
message BusinessBroadcastListAction {
|
|
4573
|
+
optional bool deleted = 1;
|
|
4574
|
+
repeated SyncActionValue.BroadcastListParticipant participants = 2;
|
|
4575
|
+
optional string listName = 3;
|
|
4576
|
+
}
|
|
4577
|
+
|
|
3806
4578
|
message CallLogAction {
|
|
3807
4579
|
optional CallLogRecord callLogRecord = 1;
|
|
3808
4580
|
}
|
|
@@ -3833,15 +4605,15 @@ message SyncActionValue {
|
|
|
3833
4605
|
}
|
|
3834
4606
|
|
|
3835
4607
|
message CustomPaymentMethod {
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
4608
|
+
string credentialId = 1;
|
|
4609
|
+
string country = 2;
|
|
4610
|
+
string type = 3;
|
|
3839
4611
|
repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
|
|
3840
4612
|
}
|
|
3841
4613
|
|
|
3842
4614
|
message CustomPaymentMethodMetadata {
|
|
3843
|
-
|
|
3844
|
-
|
|
4615
|
+
string key = 1;
|
|
4616
|
+
string value = 2;
|
|
3845
4617
|
}
|
|
3846
4618
|
|
|
3847
4619
|
message CustomPaymentMethodsAction {
|
|
@@ -3862,6 +4634,10 @@ message SyncActionValue {
|
|
|
3862
4634
|
optional int64 messageTimestamp = 2;
|
|
3863
4635
|
}
|
|
3864
4636
|
|
|
4637
|
+
message DetectedOutcomesStatusAction {
|
|
4638
|
+
optional bool isEnabled = 1;
|
|
4639
|
+
}
|
|
4640
|
+
|
|
3865
4641
|
message ExternalWebBetaAction {
|
|
3866
4642
|
optional bool isOptIn = 1;
|
|
3867
4643
|
}
|
|
@@ -3874,6 +4650,13 @@ message SyncActionValue {
|
|
|
3874
4650
|
|
|
3875
4651
|
}
|
|
3876
4652
|
|
|
4653
|
+
message InteractiveMessageAction {
|
|
4654
|
+
InteractiveMessageActionMode type = 1;
|
|
4655
|
+
enum InteractiveMessageActionMode {
|
|
4656
|
+
DISABLE_CTA = 1;
|
|
4657
|
+
}
|
|
4658
|
+
}
|
|
4659
|
+
|
|
3877
4660
|
message KeyExpiration {
|
|
3878
4661
|
optional int32 expiredKeyEpoch = 1;
|
|
3879
4662
|
}
|
|
@@ -3891,6 +4674,7 @@ message SyncActionValue {
|
|
|
3891
4674
|
optional bool isActive = 6;
|
|
3892
4675
|
optional ListType type = 7;
|
|
3893
4676
|
optional bool isImmutable = 8;
|
|
4677
|
+
optional int64 muteEndTimeMs = 9;
|
|
3894
4678
|
enum ListType {
|
|
3895
4679
|
NONE = 0;
|
|
3896
4680
|
UNREAD = 1;
|
|
@@ -3900,6 +4684,8 @@ message SyncActionValue {
|
|
|
3900
4684
|
CUSTOM = 5;
|
|
3901
4685
|
COMMUNITY = 6;
|
|
3902
4686
|
SERVER_ASSIGNED = 7;
|
|
4687
|
+
DRAFTED = 8;
|
|
4688
|
+
AI_HANDOFF = 9;
|
|
3903
4689
|
}
|
|
3904
4690
|
}
|
|
3905
4691
|
|
|
@@ -3911,7 +4697,6 @@ message SyncActionValue {
|
|
|
3911
4697
|
optional string fullName = 1;
|
|
3912
4698
|
optional string firstName = 2;
|
|
3913
4699
|
optional string username = 3;
|
|
3914
|
-
optional bool saveOnPrimaryAddressbook = 4;
|
|
3915
4700
|
}
|
|
3916
4701
|
|
|
3917
4702
|
message LocaleSetting {
|
|
@@ -3922,6 +4707,15 @@ message SyncActionValue {
|
|
|
3922
4707
|
optional bool locked = 1;
|
|
3923
4708
|
}
|
|
3924
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
|
+
|
|
3925
4719
|
message MarkChatAsReadAction {
|
|
3926
4720
|
optional bool read = 1;
|
|
3927
4721
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
|
@@ -3945,8 +4739,8 @@ message SyncActionValue {
|
|
|
3945
4739
|
}
|
|
3946
4740
|
|
|
3947
4741
|
message MerchantPaymentPartnerAction {
|
|
3948
|
-
|
|
3949
|
-
|
|
4742
|
+
Status status = 1;
|
|
4743
|
+
string country = 2;
|
|
3950
4744
|
optional string gatewayName = 3;
|
|
3951
4745
|
optional string credentialId = 4;
|
|
3952
4746
|
enum Status {
|
|
@@ -3955,12 +4749,21 @@ message SyncActionValue {
|
|
|
3955
4749
|
}
|
|
3956
4750
|
}
|
|
3957
4751
|
|
|
4752
|
+
message MusicUserIdAction {
|
|
4753
|
+
optional string musicUserId = 1;
|
|
4754
|
+
map<string, string> music_user_id_map = 2;
|
|
4755
|
+
}
|
|
4756
|
+
|
|
3958
4757
|
message MuteAction {
|
|
3959
4758
|
optional bool muted = 1;
|
|
3960
4759
|
optional int64 muteEndTimestamp = 2;
|
|
3961
4760
|
optional bool autoMuted = 3;
|
|
3962
4761
|
}
|
|
3963
4762
|
|
|
4763
|
+
message NewsletterSavedInterestsAction {
|
|
4764
|
+
optional string newsletterSavedInterests = 1;
|
|
4765
|
+
}
|
|
4766
|
+
|
|
3964
4767
|
message NoteEditAction {
|
|
3965
4768
|
optional NoteType type = 1;
|
|
3966
4769
|
optional string chatJid = 2;
|
|
@@ -3992,8 +4795,8 @@ message SyncActionValue {
|
|
|
3992
4795
|
}
|
|
3993
4796
|
|
|
3994
4797
|
message PaymentTosAction {
|
|
3995
|
-
|
|
3996
|
-
|
|
4798
|
+
PaymentNotice paymentNotice = 1;
|
|
4799
|
+
bool accepted = 2;
|
|
3997
4800
|
enum PaymentNotice {
|
|
3998
4801
|
BR_PAY_PRIVACY_POLICY = 0;
|
|
3999
4802
|
}
|
|
@@ -4015,6 +4818,10 @@ message SyncActionValue {
|
|
|
4015
4818
|
optional string version = 1;
|
|
4016
4819
|
}
|
|
4017
4820
|
|
|
4821
|
+
message PrivacySettingChannelsPersonalisedRecommendationAction {
|
|
4822
|
+
optional bool isUserOptedOut = 1;
|
|
4823
|
+
}
|
|
4824
|
+
|
|
4018
4825
|
message PrivacySettingDisableLinkPreviewsAction {
|
|
4019
4826
|
optional bool isPreviewsDisabled = 1;
|
|
4020
4827
|
}
|
|
@@ -4023,6 +4830,15 @@ message SyncActionValue {
|
|
|
4023
4830
|
optional bool isEnabled = 1;
|
|
4024
4831
|
}
|
|
4025
4832
|
|
|
4833
|
+
message PrivateProcessingSettingAction {
|
|
4834
|
+
optional PrivateProcessingStatus privateProcessingStatus = 1;
|
|
4835
|
+
enum PrivateProcessingStatus {
|
|
4836
|
+
UNDEFINED = 0;
|
|
4837
|
+
ENABLED = 1;
|
|
4838
|
+
DISABLED = 2;
|
|
4839
|
+
}
|
|
4840
|
+
}
|
|
4841
|
+
|
|
4026
4842
|
message PushNameSetting {
|
|
4027
4843
|
optional string name = 1;
|
|
4028
4844
|
}
|
|
@@ -4043,14 +4859,14 @@ message SyncActionValue {
|
|
|
4043
4859
|
optional int64 lastStickerSentTs = 1;
|
|
4044
4860
|
}
|
|
4045
4861
|
|
|
4046
|
-
message SecurityNotificationSetting {
|
|
4047
|
-
optional bool showNotification = 1;
|
|
4048
|
-
}
|
|
4049
|
-
|
|
4050
4862
|
message StarAction {
|
|
4051
4863
|
optional bool starred = 1;
|
|
4052
4864
|
}
|
|
4053
4865
|
|
|
4866
|
+
message StatusPostOptInNotificationPreferencesAction {
|
|
4867
|
+
optional bool enabled = 1;
|
|
4868
|
+
}
|
|
4869
|
+
|
|
4054
4870
|
message StatusPrivacyAction {
|
|
4055
4871
|
optional StatusDistributionMode mode = 1;
|
|
4056
4872
|
repeated string userJid = 2;
|
|
@@ -4058,6 +4874,7 @@ message SyncActionValue {
|
|
|
4058
4874
|
ALLOW_LIST = 0;
|
|
4059
4875
|
DENY_LIST = 1;
|
|
4060
4876
|
CONTACTS = 2;
|
|
4877
|
+
CLOSE_FRIENDS = 3;
|
|
4061
4878
|
}
|
|
4062
4879
|
}
|
|
4063
4880
|
|
|
@@ -4073,6 +4890,8 @@ message SyncActionValue {
|
|
|
4073
4890
|
optional bool isFavorite = 9;
|
|
4074
4891
|
optional uint32 deviceIdHint = 10;
|
|
4075
4892
|
optional bool isLottie = 11;
|
|
4893
|
+
optional string imageHash = 12;
|
|
4894
|
+
optional bool isAvatarSticker = 13;
|
|
4076
4895
|
}
|
|
4077
4896
|
|
|
4078
4897
|
message SubscriptionAction {
|
|
@@ -4096,6 +4915,10 @@ message SyncActionValue {
|
|
|
4096
4915
|
optional bool isTwentyFourHourFormatEnabled = 1;
|
|
4097
4916
|
}
|
|
4098
4917
|
|
|
4918
|
+
message UGCBot {
|
|
4919
|
+
optional bytes definition = 1;
|
|
4920
|
+
}
|
|
4921
|
+
|
|
4099
4922
|
message UnarchiveChatsSetting {
|
|
4100
4923
|
optional bool unarchiveChats = 1;
|
|
4101
4924
|
}
|
|
@@ -4116,6 +4939,8 @@ message SyncActionValue {
|
|
|
4116
4939
|
optional AccountLinkState linkState = 2;
|
|
4117
4940
|
enum AccountLinkState {
|
|
4118
4941
|
ACTIVE = 0;
|
|
4942
|
+
PAUSED = 1;
|
|
4943
|
+
UNLINKED = 2;
|
|
4119
4944
|
}
|
|
4120
4945
|
}
|
|
4121
4946
|
|
|
@@ -4204,6 +5029,16 @@ message TemplateButton {
|
|
|
4204
5029
|
|
|
4205
5030
|
}
|
|
4206
5031
|
|
|
5032
|
+
message ThreadID {
|
|
5033
|
+
optional ThreadType threadType = 1;
|
|
5034
|
+
optional MessageKey threadKey = 2;
|
|
5035
|
+
enum ThreadType {
|
|
5036
|
+
UNKNOWN = 0;
|
|
5037
|
+
VIEW_REPLIES = 1;
|
|
5038
|
+
AI_THREAD = 2;
|
|
5039
|
+
}
|
|
5040
|
+
}
|
|
5041
|
+
|
|
4207
5042
|
message UrlTrackingMap {
|
|
4208
5043
|
repeated UrlTrackingMapElement urlTrackingMapElements = 1;
|
|
4209
5044
|
message UrlTrackingMapElement {
|
|
@@ -4244,7 +5079,7 @@ message UserPassword {
|
|
|
4244
5079
|
}
|
|
4245
5080
|
|
|
4246
5081
|
message UserReceipt {
|
|
4247
|
-
|
|
5082
|
+
string userJid = 1;
|
|
4248
5083
|
optional int64 receiptTimestamp = 2;
|
|
4249
5084
|
optional int64 readTimestamp = 3;
|
|
4250
5085
|
optional int64 playedTimestamp = 4;
|
|
@@ -4325,8 +5160,12 @@ message WebFeatures {
|
|
|
4325
5160
|
}
|
|
4326
5161
|
}
|
|
4327
5162
|
|
|
5163
|
+
enum WebLinkRenderConfig {
|
|
5164
|
+
WEBVIEW = 0;
|
|
5165
|
+
SYSTEM = 1;
|
|
5166
|
+
}
|
|
4328
5167
|
message WebMessageInfo {
|
|
4329
|
-
|
|
5168
|
+
MessageKey key = 1;
|
|
4330
5169
|
optional Message message = 2;
|
|
4331
5170
|
optional uint64 messageTimestamp = 3;
|
|
4332
5171
|
optional Status status = 4;
|
|
@@ -4388,6 +5227,10 @@ message WebMessageInfo {
|
|
|
4388
5227
|
repeated string statusMentionSources = 71;
|
|
4389
5228
|
repeated Citation supportAiCitations = 72;
|
|
4390
5229
|
optional string botTargetId = 73;
|
|
5230
|
+
optional GroupHistoryIndividualMessageInfo groupHistoryIndividualMessageInfo = 74;
|
|
5231
|
+
optional GroupHistoryBundleInfo groupHistoryBundleInfo = 75;
|
|
5232
|
+
optional InteractiveMessageAdditionalMetadata interactiveMessageAdditionalMetadata = 76;
|
|
5233
|
+
optional QuarantinedMessage quarantinedMessage = 77;
|
|
4391
5234
|
enum BizPrivacyStatus {
|
|
4392
5235
|
E2EE = 0;
|
|
4393
5236
|
FB = 2;
|
|
@@ -4622,6 +5465,9 @@ message WebMessageInfo {
|
|
|
4622
5465
|
CHANGE_LIMIT_SHARING = 216;
|
|
4623
5466
|
GROUP_MEMBER_LINK_MODE = 217;
|
|
4624
5467
|
BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE = 218;
|
|
5468
|
+
PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219;
|
|
5469
|
+
QUARANTINED_MESSAGE = 220;
|
|
5470
|
+
GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221;
|
|
4625
5471
|
}
|
|
4626
5472
|
}
|
|
4627
5473
|
|