@genuxofficial/baileys 2.0.0 → 4.0.0
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/WAProto/WAProto.proto +4451 -0
- package/WAProto/index.d.ts +219 -2233
- package/WAProto/index.js +525 -6773
- package/WAProto/shizo.x +1 -0
- package/engine-requirements.js +1 -1
- package/lib/Defaults/baileys-version.json +1 -1
- package/lib/Defaults/index.d.ts +236 -3
- package/lib/Defaults/index.js +24 -8
- package/lib/Defaults/phonenumber-mcc.json +223 -0
- package/lib/Signal/libsignal.js +9 -18
- package/lib/Socket/Client/{types.d.ts → abstract-socket-client.d.ts} +2 -0
- package/lib/Socket/Client/index.d.ts +3 -2
- package/lib/Socket/Client/index.js +3 -2
- package/lib/Socket/Client/mobile-socket-client.d.ts +13 -0
- package/lib/Socket/Client/mobile-socket-client.js +65 -0
- package/lib/Socket/Client/{websocket.d.ts → web-socket-client.d.ts} +1 -1
- package/lib/Socket/Client/{websocket.js → web-socket-client.js} +3 -3
- package/lib/Socket/business.d.ts +43 -43
- package/lib/Socket/chats.d.ts +17 -23
- package/lib/Socket/chats.js +9 -123
- package/lib/Socket/groups.d.ts +27 -32
- package/lib/Socket/groups.js +5 -18
- package/lib/Socket/index.d.ts +51 -49
- package/lib/Socket/index.js +2 -2
- package/lib/Socket/messages-recv.d.ts +41 -42
- package/lib/Socket/messages-recv.js +20 -39
- package/lib/Socket/messages-send.d.ts +33 -38
- package/lib/Socket/messages-send.js +16 -37
- package/lib/Socket/newsletter.d.ts +30 -35
- package/lib/Socket/newsletter.js +22 -26
- package/lib/Socket/registration.d.ts +271 -0
- package/lib/Socket/registration.js +166 -0
- package/lib/Socket/socket.d.ts +10 -9
- package/lib/Socket/socket.js +19 -16
- package/lib/Socket/usync.d.ts +12 -10
- package/lib/Socket/usync.js +15 -10
- package/lib/Store/index.d.ts +2 -1
- package/lib/Store/index.js +3 -1
- package/lib/Store/make-in-memory-store.d.ts +1 -1
- package/lib/Store/make-in-memory-store.js +10 -8
- package/lib/Store/make-ordered-dictionary.d.ts +1 -1
- package/lib/Store/make-ordered-dictionary.js +2 -2
- package/lib/Types/Auth.d.ts +8 -0
- package/lib/Types/Chat.d.ts +2 -12
- package/lib/Types/Contact.d.ts +1 -6
- package/lib/Types/GroupMetadata.d.ts +0 -7
- package/lib/Types/Label.d.ts +0 -11
- package/lib/Types/Label.js +1 -1
- package/lib/Types/LabelAssociation.js +1 -1
- package/lib/Types/Message.d.ts +8 -7
- package/lib/Types/Message.js +2 -0
- package/lib/Types/Newsletter.js +2 -2
- package/lib/Types/Socket.d.ts +6 -7
- package/lib/Types/index.js +1 -1
- package/lib/Utils/auth-utils.d.ts +1 -1
- package/lib/Utils/auth-utils.js +12 -5
- package/lib/Utils/business.js +2 -2
- package/lib/Utils/chat-utils.d.ts +13 -11
- package/lib/Utils/chat-utils.js +2 -28
- package/lib/Utils/crypto.d.ts +16 -14
- package/lib/Utils/crypto.js +22 -34
- package/lib/Utils/decode-wa-message.d.ts +2 -4
- package/lib/Utils/decode-wa-message.js +24 -160
- package/lib/Utils/event-buffer.js +6 -4
- package/lib/Utils/generics.d.ts +12 -40
- package/lib/Utils/generics.js +25 -103
- package/lib/Utils/link-preview.js +1 -34
- package/lib/Utils/lt-hash.d.ts +3 -3
- package/lib/Utils/lt-hash.js +45 -11
- package/lib/Utils/make-mutex.d.ts +2 -2
- package/lib/Utils/messages-media.d.ts +16 -26
- package/lib/Utils/messages-media.js +26 -102
- package/lib/Utils/messages.d.ts +8 -5
- package/lib/Utils/messages.js +15 -17
- package/lib/Utils/noise-handler.d.ts +8 -5
- package/lib/Utils/noise-handler.js +10 -5
- package/lib/Utils/process-message.js +2 -2
- package/lib/Utils/use-multi-file-auth-state.js +11 -48
- package/lib/Utils/validate-connection.d.ts +3 -2
- package/lib/Utils/validate-connection.js +44 -10
- package/lib/WABinary/constants.js +5 -5
- package/lib/WABinary/decode.d.ts +4 -2
- package/lib/WABinary/decode.js +7 -17
- package/lib/WABinary/encode.d.ts +3 -1
- package/lib/WABinary/encode.js +17 -40
- package/lib/WABinary/generic-utils.d.ts +3 -1
- package/lib/WABinary/generic-utils.js +2 -2
- package/lib/WABinary/jid-utils.d.ts +3 -8
- package/lib/WABinary/jid-utils.js +2 -23
- package/lib/WAM/BinaryInfo.d.ts +12 -2
- package/lib/WAM/constants.d.ts +2 -3
- package/lib/WAM/encode.d.ts +3 -1
- package/lib/WAM/encode.js +2 -2
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +2 -2
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +2 -2
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +2 -2
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +5 -5
- package/lib/WAUSync/USyncQuery.d.ts +0 -2
- package/lib/WAUSync/USyncQuery.js +13 -27
- package/lib/WAUSync/USyncUser.d.ts +0 -2
- package/lib/WAUSync/USyncUser.js +0 -4
- package/package.json +60 -55
- package/LICENSE +0 -21
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.d.ts +0 -25
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +0 -53
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.d.ts +0 -8
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.js +0 -24
- /package/lib/Socket/Client/{types.js → abstract-socket-client.js} +0 -0
@@ -0,0 +1,4451 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
package proto;
|
3
|
+
|
4
|
+
/// WhatsApp Version: 2.3000.1021001764
|
5
|
+
|
6
|
+
message ADVDeviceIdentity {
|
7
|
+
optional uint32 rawId = 1;
|
8
|
+
optional uint64 timestamp = 2;
|
9
|
+
optional uint32 keyIndex = 3;
|
10
|
+
optional ADVEncryptionType accountType = 4;
|
11
|
+
optional ADVEncryptionType deviceType = 5;
|
12
|
+
}
|
13
|
+
|
14
|
+
enum ADVEncryptionType {
|
15
|
+
E2EE = 0;
|
16
|
+
HOSTED = 1;
|
17
|
+
}
|
18
|
+
message ADVKeyIndexList {
|
19
|
+
optional uint32 rawId = 1;
|
20
|
+
optional uint64 timestamp = 2;
|
21
|
+
optional uint32 currentIndex = 3;
|
22
|
+
repeated uint32 validIndexes = 4 [packed=true];
|
23
|
+
optional ADVEncryptionType accountType = 5;
|
24
|
+
}
|
25
|
+
|
26
|
+
message ADVSignedDeviceIdentity {
|
27
|
+
optional bytes details = 1;
|
28
|
+
optional bytes accountSignatureKey = 2;
|
29
|
+
optional bytes accountSignature = 3;
|
30
|
+
optional bytes deviceSignature = 4;
|
31
|
+
}
|
32
|
+
|
33
|
+
message ADVSignedDeviceIdentityHMAC {
|
34
|
+
optional bytes details = 1;
|
35
|
+
optional bytes hmac = 2;
|
36
|
+
optional ADVEncryptionType accountType = 3;
|
37
|
+
}
|
38
|
+
|
39
|
+
message ADVSignedKeyIndexList {
|
40
|
+
optional bytes details = 1;
|
41
|
+
optional bytes accountSignature = 2;
|
42
|
+
optional bytes accountSignatureKey = 3;
|
43
|
+
}
|
44
|
+
|
45
|
+
message AIRichResponseMessage {
|
46
|
+
optional AIRichResponseMessageType messageType = 1;
|
47
|
+
repeated AIRichResponseSubMessage submessages = 2;
|
48
|
+
optional AIRichResponseAbstractData abstractData = 3;
|
49
|
+
message AIRichResponseAbstractData {
|
50
|
+
optional bytes data = 1;
|
51
|
+
}
|
52
|
+
|
53
|
+
message AIRichResponseCodeMetadata {
|
54
|
+
optional string codeLanguage = 1;
|
55
|
+
repeated AIRichResponseCodeBlock codeBlocks = 2;
|
56
|
+
message AIRichResponseCodeBlock {
|
57
|
+
optional AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType highlightType = 1;
|
58
|
+
optional string codeContent = 2;
|
59
|
+
}
|
60
|
+
|
61
|
+
enum AIRichResponseCodeHighlightType {
|
62
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
|
63
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
|
64
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2;
|
65
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3;
|
66
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4;
|
67
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
message AIRichResponseContentItemsMetadata {
|
72
|
+
repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
|
73
|
+
optional ContentType contentType = 2;
|
74
|
+
message AIRichResponseContentItemMetadata {
|
75
|
+
oneof aIRichResponseContentItem {
|
76
|
+
AIRichResponseMessage.AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
message AIRichResponseReelItem {
|
81
|
+
optional string title = 1;
|
82
|
+
optional string profileIconUrl = 2;
|
83
|
+
optional string thumbnailUrl = 3;
|
84
|
+
optional string videoUrl = 4;
|
85
|
+
}
|
86
|
+
|
87
|
+
enum ContentType {
|
88
|
+
DEFAULT = 0;
|
89
|
+
CAROUSEL = 1;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
message AIRichResponseDynamicMetadata {
|
94
|
+
optional AIRichResponseDynamicMetadataType type = 1;
|
95
|
+
optional uint64 version = 2;
|
96
|
+
optional string url = 3;
|
97
|
+
optional uint32 loopCount = 4;
|
98
|
+
enum AIRichResponseDynamicMetadataType {
|
99
|
+
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0;
|
100
|
+
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1;
|
101
|
+
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
message AIRichResponseGridImageMetadata {
|
106
|
+
optional AIRichResponseMessage.AIRichResponseImageURL gridImageUrl = 1;
|
107
|
+
repeated AIRichResponseMessage.AIRichResponseImageURL imageUrls = 2;
|
108
|
+
}
|
109
|
+
|
110
|
+
message AIRichResponseImageURL {
|
111
|
+
optional string imagePreviewUrl = 1;
|
112
|
+
optional string imageHighResUrl = 2;
|
113
|
+
optional string sourceUrl = 3;
|
114
|
+
}
|
115
|
+
|
116
|
+
message AIRichResponseInlineImageMetadata {
|
117
|
+
optional AIRichResponseMessage.AIRichResponseImageURL imageUrl = 1;
|
118
|
+
optional string imageText = 2;
|
119
|
+
optional AIRichResponseImageAlignment alignment = 3;
|
120
|
+
optional string tapLinkUrl = 4;
|
121
|
+
enum AIRichResponseImageAlignment {
|
122
|
+
AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0;
|
123
|
+
AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1;
|
124
|
+
AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
message AIRichResponseLatexMetadata {
|
129
|
+
optional string text = 1;
|
130
|
+
repeated AIRichResponseLatexExpression expressions = 2;
|
131
|
+
message AIRichResponseLatexExpression {
|
132
|
+
optional string latexExpression = 1;
|
133
|
+
optional string url = 2;
|
134
|
+
optional double width = 3;
|
135
|
+
optional double height = 4;
|
136
|
+
optional double fontHeight = 5;
|
137
|
+
}
|
138
|
+
|
139
|
+
}
|
140
|
+
|
141
|
+
message AIRichResponseMapMetadata {
|
142
|
+
optional double centerLatitude = 1;
|
143
|
+
optional double centerLongitude = 2;
|
144
|
+
optional double latitudeDelta = 3;
|
145
|
+
optional double longitudeDelta = 4;
|
146
|
+
repeated AIRichResponseMapAnnotation annotations = 5;
|
147
|
+
optional bool showInfoList = 6;
|
148
|
+
message AIRichResponseMapAnnotation {
|
149
|
+
optional uint32 annotationNumber = 1;
|
150
|
+
optional double latitude = 2;
|
151
|
+
optional double longitude = 3;
|
152
|
+
optional string title = 4;
|
153
|
+
optional string body = 5;
|
154
|
+
}
|
155
|
+
|
156
|
+
}
|
157
|
+
|
158
|
+
enum AIRichResponseMessageType {
|
159
|
+
AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
|
160
|
+
AI_RICH_RESPONSE_TYPE_STANDARD = 1;
|
161
|
+
}
|
162
|
+
message AIRichResponseSubMessage {
|
163
|
+
optional AIRichResponseMessage.AIRichResponseSubMessageType messageType = 1;
|
164
|
+
optional AIRichResponseMessage.AIRichResponseGridImageMetadata gridImageMetadata = 2;
|
165
|
+
optional string messageText = 3;
|
166
|
+
optional AIRichResponseMessage.AIRichResponseInlineImageMetadata imageMetadata = 4;
|
167
|
+
optional AIRichResponseMessage.AIRichResponseCodeMetadata codeMetadata = 5;
|
168
|
+
optional AIRichResponseMessage.AIRichResponseTableMetadata tableMetadata = 6;
|
169
|
+
optional AIRichResponseMessage.AIRichResponseDynamicMetadata dynamicMetadata = 7;
|
170
|
+
optional AIRichResponseMessage.AIRichResponseLatexMetadata latexMetadata = 8;
|
171
|
+
optional AIRichResponseMessage.AIRichResponseMapMetadata mapMetadata = 9;
|
172
|
+
optional AIRichResponseMessage.AIRichResponseContentItemsMetadata contentItemsMetadata = 10;
|
173
|
+
}
|
174
|
+
|
175
|
+
enum AIRichResponseSubMessageType {
|
176
|
+
AI_RICH_RESPONSE_UNKNOWN = 0;
|
177
|
+
AI_RICH_RESPONSE_GRID_IMAGE = 1;
|
178
|
+
AI_RICH_RESPONSE_TEXT = 2;
|
179
|
+
AI_RICH_RESPONSE_INLINE_IMAGE = 3;
|
180
|
+
AI_RICH_RESPONSE_TABLE = 4;
|
181
|
+
AI_RICH_RESPONSE_CODE = 5;
|
182
|
+
AI_RICH_RESPONSE_DYNAMIC = 6;
|
183
|
+
AI_RICH_RESPONSE_MAP = 7;
|
184
|
+
AI_RICH_RESPONSE_LATEX = 8;
|
185
|
+
AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
|
186
|
+
}
|
187
|
+
message AIRichResponseTableMetadata {
|
188
|
+
repeated AIRichResponseTableRow rows = 1;
|
189
|
+
message AIRichResponseTableRow {
|
190
|
+
repeated string items = 1;
|
191
|
+
optional bool isHeading = 2;
|
192
|
+
}
|
193
|
+
|
194
|
+
}
|
195
|
+
|
196
|
+
}
|
197
|
+
|
198
|
+
message Account {
|
199
|
+
optional string lid = 1;
|
200
|
+
optional string username = 2;
|
201
|
+
optional string countryCode = 3;
|
202
|
+
optional bool isUsernameDeleted = 4;
|
203
|
+
}
|
204
|
+
|
205
|
+
message ActionLink {
|
206
|
+
optional string url = 1;
|
207
|
+
optional string buttonTitle = 2;
|
208
|
+
}
|
209
|
+
|
210
|
+
message AutoDownloadSettings {
|
211
|
+
optional bool downloadImages = 1;
|
212
|
+
optional bool downloadAudio = 2;
|
213
|
+
optional bool downloadVideo = 3;
|
214
|
+
optional bool downloadDocuments = 4;
|
215
|
+
}
|
216
|
+
|
217
|
+
message AvatarUserSettings {
|
218
|
+
optional string fbid = 1;
|
219
|
+
optional string password = 2;
|
220
|
+
}
|
221
|
+
|
222
|
+
message BizAccountLinkInfo {
|
223
|
+
optional uint64 whatsappBizAcctFbid = 1;
|
224
|
+
optional string whatsappAcctNumber = 2;
|
225
|
+
optional uint64 issueTime = 3;
|
226
|
+
optional HostStorageType hostStorage = 4;
|
227
|
+
optional AccountType accountType = 5;
|
228
|
+
enum AccountType {
|
229
|
+
ENTERPRISE = 0;
|
230
|
+
}
|
231
|
+
enum HostStorageType {
|
232
|
+
ON_PREMISE = 0;
|
233
|
+
FACEBOOK = 1;
|
234
|
+
}
|
235
|
+
}
|
236
|
+
|
237
|
+
message BizAccountPayload {
|
238
|
+
optional VerifiedNameCertificate vnameCert = 1;
|
239
|
+
optional bytes bizAcctLinkInfo = 2;
|
240
|
+
}
|
241
|
+
|
242
|
+
message BizIdentityInfo {
|
243
|
+
optional VerifiedLevelValue vlevel = 1;
|
244
|
+
optional VerifiedNameCertificate vnameCert = 2;
|
245
|
+
optional bool signed = 3;
|
246
|
+
optional bool revoked = 4;
|
247
|
+
optional HostStorageType hostStorage = 5;
|
248
|
+
optional ActualActorsType actualActors = 6;
|
249
|
+
optional uint64 privacyModeTs = 7;
|
250
|
+
optional uint64 featureControls = 8;
|
251
|
+
enum ActualActorsType {
|
252
|
+
SELF = 0;
|
253
|
+
BSP = 1;
|
254
|
+
}
|
255
|
+
enum HostStorageType {
|
256
|
+
ON_PREMISE = 0;
|
257
|
+
FACEBOOK = 1;
|
258
|
+
}
|
259
|
+
enum VerifiedLevelValue {
|
260
|
+
UNKNOWN = 0;
|
261
|
+
LOW = 1;
|
262
|
+
HIGH = 2;
|
263
|
+
}
|
264
|
+
}
|
265
|
+
|
266
|
+
message BotAvatarMetadata {
|
267
|
+
optional uint32 sentiment = 1;
|
268
|
+
optional string behaviorGraph = 2;
|
269
|
+
optional uint32 action = 3;
|
270
|
+
optional uint32 intensity = 4;
|
271
|
+
optional uint32 wordCount = 5;
|
272
|
+
}
|
273
|
+
|
274
|
+
message BotCapabilityMetadata {
|
275
|
+
repeated BotCapabilityType capabilities = 1;
|
276
|
+
enum BotCapabilityType {
|
277
|
+
UNKNOWN = 0;
|
278
|
+
PROGRESS_INDICATOR = 1;
|
279
|
+
RICH_RESPONSE_HEADING = 2;
|
280
|
+
RICH_RESPONSE_NESTED_LIST = 3;
|
281
|
+
AI_MEMORY = 4;
|
282
|
+
RICH_RESPONSE_THREAD_SURFING = 5;
|
283
|
+
RICH_RESPONSE_TABLE = 6;
|
284
|
+
RICH_RESPONSE_CODE = 7;
|
285
|
+
RICH_RESPONSE_STRUCTURED_RESPONSE = 8;
|
286
|
+
RICH_RESPONSE_INLINE_IMAGE = 9;
|
287
|
+
WA_IG_1P_PLUGIN_RANKING_CONTROL = 10;
|
288
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_1 = 11;
|
289
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_2 = 12;
|
290
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_3 = 13;
|
291
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_4 = 14;
|
292
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_5 = 15;
|
293
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_6 = 16;
|
294
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_7 = 17;
|
295
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_8 = 18;
|
296
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_9 = 19;
|
297
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_10 = 20;
|
298
|
+
RICH_RESPONSE_SUB_HEADING = 21;
|
299
|
+
RICH_RESPONSE_GRID_IMAGE = 22;
|
300
|
+
AI_STUDIO_UGC_MEMORY = 23;
|
301
|
+
RICH_RESPONSE_LATEX = 24;
|
302
|
+
RICH_RESPONSE_MAPS = 25;
|
303
|
+
RICH_RESPONSE_INLINE_REELS = 26;
|
304
|
+
AGENTIC_PLANNING = 27;
|
305
|
+
ACCOUNT_LINKING = 28;
|
306
|
+
STREAMING_DISAGGREGATION = 29;
|
307
|
+
}
|
308
|
+
}
|
309
|
+
|
310
|
+
message BotImagineMetadata {
|
311
|
+
optional ImagineType imagineType = 1;
|
312
|
+
enum ImagineType {
|
313
|
+
UNKNOWN = 0;
|
314
|
+
IMAGINE = 1;
|
315
|
+
MEMU = 2;
|
316
|
+
FLASH = 3;
|
317
|
+
EDIT = 4;
|
318
|
+
}
|
319
|
+
}
|
320
|
+
|
321
|
+
message BotLinkedAccount {
|
322
|
+
optional BotLinkedAccountType type = 1;
|
323
|
+
enum BotLinkedAccountType {
|
324
|
+
BOT_LINKED_ACCOUNT_TYPE_1P = 0;
|
325
|
+
}
|
326
|
+
}
|
327
|
+
|
328
|
+
message BotLinkedAccountsMetadata {
|
329
|
+
repeated BotLinkedAccount accounts = 1;
|
330
|
+
optional bytes acAuthTokens = 2;
|
331
|
+
}
|
332
|
+
|
333
|
+
message BotMediaMetadata {
|
334
|
+
optional string fileSha256 = 1;
|
335
|
+
optional string mediaKey = 2;
|
336
|
+
optional string fileEncSha256 = 3;
|
337
|
+
optional string directPath = 4;
|
338
|
+
optional int64 mediaKeyTimestamp = 5;
|
339
|
+
optional string mimetype = 6;
|
340
|
+
optional OrientationType orientationType = 7;
|
341
|
+
enum OrientationType {
|
342
|
+
CENTER = 1;
|
343
|
+
LEFT = 2;
|
344
|
+
RIGHT = 3;
|
345
|
+
}
|
346
|
+
}
|
347
|
+
|
348
|
+
message BotMemoryFact {
|
349
|
+
optional string fact = 1;
|
350
|
+
optional string factId = 2;
|
351
|
+
}
|
352
|
+
|
353
|
+
message BotMemoryMetadata {
|
354
|
+
repeated BotMemoryFact addedFacts = 1;
|
355
|
+
repeated BotMemoryFact removedFacts = 2;
|
356
|
+
optional string disclaimer = 3;
|
357
|
+
}
|
358
|
+
|
359
|
+
message BotMemuMetadata {
|
360
|
+
repeated BotMediaMetadata faceImages = 1;
|
361
|
+
}
|
362
|
+
|
363
|
+
message BotMetadata {
|
364
|
+
optional BotAvatarMetadata avatarMetadata = 1;
|
365
|
+
optional string personaId = 2;
|
366
|
+
optional BotPluginMetadata pluginMetadata = 3;
|
367
|
+
optional BotSuggestedPromptMetadata suggestedPromptMetadata = 4;
|
368
|
+
optional string invokerJid = 5;
|
369
|
+
optional BotSessionMetadata sessionMetadata = 6;
|
370
|
+
optional BotMemuMetadata memuMetadata = 7;
|
371
|
+
optional string timezone = 8;
|
372
|
+
optional BotReminderMetadata reminderMetadata = 9;
|
373
|
+
optional BotModelMetadata modelMetadata = 10;
|
374
|
+
optional string messageDisclaimerText = 11;
|
375
|
+
optional BotProgressIndicatorMetadata progressIndicatorMetadata = 12;
|
376
|
+
optional BotCapabilityMetadata capabilityMetadata = 13;
|
377
|
+
optional BotImagineMetadata imagineMetadata = 14;
|
378
|
+
optional BotMemoryMetadata memoryMetadata = 15;
|
379
|
+
optional BotRenderingMetadata renderingMetadata = 16;
|
380
|
+
optional BotMetricsMetadata botMetricsMetadata = 17;
|
381
|
+
optional BotLinkedAccountsMetadata botLinkedAccountsMetadata = 18;
|
382
|
+
optional BotSourcesMetadata richResponseSourcesMetadata = 19;
|
383
|
+
}
|
384
|
+
|
385
|
+
enum BotMetricsEntryPoint {
|
386
|
+
FAVICON = 1;
|
387
|
+
CHATLIST = 2;
|
388
|
+
AISEARCH_NULL_STATE_PAPER_PLANE = 3;
|
389
|
+
AISEARCH_NULL_STATE_SUGGESTION = 4;
|
390
|
+
AISEARCH_TYPE_AHEAD_SUGGESTION = 5;
|
391
|
+
AISEARCH_TYPE_AHEAD_PAPER_PLANE = 6;
|
392
|
+
AISEARCH_TYPE_AHEAD_RESULT_CHATLIST = 7;
|
393
|
+
AISEARCH_TYPE_AHEAD_RESULT_MESSAGES = 8;
|
394
|
+
AIVOICE_SEARCH_BAR = 9;
|
395
|
+
AIVOICE_FAVICON = 10;
|
396
|
+
AISTUDIO = 11;
|
397
|
+
DEEPLINK = 12;
|
398
|
+
NOTIFICATION = 13;
|
399
|
+
PROFILE_MESSAGE_BUTTON = 14;
|
400
|
+
FORWARD = 15;
|
401
|
+
APP_SHORTCUT = 16;
|
402
|
+
FF_FAMILY = 17;
|
403
|
+
AI_TAB = 18;
|
404
|
+
AI_HOME = 19;
|
405
|
+
AI_DEEPLINK_IMMERSIVE = 20;
|
406
|
+
AI_DEEPLINK = 21;
|
407
|
+
}
|
408
|
+
message BotMetricsMetadata {
|
409
|
+
optional string destinationId = 1;
|
410
|
+
optional BotMetricsEntryPoint destinationEntryPoint = 2;
|
411
|
+
optional BotMetricsThreadEntryPoint threadOrigin = 3;
|
412
|
+
}
|
413
|
+
|
414
|
+
enum BotMetricsThreadEntryPoint {
|
415
|
+
AI_TAB_THREAD = 1;
|
416
|
+
AI_HOME_THREAD = 2;
|
417
|
+
AI_DEEPLINK_IMMERSIVE_THREAD = 3;
|
418
|
+
AI_DEEPLINK_THREAD = 4;
|
419
|
+
}
|
420
|
+
message BotModelMetadata {
|
421
|
+
optional ModelType modelType = 1;
|
422
|
+
optional PremiumModelStatus premiumModelStatus = 2;
|
423
|
+
enum ModelType {
|
424
|
+
UNKNOWN_TYPE = 0;
|
425
|
+
LLAMA_PROD = 1;
|
426
|
+
LLAMA_PROD_PREMIUM = 2;
|
427
|
+
}
|
428
|
+
enum PremiumModelStatus {
|
429
|
+
UNKNOWN_STATUS = 0;
|
430
|
+
AVAILABLE = 1;
|
431
|
+
QUOTA_EXCEED_LIMIT = 2;
|
432
|
+
}
|
433
|
+
}
|
434
|
+
|
435
|
+
message BotPluginMetadata {
|
436
|
+
optional SearchProvider provider = 1;
|
437
|
+
optional PluginType pluginType = 2;
|
438
|
+
optional string thumbnailCdnUrl = 3;
|
439
|
+
optional string profilePhotoCdnUrl = 4;
|
440
|
+
optional string searchProviderUrl = 5;
|
441
|
+
optional uint32 referenceIndex = 6;
|
442
|
+
optional uint32 expectedLinksCount = 7;
|
443
|
+
optional string searchQuery = 9;
|
444
|
+
optional MessageKey parentPluginMessageKey = 10;
|
445
|
+
optional PluginType deprecatedField = 11;
|
446
|
+
optional PluginType parentPluginType = 12;
|
447
|
+
optional string faviconCdnUrl = 13;
|
448
|
+
enum PluginType {
|
449
|
+
UNKNOWN_PLUGIN = 0;
|
450
|
+
REELS = 1;
|
451
|
+
SEARCH = 2;
|
452
|
+
}
|
453
|
+
enum SearchProvider {
|
454
|
+
UNKNOWN = 0;
|
455
|
+
BING = 1;
|
456
|
+
GOOGLE = 2;
|
457
|
+
SUPPORT = 3;
|
458
|
+
}
|
459
|
+
}
|
460
|
+
|
461
|
+
message BotProgressIndicatorMetadata {
|
462
|
+
optional string progressDescription = 1;
|
463
|
+
repeated BotPlanningStepMetadata stepsMetadata = 2;
|
464
|
+
message BotPlanningStepMetadata {
|
465
|
+
optional string statusTitle = 1;
|
466
|
+
optional string statusBody = 2;
|
467
|
+
repeated BotPlanningSearchSourcesMetadata sourcesMetadata = 3;
|
468
|
+
optional PlanningStepStatus status = 4;
|
469
|
+
optional bool isReasoning = 5;
|
470
|
+
optional bool isEnhancedSearch = 6;
|
471
|
+
repeated BotPlanningStepSectionMetadata sections = 7;
|
472
|
+
message BotPlanningSearchSourceMetadata {
|
473
|
+
optional string title = 1;
|
474
|
+
optional BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotSearchSourceProvider provider = 2;
|
475
|
+
optional string sourceUrl = 3;
|
476
|
+
optional string favIconUrl = 4;
|
477
|
+
}
|
478
|
+
|
479
|
+
message BotPlanningSearchSourcesMetadata {
|
480
|
+
optional string sourceTitle = 1;
|
481
|
+
optional BotPlanningSearchSourceProvider provider = 2;
|
482
|
+
optional string sourceUrl = 3;
|
483
|
+
enum BotPlanningSearchSourceProvider {
|
484
|
+
UNKNOWN = 0;
|
485
|
+
OTHER = 1;
|
486
|
+
GOOGLE = 2;
|
487
|
+
BING = 3;
|
488
|
+
}
|
489
|
+
}
|
490
|
+
|
491
|
+
message BotPlanningStepSectionMetadata {
|
492
|
+
optional string sectionTitle = 1;
|
493
|
+
optional string sectionBody = 2;
|
494
|
+
repeated BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata sourcesMetadata = 3;
|
495
|
+
}
|
496
|
+
|
497
|
+
enum BotSearchSourceProvider {
|
498
|
+
UNKNOWN_PROVIDER = 0;
|
499
|
+
OTHER = 1;
|
500
|
+
GOOGLE = 2;
|
501
|
+
BING = 3;
|
502
|
+
}
|
503
|
+
enum PlanningStepStatus {
|
504
|
+
UNKNOWN = 0;
|
505
|
+
PLANNED = 1;
|
506
|
+
EXECUTING = 2;
|
507
|
+
FINISHED = 3;
|
508
|
+
}
|
509
|
+
}
|
510
|
+
|
511
|
+
}
|
512
|
+
|
513
|
+
message BotPromptSuggestion {
|
514
|
+
optional string prompt = 1;
|
515
|
+
optional string promptId = 2;
|
516
|
+
}
|
517
|
+
|
518
|
+
message BotPromptSuggestions {
|
519
|
+
repeated BotPromptSuggestion suggestions = 1;
|
520
|
+
}
|
521
|
+
|
522
|
+
message BotReminderMetadata {
|
523
|
+
optional MessageKey requestMessageKey = 1;
|
524
|
+
optional ReminderAction action = 2;
|
525
|
+
optional string name = 3;
|
526
|
+
optional uint64 nextTriggerTimestamp = 4;
|
527
|
+
optional ReminderFrequency frequency = 5;
|
528
|
+
enum ReminderAction {
|
529
|
+
NOTIFY = 1;
|
530
|
+
CREATE = 2;
|
531
|
+
DELETE = 3;
|
532
|
+
UPDATE = 4;
|
533
|
+
}
|
534
|
+
enum ReminderFrequency {
|
535
|
+
ONCE = 1;
|
536
|
+
DAILY = 2;
|
537
|
+
WEEKLY = 3;
|
538
|
+
BIWEEKLY = 4;
|
539
|
+
MONTHLY = 5;
|
540
|
+
}
|
541
|
+
}
|
542
|
+
|
543
|
+
message BotRenderingMetadata {
|
544
|
+
repeated Keyword keywords = 1;
|
545
|
+
message Keyword {
|
546
|
+
optional string value = 1;
|
547
|
+
repeated string associatedPrompts = 2;
|
548
|
+
}
|
549
|
+
|
550
|
+
}
|
551
|
+
|
552
|
+
message BotSessionMetadata {
|
553
|
+
optional string sessionId = 1;
|
554
|
+
optional BotSessionSource sessionSource = 2;
|
555
|
+
}
|
556
|
+
|
557
|
+
enum BotSessionSource {
|
558
|
+
NONE = 0;
|
559
|
+
NULL_STATE = 1;
|
560
|
+
TYPEAHEAD = 2;
|
561
|
+
USER_INPUT = 3;
|
562
|
+
EMU_FLASH = 4;
|
563
|
+
EMU_FLASH_FOLLOWUP = 5;
|
564
|
+
VOICE = 6;
|
565
|
+
}
|
566
|
+
message BotSourcesMetadata {
|
567
|
+
repeated BotSourceItem sources = 1;
|
568
|
+
message BotSourceItem {
|
569
|
+
optional SourceProvider provider = 1;
|
570
|
+
optional string thumbnailCdnUrl = 2;
|
571
|
+
optional string sourceProviderUrl = 3;
|
572
|
+
optional string sourceQuery = 4;
|
573
|
+
optional string faviconCdnUrl = 5;
|
574
|
+
optional uint32 citationNumber = 6;
|
575
|
+
enum SourceProvider {
|
576
|
+
UNKNOWN = 0;
|
577
|
+
BING = 1;
|
578
|
+
GOOGLE = 2;
|
579
|
+
SUPPORT = 3;
|
580
|
+
}
|
581
|
+
}
|
582
|
+
|
583
|
+
}
|
584
|
+
|
585
|
+
message BotSuggestedPromptMetadata {
|
586
|
+
repeated string suggestedPrompts = 1;
|
587
|
+
optional uint32 selectedPromptIndex = 2;
|
588
|
+
optional BotPromptSuggestions promptSuggestions = 3;
|
589
|
+
optional string selectedPromptId = 4;
|
590
|
+
}
|
591
|
+
|
592
|
+
message CallLogRecord {
|
593
|
+
optional CallResult callResult = 1;
|
594
|
+
optional bool isDndMode = 2;
|
595
|
+
optional SilenceReason silenceReason = 3;
|
596
|
+
optional int64 duration = 4;
|
597
|
+
optional int64 startTime = 5;
|
598
|
+
optional bool isIncoming = 6;
|
599
|
+
optional bool isVideo = 7;
|
600
|
+
optional bool isCallLink = 8;
|
601
|
+
optional string callLinkToken = 9;
|
602
|
+
optional string scheduledCallId = 10;
|
603
|
+
optional string callId = 11;
|
604
|
+
optional string callCreatorJid = 12;
|
605
|
+
optional string groupJid = 13;
|
606
|
+
repeated ParticipantInfo participants = 14;
|
607
|
+
optional CallType callType = 15;
|
608
|
+
enum CallResult {
|
609
|
+
CONNECTED = 0;
|
610
|
+
REJECTED = 1;
|
611
|
+
CANCELLED = 2;
|
612
|
+
ACCEPTEDELSEWHERE = 3;
|
613
|
+
MISSED = 4;
|
614
|
+
INVALID = 5;
|
615
|
+
UNAVAILABLE = 6;
|
616
|
+
UPCOMING = 7;
|
617
|
+
FAILED = 8;
|
618
|
+
ABANDONED = 9;
|
619
|
+
ONGOING = 10;
|
620
|
+
}
|
621
|
+
enum CallType {
|
622
|
+
REGULAR = 0;
|
623
|
+
SCHEDULED_CALL = 1;
|
624
|
+
VOICE_CHAT = 2;
|
625
|
+
}
|
626
|
+
message ParticipantInfo {
|
627
|
+
optional string userJid = 1;
|
628
|
+
optional CallLogRecord.CallResult callResult = 2;
|
629
|
+
}
|
630
|
+
|
631
|
+
enum SilenceReason {
|
632
|
+
NONE = 0;
|
633
|
+
SCHEDULED = 1;
|
634
|
+
PRIVACY = 2;
|
635
|
+
LIGHTWEIGHT = 3;
|
636
|
+
}
|
637
|
+
}
|
638
|
+
|
639
|
+
message CertChain {
|
640
|
+
optional NoiseCertificate leaf = 1;
|
641
|
+
optional NoiseCertificate intermediate = 2;
|
642
|
+
message NoiseCertificate {
|
643
|
+
optional bytes details = 1;
|
644
|
+
optional bytes signature = 2;
|
645
|
+
message Details {
|
646
|
+
optional uint32 serial = 1;
|
647
|
+
optional uint32 issuerSerial = 2;
|
648
|
+
optional bytes key = 3;
|
649
|
+
optional uint64 notBefore = 4;
|
650
|
+
optional uint64 notAfter = 5;
|
651
|
+
}
|
652
|
+
|
653
|
+
}
|
654
|
+
|
655
|
+
}
|
656
|
+
|
657
|
+
message ChatLockSettings {
|
658
|
+
optional bool hideLockedChats = 1;
|
659
|
+
optional UserPassword secretCode = 2;
|
660
|
+
}
|
661
|
+
|
662
|
+
message ChatRowOpaqueData {
|
663
|
+
optional DraftMessage draftMessage = 1;
|
664
|
+
message DraftMessage {
|
665
|
+
optional string text = 1;
|
666
|
+
optional string omittedUrl = 2;
|
667
|
+
optional CtwaContextLinkData ctwaContextLinkData = 3;
|
668
|
+
optional CtwaContextData ctwaContext = 4;
|
669
|
+
optional int64 timestamp = 5;
|
670
|
+
message CtwaContextData {
|
671
|
+
optional string conversionSource = 1;
|
672
|
+
optional bytes conversionData = 2;
|
673
|
+
optional string sourceUrl = 3;
|
674
|
+
optional string sourceId = 4;
|
675
|
+
optional string sourceType = 5;
|
676
|
+
optional string title = 6;
|
677
|
+
optional string description = 7;
|
678
|
+
optional string thumbnail = 8;
|
679
|
+
optional string thumbnailUrl = 9;
|
680
|
+
optional ContextInfoExternalAdReplyInfoMediaType mediaType = 10;
|
681
|
+
optional string mediaUrl = 11;
|
682
|
+
optional bool isSuspiciousLink = 12;
|
683
|
+
enum ContextInfoExternalAdReplyInfoMediaType {
|
684
|
+
NONE = 0;
|
685
|
+
IMAGE = 1;
|
686
|
+
VIDEO = 2;
|
687
|
+
}
|
688
|
+
}
|
689
|
+
|
690
|
+
message CtwaContextLinkData {
|
691
|
+
optional string context = 1;
|
692
|
+
optional string sourceUrl = 2;
|
693
|
+
optional string icebreaker = 3;
|
694
|
+
optional string phone = 4;
|
695
|
+
}
|
696
|
+
|
697
|
+
}
|
698
|
+
|
699
|
+
}
|
700
|
+
|
701
|
+
message Citation {
|
702
|
+
required string title = 1;
|
703
|
+
required string subtitle = 2;
|
704
|
+
required string cmsId = 3;
|
705
|
+
required string imageUrl = 4;
|
706
|
+
}
|
707
|
+
|
708
|
+
message ClientPairingProps {
|
709
|
+
optional bool isChatDbLidMigrated = 1;
|
710
|
+
optional bool isSyncdPureLidSession = 2;
|
711
|
+
}
|
712
|
+
|
713
|
+
message ClientPayload {
|
714
|
+
optional uint64 username = 1;
|
715
|
+
optional bool passive = 3;
|
716
|
+
optional UserAgent userAgent = 5;
|
717
|
+
optional WebInfo webInfo = 6;
|
718
|
+
optional string pushName = 7;
|
719
|
+
optional sfixed32 sessionId = 9;
|
720
|
+
optional bool shortConnect = 10;
|
721
|
+
optional ConnectType connectType = 12;
|
722
|
+
optional ConnectReason connectReason = 13;
|
723
|
+
repeated int32 shards = 14;
|
724
|
+
optional DNSSource dnsSource = 15;
|
725
|
+
optional uint32 connectAttemptCount = 16;
|
726
|
+
optional uint32 device = 18;
|
727
|
+
optional DevicePairingRegistrationData devicePairingData = 19;
|
728
|
+
optional Product product = 20;
|
729
|
+
optional bytes fbCat = 21;
|
730
|
+
optional bytes fbUserAgent = 22;
|
731
|
+
optional bool oc = 23;
|
732
|
+
optional int32 lc = 24;
|
733
|
+
optional IOSAppExtension iosAppExtension = 30;
|
734
|
+
optional uint64 fbAppId = 31;
|
735
|
+
optional bytes fbDeviceId = 32;
|
736
|
+
optional bool pull = 33;
|
737
|
+
optional bytes paddingBytes = 34;
|
738
|
+
optional int32 yearClass = 36;
|
739
|
+
optional int32 memClass = 37;
|
740
|
+
optional InteropData interopData = 38;
|
741
|
+
optional TrafficAnonymization trafficAnonymization = 40;
|
742
|
+
optional bool lidDbMigrated = 41;
|
743
|
+
enum ConnectReason {
|
744
|
+
PUSH = 0;
|
745
|
+
USER_ACTIVATED = 1;
|
746
|
+
SCHEDULED = 2;
|
747
|
+
ERROR_RECONNECT = 3;
|
748
|
+
NETWORK_SWITCH = 4;
|
749
|
+
PING_RECONNECT = 5;
|
750
|
+
UNKNOWN = 6;
|
751
|
+
}
|
752
|
+
enum ConnectType {
|
753
|
+
CELLULAR_UNKNOWN = 0;
|
754
|
+
WIFI_UNKNOWN = 1;
|
755
|
+
CELLULAR_EDGE = 100;
|
756
|
+
CELLULAR_IDEN = 101;
|
757
|
+
CELLULAR_UMTS = 102;
|
758
|
+
CELLULAR_EVDO = 103;
|
759
|
+
CELLULAR_GPRS = 104;
|
760
|
+
CELLULAR_HSDPA = 105;
|
761
|
+
CELLULAR_HSUPA = 106;
|
762
|
+
CELLULAR_HSPA = 107;
|
763
|
+
CELLULAR_CDMA = 108;
|
764
|
+
CELLULAR_1XRTT = 109;
|
765
|
+
CELLULAR_EHRPD = 110;
|
766
|
+
CELLULAR_LTE = 111;
|
767
|
+
CELLULAR_HSPAP = 112;
|
768
|
+
}
|
769
|
+
message DNSSource {
|
770
|
+
optional DNSResolutionMethod dnsMethod = 15;
|
771
|
+
optional bool appCached = 16;
|
772
|
+
enum DNSResolutionMethod {
|
773
|
+
SYSTEM = 0;
|
774
|
+
GOOGLE = 1;
|
775
|
+
HARDCODED = 2;
|
776
|
+
OVERRIDE = 3;
|
777
|
+
FALLBACK = 4;
|
778
|
+
MNS = 5;
|
779
|
+
}
|
780
|
+
}
|
781
|
+
|
782
|
+
message DevicePairingRegistrationData {
|
783
|
+
optional bytes eRegid = 1;
|
784
|
+
optional bytes eKeytype = 2;
|
785
|
+
optional bytes eIdent = 3;
|
786
|
+
optional bytes eSkeyId = 4;
|
787
|
+
optional bytes eSkeyVal = 5;
|
788
|
+
optional bytes eSkeySig = 6;
|
789
|
+
optional bytes buildHash = 7;
|
790
|
+
optional bytes deviceProps = 8;
|
791
|
+
}
|
792
|
+
|
793
|
+
enum IOSAppExtension {
|
794
|
+
SHARE_EXTENSION = 0;
|
795
|
+
SERVICE_EXTENSION = 1;
|
796
|
+
INTENTS_EXTENSION = 2;
|
797
|
+
}
|
798
|
+
message InteropData {
|
799
|
+
optional uint64 accountId = 1;
|
800
|
+
optional bytes token = 2;
|
801
|
+
optional bool enableReadReceipts = 3;
|
802
|
+
}
|
803
|
+
|
804
|
+
enum Product {
|
805
|
+
WHATSAPP = 0;
|
806
|
+
MESSENGER = 1;
|
807
|
+
INTEROP = 2;
|
808
|
+
INTEROP_MSGR = 3;
|
809
|
+
}
|
810
|
+
enum TrafficAnonymization {
|
811
|
+
OFF = 0;
|
812
|
+
STANDARD = 1;
|
813
|
+
}
|
814
|
+
message UserAgent {
|
815
|
+
optional Platform platform = 1;
|
816
|
+
optional AppVersion appVersion = 2;
|
817
|
+
optional string mcc = 3;
|
818
|
+
optional string mnc = 4;
|
819
|
+
optional string osVersion = 5;
|
820
|
+
optional string manufacturer = 6;
|
821
|
+
optional string device = 7;
|
822
|
+
optional string osBuildNumber = 8;
|
823
|
+
optional string phoneId = 9;
|
824
|
+
optional ReleaseChannel releaseChannel = 10;
|
825
|
+
optional string localeLanguageIso6391 = 11;
|
826
|
+
optional string localeCountryIso31661Alpha2 = 12;
|
827
|
+
optional string deviceBoard = 13;
|
828
|
+
optional string deviceExpId = 14;
|
829
|
+
optional DeviceType deviceType = 15;
|
830
|
+
optional string deviceModelType = 16;
|
831
|
+
message AppVersion {
|
832
|
+
optional uint32 primary = 1;
|
833
|
+
optional uint32 secondary = 2;
|
834
|
+
optional uint32 tertiary = 3;
|
835
|
+
optional uint32 quaternary = 4;
|
836
|
+
optional uint32 quinary = 5;
|
837
|
+
}
|
838
|
+
|
839
|
+
enum DeviceType {
|
840
|
+
PHONE = 0;
|
841
|
+
TABLET = 1;
|
842
|
+
DESKTOP = 2;
|
843
|
+
WEARABLE = 3;
|
844
|
+
VR = 4;
|
845
|
+
}
|
846
|
+
enum Platform {
|
847
|
+
ANDROID = 0;
|
848
|
+
IOS = 1;
|
849
|
+
WINDOWS_PHONE = 2;
|
850
|
+
BLACKBERRY = 3;
|
851
|
+
BLACKBERRYX = 4;
|
852
|
+
S40 = 5;
|
853
|
+
S60 = 6;
|
854
|
+
PYTHON_CLIENT = 7;
|
855
|
+
TIZEN = 8;
|
856
|
+
ENTERPRISE = 9;
|
857
|
+
SMB_ANDROID = 10;
|
858
|
+
KAIOS = 11;
|
859
|
+
SMB_IOS = 12;
|
860
|
+
WINDOWS = 13;
|
861
|
+
WEB = 14;
|
862
|
+
PORTAL = 15;
|
863
|
+
GREEN_ANDROID = 16;
|
864
|
+
GREEN_IPHONE = 17;
|
865
|
+
BLUE_ANDROID = 18;
|
866
|
+
BLUE_IPHONE = 19;
|
867
|
+
FBLITE_ANDROID = 20;
|
868
|
+
MLITE_ANDROID = 21;
|
869
|
+
IGLITE_ANDROID = 22;
|
870
|
+
PAGE = 23;
|
871
|
+
MACOS = 24;
|
872
|
+
OCULUS_MSG = 25;
|
873
|
+
OCULUS_CALL = 26;
|
874
|
+
MILAN = 27;
|
875
|
+
CAPI = 28;
|
876
|
+
WEAROS = 29;
|
877
|
+
ARDEVICE = 30;
|
878
|
+
VRDEVICE = 31;
|
879
|
+
BLUE_WEB = 32;
|
880
|
+
IPAD = 33;
|
881
|
+
TEST = 34;
|
882
|
+
SMART_GLASSES = 35;
|
883
|
+
}
|
884
|
+
enum ReleaseChannel {
|
885
|
+
RELEASE = 0;
|
886
|
+
BETA = 1;
|
887
|
+
ALPHA = 2;
|
888
|
+
DEBUG = 3;
|
889
|
+
}
|
890
|
+
}
|
891
|
+
|
892
|
+
message WebInfo {
|
893
|
+
optional string refToken = 1;
|
894
|
+
optional string version = 2;
|
895
|
+
optional WebdPayload webdPayload = 3;
|
896
|
+
optional WebSubPlatform webSubPlatform = 4;
|
897
|
+
enum WebSubPlatform {
|
898
|
+
WEB_BROWSER = 0;
|
899
|
+
APP_STORE = 1;
|
900
|
+
WIN_STORE = 2;
|
901
|
+
DARWIN = 3;
|
902
|
+
WIN32 = 4;
|
903
|
+
WIN_HYBRID = 5;
|
904
|
+
}
|
905
|
+
message WebdPayload {
|
906
|
+
optional bool usesParticipantInKey = 1;
|
907
|
+
optional bool supportsStarredMessages = 2;
|
908
|
+
optional bool supportsDocumentMessages = 3;
|
909
|
+
optional bool supportsUrlMessages = 4;
|
910
|
+
optional bool supportsMediaRetry = 5;
|
911
|
+
optional bool supportsE2EImage = 6;
|
912
|
+
optional bool supportsE2EVideo = 7;
|
913
|
+
optional bool supportsE2EAudio = 8;
|
914
|
+
optional bool supportsE2EDocument = 9;
|
915
|
+
optional string documentTypes = 10;
|
916
|
+
optional bytes features = 11;
|
917
|
+
}
|
918
|
+
|
919
|
+
}
|
920
|
+
|
921
|
+
}
|
922
|
+
|
923
|
+
message CommentMetadata {
|
924
|
+
optional MessageKey commentParentKey = 1;
|
925
|
+
optional uint32 replyCount = 2;
|
926
|
+
}
|
927
|
+
|
928
|
+
message CompanionCommitment {
|
929
|
+
optional bytes hash = 1;
|
930
|
+
}
|
931
|
+
|
932
|
+
message CompanionEphemeralIdentity {
|
933
|
+
optional bytes publicKey = 1;
|
934
|
+
optional DeviceProps.PlatformType deviceType = 2;
|
935
|
+
optional string ref = 3;
|
936
|
+
}
|
937
|
+
|
938
|
+
message Config {
|
939
|
+
map<uint32, Field> field = 1;
|
940
|
+
optional uint32 version = 2;
|
941
|
+
}
|
942
|
+
|
943
|
+
message ContextInfo {
|
944
|
+
optional string stanzaId = 1;
|
945
|
+
optional string participant = 2;
|
946
|
+
optional Message quotedMessage = 3;
|
947
|
+
optional string remoteJid = 4;
|
948
|
+
repeated string mentionedJid = 15;
|
949
|
+
optional string conversionSource = 18;
|
950
|
+
optional bytes conversionData = 19;
|
951
|
+
optional uint32 conversionDelaySeconds = 20;
|
952
|
+
optional uint32 forwardingScore = 21;
|
953
|
+
optional bool isForwarded = 22;
|
954
|
+
optional AdReplyInfo quotedAd = 23;
|
955
|
+
optional MessageKey placeholderKey = 24;
|
956
|
+
optional uint32 expiration = 25;
|
957
|
+
optional int64 ephemeralSettingTimestamp = 26;
|
958
|
+
optional bytes ephemeralSharedSecret = 27;
|
959
|
+
optional ExternalAdReplyInfo externalAdReply = 28;
|
960
|
+
optional string entryPointConversionSource = 29;
|
961
|
+
optional string entryPointConversionApp = 30;
|
962
|
+
optional uint32 entryPointConversionDelaySeconds = 31;
|
963
|
+
optional DisappearingMode disappearingMode = 32;
|
964
|
+
optional ActionLink actionLink = 33;
|
965
|
+
optional string groupSubject = 34;
|
966
|
+
optional string parentGroupJid = 35;
|
967
|
+
optional string trustBannerType = 37;
|
968
|
+
optional uint32 trustBannerAction = 38;
|
969
|
+
optional bool isSampled = 39;
|
970
|
+
repeated GroupMention groupMentions = 40;
|
971
|
+
optional UTMInfo utm = 41;
|
972
|
+
optional ForwardedNewsletterMessageInfo forwardedNewsletterMessageInfo = 43;
|
973
|
+
optional BusinessMessageForwardInfo businessMessageForwardInfo = 44;
|
974
|
+
optional string smbClientCampaignId = 45;
|
975
|
+
optional string smbServerCampaignId = 46;
|
976
|
+
optional DataSharingContext dataSharingContext = 47;
|
977
|
+
optional bool alwaysShowAdAttribution = 48;
|
978
|
+
optional FeatureEligibilities featureEligibilities = 49;
|
979
|
+
optional string entryPointConversionExternalSource = 50;
|
980
|
+
optional string entryPointConversionExternalMedium = 51;
|
981
|
+
optional string ctwaSignals = 54;
|
982
|
+
optional bytes ctwaPayload = 55;
|
983
|
+
optional ForwardedAIBotMessageInfo forwardedAiBotMessageInfo = 56;
|
984
|
+
optional StatusAttributionType statusAttributionType = 57;
|
985
|
+
optional UrlTrackingMap urlTrackingMap = 58;
|
986
|
+
optional PairedMediaType pairedMediaType = 59;
|
987
|
+
optional uint32 rankingVersion = 60;
|
988
|
+
message AdReplyInfo {
|
989
|
+
optional string advertiserName = 1;
|
990
|
+
optional MediaType mediaType = 2;
|
991
|
+
optional bytes jpegThumbnail = 16;
|
992
|
+
optional string caption = 17;
|
993
|
+
enum MediaType {
|
994
|
+
NONE = 0;
|
995
|
+
IMAGE = 1;
|
996
|
+
VIDEO = 2;
|
997
|
+
}
|
998
|
+
}
|
999
|
+
|
1000
|
+
message BusinessMessageForwardInfo {
|
1001
|
+
optional string businessOwnerJid = 1;
|
1002
|
+
}
|
1003
|
+
|
1004
|
+
message DataSharingContext {
|
1005
|
+
optional bool showMmDisclosure = 1;
|
1006
|
+
optional string encryptedSignalTokenConsented = 2;
|
1007
|
+
repeated Parameters parameters = 3;
|
1008
|
+
message Parameters {
|
1009
|
+
optional string key = 1;
|
1010
|
+
optional string stringData = 2;
|
1011
|
+
optional int64 intData = 3;
|
1012
|
+
optional float floatData = 4;
|
1013
|
+
optional ContextInfo.DataSharingContext.Parameters contents = 5;
|
1014
|
+
}
|
1015
|
+
|
1016
|
+
}
|
1017
|
+
|
1018
|
+
message ExternalAdReplyInfo {
|
1019
|
+
optional string title = 1;
|
1020
|
+
optional string body = 2;
|
1021
|
+
optional MediaType mediaType = 3;
|
1022
|
+
optional string thumbnailUrl = 4;
|
1023
|
+
optional string mediaUrl = 5;
|
1024
|
+
optional bytes thumbnail = 6;
|
1025
|
+
optional string sourceType = 7;
|
1026
|
+
optional string sourceId = 8;
|
1027
|
+
optional string sourceUrl = 9;
|
1028
|
+
optional bool containsAutoReply = 10;
|
1029
|
+
optional bool renderLargerThumbnail = 11;
|
1030
|
+
optional bool showAdAttribution = 12;
|
1031
|
+
optional string ctwaClid = 13;
|
1032
|
+
optional string ref = 14;
|
1033
|
+
optional bool clickToWhatsappCall = 15;
|
1034
|
+
optional bool adContextPreviewDismissed = 16;
|
1035
|
+
optional string sourceApp = 17;
|
1036
|
+
optional bool automatedGreetingMessageShown = 18;
|
1037
|
+
optional string greetingMessageBody = 19;
|
1038
|
+
optional string ctaPayload = 20;
|
1039
|
+
optional bool disableNudge = 21;
|
1040
|
+
optional string originalImageUrl = 22;
|
1041
|
+
optional bool wtwaAdFormat = 23;
|
1042
|
+
enum MediaType {
|
1043
|
+
NONE = 0;
|
1044
|
+
IMAGE = 1;
|
1045
|
+
VIDEO = 2;
|
1046
|
+
}
|
1047
|
+
}
|
1048
|
+
|
1049
|
+
message FeatureEligibilities {
|
1050
|
+
optional bool cannotBeReactedTo = 1;
|
1051
|
+
optional bool cannotBeRanked = 2;
|
1052
|
+
optional bool canRequestFeedback = 3;
|
1053
|
+
optional bool canBeReshared = 4;
|
1054
|
+
}
|
1055
|
+
|
1056
|
+
message ForwardedAIBotMessageInfo {
|
1057
|
+
optional string botName = 1;
|
1058
|
+
optional string botJid = 2;
|
1059
|
+
optional string creatorName = 3;
|
1060
|
+
}
|
1061
|
+
|
1062
|
+
message ForwardedNewsletterMessageInfo {
|
1063
|
+
optional string newsletterJid = 1;
|
1064
|
+
optional int32 serverMessageId = 2;
|
1065
|
+
optional string newsletterName = 3;
|
1066
|
+
optional ContentType contentType = 4;
|
1067
|
+
optional string accessibilityText = 5;
|
1068
|
+
enum ContentType {
|
1069
|
+
UPDATE = 1;
|
1070
|
+
UPDATE_CARD = 2;
|
1071
|
+
LINK_CARD = 3;
|
1072
|
+
}
|
1073
|
+
}
|
1074
|
+
|
1075
|
+
enum PairedMediaType {
|
1076
|
+
NOT_PAIRED_MEDIA = 0;
|
1077
|
+
SD_VIDEO_PARENT = 1;
|
1078
|
+
HD_VIDEO_CHILD = 2;
|
1079
|
+
SD_IMAGE_PARENT = 3;
|
1080
|
+
HD_IMAGE_CHILD = 4;
|
1081
|
+
}
|
1082
|
+
enum StatusAttributionType {
|
1083
|
+
NONE = 0;
|
1084
|
+
RESHARED_FROM_MENTION = 1;
|
1085
|
+
RESHARED_FROM_POST = 2;
|
1086
|
+
}
|
1087
|
+
message UTMInfo {
|
1088
|
+
optional string utmSource = 1;
|
1089
|
+
optional string utmCampaign = 2;
|
1090
|
+
}
|
1091
|
+
|
1092
|
+
}
|
1093
|
+
|
1094
|
+
message Conversation {
|
1095
|
+
required string id = 1;
|
1096
|
+
repeated HistorySyncMsg messages = 2;
|
1097
|
+
optional string newJid = 3;
|
1098
|
+
optional string oldJid = 4;
|
1099
|
+
optional uint64 lastMsgTimestamp = 5;
|
1100
|
+
optional uint32 unreadCount = 6;
|
1101
|
+
optional bool readOnly = 7;
|
1102
|
+
optional bool endOfHistoryTransfer = 8;
|
1103
|
+
optional uint32 ephemeralExpiration = 9;
|
1104
|
+
optional int64 ephemeralSettingTimestamp = 10;
|
1105
|
+
optional EndOfHistoryTransferType endOfHistoryTransferType = 11;
|
1106
|
+
optional uint64 conversationTimestamp = 12;
|
1107
|
+
optional string name = 13;
|
1108
|
+
optional string pHash = 14;
|
1109
|
+
optional bool notSpam = 15;
|
1110
|
+
optional bool archived = 16;
|
1111
|
+
optional DisappearingMode disappearingMode = 17;
|
1112
|
+
optional uint32 unreadMentionCount = 18;
|
1113
|
+
optional bool markedAsUnread = 19;
|
1114
|
+
repeated GroupParticipant participant = 20;
|
1115
|
+
optional bytes tcToken = 21;
|
1116
|
+
optional uint64 tcTokenTimestamp = 22;
|
1117
|
+
optional bytes contactPrimaryIdentityKey = 23;
|
1118
|
+
optional uint32 pinned = 24;
|
1119
|
+
optional uint64 muteEndTime = 25;
|
1120
|
+
optional WallpaperSettings wallpaper = 26;
|
1121
|
+
optional MediaVisibility mediaVisibility = 27;
|
1122
|
+
optional uint64 tcTokenSenderTimestamp = 28;
|
1123
|
+
optional bool suspended = 29;
|
1124
|
+
optional bool terminated = 30;
|
1125
|
+
optional uint64 createdAt = 31;
|
1126
|
+
optional string createdBy = 32;
|
1127
|
+
optional string description = 33;
|
1128
|
+
optional bool support = 34;
|
1129
|
+
optional bool isParentGroup = 35;
|
1130
|
+
optional string parentGroupId = 37;
|
1131
|
+
optional bool isDefaultSubgroup = 36;
|
1132
|
+
optional string displayName = 38;
|
1133
|
+
optional string pnJid = 39;
|
1134
|
+
optional bool shareOwnPn = 40;
|
1135
|
+
optional bool pnhDuplicateLidThread = 41;
|
1136
|
+
optional string lidJid = 42;
|
1137
|
+
optional string username = 43;
|
1138
|
+
optional string lidOriginType = 44;
|
1139
|
+
optional uint32 commentsCount = 45;
|
1140
|
+
optional bool locked = 46;
|
1141
|
+
optional PrivacySystemMessage systemMessageToInsert = 47;
|
1142
|
+
optional bool capiCreatedGroup = 48;
|
1143
|
+
optional string accountLid = 49;
|
1144
|
+
optional bool limitSharing = 50;
|
1145
|
+
optional int64 limitSharingSettingTimestamp = 51;
|
1146
|
+
enum EndOfHistoryTransferType {
|
1147
|
+
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
1148
|
+
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
1149
|
+
COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY = 2;
|
1150
|
+
}
|
1151
|
+
}
|
1152
|
+
|
1153
|
+
message DeviceCapabilities {
|
1154
|
+
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
1155
|
+
optional LIDMigration lidMigration = 2;
|
1156
|
+
enum ChatLockSupportLevel {
|
1157
|
+
NONE = 0;
|
1158
|
+
MINIMAL = 1;
|
1159
|
+
FULL = 2;
|
1160
|
+
}
|
1161
|
+
message LIDMigration {
|
1162
|
+
optional uint64 chatDbMigrationTimestamp = 1;
|
1163
|
+
}
|
1164
|
+
|
1165
|
+
}
|
1166
|
+
|
1167
|
+
message DeviceConsistencyCodeMessage {
|
1168
|
+
optional uint32 generation = 1;
|
1169
|
+
optional bytes signature = 2;
|
1170
|
+
}
|
1171
|
+
|
1172
|
+
message DeviceListMetadata {
|
1173
|
+
optional bytes senderKeyHash = 1;
|
1174
|
+
optional uint64 senderTimestamp = 2;
|
1175
|
+
repeated uint32 senderKeyIndexes = 3 [packed=true];
|
1176
|
+
optional ADVEncryptionType senderAccountType = 4;
|
1177
|
+
optional ADVEncryptionType receiverAccountType = 5;
|
1178
|
+
optional bytes recipientKeyHash = 8;
|
1179
|
+
optional uint64 recipientTimestamp = 9;
|
1180
|
+
repeated uint32 recipientKeyIndexes = 10 [packed=true];
|
1181
|
+
}
|
1182
|
+
|
1183
|
+
message DeviceProps {
|
1184
|
+
optional string os = 1;
|
1185
|
+
optional AppVersion version = 2;
|
1186
|
+
optional PlatformType platformType = 3;
|
1187
|
+
optional bool requireFullSync = 4;
|
1188
|
+
optional HistorySyncConfig historySyncConfig = 5;
|
1189
|
+
message AppVersion {
|
1190
|
+
optional uint32 primary = 1;
|
1191
|
+
optional uint32 secondary = 2;
|
1192
|
+
optional uint32 tertiary = 3;
|
1193
|
+
optional uint32 quaternary = 4;
|
1194
|
+
optional uint32 quinary = 5;
|
1195
|
+
}
|
1196
|
+
|
1197
|
+
message HistorySyncConfig {
|
1198
|
+
optional uint32 fullSyncDaysLimit = 1;
|
1199
|
+
optional uint32 fullSyncSizeMbLimit = 2;
|
1200
|
+
optional uint32 storageQuotaMb = 3;
|
1201
|
+
optional bool inlineInitialPayloadInE2EeMsg = 4;
|
1202
|
+
optional uint32 recentSyncDaysLimit = 5;
|
1203
|
+
optional bool supportCallLogHistory = 6;
|
1204
|
+
optional bool supportBotUserAgentChatHistory = 7;
|
1205
|
+
optional bool supportCagReactionsAndPolls = 8;
|
1206
|
+
optional bool supportBizHostedMsg = 9;
|
1207
|
+
optional bool supportRecentSyncChunkMessageCountTuning = 10;
|
1208
|
+
optional bool supportHostedGroupMsg = 11;
|
1209
|
+
optional bool supportFbidBotChatHistory = 12;
|
1210
|
+
optional bool supportAddOnHistorySyncMigration = 13;
|
1211
|
+
optional bool supportMessageAssociation = 14;
|
1212
|
+
}
|
1213
|
+
|
1214
|
+
enum PlatformType {
|
1215
|
+
UNKNOWN = 0;
|
1216
|
+
CHROME = 1;
|
1217
|
+
FIREFOX = 2;
|
1218
|
+
IE = 3;
|
1219
|
+
OPERA = 4;
|
1220
|
+
SAFARI = 5;
|
1221
|
+
EDGE = 6;
|
1222
|
+
DESKTOP = 7;
|
1223
|
+
IPAD = 8;
|
1224
|
+
ANDROID_TABLET = 9;
|
1225
|
+
OHANA = 10;
|
1226
|
+
ALOHA = 11;
|
1227
|
+
CATALINA = 12;
|
1228
|
+
TCL_TV = 13;
|
1229
|
+
IOS_PHONE = 14;
|
1230
|
+
IOS_CATALYST = 15;
|
1231
|
+
ANDROID_PHONE = 16;
|
1232
|
+
ANDROID_AMBIGUOUS = 17;
|
1233
|
+
WEAR_OS = 18;
|
1234
|
+
AR_WRIST = 19;
|
1235
|
+
AR_DEVICE = 20;
|
1236
|
+
UWP = 21;
|
1237
|
+
VR = 22;
|
1238
|
+
CLOUD_API = 23;
|
1239
|
+
SMARTGLASSES = 24;
|
1240
|
+
}
|
1241
|
+
}
|
1242
|
+
|
1243
|
+
message DisappearingMode {
|
1244
|
+
optional Initiator initiator = 1;
|
1245
|
+
optional Trigger trigger = 2;
|
1246
|
+
optional string initiatorDeviceJid = 3;
|
1247
|
+
optional bool initiatedByMe = 4;
|
1248
|
+
enum Initiator {
|
1249
|
+
CHANGED_IN_CHAT = 0;
|
1250
|
+
INITIATED_BY_ME = 1;
|
1251
|
+
INITIATED_BY_OTHER = 2;
|
1252
|
+
BIZ_UPGRADE_FB_HOSTING = 3;
|
1253
|
+
}
|
1254
|
+
enum Trigger {
|
1255
|
+
UNKNOWN = 0;
|
1256
|
+
CHAT_SETTING = 1;
|
1257
|
+
ACCOUNT_SETTING = 2;
|
1258
|
+
BULK_CHANGE = 3;
|
1259
|
+
BIZ_SUPPORTS_FB_HOSTING = 4;
|
1260
|
+
UNKNOWN_GROUPS = 5;
|
1261
|
+
}
|
1262
|
+
}
|
1263
|
+
|
1264
|
+
message EmbeddedContent {
|
1265
|
+
oneof content {
|
1266
|
+
EmbeddedMessage embeddedMessage = 1;
|
1267
|
+
EmbeddedMusic embeddedMusic = 2;
|
1268
|
+
}
|
1269
|
+
}
|
1270
|
+
|
1271
|
+
message EmbeddedMessage {
|
1272
|
+
optional string stanzaId = 1;
|
1273
|
+
optional Message message = 2;
|
1274
|
+
}
|
1275
|
+
|
1276
|
+
message EmbeddedMusic {
|
1277
|
+
optional string musicContentMediaId = 1;
|
1278
|
+
optional string songId = 2;
|
1279
|
+
optional string author = 3;
|
1280
|
+
optional string title = 4;
|
1281
|
+
optional string artworkDirectPath = 5;
|
1282
|
+
optional bytes artworkSha256 = 6;
|
1283
|
+
optional bytes artworkEncSha256 = 7;
|
1284
|
+
optional bytes artworkMediaKey = 11;
|
1285
|
+
optional string artistAttribution = 8;
|
1286
|
+
optional bytes countryBlocklist = 9;
|
1287
|
+
optional bool isExplicit = 10;
|
1288
|
+
}
|
1289
|
+
|
1290
|
+
message EncryptedPairingRequest {
|
1291
|
+
optional bytes encryptedPayload = 1;
|
1292
|
+
optional bytes iv = 2;
|
1293
|
+
}
|
1294
|
+
|
1295
|
+
message EphemeralSetting {
|
1296
|
+
optional sfixed32 duration = 1;
|
1297
|
+
optional sfixed64 timestamp = 2;
|
1298
|
+
}
|
1299
|
+
|
1300
|
+
message EventAdditionalMetadata {
|
1301
|
+
optional bool isStale = 1;
|
1302
|
+
}
|
1303
|
+
|
1304
|
+
message EventResponse {
|
1305
|
+
optional MessageKey eventResponseMessageKey = 1;
|
1306
|
+
optional int64 timestampMs = 2;
|
1307
|
+
optional Message.EventResponseMessage eventResponseMessage = 3;
|
1308
|
+
optional bool unread = 4;
|
1309
|
+
}
|
1310
|
+
|
1311
|
+
message ExitCode {
|
1312
|
+
optional uint64 code = 1;
|
1313
|
+
optional string text = 2;
|
1314
|
+
}
|
1315
|
+
|
1316
|
+
message ExternalBlobReference {
|
1317
|
+
optional bytes mediaKey = 1;
|
1318
|
+
optional string directPath = 2;
|
1319
|
+
optional string handle = 3;
|
1320
|
+
optional uint64 fileSizeBytes = 4;
|
1321
|
+
optional bytes fileSha256 = 5;
|
1322
|
+
optional bytes fileEncSha256 = 6;
|
1323
|
+
}
|
1324
|
+
|
1325
|
+
message Field {
|
1326
|
+
optional uint32 minVersion = 1;
|
1327
|
+
optional uint32 maxVersion = 2;
|
1328
|
+
optional uint32 notReportableMinVersion = 3;
|
1329
|
+
optional bool isMessage = 4;
|
1330
|
+
map<uint32, Field> subfield = 5;
|
1331
|
+
}
|
1332
|
+
|
1333
|
+
message GlobalSettings {
|
1334
|
+
optional WallpaperSettings lightThemeWallpaper = 1;
|
1335
|
+
optional MediaVisibility mediaVisibility = 2;
|
1336
|
+
optional WallpaperSettings darkThemeWallpaper = 3;
|
1337
|
+
optional AutoDownloadSettings autoDownloadWiFi = 4;
|
1338
|
+
optional AutoDownloadSettings autoDownloadCellular = 5;
|
1339
|
+
optional AutoDownloadSettings autoDownloadRoaming = 6;
|
1340
|
+
optional bool showIndividualNotificationsPreview = 7;
|
1341
|
+
optional bool showGroupNotificationsPreview = 8;
|
1342
|
+
optional int32 disappearingModeDuration = 9;
|
1343
|
+
optional int64 disappearingModeTimestamp = 10;
|
1344
|
+
optional AvatarUserSettings avatarUserSettings = 11;
|
1345
|
+
optional int32 fontSize = 12;
|
1346
|
+
optional bool securityNotifications = 13;
|
1347
|
+
optional bool autoUnarchiveChats = 14;
|
1348
|
+
optional int32 videoQualityMode = 15;
|
1349
|
+
optional int32 photoQualityMode = 16;
|
1350
|
+
optional NotificationSettings individualNotificationSettings = 17;
|
1351
|
+
optional NotificationSettings groupNotificationSettings = 18;
|
1352
|
+
optional ChatLockSettings chatLockSettings = 19;
|
1353
|
+
}
|
1354
|
+
|
1355
|
+
message GroupMention {
|
1356
|
+
optional string groupJid = 1;
|
1357
|
+
optional string groupSubject = 2;
|
1358
|
+
}
|
1359
|
+
|
1360
|
+
message GroupParticipant {
|
1361
|
+
required string userJid = 1;
|
1362
|
+
optional Rank rank = 2;
|
1363
|
+
enum Rank {
|
1364
|
+
REGULAR = 0;
|
1365
|
+
ADMIN = 1;
|
1366
|
+
SUPERADMIN = 2;
|
1367
|
+
}
|
1368
|
+
}
|
1369
|
+
|
1370
|
+
message HandshakeMessage {
|
1371
|
+
optional ClientHello clientHello = 2;
|
1372
|
+
optional ServerHello serverHello = 3;
|
1373
|
+
optional ClientFinish clientFinish = 4;
|
1374
|
+
message ClientFinish {
|
1375
|
+
optional bytes static = 1;
|
1376
|
+
optional bytes payload = 2;
|
1377
|
+
}
|
1378
|
+
|
1379
|
+
message ClientHello {
|
1380
|
+
optional bytes ephemeral = 1;
|
1381
|
+
optional bytes static = 2;
|
1382
|
+
optional bytes payload = 3;
|
1383
|
+
}
|
1384
|
+
|
1385
|
+
message ServerHello {
|
1386
|
+
optional bytes ephemeral = 1;
|
1387
|
+
optional bytes static = 2;
|
1388
|
+
optional bytes payload = 3;
|
1389
|
+
}
|
1390
|
+
|
1391
|
+
}
|
1392
|
+
|
1393
|
+
message HistorySync {
|
1394
|
+
required HistorySyncType syncType = 1;
|
1395
|
+
repeated Conversation conversations = 2;
|
1396
|
+
repeated WebMessageInfo statusV3Messages = 3;
|
1397
|
+
optional uint32 chunkOrder = 5;
|
1398
|
+
optional uint32 progress = 6;
|
1399
|
+
repeated Pushname pushnames = 7;
|
1400
|
+
optional GlobalSettings globalSettings = 8;
|
1401
|
+
optional bytes threadIdUserSecret = 9;
|
1402
|
+
optional uint32 threadDsTimeframeOffset = 10;
|
1403
|
+
repeated StickerMetadata recentStickers = 11;
|
1404
|
+
repeated PastParticipants pastParticipants = 12;
|
1405
|
+
repeated CallLogRecord callLogRecords = 13;
|
1406
|
+
optional BotAIWaitListState aiWaitListState = 14;
|
1407
|
+
repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15;
|
1408
|
+
optional string companionMetaNonce = 16;
|
1409
|
+
optional bytes shareableChatIdentifierEncryptionKey = 17;
|
1410
|
+
repeated Account accounts = 18;
|
1411
|
+
enum BotAIWaitListState {
|
1412
|
+
IN_WAITLIST = 0;
|
1413
|
+
AI_AVAILABLE = 1;
|
1414
|
+
}
|
1415
|
+
enum HistorySyncType {
|
1416
|
+
INITIAL_BOOTSTRAP = 0;
|
1417
|
+
INITIAL_STATUS_V3 = 1;
|
1418
|
+
FULL = 2;
|
1419
|
+
RECENT = 3;
|
1420
|
+
PUSH_NAME = 4;
|
1421
|
+
NON_BLOCKING_DATA = 5;
|
1422
|
+
ON_DEMAND = 6;
|
1423
|
+
}
|
1424
|
+
}
|
1425
|
+
|
1426
|
+
message HistorySyncMsg {
|
1427
|
+
optional WebMessageInfo message = 1;
|
1428
|
+
optional uint64 msgOrderId = 2;
|
1429
|
+
}
|
1430
|
+
|
1431
|
+
message HydratedTemplateButton {
|
1432
|
+
optional uint32 index = 4;
|
1433
|
+
oneof hydratedButton {
|
1434
|
+
HydratedTemplateButton.HydratedQuickReplyButton quickReplyButton = 1;
|
1435
|
+
HydratedTemplateButton.HydratedURLButton urlButton = 2;
|
1436
|
+
HydratedTemplateButton.HydratedCallButton callButton = 3;
|
1437
|
+
}
|
1438
|
+
message HydratedCallButton {
|
1439
|
+
optional string displayText = 1;
|
1440
|
+
optional string phoneNumber = 2;
|
1441
|
+
}
|
1442
|
+
|
1443
|
+
message HydratedQuickReplyButton {
|
1444
|
+
optional string displayText = 1;
|
1445
|
+
optional string id = 2;
|
1446
|
+
}
|
1447
|
+
|
1448
|
+
message HydratedURLButton {
|
1449
|
+
optional string displayText = 1;
|
1450
|
+
optional string url = 2;
|
1451
|
+
optional string consentedUsersUrl = 3;
|
1452
|
+
optional WebviewPresentationType webviewPresentation = 4;
|
1453
|
+
enum WebviewPresentationType {
|
1454
|
+
FULL = 1;
|
1455
|
+
TALL = 2;
|
1456
|
+
COMPACT = 3;
|
1457
|
+
}
|
1458
|
+
}
|
1459
|
+
|
1460
|
+
}
|
1461
|
+
|
1462
|
+
message IdentityKeyPairStructure {
|
1463
|
+
optional bytes publicKey = 1;
|
1464
|
+
optional bytes privateKey = 2;
|
1465
|
+
}
|
1466
|
+
|
1467
|
+
message InteractiveAnnotation {
|
1468
|
+
repeated Point polygonVertices = 1;
|
1469
|
+
optional bool shouldSkipConfirmation = 4;
|
1470
|
+
optional EmbeddedContent embeddedContent = 5;
|
1471
|
+
optional StatusLinkType statusLinkType = 8;
|
1472
|
+
oneof action {
|
1473
|
+
Location location = 2;
|
1474
|
+
ContextInfo.ForwardedNewsletterMessageInfo newsletter = 3;
|
1475
|
+
bool embeddedAction = 6;
|
1476
|
+
TapLinkAction tapAction = 7;
|
1477
|
+
}
|
1478
|
+
enum StatusLinkType {
|
1479
|
+
RASTERIZED_LINK_PREVIEW = 1;
|
1480
|
+
RASTERIZED_LINK_TRUNCATED = 2;
|
1481
|
+
RASTERIZED_LINK_FULL_URL = 3;
|
1482
|
+
}
|
1483
|
+
}
|
1484
|
+
|
1485
|
+
message KeepInChat {
|
1486
|
+
optional KeepType keepType = 1;
|
1487
|
+
optional int64 serverTimestamp = 2;
|
1488
|
+
optional MessageKey key = 3;
|
1489
|
+
optional string deviceJid = 4;
|
1490
|
+
optional int64 clientTimestampMs = 5;
|
1491
|
+
optional int64 serverTimestampMs = 6;
|
1492
|
+
}
|
1493
|
+
|
1494
|
+
enum KeepType {
|
1495
|
+
UNKNOWN = 0;
|
1496
|
+
KEEP_FOR_ALL = 1;
|
1497
|
+
UNDO_KEEP_FOR_ALL = 2;
|
1498
|
+
}
|
1499
|
+
message KeyExchangeMessage {
|
1500
|
+
optional uint32 id = 1;
|
1501
|
+
optional bytes baseKey = 2;
|
1502
|
+
optional bytes ratchetKey = 3;
|
1503
|
+
optional bytes identityKey = 4;
|
1504
|
+
optional bytes baseKeySignature = 5;
|
1505
|
+
}
|
1506
|
+
|
1507
|
+
message KeyId {
|
1508
|
+
optional bytes id = 1;
|
1509
|
+
}
|
1510
|
+
|
1511
|
+
message LIDMigrationMapping {
|
1512
|
+
required uint64 pn = 1;
|
1513
|
+
required uint64 assignedLid = 2;
|
1514
|
+
optional uint64 latestLid = 3;
|
1515
|
+
}
|
1516
|
+
|
1517
|
+
message LIDMigrationMappingSyncMessage {
|
1518
|
+
optional bytes encodedMappingPayload = 1;
|
1519
|
+
}
|
1520
|
+
|
1521
|
+
message LIDMigrationMappingSyncPayload {
|
1522
|
+
repeated LIDMigrationMapping pnToLidMappings = 1;
|
1523
|
+
}
|
1524
|
+
|
1525
|
+
message LegacyMessage {
|
1526
|
+
optional Message.EventResponseMessage eventResponseMessage = 1;
|
1527
|
+
optional Message.PollVoteMessage pollVote = 2;
|
1528
|
+
}
|
1529
|
+
|
1530
|
+
message LimitSharing {
|
1531
|
+
optional bool sharingLimited = 1;
|
1532
|
+
optional Trigger trigger = 2;
|
1533
|
+
enum Trigger {
|
1534
|
+
CHAT_SETTING = 0;
|
1535
|
+
BIZ_SUPPORTS_FB_HOSTING = 1;
|
1536
|
+
}
|
1537
|
+
}
|
1538
|
+
|
1539
|
+
message LocalizedName {
|
1540
|
+
optional string lg = 1;
|
1541
|
+
optional string lc = 2;
|
1542
|
+
optional string verifiedName = 3;
|
1543
|
+
}
|
1544
|
+
|
1545
|
+
message Location {
|
1546
|
+
optional double degreesLatitude = 1;
|
1547
|
+
optional double degreesLongitude = 2;
|
1548
|
+
optional string name = 3;
|
1549
|
+
}
|
1550
|
+
|
1551
|
+
message MediaData {
|
1552
|
+
optional string localPath = 1;
|
1553
|
+
}
|
1554
|
+
|
1555
|
+
message MediaNotifyMessage {
|
1556
|
+
optional string expressPathUrl = 1;
|
1557
|
+
optional bytes fileEncSha256 = 2;
|
1558
|
+
optional uint64 fileLength = 3;
|
1559
|
+
}
|
1560
|
+
|
1561
|
+
message MediaRetryNotification {
|
1562
|
+
optional string stanzaId = 1;
|
1563
|
+
optional string directPath = 2;
|
1564
|
+
optional ResultType result = 3;
|
1565
|
+
optional bytes messageSecret = 4;
|
1566
|
+
enum ResultType {
|
1567
|
+
GENERAL_ERROR = 0;
|
1568
|
+
SUCCESS = 1;
|
1569
|
+
NOT_FOUND = 2;
|
1570
|
+
DECRYPTION_ERROR = 3;
|
1571
|
+
}
|
1572
|
+
}
|
1573
|
+
|
1574
|
+
enum MediaVisibility {
|
1575
|
+
DEFAULT = 0;
|
1576
|
+
OFF = 1;
|
1577
|
+
ON = 2;
|
1578
|
+
}
|
1579
|
+
message Message {
|
1580
|
+
optional string conversation = 1;
|
1581
|
+
optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
|
1582
|
+
optional ImageMessage imageMessage = 3;
|
1583
|
+
optional ContactMessage contactMessage = 4;
|
1584
|
+
optional LocationMessage locationMessage = 5;
|
1585
|
+
optional ExtendedTextMessage extendedTextMessage = 6;
|
1586
|
+
optional DocumentMessage documentMessage = 7;
|
1587
|
+
optional AudioMessage audioMessage = 8;
|
1588
|
+
optional VideoMessage videoMessage = 9;
|
1589
|
+
optional Call call = 10;
|
1590
|
+
optional Chat chat = 11;
|
1591
|
+
optional ProtocolMessage protocolMessage = 12;
|
1592
|
+
optional ContactsArrayMessage contactsArrayMessage = 13;
|
1593
|
+
optional HighlyStructuredMessage highlyStructuredMessage = 14;
|
1594
|
+
optional SenderKeyDistributionMessage fastRatchetKeySenderKeyDistributionMessage = 15;
|
1595
|
+
optional SendPaymentMessage sendPaymentMessage = 16;
|
1596
|
+
optional LiveLocationMessage liveLocationMessage = 18;
|
1597
|
+
optional RequestPaymentMessage requestPaymentMessage = 22;
|
1598
|
+
optional DeclinePaymentRequestMessage declinePaymentRequestMessage = 23;
|
1599
|
+
optional CancelPaymentRequestMessage cancelPaymentRequestMessage = 24;
|
1600
|
+
optional TemplateMessage templateMessage = 25;
|
1601
|
+
optional StickerMessage stickerMessage = 26;
|
1602
|
+
optional GroupInviteMessage groupInviteMessage = 28;
|
1603
|
+
optional TemplateButtonReplyMessage templateButtonReplyMessage = 29;
|
1604
|
+
optional ProductMessage productMessage = 30;
|
1605
|
+
optional DeviceSentMessage deviceSentMessage = 31;
|
1606
|
+
optional MessageContextInfo messageContextInfo = 35;
|
1607
|
+
optional ListMessage listMessage = 36;
|
1608
|
+
optional FutureProofMessage viewOnceMessage = 37;
|
1609
|
+
optional OrderMessage orderMessage = 38;
|
1610
|
+
optional ListResponseMessage listResponseMessage = 39;
|
1611
|
+
optional FutureProofMessage ephemeralMessage = 40;
|
1612
|
+
optional InvoiceMessage invoiceMessage = 41;
|
1613
|
+
optional ButtonsMessage buttonsMessage = 42;
|
1614
|
+
optional ButtonsResponseMessage buttonsResponseMessage = 43;
|
1615
|
+
optional PaymentInviteMessage paymentInviteMessage = 44;
|
1616
|
+
optional InteractiveMessage interactiveMessage = 45;
|
1617
|
+
optional ReactionMessage reactionMessage = 46;
|
1618
|
+
optional StickerSyncRMRMessage stickerSyncRmrMessage = 47;
|
1619
|
+
optional InteractiveResponseMessage interactiveResponseMessage = 48;
|
1620
|
+
optional PollCreationMessage pollCreationMessage = 49;
|
1621
|
+
optional PollUpdateMessage pollUpdateMessage = 50;
|
1622
|
+
optional KeepInChatMessage keepInChatMessage = 51;
|
1623
|
+
optional FutureProofMessage documentWithCaptionMessage = 53;
|
1624
|
+
optional RequestPhoneNumberMessage requestPhoneNumberMessage = 54;
|
1625
|
+
optional FutureProofMessage viewOnceMessageV2 = 55;
|
1626
|
+
optional EncReactionMessage encReactionMessage = 56;
|
1627
|
+
optional FutureProofMessage editedMessage = 58;
|
1628
|
+
optional FutureProofMessage viewOnceMessageV2Extension = 59;
|
1629
|
+
optional PollCreationMessage pollCreationMessageV2 = 60;
|
1630
|
+
optional ScheduledCallCreationMessage scheduledCallCreationMessage = 61;
|
1631
|
+
optional FutureProofMessage groupMentionedMessage = 62;
|
1632
|
+
optional PinInChatMessage pinInChatMessage = 63;
|
1633
|
+
optional PollCreationMessage pollCreationMessageV3 = 64;
|
1634
|
+
optional ScheduledCallEditMessage scheduledCallEditMessage = 65;
|
1635
|
+
optional VideoMessage ptvMessage = 66;
|
1636
|
+
optional FutureProofMessage botInvokeMessage = 67;
|
1637
|
+
optional CallLogMessage callLogMesssage = 69;
|
1638
|
+
optional MessageHistoryBundle messageHistoryBundle = 70;
|
1639
|
+
optional EncCommentMessage encCommentMessage = 71;
|
1640
|
+
optional BCallMessage bcallMessage = 72;
|
1641
|
+
optional FutureProofMessage lottieStickerMessage = 74;
|
1642
|
+
optional EventMessage eventMessage = 75;
|
1643
|
+
optional EncEventResponseMessage encEventResponseMessage = 76;
|
1644
|
+
optional CommentMessage commentMessage = 77;
|
1645
|
+
optional NewsletterAdminInviteMessage newsletterAdminInviteMessage = 78;
|
1646
|
+
optional PlaceholderMessage placeholderMessage = 80;
|
1647
|
+
optional SecretEncryptedMessage secretEncryptedMessage = 82;
|
1648
|
+
optional AlbumMessage albumMessage = 83;
|
1649
|
+
optional FutureProofMessage eventCoverImage = 85;
|
1650
|
+
optional StickerPackMessage stickerPackMessage = 86;
|
1651
|
+
optional FutureProofMessage statusMentionMessage = 87;
|
1652
|
+
optional PollResultSnapshotMessage pollResultSnapshotMessage = 88;
|
1653
|
+
optional FutureProofMessage pollCreationOptionImageMessage = 90;
|
1654
|
+
optional FutureProofMessage associatedChildMessage = 91;
|
1655
|
+
optional FutureProofMessage groupStatusMentionMessage = 92;
|
1656
|
+
optional FutureProofMessage pollCreationMessageV4 = 93;
|
1657
|
+
optional FutureProofMessage pollCreationMessageV5 = 94;
|
1658
|
+
optional FutureProofMessage statusAddYours = 95;
|
1659
|
+
optional FutureProofMessage groupStatusMessage = 96;
|
1660
|
+
optional AIRichResponseMessage richResponseMessage = 97;
|
1661
|
+
optional StatusNotificationMessage statusNotificationMessage = 98;
|
1662
|
+
optional FutureProofMessage limitSharingMessage = 99;
|
1663
|
+
message AlbumMessage {
|
1664
|
+
optional uint32 expectedImageCount = 2;
|
1665
|
+
optional uint32 expectedVideoCount = 3;
|
1666
|
+
optional ContextInfo contextInfo = 17;
|
1667
|
+
}
|
1668
|
+
|
1669
|
+
message AppStateFatalExceptionNotification {
|
1670
|
+
repeated string collectionNames = 1;
|
1671
|
+
optional int64 timestamp = 2;
|
1672
|
+
}
|
1673
|
+
|
1674
|
+
message AppStateSyncKey {
|
1675
|
+
optional Message.AppStateSyncKeyId keyId = 1;
|
1676
|
+
optional Message.AppStateSyncKeyData keyData = 2;
|
1677
|
+
}
|
1678
|
+
|
1679
|
+
message AppStateSyncKeyData {
|
1680
|
+
optional bytes keyData = 1;
|
1681
|
+
optional Message.AppStateSyncKeyFingerprint fingerprint = 2;
|
1682
|
+
optional int64 timestamp = 3;
|
1683
|
+
}
|
1684
|
+
|
1685
|
+
message AppStateSyncKeyFingerprint {
|
1686
|
+
optional uint32 rawId = 1;
|
1687
|
+
optional uint32 currentIndex = 2;
|
1688
|
+
repeated uint32 deviceIndexes = 3 [packed=true];
|
1689
|
+
}
|
1690
|
+
|
1691
|
+
message AppStateSyncKeyId {
|
1692
|
+
optional bytes keyId = 1;
|
1693
|
+
}
|
1694
|
+
|
1695
|
+
message AppStateSyncKeyRequest {
|
1696
|
+
repeated Message.AppStateSyncKeyId keyIds = 1;
|
1697
|
+
}
|
1698
|
+
|
1699
|
+
message AppStateSyncKeyShare {
|
1700
|
+
repeated Message.AppStateSyncKey keys = 1;
|
1701
|
+
}
|
1702
|
+
|
1703
|
+
message AudioMessage {
|
1704
|
+
optional string url = 1;
|
1705
|
+
optional string mimetype = 2;
|
1706
|
+
optional bytes fileSha256 = 3;
|
1707
|
+
optional uint64 fileLength = 4;
|
1708
|
+
optional uint32 seconds = 5;
|
1709
|
+
optional bool ptt = 6;
|
1710
|
+
optional bytes mediaKey = 7;
|
1711
|
+
optional bytes fileEncSha256 = 8;
|
1712
|
+
optional string directPath = 9;
|
1713
|
+
optional int64 mediaKeyTimestamp = 10;
|
1714
|
+
optional ContextInfo contextInfo = 17;
|
1715
|
+
optional bytes streamingSidecar = 18;
|
1716
|
+
optional bytes waveform = 19;
|
1717
|
+
optional fixed32 backgroundArgb = 20;
|
1718
|
+
optional bool viewOnce = 21;
|
1719
|
+
optional string accessibilityLabel = 22;
|
1720
|
+
}
|
1721
|
+
|
1722
|
+
message BCallMessage {
|
1723
|
+
optional string sessionId = 1;
|
1724
|
+
optional MediaType mediaType = 2;
|
1725
|
+
optional bytes masterKey = 3;
|
1726
|
+
optional string caption = 4;
|
1727
|
+
enum MediaType {
|
1728
|
+
UNKNOWN = 0;
|
1729
|
+
AUDIO = 1;
|
1730
|
+
VIDEO = 2;
|
1731
|
+
}
|
1732
|
+
}
|
1733
|
+
|
1734
|
+
message BotFeedbackMessage {
|
1735
|
+
optional MessageKey messageKey = 1;
|
1736
|
+
optional BotFeedbackKind kind = 2;
|
1737
|
+
optional string text = 3;
|
1738
|
+
optional uint64 kindNegative = 4;
|
1739
|
+
optional uint64 kindPositive = 5;
|
1740
|
+
optional ReportKind kindReport = 6;
|
1741
|
+
enum BotFeedbackKind {
|
1742
|
+
BOT_FEEDBACK_POSITIVE = 0;
|
1743
|
+
BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
|
1744
|
+
BOT_FEEDBACK_NEGATIVE_HELPFUL = 2;
|
1745
|
+
BOT_FEEDBACK_NEGATIVE_INTERESTING = 3;
|
1746
|
+
BOT_FEEDBACK_NEGATIVE_ACCURATE = 4;
|
1747
|
+
BOT_FEEDBACK_NEGATIVE_SAFE = 5;
|
1748
|
+
BOT_FEEDBACK_NEGATIVE_OTHER = 6;
|
1749
|
+
BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
|
1750
|
+
BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
|
1751
|
+
BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
|
1752
|
+
BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10;
|
1753
|
+
BOT_FEEDBACK_NEGATIVE_CLARITY = 11;
|
1754
|
+
BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12;
|
1755
|
+
}
|
1756
|
+
enum BotFeedbackKindMultipleNegative {
|
1757
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
|
1758
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2;
|
1759
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4;
|
1760
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8;
|
1761
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16;
|
1762
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32;
|
1763
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64;
|
1764
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128;
|
1765
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256;
|
1766
|
+
}
|
1767
|
+
enum BotFeedbackKindMultiplePositive {
|
1768
|
+
BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
|
1769
|
+
}
|
1770
|
+
enum ReportKind {
|
1771
|
+
GENERIC = 0;
|
1772
|
+
}
|
1773
|
+
}
|
1774
|
+
|
1775
|
+
message ButtonsMessage {
|
1776
|
+
optional string contentText = 6;
|
1777
|
+
optional string footerText = 7;
|
1778
|
+
optional ContextInfo contextInfo = 8;
|
1779
|
+
repeated Button buttons = 9;
|
1780
|
+
optional HeaderType headerType = 10;
|
1781
|
+
oneof header {
|
1782
|
+
string text = 1;
|
1783
|
+
Message.DocumentMessage documentMessage = 2;
|
1784
|
+
Message.ImageMessage imageMessage = 3;
|
1785
|
+
Message.VideoMessage videoMessage = 4;
|
1786
|
+
Message.LocationMessage locationMessage = 5;
|
1787
|
+
}
|
1788
|
+
message Button {
|
1789
|
+
optional string buttonId = 1;
|
1790
|
+
optional ButtonText buttonText = 2;
|
1791
|
+
optional Type type = 3;
|
1792
|
+
optional NativeFlowInfo nativeFlowInfo = 4;
|
1793
|
+
message ButtonText {
|
1794
|
+
optional string displayText = 1;
|
1795
|
+
}
|
1796
|
+
|
1797
|
+
message NativeFlowInfo {
|
1798
|
+
optional string name = 1;
|
1799
|
+
optional string paramsJson = 2;
|
1800
|
+
}
|
1801
|
+
|
1802
|
+
enum Type {
|
1803
|
+
UNKNOWN = 0;
|
1804
|
+
RESPONSE = 1;
|
1805
|
+
NATIVE_FLOW = 2;
|
1806
|
+
}
|
1807
|
+
}
|
1808
|
+
|
1809
|
+
enum HeaderType {
|
1810
|
+
UNKNOWN = 0;
|
1811
|
+
EMPTY = 1;
|
1812
|
+
TEXT = 2;
|
1813
|
+
DOCUMENT = 3;
|
1814
|
+
IMAGE = 4;
|
1815
|
+
VIDEO = 5;
|
1816
|
+
LOCATION = 6;
|
1817
|
+
}
|
1818
|
+
}
|
1819
|
+
|
1820
|
+
message ButtonsResponseMessage {
|
1821
|
+
optional string selectedButtonId = 1;
|
1822
|
+
optional ContextInfo contextInfo = 3;
|
1823
|
+
optional Type type = 4;
|
1824
|
+
oneof response {
|
1825
|
+
string selectedDisplayText = 2;
|
1826
|
+
}
|
1827
|
+
enum Type {
|
1828
|
+
UNKNOWN = 0;
|
1829
|
+
DISPLAY_TEXT = 1;
|
1830
|
+
}
|
1831
|
+
}
|
1832
|
+
|
1833
|
+
message Call {
|
1834
|
+
optional bytes callKey = 1;
|
1835
|
+
optional string conversionSource = 2;
|
1836
|
+
optional bytes conversionData = 3;
|
1837
|
+
optional uint32 conversionDelaySeconds = 4;
|
1838
|
+
optional string ctwaSignals = 5;
|
1839
|
+
optional bytes ctwaPayload = 6;
|
1840
|
+
}
|
1841
|
+
|
1842
|
+
message CallLogMessage {
|
1843
|
+
optional bool isVideo = 1;
|
1844
|
+
optional CallOutcome callOutcome = 2;
|
1845
|
+
optional int64 durationSecs = 3;
|
1846
|
+
optional CallType callType = 4;
|
1847
|
+
repeated CallParticipant participants = 5;
|
1848
|
+
enum CallOutcome {
|
1849
|
+
CONNECTED = 0;
|
1850
|
+
MISSED = 1;
|
1851
|
+
FAILED = 2;
|
1852
|
+
REJECTED = 3;
|
1853
|
+
ACCEPTED_ELSEWHERE = 4;
|
1854
|
+
ONGOING = 5;
|
1855
|
+
SILENCED_BY_DND = 6;
|
1856
|
+
SILENCED_UNKNOWN_CALLER = 7;
|
1857
|
+
}
|
1858
|
+
message CallParticipant {
|
1859
|
+
optional string jid = 1;
|
1860
|
+
optional Message.CallLogMessage.CallOutcome callOutcome = 2;
|
1861
|
+
}
|
1862
|
+
|
1863
|
+
enum CallType {
|
1864
|
+
REGULAR = 0;
|
1865
|
+
SCHEDULED_CALL = 1;
|
1866
|
+
VOICE_CHAT = 2;
|
1867
|
+
}
|
1868
|
+
}
|
1869
|
+
|
1870
|
+
message CancelPaymentRequestMessage {
|
1871
|
+
optional MessageKey key = 1;
|
1872
|
+
}
|
1873
|
+
|
1874
|
+
message Chat {
|
1875
|
+
optional string displayName = 1;
|
1876
|
+
optional string id = 2;
|
1877
|
+
}
|
1878
|
+
|
1879
|
+
message CloudAPIThreadControlNotification {
|
1880
|
+
optional CloudAPIThreadControl status = 1;
|
1881
|
+
optional int64 senderNotificationTimestampMs = 2;
|
1882
|
+
optional string consumerLid = 3;
|
1883
|
+
optional string consumerPhoneNumber = 4;
|
1884
|
+
enum CloudAPIThreadControl {
|
1885
|
+
UNKNOWN = 0;
|
1886
|
+
CONTROL_PASSED = 1;
|
1887
|
+
CONTROL_TAKEN = 2;
|
1888
|
+
}
|
1889
|
+
}
|
1890
|
+
|
1891
|
+
message CommentMessage {
|
1892
|
+
optional Message message = 1;
|
1893
|
+
optional MessageKey targetMessageKey = 2;
|
1894
|
+
}
|
1895
|
+
|
1896
|
+
message ContactMessage {
|
1897
|
+
optional string displayName = 1;
|
1898
|
+
optional string vcard = 16;
|
1899
|
+
optional ContextInfo contextInfo = 17;
|
1900
|
+
}
|
1901
|
+
|
1902
|
+
message ContactsArrayMessage {
|
1903
|
+
optional string displayName = 1;
|
1904
|
+
repeated Message.ContactMessage contacts = 2;
|
1905
|
+
optional ContextInfo contextInfo = 17;
|
1906
|
+
}
|
1907
|
+
|
1908
|
+
message DeclinePaymentRequestMessage {
|
1909
|
+
optional MessageKey key = 1;
|
1910
|
+
}
|
1911
|
+
|
1912
|
+
message DeviceSentMessage {
|
1913
|
+
optional string destinationJid = 1;
|
1914
|
+
optional Message message = 2;
|
1915
|
+
optional string phash = 3;
|
1916
|
+
}
|
1917
|
+
|
1918
|
+
message DocumentMessage {
|
1919
|
+
optional string url = 1;
|
1920
|
+
optional string mimetype = 2;
|
1921
|
+
optional string title = 3;
|
1922
|
+
optional bytes fileSha256 = 4;
|
1923
|
+
optional uint64 fileLength = 5;
|
1924
|
+
optional uint32 pageCount = 6;
|
1925
|
+
optional bytes mediaKey = 7;
|
1926
|
+
optional string fileName = 8;
|
1927
|
+
optional bytes fileEncSha256 = 9;
|
1928
|
+
optional string directPath = 10;
|
1929
|
+
optional int64 mediaKeyTimestamp = 11;
|
1930
|
+
optional bool contactVcard = 12;
|
1931
|
+
optional string thumbnailDirectPath = 13;
|
1932
|
+
optional bytes thumbnailSha256 = 14;
|
1933
|
+
optional bytes thumbnailEncSha256 = 15;
|
1934
|
+
optional bytes jpegThumbnail = 16;
|
1935
|
+
optional ContextInfo contextInfo = 17;
|
1936
|
+
optional uint32 thumbnailHeight = 18;
|
1937
|
+
optional uint32 thumbnailWidth = 19;
|
1938
|
+
optional string caption = 20;
|
1939
|
+
optional string accessibilityLabel = 21;
|
1940
|
+
}
|
1941
|
+
|
1942
|
+
message EncCommentMessage {
|
1943
|
+
optional MessageKey targetMessageKey = 1;
|
1944
|
+
optional bytes encPayload = 2;
|
1945
|
+
optional bytes encIv = 3;
|
1946
|
+
}
|
1947
|
+
|
1948
|
+
message EncEventResponseMessage {
|
1949
|
+
optional MessageKey eventCreationMessageKey = 1;
|
1950
|
+
optional bytes encPayload = 2;
|
1951
|
+
optional bytes encIv = 3;
|
1952
|
+
}
|
1953
|
+
|
1954
|
+
message EncReactionMessage {
|
1955
|
+
optional MessageKey targetMessageKey = 1;
|
1956
|
+
optional bytes encPayload = 2;
|
1957
|
+
optional bytes encIv = 3;
|
1958
|
+
}
|
1959
|
+
|
1960
|
+
message EventMessage {
|
1961
|
+
optional ContextInfo contextInfo = 1;
|
1962
|
+
optional bool isCanceled = 2;
|
1963
|
+
optional string name = 3;
|
1964
|
+
optional string description = 4;
|
1965
|
+
optional Message.LocationMessage location = 5;
|
1966
|
+
optional string joinLink = 6;
|
1967
|
+
optional int64 startTime = 7;
|
1968
|
+
optional int64 endTime = 8;
|
1969
|
+
optional bool extraGuestsAllowed = 9;
|
1970
|
+
}
|
1971
|
+
|
1972
|
+
message EventResponseMessage {
|
1973
|
+
optional EventResponseType response = 1;
|
1974
|
+
optional int64 timestampMs = 2;
|
1975
|
+
optional int32 extraGuestCount = 3;
|
1976
|
+
enum EventResponseType {
|
1977
|
+
UNKNOWN = 0;
|
1978
|
+
GOING = 1;
|
1979
|
+
NOT_GOING = 2;
|
1980
|
+
MAYBE = 3;
|
1981
|
+
}
|
1982
|
+
}
|
1983
|
+
|
1984
|
+
message ExtendedTextMessage {
|
1985
|
+
optional string text = 1;
|
1986
|
+
optional string matchedText = 2;
|
1987
|
+
optional string description = 5;
|
1988
|
+
optional string title = 6;
|
1989
|
+
optional fixed32 textArgb = 7;
|
1990
|
+
optional fixed32 backgroundArgb = 8;
|
1991
|
+
optional FontType font = 9;
|
1992
|
+
optional PreviewType previewType = 10;
|
1993
|
+
optional bytes jpegThumbnail = 16;
|
1994
|
+
optional ContextInfo contextInfo = 17;
|
1995
|
+
optional bool doNotPlayInline = 18;
|
1996
|
+
optional string thumbnailDirectPath = 19;
|
1997
|
+
optional bytes thumbnailSha256 = 20;
|
1998
|
+
optional bytes thumbnailEncSha256 = 21;
|
1999
|
+
optional bytes mediaKey = 22;
|
2000
|
+
optional int64 mediaKeyTimestamp = 23;
|
2001
|
+
optional uint32 thumbnailHeight = 24;
|
2002
|
+
optional uint32 thumbnailWidth = 25;
|
2003
|
+
optional InviteLinkGroupType inviteLinkGroupType = 26;
|
2004
|
+
optional string inviteLinkParentGroupSubjectV2 = 27;
|
2005
|
+
optional bytes inviteLinkParentGroupThumbnailV2 = 28;
|
2006
|
+
optional InviteLinkGroupType inviteLinkGroupTypeV2 = 29;
|
2007
|
+
optional bool viewOnce = 30;
|
2008
|
+
optional uint32 videoHeight = 31;
|
2009
|
+
optional uint32 videoWidth = 32;
|
2010
|
+
optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
|
2011
|
+
optional LinkPreviewMetadata linkPreviewMetadata = 34;
|
2012
|
+
enum FontType {
|
2013
|
+
SYSTEM = 0;
|
2014
|
+
SYSTEM_TEXT = 1;
|
2015
|
+
FB_SCRIPT = 2;
|
2016
|
+
SYSTEM_BOLD = 6;
|
2017
|
+
MORNINGBREEZE_REGULAR = 7;
|
2018
|
+
CALISTOGA_REGULAR = 8;
|
2019
|
+
EXO2_EXTRABOLD = 9;
|
2020
|
+
COURIERPRIME_BOLD = 10;
|
2021
|
+
}
|
2022
|
+
enum InviteLinkGroupType {
|
2023
|
+
DEFAULT = 0;
|
2024
|
+
PARENT = 1;
|
2025
|
+
SUB = 2;
|
2026
|
+
DEFAULT_SUB = 3;
|
2027
|
+
}
|
2028
|
+
message LinkPreviewMetadata {
|
2029
|
+
optional Message.PaymentLinkMetadata paymentLinkMetadata = 1;
|
2030
|
+
}
|
2031
|
+
|
2032
|
+
enum PreviewType {
|
2033
|
+
NONE = 0;
|
2034
|
+
VIDEO = 1;
|
2035
|
+
PLACEHOLDER = 4;
|
2036
|
+
IMAGE = 5;
|
2037
|
+
PAYMENT_LINKS = 6;
|
2038
|
+
PROFILE = 7;
|
2039
|
+
}
|
2040
|
+
}
|
2041
|
+
|
2042
|
+
message FullHistorySyncOnDemandRequestMetadata {
|
2043
|
+
optional string requestId = 1;
|
2044
|
+
}
|
2045
|
+
|
2046
|
+
message FutureProofMessage {
|
2047
|
+
optional Message message = 1;
|
2048
|
+
}
|
2049
|
+
|
2050
|
+
message GroupInviteMessage {
|
2051
|
+
optional string groupJid = 1;
|
2052
|
+
optional string inviteCode = 2;
|
2053
|
+
optional int64 inviteExpiration = 3;
|
2054
|
+
optional string groupName = 4;
|
2055
|
+
optional bytes jpegThumbnail = 5;
|
2056
|
+
optional string caption = 6;
|
2057
|
+
optional ContextInfo contextInfo = 7;
|
2058
|
+
optional GroupType groupType = 8;
|
2059
|
+
enum GroupType {
|
2060
|
+
DEFAULT = 0;
|
2061
|
+
PARENT = 1;
|
2062
|
+
}
|
2063
|
+
}
|
2064
|
+
|
2065
|
+
message HighlyStructuredMessage {
|
2066
|
+
optional string namespace = 1;
|
2067
|
+
optional string elementName = 2;
|
2068
|
+
repeated string params = 3;
|
2069
|
+
optional string fallbackLg = 4;
|
2070
|
+
optional string fallbackLc = 5;
|
2071
|
+
repeated HSMLocalizableParameter localizableParams = 6;
|
2072
|
+
optional string deterministicLg = 7;
|
2073
|
+
optional string deterministicLc = 8;
|
2074
|
+
optional Message.TemplateMessage hydratedHsm = 9;
|
2075
|
+
message HSMLocalizableParameter {
|
2076
|
+
optional string default = 1;
|
2077
|
+
oneof paramOneof {
|
2078
|
+
Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMCurrency currency = 2;
|
2079
|
+
Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime dateTime = 3;
|
2080
|
+
}
|
2081
|
+
message HSMCurrency {
|
2082
|
+
optional string currencyCode = 1;
|
2083
|
+
optional int64 amount1000 = 2;
|
2084
|
+
}
|
2085
|
+
|
2086
|
+
message HSMDateTime {
|
2087
|
+
oneof datetimeOneof {
|
2088
|
+
Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeComponent component = 1;
|
2089
|
+
Message.HighlyStructuredMessage.HSMLocalizableParameter.HSMDateTime.HSMDateTimeUnixEpoch unixEpoch = 2;
|
2090
|
+
}
|
2091
|
+
message HSMDateTimeComponent {
|
2092
|
+
optional DayOfWeekType dayOfWeek = 1;
|
2093
|
+
optional uint32 year = 2;
|
2094
|
+
optional uint32 month = 3;
|
2095
|
+
optional uint32 dayOfMonth = 4;
|
2096
|
+
optional uint32 hour = 5;
|
2097
|
+
optional uint32 minute = 6;
|
2098
|
+
optional CalendarType calendar = 7;
|
2099
|
+
enum CalendarType {
|
2100
|
+
GREGORIAN = 1;
|
2101
|
+
SOLAR_HIJRI = 2;
|
2102
|
+
}
|
2103
|
+
enum DayOfWeekType {
|
2104
|
+
MONDAY = 1;
|
2105
|
+
TUESDAY = 2;
|
2106
|
+
WEDNESDAY = 3;
|
2107
|
+
THURSDAY = 4;
|
2108
|
+
FRIDAY = 5;
|
2109
|
+
SATURDAY = 6;
|
2110
|
+
SUNDAY = 7;
|
2111
|
+
}
|
2112
|
+
}
|
2113
|
+
|
2114
|
+
message HSMDateTimeUnixEpoch {
|
2115
|
+
optional int64 timestamp = 1;
|
2116
|
+
}
|
2117
|
+
|
2118
|
+
}
|
2119
|
+
|
2120
|
+
}
|
2121
|
+
|
2122
|
+
}
|
2123
|
+
|
2124
|
+
message HistorySyncNotification {
|
2125
|
+
optional bytes fileSha256 = 1;
|
2126
|
+
optional uint64 fileLength = 2;
|
2127
|
+
optional bytes mediaKey = 3;
|
2128
|
+
optional bytes fileEncSha256 = 4;
|
2129
|
+
optional string directPath = 5;
|
2130
|
+
optional HistorySyncType syncType = 6;
|
2131
|
+
optional uint32 chunkOrder = 7;
|
2132
|
+
optional string originalMessageId = 8;
|
2133
|
+
optional uint32 progress = 9;
|
2134
|
+
optional int64 oldestMsgInChunkTimestampSec = 10;
|
2135
|
+
optional bytes initialHistBootstrapInlinePayload = 11;
|
2136
|
+
optional string peerDataRequestSessionId = 12;
|
2137
|
+
optional Message.FullHistorySyncOnDemandRequestMetadata fullHistorySyncOnDemandRequestMetadata = 13;
|
2138
|
+
optional string encHandle = 14;
|
2139
|
+
enum HistorySyncType {
|
2140
|
+
INITIAL_BOOTSTRAP = 0;
|
2141
|
+
INITIAL_STATUS_V3 = 1;
|
2142
|
+
FULL = 2;
|
2143
|
+
RECENT = 3;
|
2144
|
+
PUSH_NAME = 4;
|
2145
|
+
NON_BLOCKING_DATA = 5;
|
2146
|
+
ON_DEMAND = 6;
|
2147
|
+
NO_HISTORY = 7;
|
2148
|
+
}
|
2149
|
+
}
|
2150
|
+
|
2151
|
+
message ImageMessage {
|
2152
|
+
optional string url = 1;
|
2153
|
+
optional string mimetype = 2;
|
2154
|
+
optional string caption = 3;
|
2155
|
+
optional bytes fileSha256 = 4;
|
2156
|
+
optional uint64 fileLength = 5;
|
2157
|
+
optional uint32 height = 6;
|
2158
|
+
optional uint32 width = 7;
|
2159
|
+
optional bytes mediaKey = 8;
|
2160
|
+
optional bytes fileEncSha256 = 9;
|
2161
|
+
repeated InteractiveAnnotation interactiveAnnotations = 10;
|
2162
|
+
optional string directPath = 11;
|
2163
|
+
optional int64 mediaKeyTimestamp = 12;
|
2164
|
+
optional bytes jpegThumbnail = 16;
|
2165
|
+
optional ContextInfo contextInfo = 17;
|
2166
|
+
optional bytes firstScanSidecar = 18;
|
2167
|
+
optional uint32 firstScanLength = 19;
|
2168
|
+
optional uint32 experimentGroupId = 20;
|
2169
|
+
optional bytes scansSidecar = 21;
|
2170
|
+
repeated uint32 scanLengths = 22;
|
2171
|
+
optional bytes midQualityFileSha256 = 23;
|
2172
|
+
optional bytes midQualityFileEncSha256 = 24;
|
2173
|
+
optional bool viewOnce = 25;
|
2174
|
+
optional string thumbnailDirectPath = 26;
|
2175
|
+
optional bytes thumbnailSha256 = 27;
|
2176
|
+
optional bytes thumbnailEncSha256 = 28;
|
2177
|
+
optional string staticUrl = 29;
|
2178
|
+
repeated InteractiveAnnotation annotations = 30;
|
2179
|
+
optional ImageSourceType imageSourceType = 31;
|
2180
|
+
optional string accessibilityLabel = 32;
|
2181
|
+
enum ImageSourceType {
|
2182
|
+
USER_IMAGE = 0;
|
2183
|
+
AI_GENERATED = 1;
|
2184
|
+
AI_MODIFIED = 2;
|
2185
|
+
RASTERIZED_TEXT_STATUS = 3;
|
2186
|
+
}
|
2187
|
+
}
|
2188
|
+
|
2189
|
+
message InitialSecurityNotificationSettingSync {
|
2190
|
+
optional bool securityNotificationEnabled = 1;
|
2191
|
+
}
|
2192
|
+
|
2193
|
+
message InteractiveMessage {
|
2194
|
+
optional Header header = 1;
|
2195
|
+
optional Body body = 2;
|
2196
|
+
optional Footer footer = 3;
|
2197
|
+
optional ContextInfo contextInfo = 15;
|
2198
|
+
optional UrlTrackingMap urlTrackingMap = 16;
|
2199
|
+
oneof interactiveMessage {
|
2200
|
+
Message.InteractiveMessage.ShopMessage shopStorefrontMessage = 4;
|
2201
|
+
Message.InteractiveMessage.CollectionMessage collectionMessage = 5;
|
2202
|
+
Message.InteractiveMessage.NativeFlowMessage nativeFlowMessage = 6;
|
2203
|
+
Message.InteractiveMessage.CarouselMessage carouselMessage = 7;
|
2204
|
+
}
|
2205
|
+
message Body {
|
2206
|
+
optional string text = 1;
|
2207
|
+
}
|
2208
|
+
|
2209
|
+
message CarouselMessage {
|
2210
|
+
repeated Message.InteractiveMessage cards = 1;
|
2211
|
+
optional int32 messageVersion = 2;
|
2212
|
+
}
|
2213
|
+
|
2214
|
+
message CollectionMessage {
|
2215
|
+
optional string bizJid = 1;
|
2216
|
+
optional string id = 2;
|
2217
|
+
optional int32 messageVersion = 3;
|
2218
|
+
}
|
2219
|
+
|
2220
|
+
message Footer {
|
2221
|
+
optional string text = 1;
|
2222
|
+
}
|
2223
|
+
|
2224
|
+
message Header {
|
2225
|
+
optional string title = 1;
|
2226
|
+
optional string subtitle = 2;
|
2227
|
+
optional bool hasMediaAttachment = 5;
|
2228
|
+
oneof media {
|
2229
|
+
Message.DocumentMessage documentMessage = 3;
|
2230
|
+
Message.ImageMessage imageMessage = 4;
|
2231
|
+
bytes jpegThumbnail = 6;
|
2232
|
+
Message.VideoMessage videoMessage = 7;
|
2233
|
+
Message.LocationMessage locationMessage = 8;
|
2234
|
+
Message.ProductMessage productMessage = 9;
|
2235
|
+
}
|
2236
|
+
}
|
2237
|
+
|
2238
|
+
message NativeFlowMessage {
|
2239
|
+
repeated NativeFlowButton buttons = 1;
|
2240
|
+
optional string messageParamsJson = 2;
|
2241
|
+
optional int32 messageVersion = 3;
|
2242
|
+
message NativeFlowButton {
|
2243
|
+
optional string name = 1;
|
2244
|
+
optional string buttonParamsJson = 2;
|
2245
|
+
}
|
2246
|
+
|
2247
|
+
}
|
2248
|
+
|
2249
|
+
message ShopMessage {
|
2250
|
+
optional string id = 1;
|
2251
|
+
optional Surface surface = 2;
|
2252
|
+
optional int32 messageVersion = 3;
|
2253
|
+
enum Surface {
|
2254
|
+
UNKNOWN_SURFACE = 0;
|
2255
|
+
FB = 1;
|
2256
|
+
IG = 2;
|
2257
|
+
WA = 3;
|
2258
|
+
}
|
2259
|
+
}
|
2260
|
+
|
2261
|
+
}
|
2262
|
+
|
2263
|
+
message InteractiveResponseMessage {
|
2264
|
+
optional Body body = 1;
|
2265
|
+
optional ContextInfo contextInfo = 15;
|
2266
|
+
oneof interactiveResponseMessage {
|
2267
|
+
Message.InteractiveResponseMessage.NativeFlowResponseMessage nativeFlowResponseMessage = 2;
|
2268
|
+
}
|
2269
|
+
message Body {
|
2270
|
+
optional string text = 1;
|
2271
|
+
optional Format format = 2;
|
2272
|
+
enum Format {
|
2273
|
+
DEFAULT = 0;
|
2274
|
+
EXTENSIONS_1 = 1;
|
2275
|
+
}
|
2276
|
+
}
|
2277
|
+
|
2278
|
+
message NativeFlowResponseMessage {
|
2279
|
+
optional string name = 1;
|
2280
|
+
optional string paramsJson = 2;
|
2281
|
+
optional int32 version = 3;
|
2282
|
+
}
|
2283
|
+
|
2284
|
+
}
|
2285
|
+
|
2286
|
+
message InvoiceMessage {
|
2287
|
+
optional string note = 1;
|
2288
|
+
optional string token = 2;
|
2289
|
+
optional AttachmentType attachmentType = 3;
|
2290
|
+
optional string attachmentMimetype = 4;
|
2291
|
+
optional bytes attachmentMediaKey = 5;
|
2292
|
+
optional int64 attachmentMediaKeyTimestamp = 6;
|
2293
|
+
optional bytes attachmentFileSha256 = 7;
|
2294
|
+
optional bytes attachmentFileEncSha256 = 8;
|
2295
|
+
optional string attachmentDirectPath = 9;
|
2296
|
+
optional bytes attachmentJpegThumbnail = 10;
|
2297
|
+
enum AttachmentType {
|
2298
|
+
IMAGE = 0;
|
2299
|
+
PDF = 1;
|
2300
|
+
}
|
2301
|
+
}
|
2302
|
+
|
2303
|
+
message KeepInChatMessage {
|
2304
|
+
optional MessageKey key = 1;
|
2305
|
+
optional KeepType keepType = 2;
|
2306
|
+
optional int64 timestampMs = 3;
|
2307
|
+
}
|
2308
|
+
|
2309
|
+
message ListMessage {
|
2310
|
+
optional string title = 1;
|
2311
|
+
optional string description = 2;
|
2312
|
+
optional string buttonText = 3;
|
2313
|
+
optional ListType listType = 4;
|
2314
|
+
repeated Section sections = 5;
|
2315
|
+
optional ProductListInfo productListInfo = 6;
|
2316
|
+
optional string footerText = 7;
|
2317
|
+
optional ContextInfo contextInfo = 8;
|
2318
|
+
enum ListType {
|
2319
|
+
UNKNOWN = 0;
|
2320
|
+
SINGLE_SELECT = 1;
|
2321
|
+
PRODUCT_LIST = 2;
|
2322
|
+
}
|
2323
|
+
message Product {
|
2324
|
+
optional string productId = 1;
|
2325
|
+
}
|
2326
|
+
|
2327
|
+
message ProductListHeaderImage {
|
2328
|
+
optional string productId = 1;
|
2329
|
+
optional bytes jpegThumbnail = 2;
|
2330
|
+
}
|
2331
|
+
|
2332
|
+
message ProductListInfo {
|
2333
|
+
repeated Message.ListMessage.ProductSection productSections = 1;
|
2334
|
+
optional Message.ListMessage.ProductListHeaderImage headerImage = 2;
|
2335
|
+
optional string businessOwnerJid = 3;
|
2336
|
+
}
|
2337
|
+
|
2338
|
+
message ProductSection {
|
2339
|
+
optional string title = 1;
|
2340
|
+
repeated Message.ListMessage.Product products = 2;
|
2341
|
+
}
|
2342
|
+
|
2343
|
+
message Row {
|
2344
|
+
optional string title = 1;
|
2345
|
+
optional string description = 2;
|
2346
|
+
optional string rowId = 3;
|
2347
|
+
}
|
2348
|
+
|
2349
|
+
message Section {
|
2350
|
+
optional string title = 1;
|
2351
|
+
repeated Message.ListMessage.Row rows = 2;
|
2352
|
+
}
|
2353
|
+
|
2354
|
+
}
|
2355
|
+
|
2356
|
+
message ListResponseMessage {
|
2357
|
+
optional string title = 1;
|
2358
|
+
optional ListType listType = 2;
|
2359
|
+
optional SingleSelectReply singleSelectReply = 3;
|
2360
|
+
optional ContextInfo contextInfo = 4;
|
2361
|
+
optional string description = 5;
|
2362
|
+
enum ListType {
|
2363
|
+
UNKNOWN = 0;
|
2364
|
+
SINGLE_SELECT = 1;
|
2365
|
+
}
|
2366
|
+
message SingleSelectReply {
|
2367
|
+
optional string selectedRowId = 1;
|
2368
|
+
}
|
2369
|
+
|
2370
|
+
}
|
2371
|
+
|
2372
|
+
message LiveLocationMessage {
|
2373
|
+
optional double degreesLatitude = 1;
|
2374
|
+
optional double degreesLongitude = 2;
|
2375
|
+
optional uint32 accuracyInMeters = 3;
|
2376
|
+
optional float speedInMps = 4;
|
2377
|
+
optional uint32 degreesClockwiseFromMagneticNorth = 5;
|
2378
|
+
optional string caption = 6;
|
2379
|
+
optional int64 sequenceNumber = 7;
|
2380
|
+
optional uint32 timeOffset = 8;
|
2381
|
+
optional bytes jpegThumbnail = 16;
|
2382
|
+
optional ContextInfo contextInfo = 17;
|
2383
|
+
}
|
2384
|
+
|
2385
|
+
message LocationMessage {
|
2386
|
+
optional double degreesLatitude = 1;
|
2387
|
+
optional double degreesLongitude = 2;
|
2388
|
+
optional string name = 3;
|
2389
|
+
optional string address = 4;
|
2390
|
+
optional string url = 5;
|
2391
|
+
optional bool isLive = 6;
|
2392
|
+
optional uint32 accuracyInMeters = 7;
|
2393
|
+
optional float speedInMps = 8;
|
2394
|
+
optional uint32 degreesClockwiseFromMagneticNorth = 9;
|
2395
|
+
optional string comment = 11;
|
2396
|
+
optional bytes jpegThumbnail = 16;
|
2397
|
+
optional ContextInfo contextInfo = 17;
|
2398
|
+
}
|
2399
|
+
|
2400
|
+
message MMSThumbnailMetadata {
|
2401
|
+
optional string thumbnailDirectPath = 1;
|
2402
|
+
optional bytes thumbnailSha256 = 2;
|
2403
|
+
optional bytes thumbnailEncSha256 = 3;
|
2404
|
+
optional bytes mediaKey = 4;
|
2405
|
+
optional int64 mediaKeyTimestamp = 5;
|
2406
|
+
optional uint32 thumbnailHeight = 6;
|
2407
|
+
optional uint32 thumbnailWidth = 7;
|
2408
|
+
}
|
2409
|
+
|
2410
|
+
message MessageHistoryBundle {
|
2411
|
+
optional string mimetype = 2;
|
2412
|
+
optional bytes fileSha256 = 3;
|
2413
|
+
optional bytes mediaKey = 5;
|
2414
|
+
optional bytes fileEncSha256 = 6;
|
2415
|
+
optional string directPath = 7;
|
2416
|
+
optional int64 mediaKeyTimestamp = 8;
|
2417
|
+
optional ContextInfo contextInfo = 9;
|
2418
|
+
repeated string participants = 10;
|
2419
|
+
}
|
2420
|
+
|
2421
|
+
message NewsletterAdminInviteMessage {
|
2422
|
+
optional string newsletterJid = 1;
|
2423
|
+
optional string newsletterName = 2;
|
2424
|
+
optional bytes jpegThumbnail = 3;
|
2425
|
+
optional string caption = 4;
|
2426
|
+
optional int64 inviteExpiration = 5;
|
2427
|
+
optional ContextInfo contextInfo = 6;
|
2428
|
+
}
|
2429
|
+
|
2430
|
+
message OrderMessage {
|
2431
|
+
optional string orderId = 1;
|
2432
|
+
optional bytes thumbnail = 2;
|
2433
|
+
optional int32 itemCount = 3;
|
2434
|
+
optional OrderStatus status = 4;
|
2435
|
+
optional OrderSurface surface = 5;
|
2436
|
+
optional string message = 6;
|
2437
|
+
optional string orderTitle = 7;
|
2438
|
+
optional string sellerJid = 8;
|
2439
|
+
optional string token = 9;
|
2440
|
+
optional int64 totalAmount1000 = 10;
|
2441
|
+
optional string totalCurrencyCode = 11;
|
2442
|
+
optional ContextInfo contextInfo = 17;
|
2443
|
+
optional int32 messageVersion = 12;
|
2444
|
+
optional MessageKey orderRequestMessageId = 13;
|
2445
|
+
enum OrderStatus {
|
2446
|
+
INQUIRY = 1;
|
2447
|
+
ACCEPTED = 2;
|
2448
|
+
DECLINED = 3;
|
2449
|
+
}
|
2450
|
+
enum OrderSurface {
|
2451
|
+
CATALOG = 1;
|
2452
|
+
}
|
2453
|
+
}
|
2454
|
+
|
2455
|
+
message PaymentInviteMessage {
|
2456
|
+
optional ServiceType serviceType = 1;
|
2457
|
+
optional int64 expiryTimestamp = 2;
|
2458
|
+
enum ServiceType {
|
2459
|
+
UNKNOWN = 0;
|
2460
|
+
FBPAY = 1;
|
2461
|
+
NOVI = 2;
|
2462
|
+
UPI = 3;
|
2463
|
+
}
|
2464
|
+
}
|
2465
|
+
|
2466
|
+
message PaymentLinkMetadata {
|
2467
|
+
optional PaymentLinkButton button = 1;
|
2468
|
+
optional PaymentLinkHeader header = 2;
|
2469
|
+
message PaymentLinkButton {
|
2470
|
+
optional string displayText = 1;
|
2471
|
+
}
|
2472
|
+
|
2473
|
+
message PaymentLinkHeader {
|
2474
|
+
optional PaymentLinkHeaderType headerType = 1;
|
2475
|
+
enum PaymentLinkHeaderType {
|
2476
|
+
LINK_PREVIEW = 0;
|
2477
|
+
ORDER = 1;
|
2478
|
+
}
|
2479
|
+
}
|
2480
|
+
|
2481
|
+
}
|
2482
|
+
|
2483
|
+
message PeerDataOperationRequestMessage {
|
2484
|
+
optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
2485
|
+
repeated RequestStickerReupload requestStickerReupload = 2;
|
2486
|
+
repeated RequestUrlPreview requestUrlPreview = 3;
|
2487
|
+
optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4;
|
2488
|
+
repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
|
2489
|
+
optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
|
2490
|
+
message FullHistorySyncOnDemandRequest {
|
2491
|
+
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
2492
|
+
optional DeviceProps.HistorySyncConfig historySyncConfig = 2;
|
2493
|
+
}
|
2494
|
+
|
2495
|
+
message HistorySyncOnDemandRequest {
|
2496
|
+
optional string chatJid = 1;
|
2497
|
+
optional string oldestMsgId = 2;
|
2498
|
+
optional bool oldestMsgFromMe = 3;
|
2499
|
+
optional int32 onDemandMsgCount = 4;
|
2500
|
+
optional int64 oldestMsgTimestampMs = 5;
|
2501
|
+
optional string accountLid = 6;
|
2502
|
+
}
|
2503
|
+
|
2504
|
+
message PlaceholderMessageResendRequest {
|
2505
|
+
optional MessageKey messageKey = 1;
|
2506
|
+
}
|
2507
|
+
|
2508
|
+
message RequestStickerReupload {
|
2509
|
+
optional string fileSha256 = 1;
|
2510
|
+
}
|
2511
|
+
|
2512
|
+
message RequestUrlPreview {
|
2513
|
+
optional string url = 1;
|
2514
|
+
optional bool includeHqThumbnail = 2;
|
2515
|
+
}
|
2516
|
+
|
2517
|
+
}
|
2518
|
+
|
2519
|
+
message PeerDataOperationRequestResponseMessage {
|
2520
|
+
optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
2521
|
+
optional string stanzaId = 2;
|
2522
|
+
repeated PeerDataOperationResult peerDataOperationResult = 3;
|
2523
|
+
message PeerDataOperationResult {
|
2524
|
+
optional MediaRetryNotification.ResultType mediaUploadResult = 1;
|
2525
|
+
optional Message.StickerMessage stickerMessage = 2;
|
2526
|
+
optional LinkPreviewResponse linkPreviewResponse = 3;
|
2527
|
+
optional PlaceholderMessageResendResponse placeholderMessageResendResponse = 4;
|
2528
|
+
optional WaffleNonceFetchResponse waffleNonceFetchRequestResponse = 5;
|
2529
|
+
optional FullHistorySyncOnDemandRequestResponse fullHistorySyncOnDemandRequestResponse = 6;
|
2530
|
+
optional CompanionMetaNonceFetchResponse companionMetaNonceFetchRequestResponse = 7;
|
2531
|
+
message CompanionMetaNonceFetchResponse {
|
2532
|
+
optional string nonce = 1;
|
2533
|
+
}
|
2534
|
+
|
2535
|
+
message FullHistorySyncOnDemandRequestResponse {
|
2536
|
+
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
2537
|
+
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandResponseCode responseCode = 2;
|
2538
|
+
}
|
2539
|
+
|
2540
|
+
enum FullHistorySyncOnDemandResponseCode {
|
2541
|
+
REQUEST_SUCCESS = 0;
|
2542
|
+
REQUEST_TIME_EXPIRED = 1;
|
2543
|
+
DECLINED_SHARING_HISTORY = 2;
|
2544
|
+
GENERIC_ERROR = 3;
|
2545
|
+
ERROR_REQUEST_ON_NON_SMB_PRIMARY = 4;
|
2546
|
+
ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5;
|
2547
|
+
ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6;
|
2548
|
+
}
|
2549
|
+
message LinkPreviewResponse {
|
2550
|
+
optional string url = 1;
|
2551
|
+
optional string title = 2;
|
2552
|
+
optional string description = 3;
|
2553
|
+
optional bytes thumbData = 4;
|
2554
|
+
optional string matchText = 6;
|
2555
|
+
optional string previewType = 7;
|
2556
|
+
optional LinkPreviewHighQualityThumbnail hqThumbnail = 8;
|
2557
|
+
message LinkPreviewHighQualityThumbnail {
|
2558
|
+
optional string directPath = 1;
|
2559
|
+
optional string thumbHash = 2;
|
2560
|
+
optional string encThumbHash = 3;
|
2561
|
+
optional bytes mediaKey = 4;
|
2562
|
+
optional int64 mediaKeyTimestampMs = 5;
|
2563
|
+
optional int32 thumbWidth = 6;
|
2564
|
+
optional int32 thumbHeight = 7;
|
2565
|
+
}
|
2566
|
+
|
2567
|
+
}
|
2568
|
+
|
2569
|
+
message PlaceholderMessageResendResponse {
|
2570
|
+
optional bytes webMessageInfoBytes = 1;
|
2571
|
+
}
|
2572
|
+
|
2573
|
+
message WaffleNonceFetchResponse {
|
2574
|
+
optional string nonce = 1;
|
2575
|
+
optional string waEntFbid = 2;
|
2576
|
+
}
|
2577
|
+
|
2578
|
+
}
|
2579
|
+
|
2580
|
+
}
|
2581
|
+
|
2582
|
+
enum PeerDataOperationRequestType {
|
2583
|
+
UPLOAD_STICKER = 0;
|
2584
|
+
SEND_RECENT_STICKER_BOOTSTRAP = 1;
|
2585
|
+
GENERATE_LINK_PREVIEW = 2;
|
2586
|
+
HISTORY_SYNC_ON_DEMAND = 3;
|
2587
|
+
PLACEHOLDER_MESSAGE_RESEND = 4;
|
2588
|
+
WAFFLE_LINKING_NONCE_FETCH = 5;
|
2589
|
+
FULL_HISTORY_SYNC_ON_DEMAND = 6;
|
2590
|
+
COMPANION_META_NONCE_FETCH = 7;
|
2591
|
+
}
|
2592
|
+
message PinInChatMessage {
|
2593
|
+
optional MessageKey key = 1;
|
2594
|
+
optional Type type = 2;
|
2595
|
+
optional int64 senderTimestampMs = 3;
|
2596
|
+
enum Type {
|
2597
|
+
UNKNOWN_TYPE = 0;
|
2598
|
+
PIN_FOR_ALL = 1;
|
2599
|
+
UNPIN_FOR_ALL = 2;
|
2600
|
+
}
|
2601
|
+
}
|
2602
|
+
|
2603
|
+
message PlaceholderMessage {
|
2604
|
+
optional PlaceholderType type = 1;
|
2605
|
+
enum PlaceholderType {
|
2606
|
+
MASK_LINKED_DEVICES = 0;
|
2607
|
+
}
|
2608
|
+
}
|
2609
|
+
|
2610
|
+
enum PollContentType {
|
2611
|
+
UNKNOWN = 0;
|
2612
|
+
TEXT = 1;
|
2613
|
+
IMAGE = 2;
|
2614
|
+
}
|
2615
|
+
message PollCreationMessage {
|
2616
|
+
optional bytes encKey = 1;
|
2617
|
+
optional string name = 2;
|
2618
|
+
repeated Option options = 3;
|
2619
|
+
optional uint32 selectableOptionsCount = 4;
|
2620
|
+
optional ContextInfo contextInfo = 5;
|
2621
|
+
optional Message.PollContentType pollContentType = 6;
|
2622
|
+
optional PollType pollType = 7;
|
2623
|
+
optional Option correctAnswer = 8;
|
2624
|
+
message Option {
|
2625
|
+
optional string optionName = 1;
|
2626
|
+
optional string optionHash = 2;
|
2627
|
+
}
|
2628
|
+
|
2629
|
+
enum PollType {
|
2630
|
+
POLL = 0;
|
2631
|
+
QUIZ = 1;
|
2632
|
+
}
|
2633
|
+
}
|
2634
|
+
|
2635
|
+
message PollEncValue {
|
2636
|
+
optional bytes encPayload = 1;
|
2637
|
+
optional bytes encIv = 2;
|
2638
|
+
}
|
2639
|
+
|
2640
|
+
message PollResultSnapshotMessage {
|
2641
|
+
optional string name = 1;
|
2642
|
+
repeated PollVote pollVotes = 2;
|
2643
|
+
optional ContextInfo contextInfo = 3;
|
2644
|
+
message PollVote {
|
2645
|
+
optional string optionName = 1;
|
2646
|
+
optional int64 optionVoteCount = 2;
|
2647
|
+
}
|
2648
|
+
|
2649
|
+
}
|
2650
|
+
|
2651
|
+
message PollUpdateMessage {
|
2652
|
+
optional MessageKey pollCreationMessageKey = 1;
|
2653
|
+
optional Message.PollEncValue vote = 2;
|
2654
|
+
optional Message.PollUpdateMessageMetadata metadata = 3;
|
2655
|
+
optional int64 senderTimestampMs = 4;
|
2656
|
+
}
|
2657
|
+
|
2658
|
+
message PollUpdateMessageMetadata {
|
2659
|
+
}
|
2660
|
+
|
2661
|
+
message PollVoteMessage {
|
2662
|
+
repeated bytes selectedOptions = 1;
|
2663
|
+
}
|
2664
|
+
|
2665
|
+
message ProductMessage {
|
2666
|
+
optional ProductSnapshot product = 1;
|
2667
|
+
optional string businessOwnerJid = 2;
|
2668
|
+
optional CatalogSnapshot catalog = 4;
|
2669
|
+
optional string body = 5;
|
2670
|
+
optional string footer = 6;
|
2671
|
+
optional ContextInfo contextInfo = 17;
|
2672
|
+
message CatalogSnapshot {
|
2673
|
+
optional Message.ImageMessage catalogImage = 1;
|
2674
|
+
optional string title = 2;
|
2675
|
+
optional string description = 3;
|
2676
|
+
}
|
2677
|
+
|
2678
|
+
message ProductSnapshot {
|
2679
|
+
optional Message.ImageMessage productImage = 1;
|
2680
|
+
optional string productId = 2;
|
2681
|
+
optional string title = 3;
|
2682
|
+
optional string description = 4;
|
2683
|
+
optional string currencyCode = 5;
|
2684
|
+
optional int64 priceAmount1000 = 6;
|
2685
|
+
optional string retailerId = 7;
|
2686
|
+
optional string url = 8;
|
2687
|
+
optional uint32 productImageCount = 9;
|
2688
|
+
optional string firstImageId = 11;
|
2689
|
+
optional int64 salePriceAmount1000 = 12;
|
2690
|
+
optional string signedUrl = 13;
|
2691
|
+
}
|
2692
|
+
|
2693
|
+
}
|
2694
|
+
|
2695
|
+
message ProtocolMessage {
|
2696
|
+
optional MessageKey key = 1;
|
2697
|
+
optional Type type = 2;
|
2698
|
+
optional uint32 ephemeralExpiration = 4;
|
2699
|
+
optional int64 ephemeralSettingTimestamp = 5;
|
2700
|
+
optional Message.HistorySyncNotification historySyncNotification = 6;
|
2701
|
+
optional Message.AppStateSyncKeyShare appStateSyncKeyShare = 7;
|
2702
|
+
optional Message.AppStateSyncKeyRequest appStateSyncKeyRequest = 8;
|
2703
|
+
optional Message.InitialSecurityNotificationSettingSync initialSecurityNotificationSettingSync = 9;
|
2704
|
+
optional Message.AppStateFatalExceptionNotification appStateFatalExceptionNotification = 10;
|
2705
|
+
optional DisappearingMode disappearingMode = 11;
|
2706
|
+
optional Message editedMessage = 14;
|
2707
|
+
optional int64 timestampMs = 15;
|
2708
|
+
optional Message.PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16;
|
2709
|
+
optional Message.PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17;
|
2710
|
+
optional Message.BotFeedbackMessage botFeedbackMessage = 18;
|
2711
|
+
optional string invokerJid = 19;
|
2712
|
+
optional Message.RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20;
|
2713
|
+
optional MediaNotifyMessage mediaNotifyMessage = 21;
|
2714
|
+
optional Message.CloudAPIThreadControlNotification cloudApiThreadControlNotification = 22;
|
2715
|
+
optional LIDMigrationMappingSyncMessage lidMigrationMappingSyncMessage = 23;
|
2716
|
+
optional LimitSharing limitSharing = 24;
|
2717
|
+
enum Type {
|
2718
|
+
REVOKE = 0;
|
2719
|
+
EPHEMERAL_SETTING = 3;
|
2720
|
+
EPHEMERAL_SYNC_RESPONSE = 4;
|
2721
|
+
HISTORY_SYNC_NOTIFICATION = 5;
|
2722
|
+
APP_STATE_SYNC_KEY_SHARE = 6;
|
2723
|
+
APP_STATE_SYNC_KEY_REQUEST = 7;
|
2724
|
+
MSG_FANOUT_BACKFILL_REQUEST = 8;
|
2725
|
+
INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC = 9;
|
2726
|
+
APP_STATE_FATAL_EXCEPTION_NOTIFICATION = 10;
|
2727
|
+
SHARE_PHONE_NUMBER = 11;
|
2728
|
+
MESSAGE_EDIT = 14;
|
2729
|
+
PEER_DATA_OPERATION_REQUEST_MESSAGE = 16;
|
2730
|
+
PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = 17;
|
2731
|
+
REQUEST_WELCOME_MESSAGE = 18;
|
2732
|
+
BOT_FEEDBACK_MESSAGE = 19;
|
2733
|
+
MEDIA_NOTIFY_MESSAGE = 20;
|
2734
|
+
CLOUD_API_THREAD_CONTROL_NOTIFICATION = 21;
|
2735
|
+
LID_MIGRATION_MAPPING_SYNC = 22;
|
2736
|
+
REMINDER_MESSAGE = 23;
|
2737
|
+
BOT_MEMU_ONBOARDING_MESSAGE = 24;
|
2738
|
+
STATUS_MENTION_MESSAGE = 25;
|
2739
|
+
STOP_GENERATION_MESSAGE = 26;
|
2740
|
+
LIMIT_SHARING = 27;
|
2741
|
+
}
|
2742
|
+
}
|
2743
|
+
|
2744
|
+
message ReactionMessage {
|
2745
|
+
optional MessageKey key = 1;
|
2746
|
+
optional string text = 2;
|
2747
|
+
optional string groupingKey = 3;
|
2748
|
+
optional int64 senderTimestampMs = 4;
|
2749
|
+
}
|
2750
|
+
|
2751
|
+
message RequestPaymentMessage {
|
2752
|
+
optional Message noteMessage = 4;
|
2753
|
+
optional string currencyCodeIso4217 = 1;
|
2754
|
+
optional uint64 amount1000 = 2;
|
2755
|
+
optional string requestFrom = 3;
|
2756
|
+
optional int64 expiryTimestamp = 5;
|
2757
|
+
optional Money amount = 6;
|
2758
|
+
optional PaymentBackground background = 7;
|
2759
|
+
}
|
2760
|
+
|
2761
|
+
message RequestPhoneNumberMessage {
|
2762
|
+
optional ContextInfo contextInfo = 1;
|
2763
|
+
}
|
2764
|
+
|
2765
|
+
message RequestWelcomeMessageMetadata {
|
2766
|
+
optional LocalChatState localChatState = 1;
|
2767
|
+
enum LocalChatState {
|
2768
|
+
EMPTY = 0;
|
2769
|
+
NON_EMPTY = 1;
|
2770
|
+
}
|
2771
|
+
}
|
2772
|
+
|
2773
|
+
message ScheduledCallCreationMessage {
|
2774
|
+
optional int64 scheduledTimestampMs = 1;
|
2775
|
+
optional CallType callType = 2;
|
2776
|
+
optional string title = 3;
|
2777
|
+
enum CallType {
|
2778
|
+
UNKNOWN = 0;
|
2779
|
+
VOICE = 1;
|
2780
|
+
VIDEO = 2;
|
2781
|
+
}
|
2782
|
+
}
|
2783
|
+
|
2784
|
+
message ScheduledCallEditMessage {
|
2785
|
+
optional MessageKey key = 1;
|
2786
|
+
optional EditType editType = 2;
|
2787
|
+
enum EditType {
|
2788
|
+
UNKNOWN = 0;
|
2789
|
+
CANCEL = 1;
|
2790
|
+
}
|
2791
|
+
}
|
2792
|
+
|
2793
|
+
message SecretEncryptedMessage {
|
2794
|
+
optional MessageKey targetMessageKey = 1;
|
2795
|
+
optional bytes encPayload = 2;
|
2796
|
+
optional bytes encIv = 3;
|
2797
|
+
optional SecretEncType secretEncType = 4;
|
2798
|
+
enum SecretEncType {
|
2799
|
+
UNKNOWN = 0;
|
2800
|
+
EVENT_EDIT = 1;
|
2801
|
+
}
|
2802
|
+
}
|
2803
|
+
|
2804
|
+
message SendPaymentMessage {
|
2805
|
+
optional Message noteMessage = 2;
|
2806
|
+
optional MessageKey requestMessageKey = 3;
|
2807
|
+
optional PaymentBackground background = 4;
|
2808
|
+
}
|
2809
|
+
|
2810
|
+
message SenderKeyDistributionMessage {
|
2811
|
+
optional string groupId = 1;
|
2812
|
+
optional bytes axolotlSenderKeyDistributionMessage = 2;
|
2813
|
+
}
|
2814
|
+
|
2815
|
+
message StatusNotificationMessage {
|
2816
|
+
optional MessageKey responseMessageKey = 1;
|
2817
|
+
optional MessageKey originalMessageKey = 2;
|
2818
|
+
optional StatusNotificationType type = 3;
|
2819
|
+
enum StatusNotificationType {
|
2820
|
+
UNKNOWN = 0;
|
2821
|
+
STATUS_ADD_YOURS = 1;
|
2822
|
+
STATUS_RESHARE = 2;
|
2823
|
+
}
|
2824
|
+
}
|
2825
|
+
|
2826
|
+
message StickerMessage {
|
2827
|
+
optional string url = 1;
|
2828
|
+
optional bytes fileSha256 = 2;
|
2829
|
+
optional bytes fileEncSha256 = 3;
|
2830
|
+
optional bytes mediaKey = 4;
|
2831
|
+
optional string mimetype = 5;
|
2832
|
+
optional uint32 height = 6;
|
2833
|
+
optional uint32 width = 7;
|
2834
|
+
optional string directPath = 8;
|
2835
|
+
optional uint64 fileLength = 9;
|
2836
|
+
optional int64 mediaKeyTimestamp = 10;
|
2837
|
+
optional uint32 firstFrameLength = 11;
|
2838
|
+
optional bytes firstFrameSidecar = 12;
|
2839
|
+
optional bool isAnimated = 13;
|
2840
|
+
optional bytes pngThumbnail = 16;
|
2841
|
+
optional ContextInfo contextInfo = 17;
|
2842
|
+
optional int64 stickerSentTs = 18;
|
2843
|
+
optional bool isAvatar = 19;
|
2844
|
+
optional bool isAiSticker = 20;
|
2845
|
+
optional bool isLottie = 21;
|
2846
|
+
optional string accessibilityLabel = 22;
|
2847
|
+
}
|
2848
|
+
|
2849
|
+
message StickerPackMessage {
|
2850
|
+
optional string stickerPackId = 1;
|
2851
|
+
optional string name = 2;
|
2852
|
+
optional string publisher = 3;
|
2853
|
+
repeated Sticker stickers = 4;
|
2854
|
+
optional uint64 fileLength = 5;
|
2855
|
+
optional bytes fileSha256 = 6;
|
2856
|
+
optional bytes fileEncSha256 = 7;
|
2857
|
+
optional bytes mediaKey = 8;
|
2858
|
+
optional string directPath = 9;
|
2859
|
+
optional string caption = 10;
|
2860
|
+
optional ContextInfo contextInfo = 11;
|
2861
|
+
optional string packDescription = 12;
|
2862
|
+
optional int64 mediaKeyTimestamp = 13;
|
2863
|
+
optional string trayIconFileName = 14;
|
2864
|
+
optional string thumbnailDirectPath = 15;
|
2865
|
+
optional bytes thumbnailSha256 = 16;
|
2866
|
+
optional bytes thumbnailEncSha256 = 17;
|
2867
|
+
optional uint32 thumbnailHeight = 18;
|
2868
|
+
optional uint32 thumbnailWidth = 19;
|
2869
|
+
optional string imageDataHash = 20;
|
2870
|
+
optional uint64 stickerPackSize = 21;
|
2871
|
+
optional StickerPackOrigin stickerPackOrigin = 22;
|
2872
|
+
message Sticker {
|
2873
|
+
optional string fileName = 1;
|
2874
|
+
optional bool isAnimated = 2;
|
2875
|
+
repeated string emojis = 3;
|
2876
|
+
optional string accessibilityLabel = 4;
|
2877
|
+
optional bool isLottie = 5;
|
2878
|
+
optional string mimetype = 6;
|
2879
|
+
}
|
2880
|
+
|
2881
|
+
enum StickerPackOrigin {
|
2882
|
+
FIRST_PARTY = 0;
|
2883
|
+
THIRD_PARTY = 1;
|
2884
|
+
USER_CREATED = 2;
|
2885
|
+
}
|
2886
|
+
}
|
2887
|
+
|
2888
|
+
message StickerSyncRMRMessage {
|
2889
|
+
repeated string filehash = 1;
|
2890
|
+
optional string rmrSource = 2;
|
2891
|
+
optional int64 requestTimestamp = 3;
|
2892
|
+
}
|
2893
|
+
|
2894
|
+
message TemplateButtonReplyMessage {
|
2895
|
+
optional string selectedId = 1;
|
2896
|
+
optional string selectedDisplayText = 2;
|
2897
|
+
optional ContextInfo contextInfo = 3;
|
2898
|
+
optional uint32 selectedIndex = 4;
|
2899
|
+
optional uint32 selectedCarouselCardIndex = 5;
|
2900
|
+
}
|
2901
|
+
|
2902
|
+
message TemplateMessage {
|
2903
|
+
optional ContextInfo contextInfo = 3;
|
2904
|
+
optional HydratedFourRowTemplate hydratedTemplate = 4;
|
2905
|
+
optional string templateId = 9;
|
2906
|
+
oneof format {
|
2907
|
+
Message.TemplateMessage.FourRowTemplate fourRowTemplate = 1;
|
2908
|
+
Message.TemplateMessage.HydratedFourRowTemplate hydratedFourRowTemplate = 2;
|
2909
|
+
Message.InteractiveMessage interactiveMessageTemplate = 5;
|
2910
|
+
}
|
2911
|
+
message FourRowTemplate {
|
2912
|
+
optional Message.HighlyStructuredMessage content = 6;
|
2913
|
+
optional Message.HighlyStructuredMessage footer = 7;
|
2914
|
+
repeated TemplateButton buttons = 8;
|
2915
|
+
oneof title {
|
2916
|
+
Message.DocumentMessage documentMessage = 1;
|
2917
|
+
Message.HighlyStructuredMessage highlyStructuredMessage = 2;
|
2918
|
+
Message.ImageMessage imageMessage = 3;
|
2919
|
+
Message.VideoMessage videoMessage = 4;
|
2920
|
+
Message.LocationMessage locationMessage = 5;
|
2921
|
+
}
|
2922
|
+
}
|
2923
|
+
|
2924
|
+
message HydratedFourRowTemplate {
|
2925
|
+
optional string hydratedContentText = 6;
|
2926
|
+
optional string hydratedFooterText = 7;
|
2927
|
+
repeated HydratedTemplateButton hydratedButtons = 8;
|
2928
|
+
optional string templateId = 9;
|
2929
|
+
optional bool maskLinkedDevices = 10;
|
2930
|
+
oneof title {
|
2931
|
+
Message.DocumentMessage documentMessage = 1;
|
2932
|
+
string hydratedTitleText = 2;
|
2933
|
+
Message.ImageMessage imageMessage = 3;
|
2934
|
+
Message.VideoMessage videoMessage = 4;
|
2935
|
+
Message.LocationMessage locationMessage = 5;
|
2936
|
+
}
|
2937
|
+
}
|
2938
|
+
|
2939
|
+
}
|
2940
|
+
|
2941
|
+
message VideoMessage {
|
2942
|
+
optional string url = 1;
|
2943
|
+
optional string mimetype = 2;
|
2944
|
+
optional bytes fileSha256 = 3;
|
2945
|
+
optional uint64 fileLength = 4;
|
2946
|
+
optional uint32 seconds = 5;
|
2947
|
+
optional bytes mediaKey = 6;
|
2948
|
+
optional string caption = 7;
|
2949
|
+
optional bool gifPlayback = 8;
|
2950
|
+
optional uint32 height = 9;
|
2951
|
+
optional uint32 width = 10;
|
2952
|
+
optional bytes fileEncSha256 = 11;
|
2953
|
+
repeated InteractiveAnnotation interactiveAnnotations = 12;
|
2954
|
+
optional string directPath = 13;
|
2955
|
+
optional int64 mediaKeyTimestamp = 14;
|
2956
|
+
optional bytes jpegThumbnail = 16;
|
2957
|
+
optional ContextInfo contextInfo = 17;
|
2958
|
+
optional bytes streamingSidecar = 18;
|
2959
|
+
optional Attribution gifAttribution = 19;
|
2960
|
+
optional bool viewOnce = 20;
|
2961
|
+
optional string thumbnailDirectPath = 21;
|
2962
|
+
optional bytes thumbnailSha256 = 22;
|
2963
|
+
optional bytes thumbnailEncSha256 = 23;
|
2964
|
+
optional string staticUrl = 24;
|
2965
|
+
repeated InteractiveAnnotation annotations = 25;
|
2966
|
+
optional string accessibilityLabel = 26;
|
2967
|
+
repeated ProcessedVideo processedVideos = 27;
|
2968
|
+
optional uint32 externalShareFullVideoDurationInSeconds = 28;
|
2969
|
+
enum Attribution {
|
2970
|
+
NONE = 0;
|
2971
|
+
GIPHY = 1;
|
2972
|
+
TENOR = 2;
|
2973
|
+
}
|
2974
|
+
}
|
2975
|
+
|
2976
|
+
}
|
2977
|
+
|
2978
|
+
message MessageAddOn {
|
2979
|
+
optional MessageAddOnType messageAddOnType = 1;
|
2980
|
+
optional Message messageAddOn = 2;
|
2981
|
+
optional int64 senderTimestampMs = 3;
|
2982
|
+
optional int64 serverTimestampMs = 4;
|
2983
|
+
optional WebMessageInfo.Status status = 5;
|
2984
|
+
optional MessageAddOnContextInfo addOnContextInfo = 6;
|
2985
|
+
optional MessageKey messageAddOnKey = 7;
|
2986
|
+
optional LegacyMessage legacyMessage = 8;
|
2987
|
+
enum MessageAddOnType {
|
2988
|
+
UNDEFINED = 0;
|
2989
|
+
REACTION = 1;
|
2990
|
+
EVENT_RESPONSE = 2;
|
2991
|
+
POLL_UPDATE = 3;
|
2992
|
+
PIN_IN_CHAT = 4;
|
2993
|
+
}
|
2994
|
+
}
|
2995
|
+
|
2996
|
+
message MessageAddOnContextInfo {
|
2997
|
+
optional uint32 messageAddOnDurationInSecs = 1;
|
2998
|
+
optional MessageContextInfo.MessageAddonExpiryType messageAddOnExpiryType = 2;
|
2999
|
+
}
|
3000
|
+
|
3001
|
+
message MessageAssociation {
|
3002
|
+
optional AssociationType associationType = 1;
|
3003
|
+
optional MessageKey parentMessageKey = 2;
|
3004
|
+
optional int32 messageIndex = 3;
|
3005
|
+
enum AssociationType {
|
3006
|
+
UNKNOWN = 0;
|
3007
|
+
MEDIA_ALBUM = 1;
|
3008
|
+
BOT_PLUGIN = 2;
|
3009
|
+
EVENT_COVER_IMAGE = 3;
|
3010
|
+
STATUS_POLL = 4;
|
3011
|
+
HD_VIDEO_DUAL_UPLOAD = 5;
|
3012
|
+
STATUS_EXTERNAL_RESHARE = 6;
|
3013
|
+
MEDIA_POLL = 7;
|
3014
|
+
STATUS_ADD_YOURS = 8;
|
3015
|
+
STATUS_NOTIFICATION = 9;
|
3016
|
+
HD_IMAGE_DUAL_UPLOAD = 10;
|
3017
|
+
STICKER_ANNOTATION = 11;
|
3018
|
+
MOTION_PHOTO = 12;
|
3019
|
+
STATUS_LINK_ACTION = 13;
|
3020
|
+
VIEW_ALL_REPLIES = 14;
|
3021
|
+
}
|
3022
|
+
}
|
3023
|
+
|
3024
|
+
message MessageContextInfo {
|
3025
|
+
optional DeviceListMetadata deviceListMetadata = 1;
|
3026
|
+
optional int32 deviceListMetadataVersion = 2;
|
3027
|
+
optional bytes messageSecret = 3;
|
3028
|
+
optional bytes paddingBytes = 4;
|
3029
|
+
optional uint32 messageAddOnDurationInSecs = 5;
|
3030
|
+
optional bytes botMessageSecret = 6;
|
3031
|
+
optional BotMetadata botMetadata = 7;
|
3032
|
+
optional int32 reportingTokenVersion = 8;
|
3033
|
+
optional MessageAddonExpiryType messageAddOnExpiryType = 9;
|
3034
|
+
optional MessageAssociation messageAssociation = 10;
|
3035
|
+
optional bool capiCreatedGroup = 11;
|
3036
|
+
optional string supportPayload = 12;
|
3037
|
+
enum MessageAddonExpiryType {
|
3038
|
+
STATIC = 1;
|
3039
|
+
DEPENDENT_ON_PARENT = 2;
|
3040
|
+
}
|
3041
|
+
}
|
3042
|
+
|
3043
|
+
message MessageKey {
|
3044
|
+
optional string remoteJid = 1;
|
3045
|
+
optional bool fromMe = 2;
|
3046
|
+
optional string id = 3;
|
3047
|
+
optional string participant = 4;
|
3048
|
+
}
|
3049
|
+
|
3050
|
+
message MessageSecretMessage {
|
3051
|
+
optional sfixed32 version = 1;
|
3052
|
+
optional bytes encIv = 2;
|
3053
|
+
optional bytes encPayload = 3;
|
3054
|
+
}
|
3055
|
+
|
3056
|
+
message Money {
|
3057
|
+
optional int64 value = 1;
|
3058
|
+
optional uint32 offset = 2;
|
3059
|
+
optional string currencyCode = 3;
|
3060
|
+
}
|
3061
|
+
|
3062
|
+
message MsgOpaqueData {
|
3063
|
+
optional string body = 1;
|
3064
|
+
optional string caption = 3;
|
3065
|
+
optional double lng = 5;
|
3066
|
+
optional bool isLive = 6;
|
3067
|
+
optional double lat = 7;
|
3068
|
+
optional int32 paymentAmount1000 = 8;
|
3069
|
+
optional string paymentNoteMsgBody = 9;
|
3070
|
+
optional string matchedText = 11;
|
3071
|
+
optional string title = 12;
|
3072
|
+
optional string description = 13;
|
3073
|
+
optional bytes futureproofBuffer = 14;
|
3074
|
+
optional string clientUrl = 15;
|
3075
|
+
optional string loc = 16;
|
3076
|
+
optional string pollName = 17;
|
3077
|
+
repeated PollOption pollOptions = 18;
|
3078
|
+
optional uint32 pollSelectableOptionsCount = 20;
|
3079
|
+
optional bytes messageSecret = 21;
|
3080
|
+
optional string originalSelfAuthor = 51;
|
3081
|
+
optional int64 senderTimestampMs = 22;
|
3082
|
+
optional string pollUpdateParentKey = 23;
|
3083
|
+
optional PollEncValue encPollVote = 24;
|
3084
|
+
optional bool isSentCagPollCreation = 28;
|
3085
|
+
optional PollContentType pollContentType = 42;
|
3086
|
+
optional PollVotesSnapshot pollVotesSnapshot = 41;
|
3087
|
+
optional string encReactionTargetMessageKey = 25;
|
3088
|
+
optional bytes encReactionEncPayload = 26;
|
3089
|
+
optional bytes encReactionEncIv = 27;
|
3090
|
+
optional bytes botMessageSecret = 29;
|
3091
|
+
optional string targetMessageKey = 30;
|
3092
|
+
optional bytes encPayload = 31;
|
3093
|
+
optional bytes encIv = 32;
|
3094
|
+
optional string eventName = 33;
|
3095
|
+
optional bool isEventCanceled = 34;
|
3096
|
+
optional string eventDescription = 35;
|
3097
|
+
optional string eventJoinLink = 36;
|
3098
|
+
optional int64 eventStartTime = 37;
|
3099
|
+
optional EventLocation eventLocation = 38;
|
3100
|
+
optional int64 eventEndTime = 40;
|
3101
|
+
message EventLocation {
|
3102
|
+
optional double degreesLatitude = 1;
|
3103
|
+
optional double degreesLongitude = 2;
|
3104
|
+
optional string name = 3;
|
3105
|
+
optional string address = 4;
|
3106
|
+
optional string url = 5;
|
3107
|
+
optional bytes jpegThumbnail = 6;
|
3108
|
+
}
|
3109
|
+
|
3110
|
+
enum PollContentType {
|
3111
|
+
UNKNOWN = 0;
|
3112
|
+
TEXT = 1;
|
3113
|
+
IMAGE = 2;
|
3114
|
+
}
|
3115
|
+
message PollOption {
|
3116
|
+
optional string name = 1;
|
3117
|
+
optional string hash = 2;
|
3118
|
+
}
|
3119
|
+
|
3120
|
+
message PollVoteSnapshot {
|
3121
|
+
optional MsgOpaqueData.PollOption option = 1;
|
3122
|
+
optional int32 optionVoteCount = 2;
|
3123
|
+
}
|
3124
|
+
|
3125
|
+
message PollVotesSnapshot {
|
3126
|
+
repeated MsgOpaqueData.PollVoteSnapshot pollVotes = 1;
|
3127
|
+
}
|
3128
|
+
|
3129
|
+
}
|
3130
|
+
|
3131
|
+
message MsgRowOpaqueData {
|
3132
|
+
optional MsgOpaqueData currentMsg = 1;
|
3133
|
+
optional MsgOpaqueData quotedMsg = 2;
|
3134
|
+
}
|
3135
|
+
|
3136
|
+
message NoiseCertificate {
|
3137
|
+
optional bytes details = 1;
|
3138
|
+
optional bytes signature = 2;
|
3139
|
+
message Details {
|
3140
|
+
optional uint32 serial = 1;
|
3141
|
+
optional string issuer = 2;
|
3142
|
+
optional uint64 expires = 3;
|
3143
|
+
optional string subject = 4;
|
3144
|
+
optional bytes key = 5;
|
3145
|
+
}
|
3146
|
+
|
3147
|
+
}
|
3148
|
+
|
3149
|
+
message NotificationMessageInfo {
|
3150
|
+
optional MessageKey key = 1;
|
3151
|
+
optional Message message = 2;
|
3152
|
+
optional uint64 messageTimestamp = 3;
|
3153
|
+
optional string participant = 4;
|
3154
|
+
}
|
3155
|
+
|
3156
|
+
message NotificationSettings {
|
3157
|
+
optional string messageVibrate = 1;
|
3158
|
+
optional string messagePopup = 2;
|
3159
|
+
optional string messageLight = 3;
|
3160
|
+
optional bool lowPriorityNotifications = 4;
|
3161
|
+
optional bool reactionsMuted = 5;
|
3162
|
+
optional string callVibrate = 6;
|
3163
|
+
}
|
3164
|
+
|
3165
|
+
message PairingRequest {
|
3166
|
+
optional bytes companionPublicKey = 1;
|
3167
|
+
optional bytes companionIdentityKey = 2;
|
3168
|
+
optional bytes advSecret = 3;
|
3169
|
+
}
|
3170
|
+
|
3171
|
+
message PastParticipant {
|
3172
|
+
optional string userJid = 1;
|
3173
|
+
optional LeaveReason leaveReason = 2;
|
3174
|
+
optional uint64 leaveTs = 3;
|
3175
|
+
enum LeaveReason {
|
3176
|
+
LEFT = 0;
|
3177
|
+
REMOVED = 1;
|
3178
|
+
}
|
3179
|
+
}
|
3180
|
+
|
3181
|
+
message PastParticipants {
|
3182
|
+
optional string groupJid = 1;
|
3183
|
+
repeated PastParticipant pastParticipants = 2;
|
3184
|
+
}
|
3185
|
+
|
3186
|
+
message PatchDebugData {
|
3187
|
+
optional bytes currentLthash = 1;
|
3188
|
+
optional bytes newLthash = 2;
|
3189
|
+
optional bytes patchVersion = 3;
|
3190
|
+
optional bytes collectionName = 4;
|
3191
|
+
optional bytes firstFourBytesFromAHashOfSnapshotMacKey = 5;
|
3192
|
+
optional bytes newLthashSubtract = 6;
|
3193
|
+
optional int32 numberAdd = 7;
|
3194
|
+
optional int32 numberRemove = 8;
|
3195
|
+
optional int32 numberOverride = 9;
|
3196
|
+
optional Platform senderPlatform = 10;
|
3197
|
+
optional bool isSenderPrimary = 11;
|
3198
|
+
enum Platform {
|
3199
|
+
ANDROID = 0;
|
3200
|
+
SMBA = 1;
|
3201
|
+
IPHONE = 2;
|
3202
|
+
SMBI = 3;
|
3203
|
+
WEB = 4;
|
3204
|
+
UWP = 5;
|
3205
|
+
DARWIN = 6;
|
3206
|
+
IPAD = 7;
|
3207
|
+
WEAROS = 8;
|
3208
|
+
}
|
3209
|
+
}
|
3210
|
+
|
3211
|
+
message PaymentBackground {
|
3212
|
+
optional string id = 1;
|
3213
|
+
optional uint64 fileLength = 2;
|
3214
|
+
optional uint32 width = 3;
|
3215
|
+
optional uint32 height = 4;
|
3216
|
+
optional string mimetype = 5;
|
3217
|
+
optional fixed32 placeholderArgb = 6;
|
3218
|
+
optional fixed32 textArgb = 7;
|
3219
|
+
optional fixed32 subtextArgb = 8;
|
3220
|
+
optional MediaData mediaData = 9;
|
3221
|
+
optional Type type = 10;
|
3222
|
+
message MediaData {
|
3223
|
+
optional bytes mediaKey = 1;
|
3224
|
+
optional int64 mediaKeyTimestamp = 2;
|
3225
|
+
optional bytes fileSha256 = 3;
|
3226
|
+
optional bytes fileEncSha256 = 4;
|
3227
|
+
optional string directPath = 5;
|
3228
|
+
}
|
3229
|
+
|
3230
|
+
enum Type {
|
3231
|
+
UNKNOWN = 0;
|
3232
|
+
DEFAULT = 1;
|
3233
|
+
}
|
3234
|
+
}
|
3235
|
+
|
3236
|
+
message PaymentInfo {
|
3237
|
+
optional Currency currencyDeprecated = 1;
|
3238
|
+
optional uint64 amount1000 = 2;
|
3239
|
+
optional string receiverJid = 3;
|
3240
|
+
optional Status status = 4;
|
3241
|
+
optional uint64 transactionTimestamp = 5;
|
3242
|
+
optional MessageKey requestMessageKey = 6;
|
3243
|
+
optional uint64 expiryTimestamp = 7;
|
3244
|
+
optional bool futureproofed = 8;
|
3245
|
+
optional string currency = 9;
|
3246
|
+
optional TxnStatus txnStatus = 10;
|
3247
|
+
optional bool useNoviFiatFormat = 11;
|
3248
|
+
optional Money primaryAmount = 12;
|
3249
|
+
optional Money exchangeAmount = 13;
|
3250
|
+
enum Currency {
|
3251
|
+
UNKNOWN_CURRENCY = 0;
|
3252
|
+
INR = 1;
|
3253
|
+
}
|
3254
|
+
enum Status {
|
3255
|
+
UNKNOWN_STATUS = 0;
|
3256
|
+
PROCESSING = 1;
|
3257
|
+
SENT = 2;
|
3258
|
+
NEED_TO_ACCEPT = 3;
|
3259
|
+
COMPLETE = 4;
|
3260
|
+
COULD_NOT_COMPLETE = 5;
|
3261
|
+
REFUNDED = 6;
|
3262
|
+
EXPIRED = 7;
|
3263
|
+
REJECTED = 8;
|
3264
|
+
CANCELLED = 9;
|
3265
|
+
WAITING_FOR_PAYER = 10;
|
3266
|
+
WAITING = 11;
|
3267
|
+
}
|
3268
|
+
enum TxnStatus {
|
3269
|
+
UNKNOWN = 0;
|
3270
|
+
PENDING_SETUP = 1;
|
3271
|
+
PENDING_RECEIVER_SETUP = 2;
|
3272
|
+
INIT = 3;
|
3273
|
+
SUCCESS = 4;
|
3274
|
+
COMPLETED = 5;
|
3275
|
+
FAILED = 6;
|
3276
|
+
FAILED_RISK = 7;
|
3277
|
+
FAILED_PROCESSING = 8;
|
3278
|
+
FAILED_RECEIVER_PROCESSING = 9;
|
3279
|
+
FAILED_DA = 10;
|
3280
|
+
FAILED_DA_FINAL = 11;
|
3281
|
+
REFUNDED_TXN = 12;
|
3282
|
+
REFUND_FAILED = 13;
|
3283
|
+
REFUND_FAILED_PROCESSING = 14;
|
3284
|
+
REFUND_FAILED_DA = 15;
|
3285
|
+
EXPIRED_TXN = 16;
|
3286
|
+
AUTH_CANCELED = 17;
|
3287
|
+
AUTH_CANCEL_FAILED_PROCESSING = 18;
|
3288
|
+
AUTH_CANCEL_FAILED = 19;
|
3289
|
+
COLLECT_INIT = 20;
|
3290
|
+
COLLECT_SUCCESS = 21;
|
3291
|
+
COLLECT_FAILED = 22;
|
3292
|
+
COLLECT_FAILED_RISK = 23;
|
3293
|
+
COLLECT_REJECTED = 24;
|
3294
|
+
COLLECT_EXPIRED = 25;
|
3295
|
+
COLLECT_CANCELED = 26;
|
3296
|
+
COLLECT_CANCELLING = 27;
|
3297
|
+
IN_REVIEW = 28;
|
3298
|
+
REVERSAL_SUCCESS = 29;
|
3299
|
+
REVERSAL_PENDING = 30;
|
3300
|
+
REFUND_PENDING = 31;
|
3301
|
+
}
|
3302
|
+
}
|
3303
|
+
|
3304
|
+
message PhoneNumberToLIDMapping {
|
3305
|
+
optional string pnJid = 1;
|
3306
|
+
optional string lidJid = 2;
|
3307
|
+
}
|
3308
|
+
|
3309
|
+
message PhotoChange {
|
3310
|
+
optional bytes oldPhoto = 1;
|
3311
|
+
optional bytes newPhoto = 2;
|
3312
|
+
optional uint32 newPhotoId = 3;
|
3313
|
+
}
|
3314
|
+
|
3315
|
+
message PinInChat {
|
3316
|
+
optional Type type = 1;
|
3317
|
+
optional MessageKey key = 2;
|
3318
|
+
optional int64 senderTimestampMs = 3;
|
3319
|
+
optional int64 serverTimestampMs = 4;
|
3320
|
+
optional MessageAddOnContextInfo messageAddOnContextInfo = 5;
|
3321
|
+
enum Type {
|
3322
|
+
UNKNOWN_TYPE = 0;
|
3323
|
+
PIN_FOR_ALL = 1;
|
3324
|
+
UNPIN_FOR_ALL = 2;
|
3325
|
+
}
|
3326
|
+
}
|
3327
|
+
|
3328
|
+
message Point {
|
3329
|
+
optional int32 xDeprecated = 1;
|
3330
|
+
optional int32 yDeprecated = 2;
|
3331
|
+
optional double x = 3;
|
3332
|
+
optional double y = 4;
|
3333
|
+
}
|
3334
|
+
|
3335
|
+
message PollAdditionalMetadata {
|
3336
|
+
optional bool pollInvalidated = 1;
|
3337
|
+
}
|
3338
|
+
|
3339
|
+
message PollEncValue {
|
3340
|
+
optional bytes encPayload = 1;
|
3341
|
+
optional bytes encIv = 2;
|
3342
|
+
}
|
3343
|
+
|
3344
|
+
message PollUpdate {
|
3345
|
+
optional MessageKey pollUpdateMessageKey = 1;
|
3346
|
+
optional Message.PollVoteMessage vote = 2;
|
3347
|
+
optional int64 senderTimestampMs = 3;
|
3348
|
+
optional int64 serverTimestampMs = 4;
|
3349
|
+
optional bool unread = 5;
|
3350
|
+
}
|
3351
|
+
|
3352
|
+
message PreKeyRecordStructure {
|
3353
|
+
optional uint32 id = 1;
|
3354
|
+
optional bytes publicKey = 2;
|
3355
|
+
optional bytes privateKey = 3;
|
3356
|
+
}
|
3357
|
+
|
3358
|
+
message PreKeySignalMessage {
|
3359
|
+
optional uint32 registrationId = 5;
|
3360
|
+
optional uint32 preKeyId = 1;
|
3361
|
+
optional uint32 signedPreKeyId = 6;
|
3362
|
+
optional bytes baseKey = 2;
|
3363
|
+
optional bytes identityKey = 3;
|
3364
|
+
optional bytes message = 4;
|
3365
|
+
}
|
3366
|
+
|
3367
|
+
message PremiumMessageInfo {
|
3368
|
+
optional string serverCampaignId = 1;
|
3369
|
+
}
|
3370
|
+
|
3371
|
+
message PrimaryEphemeralIdentity {
|
3372
|
+
optional bytes publicKey = 1;
|
3373
|
+
optional bytes nonce = 2;
|
3374
|
+
}
|
3375
|
+
|
3376
|
+
enum PrivacySystemMessage {
|
3377
|
+
E2EE_MSG = 1;
|
3378
|
+
NE2EE_SELF = 2;
|
3379
|
+
NE2EE_OTHER = 3;
|
3380
|
+
}
|
3381
|
+
message ProcessedVideo {
|
3382
|
+
optional string directPath = 1;
|
3383
|
+
optional bytes fileSha256 = 2;
|
3384
|
+
optional uint32 height = 3;
|
3385
|
+
optional uint32 width = 4;
|
3386
|
+
optional uint64 fileLength = 5;
|
3387
|
+
optional uint32 bitrate = 6;
|
3388
|
+
optional VideoQuality quality = 7;
|
3389
|
+
repeated string capabilities = 8;
|
3390
|
+
enum VideoQuality {
|
3391
|
+
UNDEFINED = 0;
|
3392
|
+
LOW = 1;
|
3393
|
+
MID = 2;
|
3394
|
+
HIGH = 3;
|
3395
|
+
}
|
3396
|
+
}
|
3397
|
+
|
3398
|
+
message ProloguePayload {
|
3399
|
+
optional bytes companionEphemeralIdentity = 1;
|
3400
|
+
optional CompanionCommitment commitment = 2;
|
3401
|
+
}
|
3402
|
+
|
3403
|
+
message Pushname {
|
3404
|
+
optional string id = 1;
|
3405
|
+
optional string pushname = 2;
|
3406
|
+
}
|
3407
|
+
|
3408
|
+
message Reaction {
|
3409
|
+
optional MessageKey key = 1;
|
3410
|
+
optional string text = 2;
|
3411
|
+
optional string groupingKey = 3;
|
3412
|
+
optional int64 senderTimestampMs = 4;
|
3413
|
+
optional bool unread = 5;
|
3414
|
+
}
|
3415
|
+
|
3416
|
+
message RecentEmojiWeight {
|
3417
|
+
optional string emoji = 1;
|
3418
|
+
optional float weight = 2;
|
3419
|
+
}
|
3420
|
+
|
3421
|
+
message RecordStructure {
|
3422
|
+
optional SessionStructure currentSession = 1;
|
3423
|
+
repeated SessionStructure previousSessions = 2;
|
3424
|
+
}
|
3425
|
+
|
3426
|
+
message Reportable {
|
3427
|
+
optional uint32 minVersion = 1;
|
3428
|
+
optional uint32 maxVersion = 2;
|
3429
|
+
optional uint32 notReportableMinVersion = 3;
|
3430
|
+
optional bool never = 4;
|
3431
|
+
}
|
3432
|
+
|
3433
|
+
message ReportingTokenInfo {
|
3434
|
+
optional bytes reportingTag = 1;
|
3435
|
+
}
|
3436
|
+
|
3437
|
+
message SenderKeyDistributionMessage {
|
3438
|
+
optional uint32 id = 1;
|
3439
|
+
optional uint32 iteration = 2;
|
3440
|
+
optional bytes chainKey = 3;
|
3441
|
+
optional bytes signingKey = 4;
|
3442
|
+
}
|
3443
|
+
|
3444
|
+
message SenderKeyMessage {
|
3445
|
+
optional uint32 id = 1;
|
3446
|
+
optional uint32 iteration = 2;
|
3447
|
+
optional bytes ciphertext = 3;
|
3448
|
+
}
|
3449
|
+
|
3450
|
+
message SenderKeyRecordStructure {
|
3451
|
+
repeated SenderKeyStateStructure senderKeyStates = 1;
|
3452
|
+
}
|
3453
|
+
|
3454
|
+
message SenderKeyStateStructure {
|
3455
|
+
optional uint32 senderKeyId = 1;
|
3456
|
+
optional SenderChainKey senderChainKey = 2;
|
3457
|
+
optional SenderSigningKey senderSigningKey = 3;
|
3458
|
+
repeated SenderMessageKey senderMessageKeys = 4;
|
3459
|
+
message SenderChainKey {
|
3460
|
+
optional uint32 iteration = 1;
|
3461
|
+
optional bytes seed = 2;
|
3462
|
+
}
|
3463
|
+
|
3464
|
+
message SenderMessageKey {
|
3465
|
+
optional uint32 iteration = 1;
|
3466
|
+
optional bytes seed = 2;
|
3467
|
+
}
|
3468
|
+
|
3469
|
+
message SenderSigningKey {
|
3470
|
+
optional bytes public = 1;
|
3471
|
+
optional bytes private = 2;
|
3472
|
+
}
|
3473
|
+
|
3474
|
+
}
|
3475
|
+
|
3476
|
+
message ServerErrorReceipt {
|
3477
|
+
optional string stanzaId = 1;
|
3478
|
+
}
|
3479
|
+
|
3480
|
+
message SessionStructure {
|
3481
|
+
optional uint32 sessionVersion = 1;
|
3482
|
+
optional bytes localIdentityPublic = 2;
|
3483
|
+
optional bytes remoteIdentityPublic = 3;
|
3484
|
+
optional bytes rootKey = 4;
|
3485
|
+
optional uint32 previousCounter = 5;
|
3486
|
+
optional Chain senderChain = 6;
|
3487
|
+
repeated Chain receiverChains = 7;
|
3488
|
+
optional PendingKeyExchange pendingKeyExchange = 8;
|
3489
|
+
optional PendingPreKey pendingPreKey = 9;
|
3490
|
+
optional uint32 remoteRegistrationId = 10;
|
3491
|
+
optional uint32 localRegistrationId = 11;
|
3492
|
+
optional bool needsRefresh = 12;
|
3493
|
+
optional bytes aliceBaseKey = 13;
|
3494
|
+
message Chain {
|
3495
|
+
optional bytes senderRatchetKey = 1;
|
3496
|
+
optional bytes senderRatchetKeyPrivate = 2;
|
3497
|
+
optional ChainKey chainKey = 3;
|
3498
|
+
repeated MessageKey messageKeys = 4;
|
3499
|
+
message ChainKey {
|
3500
|
+
optional uint32 index = 1;
|
3501
|
+
optional bytes key = 2;
|
3502
|
+
}
|
3503
|
+
|
3504
|
+
message MessageKey {
|
3505
|
+
optional uint32 index = 1;
|
3506
|
+
optional bytes cipherKey = 2;
|
3507
|
+
optional bytes macKey = 3;
|
3508
|
+
optional bytes iv = 4;
|
3509
|
+
}
|
3510
|
+
|
3511
|
+
}
|
3512
|
+
|
3513
|
+
message PendingKeyExchange {
|
3514
|
+
optional uint32 sequence = 1;
|
3515
|
+
optional bytes localBaseKey = 2;
|
3516
|
+
optional bytes localBaseKeyPrivate = 3;
|
3517
|
+
optional bytes localRatchetKey = 4;
|
3518
|
+
optional bytes localRatchetKeyPrivate = 5;
|
3519
|
+
optional bytes localIdentityKey = 7;
|
3520
|
+
optional bytes localIdentityKeyPrivate = 8;
|
3521
|
+
}
|
3522
|
+
|
3523
|
+
message PendingPreKey {
|
3524
|
+
optional uint32 preKeyId = 1;
|
3525
|
+
optional int32 signedPreKeyId = 3;
|
3526
|
+
optional bytes baseKey = 2;
|
3527
|
+
}
|
3528
|
+
|
3529
|
+
}
|
3530
|
+
|
3531
|
+
message SignalMessage {
|
3532
|
+
optional bytes ratchetKey = 1;
|
3533
|
+
optional uint32 counter = 2;
|
3534
|
+
optional uint32 previousCounter = 3;
|
3535
|
+
optional bytes ciphertext = 4;
|
3536
|
+
}
|
3537
|
+
|
3538
|
+
message SignedPreKeyRecordStructure {
|
3539
|
+
optional uint32 id = 1;
|
3540
|
+
optional bytes publicKey = 2;
|
3541
|
+
optional bytes privateKey = 3;
|
3542
|
+
optional bytes signature = 4;
|
3543
|
+
optional fixed64 timestamp = 5;
|
3544
|
+
}
|
3545
|
+
|
3546
|
+
message StatusMentionMessage {
|
3547
|
+
optional Message quotedStatus = 1;
|
3548
|
+
}
|
3549
|
+
|
3550
|
+
message StatusPSA {
|
3551
|
+
required uint64 campaignId = 44;
|
3552
|
+
optional uint64 campaignExpirationTimestamp = 45;
|
3553
|
+
}
|
3554
|
+
|
3555
|
+
message StickerMetadata {
|
3556
|
+
optional string url = 1;
|
3557
|
+
optional bytes fileSha256 = 2;
|
3558
|
+
optional bytes fileEncSha256 = 3;
|
3559
|
+
optional bytes mediaKey = 4;
|
3560
|
+
optional string mimetype = 5;
|
3561
|
+
optional uint32 height = 6;
|
3562
|
+
optional uint32 width = 7;
|
3563
|
+
optional string directPath = 8;
|
3564
|
+
optional uint64 fileLength = 9;
|
3565
|
+
optional float weight = 10;
|
3566
|
+
optional int64 lastStickerSentTs = 11;
|
3567
|
+
optional bool isLottie = 12;
|
3568
|
+
}
|
3569
|
+
|
3570
|
+
message SyncActionData {
|
3571
|
+
optional bytes index = 1;
|
3572
|
+
optional SyncActionValue value = 2;
|
3573
|
+
optional bytes padding = 3;
|
3574
|
+
optional int32 version = 4;
|
3575
|
+
}
|
3576
|
+
|
3577
|
+
message SyncActionValue {
|
3578
|
+
optional int64 timestamp = 1;
|
3579
|
+
optional StarAction starAction = 2;
|
3580
|
+
optional ContactAction contactAction = 3;
|
3581
|
+
optional MuteAction muteAction = 4;
|
3582
|
+
optional PinAction pinAction = 5;
|
3583
|
+
optional SecurityNotificationSetting securityNotificationSetting = 6;
|
3584
|
+
optional PushNameSetting pushNameSetting = 7;
|
3585
|
+
optional QuickReplyAction quickReplyAction = 8;
|
3586
|
+
optional RecentEmojiWeightsAction recentEmojiWeightsAction = 11;
|
3587
|
+
optional LabelEditAction labelEditAction = 14;
|
3588
|
+
optional LabelAssociationAction labelAssociationAction = 15;
|
3589
|
+
optional LocaleSetting localeSetting = 16;
|
3590
|
+
optional ArchiveChatAction archiveChatAction = 17;
|
3591
|
+
optional DeleteMessageForMeAction deleteMessageForMeAction = 18;
|
3592
|
+
optional KeyExpiration keyExpiration = 19;
|
3593
|
+
optional MarkChatAsReadAction markChatAsReadAction = 20;
|
3594
|
+
optional ClearChatAction clearChatAction = 21;
|
3595
|
+
optional DeleteChatAction deleteChatAction = 22;
|
3596
|
+
optional UnarchiveChatsSetting unarchiveChatsSetting = 23;
|
3597
|
+
optional PrimaryFeature primaryFeature = 24;
|
3598
|
+
optional AndroidUnsupportedActions androidUnsupportedActions = 26;
|
3599
|
+
optional AgentAction agentAction = 27;
|
3600
|
+
optional SubscriptionAction subscriptionAction = 28;
|
3601
|
+
optional UserStatusMuteAction userStatusMuteAction = 29;
|
3602
|
+
optional TimeFormatAction timeFormatAction = 30;
|
3603
|
+
optional NuxAction nuxAction = 31;
|
3604
|
+
optional PrimaryVersionAction primaryVersionAction = 32;
|
3605
|
+
optional StickerAction stickerAction = 33;
|
3606
|
+
optional RemoveRecentStickerAction removeRecentStickerAction = 34;
|
3607
|
+
optional ChatAssignmentAction chatAssignment = 35;
|
3608
|
+
optional ChatAssignmentOpenedStatusAction chatAssignmentOpenedStatus = 36;
|
3609
|
+
optional PnForLidChatAction pnForLidChatAction = 37;
|
3610
|
+
optional MarketingMessageAction marketingMessageAction = 38;
|
3611
|
+
optional MarketingMessageBroadcastAction marketingMessageBroadcastAction = 39;
|
3612
|
+
optional ExternalWebBetaAction externalWebBetaAction = 40;
|
3613
|
+
optional PrivacySettingRelayAllCalls privacySettingRelayAllCalls = 41;
|
3614
|
+
optional CallLogAction callLogAction = 42;
|
3615
|
+
optional StatusPrivacyAction statusPrivacy = 44;
|
3616
|
+
optional BotWelcomeRequestAction botWelcomeRequestAction = 45;
|
3617
|
+
optional DeleteIndividualCallLogAction deleteIndividualCallLog = 46;
|
3618
|
+
optional LabelReorderingAction labelReorderingAction = 47;
|
3619
|
+
optional PaymentInfoAction paymentInfoAction = 48;
|
3620
|
+
optional CustomPaymentMethodsAction customPaymentMethodsAction = 49;
|
3621
|
+
optional LockChatAction lockChatAction = 50;
|
3622
|
+
optional ChatLockSettings chatLockSettings = 51;
|
3623
|
+
optional WamoUserIdentifierAction wamoUserIdentifierAction = 52;
|
3624
|
+
optional PrivacySettingDisableLinkPreviewsAction privacySettingDisableLinkPreviewsAction = 53;
|
3625
|
+
optional DeviceCapabilities deviceCapabilities = 54;
|
3626
|
+
optional NoteEditAction noteEditAction = 55;
|
3627
|
+
optional FavoritesAction favoritesAction = 56;
|
3628
|
+
optional MerchantPaymentPartnerAction merchantPaymentPartnerAction = 57;
|
3629
|
+
optional WaffleAccountLinkStateAction waffleAccountLinkStateAction = 58;
|
3630
|
+
optional UsernameChatStartModeAction usernameChatStartMode = 59;
|
3631
|
+
optional NotificationActivitySettingAction notificationActivitySettingAction = 60;
|
3632
|
+
message AgentAction {
|
3633
|
+
optional string name = 1;
|
3634
|
+
optional int32 deviceID = 2;
|
3635
|
+
optional bool isDeleted = 3;
|
3636
|
+
}
|
3637
|
+
|
3638
|
+
message AndroidUnsupportedActions {
|
3639
|
+
optional bool allowed = 1;
|
3640
|
+
}
|
3641
|
+
|
3642
|
+
message ArchiveChatAction {
|
3643
|
+
optional bool archived = 1;
|
3644
|
+
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
3645
|
+
}
|
3646
|
+
|
3647
|
+
message BotWelcomeRequestAction {
|
3648
|
+
optional bool isSent = 1;
|
3649
|
+
}
|
3650
|
+
|
3651
|
+
message CallLogAction {
|
3652
|
+
optional CallLogRecord callLogRecord = 1;
|
3653
|
+
}
|
3654
|
+
|
3655
|
+
message ChatAssignmentAction {
|
3656
|
+
optional string deviceAgentID = 1;
|
3657
|
+
}
|
3658
|
+
|
3659
|
+
message ChatAssignmentOpenedStatusAction {
|
3660
|
+
optional bool chatOpened = 1;
|
3661
|
+
}
|
3662
|
+
|
3663
|
+
message ClearChatAction {
|
3664
|
+
optional SyncActionValue.SyncActionMessageRange messageRange = 1;
|
3665
|
+
}
|
3666
|
+
|
3667
|
+
message ContactAction {
|
3668
|
+
optional string fullName = 1;
|
3669
|
+
optional string firstName = 2;
|
3670
|
+
optional string lidJid = 3;
|
3671
|
+
optional bool saveOnPrimaryAddressbook = 4;
|
3672
|
+
}
|
3673
|
+
|
3674
|
+
message CustomPaymentMethod {
|
3675
|
+
required string credentialId = 1;
|
3676
|
+
required string country = 2;
|
3677
|
+
required string type = 3;
|
3678
|
+
repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
|
3679
|
+
}
|
3680
|
+
|
3681
|
+
message CustomPaymentMethodMetadata {
|
3682
|
+
required string key = 1;
|
3683
|
+
required string value = 2;
|
3684
|
+
}
|
3685
|
+
|
3686
|
+
message CustomPaymentMethodsAction {
|
3687
|
+
repeated SyncActionValue.CustomPaymentMethod customPaymentMethods = 1;
|
3688
|
+
}
|
3689
|
+
|
3690
|
+
message DeleteChatAction {
|
3691
|
+
optional SyncActionValue.SyncActionMessageRange messageRange = 1;
|
3692
|
+
}
|
3693
|
+
|
3694
|
+
message DeleteIndividualCallLogAction {
|
3695
|
+
optional string peerJid = 1;
|
3696
|
+
optional bool isIncoming = 2;
|
3697
|
+
}
|
3698
|
+
|
3699
|
+
message DeleteMessageForMeAction {
|
3700
|
+
optional bool deleteMedia = 1;
|
3701
|
+
optional int64 messageTimestamp = 2;
|
3702
|
+
}
|
3703
|
+
|
3704
|
+
message ExternalWebBetaAction {
|
3705
|
+
optional bool isOptIn = 1;
|
3706
|
+
}
|
3707
|
+
|
3708
|
+
message FavoritesAction {
|
3709
|
+
repeated Favorite favorites = 1;
|
3710
|
+
message Favorite {
|
3711
|
+
optional string id = 1;
|
3712
|
+
}
|
3713
|
+
|
3714
|
+
}
|
3715
|
+
|
3716
|
+
message KeyExpiration {
|
3717
|
+
optional int32 expiredKeyEpoch = 1;
|
3718
|
+
}
|
3719
|
+
|
3720
|
+
message LabelAssociationAction {
|
3721
|
+
optional bool labeled = 1;
|
3722
|
+
}
|
3723
|
+
|
3724
|
+
message LabelEditAction {
|
3725
|
+
optional string name = 1;
|
3726
|
+
optional int32 color = 2;
|
3727
|
+
optional int32 predefinedId = 3;
|
3728
|
+
optional bool deleted = 4;
|
3729
|
+
optional int32 orderIndex = 5;
|
3730
|
+
optional bool isActive = 6;
|
3731
|
+
optional ListType type = 7;
|
3732
|
+
enum ListType {
|
3733
|
+
NONE = 0;
|
3734
|
+
UNREAD = 1;
|
3735
|
+
GROUPS = 2;
|
3736
|
+
FAVORITES = 3;
|
3737
|
+
PREDEFINED = 4;
|
3738
|
+
CUSTOM = 5;
|
3739
|
+
}
|
3740
|
+
}
|
3741
|
+
|
3742
|
+
message LabelReorderingAction {
|
3743
|
+
repeated int32 sortedLabelIds = 1;
|
3744
|
+
}
|
3745
|
+
|
3746
|
+
message LocaleSetting {
|
3747
|
+
optional string locale = 1;
|
3748
|
+
}
|
3749
|
+
|
3750
|
+
message LockChatAction {
|
3751
|
+
optional bool locked = 1;
|
3752
|
+
}
|
3753
|
+
|
3754
|
+
message MarkChatAsReadAction {
|
3755
|
+
optional bool read = 1;
|
3756
|
+
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
3757
|
+
}
|
3758
|
+
|
3759
|
+
message MarketingMessageAction {
|
3760
|
+
optional string name = 1;
|
3761
|
+
optional string message = 2;
|
3762
|
+
optional MarketingMessagePrototypeType type = 3;
|
3763
|
+
optional int64 createdAt = 4;
|
3764
|
+
optional int64 lastSentAt = 5;
|
3765
|
+
optional bool isDeleted = 6;
|
3766
|
+
optional string mediaId = 7;
|
3767
|
+
enum MarketingMessagePrototypeType {
|
3768
|
+
PERSONALIZED = 0;
|
3769
|
+
}
|
3770
|
+
}
|
3771
|
+
|
3772
|
+
message MarketingMessageBroadcastAction {
|
3773
|
+
optional int32 repliedCount = 1;
|
3774
|
+
}
|
3775
|
+
|
3776
|
+
message MerchantPaymentPartnerAction {
|
3777
|
+
required Status status = 1;
|
3778
|
+
required string country = 2;
|
3779
|
+
optional string gatewayName = 3;
|
3780
|
+
optional string credentialId = 4;
|
3781
|
+
enum Status {
|
3782
|
+
ACTIVE = 0;
|
3783
|
+
INACTIVE = 1;
|
3784
|
+
}
|
3785
|
+
}
|
3786
|
+
|
3787
|
+
message MuteAction {
|
3788
|
+
optional bool muted = 1;
|
3789
|
+
optional int64 muteEndTimestamp = 2;
|
3790
|
+
optional bool autoMuted = 3;
|
3791
|
+
}
|
3792
|
+
|
3793
|
+
message NoteEditAction {
|
3794
|
+
optional NoteType type = 1;
|
3795
|
+
optional string chatJid = 2;
|
3796
|
+
optional int64 createdAt = 3;
|
3797
|
+
optional bool deleted = 4;
|
3798
|
+
optional string unstructuredContent = 5;
|
3799
|
+
enum NoteType {
|
3800
|
+
UNSTRUCTURED = 1;
|
3801
|
+
STRUCTURED = 2;
|
3802
|
+
}
|
3803
|
+
}
|
3804
|
+
|
3805
|
+
message NotificationActivitySettingAction {
|
3806
|
+
optional NotificationActivitySetting notificationActivitySetting = 1;
|
3807
|
+
enum NotificationActivitySetting {
|
3808
|
+
DEFAULT_ALL_MESSAGES = 0;
|
3809
|
+
ALL_MESSAGES = 1;
|
3810
|
+
HIGHLIGHTS = 2;
|
3811
|
+
DEFAULT_HIGHLIGHTS = 3;
|
3812
|
+
}
|
3813
|
+
}
|
3814
|
+
|
3815
|
+
message NuxAction {
|
3816
|
+
optional bool acknowledged = 1;
|
3817
|
+
}
|
3818
|
+
|
3819
|
+
message PaymentInfoAction {
|
3820
|
+
optional string cpi = 1;
|
3821
|
+
}
|
3822
|
+
|
3823
|
+
message PinAction {
|
3824
|
+
optional bool pinned = 1;
|
3825
|
+
}
|
3826
|
+
|
3827
|
+
message PnForLidChatAction {
|
3828
|
+
optional string pnJid = 1;
|
3829
|
+
}
|
3830
|
+
|
3831
|
+
message PrimaryFeature {
|
3832
|
+
repeated string flags = 1;
|
3833
|
+
}
|
3834
|
+
|
3835
|
+
message PrimaryVersionAction {
|
3836
|
+
optional string version = 1;
|
3837
|
+
}
|
3838
|
+
|
3839
|
+
message PrivacySettingDisableLinkPreviewsAction {
|
3840
|
+
optional bool isPreviewsDisabled = 1;
|
3841
|
+
}
|
3842
|
+
|
3843
|
+
message PrivacySettingRelayAllCalls {
|
3844
|
+
optional bool isEnabled = 1;
|
3845
|
+
}
|
3846
|
+
|
3847
|
+
message PushNameSetting {
|
3848
|
+
optional string name = 1;
|
3849
|
+
}
|
3850
|
+
|
3851
|
+
message QuickReplyAction {
|
3852
|
+
optional string shortcut = 1;
|
3853
|
+
optional string message = 2;
|
3854
|
+
repeated string keywords = 3;
|
3855
|
+
optional int32 count = 4;
|
3856
|
+
optional bool deleted = 5;
|
3857
|
+
}
|
3858
|
+
|
3859
|
+
message RecentEmojiWeightsAction {
|
3860
|
+
repeated RecentEmojiWeight weights = 1;
|
3861
|
+
}
|
3862
|
+
|
3863
|
+
message RemoveRecentStickerAction {
|
3864
|
+
optional int64 lastStickerSentTs = 1;
|
3865
|
+
}
|
3866
|
+
|
3867
|
+
message SecurityNotificationSetting {
|
3868
|
+
optional bool showNotification = 1;
|
3869
|
+
}
|
3870
|
+
|
3871
|
+
message StarAction {
|
3872
|
+
optional bool starred = 1;
|
3873
|
+
}
|
3874
|
+
|
3875
|
+
message StatusPrivacyAction {
|
3876
|
+
optional StatusDistributionMode mode = 1;
|
3877
|
+
repeated string userJid = 2;
|
3878
|
+
enum StatusDistributionMode {
|
3879
|
+
ALLOW_LIST = 0;
|
3880
|
+
DENY_LIST = 1;
|
3881
|
+
CONTACTS = 2;
|
3882
|
+
}
|
3883
|
+
}
|
3884
|
+
|
3885
|
+
message StickerAction {
|
3886
|
+
optional string url = 1;
|
3887
|
+
optional bytes fileEncSha256 = 2;
|
3888
|
+
optional bytes mediaKey = 3;
|
3889
|
+
optional string mimetype = 4;
|
3890
|
+
optional uint32 height = 5;
|
3891
|
+
optional uint32 width = 6;
|
3892
|
+
optional string directPath = 7;
|
3893
|
+
optional uint64 fileLength = 8;
|
3894
|
+
optional bool isFavorite = 9;
|
3895
|
+
optional uint32 deviceIdHint = 10;
|
3896
|
+
optional bool isLottie = 11;
|
3897
|
+
}
|
3898
|
+
|
3899
|
+
message SubscriptionAction {
|
3900
|
+
optional bool isDeactivated = 1;
|
3901
|
+
optional bool isAutoRenewing = 2;
|
3902
|
+
optional int64 expirationDate = 3;
|
3903
|
+
}
|
3904
|
+
|
3905
|
+
message SyncActionMessage {
|
3906
|
+
optional MessageKey key = 1;
|
3907
|
+
optional int64 timestamp = 2;
|
3908
|
+
}
|
3909
|
+
|
3910
|
+
message SyncActionMessageRange {
|
3911
|
+
optional int64 lastMessageTimestamp = 1;
|
3912
|
+
optional int64 lastSystemMessageTimestamp = 2;
|
3913
|
+
repeated SyncActionValue.SyncActionMessage messages = 3;
|
3914
|
+
}
|
3915
|
+
|
3916
|
+
message TimeFormatAction {
|
3917
|
+
optional bool isTwentyFourHourFormatEnabled = 1;
|
3918
|
+
}
|
3919
|
+
|
3920
|
+
message UnarchiveChatsSetting {
|
3921
|
+
optional bool unarchiveChats = 1;
|
3922
|
+
}
|
3923
|
+
|
3924
|
+
message UserStatusMuteAction {
|
3925
|
+
optional bool muted = 1;
|
3926
|
+
}
|
3927
|
+
|
3928
|
+
message UsernameChatStartModeAction {
|
3929
|
+
optional ChatStartMode chatStartMode = 1;
|
3930
|
+
enum ChatStartMode {
|
3931
|
+
LID = 1;
|
3932
|
+
PN = 2;
|
3933
|
+
}
|
3934
|
+
}
|
3935
|
+
|
3936
|
+
message WaffleAccountLinkStateAction {
|
3937
|
+
optional AccountLinkState linkState = 2;
|
3938
|
+
enum AccountLinkState {
|
3939
|
+
ACTIVE = 0;
|
3940
|
+
}
|
3941
|
+
}
|
3942
|
+
|
3943
|
+
message WamoUserIdentifierAction {
|
3944
|
+
optional string identifier = 1;
|
3945
|
+
}
|
3946
|
+
|
3947
|
+
}
|
3948
|
+
|
3949
|
+
message SyncdIndex {
|
3950
|
+
optional bytes blob = 1;
|
3951
|
+
}
|
3952
|
+
|
3953
|
+
message SyncdMutation {
|
3954
|
+
optional SyncdOperation operation = 1;
|
3955
|
+
optional SyncdRecord record = 2;
|
3956
|
+
enum SyncdOperation {
|
3957
|
+
SET = 0;
|
3958
|
+
REMOVE = 1;
|
3959
|
+
}
|
3960
|
+
}
|
3961
|
+
|
3962
|
+
message SyncdMutations {
|
3963
|
+
repeated SyncdMutation mutations = 1;
|
3964
|
+
}
|
3965
|
+
|
3966
|
+
message SyncdPatch {
|
3967
|
+
optional SyncdVersion version = 1;
|
3968
|
+
repeated SyncdMutation mutations = 2;
|
3969
|
+
optional ExternalBlobReference externalMutations = 3;
|
3970
|
+
optional bytes snapshotMac = 4;
|
3971
|
+
optional bytes patchMac = 5;
|
3972
|
+
optional KeyId keyId = 6;
|
3973
|
+
optional ExitCode exitCode = 7;
|
3974
|
+
optional uint32 deviceIndex = 8;
|
3975
|
+
optional bytes clientDebugData = 9;
|
3976
|
+
}
|
3977
|
+
|
3978
|
+
message SyncdRecord {
|
3979
|
+
optional SyncdIndex index = 1;
|
3980
|
+
optional SyncdValue value = 2;
|
3981
|
+
optional KeyId keyId = 3;
|
3982
|
+
}
|
3983
|
+
|
3984
|
+
message SyncdSnapshot {
|
3985
|
+
optional SyncdVersion version = 1;
|
3986
|
+
repeated SyncdRecord records = 2;
|
3987
|
+
optional bytes mac = 3;
|
3988
|
+
optional KeyId keyId = 4;
|
3989
|
+
}
|
3990
|
+
|
3991
|
+
message SyncdValue {
|
3992
|
+
optional bytes blob = 1;
|
3993
|
+
}
|
3994
|
+
|
3995
|
+
message SyncdVersion {
|
3996
|
+
optional uint64 version = 1;
|
3997
|
+
}
|
3998
|
+
|
3999
|
+
message TapLinkAction {
|
4000
|
+
optional string title = 1;
|
4001
|
+
optional string tapUrl = 2;
|
4002
|
+
}
|
4003
|
+
|
4004
|
+
message TemplateButton {
|
4005
|
+
optional uint32 index = 4;
|
4006
|
+
oneof button {
|
4007
|
+
TemplateButton.QuickReplyButton quickReplyButton = 1;
|
4008
|
+
TemplateButton.URLButton urlButton = 2;
|
4009
|
+
TemplateButton.CallButton callButton = 3;
|
4010
|
+
}
|
4011
|
+
message CallButton {
|
4012
|
+
optional Message.HighlyStructuredMessage displayText = 1;
|
4013
|
+
optional Message.HighlyStructuredMessage phoneNumber = 2;
|
4014
|
+
}
|
4015
|
+
|
4016
|
+
message QuickReplyButton {
|
4017
|
+
optional Message.HighlyStructuredMessage displayText = 1;
|
4018
|
+
optional string id = 2;
|
4019
|
+
}
|
4020
|
+
|
4021
|
+
message URLButton {
|
4022
|
+
optional Message.HighlyStructuredMessage displayText = 1;
|
4023
|
+
optional Message.HighlyStructuredMessage url = 2;
|
4024
|
+
}
|
4025
|
+
|
4026
|
+
}
|
4027
|
+
|
4028
|
+
message UrlTrackingMap {
|
4029
|
+
repeated UrlTrackingMapElement urlTrackingMapElements = 1;
|
4030
|
+
message UrlTrackingMapElement {
|
4031
|
+
optional string originalUrl = 1;
|
4032
|
+
optional string unconsentedUsersUrl = 2;
|
4033
|
+
optional string consentedUsersUrl = 3;
|
4034
|
+
optional uint32 cardIndex = 4;
|
4035
|
+
}
|
4036
|
+
|
4037
|
+
}
|
4038
|
+
|
4039
|
+
message UserPassword {
|
4040
|
+
optional Encoding encoding = 1;
|
4041
|
+
optional Transformer transformer = 2;
|
4042
|
+
repeated TransformerArg transformerArg = 3;
|
4043
|
+
optional bytes transformedData = 4;
|
4044
|
+
enum Encoding {
|
4045
|
+
UTF8 = 0;
|
4046
|
+
UTF8_BROKEN = 1;
|
4047
|
+
}
|
4048
|
+
enum Transformer {
|
4049
|
+
NONE = 0;
|
4050
|
+
PBKDF2_HMAC_SHA512 = 1;
|
4051
|
+
PBKDF2_HMAC_SHA384 = 2;
|
4052
|
+
}
|
4053
|
+
message TransformerArg {
|
4054
|
+
optional string key = 1;
|
4055
|
+
optional Value value = 2;
|
4056
|
+
message Value {
|
4057
|
+
oneof value {
|
4058
|
+
bytes asBlob = 1;
|
4059
|
+
uint32 asUnsignedInteger = 2;
|
4060
|
+
}
|
4061
|
+
}
|
4062
|
+
|
4063
|
+
}
|
4064
|
+
|
4065
|
+
}
|
4066
|
+
|
4067
|
+
message UserReceipt {
|
4068
|
+
required string userJid = 1;
|
4069
|
+
optional int64 receiptTimestamp = 2;
|
4070
|
+
optional int64 readTimestamp = 3;
|
4071
|
+
optional int64 playedTimestamp = 4;
|
4072
|
+
repeated string pendingDeviceJid = 5;
|
4073
|
+
repeated string deliveredDeviceJid = 6;
|
4074
|
+
}
|
4075
|
+
|
4076
|
+
message VerifiedNameCertificate {
|
4077
|
+
optional bytes details = 1;
|
4078
|
+
optional bytes signature = 2;
|
4079
|
+
optional bytes serverSignature = 3;
|
4080
|
+
message Details {
|
4081
|
+
optional uint64 serial = 1;
|
4082
|
+
optional string issuer = 2;
|
4083
|
+
optional string verifiedName = 4;
|
4084
|
+
repeated LocalizedName localizedNames = 8;
|
4085
|
+
optional uint64 issueTime = 10;
|
4086
|
+
}
|
4087
|
+
|
4088
|
+
}
|
4089
|
+
|
4090
|
+
message WallpaperSettings {
|
4091
|
+
optional string filename = 1;
|
4092
|
+
optional uint32 opacity = 2;
|
4093
|
+
}
|
4094
|
+
|
4095
|
+
message WebFeatures {
|
4096
|
+
optional Flag labelsDisplay = 1;
|
4097
|
+
optional Flag voipIndividualOutgoing = 2;
|
4098
|
+
optional Flag groupsV3 = 3;
|
4099
|
+
optional Flag groupsV3Create = 4;
|
4100
|
+
optional Flag changeNumberV2 = 5;
|
4101
|
+
optional Flag queryStatusV3Thumbnail = 6;
|
4102
|
+
optional Flag liveLocations = 7;
|
4103
|
+
optional Flag queryVname = 8;
|
4104
|
+
optional Flag voipIndividualIncoming = 9;
|
4105
|
+
optional Flag quickRepliesQuery = 10;
|
4106
|
+
optional Flag payments = 11;
|
4107
|
+
optional Flag stickerPackQuery = 12;
|
4108
|
+
optional Flag liveLocationsFinal = 13;
|
4109
|
+
optional Flag labelsEdit = 14;
|
4110
|
+
optional Flag mediaUpload = 15;
|
4111
|
+
optional Flag mediaUploadRichQuickReplies = 18;
|
4112
|
+
optional Flag vnameV2 = 19;
|
4113
|
+
optional Flag videoPlaybackUrl = 20;
|
4114
|
+
optional Flag statusRanking = 21;
|
4115
|
+
optional Flag voipIndividualVideo = 22;
|
4116
|
+
optional Flag thirdPartyStickers = 23;
|
4117
|
+
optional Flag frequentlyForwardedSetting = 24;
|
4118
|
+
optional Flag groupsV4JoinPermission = 25;
|
4119
|
+
optional Flag recentStickers = 26;
|
4120
|
+
optional Flag catalog = 27;
|
4121
|
+
optional Flag starredStickers = 28;
|
4122
|
+
optional Flag voipGroupCall = 29;
|
4123
|
+
optional Flag templateMessage = 30;
|
4124
|
+
optional Flag templateMessageInteractivity = 31;
|
4125
|
+
optional Flag ephemeralMessages = 32;
|
4126
|
+
optional Flag e2ENotificationSync = 33;
|
4127
|
+
optional Flag recentStickersV2 = 34;
|
4128
|
+
optional Flag recentStickersV3 = 36;
|
4129
|
+
optional Flag userNotice = 37;
|
4130
|
+
optional Flag support = 39;
|
4131
|
+
optional Flag groupUiiCleanup = 40;
|
4132
|
+
optional Flag groupDogfoodingInternalOnly = 41;
|
4133
|
+
optional Flag settingsSync = 42;
|
4134
|
+
optional Flag archiveV2 = 43;
|
4135
|
+
optional Flag ephemeralAllowGroupMembers = 44;
|
4136
|
+
optional Flag ephemeral24HDuration = 45;
|
4137
|
+
optional Flag mdForceUpgrade = 46;
|
4138
|
+
optional Flag disappearingMode = 47;
|
4139
|
+
optional Flag externalMdOptInAvailable = 48;
|
4140
|
+
optional Flag noDeleteMessageTimeLimit = 49;
|
4141
|
+
enum Flag {
|
4142
|
+
NOT_STARTED = 0;
|
4143
|
+
FORCE_UPGRADE = 1;
|
4144
|
+
DEVELOPMENT = 2;
|
4145
|
+
PRODUCTION = 3;
|
4146
|
+
}
|
4147
|
+
}
|
4148
|
+
|
4149
|
+
message WebMessageInfo {
|
4150
|
+
required MessageKey key = 1;
|
4151
|
+
optional Message message = 2;
|
4152
|
+
optional uint64 messageTimestamp = 3;
|
4153
|
+
optional Status status = 4;
|
4154
|
+
optional string participant = 5;
|
4155
|
+
optional uint64 messageC2STimestamp = 6;
|
4156
|
+
optional bool ignore = 16;
|
4157
|
+
optional bool starred = 17;
|
4158
|
+
optional bool broadcast = 18;
|
4159
|
+
optional string pushName = 19;
|
4160
|
+
optional bytes mediaCiphertextSha256 = 20;
|
4161
|
+
optional bool multicast = 21;
|
4162
|
+
optional bool urlText = 22;
|
4163
|
+
optional bool urlNumber = 23;
|
4164
|
+
optional StubType messageStubType = 24;
|
4165
|
+
optional bool clearMedia = 25;
|
4166
|
+
repeated string messageStubParameters = 26;
|
4167
|
+
optional uint32 duration = 27;
|
4168
|
+
repeated string labels = 28;
|
4169
|
+
optional PaymentInfo paymentInfo = 29;
|
4170
|
+
optional Message.LiveLocationMessage finalLiveLocation = 30;
|
4171
|
+
optional PaymentInfo quotedPaymentInfo = 31;
|
4172
|
+
optional uint64 ephemeralStartTimestamp = 32;
|
4173
|
+
optional uint32 ephemeralDuration = 33;
|
4174
|
+
optional bool ephemeralOffToOn = 34;
|
4175
|
+
optional bool ephemeralOutOfSync = 35;
|
4176
|
+
optional BizPrivacyStatus bizPrivacyStatus = 36;
|
4177
|
+
optional string verifiedBizName = 37;
|
4178
|
+
optional MediaData mediaData = 38;
|
4179
|
+
optional PhotoChange photoChange = 39;
|
4180
|
+
repeated UserReceipt userReceipt = 40;
|
4181
|
+
repeated Reaction reactions = 41;
|
4182
|
+
optional MediaData quotedStickerData = 42;
|
4183
|
+
optional bytes futureproofData = 43;
|
4184
|
+
optional StatusPSA statusPsa = 44;
|
4185
|
+
repeated PollUpdate pollUpdates = 45;
|
4186
|
+
optional PollAdditionalMetadata pollAdditionalMetadata = 46;
|
4187
|
+
optional string agentId = 47;
|
4188
|
+
optional bool statusAlreadyViewed = 48;
|
4189
|
+
optional bytes messageSecret = 49;
|
4190
|
+
optional KeepInChat keepInChat = 50;
|
4191
|
+
optional string originalSelfAuthorUserJidString = 51;
|
4192
|
+
optional uint64 revokeMessageTimestamp = 52;
|
4193
|
+
optional PinInChat pinInChat = 54;
|
4194
|
+
optional PremiumMessageInfo premiumMessageInfo = 55;
|
4195
|
+
optional bool is1PBizBotMessage = 56;
|
4196
|
+
optional bool isGroupHistoryMessage = 57;
|
4197
|
+
optional string botMessageInvokerJid = 58;
|
4198
|
+
optional CommentMetadata commentMetadata = 59;
|
4199
|
+
repeated EventResponse eventResponses = 61;
|
4200
|
+
optional ReportingTokenInfo reportingTokenInfo = 62;
|
4201
|
+
optional uint64 newsletterServerId = 63;
|
4202
|
+
optional EventAdditionalMetadata eventAdditionalMetadata = 64;
|
4203
|
+
optional bool isMentionedInStatus = 65;
|
4204
|
+
repeated string statusMentions = 66;
|
4205
|
+
optional MessageKey targetMessageId = 67;
|
4206
|
+
repeated MessageAddOn messageAddOns = 68;
|
4207
|
+
optional StatusMentionMessage statusMentionMessageInfo = 69;
|
4208
|
+
optional bool isSupportAiMessage = 70;
|
4209
|
+
repeated string statusMentionSources = 71;
|
4210
|
+
repeated Citation supportAiCitations = 72;
|
4211
|
+
optional string botTargetId = 73;
|
4212
|
+
enum BizPrivacyStatus {
|
4213
|
+
E2EE = 0;
|
4214
|
+
FB = 2;
|
4215
|
+
BSP = 1;
|
4216
|
+
BSP_AND_FB = 3;
|
4217
|
+
}
|
4218
|
+
enum Status {
|
4219
|
+
ERROR = 0;
|
4220
|
+
PENDING = 1;
|
4221
|
+
SERVER_ACK = 2;
|
4222
|
+
DELIVERY_ACK = 3;
|
4223
|
+
READ = 4;
|
4224
|
+
PLAYED = 5;
|
4225
|
+
}
|
4226
|
+
enum StubType {
|
4227
|
+
UNKNOWN = 0;
|
4228
|
+
REVOKE = 1;
|
4229
|
+
CIPHERTEXT = 2;
|
4230
|
+
FUTUREPROOF = 3;
|
4231
|
+
NON_VERIFIED_TRANSITION = 4;
|
4232
|
+
UNVERIFIED_TRANSITION = 5;
|
4233
|
+
VERIFIED_TRANSITION = 6;
|
4234
|
+
VERIFIED_LOW_UNKNOWN = 7;
|
4235
|
+
VERIFIED_HIGH = 8;
|
4236
|
+
VERIFIED_INITIAL_UNKNOWN = 9;
|
4237
|
+
VERIFIED_INITIAL_LOW = 10;
|
4238
|
+
VERIFIED_INITIAL_HIGH = 11;
|
4239
|
+
VERIFIED_TRANSITION_ANY_TO_NONE = 12;
|
4240
|
+
VERIFIED_TRANSITION_ANY_TO_HIGH = 13;
|
4241
|
+
VERIFIED_TRANSITION_HIGH_TO_LOW = 14;
|
4242
|
+
VERIFIED_TRANSITION_HIGH_TO_UNKNOWN = 15;
|
4243
|
+
VERIFIED_TRANSITION_UNKNOWN_TO_LOW = 16;
|
4244
|
+
VERIFIED_TRANSITION_LOW_TO_UNKNOWN = 17;
|
4245
|
+
VERIFIED_TRANSITION_NONE_TO_LOW = 18;
|
4246
|
+
VERIFIED_TRANSITION_NONE_TO_UNKNOWN = 19;
|
4247
|
+
GROUP_CREATE = 20;
|
4248
|
+
GROUP_CHANGE_SUBJECT = 21;
|
4249
|
+
GROUP_CHANGE_ICON = 22;
|
4250
|
+
GROUP_CHANGE_INVITE_LINK = 23;
|
4251
|
+
GROUP_CHANGE_DESCRIPTION = 24;
|
4252
|
+
GROUP_CHANGE_RESTRICT = 25;
|
4253
|
+
GROUP_CHANGE_ANNOUNCE = 26;
|
4254
|
+
GROUP_PARTICIPANT_ADD = 27;
|
4255
|
+
GROUP_PARTICIPANT_REMOVE = 28;
|
4256
|
+
GROUP_PARTICIPANT_PROMOTE = 29;
|
4257
|
+
GROUP_PARTICIPANT_DEMOTE = 30;
|
4258
|
+
GROUP_PARTICIPANT_INVITE = 31;
|
4259
|
+
GROUP_PARTICIPANT_LEAVE = 32;
|
4260
|
+
GROUP_PARTICIPANT_CHANGE_NUMBER = 33;
|
4261
|
+
BROADCAST_CREATE = 34;
|
4262
|
+
BROADCAST_ADD = 35;
|
4263
|
+
BROADCAST_REMOVE = 36;
|
4264
|
+
GENERIC_NOTIFICATION = 37;
|
4265
|
+
E2E_IDENTITY_CHANGED = 38;
|
4266
|
+
E2E_ENCRYPTED = 39;
|
4267
|
+
CALL_MISSED_VOICE = 40;
|
4268
|
+
CALL_MISSED_VIDEO = 41;
|
4269
|
+
INDIVIDUAL_CHANGE_NUMBER = 42;
|
4270
|
+
GROUP_DELETE = 43;
|
4271
|
+
GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE = 44;
|
4272
|
+
CALL_MISSED_GROUP_VOICE = 45;
|
4273
|
+
CALL_MISSED_GROUP_VIDEO = 46;
|
4274
|
+
PAYMENT_CIPHERTEXT = 47;
|
4275
|
+
PAYMENT_FUTUREPROOF = 48;
|
4276
|
+
PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED = 49;
|
4277
|
+
PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED = 50;
|
4278
|
+
PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED = 51;
|
4279
|
+
PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP = 52;
|
4280
|
+
PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP = 53;
|
4281
|
+
PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER = 54;
|
4282
|
+
PAYMENT_ACTION_SEND_PAYMENT_REMINDER = 55;
|
4283
|
+
PAYMENT_ACTION_SEND_PAYMENT_INVITATION = 56;
|
4284
|
+
PAYMENT_ACTION_REQUEST_DECLINED = 57;
|
4285
|
+
PAYMENT_ACTION_REQUEST_EXPIRED = 58;
|
4286
|
+
PAYMENT_ACTION_REQUEST_CANCELLED = 59;
|
4287
|
+
BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM = 60;
|
4288
|
+
BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP = 61;
|
4289
|
+
BIZ_INTRO_TOP = 62;
|
4290
|
+
BIZ_INTRO_BOTTOM = 63;
|
4291
|
+
BIZ_NAME_CHANGE = 64;
|
4292
|
+
BIZ_MOVE_TO_CONSUMER_APP = 65;
|
4293
|
+
BIZ_TWO_TIER_MIGRATION_TOP = 66;
|
4294
|
+
BIZ_TWO_TIER_MIGRATION_BOTTOM = 67;
|
4295
|
+
OVERSIZED = 68;
|
4296
|
+
GROUP_CHANGE_NO_FREQUENTLY_FORWARDED = 69;
|
4297
|
+
GROUP_V4_ADD_INVITE_SENT = 70;
|
4298
|
+
GROUP_PARTICIPANT_ADD_REQUEST_JOIN = 71;
|
4299
|
+
CHANGE_EPHEMERAL_SETTING = 72;
|
4300
|
+
E2E_DEVICE_CHANGED = 73;
|
4301
|
+
VIEWED_ONCE = 74;
|
4302
|
+
E2E_ENCRYPTED_NOW = 75;
|
4303
|
+
BLUE_MSG_BSP_FB_TO_BSP_PREMISE = 76;
|
4304
|
+
BLUE_MSG_BSP_FB_TO_SELF_FB = 77;
|
4305
|
+
BLUE_MSG_BSP_FB_TO_SELF_PREMISE = 78;
|
4306
|
+
BLUE_MSG_BSP_FB_UNVERIFIED = 79;
|
4307
|
+
BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 80;
|
4308
|
+
BLUE_MSG_BSP_FB_VERIFIED = 81;
|
4309
|
+
BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 82;
|
4310
|
+
BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE = 83;
|
4311
|
+
BLUE_MSG_BSP_PREMISE_UNVERIFIED = 84;
|
4312
|
+
BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 85;
|
4313
|
+
BLUE_MSG_BSP_PREMISE_VERIFIED = 86;
|
4314
|
+
BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 87;
|
4315
|
+
BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED = 88;
|
4316
|
+
BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED = 89;
|
4317
|
+
BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED = 90;
|
4318
|
+
BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED = 91;
|
4319
|
+
BLUE_MSG_SELF_FB_TO_BSP_PREMISE = 92;
|
4320
|
+
BLUE_MSG_SELF_FB_TO_SELF_PREMISE = 93;
|
4321
|
+
BLUE_MSG_SELF_FB_UNVERIFIED = 94;
|
4322
|
+
BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 95;
|
4323
|
+
BLUE_MSG_SELF_FB_VERIFIED = 96;
|
4324
|
+
BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 97;
|
4325
|
+
BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE = 98;
|
4326
|
+
BLUE_MSG_SELF_PREMISE_UNVERIFIED = 99;
|
4327
|
+
BLUE_MSG_SELF_PREMISE_VERIFIED = 100;
|
4328
|
+
BLUE_MSG_TO_BSP_FB = 101;
|
4329
|
+
BLUE_MSG_TO_CONSUMER = 102;
|
4330
|
+
BLUE_MSG_TO_SELF_FB = 103;
|
4331
|
+
BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED = 104;
|
4332
|
+
BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 105;
|
4333
|
+
BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED = 106;
|
4334
|
+
BLUE_MSG_UNVERIFIED_TO_VERIFIED = 107;
|
4335
|
+
BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED = 108;
|
4336
|
+
BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 109;
|
4337
|
+
BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED = 110;
|
4338
|
+
BLUE_MSG_VERIFIED_TO_UNVERIFIED = 111;
|
4339
|
+
BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 112;
|
4340
|
+
BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED = 113;
|
4341
|
+
BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 114;
|
4342
|
+
BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED = 115;
|
4343
|
+
BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 116;
|
4344
|
+
BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 117;
|
4345
|
+
E2E_IDENTITY_UNAVAILABLE = 118;
|
4346
|
+
GROUP_CREATING = 119;
|
4347
|
+
GROUP_CREATE_FAILED = 120;
|
4348
|
+
GROUP_BOUNCED = 121;
|
4349
|
+
BLOCK_CONTACT = 122;
|
4350
|
+
EPHEMERAL_SETTING_NOT_APPLIED = 123;
|
4351
|
+
SYNC_FAILED = 124;
|
4352
|
+
SYNCING = 125;
|
4353
|
+
BIZ_PRIVACY_MODE_INIT_FB = 126;
|
4354
|
+
BIZ_PRIVACY_MODE_INIT_BSP = 127;
|
4355
|
+
BIZ_PRIVACY_MODE_TO_FB = 128;
|
4356
|
+
BIZ_PRIVACY_MODE_TO_BSP = 129;
|
4357
|
+
DISAPPEARING_MODE = 130;
|
4358
|
+
E2E_DEVICE_FETCH_FAILED = 131;
|
4359
|
+
ADMIN_REVOKE = 132;
|
4360
|
+
GROUP_INVITE_LINK_GROWTH_LOCKED = 133;
|
4361
|
+
COMMUNITY_LINK_PARENT_GROUP = 134;
|
4362
|
+
COMMUNITY_LINK_SIBLING_GROUP = 135;
|
4363
|
+
COMMUNITY_LINK_SUB_GROUP = 136;
|
4364
|
+
COMMUNITY_UNLINK_PARENT_GROUP = 137;
|
4365
|
+
COMMUNITY_UNLINK_SIBLING_GROUP = 138;
|
4366
|
+
COMMUNITY_UNLINK_SUB_GROUP = 139;
|
4367
|
+
GROUP_PARTICIPANT_ACCEPT = 140;
|
4368
|
+
GROUP_PARTICIPANT_LINKED_GROUP_JOIN = 141;
|
4369
|
+
COMMUNITY_CREATE = 142;
|
4370
|
+
EPHEMERAL_KEEP_IN_CHAT = 143;
|
4371
|
+
GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST = 144;
|
4372
|
+
GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE = 145;
|
4373
|
+
INTEGRITY_UNLINK_PARENT_GROUP = 146;
|
4374
|
+
COMMUNITY_PARTICIPANT_PROMOTE = 147;
|
4375
|
+
COMMUNITY_PARTICIPANT_DEMOTE = 148;
|
4376
|
+
COMMUNITY_PARENT_GROUP_DELETED = 149;
|
4377
|
+
COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL = 150;
|
4378
|
+
GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP = 151;
|
4379
|
+
MASKED_THREAD_CREATED = 152;
|
4380
|
+
MASKED_THREAD_UNMASKED = 153;
|
4381
|
+
BIZ_CHAT_ASSIGNMENT = 154;
|
4382
|
+
CHAT_PSA = 155;
|
4383
|
+
CHAT_POLL_CREATION_MESSAGE = 156;
|
4384
|
+
CAG_MASKED_THREAD_CREATED = 157;
|
4385
|
+
COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED = 158;
|
4386
|
+
CAG_INVITE_AUTO_ADD = 159;
|
4387
|
+
BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160;
|
4388
|
+
CAG_INVITE_AUTO_JOINED = 161;
|
4389
|
+
SCHEDULED_CALL_START_MESSAGE = 162;
|
4390
|
+
COMMUNITY_INVITE_RICH = 163;
|
4391
|
+
COMMUNITY_INVITE_AUTO_ADD_RICH = 164;
|
4392
|
+
SUB_GROUP_INVITE_RICH = 165;
|
4393
|
+
SUB_GROUP_PARTICIPANT_ADD_RICH = 166;
|
4394
|
+
COMMUNITY_LINK_PARENT_GROUP_RICH = 167;
|
4395
|
+
COMMUNITY_PARTICIPANT_ADD_RICH = 168;
|
4396
|
+
SILENCED_UNKNOWN_CALLER_AUDIO = 169;
|
4397
|
+
SILENCED_UNKNOWN_CALLER_VIDEO = 170;
|
4398
|
+
GROUP_MEMBER_ADD_MODE = 171;
|
4399
|
+
GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD = 172;
|
4400
|
+
COMMUNITY_CHANGE_DESCRIPTION = 173;
|
4401
|
+
SENDER_INVITE = 174;
|
4402
|
+
RECEIVER_INVITE = 175;
|
4403
|
+
COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS = 176;
|
4404
|
+
PINNED_MESSAGE_IN_CHAT = 177;
|
4405
|
+
PAYMENT_INVITE_SETUP_INVITER = 178;
|
4406
|
+
PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY = 179;
|
4407
|
+
PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE = 180;
|
4408
|
+
LINKED_GROUP_CALL_START = 181;
|
4409
|
+
REPORT_TO_ADMIN_ENABLED_STATUS = 182;
|
4410
|
+
EMPTY_SUBGROUP_CREATE = 183;
|
4411
|
+
SCHEDULED_CALL_CANCEL = 184;
|
4412
|
+
SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH = 185;
|
4413
|
+
GROUP_CHANGE_RECENT_HISTORY_SHARING = 186;
|
4414
|
+
PAID_MESSAGE_SERVER_CAMPAIGN_ID = 187;
|
4415
|
+
GENERAL_CHAT_CREATE = 188;
|
4416
|
+
GENERAL_CHAT_ADD = 189;
|
4417
|
+
GENERAL_CHAT_AUTO_ADD_DISABLED = 190;
|
4418
|
+
SUGGESTED_SUBGROUP_ANNOUNCE = 191;
|
4419
|
+
BIZ_BOT_1P_MESSAGING_ENABLED = 192;
|
4420
|
+
CHANGE_USERNAME = 193;
|
4421
|
+
BIZ_COEX_PRIVACY_INIT_SELF = 194;
|
4422
|
+
BIZ_COEX_PRIVACY_TRANSITION_SELF = 195;
|
4423
|
+
SUPPORT_AI_EDUCATION = 196;
|
4424
|
+
BIZ_BOT_3P_MESSAGING_ENABLED = 197;
|
4425
|
+
REMINDER_SETUP_MESSAGE = 198;
|
4426
|
+
REMINDER_SENT_MESSAGE = 199;
|
4427
|
+
REMINDER_CANCEL_MESSAGE = 200;
|
4428
|
+
BIZ_COEX_PRIVACY_INIT = 201;
|
4429
|
+
BIZ_COEX_PRIVACY_TRANSITION = 202;
|
4430
|
+
GROUP_DEACTIVATED = 203;
|
4431
|
+
COMMUNITY_DEACTIVATE_SIBLING_GROUP = 204;
|
4432
|
+
EVENT_UPDATED = 205;
|
4433
|
+
EVENT_CANCELED = 206;
|
4434
|
+
COMMUNITY_OWNER_UPDATED = 207;
|
4435
|
+
COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN = 208;
|
4436
|
+
CAPI_GROUP_NE2EE_SYSTEM_MESSAGE = 209;
|
4437
|
+
STATUS_MENTION = 210;
|
4438
|
+
USER_CONTROLS_SYSTEM_MESSAGE = 211;
|
4439
|
+
SUPPORT_SYSTEM_MESSAGE = 212;
|
4440
|
+
CHANGE_LID = 213;
|
4441
|
+
BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_IN_MESSAGE = 214;
|
4442
|
+
BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_OUT_MESSAGE = 215;
|
4443
|
+
}
|
4444
|
+
}
|
4445
|
+
|
4446
|
+
message WebNotificationsInfo {
|
4447
|
+
optional uint64 timestamp = 2;
|
4448
|
+
optional uint32 unreadChats = 3;
|
4449
|
+
optional uint32 notifyMessageCount = 4;
|
4450
|
+
repeated WebMessageInfo notifyMessages = 5;
|
4451
|
+
}
|