gifted-baileys 1.5.4 → 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/WAProto/WAProto.proto +88 -969
- package/WAProto/index.d.ts +1256 -13195
- package/WAProto/index.js +74730 -125106
- package/package.json +9 -27
- package/src/Defaults/baileys-version.json +3 -0
- package/{lib → src}/Defaults/index.js +14 -7
- package/src/Defaults/index.ts +131 -0
- package/src/Signal/libsignal.js +180 -0
- package/src/Signal/libsignal.ts +141 -0
- package/src/Socket/Client/abstract-socket-client.ts +19 -0
- package/{lib → src}/Socket/Client/index.js +3 -2
- package/src/Socket/Client/index.ts +3 -0
- package/src/Socket/Client/mobile-socket-client.js +78 -0
- package/src/Socket/Client/mobile-socket-client.ts +66 -0
- package/src/Socket/Client/web-socket-client.js +75 -0
- package/src/Socket/Client/web-socket-client.ts +57 -0
- package/{lib → src}/Socket/business.js +33 -28
- package/src/Socket/business.ts +281 -0
- package/{lib → src}/Socket/chats.js +176 -174
- package/src/Socket/chats.ts +1030 -0
- package/{lib → src}/Socket/groups.js +68 -80
- package/src/Socket/groups.ts +356 -0
- package/{lib → src}/Socket/index.js +1 -4
- package/src/Socket/index.ts +13 -0
- package/{lib → src}/Socket/messages-recv.js +211 -378
- package/src/Socket/messages-recv.ts +985 -0
- package/{lib → src}/Socket/messages-send.js +177 -452
- package/src/Socket/messages-send.ts +871 -0
- package/{lib → src}/Socket/newsletter.js +98 -107
- package/src/Socket/newsletter.ts +282 -0
- package/{lib → src}/Socket/registration.js +48 -56
- package/src/Socket/registration.ts +250 -0
- package/{lib → src}/Socket/socket.js +77 -77
- package/src/Socket/socket.ts +777 -0
- package/src/Store/index.ts +3 -0
- package/{lib → src}/Store/make-cache-manager-store.js +34 -25
- package/src/Store/make-cache-manager-store.ts +100 -0
- package/{lib → src}/Store/make-in-memory-store.js +32 -36
- package/src/Store/make-in-memory-store.ts +475 -0
- package/src/Store/make-ordered-dictionary.ts +86 -0
- package/{lib → src}/Store/object-repository.js +1 -1
- package/src/Store/object-repository.ts +32 -0
- package/src/Tests/test.app-state-sync.js +204 -0
- package/src/Tests/test.app-state-sync.ts +207 -0
- package/src/Tests/test.event-buffer.js +270 -0
- package/src/Tests/test.event-buffer.ts +319 -0
- package/src/Tests/test.key-store.js +76 -0
- package/src/Tests/test.key-store.ts +92 -0
- package/src/Tests/test.libsignal.js +141 -0
- package/src/Tests/test.libsignal.ts +186 -0
- package/src/Tests/test.media-download.js +93 -0
- package/src/Tests/test.media-download.ts +76 -0
- package/src/Tests/test.messages.js +33 -0
- package/src/Tests/test.messages.ts +37 -0
- package/src/Tests/utils.js +34 -0
- package/src/Tests/utils.ts +36 -0
- package/src/Types/Auth.ts +113 -0
- package/src/Types/Call.ts +15 -0
- package/src/Types/Chat.ts +106 -0
- package/{lib/Types/Contact.d.ts → src/Types/Contact.ts} +9 -8
- package/src/Types/Events.ts +93 -0
- package/src/Types/GroupMetadata.ts +53 -0
- package/src/Types/Label.ts +36 -0
- package/{lib/Types/LabelAssociation.d.ts → src/Types/LabelAssociation.ts} +22 -16
- package/src/Types/Message.ts +288 -0
- package/src/Types/Newsletter.ts +98 -0
- package/src/Types/Product.ts +85 -0
- package/src/Types/Signal.ts +68 -0
- package/{lib/Types/Socket.d.ts → src/Types/Socket.ts} +68 -61
- package/src/Types/State.ts +29 -0
- package/src/Types/index.ts +59 -0
- package/{lib → src}/Utils/auth-utils.js +90 -73
- package/src/Utils/auth-utils.ts +222 -0
- package/src/Utils/baileys-event-stream.js +92 -0
- package/src/Utils/baileys-event-stream.ts +66 -0
- package/{lib → src}/Utils/business.js +43 -15
- package/src/Utils/business.ts +275 -0
- package/{lib → src}/Utils/chat-utils.js +94 -87
- package/src/Utils/chat-utils.ts +860 -0
- package/{lib → src}/Utils/crypto.js +2 -4
- package/src/Utils/crypto.ts +131 -0
- package/src/Utils/decode-wa-message.js +211 -0
- package/src/Utils/decode-wa-message.ts +228 -0
- package/{lib → src}/Utils/event-buffer.js +13 -4
- package/src/Utils/event-buffer.ts +613 -0
- package/{lib → src}/Utils/generics.js +86 -67
- package/src/Utils/generics.ts +434 -0
- package/{lib → src}/Utils/history.js +39 -13
- package/src/Utils/history.ts +112 -0
- package/src/Utils/index.ts +17 -0
- package/{lib → src}/Utils/link-preview.js +54 -17
- package/src/Utils/link-preview.ts +122 -0
- package/src/Utils/logger.ts +3 -0
- package/src/Utils/lt-hash.ts +61 -0
- package/{lib → src}/Utils/make-mutex.js +13 -4
- package/src/Utils/make-mutex.ts +44 -0
- package/{lib → src}/Utils/messages-media.js +255 -193
- package/src/Utils/messages-media.ts +847 -0
- package/{lib → src}/Utils/messages.js +118 -588
- package/src/Utils/messages.ts +956 -0
- package/src/Utils/noise-handler.ts +197 -0
- package/{lib → src}/Utils/process-message.js +30 -27
- package/src/Utils/process-message.ts +414 -0
- package/{lib → src}/Utils/signal.js +42 -25
- package/src/Utils/signal.ts +177 -0
- package/{lib → src}/Utils/use-multi-file-auth-state.js +28 -27
- package/src/Utils/use-multi-file-auth-state.ts +90 -0
- package/{lib → src}/Utils/validate-connection.js +9 -40
- package/src/Utils/validate-connection.ts +238 -0
- package/src/WABinary/constants.ts +42 -0
- package/src/WABinary/decode.ts +265 -0
- package/{lib → src}/WABinary/encode.js +10 -16
- package/src/WABinary/encode.ts +236 -0
- package/src/WABinary/generic-utils.ts +121 -0
- package/src/WABinary/index.ts +5 -0
- package/src/WABinary/jid-utils.ts +68 -0
- package/src/WABinary/types.ts +17 -0
- package/src/WAM/BinaryInfo.ts +12 -0
- package/src/WAM/constants.ts +15382 -0
- package/src/WAM/encode.ts +174 -0
- package/src/WAM/index.ts +3 -0
- package/{lib → src}/index.js +0 -1
- package/src/index.ts +13 -0
- package/lib/Defaults/baileys-version.json +0 -3
- package/lib/Defaults/index.d.ts +0 -284
- package/lib/Signal/libsignal.d.ts +0 -3
- package/lib/Signal/libsignal.js +0 -161
- package/lib/Socket/Client/abstract-socket-client.d.ts +0 -15
- package/lib/Socket/Client/index.d.ts +0 -2
- package/lib/Socket/Client/mobile-socket-client.d.ts +0 -12
- package/lib/Socket/Client/mobile-socket-client.js +0 -65
- package/lib/Socket/Client/types.d.ts +0 -17
- package/lib/Socket/Client/types.js +0 -13
- package/lib/Socket/Client/websocket.d.ts +0 -12
- package/lib/Socket/Client/websocket.js +0 -62
- package/lib/Socket/business.d.ts +0 -170
- package/lib/Socket/chats.d.ts +0 -81
- package/lib/Socket/groups.d.ts +0 -115
- package/lib/Socket/index.d.ts +0 -172
- package/lib/Socket/messages-recv.d.ts +0 -158
- package/lib/Socket/messages-send.d.ts +0 -155
- package/lib/Socket/newsletter.d.ts +0 -132
- package/lib/Socket/registration.d.ts +0 -264
- package/lib/Socket/socket.d.ts +0 -44
- package/lib/Socket/usync.d.ts +0 -37
- package/lib/Socket/usync.js +0 -70
- package/lib/Store/index.d.ts +0 -3
- package/lib/Store/make-cache-manager-store.d.ts +0 -14
- package/lib/Store/make-in-memory-store.d.ts +0 -118
- package/lib/Store/make-ordered-dictionary.d.ts +0 -13
- package/lib/Store/object-repository.d.ts +0 -10
- package/lib/Types/Auth.d.ts +0 -109
- package/lib/Types/Call.d.ts +0 -13
- package/lib/Types/Chat.d.ts +0 -107
- package/lib/Types/Events.d.ts +0 -172
- package/lib/Types/GroupMetadata.d.ts +0 -56
- package/lib/Types/Label.d.ts +0 -46
- package/lib/Types/Message.d.ts +0 -433
- package/lib/Types/Newsletter.d.ts +0 -92
- package/lib/Types/Product.d.ts +0 -78
- package/lib/Types/Signal.d.ts +0 -57
- package/lib/Types/State.d.ts +0 -27
- package/lib/Types/USync.d.ts +0 -25
- package/lib/Types/USync.js +0 -2
- package/lib/Types/index.d.ts +0 -66
- package/lib/Utils/auth-utils.d.ts +0 -18
- package/lib/Utils/baileys-event-stream.d.ts +0 -16
- package/lib/Utils/baileys-event-stream.js +0 -63
- package/lib/Utils/business.d.ts +0 -22
- package/lib/Utils/chat-utils.d.ts +0 -70
- package/lib/Utils/crypto.d.ts +0 -40
- package/lib/Utils/decode-wa-message.d.ts +0 -36
- package/lib/Utils/decode-wa-message.js +0 -226
- package/lib/Utils/event-buffer.d.ts +0 -35
- package/lib/Utils/generics.d.ts +0 -88
- package/lib/Utils/history.d.ts +0 -19
- package/lib/Utils/index.d.ts +0 -17
- package/lib/Utils/link-preview.d.ts +0 -21
- package/lib/Utils/logger.d.ts +0 -2
- package/lib/Utils/lt-hash.d.ts +0 -12
- package/lib/Utils/make-mutex.d.ts +0 -7
- package/lib/Utils/messages-media.d.ts +0 -113
- package/lib/Utils/messages.d.ts +0 -77
- package/lib/Utils/noise-handler.d.ts +0 -20
- package/lib/Utils/process-message.d.ts +0 -41
- package/lib/Utils/signal.d.ts +0 -33
- package/lib/Utils/use-multi-file-auth-state.d.ts +0 -12
- package/lib/Utils/validate-connection.d.ts +0 -11
- package/lib/WABinary/constants.d.ts +0 -27
- package/lib/WABinary/decode.d.ts +0 -6
- package/lib/WABinary/encode.d.ts +0 -2
- package/lib/WABinary/generic-utils.d.ts +0 -14
- package/lib/WABinary/index.d.ts +0 -5
- package/lib/WABinary/jid-utils.d.ts +0 -31
- package/lib/WABinary/types.d.ts +0 -18
- package/lib/WAM/BinaryInfo.d.ts +0 -8
- package/lib/WAM/constants.d.ts +0 -38
- package/lib/WAM/encode.d.ts +0 -2
- package/lib/WAM/index.d.ts +0 -3
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +0 -9
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +0 -32
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +0 -22
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +0 -57
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +0 -12
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +0 -30
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +0 -12
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +0 -42
- package/lib/WAUSync/Protocols/index.d.ts +0 -4
- package/lib/WAUSync/Protocols/index.js +0 -20
- package/lib/WAUSync/USyncQuery.d.ts +0 -26
- package/lib/WAUSync/USyncQuery.js +0 -79
- package/lib/WAUSync/USyncUser.d.ts +0 -10
- package/lib/WAUSync/USyncUser.js +0 -22
- package/lib/WAUSync/index.d.ts +0 -3
- package/lib/WAUSync/index.js +0 -19
- /package/{lib → src}/Defaults/phonenumber-mcc.json +0 -0
- /package/{lib → src}/Socket/Client/abstract-socket-client.js +0 -0
- /package/{lib → src}/Store/index.js +0 -0
- /package/{lib → src}/Store/make-ordered-dictionary.js +0 -0
- /package/{lib → src}/Types/Auth.js +0 -0
- /package/{lib → src}/Types/Call.js +0 -0
- /package/{lib → src}/Types/Chat.js +0 -0
- /package/{lib → src}/Types/Contact.js +0 -0
- /package/{lib → src}/Types/Events.js +0 -0
- /package/{lib → src}/Types/GroupMetadata.js +0 -0
- /package/{lib → src}/Types/Label.js +0 -0
- /package/{lib → src}/Types/LabelAssociation.js +0 -0
- /package/{lib → src}/Types/Message.js +0 -0
- /package/{lib → src}/Types/Newsletter.js +0 -0
- /package/{lib → src}/Types/Product.js +0 -0
- /package/{lib → src}/Types/Signal.js +0 -0
- /package/{lib → src}/Types/Socket.js +0 -0
- /package/{lib → src}/Types/State.js +0 -0
- /package/{lib → src}/Types/index.js +0 -0
- /package/{lib → src}/Utils/index.js +0 -0
- /package/{lib → src}/Utils/logger.js +0 -0
- /package/{lib → src}/Utils/lt-hash.js +0 -0
- /package/{lib → src}/Utils/noise-handler.js +0 -0
- /package/{lib → src}/WABinary/constants.js +0 -0
- /package/{lib → src}/WABinary/decode.js +0 -0
- /package/{lib → src}/WABinary/generic-utils.js +0 -0
- /package/{lib → src}/WABinary/index.js +0 -0
- /package/{lib → src}/WABinary/jid-utils.js +0 -0
- /package/{lib → src}/WABinary/types.js +0 -0
- /package/{lib → src}/WAM/BinaryInfo.js +0 -0
- /package/{lib → src}/WAM/constants.js +0 -0
- /package/{lib → src}/WAM/encode.js +0 -0
- /package/{lib → src}/WAM/index.js +0 -0
- /package/{lib → src}/gifted +0 -0
package/WAProto/WAProto.proto
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
syntax = "
|
|
1
|
+
syntax = "proto2";
|
|
2
2
|
package proto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.1020086232
|
|
5
|
-
|
|
6
4
|
message ADVDeviceIdentity {
|
|
7
5
|
optional uint32 rawId = 1;
|
|
8
6
|
optional uint64 timestamp = 2;
|
|
@@ -42,96 +40,6 @@ message ADVSignedKeyIndexList {
|
|
|
42
40
|
optional bytes accountSignatureKey = 3;
|
|
43
41
|
}
|
|
44
42
|
|
|
45
|
-
message AIRichResponseMessage {
|
|
46
|
-
optional AIRichResponseMessageType messageType = 1;
|
|
47
|
-
repeated AIRichResponseSubMessage submessages = 2;
|
|
48
|
-
message AIRichResponseCodeMetadata {
|
|
49
|
-
optional string codeLanguage = 1;
|
|
50
|
-
repeated AIRichResponseCodeBlock codeBlocks = 2;
|
|
51
|
-
message AIRichResponseCodeBlock {
|
|
52
|
-
optional AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType highlightType = 1;
|
|
53
|
-
optional string codeContent = 2;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
enum AIRichResponseCodeHighlightType {
|
|
57
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
|
|
58
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
|
|
59
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2;
|
|
60
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3;
|
|
61
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4;
|
|
62
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
message AIRichResponseDynamicMetadata {
|
|
67
|
-
optional AIRichResponseDynamicMetadataType type = 1;
|
|
68
|
-
optional uint64 version = 2;
|
|
69
|
-
optional string url = 3;
|
|
70
|
-
optional uint32 loopCount = 4;
|
|
71
|
-
enum AIRichResponseDynamicMetadataType {
|
|
72
|
-
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0;
|
|
73
|
-
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1;
|
|
74
|
-
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
message AIRichResponseGridImageMetadata {
|
|
79
|
-
optional AIRichResponseMessage.AIRichResponseImageURL gridImageUrl = 1;
|
|
80
|
-
repeated AIRichResponseMessage.AIRichResponseImageURL imageUrls = 2;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
message AIRichResponseImageURL {
|
|
84
|
-
optional string imagePreviewUrl = 1;
|
|
85
|
-
optional string imageHighResUrl = 2;
|
|
86
|
-
optional string sourceUrl = 3;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
message AIRichResponseInlineImageMetadata {
|
|
90
|
-
optional AIRichResponseMessage.AIRichResponseImageURL imageUrl = 1;
|
|
91
|
-
optional string imageText = 2;
|
|
92
|
-
optional AIRichResponseImageAlignment alignment = 3;
|
|
93
|
-
optional string tapLinkUrl = 4;
|
|
94
|
-
enum AIRichResponseImageAlignment {
|
|
95
|
-
AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0;
|
|
96
|
-
AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1;
|
|
97
|
-
AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
enum AIRichResponseMessageType {
|
|
102
|
-
AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
|
|
103
|
-
AI_RICH_RESPONSE_TYPE_STANDARD = 1;
|
|
104
|
-
}
|
|
105
|
-
message AIRichResponseSubMessage {
|
|
106
|
-
optional AIRichResponseMessage.AIRichResponseSubMessageType messageType = 1;
|
|
107
|
-
optional AIRichResponseMessage.AIRichResponseGridImageMetadata gridImageMetadata = 2;
|
|
108
|
-
optional string messageText = 3;
|
|
109
|
-
optional AIRichResponseMessage.AIRichResponseInlineImageMetadata imageMetadata = 4;
|
|
110
|
-
optional AIRichResponseMessage.AIRichResponseCodeMetadata codeMetadata = 5;
|
|
111
|
-
optional AIRichResponseMessage.AIRichResponseTableMetadata tableMetadata = 6;
|
|
112
|
-
optional AIRichResponseMessage.AIRichResponseDynamicMetadata dynamicMetadata = 7;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
enum AIRichResponseSubMessageType {
|
|
116
|
-
AI_RICH_RESPONSE_UNKNOWN = 0;
|
|
117
|
-
AI_RICH_RESPONSE_GRID_IMAGE = 1;
|
|
118
|
-
AI_RICH_RESPONSE_TEXT = 2;
|
|
119
|
-
AI_RICH_RESPONSE_INLINE_IMAGE = 3;
|
|
120
|
-
AI_RICH_RESPONSE_TABLE = 4;
|
|
121
|
-
AI_RICH_RESPONSE_CODE = 5;
|
|
122
|
-
AI_RICH_RESPONSE_DYNAMIC = 6;
|
|
123
|
-
}
|
|
124
|
-
message AIRichResponseTableMetadata {
|
|
125
|
-
repeated AIRichResponseTableRow rows = 1;
|
|
126
|
-
message AIRichResponseTableRow {
|
|
127
|
-
repeated string items = 1;
|
|
128
|
-
optional bool isHeading = 2;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
}
|
|
134
|
-
|
|
135
43
|
message ActionLink {
|
|
136
44
|
optional string url = 1;
|
|
137
45
|
optional string buttonTitle = 2;
|
|
@@ -201,146 +109,12 @@ message BotAvatarMetadata {
|
|
|
201
109
|
optional uint32 wordCount = 5;
|
|
202
110
|
}
|
|
203
111
|
|
|
204
|
-
message BotCapabilityMetadata {
|
|
205
|
-
repeated BotCapabilityType capabilities = 1;
|
|
206
|
-
enum BotCapabilityType {
|
|
207
|
-
PROGRESS_INDICATOR = 1;
|
|
208
|
-
RICH_RESPONSE_HEADING = 2;
|
|
209
|
-
RICH_RESPONSE_NESTED_LIST = 3;
|
|
210
|
-
AI_MEMORY = 4;
|
|
211
|
-
RICH_RESPONSE_THREAD_SURFING = 5;
|
|
212
|
-
RICH_RESPONSE_TABLE = 6;
|
|
213
|
-
RICH_RESPONSE_CODE = 7;
|
|
214
|
-
RICH_RESPONSE_STRUCTURED_RESPONSE = 8;
|
|
215
|
-
RICH_RESPONSE_INLINE_IMAGE = 9;
|
|
216
|
-
WA_IG_1P_PLUGIN_RANKING_CONTROL = 10;
|
|
217
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_1 = 11;
|
|
218
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_2 = 12;
|
|
219
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_3 = 13;
|
|
220
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_4 = 14;
|
|
221
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_5 = 15;
|
|
222
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_6 = 16;
|
|
223
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_7 = 17;
|
|
224
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_8 = 18;
|
|
225
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_9 = 19;
|
|
226
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_10 = 20;
|
|
227
|
-
RICH_RESPONSE_SUB_HEADING = 21;
|
|
228
|
-
RICH_RESPONSE_GRID_IMAGE = 22;
|
|
229
|
-
AI_STUDIO_UGC_MEMORY = 23;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
message BotImagineMetadata {
|
|
234
|
-
optional ImagineType imagineType = 1;
|
|
235
|
-
enum ImagineType {
|
|
236
|
-
UNKNOWN = 0;
|
|
237
|
-
IMAGINE = 1;
|
|
238
|
-
MEMU = 2;
|
|
239
|
-
FLASH = 3;
|
|
240
|
-
EDIT = 4;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
message BotLinkedAccount {
|
|
245
|
-
optional BotLinkedAccountType type = 1;
|
|
246
|
-
enum BotLinkedAccountType {
|
|
247
|
-
BOT_LINKED_ACCOUNT_TYPE_1P = 0;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
message BotLinkedAccountsMetadata {
|
|
252
|
-
repeated BotLinkedAccount accounts = 1;
|
|
253
|
-
optional bytes acAuthTokens = 2;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
message BotMediaMetadata {
|
|
257
|
-
optional string fileSha256 = 1;
|
|
258
|
-
optional string mediaKey = 2;
|
|
259
|
-
optional string fileEncSha256 = 3;
|
|
260
|
-
optional string directPath = 4;
|
|
261
|
-
optional int64 mediaKeyTimestamp = 5;
|
|
262
|
-
optional string mimetype = 6;
|
|
263
|
-
optional OrientationType orientationType = 7;
|
|
264
|
-
enum OrientationType {
|
|
265
|
-
CENTER = 1;
|
|
266
|
-
LEFT = 2;
|
|
267
|
-
RIGHT = 3;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
message BotMemoryFact {
|
|
272
|
-
optional string fact = 1;
|
|
273
|
-
optional string factId = 2;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
message BotMemoryMetadata {
|
|
277
|
-
repeated BotMemoryFact addedFacts = 1;
|
|
278
|
-
repeated BotMemoryFact removedFacts = 2;
|
|
279
|
-
optional string disclaimer = 3;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
message BotMemuMetadata {
|
|
283
|
-
repeated BotMediaMetadata faceImages = 1;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
112
|
message BotMetadata {
|
|
287
113
|
optional BotAvatarMetadata avatarMetadata = 1;
|
|
288
114
|
optional string personaId = 2;
|
|
289
115
|
optional BotPluginMetadata pluginMetadata = 3;
|
|
290
116
|
optional BotSuggestedPromptMetadata suggestedPromptMetadata = 4;
|
|
291
117
|
optional string invokerJid = 5;
|
|
292
|
-
optional BotSessionMetadata sessionMetadata = 6;
|
|
293
|
-
optional BotMemuMetadata memuMetadata = 7;
|
|
294
|
-
optional string timezone = 8;
|
|
295
|
-
optional BotReminderMetadata reminderMetadata = 9;
|
|
296
|
-
optional BotModelMetadata modelMetadata = 10;
|
|
297
|
-
optional string messageDisclaimerText = 11;
|
|
298
|
-
optional BotProgressIndicatorMetadata progressIndicatorMetadata = 12;
|
|
299
|
-
optional BotCapabilityMetadata capabilityMetadata = 13;
|
|
300
|
-
optional BotImagineMetadata imagineMetadata = 14;
|
|
301
|
-
optional BotMemoryMetadata memoryMetadata = 15;
|
|
302
|
-
optional BotRenderingMetadata renderingMetadata = 16;
|
|
303
|
-
optional BotMetricsMetadata botMetricsMetadata = 17;
|
|
304
|
-
optional BotLinkedAccountsMetadata botLinkedAccountsMetadata = 18;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
enum BotMetricsEntryPoint {
|
|
308
|
-
FAVICON = 1;
|
|
309
|
-
CHATLIST = 2;
|
|
310
|
-
AISEARCH_NULL_STATE_PAPER_PLANE = 3;
|
|
311
|
-
AISEARCH_NULL_STATE_SUGGESTION = 4;
|
|
312
|
-
AISEARCH_TYPE_AHEAD_SUGGESTION = 5;
|
|
313
|
-
AISEARCH_TYPE_AHEAD_PAPER_PLANE = 6;
|
|
314
|
-
AISEARCH_TYPE_AHEAD_RESULT_CHATLIST = 7;
|
|
315
|
-
AISEARCH_TYPE_AHEAD_RESULT_MESSAGES = 8;
|
|
316
|
-
AIVOICE_SEARCH_BAR = 9;
|
|
317
|
-
AIVOICE_FAVICON = 10;
|
|
318
|
-
AISTUDIO = 11;
|
|
319
|
-
DEEPLINK = 12;
|
|
320
|
-
NOTIFICATION = 13;
|
|
321
|
-
PROFILE_MESSAGE_BUTTON = 14;
|
|
322
|
-
FORWARD = 15;
|
|
323
|
-
APP_SHORTCUT = 16;
|
|
324
|
-
FF_FAMILY = 17;
|
|
325
|
-
}
|
|
326
|
-
message BotMetricsMetadata {
|
|
327
|
-
optional string destinationId = 1;
|
|
328
|
-
optional BotMetricsEntryPoint destinationEntryPoint = 2;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
message BotModelMetadata {
|
|
332
|
-
optional ModelType modelType = 1;
|
|
333
|
-
optional PremiumModelStatus premiumModelStatus = 2;
|
|
334
|
-
enum ModelType {
|
|
335
|
-
UNKNOWN_TYPE = 0;
|
|
336
|
-
LLAMA_PROD = 1;
|
|
337
|
-
LLAMA_PROD_PREMIUM = 2;
|
|
338
|
-
}
|
|
339
|
-
enum PremiumModelStatus {
|
|
340
|
-
UNKNOWN_STATUS = 0;
|
|
341
|
-
AVAILABLE = 1;
|
|
342
|
-
QUOTA_EXCEED_LIMIT = 2;
|
|
343
|
-
}
|
|
344
118
|
}
|
|
345
119
|
|
|
346
120
|
message BotPluginMetadata {
|
|
@@ -351,86 +125,20 @@ message BotPluginMetadata {
|
|
|
351
125
|
optional string searchProviderUrl = 5;
|
|
352
126
|
optional uint32 referenceIndex = 6;
|
|
353
127
|
optional uint32 expectedLinksCount = 7;
|
|
354
|
-
optional
|
|
355
|
-
optional MessageKey parentPluginMessageKey = 10;
|
|
356
|
-
optional PluginType deprecatedField = 11;
|
|
357
|
-
optional PluginType parentPluginType = 12;
|
|
358
|
-
optional string faviconCdnUrl = 13;
|
|
128
|
+
optional uint32 pluginVersion = 8;
|
|
359
129
|
enum PluginType {
|
|
360
|
-
UNKNOWN_PLUGIN = 0;
|
|
361
130
|
REELS = 1;
|
|
362
131
|
SEARCH = 2;
|
|
363
132
|
}
|
|
364
133
|
enum SearchProvider {
|
|
365
|
-
UNKNOWN = 0;
|
|
366
134
|
BING = 1;
|
|
367
135
|
GOOGLE = 2;
|
|
368
|
-
SUPPORT = 3;
|
|
369
136
|
}
|
|
370
137
|
}
|
|
371
138
|
|
|
372
|
-
message BotProgressIndicatorMetadata {
|
|
373
|
-
optional string progressDescription = 1;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
message BotPromptSuggestion {
|
|
377
|
-
optional string prompt = 1;
|
|
378
|
-
optional string promptId = 2;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
message BotPromptSuggestions {
|
|
382
|
-
repeated BotPromptSuggestion suggestions = 1;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
message BotReminderMetadata {
|
|
386
|
-
optional MessageKey requestMessageKey = 1;
|
|
387
|
-
optional ReminderAction action = 2;
|
|
388
|
-
optional string name = 3;
|
|
389
|
-
optional uint64 nextTriggerTimestamp = 4;
|
|
390
|
-
optional ReminderFrequency frequency = 5;
|
|
391
|
-
enum ReminderAction {
|
|
392
|
-
NOTIFY = 1;
|
|
393
|
-
CREATE = 2;
|
|
394
|
-
DELETE = 3;
|
|
395
|
-
UPDATE = 4;
|
|
396
|
-
}
|
|
397
|
-
enum ReminderFrequency {
|
|
398
|
-
ONCE = 1;
|
|
399
|
-
DAILY = 2;
|
|
400
|
-
WEEKLY = 3;
|
|
401
|
-
BIWEEKLY = 4;
|
|
402
|
-
MONTHLY = 5;
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
message BotRenderingMetadata {
|
|
407
|
-
repeated Keyword keywords = 1;
|
|
408
|
-
message Keyword {
|
|
409
|
-
optional string value = 1;
|
|
410
|
-
repeated string associatedPrompts = 2;
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
message BotSessionMetadata {
|
|
416
|
-
optional string sessionId = 1;
|
|
417
|
-
optional BotSessionSource sessionSource = 2;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
enum BotSessionSource {
|
|
421
|
-
NONE = 0;
|
|
422
|
-
NULL_STATE = 1;
|
|
423
|
-
TYPEAHEAD = 2;
|
|
424
|
-
USER_INPUT = 3;
|
|
425
|
-
EMU_FLASH = 4;
|
|
426
|
-
EMU_FLASH_FOLLOWUP = 5;
|
|
427
|
-
VOICE = 6;
|
|
428
|
-
}
|
|
429
139
|
message BotSuggestedPromptMetadata {
|
|
430
140
|
repeated string suggestedPrompts = 1;
|
|
431
141
|
optional uint32 selectedPromptIndex = 2;
|
|
432
|
-
optional BotPromptSuggestions promptSuggestions = 3;
|
|
433
|
-
optional string selectedPromptId = 4;
|
|
434
142
|
}
|
|
435
143
|
|
|
436
144
|
message CallLogRecord {
|
|
@@ -498,11 +206,6 @@ message CertChain {
|
|
|
498
206
|
|
|
499
207
|
}
|
|
500
208
|
|
|
501
|
-
message ChatLockSettings {
|
|
502
|
-
optional bool hideLockedChats = 1;
|
|
503
|
-
optional UserPassword secretCode = 2;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
209
|
message ChatRowOpaqueData {
|
|
507
210
|
optional DraftMessage draftMessage = 1;
|
|
508
211
|
message DraftMessage {
|
|
@@ -542,18 +245,6 @@ message ChatRowOpaqueData {
|
|
|
542
245
|
|
|
543
246
|
}
|
|
544
247
|
|
|
545
|
-
message Citation {
|
|
546
|
-
required string title = 1;
|
|
547
|
-
required string subtitle = 2;
|
|
548
|
-
required string cmsId = 3;
|
|
549
|
-
required string imageUrl = 4;
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
message ClientPairingProps {
|
|
553
|
-
optional bool isChatDbLidMigrated = 1;
|
|
554
|
-
optional bool isSyncdPureLidSession = 2;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
248
|
message ClientPayload {
|
|
558
249
|
optional uint64 username = 1;
|
|
559
250
|
optional bool passive = 3;
|
|
@@ -582,7 +273,6 @@ message ClientPayload {
|
|
|
582
273
|
optional int32 yearClass = 36;
|
|
583
274
|
optional int32 memClass = 37;
|
|
584
275
|
optional InteropData interopData = 38;
|
|
585
|
-
optional TrafficAnonymization trafficAnonymization = 40;
|
|
586
276
|
enum ConnectReason {
|
|
587
277
|
PUSH = 0;
|
|
588
278
|
USER_ACTIVATED = 1;
|
|
@@ -618,7 +308,6 @@ message ClientPayload {
|
|
|
618
308
|
HARDCODED = 2;
|
|
619
309
|
OVERRIDE = 3;
|
|
620
310
|
FALLBACK = 4;
|
|
621
|
-
MNS = 5;
|
|
622
311
|
}
|
|
623
312
|
}
|
|
624
313
|
|
|
@@ -641,7 +330,6 @@ message ClientPayload {
|
|
|
641
330
|
message InteropData {
|
|
642
331
|
optional uint64 accountId = 1;
|
|
643
332
|
optional bytes token = 2;
|
|
644
|
-
optional bool enableReadReceipts = 3;
|
|
645
333
|
}
|
|
646
334
|
|
|
647
335
|
enum Product {
|
|
@@ -650,10 +338,6 @@ message ClientPayload {
|
|
|
650
338
|
INTEROP = 2;
|
|
651
339
|
INTEROP_MSGR = 3;
|
|
652
340
|
}
|
|
653
|
-
enum TrafficAnonymization {
|
|
654
|
-
OFF = 0;
|
|
655
|
-
STANDARD = 1;
|
|
656
|
-
}
|
|
657
341
|
message UserAgent {
|
|
658
342
|
optional Platform platform = 1;
|
|
659
343
|
optional AppVersion appVersion = 2;
|
|
@@ -670,7 +354,6 @@ message ClientPayload {
|
|
|
670
354
|
optional string deviceBoard = 13;
|
|
671
355
|
optional string deviceExpId = 14;
|
|
672
356
|
optional DeviceType deviceType = 15;
|
|
673
|
-
optional string deviceModelType = 16;
|
|
674
357
|
message AppVersion {
|
|
675
358
|
optional uint32 primary = 1;
|
|
676
359
|
optional uint32 secondary = 2;
|
|
@@ -743,7 +426,6 @@ message ClientPayload {
|
|
|
743
426
|
WIN_STORE = 2;
|
|
744
427
|
DARWIN = 3;
|
|
745
428
|
WIN32 = 4;
|
|
746
|
-
WIN_HYBRID = 5;
|
|
747
429
|
}
|
|
748
430
|
message WebdPayload {
|
|
749
431
|
optional bool usesParticipantInKey = 1;
|
|
@@ -768,21 +450,6 @@ message CommentMetadata {
|
|
|
768
450
|
optional uint32 replyCount = 2;
|
|
769
451
|
}
|
|
770
452
|
|
|
771
|
-
message CompanionCommitment {
|
|
772
|
-
optional bytes hash = 1;
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
message CompanionEphemeralIdentity {
|
|
776
|
-
optional bytes publicKey = 1;
|
|
777
|
-
optional DeviceProps.PlatformType deviceType = 2;
|
|
778
|
-
optional string ref = 3;
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
message Config {
|
|
782
|
-
map<uint32, Field> field = 1;
|
|
783
|
-
optional uint32 version = 2;
|
|
784
|
-
}
|
|
785
|
-
|
|
786
453
|
message ContextInfo {
|
|
787
454
|
optional string stanzaId = 1;
|
|
788
455
|
optional string participant = 2;
|
|
@@ -817,15 +484,6 @@ message ContextInfo {
|
|
|
817
484
|
optional string smbClientCampaignId = 45;
|
|
818
485
|
optional string smbServerCampaignId = 46;
|
|
819
486
|
optional DataSharingContext dataSharingContext = 47;
|
|
820
|
-
optional bool alwaysShowAdAttribution = 48;
|
|
821
|
-
optional FeatureEligibilities featureEligibilities = 49;
|
|
822
|
-
optional string entryPointConversionExternalSource = 50;
|
|
823
|
-
optional string entryPointConversionExternalMedium = 51;
|
|
824
|
-
optional string ctwaSignals = 54;
|
|
825
|
-
optional bytes ctwaPayload = 55;
|
|
826
|
-
optional ForwardedAIBotMessageInfo forwardedAiBotMessageInfo = 56;
|
|
827
|
-
optional StatusAttributionType statusAttributionType = 57;
|
|
828
|
-
optional UrlTrackingMap urlTrackingMap = 58;
|
|
829
487
|
message AdReplyInfo {
|
|
830
488
|
optional string advertiserName = 1;
|
|
831
489
|
optional MediaType mediaType = 2;
|
|
@@ -844,16 +502,6 @@ message ContextInfo {
|
|
|
844
502
|
|
|
845
503
|
message DataSharingContext {
|
|
846
504
|
optional bool showMmDisclosure = 1;
|
|
847
|
-
optional string encryptedSignalTokenConsented = 2;
|
|
848
|
-
repeated Parameters parameters = 3;
|
|
849
|
-
message Parameters {
|
|
850
|
-
optional string key = 1;
|
|
851
|
-
optional string stringData = 2;
|
|
852
|
-
optional int64 intData = 3;
|
|
853
|
-
optional float floatData = 4;
|
|
854
|
-
optional ContextInfo.DataSharingContext.Parameters contents = 5;
|
|
855
|
-
}
|
|
856
|
-
|
|
857
505
|
}
|
|
858
506
|
|
|
859
507
|
message ExternalAdReplyInfo {
|
|
@@ -871,14 +519,6 @@ message ContextInfo {
|
|
|
871
519
|
optional bool showAdAttribution = 12;
|
|
872
520
|
optional string ctwaClid = 13;
|
|
873
521
|
optional string ref = 14;
|
|
874
|
-
optional bool clickToWhatsappCall = 15;
|
|
875
|
-
optional bool adContextPreviewDismissed = 16;
|
|
876
|
-
optional string sourceApp = 17;
|
|
877
|
-
optional bool automatedGreetingMessageShown = 18;
|
|
878
|
-
optional string greetingMessageBody = 19;
|
|
879
|
-
optional string ctaPayload = 20;
|
|
880
|
-
optional bool disableNudge = 21;
|
|
881
|
-
optional string originalImageUrl = 22;
|
|
882
522
|
enum MediaType {
|
|
883
523
|
NONE = 0;
|
|
884
524
|
IMAGE = 1;
|
|
@@ -886,19 +526,6 @@ message ContextInfo {
|
|
|
886
526
|
}
|
|
887
527
|
}
|
|
888
528
|
|
|
889
|
-
message FeatureEligibilities {
|
|
890
|
-
optional bool cannotBeReactedTo = 1;
|
|
891
|
-
optional bool cannotBeRanked = 2;
|
|
892
|
-
optional bool canRequestFeedback = 3;
|
|
893
|
-
optional bool canBeReshared = 4;
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
message ForwardedAIBotMessageInfo {
|
|
897
|
-
optional string botName = 1;
|
|
898
|
-
optional string botJid = 2;
|
|
899
|
-
optional string creatorName = 3;
|
|
900
|
-
}
|
|
901
|
-
|
|
902
529
|
message ForwardedNewsletterMessageInfo {
|
|
903
530
|
optional string newsletterJid = 1;
|
|
904
531
|
optional int32 serverMessageId = 2;
|
|
@@ -912,11 +539,6 @@ message ContextInfo {
|
|
|
912
539
|
}
|
|
913
540
|
}
|
|
914
541
|
|
|
915
|
-
enum StatusAttributionType {
|
|
916
|
-
NONE = 0;
|
|
917
|
-
RESHARED_FROM_MENTION = 1;
|
|
918
|
-
RESHARED_FROM_POST = 2;
|
|
919
|
-
}
|
|
920
542
|
message UTMInfo {
|
|
921
543
|
optional string utmSource = 1;
|
|
922
544
|
optional string utmCampaign = 2;
|
|
@@ -970,10 +592,6 @@ message Conversation {
|
|
|
970
592
|
optional string username = 43;
|
|
971
593
|
optional string lidOriginType = 44;
|
|
972
594
|
optional uint32 commentsCount = 45;
|
|
973
|
-
optional bool locked = 46;
|
|
974
|
-
optional PrivacySystemMessage systemMessageToInsert = 47;
|
|
975
|
-
optional bool capiCreatedGroup = 48;
|
|
976
|
-
optional string accountLid = 49;
|
|
977
595
|
enum EndOfHistoryTransferType {
|
|
978
596
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
979
597
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
@@ -981,15 +599,6 @@ message Conversation {
|
|
|
981
599
|
}
|
|
982
600
|
}
|
|
983
601
|
|
|
984
|
-
message DeviceCapabilities {
|
|
985
|
-
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
986
|
-
enum ChatLockSupportLevel {
|
|
987
|
-
NONE = 0;
|
|
988
|
-
MINIMAL = 1;
|
|
989
|
-
FULL = 2;
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
|
-
|
|
993
602
|
message DeviceConsistencyCodeMessage {
|
|
994
603
|
optional uint32 generation = 1;
|
|
995
604
|
optional bytes signature = 2;
|
|
@@ -1029,12 +638,6 @@ message DeviceProps {
|
|
|
1029
638
|
optional bool supportCallLogHistory = 6;
|
|
1030
639
|
optional bool supportBotUserAgentChatHistory = 7;
|
|
1031
640
|
optional bool supportCagReactionsAndPolls = 8;
|
|
1032
|
-
optional bool supportBizHostedMsg = 9;
|
|
1033
|
-
optional bool supportRecentSyncChunkMessageCountTuning = 10;
|
|
1034
|
-
optional bool supportHostedGroupMsg = 11;
|
|
1035
|
-
optional bool supportFbidBotChatHistory = 12;
|
|
1036
|
-
optional bool supportAddOnHistorySyncMigration = 13;
|
|
1037
|
-
optional bool supportMessageAssociation = 14;
|
|
1038
641
|
}
|
|
1039
642
|
|
|
1040
643
|
enum PlatformType {
|
|
@@ -1061,8 +664,6 @@ message DeviceProps {
|
|
|
1061
664
|
AR_DEVICE = 20;
|
|
1062
665
|
UWP = 21;
|
|
1063
666
|
VR = 22;
|
|
1064
|
-
CLOUD_API = 23;
|
|
1065
|
-
SMARTGLASSES = 24;
|
|
1066
667
|
}
|
|
1067
668
|
}
|
|
1068
669
|
|
|
@@ -1083,50 +684,14 @@ message DisappearingMode {
|
|
|
1083
684
|
ACCOUNT_SETTING = 2;
|
|
1084
685
|
BULK_CHANGE = 3;
|
|
1085
686
|
BIZ_SUPPORTS_FB_HOSTING = 4;
|
|
1086
|
-
UNKNOWN_GROUPS = 5;
|
|
1087
|
-
}
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
message EmbeddedContent {
|
|
1091
|
-
oneof content {
|
|
1092
|
-
EmbeddedMessage embeddedMessage = 1;
|
|
1093
|
-
EmbeddedMusic embeddedMusic = 2;
|
|
1094
687
|
}
|
|
1095
688
|
}
|
|
1096
689
|
|
|
1097
|
-
message EmbeddedMessage {
|
|
1098
|
-
optional string stanzaId = 1;
|
|
1099
|
-
optional Message message = 2;
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
message EmbeddedMusic {
|
|
1103
|
-
optional string musicContentMediaId = 1;
|
|
1104
|
-
optional string songId = 2;
|
|
1105
|
-
optional string author = 3;
|
|
1106
|
-
optional string title = 4;
|
|
1107
|
-
optional string artworkDirectPath = 5;
|
|
1108
|
-
optional bytes artworkSha256 = 6;
|
|
1109
|
-
optional bytes artworkEncSha256 = 7;
|
|
1110
|
-
optional bytes artworkMediaKey = 11;
|
|
1111
|
-
optional string artistAttribution = 8;
|
|
1112
|
-
optional bytes countryBlocklist = 9;
|
|
1113
|
-
optional bool isExplicit = 10;
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
message EncryptedPairingRequest {
|
|
1117
|
-
optional bytes encryptedPayload = 1;
|
|
1118
|
-
optional bytes iv = 2;
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
690
|
message EphemeralSetting {
|
|
1122
691
|
optional sfixed32 duration = 1;
|
|
1123
692
|
optional sfixed64 timestamp = 2;
|
|
1124
693
|
}
|
|
1125
694
|
|
|
1126
|
-
message EventAdditionalMetadata {
|
|
1127
|
-
optional bool isStale = 1;
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
695
|
message EventResponse {
|
|
1131
696
|
optional MessageKey eventResponseMessageKey = 1;
|
|
1132
697
|
optional int64 timestampMs = 2;
|
|
@@ -1148,14 +713,6 @@ message ExternalBlobReference {
|
|
|
1148
713
|
optional bytes fileEncSha256 = 6;
|
|
1149
714
|
}
|
|
1150
715
|
|
|
1151
|
-
message Field {
|
|
1152
|
-
optional uint32 minVersion = 1;
|
|
1153
|
-
optional uint32 maxVersion = 2;
|
|
1154
|
-
optional uint32 notReportableMinVersion = 3;
|
|
1155
|
-
optional bool isMessage = 4;
|
|
1156
|
-
map<uint32, Field> subfield = 5;
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
716
|
message GlobalSettings {
|
|
1160
717
|
optional WallpaperSettings lightThemeWallpaper = 1;
|
|
1161
718
|
optional MediaVisibility mediaVisibility = 2;
|
|
@@ -1175,7 +732,6 @@ message GlobalSettings {
|
|
|
1175
732
|
optional int32 photoQualityMode = 16;
|
|
1176
733
|
optional NotificationSettings individualNotificationSettings = 17;
|
|
1177
734
|
optional NotificationSettings groupNotificationSettings = 18;
|
|
1178
|
-
optional ChatLockSettings chatLockSettings = 19;
|
|
1179
735
|
}
|
|
1180
736
|
|
|
1181
737
|
message GroupMention {
|
|
@@ -1231,8 +787,6 @@ message HistorySync {
|
|
|
1231
787
|
repeated CallLogRecord callLogRecords = 13;
|
|
1232
788
|
optional BotAIWaitListState aiWaitListState = 14;
|
|
1233
789
|
repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15;
|
|
1234
|
-
optional string companionMetaNonce = 16;
|
|
1235
|
-
optional bytes shareableChatIdentifierEncryptionKey = 17;
|
|
1236
790
|
enum BotAIWaitListState {
|
|
1237
791
|
IN_WAITLIST = 0;
|
|
1238
792
|
AI_AVAILABLE = 1;
|
|
@@ -1292,12 +846,9 @@ message IdentityKeyPairStructure {
|
|
|
1292
846
|
message InteractiveAnnotation {
|
|
1293
847
|
repeated Point polygonVertices = 1;
|
|
1294
848
|
optional bool shouldSkipConfirmation = 4;
|
|
1295
|
-
optional EmbeddedContent embeddedContent = 5;
|
|
1296
849
|
oneof action {
|
|
1297
850
|
Location location = 2;
|
|
1298
851
|
ContextInfo.ForwardedNewsletterMessageInfo newsletter = 3;
|
|
1299
|
-
bool embeddedAction = 6;
|
|
1300
|
-
TapLinkAction tapAction = 7;
|
|
1301
852
|
}
|
|
1302
853
|
}
|
|
1303
854
|
|
|
@@ -1327,25 +878,6 @@ message KeyId {
|
|
|
1327
878
|
optional bytes id = 1;
|
|
1328
879
|
}
|
|
1329
880
|
|
|
1330
|
-
message LIDMigrationMapping {
|
|
1331
|
-
required uint64 pn = 1;
|
|
1332
|
-
required uint64 assignedLid = 2;
|
|
1333
|
-
optional uint64 latestLid = 3;
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
|
-
message LIDMigrationMappingSyncMessage {
|
|
1337
|
-
optional bytes encodedMappingPayload = 1;
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
message LIDMigrationMappingSyncPayload {
|
|
1341
|
-
repeated LIDMigrationMapping pnToLidMappings = 1;
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
message LegacyMessage {
|
|
1345
|
-
optional Message.EventResponseMessage eventResponseMessage = 1;
|
|
1346
|
-
optional Message.PollVoteMessage pollVote = 2;
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
881
|
message LocalizedName {
|
|
1350
882
|
optional string lg = 1;
|
|
1351
883
|
optional string lc = 2;
|
|
@@ -1362,6 +894,38 @@ message MediaData {
|
|
|
1362
894
|
optional string localPath = 1;
|
|
1363
895
|
}
|
|
1364
896
|
|
|
897
|
+
message MediaEntry {
|
|
898
|
+
optional bytes fileSha256 = 1;
|
|
899
|
+
optional bytes mediaKey = 2;
|
|
900
|
+
optional bytes fileEncSha256 = 3;
|
|
901
|
+
optional string directPath = 4;
|
|
902
|
+
optional int64 mediaKeyTimestamp = 5;
|
|
903
|
+
optional string serverMediaType = 6;
|
|
904
|
+
optional bytes uploadToken = 7;
|
|
905
|
+
optional bytes validatedTimestamp = 8;
|
|
906
|
+
optional bytes sidecar = 9;
|
|
907
|
+
optional string objectId = 10;
|
|
908
|
+
optional string fbid = 11;
|
|
909
|
+
optional DownloadableThumbnail downloadableThumbnail = 12;
|
|
910
|
+
optional string handle = 13;
|
|
911
|
+
optional string filename = 14;
|
|
912
|
+
optional ProgressiveJpegDetails progressiveJpegDetails = 15;
|
|
913
|
+
message DownloadableThumbnail {
|
|
914
|
+
optional bytes fileSha256 = 1;
|
|
915
|
+
optional bytes fileEncSha256 = 2;
|
|
916
|
+
optional string directPath = 3;
|
|
917
|
+
optional bytes mediaKey = 4;
|
|
918
|
+
optional int64 mediaKeyTimestamp = 5;
|
|
919
|
+
optional string objectId = 6;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
message ProgressiveJpegDetails {
|
|
923
|
+
repeated int64 scanLengths = 1;
|
|
924
|
+
optional bytes sidecar = 2;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
}
|
|
928
|
+
|
|
1365
929
|
message MediaNotifyMessage {
|
|
1366
930
|
optional string expressPathUrl = 1;
|
|
1367
931
|
optional bytes fileEncSha256 = 2;
|
|
@@ -1372,7 +936,6 @@ message MediaRetryNotification {
|
|
|
1372
936
|
optional string stanzaId = 1;
|
|
1373
937
|
optional string directPath = 2;
|
|
1374
938
|
optional ResultType result = 3;
|
|
1375
|
-
optional bytes messageSecret = 4;
|
|
1376
939
|
enum ResultType {
|
|
1377
940
|
GENERAL_ERROR = 0;
|
|
1378
941
|
SUCCESS = 1;
|
|
@@ -1450,31 +1013,11 @@ message Message {
|
|
|
1450
1013
|
optional BCallMessage bcallMessage = 72;
|
|
1451
1014
|
optional FutureProofMessage lottieStickerMessage = 74;
|
|
1452
1015
|
optional EventMessage eventMessage = 75;
|
|
1453
|
-
optional EncEventResponseMessage encEventResponseMessage = 76;
|
|
1454
1016
|
optional CommentMessage commentMessage = 77;
|
|
1455
1017
|
optional NewsletterAdminInviteMessage newsletterAdminInviteMessage = 78;
|
|
1018
|
+
optional ExtendedTextMessageWithParentKey extendedTextMessageWithParentKey = 79;
|
|
1456
1019
|
optional PlaceholderMessage placeholderMessage = 80;
|
|
1457
|
-
optional
|
|
1458
|
-
optional AlbumMessage albumMessage = 83;
|
|
1459
|
-
optional FutureProofMessage eventCoverImage = 85;
|
|
1460
|
-
optional StickerPackMessage stickerPackMessage = 86;
|
|
1461
|
-
optional FutureProofMessage statusMentionMessage = 87;
|
|
1462
|
-
optional PollResultSnapshotMessage pollResultSnapshotMessage = 88;
|
|
1463
|
-
optional FutureProofMessage pollCreationOptionImageMessage = 90;
|
|
1464
|
-
optional FutureProofMessage associatedChildMessage = 91;
|
|
1465
|
-
optional FutureProofMessage groupStatusMentionMessage = 92;
|
|
1466
|
-
optional FutureProofMessage pollCreationMessageV4 = 93;
|
|
1467
|
-
optional FutureProofMessage pollCreationMessageV5 = 94;
|
|
1468
|
-
optional FutureProofMessage statusAddYours = 95;
|
|
1469
|
-
optional FutureProofMessage groupStatusMessage = 96;
|
|
1470
|
-
optional AIRichResponseMessage richResponseMessage = 97;
|
|
1471
|
-
optional StatusNotificationMessage statusNotificationMessage = 98;
|
|
1472
|
-
message AlbumMessage {
|
|
1473
|
-
optional uint32 expectedImageCount = 2;
|
|
1474
|
-
optional uint32 expectedVideoCount = 3;
|
|
1475
|
-
optional ContextInfo contextInfo = 17;
|
|
1476
|
-
}
|
|
1477
|
-
|
|
1020
|
+
optional EncEventUpdateMessage encEventUpdateMessage = 81;
|
|
1478
1021
|
message AppStateFatalExceptionNotification {
|
|
1479
1022
|
repeated string collectionNames = 1;
|
|
1480
1023
|
optional int64 timestamp = 2;
|
|
@@ -1525,7 +1068,6 @@ message Message {
|
|
|
1525
1068
|
optional bytes waveform = 19;
|
|
1526
1069
|
optional fixed32 backgroundArgb = 20;
|
|
1527
1070
|
optional bool viewOnce = 21;
|
|
1528
|
-
optional string accessibilityLabel = 22;
|
|
1529
1071
|
}
|
|
1530
1072
|
|
|
1531
1073
|
message BCallMessage {
|
|
@@ -1546,7 +1088,6 @@ message Message {
|
|
|
1546
1088
|
optional string text = 3;
|
|
1547
1089
|
optional uint64 kindNegative = 4;
|
|
1548
1090
|
optional uint64 kindPositive = 5;
|
|
1549
|
-
optional ReportKind kindReport = 6;
|
|
1550
1091
|
enum BotFeedbackKind {
|
|
1551
1092
|
BOT_FEEDBACK_POSITIVE = 0;
|
|
1552
1093
|
BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
|
|
@@ -1558,9 +1099,6 @@ message Message {
|
|
|
1558
1099
|
BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
|
|
1559
1100
|
BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
|
|
1560
1101
|
BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
|
|
1561
|
-
BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10;
|
|
1562
|
-
BOT_FEEDBACK_NEGATIVE_CLARITY = 11;
|
|
1563
|
-
BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12;
|
|
1564
1102
|
}
|
|
1565
1103
|
enum BotFeedbackKindMultipleNegative {
|
|
1566
1104
|
BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
|
|
@@ -1576,9 +1114,6 @@ message Message {
|
|
|
1576
1114
|
enum BotFeedbackKindMultiplePositive {
|
|
1577
1115
|
BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
|
|
1578
1116
|
}
|
|
1579
|
-
enum ReportKind {
|
|
1580
|
-
GENERIC = 0;
|
|
1581
|
-
}
|
|
1582
1117
|
}
|
|
1583
1118
|
|
|
1584
1119
|
message ButtonsMessage {
|
|
@@ -1644,8 +1179,6 @@ message Message {
|
|
|
1644
1179
|
optional string conversionSource = 2;
|
|
1645
1180
|
optional bytes conversionData = 3;
|
|
1646
1181
|
optional uint32 conversionDelaySeconds = 4;
|
|
1647
|
-
optional string ctwaSignals = 5;
|
|
1648
|
-
optional bytes ctwaPayload = 6;
|
|
1649
1182
|
}
|
|
1650
1183
|
|
|
1651
1184
|
message CallLogMessage {
|
|
@@ -1685,18 +1218,6 @@ message Message {
|
|
|
1685
1218
|
optional string id = 2;
|
|
1686
1219
|
}
|
|
1687
1220
|
|
|
1688
|
-
message CloudAPIThreadControlNotification {
|
|
1689
|
-
optional CloudAPIThreadControl status = 1;
|
|
1690
|
-
optional int64 senderNotificationTimestampMs = 2;
|
|
1691
|
-
optional string consumerLid = 3;
|
|
1692
|
-
optional string consumerPhoneNumber = 4;
|
|
1693
|
-
enum CloudAPIThreadControl {
|
|
1694
|
-
UNKNOWN = 0;
|
|
1695
|
-
CONTROL_PASSED = 1;
|
|
1696
|
-
CONTROL_TAKEN = 2;
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
|
|
1700
1221
|
message CommentMessage {
|
|
1701
1222
|
optional Message message = 1;
|
|
1702
1223
|
optional MessageKey targetMessageKey = 2;
|
|
@@ -1745,7 +1266,6 @@ message Message {
|
|
|
1745
1266
|
optional uint32 thumbnailHeight = 18;
|
|
1746
1267
|
optional uint32 thumbnailWidth = 19;
|
|
1747
1268
|
optional string caption = 20;
|
|
1748
|
-
optional string accessibilityLabel = 21;
|
|
1749
1269
|
}
|
|
1750
1270
|
|
|
1751
1271
|
message EncCommentMessage {
|
|
@@ -1754,7 +1274,7 @@ message Message {
|
|
|
1754
1274
|
optional bytes encIv = 3;
|
|
1755
1275
|
}
|
|
1756
1276
|
|
|
1757
|
-
message
|
|
1277
|
+
message EncEventUpdateMessage {
|
|
1758
1278
|
optional MessageKey eventCreationMessageKey = 1;
|
|
1759
1279
|
optional bytes encPayload = 2;
|
|
1760
1280
|
optional bytes encIv = 3;
|
|
@@ -1766,6 +1286,11 @@ message Message {
|
|
|
1766
1286
|
optional bytes encIv = 3;
|
|
1767
1287
|
}
|
|
1768
1288
|
|
|
1289
|
+
message EventEditMessage {
|
|
1290
|
+
optional Message.EventMessage eventEditMessage = 1;
|
|
1291
|
+
optional int64 editTimestampMs = 2;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1769
1294
|
message EventMessage {
|
|
1770
1295
|
optional ContextInfo contextInfo = 1;
|
|
1771
1296
|
optional bool isCanceled = 2;
|
|
@@ -1774,25 +1299,27 @@ message Message {
|
|
|
1774
1299
|
optional Message.LocationMessage location = 5;
|
|
1775
1300
|
optional string joinLink = 6;
|
|
1776
1301
|
optional int64 startTime = 7;
|
|
1777
|
-
optional int64 endTime = 8;
|
|
1778
|
-
optional bool extraGuestsAllowed = 9;
|
|
1779
1302
|
}
|
|
1780
1303
|
|
|
1781
1304
|
message EventResponseMessage {
|
|
1782
1305
|
optional EventResponseType response = 1;
|
|
1783
1306
|
optional int64 timestampMs = 2;
|
|
1784
|
-
optional int32 extraGuestCount = 3;
|
|
1785
1307
|
enum EventResponseType {
|
|
1786
1308
|
UNKNOWN = 0;
|
|
1787
1309
|
GOING = 1;
|
|
1788
1310
|
NOT_GOING = 2;
|
|
1789
|
-
MAYBE = 3;
|
|
1790
1311
|
}
|
|
1791
1312
|
}
|
|
1792
1313
|
|
|
1314
|
+
message EventUpdateMessage {
|
|
1315
|
+
optional Message.EventResponseMessage response = 1;
|
|
1316
|
+
optional Message.EventEditMessage edit = 2;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1793
1319
|
message ExtendedTextMessage {
|
|
1794
1320
|
optional string text = 1;
|
|
1795
1321
|
optional string matchedText = 2;
|
|
1322
|
+
optional string canonicalUrl = 4;
|
|
1796
1323
|
optional string description = 5;
|
|
1797
1324
|
optional string title = 6;
|
|
1798
1325
|
optional fixed32 textArgb = 7;
|
|
@@ -1814,9 +1341,6 @@ message Message {
|
|
|
1814
1341
|
optional bytes inviteLinkParentGroupThumbnailV2 = 28;
|
|
1815
1342
|
optional InviteLinkGroupType inviteLinkGroupTypeV2 = 29;
|
|
1816
1343
|
optional bool viewOnce = 30;
|
|
1817
|
-
optional uint32 videoHeight = 31;
|
|
1818
|
-
optional uint32 videoWidth = 32;
|
|
1819
|
-
optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
|
|
1820
1344
|
enum FontType {
|
|
1821
1345
|
SYSTEM = 0;
|
|
1822
1346
|
SYSTEM_TEXT = 1;
|
|
@@ -1838,13 +1362,12 @@ message Message {
|
|
|
1838
1362
|
VIDEO = 1;
|
|
1839
1363
|
PLACEHOLDER = 4;
|
|
1840
1364
|
IMAGE = 5;
|
|
1841
|
-
PAYMENT_LINKS = 6;
|
|
1842
|
-
PROFILE = 7;
|
|
1843
1365
|
}
|
|
1844
1366
|
}
|
|
1845
1367
|
|
|
1846
|
-
message
|
|
1847
|
-
optional
|
|
1368
|
+
message ExtendedTextMessageWithParentKey {
|
|
1369
|
+
optional MessageKey key = 1;
|
|
1370
|
+
optional Message.ExtendedTextMessage extendedTextMessage = 2;
|
|
1848
1371
|
}
|
|
1849
1372
|
|
|
1850
1373
|
message FutureProofMessage {
|
|
@@ -1938,8 +1461,6 @@ message Message {
|
|
|
1938
1461
|
optional int64 oldestMsgInChunkTimestampSec = 10;
|
|
1939
1462
|
optional bytes initialHistBootstrapInlinePayload = 11;
|
|
1940
1463
|
optional string peerDataRequestSessionId = 12;
|
|
1941
|
-
optional Message.FullHistorySyncOnDemandRequestMetadata fullHistorySyncOnDemandRequestMetadata = 13;
|
|
1942
|
-
optional string encHandle = 14;
|
|
1943
1464
|
enum HistorySyncType {
|
|
1944
1465
|
INITIAL_BOOTSTRAP = 0;
|
|
1945
1466
|
INITIAL_STATUS_V3 = 1;
|
|
@@ -1948,7 +1469,6 @@ message Message {
|
|
|
1948
1469
|
PUSH_NAME = 4;
|
|
1949
1470
|
NON_BLOCKING_DATA = 5;
|
|
1950
1471
|
ON_DEMAND = 6;
|
|
1951
|
-
NO_HISTORY = 7;
|
|
1952
1472
|
}
|
|
1953
1473
|
}
|
|
1954
1474
|
|
|
@@ -1980,13 +1500,6 @@ message Message {
|
|
|
1980
1500
|
optional bytes thumbnailEncSha256 = 28;
|
|
1981
1501
|
optional string staticUrl = 29;
|
|
1982
1502
|
repeated InteractiveAnnotation annotations = 30;
|
|
1983
|
-
optional ImageSourceType imageSourceType = 31;
|
|
1984
|
-
optional string accessibilityLabel = 32;
|
|
1985
|
-
enum ImageSourceType {
|
|
1986
|
-
USER_IMAGE = 0;
|
|
1987
|
-
AI_GENERATED = 1;
|
|
1988
|
-
AI_MODIFIED = 2;
|
|
1989
|
-
}
|
|
1990
1503
|
}
|
|
1991
1504
|
|
|
1992
1505
|
message InitialSecurityNotificationSettingSync {
|
|
@@ -1998,7 +1511,6 @@ message Message {
|
|
|
1998
1511
|
optional Body body = 2;
|
|
1999
1512
|
optional Footer footer = 3;
|
|
2000
1513
|
optional ContextInfo contextInfo = 15;
|
|
2001
|
-
optional UrlTrackingMap urlTrackingMap = 16;
|
|
2002
1514
|
oneof interactiveMessage {
|
|
2003
1515
|
Message.InteractiveMessage.ShopMessage shopStorefrontMessage = 4;
|
|
2004
1516
|
Message.InteractiveMessage.CollectionMessage collectionMessage = 5;
|
|
@@ -2034,7 +1546,6 @@ message Message {
|
|
|
2034
1546
|
bytes jpegThumbnail = 6;
|
|
2035
1547
|
Message.VideoMessage videoMessage = 7;
|
|
2036
1548
|
Message.LocationMessage locationMessage = 8;
|
|
2037
|
-
Message.ProductMessage productMessage = 9;
|
|
2038
1549
|
}
|
|
2039
1550
|
}
|
|
2040
1551
|
|
|
@@ -2200,16 +1711,6 @@ message Message {
|
|
|
2200
1711
|
optional ContextInfo contextInfo = 17;
|
|
2201
1712
|
}
|
|
2202
1713
|
|
|
2203
|
-
message MMSThumbnailMetadata {
|
|
2204
|
-
optional string thumbnailDirectPath = 1;
|
|
2205
|
-
optional bytes thumbnailSha256 = 2;
|
|
2206
|
-
optional bytes thumbnailEncSha256 = 3;
|
|
2207
|
-
optional bytes mediaKey = 4;
|
|
2208
|
-
optional int64 mediaKeyTimestamp = 5;
|
|
2209
|
-
optional uint32 thumbnailHeight = 6;
|
|
2210
|
-
optional uint32 thumbnailWidth = 7;
|
|
2211
|
-
}
|
|
2212
|
-
|
|
2213
1714
|
message MessageHistoryBundle {
|
|
2214
1715
|
optional string mimetype = 2;
|
|
2215
1716
|
optional bytes fileSha256 = 3;
|
|
@@ -2227,7 +1728,6 @@ message Message {
|
|
|
2227
1728
|
optional bytes jpegThumbnail = 3;
|
|
2228
1729
|
optional string caption = 4;
|
|
2229
1730
|
optional int64 inviteExpiration = 5;
|
|
2230
|
-
optional ContextInfo contextInfo = 6;
|
|
2231
1731
|
}
|
|
2232
1732
|
|
|
2233
1733
|
message OrderMessage {
|
|
@@ -2272,19 +1772,12 @@ message Message {
|
|
|
2272
1772
|
repeated RequestUrlPreview requestUrlPreview = 3;
|
|
2273
1773
|
optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4;
|
|
2274
1774
|
repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
|
|
2275
|
-
optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
|
|
2276
|
-
message FullHistorySyncOnDemandRequest {
|
|
2277
|
-
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
|
2278
|
-
optional DeviceProps.HistorySyncConfig historySyncConfig = 2;
|
|
2279
|
-
}
|
|
2280
|
-
|
|
2281
1775
|
message HistorySyncOnDemandRequest {
|
|
2282
1776
|
optional string chatJid = 1;
|
|
2283
1777
|
optional string oldestMsgId = 2;
|
|
2284
1778
|
optional bool oldestMsgFromMe = 3;
|
|
2285
1779
|
optional int32 onDemandMsgCount = 4;
|
|
2286
1780
|
optional int64 oldestMsgTimestampMs = 5;
|
|
2287
|
-
optional string accountLid = 6;
|
|
2288
1781
|
}
|
|
2289
1782
|
|
|
2290
1783
|
message PlaceholderMessageResendRequest {
|
|
@@ -2311,32 +1804,12 @@ message Message {
|
|
|
2311
1804
|
optional Message.StickerMessage stickerMessage = 2;
|
|
2312
1805
|
optional LinkPreviewResponse linkPreviewResponse = 3;
|
|
2313
1806
|
optional PlaceholderMessageResendResponse placeholderMessageResendResponse = 4;
|
|
2314
|
-
optional WaffleNonceFetchResponse waffleNonceFetchRequestResponse = 5;
|
|
2315
|
-
optional FullHistorySyncOnDemandRequestResponse fullHistorySyncOnDemandRequestResponse = 6;
|
|
2316
|
-
optional CompanionMetaNonceFetchResponse companionMetaNonceFetchRequestResponse = 7;
|
|
2317
|
-
message CompanionMetaNonceFetchResponse {
|
|
2318
|
-
optional string nonce = 1;
|
|
2319
|
-
}
|
|
2320
|
-
|
|
2321
|
-
message FullHistorySyncOnDemandRequestResponse {
|
|
2322
|
-
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
|
2323
|
-
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.FullHistorySyncOnDemandResponseCode responseCode = 2;
|
|
2324
|
-
}
|
|
2325
|
-
|
|
2326
|
-
enum FullHistorySyncOnDemandResponseCode {
|
|
2327
|
-
REQUEST_SUCCESS = 0;
|
|
2328
|
-
REQUEST_TIME_EXPIRED = 1;
|
|
2329
|
-
DECLINED_SHARING_HISTORY = 2;
|
|
2330
|
-
GENERIC_ERROR = 3;
|
|
2331
|
-
ERROR_REQUEST_ON_NON_SMB_PRIMARY = 4;
|
|
2332
|
-
ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5;
|
|
2333
|
-
ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6;
|
|
2334
|
-
}
|
|
2335
1807
|
message LinkPreviewResponse {
|
|
2336
1808
|
optional string url = 1;
|
|
2337
1809
|
optional string title = 2;
|
|
2338
1810
|
optional string description = 3;
|
|
2339
1811
|
optional bytes thumbData = 4;
|
|
1812
|
+
optional string canonicalUrl = 5;
|
|
2340
1813
|
optional string matchText = 6;
|
|
2341
1814
|
optional string previewType = 7;
|
|
2342
1815
|
optional LinkPreviewHighQualityThumbnail hqThumbnail = 8;
|
|
@@ -2356,11 +1829,6 @@ message Message {
|
|
|
2356
1829
|
optional bytes webMessageInfoBytes = 1;
|
|
2357
1830
|
}
|
|
2358
1831
|
|
|
2359
|
-
message WaffleNonceFetchResponse {
|
|
2360
|
-
optional string nonce = 1;
|
|
2361
|
-
optional string waEntFbid = 2;
|
|
2362
|
-
}
|
|
2363
|
-
|
|
2364
1832
|
}
|
|
2365
1833
|
|
|
2366
1834
|
}
|
|
@@ -2371,9 +1839,6 @@ message Message {
|
|
|
2371
1839
|
GENERATE_LINK_PREVIEW = 2;
|
|
2372
1840
|
HISTORY_SYNC_ON_DEMAND = 3;
|
|
2373
1841
|
PLACEHOLDER_MESSAGE_RESEND = 4;
|
|
2374
|
-
WAFFLE_LINKING_NONCE_FETCH = 5;
|
|
2375
|
-
FULL_HISTORY_SYNC_ON_DEMAND = 6;
|
|
2376
|
-
COMPANION_META_NONCE_FETCH = 7;
|
|
2377
1842
|
}
|
|
2378
1843
|
message PinInChatMessage {
|
|
2379
1844
|
optional MessageKey key = 1;
|
|
@@ -2393,29 +1858,16 @@ message Message {
|
|
|
2393
1858
|
}
|
|
2394
1859
|
}
|
|
2395
1860
|
|
|
2396
|
-
enum PollContentType {
|
|
2397
|
-
UNKNOWN = 0;
|
|
2398
|
-
TEXT = 1;
|
|
2399
|
-
IMAGE = 2;
|
|
2400
|
-
}
|
|
2401
1861
|
message PollCreationMessage {
|
|
2402
1862
|
optional bytes encKey = 1;
|
|
2403
1863
|
optional string name = 2;
|
|
2404
1864
|
repeated Option options = 3;
|
|
2405
1865
|
optional uint32 selectableOptionsCount = 4;
|
|
2406
1866
|
optional ContextInfo contextInfo = 5;
|
|
2407
|
-
optional Message.PollContentType pollContentType = 6;
|
|
2408
|
-
optional PollType pollType = 7;
|
|
2409
|
-
optional Option correctAnswer = 8;
|
|
2410
1867
|
message Option {
|
|
2411
1868
|
optional string optionName = 1;
|
|
2412
|
-
optional string optionHash = 2;
|
|
2413
1869
|
}
|
|
2414
1870
|
|
|
2415
|
-
enum PollType {
|
|
2416
|
-
POLL = 0;
|
|
2417
|
-
QUIZ = 1;
|
|
2418
|
-
}
|
|
2419
1871
|
}
|
|
2420
1872
|
|
|
2421
1873
|
message PollEncValue {
|
|
@@ -2423,17 +1875,6 @@ message Message {
|
|
|
2423
1875
|
optional bytes encIv = 2;
|
|
2424
1876
|
}
|
|
2425
1877
|
|
|
2426
|
-
message PollResultSnapshotMessage {
|
|
2427
|
-
optional string name = 1;
|
|
2428
|
-
repeated PollVote pollVotes = 2;
|
|
2429
|
-
optional ContextInfo contextInfo = 3;
|
|
2430
|
-
message PollVote {
|
|
2431
|
-
optional string optionName = 1;
|
|
2432
|
-
optional int64 optionVoteCount = 2;
|
|
2433
|
-
}
|
|
2434
|
-
|
|
2435
|
-
}
|
|
2436
|
-
|
|
2437
1878
|
message PollUpdateMessage {
|
|
2438
1879
|
optional MessageKey pollCreationMessageKey = 1;
|
|
2439
1880
|
optional Message.PollEncValue vote = 2;
|
|
@@ -2473,7 +1914,6 @@ message Message {
|
|
|
2473
1914
|
optional uint32 productImageCount = 9;
|
|
2474
1915
|
optional string firstImageId = 11;
|
|
2475
1916
|
optional int64 salePriceAmount1000 = 12;
|
|
2476
|
-
optional string signedUrl = 13;
|
|
2477
1917
|
}
|
|
2478
1918
|
|
|
2479
1919
|
}
|
|
@@ -2497,8 +1937,6 @@ message Message {
|
|
|
2497
1937
|
optional string invokerJid = 19;
|
|
2498
1938
|
optional Message.RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20;
|
|
2499
1939
|
optional MediaNotifyMessage mediaNotifyMessage = 21;
|
|
2500
|
-
optional Message.CloudAPIThreadControlNotification cloudApiThreadControlNotification = 22;
|
|
2501
|
-
optional LIDMigrationMappingSyncMessage lidMigrationMappingSyncMessage = 23;
|
|
2502
1940
|
enum Type {
|
|
2503
1941
|
REVOKE = 0;
|
|
2504
1942
|
EPHEMERAL_SETTING = 3;
|
|
@@ -2516,11 +1954,6 @@ message Message {
|
|
|
2516
1954
|
REQUEST_WELCOME_MESSAGE = 18;
|
|
2517
1955
|
BOT_FEEDBACK_MESSAGE = 19;
|
|
2518
1956
|
MEDIA_NOTIFY_MESSAGE = 20;
|
|
2519
|
-
CLOUD_API_THREAD_CONTROL_NOTIFICATION = 21;
|
|
2520
|
-
LID_MIGRATION_MAPPING_SYNC = 22;
|
|
2521
|
-
REMINDER_MESSAGE = 23;
|
|
2522
|
-
BOT_MEMU_ONBOARDING_MESSAGE = 24;
|
|
2523
|
-
STATUS_MENTION_MESSAGE = 25;
|
|
2524
1957
|
}
|
|
2525
1958
|
}
|
|
2526
1959
|
|
|
@@ -2573,17 +2006,6 @@ message Message {
|
|
|
2573
2006
|
}
|
|
2574
2007
|
}
|
|
2575
2008
|
|
|
2576
|
-
message SecretEncryptedMessage {
|
|
2577
|
-
optional MessageKey targetMessageKey = 1;
|
|
2578
|
-
optional bytes encPayload = 2;
|
|
2579
|
-
optional bytes encIv = 3;
|
|
2580
|
-
optional SecretEncType secretEncType = 4;
|
|
2581
|
-
enum SecretEncType {
|
|
2582
|
-
UNKNOWN = 0;
|
|
2583
|
-
EVENT_EDIT = 1;
|
|
2584
|
-
}
|
|
2585
|
-
}
|
|
2586
|
-
|
|
2587
2009
|
message SendPaymentMessage {
|
|
2588
2010
|
optional Message noteMessage = 2;
|
|
2589
2011
|
optional MessageKey requestMessageKey = 3;
|
|
@@ -2595,17 +2017,6 @@ message Message {
|
|
|
2595
2017
|
optional bytes axolotlSenderKeyDistributionMessage = 2;
|
|
2596
2018
|
}
|
|
2597
2019
|
|
|
2598
|
-
message StatusNotificationMessage {
|
|
2599
|
-
optional MessageKey responseMessageKey = 1;
|
|
2600
|
-
optional MessageKey originalMessageKey = 2;
|
|
2601
|
-
optional StatusNotificationType type = 3;
|
|
2602
|
-
enum StatusNotificationType {
|
|
2603
|
-
UNKNOWN = 0;
|
|
2604
|
-
STATUS_ADD_YOURS = 1;
|
|
2605
|
-
STATUS_RESHARE = 2;
|
|
2606
|
-
}
|
|
2607
|
-
}
|
|
2608
|
-
|
|
2609
2020
|
message StickerMessage {
|
|
2610
2021
|
optional string url = 1;
|
|
2611
2022
|
optional bytes fileSha256 = 2;
|
|
@@ -2626,46 +2037,6 @@ message Message {
|
|
|
2626
2037
|
optional bool isAvatar = 19;
|
|
2627
2038
|
optional bool isAiSticker = 20;
|
|
2628
2039
|
optional bool isLottie = 21;
|
|
2629
|
-
optional string accessibilityLabel = 22;
|
|
2630
|
-
}
|
|
2631
|
-
|
|
2632
|
-
message StickerPackMessage {
|
|
2633
|
-
optional string stickerPackId = 1;
|
|
2634
|
-
optional string name = 2;
|
|
2635
|
-
optional string publisher = 3;
|
|
2636
|
-
repeated Sticker stickers = 4;
|
|
2637
|
-
optional uint64 fileLength = 5;
|
|
2638
|
-
optional bytes fileSha256 = 6;
|
|
2639
|
-
optional bytes fileEncSha256 = 7;
|
|
2640
|
-
optional bytes mediaKey = 8;
|
|
2641
|
-
optional string directPath = 9;
|
|
2642
|
-
optional string caption = 10;
|
|
2643
|
-
optional ContextInfo contextInfo = 11;
|
|
2644
|
-
optional string packDescription = 12;
|
|
2645
|
-
optional int64 mediaKeyTimestamp = 13;
|
|
2646
|
-
optional string trayIconFileName = 14;
|
|
2647
|
-
optional string thumbnailDirectPath = 15;
|
|
2648
|
-
optional bytes thumbnailSha256 = 16;
|
|
2649
|
-
optional bytes thumbnailEncSha256 = 17;
|
|
2650
|
-
optional uint32 thumbnailHeight = 18;
|
|
2651
|
-
optional uint32 thumbnailWidth = 19;
|
|
2652
|
-
optional string imageDataHash = 20;
|
|
2653
|
-
optional uint64 stickerPackSize = 21;
|
|
2654
|
-
optional StickerPackOrigin stickerPackOrigin = 22;
|
|
2655
|
-
message Sticker {
|
|
2656
|
-
optional string fileName = 1;
|
|
2657
|
-
optional bool isAnimated = 2;
|
|
2658
|
-
repeated string emojis = 3;
|
|
2659
|
-
optional string accessibilityLabel = 4;
|
|
2660
|
-
optional bool isLottie = 5;
|
|
2661
|
-
optional string mimetype = 6;
|
|
2662
|
-
}
|
|
2663
|
-
|
|
2664
|
-
enum StickerPackOrigin {
|
|
2665
|
-
FIRST_PARTY = 0;
|
|
2666
|
-
THIRD_PARTY = 1;
|
|
2667
|
-
USER_CREATED = 2;
|
|
2668
|
-
}
|
|
2669
2040
|
}
|
|
2670
2041
|
|
|
2671
2042
|
message StickerSyncRMRMessage {
|
|
@@ -2746,8 +2117,6 @@ message Message {
|
|
|
2746
2117
|
optional bytes thumbnailEncSha256 = 23;
|
|
2747
2118
|
optional string staticUrl = 24;
|
|
2748
2119
|
repeated InteractiveAnnotation annotations = 25;
|
|
2749
|
-
optional string accessibilityLabel = 26;
|
|
2750
|
-
repeated ProcessedVideo processedVideos = 27;
|
|
2751
2120
|
enum Attribution {
|
|
2752
2121
|
NONE = 0;
|
|
2753
2122
|
GIPHY = 1;
|
|
@@ -2757,45 +2126,8 @@ message Message {
|
|
|
2757
2126
|
|
|
2758
2127
|
}
|
|
2759
2128
|
|
|
2760
|
-
message MessageAddOn {
|
|
2761
|
-
optional MessageAddOnType messageAddOnType = 1;
|
|
2762
|
-
optional Message messageAddOn = 2;
|
|
2763
|
-
optional int64 senderTimestampMs = 3;
|
|
2764
|
-
optional int64 serverTimestampMs = 4;
|
|
2765
|
-
optional WebMessageInfo.Status status = 5;
|
|
2766
|
-
optional MessageAddOnContextInfo addOnContextInfo = 6;
|
|
2767
|
-
optional MessageKey messageAddOnKey = 7;
|
|
2768
|
-
optional LegacyMessage legacyMessage = 8;
|
|
2769
|
-
enum MessageAddOnType {
|
|
2770
|
-
UNDEFINED = 0;
|
|
2771
|
-
REACTION = 1;
|
|
2772
|
-
EVENT_RESPONSE = 2;
|
|
2773
|
-
POLL_UPDATE = 3;
|
|
2774
|
-
PIN_IN_CHAT = 4;
|
|
2775
|
-
}
|
|
2776
|
-
}
|
|
2777
|
-
|
|
2778
2129
|
message MessageAddOnContextInfo {
|
|
2779
2130
|
optional uint32 messageAddOnDurationInSecs = 1;
|
|
2780
|
-
optional MessageContextInfo.MessageAddonExpiryType messageAddOnExpiryType = 2;
|
|
2781
|
-
}
|
|
2782
|
-
|
|
2783
|
-
message MessageAssociation {
|
|
2784
|
-
optional AssociationType associationType = 1;
|
|
2785
|
-
optional MessageKey parentMessageKey = 2;
|
|
2786
|
-
optional int32 messageIndex = 3;
|
|
2787
|
-
enum AssociationType {
|
|
2788
|
-
UNKNOWN = 0;
|
|
2789
|
-
MEDIA_ALBUM = 1;
|
|
2790
|
-
BOT_PLUGIN = 2;
|
|
2791
|
-
EVENT_COVER_IMAGE = 3;
|
|
2792
|
-
STATUS_POLL = 4;
|
|
2793
|
-
HD_VIDEO_DUAL_UPLOAD = 5;
|
|
2794
|
-
STATUS_TAPPABLE_MESSAGE = 6;
|
|
2795
|
-
MEDIA_POLL = 7;
|
|
2796
|
-
STATUS_ADD_YOURS = 8;
|
|
2797
|
-
STATUS_NOTIFICATION = 9;
|
|
2798
|
-
}
|
|
2799
2131
|
}
|
|
2800
2132
|
|
|
2801
2133
|
message MessageContextInfo {
|
|
@@ -2807,14 +2139,6 @@ message MessageContextInfo {
|
|
|
2807
2139
|
optional bytes botMessageSecret = 6;
|
|
2808
2140
|
optional BotMetadata botMetadata = 7;
|
|
2809
2141
|
optional int32 reportingTokenVersion = 8;
|
|
2810
|
-
optional MessageAddonExpiryType messageAddOnExpiryType = 9;
|
|
2811
|
-
optional MessageAssociation messageAssociation = 10;
|
|
2812
|
-
optional bool capiCreatedGroup = 11;
|
|
2813
|
-
optional string supportPayload = 12;
|
|
2814
|
-
enum MessageAddonExpiryType {
|
|
2815
|
-
STATIC = 1;
|
|
2816
|
-
DEPENDENT_ON_PARENT = 2;
|
|
2817
|
-
}
|
|
2818
2142
|
}
|
|
2819
2143
|
|
|
2820
2144
|
message MessageKey {
|
|
@@ -2844,6 +2168,7 @@ message MsgOpaqueData {
|
|
|
2844
2168
|
optional double lat = 7;
|
|
2845
2169
|
optional int32 paymentAmount1000 = 8;
|
|
2846
2170
|
optional string paymentNoteMsgBody = 9;
|
|
2171
|
+
optional string canonicalUrl = 10;
|
|
2847
2172
|
optional string matchedText = 11;
|
|
2848
2173
|
optional string title = 12;
|
|
2849
2174
|
optional string description = 13;
|
|
@@ -2859,8 +2184,6 @@ message MsgOpaqueData {
|
|
|
2859
2184
|
optional string pollUpdateParentKey = 23;
|
|
2860
2185
|
optional PollEncValue encPollVote = 24;
|
|
2861
2186
|
optional bool isSentCagPollCreation = 28;
|
|
2862
|
-
optional PollContentType pollContentType = 42;
|
|
2863
|
-
optional PollVotesSnapshot pollVotesSnapshot = 41;
|
|
2864
2187
|
optional string encReactionTargetMessageKey = 25;
|
|
2865
2188
|
optional bytes encReactionEncPayload = 26;
|
|
2866
2189
|
optional bytes encReactionEncIv = 27;
|
|
@@ -2868,39 +2191,8 @@ message MsgOpaqueData {
|
|
|
2868
2191
|
optional string targetMessageKey = 30;
|
|
2869
2192
|
optional bytes encPayload = 31;
|
|
2870
2193
|
optional bytes encIv = 32;
|
|
2871
|
-
optional string eventName = 33;
|
|
2872
|
-
optional bool isEventCanceled = 34;
|
|
2873
|
-
optional string eventDescription = 35;
|
|
2874
|
-
optional string eventJoinLink = 36;
|
|
2875
|
-
optional int64 eventStartTime = 37;
|
|
2876
|
-
optional EventLocation eventLocation = 38;
|
|
2877
|
-
optional int64 eventEndTime = 40;
|
|
2878
|
-
message EventLocation {
|
|
2879
|
-
optional double degreesLatitude = 1;
|
|
2880
|
-
optional double degreesLongitude = 2;
|
|
2881
|
-
optional string name = 3;
|
|
2882
|
-
optional string address = 4;
|
|
2883
|
-
optional string url = 5;
|
|
2884
|
-
optional bytes jpegThumbnail = 6;
|
|
2885
|
-
}
|
|
2886
|
-
|
|
2887
|
-
enum PollContentType {
|
|
2888
|
-
UNKNOWN = 0;
|
|
2889
|
-
TEXT = 1;
|
|
2890
|
-
IMAGE = 2;
|
|
2891
|
-
}
|
|
2892
2194
|
message PollOption {
|
|
2893
2195
|
optional string name = 1;
|
|
2894
|
-
optional string hash = 2;
|
|
2895
|
-
}
|
|
2896
|
-
|
|
2897
|
-
message PollVoteSnapshot {
|
|
2898
|
-
optional MsgOpaqueData.PollOption option = 1;
|
|
2899
|
-
optional int32 optionVoteCount = 2;
|
|
2900
|
-
}
|
|
2901
|
-
|
|
2902
|
-
message PollVotesSnapshot {
|
|
2903
|
-
repeated MsgOpaqueData.PollVoteSnapshot pollVotes = 1;
|
|
2904
2196
|
}
|
|
2905
2197
|
|
|
2906
2198
|
}
|
|
@@ -2939,12 +2231,6 @@ message NotificationSettings {
|
|
|
2939
2231
|
optional string callVibrate = 6;
|
|
2940
2232
|
}
|
|
2941
2233
|
|
|
2942
|
-
message PairingRequest {
|
|
2943
|
-
optional bytes companionPublicKey = 1;
|
|
2944
|
-
optional bytes companionIdentityKey = 2;
|
|
2945
|
-
optional bytes advSecret = 3;
|
|
2946
|
-
}
|
|
2947
|
-
|
|
2948
2234
|
message PastParticipant {
|
|
2949
2235
|
optional string userJid = 1;
|
|
2950
2236
|
optional LeaveReason leaveReason = 2;
|
|
@@ -2980,8 +2266,6 @@ message PatchDebugData {
|
|
|
2980
2266
|
WEB = 4;
|
|
2981
2267
|
UWP = 5;
|
|
2982
2268
|
DARWIN = 6;
|
|
2983
|
-
IPAD = 7;
|
|
2984
|
-
WEAROS = 8;
|
|
2985
2269
|
}
|
|
2986
2270
|
}
|
|
2987
2271
|
|
|
@@ -3145,43 +2429,46 @@ message PremiumMessageInfo {
|
|
|
3145
2429
|
optional string serverCampaignId = 1;
|
|
3146
2430
|
}
|
|
3147
2431
|
|
|
3148
|
-
message PrimaryEphemeralIdentity {
|
|
3149
|
-
optional bytes publicKey = 1;
|
|
3150
|
-
optional bytes nonce = 2;
|
|
3151
|
-
}
|
|
3152
|
-
|
|
3153
|
-
enum PrivacySystemMessage {
|
|
3154
|
-
E2EE_MSG = 1;
|
|
3155
|
-
NE2EE_SELF = 2;
|
|
3156
|
-
NE2EE_OTHER = 3;
|
|
3157
|
-
}
|
|
3158
|
-
message ProcessedVideo {
|
|
3159
|
-
optional string directPath = 1;
|
|
3160
|
-
optional bytes fileSha256 = 2;
|
|
3161
|
-
optional uint32 height = 3;
|
|
3162
|
-
optional uint32 width = 4;
|
|
3163
|
-
optional uint64 fileLength = 5;
|
|
3164
|
-
optional uint32 bitrate = 6;
|
|
3165
|
-
optional VideoQuality quality = 7;
|
|
3166
|
-
repeated string capabilities = 8;
|
|
3167
|
-
enum VideoQuality {
|
|
3168
|
-
UNDEFINED = 0;
|
|
3169
|
-
LOW = 1;
|
|
3170
|
-
MID = 2;
|
|
3171
|
-
HIGH = 3;
|
|
3172
|
-
}
|
|
3173
|
-
}
|
|
3174
|
-
|
|
3175
|
-
message ProloguePayload {
|
|
3176
|
-
optional bytes companionEphemeralIdentity = 1;
|
|
3177
|
-
optional CompanionCommitment commitment = 2;
|
|
3178
|
-
}
|
|
3179
|
-
|
|
3180
2432
|
message Pushname {
|
|
3181
2433
|
optional string id = 1;
|
|
3182
2434
|
optional string pushname = 2;
|
|
3183
2435
|
}
|
|
3184
2436
|
|
|
2437
|
+
message QP {
|
|
2438
|
+
enum ClauseType {
|
|
2439
|
+
AND = 1;
|
|
2440
|
+
OR = 2;
|
|
2441
|
+
NOR = 3;
|
|
2442
|
+
}
|
|
2443
|
+
message Filter {
|
|
2444
|
+
required string filterName = 1;
|
|
2445
|
+
repeated QP.FilterParameters parameters = 2;
|
|
2446
|
+
optional QP.FilterResult filterResult = 3;
|
|
2447
|
+
required QP.FilterClientNotSupportedConfig clientNotSupportedConfig = 4;
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2450
|
+
message FilterClause {
|
|
2451
|
+
required QP.ClauseType clauseType = 1;
|
|
2452
|
+
repeated QP.FilterClause clauses = 2;
|
|
2453
|
+
repeated QP.Filter filters = 3;
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
enum FilterClientNotSupportedConfig {
|
|
2457
|
+
PASS_BY_DEFAULT = 1;
|
|
2458
|
+
FAIL_BY_DEFAULT = 2;
|
|
2459
|
+
}
|
|
2460
|
+
message FilterParameters {
|
|
2461
|
+
optional string key = 1;
|
|
2462
|
+
optional string value = 2;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
enum FilterResult {
|
|
2466
|
+
TRUE = 1;
|
|
2467
|
+
FALSE = 2;
|
|
2468
|
+
UNKNOWN = 3;
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
|
|
3185
2472
|
message Reaction {
|
|
3186
2473
|
optional MessageKey key = 1;
|
|
3187
2474
|
optional string text = 2;
|
|
@@ -3200,13 +2487,6 @@ message RecordStructure {
|
|
|
3200
2487
|
repeated SessionStructure previousSessions = 2;
|
|
3201
2488
|
}
|
|
3202
2489
|
|
|
3203
|
-
message Reportable {
|
|
3204
|
-
optional uint32 minVersion = 1;
|
|
3205
|
-
optional uint32 maxVersion = 2;
|
|
3206
|
-
optional uint32 notReportableMinVersion = 3;
|
|
3207
|
-
optional bool never = 4;
|
|
3208
|
-
}
|
|
3209
|
-
|
|
3210
2490
|
message ReportingTokenInfo {
|
|
3211
2491
|
optional bytes reportingTag = 1;
|
|
3212
2492
|
}
|
|
@@ -3320,10 +2600,6 @@ message SignedPreKeyRecordStructure {
|
|
|
3320
2600
|
optional fixed64 timestamp = 5;
|
|
3321
2601
|
}
|
|
3322
2602
|
|
|
3323
|
-
message StatusMentionMessage {
|
|
3324
|
-
optional Message quotedStatus = 1;
|
|
3325
|
-
}
|
|
3326
|
-
|
|
3327
2603
|
message StatusPSA {
|
|
3328
2604
|
required uint64 campaignId = 44;
|
|
3329
2605
|
optional uint64 campaignExpirationTimestamp = 45;
|
|
@@ -3341,7 +2617,6 @@ message StickerMetadata {
|
|
|
3341
2617
|
optional uint64 fileLength = 9;
|
|
3342
2618
|
optional float weight = 10;
|
|
3343
2619
|
optional int64 lastStickerSentTs = 11;
|
|
3344
|
-
optional bool isLottie = 12;
|
|
3345
2620
|
}
|
|
3346
2621
|
|
|
3347
2622
|
message SyncActionData {
|
|
@@ -3395,17 +2670,6 @@ message SyncActionValue {
|
|
|
3395
2670
|
optional LabelReorderingAction labelReorderingAction = 47;
|
|
3396
2671
|
optional PaymentInfoAction paymentInfoAction = 48;
|
|
3397
2672
|
optional CustomPaymentMethodsAction customPaymentMethodsAction = 49;
|
|
3398
|
-
optional LockChatAction lockChatAction = 50;
|
|
3399
|
-
optional ChatLockSettings chatLockSettings = 51;
|
|
3400
|
-
optional WamoUserIdentifierAction wamoUserIdentifierAction = 52;
|
|
3401
|
-
optional PrivacySettingDisableLinkPreviewsAction privacySettingDisableLinkPreviewsAction = 53;
|
|
3402
|
-
optional DeviceCapabilities deviceCapabilities = 54;
|
|
3403
|
-
optional NoteEditAction noteEditAction = 55;
|
|
3404
|
-
optional FavoritesAction favoritesAction = 56;
|
|
3405
|
-
optional MerchantPaymentPartnerAction merchantPaymentPartnerAction = 57;
|
|
3406
|
-
optional WaffleAccountLinkStateAction waffleAccountLinkStateAction = 58;
|
|
3407
|
-
optional UsernameChatStartModeAction usernameChatStartMode = 59;
|
|
3408
|
-
optional NotificationActivitySettingAction notificationActivitySettingAction = 60;
|
|
3409
2673
|
message AgentAction {
|
|
3410
2674
|
optional string name = 1;
|
|
3411
2675
|
optional int32 deviceID = 2;
|
|
@@ -3482,14 +2746,6 @@ message SyncActionValue {
|
|
|
3482
2746
|
optional bool isOptIn = 1;
|
|
3483
2747
|
}
|
|
3484
2748
|
|
|
3485
|
-
message FavoritesAction {
|
|
3486
|
-
repeated Favorite favorites = 1;
|
|
3487
|
-
message Favorite {
|
|
3488
|
-
optional string id = 1;
|
|
3489
|
-
}
|
|
3490
|
-
|
|
3491
|
-
}
|
|
3492
|
-
|
|
3493
2749
|
message KeyExpiration {
|
|
3494
2750
|
optional int32 expiredKeyEpoch = 1;
|
|
3495
2751
|
}
|
|
@@ -3504,16 +2760,6 @@ message SyncActionValue {
|
|
|
3504
2760
|
optional int32 predefinedId = 3;
|
|
3505
2761
|
optional bool deleted = 4;
|
|
3506
2762
|
optional int32 orderIndex = 5;
|
|
3507
|
-
optional bool isActive = 6;
|
|
3508
|
-
optional ListType type = 7;
|
|
3509
|
-
enum ListType {
|
|
3510
|
-
NONE = 0;
|
|
3511
|
-
UNREAD = 1;
|
|
3512
|
-
GROUPS = 2;
|
|
3513
|
-
FAVORITES = 3;
|
|
3514
|
-
PREDEFINED = 4;
|
|
3515
|
-
CUSTOM = 5;
|
|
3516
|
-
}
|
|
3517
2763
|
}
|
|
3518
2764
|
|
|
3519
2765
|
message LabelReorderingAction {
|
|
@@ -3524,10 +2770,6 @@ message SyncActionValue {
|
|
|
3524
2770
|
optional string locale = 1;
|
|
3525
2771
|
}
|
|
3526
2772
|
|
|
3527
|
-
message LockChatAction {
|
|
3528
|
-
optional bool locked = 1;
|
|
3529
|
-
}
|
|
3530
|
-
|
|
3531
2773
|
message MarkChatAsReadAction {
|
|
3532
2774
|
optional bool read = 1;
|
|
3533
2775
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
|
@@ -3550,45 +2792,12 @@ message SyncActionValue {
|
|
|
3550
2792
|
optional int32 repliedCount = 1;
|
|
3551
2793
|
}
|
|
3552
2794
|
|
|
3553
|
-
message MerchantPaymentPartnerAction {
|
|
3554
|
-
required Status status = 1;
|
|
3555
|
-
required string country = 2;
|
|
3556
|
-
optional string gatewayName = 3;
|
|
3557
|
-
optional string credentialId = 4;
|
|
3558
|
-
enum Status {
|
|
3559
|
-
ACTIVE = 0;
|
|
3560
|
-
INACTIVE = 1;
|
|
3561
|
-
}
|
|
3562
|
-
}
|
|
3563
|
-
|
|
3564
2795
|
message MuteAction {
|
|
3565
2796
|
optional bool muted = 1;
|
|
3566
2797
|
optional int64 muteEndTimestamp = 2;
|
|
3567
2798
|
optional bool autoMuted = 3;
|
|
3568
2799
|
}
|
|
3569
2800
|
|
|
3570
|
-
message NoteEditAction {
|
|
3571
|
-
optional NoteType type = 1;
|
|
3572
|
-
optional string chatJid = 2;
|
|
3573
|
-
optional int64 createdAt = 3;
|
|
3574
|
-
optional bool deleted = 4;
|
|
3575
|
-
optional string unstructuredContent = 5;
|
|
3576
|
-
enum NoteType {
|
|
3577
|
-
UNSTRUCTURED = 1;
|
|
3578
|
-
STRUCTURED = 2;
|
|
3579
|
-
}
|
|
3580
|
-
}
|
|
3581
|
-
|
|
3582
|
-
message NotificationActivitySettingAction {
|
|
3583
|
-
optional NotificationActivitySetting notificationActivitySetting = 1;
|
|
3584
|
-
enum NotificationActivitySetting {
|
|
3585
|
-
DEFAULT_ALL_MESSAGES = 0;
|
|
3586
|
-
ALL_MESSAGES = 1;
|
|
3587
|
-
HIGHLIGHTS = 2;
|
|
3588
|
-
DEFAULT_HIGHLIGHTS = 3;
|
|
3589
|
-
}
|
|
3590
|
-
}
|
|
3591
|
-
|
|
3592
2801
|
message NuxAction {
|
|
3593
2802
|
optional bool acknowledged = 1;
|
|
3594
2803
|
}
|
|
@@ -3613,10 +2822,6 @@ message SyncActionValue {
|
|
|
3613
2822
|
optional string version = 1;
|
|
3614
2823
|
}
|
|
3615
2824
|
|
|
3616
|
-
message PrivacySettingDisableLinkPreviewsAction {
|
|
3617
|
-
optional bool isPreviewsDisabled = 1;
|
|
3618
|
-
}
|
|
3619
|
-
|
|
3620
2825
|
message PrivacySettingRelayAllCalls {
|
|
3621
2826
|
optional bool isEnabled = 1;
|
|
3622
2827
|
}
|
|
@@ -3670,7 +2875,6 @@ message SyncActionValue {
|
|
|
3670
2875
|
optional uint64 fileLength = 8;
|
|
3671
2876
|
optional bool isFavorite = 9;
|
|
3672
2877
|
optional uint32 deviceIdHint = 10;
|
|
3673
|
-
optional bool isLottie = 11;
|
|
3674
2878
|
}
|
|
3675
2879
|
|
|
3676
2880
|
message SubscriptionAction {
|
|
@@ -3702,25 +2906,6 @@ message SyncActionValue {
|
|
|
3702
2906
|
optional bool muted = 1;
|
|
3703
2907
|
}
|
|
3704
2908
|
|
|
3705
|
-
message UsernameChatStartModeAction {
|
|
3706
|
-
optional ChatStartMode chatStartMode = 1;
|
|
3707
|
-
enum ChatStartMode {
|
|
3708
|
-
LID = 1;
|
|
3709
|
-
PN = 2;
|
|
3710
|
-
}
|
|
3711
|
-
}
|
|
3712
|
-
|
|
3713
|
-
message WaffleAccountLinkStateAction {
|
|
3714
|
-
optional AccountLinkState linkState = 2;
|
|
3715
|
-
enum AccountLinkState {
|
|
3716
|
-
ACTIVE = 0;
|
|
3717
|
-
}
|
|
3718
|
-
}
|
|
3719
|
-
|
|
3720
|
-
message WamoUserIdentifierAction {
|
|
3721
|
-
optional string identifier = 1;
|
|
3722
|
-
}
|
|
3723
|
-
|
|
3724
2909
|
}
|
|
3725
2910
|
|
|
3726
2911
|
message SyncdIndex {
|
|
@@ -3773,11 +2958,6 @@ message SyncdVersion {
|
|
|
3773
2958
|
optional uint64 version = 1;
|
|
3774
2959
|
}
|
|
3775
2960
|
|
|
3776
|
-
message TapLinkAction {
|
|
3777
|
-
optional string title = 1;
|
|
3778
|
-
optional string tapUrl = 2;
|
|
3779
|
-
}
|
|
3780
|
-
|
|
3781
2961
|
message TemplateButton {
|
|
3782
2962
|
optional uint32 index = 4;
|
|
3783
2963
|
oneof button {
|
|
@@ -3802,45 +2982,6 @@ message TemplateButton {
|
|
|
3802
2982
|
|
|
3803
2983
|
}
|
|
3804
2984
|
|
|
3805
|
-
message UrlTrackingMap {
|
|
3806
|
-
repeated UrlTrackingMapElement urlTrackingMapElements = 1;
|
|
3807
|
-
message UrlTrackingMapElement {
|
|
3808
|
-
optional string originalUrl = 1;
|
|
3809
|
-
optional string unconsentedUsersUrl = 2;
|
|
3810
|
-
optional string consentedUsersUrl = 3;
|
|
3811
|
-
optional uint32 cardIndex = 4;
|
|
3812
|
-
}
|
|
3813
|
-
|
|
3814
|
-
}
|
|
3815
|
-
|
|
3816
|
-
message UserPassword {
|
|
3817
|
-
optional Encoding encoding = 1;
|
|
3818
|
-
optional Transformer transformer = 2;
|
|
3819
|
-
repeated TransformerArg transformerArg = 3;
|
|
3820
|
-
optional bytes transformedData = 4;
|
|
3821
|
-
enum Encoding {
|
|
3822
|
-
UTF8 = 0;
|
|
3823
|
-
UTF8_BROKEN = 1;
|
|
3824
|
-
}
|
|
3825
|
-
enum Transformer {
|
|
3826
|
-
NONE = 0;
|
|
3827
|
-
PBKDF2_HMAC_SHA512 = 1;
|
|
3828
|
-
PBKDF2_HMAC_SHA384 = 2;
|
|
3829
|
-
}
|
|
3830
|
-
message TransformerArg {
|
|
3831
|
-
optional string key = 1;
|
|
3832
|
-
optional Value value = 2;
|
|
3833
|
-
message Value {
|
|
3834
|
-
oneof value {
|
|
3835
|
-
bytes asBlob = 1;
|
|
3836
|
-
uint32 asUnsignedInteger = 2;
|
|
3837
|
-
}
|
|
3838
|
-
}
|
|
3839
|
-
|
|
3840
|
-
}
|
|
3841
|
-
|
|
3842
|
-
}
|
|
3843
|
-
|
|
3844
2985
|
message UserReceipt {
|
|
3845
2986
|
required string userJid = 1;
|
|
3846
2987
|
optional int64 receiptTimestamp = 2;
|
|
@@ -3976,16 +3117,6 @@ message WebMessageInfo {
|
|
|
3976
3117
|
repeated EventResponse eventResponses = 61;
|
|
3977
3118
|
optional ReportingTokenInfo reportingTokenInfo = 62;
|
|
3978
3119
|
optional uint64 newsletterServerId = 63;
|
|
3979
|
-
optional EventAdditionalMetadata eventAdditionalMetadata = 64;
|
|
3980
|
-
optional bool isMentionedInStatus = 65;
|
|
3981
|
-
repeated string statusMentions = 66;
|
|
3982
|
-
optional MessageKey targetMessageId = 67;
|
|
3983
|
-
repeated MessageAddOn messageAddOns = 68;
|
|
3984
|
-
optional StatusMentionMessage statusMentionMessageInfo = 69;
|
|
3985
|
-
optional bool isSupportAiMessage = 70;
|
|
3986
|
-
repeated string statusMentionSources = 71;
|
|
3987
|
-
repeated Citation supportAiCitations = 72;
|
|
3988
|
-
optional string botTargetId = 73;
|
|
3989
3120
|
enum BizPrivacyStatus {
|
|
3990
3121
|
E2EE = 0;
|
|
3991
3122
|
FB = 2;
|
|
@@ -4202,18 +3333,6 @@ message WebMessageInfo {
|
|
|
4202
3333
|
REMINDER_SETUP_MESSAGE = 198;
|
|
4203
3334
|
REMINDER_SENT_MESSAGE = 199;
|
|
4204
3335
|
REMINDER_CANCEL_MESSAGE = 200;
|
|
4205
|
-
BIZ_COEX_PRIVACY_INIT = 201;
|
|
4206
|
-
BIZ_COEX_PRIVACY_TRANSITION = 202;
|
|
4207
|
-
GROUP_DEACTIVATED = 203;
|
|
4208
|
-
COMMUNITY_DEACTIVATE_SIBLING_GROUP = 204;
|
|
4209
|
-
EVENT_UPDATED = 205;
|
|
4210
|
-
EVENT_CANCELED = 206;
|
|
4211
|
-
COMMUNITY_OWNER_UPDATED = 207;
|
|
4212
|
-
COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN = 208;
|
|
4213
|
-
CAPI_GROUP_NE2EE_SYSTEM_MESSAGE = 209;
|
|
4214
|
-
STATUS_MENTION = 210;
|
|
4215
|
-
USER_CONTROLS_SYSTEM_MESSAGE = 211;
|
|
4216
|
-
SUPPORT_SYSTEM_MESSAGE = 212;
|
|
4217
3336
|
}
|
|
4218
3337
|
}
|
|
4219
3338
|
|