@neelegirl/baileys 1.5.2 → 1.5.3
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 +21 -21
- package/README.md +195 -187
- package/WAProto/WAProto.proto +537 -236
- package/WAProto/index.d.ts +5971 -2388
- package/WAProto/index.js +17298 -6513
- package/lib/Defaults/baileys-version.json +3 -3
- package/lib/Defaults/index.d.ts +77 -67
- package/lib/Defaults/index.js +148 -136
- package/lib/Defaults/phonenumber-mcc.json +223 -223
- package/lib/Signal/WASignalGroup/GroupProtocol.js +1908 -1908
- package/lib/Signal/WASignalGroup/ciphertext-message.d.ts +9 -0
- package/lib/Signal/WASignalGroup/ciphertext-message.js +19 -0
- package/lib/Signal/WASignalGroup/ciphertext_message.js +15 -15
- package/lib/Signal/WASignalGroup/group-session-builder.d.ts +17 -0
- package/lib/Signal/WASignalGroup/group-session-builder.js +72 -0
- package/lib/Signal/WASignalGroup/group.proto +41 -41
- package/lib/Signal/WASignalGroup/group_cipher.d.ts +19 -0
- package/lib/Signal/WASignalGroup/group_cipher.js +101 -110
- package/lib/Signal/WASignalGroup/group_session_builder.js +45 -45
- package/lib/Signal/WASignalGroup/index.d.ts +11 -0
- package/lib/Signal/WASignalGroup/index.js +61 -6
- package/lib/Signal/WASignalGroup/keyhelper.d.ts +16 -0
- package/lib/Signal/WASignalGroup/keyhelper.js +58 -13
- package/lib/Signal/WASignalGroup/protobufs.js +2 -2
- package/lib/Signal/WASignalGroup/queue_job.js +68 -68
- package/lib/Signal/WASignalGroup/readme.md +5 -5
- package/lib/Signal/WASignalGroup/sender-chain-key.d.ts +14 -0
- package/lib/Signal/WASignalGroup/sender-chain-key.js +47 -0
- package/lib/Signal/WASignalGroup/sender-key-distribution-message.d.ts +17 -0
- package/lib/Signal/WASignalGroup/sender-key-distribution-message.js +71 -0
- package/lib/Signal/WASignalGroup/sender-key-message.d.ts +19 -0
- package/lib/Signal/WASignalGroup/sender-key-message.js +73 -0
- package/lib/Signal/WASignalGroup/sender-key-name.d.ts +19 -0
- package/lib/Signal/WASignalGroup/sender-key-name.js +59 -0
- package/lib/Signal/WASignalGroup/sender-key-record.d.ts +32 -0
- package/lib/Signal/WASignalGroup/sender-key-record.js +58 -0
- package/lib/Signal/WASignalGroup/sender-key-state.d.ts +44 -0
- package/lib/Signal/WASignalGroup/sender-key-state.js +147 -0
- package/lib/Signal/WASignalGroup/sender-message-key.d.ts +11 -0
- package/lib/Signal/WASignalGroup/sender-message-key.js +33 -0
- package/lib/Signal/WASignalGroup/sender_chain_key.js +49 -49
- package/lib/Signal/WASignalGroup/sender_key_distribution_message.js +77 -77
- package/lib/Signal/WASignalGroup/sender_key_message.js +91 -91
- package/lib/Signal/WASignalGroup/sender_key_name.js +69 -69
- package/lib/Signal/WASignalGroup/sender_key_record.js +55 -55
- package/lib/Signal/WASignalGroup/sender_key_state.js +128 -128
- package/lib/Signal/WASignalGroup/sender_message_key.js +38 -38
- package/lib/Signal/libsignal.d.ts +5 -1
- package/lib/Signal/libsignal.js +390 -161
- package/lib/Signal/lid-mapping.d.ts +28 -0
- package/lib/Signal/lid-mapping.js +184 -0
- package/lib/Socket/Client/abstract-socket-client.d.ts +15 -15
- package/lib/Socket/Client/abstract-socket-client.js +13 -13
- package/lib/Socket/Client/index.d.ts +2 -2
- package/lib/Socket/Client/mobile-socket-client.d.ts +12 -12
- package/lib/Socket/Client/mobile-socket-client.js +65 -65
- package/lib/Socket/Client/types.d.ts +1 -1
- package/lib/Socket/Client/websocket.d.ts +1 -1
- package/lib/Socket/business.d.ts +6 -6
- package/lib/Socket/business.js +152 -5
- package/lib/Socket/chats.d.ts +3 -4
- package/lib/Socket/chats.js +31 -26
- package/lib/Socket/communities.d.ts +223 -223
- package/lib/Socket/communities.js +432 -432
- package/lib/Socket/groups.d.ts +2 -4
- package/lib/Socket/groups.js +22 -14
- package/lib/Socket/index.d.ts +69 -69
- package/lib/Socket/index.js +3 -2
- package/lib/Socket/messages-recv.d.ts +3 -6
- package/lib/Socket/messages-recv.js +1449 -1707
- package/lib/Socket/messages-send.d.ts +2 -4
- package/lib/Socket/messages-send.js +617 -126
- package/lib/Socket/mex.d.ts +2 -2
- package/lib/Socket/mex.js +46 -46
- package/lib/Socket/newsletter.d.ts +2 -4
- package/lib/Socket/newsletter.js +294 -285
- package/lib/Socket/socket.js +318 -132
- package/lib/Socket/usync.js +3 -3
- package/lib/Store/index.d.ts +4 -4
- package/lib/Store/index.js +23 -23
- package/lib/Store/make-cache-manager-store.d.ts +13 -13
- package/lib/Store/make-cache-manager-store.js +89 -89
- package/lib/Store/make-in-memory-store.d.ts +122 -122
- package/lib/Store/make-in-memory-store.js +428 -428
- package/lib/Store/make-ordered-dictionary.d.ts +11 -11
- package/lib/Store/make-ordered-dictionary.js +85 -85
- package/lib/Store/object-repository.d.ts +9 -9
- package/lib/Store/object-repository.js +30 -30
- package/lib/Types/Auth.d.ts +5 -4
- package/lib/Types/Bussines.js +3 -0
- package/lib/Types/Bussiness.d.ts +28 -0
- package/lib/Types/Chat.d.ts +13 -8
- package/lib/Types/Contact.d.ts +4 -1
- package/lib/Types/Events.d.ts +13 -16
- package/lib/Types/GroupMetadata.d.ts +1 -1
- package/lib/Types/Message.d.ts +18 -7
- package/lib/Types/Message.js +7 -1
- package/lib/Types/MexUpdates.d.ts +8 -8
- package/lib/Types/MexUpdates.js +17 -17
- package/lib/Types/Newsletter.d.ts +1 -1
- package/lib/Types/Product.d.ts +1 -1
- package/lib/Types/Signal.d.ts +31 -1
- package/lib/Types/Socket.d.ts +34 -13
- package/lib/Types/State.d.ts +1 -1
- package/lib/Types/USync.d.ts +2 -2
- package/lib/Types/index.d.ts +16 -15
- package/lib/Types/index.js +4 -2
- package/lib/Utils/auth-utils.d.ts +20 -20
- package/lib/Utils/auth-utils.js +527 -204
- package/lib/Utils/baileys-event-stream.d.ts +17 -17
- package/lib/Utils/baileys-event-stream.js +69 -69
- package/lib/Utils/business.d.ts +28 -28
- package/lib/Utils/business.js +254 -254
- package/lib/Utils/chat-utils.d.ts +81 -81
- package/lib/Utils/chat-utils.js +808 -780
- package/lib/Utils/crypto.d.ts +55 -55
- package/lib/Utils/crypto.js +188 -178
- package/lib/Utils/decode-wa-message.d.ts +52 -40
- package/lib/Utils/decode-wa-message.js +322 -252
- package/lib/Utils/event-buffer.d.ts +38 -38
- package/lib/Utils/event-buffer.js +594 -564
- package/lib/Utils/generics.d.ts +131 -129
- package/lib/Utils/generics.js +629 -623
- package/lib/Utils/history.d.ts +22 -22
- package/lib/Utils/history.js +103 -109
- package/lib/Utils/index.d.ts +20 -19
- package/lib/Utils/index.js +39 -38
- package/lib/Utils/link-preview.d.ts +22 -22
- package/lib/Utils/link-preview.js +119 -119
- package/lib/Utils/logger.d.ts +13 -13
- package/lib/Utils/logger.js +7 -7
- package/lib/Utils/lt-hash.d.ts +13 -13
- package/lib/Utils/lt-hash.js +57 -57
- package/lib/Utils/make-mutex.d.ts +8 -8
- package/lib/Utils/make-mutex.js +48 -48
- package/lib/Utils/message-retry-manager.d.ts +88 -0
- package/lib/Utils/message-retry-manager.js +160 -0
- package/lib/Utils/messages-media.d.ts +134 -128
- package/lib/Utils/messages-media.js +868 -805
- package/lib/Utils/messages.d.ts +104 -102
- package/lib/Utils/messages.js +1744 -1578
- package/lib/Utils/noise-handler.d.ts +20 -19
- package/lib/Utils/noise-handler.js +164 -154
- package/lib/Utils/process-message.d.ts +48 -48
- package/lib/Utils/process-message.js +427 -428
- package/lib/Utils/signal.d.ts +41 -41
- package/lib/Utils/signal.js +165 -165
- package/lib/Utils/use-mongo-file-auth-state.d.ts +5 -5
- package/lib/Utils/use-mongo-file-auth-state.js +83 -83
- package/lib/Utils/use-multi-file-auth-state.d.ts +17 -17
- package/lib/Utils/use-multi-file-auth-state.js +237 -237
- package/lib/Utils/use-single-file-auth-state.d.ts +12 -12
- package/lib/Utils/use-single-file-auth-state.js +79 -79
- package/lib/Utils/validate-connection.d.ts +12 -12
- package/lib/Utils/validate-connection.js +219 -186
- package/lib/WABinary/constants.d.ts +29 -29
- package/lib/WABinary/constants.js +1315 -1315
- package/lib/WABinary/decode.d.ts +8 -8
- package/lib/WABinary/decode.js +287 -287
- package/lib/WABinary/encode.d.ts +2 -2
- package/lib/WABinary/encode.js +264 -264
- package/lib/WABinary/generic-utils.d.ts +27 -27
- package/lib/WABinary/generic-utils.js +141 -141
- package/lib/WABinary/index.d.ts +5 -5
- package/lib/WABinary/index.js +24 -24
- package/lib/WABinary/jid-utils.d.ts +58 -53
- package/lib/WABinary/jid-utils.js +103 -91
- package/lib/WABinary/types.d.ts +21 -21
- package/lib/WABinary/types.js +2 -2
- package/lib/WAM/BinaryInfo.d.ts +15 -15
- package/lib/WAM/BinaryInfo.js +16 -16
- package/lib/WAM/constants.d.ts +46 -46
- package/lib/WAM/constants.js +15370 -15370
- package/lib/WAM/encode.d.ts +2 -2
- package/lib/WAM/encode.js +163 -164
- package/lib/WAM/index.d.ts +3 -3
- package/lib/WAM/index.js +22 -22
- package/lib/WAUSync/Protocols/USyncBotProfileProtocol.d.ts +27 -27
- package/lib/WAUSync/Protocols/USyncBotProfileProtocol.js +68 -68
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +3 -3
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +2 -2
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +2 -2
- package/lib/WAUSync/Protocols/USyncLIDProtocol.d.ts +9 -8
- package/lib/WAUSync/Protocols/USyncLIDProtocol.js +37 -29
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +2 -2
- package/lib/WAUSync/Protocols/index.d.ts +6 -6
- package/lib/WAUSync/USyncQuery.d.ts +3 -3
- package/lib/WAUSync/index.d.ts +3 -3
- package/lib/index.d.ts +13 -13
- package/lib/index.js +33 -33
- package/package.json +96 -94
- package/lib/Socket/registration.d.ts +0 -266
- package/lib/Socket/registration.js +0 -166
package/WAProto/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package proto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1028457684
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -48,161 +48,179 @@ message AIQueryFanout {
|
|
|
48
48
|
optional int64 timestamp = 3;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
message
|
|
52
|
-
optional
|
|
53
|
-
repeated
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
optional string codeLanguage = 1;
|
|
58
|
-
repeated AIRichResponseCodeBlock codeBlocks = 2;
|
|
59
|
-
message AIRichResponseCodeBlock {
|
|
60
|
-
optional AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType highlightType = 1;
|
|
61
|
-
optional string codeContent = 2;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
enum AIRichResponseCodeHighlightType {
|
|
65
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
|
|
66
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
|
|
67
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2;
|
|
68
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3;
|
|
69
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4;
|
|
70
|
-
AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5;
|
|
71
|
-
}
|
|
51
|
+
message AIRichResponseCodeMetadata {
|
|
52
|
+
optional string codeLanguage = 1;
|
|
53
|
+
repeated AIRichResponseCodeBlock codeBlocks = 2;
|
|
54
|
+
message AIRichResponseCodeBlock {
|
|
55
|
+
optional AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType highlightType = 1;
|
|
56
|
+
optional string codeContent = 2;
|
|
72
57
|
}
|
|
73
58
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
message AIRichResponseReelItem {
|
|
84
|
-
optional string title = 1;
|
|
85
|
-
optional string profileIconUrl = 2;
|
|
86
|
-
optional string thumbnailUrl = 3;
|
|
87
|
-
optional string videoUrl = 4;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
enum ContentType {
|
|
91
|
-
DEFAULT = 0;
|
|
92
|
-
CAROUSEL = 1;
|
|
93
|
-
}
|
|
59
|
+
enum AIRichResponseCodeHighlightType {
|
|
60
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
|
|
61
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
|
|
62
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2;
|
|
63
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3;
|
|
64
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4;
|
|
65
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5;
|
|
94
66
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1;
|
|
104
|
-
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
message AIRichResponseContentItemsMetadata {
|
|
70
|
+
repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
|
|
71
|
+
optional ContentType contentType = 2;
|
|
72
|
+
message AIRichResponseContentItemMetadata {
|
|
73
|
+
oneof aIRichResponseContentItem {
|
|
74
|
+
AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
|
|
105
75
|
}
|
|
106
76
|
}
|
|
107
77
|
|
|
108
|
-
message
|
|
109
|
-
optional
|
|
110
|
-
|
|
78
|
+
message AIRichResponseReelItem {
|
|
79
|
+
optional string title = 1;
|
|
80
|
+
optional string profileIconUrl = 2;
|
|
81
|
+
optional string thumbnailUrl = 3;
|
|
82
|
+
optional string videoUrl = 4;
|
|
111
83
|
}
|
|
112
84
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
optional string sourceUrl = 3;
|
|
85
|
+
enum ContentType {
|
|
86
|
+
DEFAULT = 0;
|
|
87
|
+
CAROUSEL = 1;
|
|
117
88
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
message AIRichResponseDynamicMetadata {
|
|
92
|
+
optional AIRichResponseDynamicMetadataType type = 1;
|
|
93
|
+
optional uint64 version = 2;
|
|
94
|
+
optional string url = 3;
|
|
95
|
+
optional uint32 loopCount = 4;
|
|
96
|
+
enum AIRichResponseDynamicMetadataType {
|
|
97
|
+
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0;
|
|
98
|
+
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1;
|
|
99
|
+
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2;
|
|
129
100
|
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
message AIRichResponseGridImageMetadata {
|
|
104
|
+
optional AIRichResponseImageURL gridImageUrl = 1;
|
|
105
|
+
repeated AIRichResponseImageURL imageUrls = 2;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
message AIRichResponseImageURL {
|
|
109
|
+
optional string imagePreviewUrl = 1;
|
|
110
|
+
optional string imageHighResUrl = 2;
|
|
111
|
+
optional string sourceUrl = 3;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
message AIRichResponseInlineImageMetadata {
|
|
115
|
+
optional AIRichResponseImageURL imageUrl = 1;
|
|
116
|
+
optional string imageText = 2;
|
|
117
|
+
optional AIRichResponseImageAlignment alignment = 3;
|
|
118
|
+
optional string tapLinkUrl = 4;
|
|
119
|
+
enum AIRichResponseImageAlignment {
|
|
120
|
+
AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0;
|
|
121
|
+
AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1;
|
|
122
|
+
AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
message AIRichResponseLatexMetadata {
|
|
127
|
+
optional string text = 1;
|
|
128
|
+
repeated AIRichResponseLatexExpression expressions = 2;
|
|
129
|
+
message AIRichResponseLatexExpression {
|
|
130
|
+
optional string latexExpression = 1;
|
|
131
|
+
optional string url = 2;
|
|
132
|
+
optional double width = 3;
|
|
133
|
+
optional double height = 4;
|
|
134
|
+
optional double fontHeight = 5;
|
|
135
|
+
optional double imageTopPadding = 6;
|
|
136
|
+
optional double imageLeadingPadding = 7;
|
|
137
|
+
optional double imageBottomPadding = 8;
|
|
138
|
+
optional double imageTrailingPadding = 9;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
message AIRichResponseMapMetadata {
|
|
144
|
+
optional double centerLatitude = 1;
|
|
145
|
+
optional double centerLongitude = 2;
|
|
146
|
+
optional double latitudeDelta = 3;
|
|
147
|
+
optional double longitudeDelta = 4;
|
|
148
|
+
repeated AIRichResponseMapAnnotation annotations = 5;
|
|
149
|
+
optional bool showInfoList = 6;
|
|
150
|
+
message AIRichResponseMapAnnotation {
|
|
151
|
+
optional uint32 annotationNumber = 1;
|
|
152
|
+
optional double latitude = 2;
|
|
153
|
+
optional double longitude = 3;
|
|
154
|
+
optional string title = 4;
|
|
155
|
+
optional string body = 5;
|
|
146
156
|
}
|
|
147
157
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
message AIRichResponseMessage {
|
|
161
|
+
optional AIRichResponseMessageType messageType = 1;
|
|
162
|
+
repeated AIRichResponseSubMessage submessages = 2;
|
|
163
|
+
optional AIRichResponseUnifiedResponse unifiedResponse = 3;
|
|
164
|
+
optional ContextInfo contextInfo = 4;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
enum AIRichResponseMessageType {
|
|
168
|
+
AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
|
|
169
|
+
AI_RICH_RESPONSE_TYPE_STANDARD = 1;
|
|
170
|
+
}
|
|
171
|
+
message AIRichResponseSubMessage {
|
|
172
|
+
optional AIRichResponseSubMessageType messageType = 1;
|
|
173
|
+
optional AIRichResponseGridImageMetadata gridImageMetadata = 2;
|
|
174
|
+
optional string messageText = 3;
|
|
175
|
+
optional AIRichResponseInlineImageMetadata imageMetadata = 4;
|
|
176
|
+
optional AIRichResponseCodeMetadata codeMetadata = 5;
|
|
177
|
+
optional AIRichResponseTableMetadata tableMetadata = 6;
|
|
178
|
+
optional AIRichResponseDynamicMetadata dynamicMetadata = 7;
|
|
179
|
+
optional AIRichResponseLatexMetadata latexMetadata = 8;
|
|
180
|
+
optional AIRichResponseMapMetadata mapMetadata = 9;
|
|
181
|
+
optional AIRichResponseContentItemsMetadata contentItemsMetadata = 10;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
enum AIRichResponseSubMessageType {
|
|
185
|
+
AI_RICH_RESPONSE_UNKNOWN = 0;
|
|
186
|
+
AI_RICH_RESPONSE_GRID_IMAGE = 1;
|
|
187
|
+
AI_RICH_RESPONSE_TEXT = 2;
|
|
188
|
+
AI_RICH_RESPONSE_INLINE_IMAGE = 3;
|
|
189
|
+
AI_RICH_RESPONSE_TABLE = 4;
|
|
190
|
+
AI_RICH_RESPONSE_CODE = 5;
|
|
191
|
+
AI_RICH_RESPONSE_DYNAMIC = 6;
|
|
192
|
+
AI_RICH_RESPONSE_MAP = 7;
|
|
193
|
+
AI_RICH_RESPONSE_LATEX = 8;
|
|
194
|
+
AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
|
|
195
|
+
}
|
|
196
|
+
message AIRichResponseTableMetadata {
|
|
197
|
+
repeated AIRichResponseTableRow rows = 1;
|
|
198
|
+
optional string title = 2;
|
|
199
|
+
message AIRichResponseTableRow {
|
|
200
|
+
repeated string items = 1;
|
|
201
|
+
optional bool isHeading = 2;
|
|
163
202
|
}
|
|
164
203
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
optional
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
enum AIRichResponseSubMessageType {
|
|
183
|
-
AI_RICH_RESPONSE_UNKNOWN = 0;
|
|
184
|
-
AI_RICH_RESPONSE_GRID_IMAGE = 1;
|
|
185
|
-
AI_RICH_RESPONSE_TEXT = 2;
|
|
186
|
-
AI_RICH_RESPONSE_INLINE_IMAGE = 3;
|
|
187
|
-
AI_RICH_RESPONSE_TABLE = 4;
|
|
188
|
-
AI_RICH_RESPONSE_CODE = 5;
|
|
189
|
-
AI_RICH_RESPONSE_DYNAMIC = 6;
|
|
190
|
-
AI_RICH_RESPONSE_MAP = 7;
|
|
191
|
-
AI_RICH_RESPONSE_LATEX = 8;
|
|
192
|
-
AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
|
|
193
|
-
}
|
|
194
|
-
message AIRichResponseTableMetadata {
|
|
195
|
-
repeated AIRichResponseTableRow rows = 1;
|
|
196
|
-
optional string title = 2;
|
|
197
|
-
message AIRichResponseTableRow {
|
|
198
|
-
repeated string items = 1;
|
|
199
|
-
optional bool isHeading = 2;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
message AIRichResponseUnifiedResponse {
|
|
207
|
+
optional bytes data = 1;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
message AIThreadInfo {
|
|
211
|
+
optional AIThreadServerInfo serverInfo = 1;
|
|
212
|
+
optional AIThreadClientInfo clientInfo = 2;
|
|
213
|
+
message AIThreadClientInfo {
|
|
214
|
+
optional AIThreadType type = 1;
|
|
215
|
+
enum AIThreadType {
|
|
216
|
+
UNKNOWN = 0;
|
|
217
|
+
DEFAULT = 1;
|
|
218
|
+
INCOGNITO = 2;
|
|
200
219
|
}
|
|
201
|
-
|
|
202
220
|
}
|
|
203
221
|
|
|
204
|
-
message
|
|
205
|
-
optional
|
|
222
|
+
message AIThreadServerInfo {
|
|
223
|
+
optional string title = 1;
|
|
206
224
|
}
|
|
207
225
|
|
|
208
226
|
}
|
|
@@ -278,6 +296,11 @@ message BizIdentityInfo {
|
|
|
278
296
|
message BotAgeCollectionMetadata {
|
|
279
297
|
optional bool ageCollectionEligible = 1;
|
|
280
298
|
optional bool shouldTriggerAgeCollectionOnClient = 2;
|
|
299
|
+
optional AgeCollectionType ageCollectionType = 3;
|
|
300
|
+
enum AgeCollectionType {
|
|
301
|
+
O18_BINARY = 0;
|
|
302
|
+
WAFFLE = 1;
|
|
303
|
+
}
|
|
281
304
|
}
|
|
282
305
|
|
|
283
306
|
message BotAvatarMetadata {
|
|
@@ -331,9 +354,111 @@ message BotCapabilityMetadata {
|
|
|
331
354
|
RICH_RESPONSE_SOURCES_IN_MESSAGE = 37;
|
|
332
355
|
RICH_RESPONSE_SIDE_BY_SIDE_SURVEY = 38;
|
|
333
356
|
RICH_RESPONSE_UNIFIED_TEXT_COMPONENT = 39;
|
|
357
|
+
AI_SHARED_MEMORY = 40;
|
|
358
|
+
RICH_RESPONSE_UNIFIED_SOURCES = 41;
|
|
359
|
+
RICH_RESPONSE_UNIFIED_DOMAIN_CITATIONS = 42;
|
|
360
|
+
RICH_RESPONSE_UR_INLINE_REELS_ENABLED = 43;
|
|
361
|
+
RICH_RESPONSE_UR_MEDIA_GRID_ENABLED = 44;
|
|
362
|
+
RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45;
|
|
363
|
+
RICH_RESPONSE_IN_APP_SURVEY = 46;
|
|
364
|
+
AI_RESPONSE_MODEL_BRANDING = 47;
|
|
334
365
|
}
|
|
335
366
|
}
|
|
336
367
|
|
|
368
|
+
message BotFeedbackMessage {
|
|
369
|
+
optional MessageKey messageKey = 1;
|
|
370
|
+
optional BotFeedbackKind kind = 2;
|
|
371
|
+
optional string text = 3;
|
|
372
|
+
optional uint64 kindNegative = 4;
|
|
373
|
+
optional uint64 kindPositive = 5;
|
|
374
|
+
optional ReportKind kindReport = 6;
|
|
375
|
+
optional SideBySideSurveyMetadata sideBySideSurveyMetadata = 7;
|
|
376
|
+
enum BotFeedbackKind {
|
|
377
|
+
BOT_FEEDBACK_POSITIVE = 0;
|
|
378
|
+
BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
|
|
379
|
+
BOT_FEEDBACK_NEGATIVE_HELPFUL = 2;
|
|
380
|
+
BOT_FEEDBACK_NEGATIVE_INTERESTING = 3;
|
|
381
|
+
BOT_FEEDBACK_NEGATIVE_ACCURATE = 4;
|
|
382
|
+
BOT_FEEDBACK_NEGATIVE_SAFE = 5;
|
|
383
|
+
BOT_FEEDBACK_NEGATIVE_OTHER = 6;
|
|
384
|
+
BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
|
|
385
|
+
BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
|
|
386
|
+
BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
|
|
387
|
+
BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10;
|
|
388
|
+
BOT_FEEDBACK_NEGATIVE_CLARITY = 11;
|
|
389
|
+
BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12;
|
|
390
|
+
BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY = 13;
|
|
391
|
+
BOT_FEEDBACK_NEGATIVE = 14;
|
|
392
|
+
}
|
|
393
|
+
enum BotFeedbackKindMultipleNegative {
|
|
394
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
|
|
395
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2;
|
|
396
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4;
|
|
397
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8;
|
|
398
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16;
|
|
399
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32;
|
|
400
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64;
|
|
401
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128;
|
|
402
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256;
|
|
403
|
+
}
|
|
404
|
+
enum BotFeedbackKindMultiplePositive {
|
|
405
|
+
BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
|
|
406
|
+
}
|
|
407
|
+
enum ReportKind {
|
|
408
|
+
NONE = 0;
|
|
409
|
+
GENERIC = 1;
|
|
410
|
+
}
|
|
411
|
+
message SideBySideSurveyMetadata {
|
|
412
|
+
optional string selectedRequestId = 1;
|
|
413
|
+
optional uint32 surveyId = 2;
|
|
414
|
+
optional string simonSessionFbid = 3;
|
|
415
|
+
optional string responseOtid = 4;
|
|
416
|
+
optional string responseTimestampMsString = 5;
|
|
417
|
+
optional bool isSelectedResponsePrimary = 6;
|
|
418
|
+
optional string messageIdToEdit = 7;
|
|
419
|
+
optional SideBySideSurveyAnalyticsData analyticsData = 8;
|
|
420
|
+
optional SidebySideSurveyMetaAiAnalyticsData metaAiAnalyticsData = 9;
|
|
421
|
+
message SideBySideSurveyAnalyticsData {
|
|
422
|
+
optional string tessaEvent = 1;
|
|
423
|
+
optional string tessaSessionFbid = 2;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
message SidebySideSurveyMetaAiAnalyticsData {
|
|
427
|
+
optional uint32 surveyId = 1;
|
|
428
|
+
optional string primaryResponseId = 2;
|
|
429
|
+
optional string testArmName = 3;
|
|
430
|
+
optional string timestampMsString = 4;
|
|
431
|
+
optional SideBySideSurveyCTAImpressionEventData ctaImpressionEvent = 5;
|
|
432
|
+
optional SideBySideSurveyCTAClickEventData ctaClickEvent = 6;
|
|
433
|
+
optional SideBySideSurveyCardImpressionEventData cardImpressionEvent = 7;
|
|
434
|
+
optional SideBySideSurveyResponseEventData responseEvent = 8;
|
|
435
|
+
optional SideBySideSurveyAbandonEventData abandonEvent = 9;
|
|
436
|
+
message SideBySideSurveyAbandonEventData {
|
|
437
|
+
optional string abandonDwellTimeMsString = 1;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
message SideBySideSurveyCTAClickEventData {
|
|
441
|
+
optional bool isSurveyExpired = 1;
|
|
442
|
+
optional string clickDwellTimeMsString = 2;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
message SideBySideSurveyCTAImpressionEventData {
|
|
446
|
+
optional bool isSurveyExpired = 1;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
message SideBySideSurveyCardImpressionEventData {
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
message SideBySideSurveyResponseEventData {
|
|
453
|
+
optional string responseDwellTimeMsString = 1;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
}
|
|
461
|
+
|
|
337
462
|
message BotImagineMetadata {
|
|
338
463
|
optional ImagineType imagineType = 1;
|
|
339
464
|
enum ImagineType {
|
|
@@ -399,6 +524,11 @@ message BotMessageOriginMetadata {
|
|
|
399
524
|
repeated BotMessageOrigin origins = 1;
|
|
400
525
|
}
|
|
401
526
|
|
|
527
|
+
message BotMessageSharingInfo {
|
|
528
|
+
optional BotMetricsEntryPoint botEntryPointOrigin = 1;
|
|
529
|
+
optional uint32 forwardScore = 2;
|
|
530
|
+
}
|
|
531
|
+
|
|
402
532
|
message BotMetadata {
|
|
403
533
|
optional BotAvatarMetadata avatarMetadata = 1;
|
|
404
534
|
optional string personaId = 2;
|
|
@@ -430,9 +560,12 @@ message BotMetadata {
|
|
|
430
560
|
optional BotUnifiedResponseMutation unifiedResponseMutation = 28;
|
|
431
561
|
optional BotMessageOriginMetadata botMessageOriginMetadata = 29;
|
|
432
562
|
optional InThreadSurveyMetadata inThreadSurveyMetadata = 30;
|
|
563
|
+
optional AIThreadInfo botThreadInfo = 31;
|
|
564
|
+
optional bytes internalMetadata = 999;
|
|
433
565
|
}
|
|
434
566
|
|
|
435
567
|
enum BotMetricsEntryPoint {
|
|
568
|
+
UNDEFINED_ENTRY_POINT = 0;
|
|
436
569
|
FAVICON = 1;
|
|
437
570
|
CHATLIST = 2;
|
|
438
571
|
AISEARCH_NULL_STATE_PAPER_PLANE = 3;
|
|
@@ -464,6 +597,11 @@ enum BotMetricsEntryPoint {
|
|
|
464
597
|
INVOKE_META_AI_1ON1 = 29;
|
|
465
598
|
INVOKE_META_AI_GROUP = 30;
|
|
466
599
|
META_AI_FORWARD = 31;
|
|
600
|
+
NEW_CHAT_AI_CONTACT = 32;
|
|
601
|
+
MESSAGE_QUICK_ACTION_1_ON_1_CHAT = 33;
|
|
602
|
+
MESSAGE_QUICK_ACTION_GROUP_CHAT = 34;
|
|
603
|
+
ATTACHMENT_TRAY_1_ON_1_CHAT = 35;
|
|
604
|
+
ATTACHMENT_TRAY_GROUP_CHAT = 36;
|
|
467
605
|
}
|
|
468
606
|
message BotMetricsMetadata {
|
|
469
607
|
optional string destinationId = 1;
|
|
@@ -489,6 +627,7 @@ message BotModeSelectionMetadata {
|
|
|
489
627
|
message BotModelMetadata {
|
|
490
628
|
optional ModelType modelType = 1;
|
|
491
629
|
optional PremiumModelStatus premiumModelStatus = 2;
|
|
630
|
+
optional string modelNameOverride = 3;
|
|
492
631
|
enum ModelType {
|
|
493
632
|
UNKNOWN_TYPE = 0;
|
|
494
633
|
LLAMA_PROD = 1;
|
|
@@ -664,9 +803,10 @@ message BotSignatureVerificationUseCaseProof {
|
|
|
664
803
|
optional int32 version = 1;
|
|
665
804
|
optional BotSignatureUseCase useCase = 2;
|
|
666
805
|
optional bytes signature = 3;
|
|
667
|
-
|
|
806
|
+
repeated bytes certificateChain = 4;
|
|
668
807
|
enum BotSignatureUseCase {
|
|
669
|
-
|
|
808
|
+
UNSPECIFIED = 0;
|
|
809
|
+
WA_BOT_MSG = 1;
|
|
670
810
|
}
|
|
671
811
|
}
|
|
672
812
|
|
|
@@ -700,6 +840,13 @@ message BotSuggestedPromptMetadata {
|
|
|
700
840
|
|
|
701
841
|
message BotUnifiedResponseMutation {
|
|
702
842
|
optional SideBySideMetadata sbsMetadata = 1;
|
|
843
|
+
repeated MediaDetailsMetadata mediaDetailsMetadataList = 2;
|
|
844
|
+
message MediaDetailsMetadata {
|
|
845
|
+
optional string id = 1;
|
|
846
|
+
optional BotMediaMetadata highResMedia = 2;
|
|
847
|
+
optional BotMediaMetadata previewMedia = 3;
|
|
848
|
+
}
|
|
849
|
+
|
|
703
850
|
message SideBySideMetadata {
|
|
704
851
|
optional string primaryResponseId = 1;
|
|
705
852
|
}
|
|
@@ -860,6 +1007,9 @@ message ClientPayload {
|
|
|
860
1007
|
optional bool lidDbMigrated = 41;
|
|
861
1008
|
optional AccountType accountType = 42;
|
|
862
1009
|
optional sfixed32 connectionSequenceInfo = 43;
|
|
1010
|
+
optional bool paaLink = 44;
|
|
1011
|
+
optional int32 preacksCount = 45;
|
|
1012
|
+
optional int32 processingQueueSize = 46;
|
|
863
1013
|
enum AccountType {
|
|
864
1014
|
DEFAULT = 0;
|
|
865
1015
|
GUEST = 1;
|
|
@@ -1119,6 +1269,9 @@ message ContextInfo {
|
|
|
1119
1269
|
optional ForwardOrigin forwardOrigin = 67;
|
|
1120
1270
|
optional QuestionReplyQuotedMessage questionReplyQuotedMessage = 68;
|
|
1121
1271
|
optional StatusAudienceMetadata statusAudienceMetadata = 69;
|
|
1272
|
+
optional uint32 nonJidMentions = 70;
|
|
1273
|
+
optional QuotedType quotedType = 71;
|
|
1274
|
+
optional BotMessageSharingInfo botMessageSharingInfo = 72;
|
|
1122
1275
|
message AdReplyInfo {
|
|
1123
1276
|
optional string advertiserName = 1;
|
|
1124
1277
|
optional MediaType mediaType = 2;
|
|
@@ -1198,6 +1351,7 @@ message ContextInfo {
|
|
|
1198
1351
|
optional bool cannotBeRanked = 2;
|
|
1199
1352
|
optional bool canRequestFeedback = 3;
|
|
1200
1353
|
optional bool canBeReshared = 4;
|
|
1354
|
+
optional bool canReceiveMultiReact = 5;
|
|
1201
1355
|
}
|
|
1202
1356
|
|
|
1203
1357
|
enum ForwardOrigin {
|
|
@@ -1206,13 +1360,8 @@ message ContextInfo {
|
|
|
1206
1360
|
STATUS = 2;
|
|
1207
1361
|
CHANNELS = 3;
|
|
1208
1362
|
META_AI = 4;
|
|
1363
|
+
UGC = 5;
|
|
1209
1364
|
}
|
|
1210
|
-
message ForwardedAIBotMessageInfo {
|
|
1211
|
-
optional string botName = 1;
|
|
1212
|
-
optional string botJid = 2;
|
|
1213
|
-
optional string creatorName = 3;
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
1365
|
message ForwardedNewsletterMessageInfo {
|
|
1217
1366
|
optional string newsletterJid = 1;
|
|
1218
1367
|
optional int32 serverMessageId = 2;
|
|
@@ -1234,6 +1383,8 @@ message ContextInfo {
|
|
|
1234
1383
|
HD_IMAGE_CHILD = 4;
|
|
1235
1384
|
MOTION_PHOTO_PARENT = 5;
|
|
1236
1385
|
MOTION_PHOTO_CHILD = 6;
|
|
1386
|
+
HEVC_VIDEO_PARENT = 7;
|
|
1387
|
+
HEVC_VIDEO_CHILD = 8;
|
|
1237
1388
|
}
|
|
1238
1389
|
message QuestionReplyQuotedMessage {
|
|
1239
1390
|
optional int32 serverQuestionId = 1;
|
|
@@ -1241,6 +1392,10 @@ message ContextInfo {
|
|
|
1241
1392
|
optional Message quotedResponse = 3;
|
|
1242
1393
|
}
|
|
1243
1394
|
|
|
1395
|
+
enum QuotedType {
|
|
1396
|
+
EXPLICIT = 0;
|
|
1397
|
+
AUTO = 1;
|
|
1398
|
+
}
|
|
1244
1399
|
enum StatusAttributionType {
|
|
1245
1400
|
NONE = 0;
|
|
1246
1401
|
RESHARED_FROM_MENTION = 1;
|
|
@@ -1325,6 +1480,7 @@ message Conversation {
|
|
|
1325
1480
|
optional int64 limitSharingSettingTimestamp = 51;
|
|
1326
1481
|
optional LimitSharing.TriggerType limitSharingTrigger = 52;
|
|
1327
1482
|
optional bool limitSharingInitiatedByMe = 53;
|
|
1483
|
+
optional bool maibaAiThreadEnabled = 54;
|
|
1328
1484
|
enum EndOfHistoryTransferType {
|
|
1329
1485
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
1330
1486
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
@@ -1335,6 +1491,12 @@ message Conversation {
|
|
|
1335
1491
|
message DeviceCapabilities {
|
|
1336
1492
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
1337
1493
|
optional LIDMigration lidMigration = 2;
|
|
1494
|
+
optional BusinessBroadcast businessBroadcast = 3;
|
|
1495
|
+
optional UserHasAvatar userHasAvatar = 4;
|
|
1496
|
+
message BusinessBroadcast {
|
|
1497
|
+
optional bool importListEnabled = 1;
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1338
1500
|
enum ChatLockSupportLevel {
|
|
1339
1501
|
NONE = 0;
|
|
1340
1502
|
MINIMAL = 1;
|
|
@@ -1344,6 +1506,10 @@ message DeviceCapabilities {
|
|
|
1344
1506
|
optional uint64 chatDbMigrationTimestamp = 1;
|
|
1345
1507
|
}
|
|
1346
1508
|
|
|
1509
|
+
message UserHasAvatar {
|
|
1510
|
+
optional bool userHasAvatar = 1;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1347
1513
|
}
|
|
1348
1514
|
|
|
1349
1515
|
message DeviceConsistencyCodeMessage {
|
|
@@ -1466,10 +1632,13 @@ message EmbeddedMusic {
|
|
|
1466
1632
|
optional string artworkDirectPath = 5;
|
|
1467
1633
|
optional bytes artworkSha256 = 6;
|
|
1468
1634
|
optional bytes artworkEncSha256 = 7;
|
|
1469
|
-
optional bytes artworkMediaKey = 11;
|
|
1470
1635
|
optional string artistAttribution = 8;
|
|
1471
1636
|
optional bytes countryBlocklist = 9;
|
|
1472
1637
|
optional bool isExplicit = 10;
|
|
1638
|
+
optional bytes artworkMediaKey = 11;
|
|
1639
|
+
optional int64 musicSongStartTimeInMs = 12;
|
|
1640
|
+
optional int64 derivedContentStartTimeInMs = 13;
|
|
1641
|
+
optional int64 overlapDurationInMs = 14;
|
|
1473
1642
|
}
|
|
1474
1643
|
|
|
1475
1644
|
message EncryptedPairingRequest {
|
|
@@ -1515,6 +1684,12 @@ message Field {
|
|
|
1515
1684
|
map<uint32, Field> subfield = 5;
|
|
1516
1685
|
}
|
|
1517
1686
|
|
|
1687
|
+
message ForwardedAIBotMessageInfo {
|
|
1688
|
+
optional string botName = 1;
|
|
1689
|
+
optional string botJid = 2;
|
|
1690
|
+
optional string creatorName = 3;
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1518
1693
|
message GlobalSettings {
|
|
1519
1694
|
optional WallpaperSettings lightThemeWallpaper = 1;
|
|
1520
1695
|
optional MediaVisibility mediaVisibility = 2;
|
|
@@ -1538,6 +1713,22 @@ message GlobalSettings {
|
|
|
1538
1713
|
optional int64 chatDbLidMigrationTimestamp = 20;
|
|
1539
1714
|
}
|
|
1540
1715
|
|
|
1716
|
+
message GroupHistoryBundleInfo {
|
|
1717
|
+
optional Message.MessageHistoryBundle deprecatedMessageHistoryBundle = 1;
|
|
1718
|
+
optional ProcessState processState = 2;
|
|
1719
|
+
enum ProcessState {
|
|
1720
|
+
NOT_INJECTED = 0;
|
|
1721
|
+
INJECTED = 1;
|
|
1722
|
+
INJECTED_PARTIAL = 2;
|
|
1723
|
+
INJECTION_FAILED = 3;
|
|
1724
|
+
}
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
message GroupHistoryIndividualMessageInfo {
|
|
1728
|
+
optional MessageKey bundleMessageKey = 1;
|
|
1729
|
+
optional bool editedAfterReceivedAsHistory = 2;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1541
1732
|
message GroupMention {
|
|
1542
1733
|
optional string groupJid = 1;
|
|
1543
1734
|
optional string groupSubject = 2;
|
|
@@ -1561,18 +1752,22 @@ message HandshakeMessage {
|
|
|
1561
1752
|
message ClientFinish {
|
|
1562
1753
|
optional bytes static = 1;
|
|
1563
1754
|
optional bytes payload = 2;
|
|
1755
|
+
optional bytes extendedCiphertext = 3;
|
|
1564
1756
|
}
|
|
1565
1757
|
|
|
1566
1758
|
message ClientHello {
|
|
1567
1759
|
optional bytes ephemeral = 1;
|
|
1568
1760
|
optional bytes static = 2;
|
|
1569
1761
|
optional bytes payload = 3;
|
|
1762
|
+
optional bool useExtended = 4;
|
|
1763
|
+
optional bytes extendedCiphertext = 5;
|
|
1570
1764
|
}
|
|
1571
1765
|
|
|
1572
1766
|
message ServerHello {
|
|
1573
1767
|
optional bytes ephemeral = 1;
|
|
1574
1768
|
optional bytes static = 2;
|
|
1575
1769
|
optional bytes payload = 3;
|
|
1770
|
+
optional bytes extendedStatic = 4;
|
|
1576
1771
|
}
|
|
1577
1772
|
|
|
1578
1773
|
}
|
|
@@ -1706,6 +1901,10 @@ message InteractiveAnnotation {
|
|
|
1706
1901
|
}
|
|
1707
1902
|
}
|
|
1708
1903
|
|
|
1904
|
+
message InteractiveMessageAdditionalMetadata {
|
|
1905
|
+
optional bool isGalaxyFlowCompleted = 1;
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1709
1908
|
message KeepInChat {
|
|
1710
1909
|
optional KeepType keepType = 1;
|
|
1711
1910
|
optional int64 serverTimestamp = 2;
|
|
@@ -1888,7 +2087,6 @@ message Message {
|
|
|
1888
2087
|
optional FutureProofMessage associatedChildMessage = 91;
|
|
1889
2088
|
optional FutureProofMessage groupStatusMentionMessage = 92;
|
|
1890
2089
|
optional FutureProofMessage pollCreationMessageV4 = 93;
|
|
1891
|
-
optional FutureProofMessage pollCreationMessageV5 = 94;
|
|
1892
2090
|
optional FutureProofMessage statusAddYours = 95;
|
|
1893
2091
|
optional FutureProofMessage groupStatusMessage = 96;
|
|
1894
2092
|
optional AIRichResponseMessage richResponseMessage = 97;
|
|
@@ -1902,6 +2100,12 @@ message Message {
|
|
|
1902
2100
|
optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
|
|
1903
2101
|
optional FutureProofMessage questionReplyMessage = 106;
|
|
1904
2102
|
optional QuestionResponseMessage questionResponseMessage = 107;
|
|
2103
|
+
optional StatusQuotedMessage statusQuotedMessage = 109;
|
|
2104
|
+
optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
|
|
2105
|
+
optional PollCreationMessage pollCreationMessageV5 = 111;
|
|
2106
|
+
optional PollResultSnapshotMessage pollResultSnapshotMessageV2 = 112;
|
|
2107
|
+
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
|
|
2108
|
+
optional RequestContactInfoMessage requestContactInfoMessage = 114;
|
|
1905
2109
|
message AlbumMessage {
|
|
1906
2110
|
optional uint32 expectedImageCount = 2;
|
|
1907
2111
|
optional uint32 expectedVideoCount = 3;
|
|
@@ -1974,67 +2178,6 @@ message Message {
|
|
|
1974
2178
|
}
|
|
1975
2179
|
}
|
|
1976
2180
|
|
|
1977
|
-
message BotFeedbackMessage {
|
|
1978
|
-
optional MessageKey messageKey = 1;
|
|
1979
|
-
optional BotFeedbackKind kind = 2;
|
|
1980
|
-
optional string text = 3;
|
|
1981
|
-
optional uint64 kindNegative = 4;
|
|
1982
|
-
optional uint64 kindPositive = 5;
|
|
1983
|
-
optional ReportKind kindReport = 6;
|
|
1984
|
-
optional SideBySideSurveyMetadata sideBySideSurveyMetadata = 7;
|
|
1985
|
-
enum BotFeedbackKind {
|
|
1986
|
-
BOT_FEEDBACK_POSITIVE = 0;
|
|
1987
|
-
BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
|
|
1988
|
-
BOT_FEEDBACK_NEGATIVE_HELPFUL = 2;
|
|
1989
|
-
BOT_FEEDBACK_NEGATIVE_INTERESTING = 3;
|
|
1990
|
-
BOT_FEEDBACK_NEGATIVE_ACCURATE = 4;
|
|
1991
|
-
BOT_FEEDBACK_NEGATIVE_SAFE = 5;
|
|
1992
|
-
BOT_FEEDBACK_NEGATIVE_OTHER = 6;
|
|
1993
|
-
BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
|
|
1994
|
-
BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
|
|
1995
|
-
BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
|
|
1996
|
-
BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10;
|
|
1997
|
-
BOT_FEEDBACK_NEGATIVE_CLARITY = 11;
|
|
1998
|
-
BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12;
|
|
1999
|
-
BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY = 13;
|
|
2000
|
-
BOT_FEEDBACK_NEGATIVE = 14;
|
|
2001
|
-
}
|
|
2002
|
-
enum BotFeedbackKindMultipleNegative {
|
|
2003
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
|
|
2004
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2;
|
|
2005
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4;
|
|
2006
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8;
|
|
2007
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16;
|
|
2008
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32;
|
|
2009
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64;
|
|
2010
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128;
|
|
2011
|
-
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256;
|
|
2012
|
-
}
|
|
2013
|
-
enum BotFeedbackKindMultiplePositive {
|
|
2014
|
-
BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
|
|
2015
|
-
}
|
|
2016
|
-
enum ReportKind {
|
|
2017
|
-
NONE = 0;
|
|
2018
|
-
GENERIC = 1;
|
|
2019
|
-
}
|
|
2020
|
-
message SideBySideSurveyMetadata {
|
|
2021
|
-
optional string selectedRequestId = 1;
|
|
2022
|
-
optional uint32 surveyId = 2;
|
|
2023
|
-
optional string simonSessionFbid = 3;
|
|
2024
|
-
optional string responseOtid = 4;
|
|
2025
|
-
optional string responseTimestampMsString = 5;
|
|
2026
|
-
optional bool isSelectedResponsePrimary = 6;
|
|
2027
|
-
optional string messageIdToEdit = 7;
|
|
2028
|
-
optional SideBySideSurveyAnalyticsData analyticsData = 8;
|
|
2029
|
-
message SideBySideSurveyAnalyticsData {
|
|
2030
|
-
optional string tessaEvent = 1;
|
|
2031
|
-
optional string tessaSessionFbid = 2;
|
|
2032
|
-
}
|
|
2033
|
-
|
|
2034
|
-
}
|
|
2035
|
-
|
|
2036
|
-
}
|
|
2037
|
-
|
|
2038
2181
|
message ButtonsMessage {
|
|
2039
2182
|
optional string contentText = 6;
|
|
2040
2183
|
optional string footerText = 7;
|
|
@@ -2286,6 +2429,9 @@ message Message {
|
|
|
2286
2429
|
optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
|
|
2287
2430
|
optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
|
|
2288
2431
|
repeated Message.VideoEndCard endCardTiles = 36;
|
|
2432
|
+
optional string videoContentUrl = 37;
|
|
2433
|
+
optional EmbeddedMusic musicMetadata = 38;
|
|
2434
|
+
optional Message.PaymentExtendedMetadata paymentExtendedMetadata = 39;
|
|
2289
2435
|
enum FontType {
|
|
2290
2436
|
SYSTEM = 0;
|
|
2291
2437
|
SYSTEM_TEXT = 1;
|
|
@@ -2400,7 +2546,7 @@ message Message {
|
|
|
2400
2546
|
optional bytes mediaKey = 3;
|
|
2401
2547
|
optional bytes fileEncSha256 = 4;
|
|
2402
2548
|
optional string directPath = 5;
|
|
2403
|
-
optional HistorySyncType syncType = 6;
|
|
2549
|
+
optional Message.HistorySyncType syncType = 6;
|
|
2404
2550
|
optional uint32 chunkOrder = 7;
|
|
2405
2551
|
optional string originalMessageId = 8;
|
|
2406
2552
|
optional uint32 progress = 9;
|
|
@@ -2409,18 +2555,18 @@ message Message {
|
|
|
2409
2555
|
optional string peerDataRequestSessionId = 12;
|
|
2410
2556
|
optional Message.FullHistorySyncOnDemandRequestMetadata fullHistorySyncOnDemandRequestMetadata = 13;
|
|
2411
2557
|
optional string encHandle = 14;
|
|
2412
|
-
enum HistorySyncType {
|
|
2413
|
-
INITIAL_BOOTSTRAP = 0;
|
|
2414
|
-
INITIAL_STATUS_V3 = 1;
|
|
2415
|
-
FULL = 2;
|
|
2416
|
-
RECENT = 3;
|
|
2417
|
-
PUSH_NAME = 4;
|
|
2418
|
-
NON_BLOCKING_DATA = 5;
|
|
2419
|
-
ON_DEMAND = 6;
|
|
2420
|
-
NO_HISTORY = 7;
|
|
2421
|
-
}
|
|
2422
2558
|
}
|
|
2423
2559
|
|
|
2560
|
+
enum HistorySyncType {
|
|
2561
|
+
INITIAL_BOOTSTRAP = 0;
|
|
2562
|
+
INITIAL_STATUS_V3 = 1;
|
|
2563
|
+
FULL = 2;
|
|
2564
|
+
RECENT = 3;
|
|
2565
|
+
PUSH_NAME = 4;
|
|
2566
|
+
NON_BLOCKING_DATA = 5;
|
|
2567
|
+
ON_DEMAND = 6;
|
|
2568
|
+
NO_HISTORY = 7;
|
|
2569
|
+
}
|
|
2424
2570
|
message ImageMessage {
|
|
2425
2571
|
optional string url = 1;
|
|
2426
2572
|
optional string mimetype = 2;
|
|
@@ -2486,8 +2632,9 @@ message Message {
|
|
|
2486
2632
|
optional int32 messageVersion = 2;
|
|
2487
2633
|
optional CarouselCardType carouselCardType = 3;
|
|
2488
2634
|
enum CarouselCardType {
|
|
2489
|
-
|
|
2490
|
-
|
|
2635
|
+
UNKNOWN = 0;
|
|
2636
|
+
HSCROLL_CARDS = 1;
|
|
2637
|
+
ALBUM_IMAGE = 2;
|
|
2491
2638
|
}
|
|
2492
2639
|
}
|
|
2493
2640
|
|
|
@@ -2499,6 +2646,10 @@ message Message {
|
|
|
2499
2646
|
|
|
2500
2647
|
message Footer {
|
|
2501
2648
|
optional string text = 1;
|
|
2649
|
+
optional bool hasMediaAttachment = 3;
|
|
2650
|
+
oneof media {
|
|
2651
|
+
Message.AudioMessage audioMessage = 2;
|
|
2652
|
+
}
|
|
2502
2653
|
}
|
|
2503
2654
|
|
|
2504
2655
|
message Header {
|
|
@@ -2592,6 +2743,10 @@ message Message {
|
|
|
2592
2743
|
optional uint32 fbExperimentId = 3;
|
|
2593
2744
|
optional uint32 linkMediaDuration = 4;
|
|
2594
2745
|
optional SocialMediaPostType socialMediaPostType = 5;
|
|
2746
|
+
optional bool linkInlineVideoMuted = 6;
|
|
2747
|
+
optional string videoContentUrl = 7;
|
|
2748
|
+
optional EmbeddedMusic musicMetadata = 8;
|
|
2749
|
+
optional string videoContentCaption = 9;
|
|
2595
2750
|
enum SocialMediaPostType {
|
|
2596
2751
|
NONE = 0;
|
|
2597
2752
|
REEL = 1;
|
|
@@ -2742,6 +2897,14 @@ message Message {
|
|
|
2742
2897
|
optional ContextInfo contextInfo = 6;
|
|
2743
2898
|
}
|
|
2744
2899
|
|
|
2900
|
+
message NewsletterFollowerInviteMessage {
|
|
2901
|
+
optional string newsletterJid = 1;
|
|
2902
|
+
optional string newsletterName = 2;
|
|
2903
|
+
optional bytes jpegThumbnail = 3;
|
|
2904
|
+
optional string caption = 4;
|
|
2905
|
+
optional ContextInfo contextInfo = 5;
|
|
2906
|
+
}
|
|
2907
|
+
|
|
2745
2908
|
message OrderMessage {
|
|
2746
2909
|
optional string orderId = 1;
|
|
2747
2910
|
optional bytes thumbnail = 2;
|
|
@@ -2768,6 +2931,12 @@ message Message {
|
|
|
2768
2931
|
}
|
|
2769
2932
|
}
|
|
2770
2933
|
|
|
2934
|
+
message PaymentExtendedMetadata {
|
|
2935
|
+
optional uint32 type = 1;
|
|
2936
|
+
optional string platform = 2;
|
|
2937
|
+
optional string messageParamsJson = 3;
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2771
2940
|
message PaymentInviteMessage {
|
|
2772
2941
|
optional ServiceType serviceType = 1;
|
|
2773
2942
|
optional int64 expiryTimestamp = 2;
|
|
@@ -2809,11 +2978,29 @@ message Message {
|
|
|
2809
2978
|
repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
|
|
2810
2979
|
optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
|
|
2811
2980
|
optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7;
|
|
2981
|
+
optional HistorySyncChunkRetryRequest historySyncChunkRetryRequest = 8;
|
|
2982
|
+
optional GalaxyFlowAction galaxyFlowAction = 9;
|
|
2812
2983
|
message FullHistorySyncOnDemandRequest {
|
|
2813
2984
|
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
|
2814
2985
|
optional DeviceProps.HistorySyncConfig historySyncConfig = 2;
|
|
2815
2986
|
}
|
|
2816
2987
|
|
|
2988
|
+
message GalaxyFlowAction {
|
|
2989
|
+
optional GalaxyFlowActionType type = 1;
|
|
2990
|
+
optional string flowId = 2;
|
|
2991
|
+
optional string stanzaId = 3;
|
|
2992
|
+
enum GalaxyFlowActionType {
|
|
2993
|
+
NOTIFY_LAUNCH = 1;
|
|
2994
|
+
}
|
|
2995
|
+
}
|
|
2996
|
+
|
|
2997
|
+
message HistorySyncChunkRetryRequest {
|
|
2998
|
+
optional Message.HistorySyncType syncType = 1;
|
|
2999
|
+
optional uint32 chunkOrder = 2;
|
|
3000
|
+
optional string chunkNotificationId = 3;
|
|
3001
|
+
optional bool regenerateChunk = 4;
|
|
3002
|
+
}
|
|
3003
|
+
|
|
2817
3004
|
message HistorySyncOnDemandRequest {
|
|
2818
3005
|
optional string chatJid = 1;
|
|
2819
3006
|
optional string oldestMsgId = 2;
|
|
@@ -2857,6 +3044,7 @@ message Message {
|
|
|
2857
3044
|
optional CompanionMetaNonceFetchResponse companionMetaNonceFetchRequestResponse = 7;
|
|
2858
3045
|
optional SyncDSnapshotFatalRecoveryResponse syncdSnapshotFatalRecoveryResponse = 8;
|
|
2859
3046
|
optional CompanionCanonicalUserNonceFetchResponse companionCanonicalUserNonceFetchRequestResponse = 9;
|
|
3047
|
+
optional HistorySyncChunkRetryResponse historySyncChunkRetryResponse = 10;
|
|
2860
3048
|
message CompanionCanonicalUserNonceFetchResponse {
|
|
2861
3049
|
optional string nonce = 1;
|
|
2862
3050
|
optional string waFbid = 2;
|
|
@@ -2881,6 +3069,22 @@ message Message {
|
|
|
2881
3069
|
ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5;
|
|
2882
3070
|
ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6;
|
|
2883
3071
|
}
|
|
3072
|
+
message HistorySyncChunkRetryResponse {
|
|
3073
|
+
optional Message.HistorySyncType syncType = 1;
|
|
3074
|
+
optional uint32 chunkOrder = 2;
|
|
3075
|
+
optional string requestId = 3;
|
|
3076
|
+
optional Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.HistorySyncChunkRetryResponseCode responseCode = 4;
|
|
3077
|
+
optional bool canRecover = 5;
|
|
3078
|
+
}
|
|
3079
|
+
|
|
3080
|
+
enum HistorySyncChunkRetryResponseCode {
|
|
3081
|
+
GENERATION_ERROR = 1;
|
|
3082
|
+
CHUNK_CONSUMED = 2;
|
|
3083
|
+
TIMEOUT = 3;
|
|
3084
|
+
SESSION_EXHAUSTED = 4;
|
|
3085
|
+
CHUNK_EXHAUSTED = 5;
|
|
3086
|
+
DUPLICATED_REQUEST = 6;
|
|
3087
|
+
}
|
|
2884
3088
|
message LinkPreviewResponse {
|
|
2885
3089
|
optional string url = 1;
|
|
2886
3090
|
optional string title = 2;
|
|
@@ -2936,6 +3140,8 @@ message Message {
|
|
|
2936
3140
|
COMPANION_META_NONCE_FETCH = 7;
|
|
2937
3141
|
COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8;
|
|
2938
3142
|
COMPANION_CANONICAL_USER_NONCE_FETCH = 9;
|
|
3143
|
+
HISTORY_SYNC_CHUNK_RETRY = 10;
|
|
3144
|
+
GALAXY_FLOW_ACTION = 11;
|
|
2939
3145
|
}
|
|
2940
3146
|
message PinInChatMessage {
|
|
2941
3147
|
optional MessageKey key = 1;
|
|
@@ -2967,17 +3173,13 @@ message Message {
|
|
|
2967
3173
|
optional uint32 selectableOptionsCount = 4;
|
|
2968
3174
|
optional ContextInfo contextInfo = 5;
|
|
2969
3175
|
optional Message.PollContentType pollContentType = 6;
|
|
2970
|
-
optional PollType pollType = 7;
|
|
3176
|
+
optional Message.PollType pollType = 7;
|
|
2971
3177
|
optional Option correctAnswer = 8;
|
|
2972
3178
|
message Option {
|
|
2973
3179
|
optional string optionName = 1;
|
|
2974
3180
|
optional string optionHash = 2;
|
|
2975
3181
|
}
|
|
2976
3182
|
|
|
2977
|
-
enum PollType {
|
|
2978
|
-
POLL = 0;
|
|
2979
|
-
QUIZ = 1;
|
|
2980
|
-
}
|
|
2981
3183
|
}
|
|
2982
3184
|
|
|
2983
3185
|
message PollEncValue {
|
|
@@ -2989,6 +3191,7 @@ message Message {
|
|
|
2989
3191
|
optional string name = 1;
|
|
2990
3192
|
repeated PollVote pollVotes = 2;
|
|
2991
3193
|
optional ContextInfo contextInfo = 3;
|
|
3194
|
+
optional Message.PollType pollType = 4;
|
|
2992
3195
|
message PollVote {
|
|
2993
3196
|
optional string optionName = 1;
|
|
2994
3197
|
optional int64 optionVoteCount = 2;
|
|
@@ -2996,6 +3199,10 @@ message Message {
|
|
|
2996
3199
|
|
|
2997
3200
|
}
|
|
2998
3201
|
|
|
3202
|
+
enum PollType {
|
|
3203
|
+
POLL = 0;
|
|
3204
|
+
QUIZ = 1;
|
|
3205
|
+
}
|
|
2999
3206
|
message PollUpdateMessage {
|
|
3000
3207
|
optional MessageKey pollCreationMessageKey = 1;
|
|
3001
3208
|
optional Message.PollEncValue vote = 2;
|
|
@@ -3055,7 +3262,7 @@ message Message {
|
|
|
3055
3262
|
optional int64 timestampMs = 15;
|
|
3056
3263
|
optional Message.PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16;
|
|
3057
3264
|
optional Message.PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17;
|
|
3058
|
-
optional
|
|
3265
|
+
optional BotFeedbackMessage botFeedbackMessage = 18;
|
|
3059
3266
|
optional string invokerJid = 19;
|
|
3060
3267
|
optional Message.RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20;
|
|
3061
3268
|
optional MediaNotifyMessage mediaNotifyMessage = 21;
|
|
@@ -3107,6 +3314,12 @@ message Message {
|
|
|
3107
3314
|
optional int64 senderTimestampMs = 4;
|
|
3108
3315
|
}
|
|
3109
3316
|
|
|
3317
|
+
message RequestContactInfoMessage {
|
|
3318
|
+
optional string text = 1;
|
|
3319
|
+
optional string ctaButtonText = 2;
|
|
3320
|
+
optional ContextInfo contextInfo = 3;
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3110
3323
|
message RequestPaymentMessage {
|
|
3111
3324
|
optional Message noteMessage = 4;
|
|
3112
3325
|
optional string currencyCodeIso4217 = 1;
|
|
@@ -3190,6 +3403,26 @@ message Message {
|
|
|
3190
3403
|
optional string text = 2;
|
|
3191
3404
|
}
|
|
3192
3405
|
|
|
3406
|
+
message StatusQuotedMessage {
|
|
3407
|
+
optional StatusQuotedMessageType type = 1;
|
|
3408
|
+
optional string text = 2;
|
|
3409
|
+
optional bytes thumbnail = 3;
|
|
3410
|
+
optional MessageKey originalStatusId = 4;
|
|
3411
|
+
enum StatusQuotedMessageType {
|
|
3412
|
+
QUESTION_ANSWER = 1;
|
|
3413
|
+
}
|
|
3414
|
+
}
|
|
3415
|
+
|
|
3416
|
+
message StatusStickerInteractionMessage {
|
|
3417
|
+
optional MessageKey key = 1;
|
|
3418
|
+
optional string stickerKey = 2;
|
|
3419
|
+
optional StatusStickerType type = 3;
|
|
3420
|
+
enum StatusStickerType {
|
|
3421
|
+
UNKNOWN = 0;
|
|
3422
|
+
REACTION = 1;
|
|
3423
|
+
}
|
|
3424
|
+
}
|
|
3425
|
+
|
|
3193
3426
|
message StickerMessage {
|
|
3194
3427
|
optional string url = 1;
|
|
3195
3428
|
optional bytes fileSha256 = 2;
|
|
@@ -3408,6 +3641,9 @@ message MessageAssociation {
|
|
|
3408
3641
|
VIEW_ALL_REPLIES = 14;
|
|
3409
3642
|
STATUS_ADD_YOURS_AI_IMAGINE = 15;
|
|
3410
3643
|
STATUS_QUESTION = 16;
|
|
3644
|
+
STATUS_ADD_YOURS_DIWALI = 17;
|
|
3645
|
+
STATUS_REACTION = 18;
|
|
3646
|
+
HEVC_VIDEO_DUAL_UPLOAD = 19;
|
|
3411
3647
|
}
|
|
3412
3648
|
}
|
|
3413
3649
|
|
|
@@ -3476,6 +3712,7 @@ message MsgOpaqueData {
|
|
|
3476
3712
|
optional PollEncValue encPollVote = 24;
|
|
3477
3713
|
optional bool isSentCagPollCreation = 28;
|
|
3478
3714
|
optional PollContentType pollContentType = 42;
|
|
3715
|
+
optional PollType pollType = 46;
|
|
3479
3716
|
optional PollVotesSnapshot pollVotesSnapshot = 41;
|
|
3480
3717
|
optional string encReactionTargetMessageKey = 25;
|
|
3481
3718
|
optional bytes encReactionEncPayload = 26;
|
|
@@ -3513,6 +3750,10 @@ message MsgOpaqueData {
|
|
|
3513
3750
|
optional string hash = 2;
|
|
3514
3751
|
}
|
|
3515
3752
|
|
|
3753
|
+
enum PollType {
|
|
3754
|
+
POLL = 0;
|
|
3755
|
+
QUIZ = 1;
|
|
3756
|
+
}
|
|
3516
3757
|
message PollVoteSnapshot {
|
|
3517
3758
|
optional MsgOpaqueData.PollOption option = 1;
|
|
3518
3759
|
optional int32 optionVoteCount = 2;
|
|
@@ -3601,6 +3842,9 @@ message PatchDebugData {
|
|
|
3601
3842
|
DARWIN = 6;
|
|
3602
3843
|
IPAD = 7;
|
|
3603
3844
|
WEAROS = 8;
|
|
3845
|
+
WASG = 9;
|
|
3846
|
+
WEARM = 10;
|
|
3847
|
+
CAPI = 11;
|
|
3604
3848
|
}
|
|
3605
3849
|
}
|
|
3606
3850
|
|
|
@@ -3801,6 +4045,11 @@ message Pushname {
|
|
|
3801
4045
|
optional string pushname = 2;
|
|
3802
4046
|
}
|
|
3803
4047
|
|
|
4048
|
+
message QuarantinedMessage {
|
|
4049
|
+
optional bytes originalData = 1;
|
|
4050
|
+
optional string extractedText = 2;
|
|
4051
|
+
}
|
|
4052
|
+
|
|
3804
4053
|
message Reaction {
|
|
3805
4054
|
optional MessageKey key = 1;
|
|
3806
4055
|
optional string text = 2;
|
|
@@ -3948,7 +4197,16 @@ message StatusAttribution {
|
|
|
3948
4197
|
StatusAttribution.Music music = 5;
|
|
3949
4198
|
StatusAttribution.GroupStatus groupStatus = 6;
|
|
3950
4199
|
StatusAttribution.RLAttribution rlAttribution = 7;
|
|
4200
|
+
StatusAttribution.AiCreatedAttribution aiCreatedAttribution = 8;
|
|
4201
|
+
}
|
|
4202
|
+
message AiCreatedAttribution {
|
|
4203
|
+
optional Source source = 1;
|
|
4204
|
+
enum Source {
|
|
4205
|
+
UNKNOWN = 0;
|
|
4206
|
+
STATUS_MIMICRY = 1;
|
|
4207
|
+
}
|
|
3951
4208
|
}
|
|
4209
|
+
|
|
3952
4210
|
message ExternalShare {
|
|
3953
4211
|
optional string actionUrl = 1;
|
|
3954
4212
|
optional Source source = 2;
|
|
@@ -3963,6 +4221,8 @@ message StatusAttribution {
|
|
|
3963
4221
|
YOUTUBE = 5;
|
|
3964
4222
|
PINTEREST = 6;
|
|
3965
4223
|
THREADS = 7;
|
|
4224
|
+
APPLE_MUSIC = 8;
|
|
4225
|
+
SHARECHAT = 9;
|
|
3966
4226
|
}
|
|
3967
4227
|
}
|
|
3968
4228
|
|
|
@@ -4004,6 +4264,7 @@ message StatusAttribution {
|
|
|
4004
4264
|
INTERNAL_RESHARE = 1;
|
|
4005
4265
|
MENTION_RESHARE = 2;
|
|
4006
4266
|
CHANNEL_RESHARE = 3;
|
|
4267
|
+
FORWARD = 4;
|
|
4007
4268
|
}
|
|
4008
4269
|
}
|
|
4009
4270
|
|
|
@@ -4015,6 +4276,8 @@ message StatusAttribution {
|
|
|
4015
4276
|
STATUS_MENTION = 4;
|
|
4016
4277
|
GROUP_STATUS = 5;
|
|
4017
4278
|
RL_ATTRIBUTION = 6;
|
|
4279
|
+
AI_CREATED = 7;
|
|
4280
|
+
LAYOUTS = 8;
|
|
4018
4281
|
}
|
|
4019
4282
|
}
|
|
4020
4283
|
|
|
@@ -4057,7 +4320,6 @@ message SyncActionValue {
|
|
|
4057
4320
|
optional ContactAction contactAction = 3;
|
|
4058
4321
|
optional MuteAction muteAction = 4;
|
|
4059
4322
|
optional PinAction pinAction = 5;
|
|
4060
|
-
optional SecurityNotificationSetting securityNotificationSetting = 6;
|
|
4061
4323
|
optional PushNameSetting pushNameSetting = 7;
|
|
4062
4324
|
optional QuickReplyAction quickReplyAction = 8;
|
|
4063
4325
|
optional RecentEmojiWeightsAction recentEmojiWeightsAction = 11;
|
|
@@ -4089,6 +4351,7 @@ message SyncActionValue {
|
|
|
4089
4351
|
optional ExternalWebBetaAction externalWebBetaAction = 40;
|
|
4090
4352
|
optional PrivacySettingRelayAllCalls privacySettingRelayAllCalls = 41;
|
|
4091
4353
|
optional CallLogAction callLogAction = 42;
|
|
4354
|
+
optional UGCBot ugcBot = 43;
|
|
4092
4355
|
optional StatusPrivacyAction statusPrivacy = 44;
|
|
4093
4356
|
optional BotWelcomeRequestAction botWelcomeRequestAction = 45;
|
|
4094
4357
|
optional DeleteIndividualCallLogAction deleteIndividualCallLog = 46;
|
|
@@ -4115,6 +4378,9 @@ message SyncActionValue {
|
|
|
4115
4378
|
optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction = 68;
|
|
4116
4379
|
optional BusinessBroadcastListAction businessBroadcastListAction = 69;
|
|
4117
4380
|
optional MusicUserIdAction musicUserIdAction = 70;
|
|
4381
|
+
optional StatusPostOptInNotificationPreferencesAction statusPostOptInNotificationPreferencesAction = 71;
|
|
4382
|
+
optional AvatarUpdatedAction avatarUpdatedAction = 72;
|
|
4383
|
+
optional PrivateProcessingSettingAction privateProcessingSettingAction = 74;
|
|
4118
4384
|
message AgentAction {
|
|
4119
4385
|
optional string name = 1;
|
|
4120
4386
|
optional int32 deviceID = 2;
|
|
@@ -4130,17 +4396,32 @@ message SyncActionValue {
|
|
|
4130
4396
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
|
4131
4397
|
}
|
|
4132
4398
|
|
|
4399
|
+
message AvatarUpdatedAction {
|
|
4400
|
+
optional AvatarEventType eventType = 1;
|
|
4401
|
+
repeated SyncActionValue.StickerAction recentAvatarStickers = 2;
|
|
4402
|
+
enum AvatarEventType {
|
|
4403
|
+
UPDATED = 0;
|
|
4404
|
+
CREATED = 1;
|
|
4405
|
+
DELETED = 2;
|
|
4406
|
+
}
|
|
4407
|
+
}
|
|
4408
|
+
|
|
4133
4409
|
message BotWelcomeRequestAction {
|
|
4134
4410
|
optional bool isSent = 1;
|
|
4135
4411
|
}
|
|
4136
4412
|
|
|
4413
|
+
message BroadcastListParticipant {
|
|
4414
|
+
optional string lidJid = 1;
|
|
4415
|
+
optional string pnJid = 2;
|
|
4416
|
+
}
|
|
4417
|
+
|
|
4137
4418
|
message BusinessBroadcastAssociationAction {
|
|
4138
4419
|
optional bool deleted = 1;
|
|
4139
4420
|
}
|
|
4140
4421
|
|
|
4141
4422
|
message BusinessBroadcastListAction {
|
|
4142
4423
|
optional bool deleted = 1;
|
|
4143
|
-
repeated
|
|
4424
|
+
repeated SyncActionValue.BroadcastListParticipant participants = 2;
|
|
4144
4425
|
optional string listName = 3;
|
|
4145
4426
|
}
|
|
4146
4427
|
|
|
@@ -4256,7 +4537,6 @@ message SyncActionValue {
|
|
|
4256
4537
|
optional string fullName = 1;
|
|
4257
4538
|
optional string firstName = 2;
|
|
4258
4539
|
optional string username = 3;
|
|
4259
|
-
optional bool saveOnPrimaryAddressbook = 4;
|
|
4260
4540
|
}
|
|
4261
4541
|
|
|
4262
4542
|
message LocaleSetting {
|
|
@@ -4385,6 +4665,14 @@ message SyncActionValue {
|
|
|
4385
4665
|
optional bool isEnabled = 1;
|
|
4386
4666
|
}
|
|
4387
4667
|
|
|
4668
|
+
message PrivateProcessingSettingAction {
|
|
4669
|
+
optional PrivateProcessingStatus privateProcessingStatus = 1;
|
|
4670
|
+
enum PrivateProcessingStatus {
|
|
4671
|
+
ENABLED = 0;
|
|
4672
|
+
DISABLED = 1;
|
|
4673
|
+
}
|
|
4674
|
+
}
|
|
4675
|
+
|
|
4388
4676
|
message PushNameSetting {
|
|
4389
4677
|
optional string name = 1;
|
|
4390
4678
|
}
|
|
@@ -4405,14 +4693,14 @@ message SyncActionValue {
|
|
|
4405
4693
|
optional int64 lastStickerSentTs = 1;
|
|
4406
4694
|
}
|
|
4407
4695
|
|
|
4408
|
-
message SecurityNotificationSetting {
|
|
4409
|
-
optional bool showNotification = 1;
|
|
4410
|
-
}
|
|
4411
|
-
|
|
4412
4696
|
message StarAction {
|
|
4413
4697
|
optional bool starred = 1;
|
|
4414
4698
|
}
|
|
4415
4699
|
|
|
4700
|
+
message StatusPostOptInNotificationPreferencesAction {
|
|
4701
|
+
optional bool enabled = 1;
|
|
4702
|
+
}
|
|
4703
|
+
|
|
4416
4704
|
message StatusPrivacyAction {
|
|
4417
4705
|
optional StatusDistributionMode mode = 1;
|
|
4418
4706
|
repeated string userJid = 2;
|
|
@@ -4420,6 +4708,7 @@ message SyncActionValue {
|
|
|
4420
4708
|
ALLOW_LIST = 0;
|
|
4421
4709
|
DENY_LIST = 1;
|
|
4422
4710
|
CONTACTS = 2;
|
|
4711
|
+
CLOSE_FRIENDS = 3;
|
|
4423
4712
|
}
|
|
4424
4713
|
}
|
|
4425
4714
|
|
|
@@ -4460,6 +4749,10 @@ message SyncActionValue {
|
|
|
4460
4749
|
optional bool isTwentyFourHourFormatEnabled = 1;
|
|
4461
4750
|
}
|
|
4462
4751
|
|
|
4752
|
+
message UGCBot {
|
|
4753
|
+
optional bytes definition = 1;
|
|
4754
|
+
}
|
|
4755
|
+
|
|
4463
4756
|
message UnarchiveChatsSetting {
|
|
4464
4757
|
optional bool unarchiveChats = 1;
|
|
4465
4758
|
}
|
|
@@ -4480,6 +4773,8 @@ message SyncActionValue {
|
|
|
4480
4773
|
optional AccountLinkState linkState = 2;
|
|
4481
4774
|
enum AccountLinkState {
|
|
4482
4775
|
ACTIVE = 0;
|
|
4776
|
+
PAUSED = 1;
|
|
4777
|
+
UNLINKED = 2;
|
|
4483
4778
|
}
|
|
4484
4779
|
}
|
|
4485
4780
|
|
|
@@ -4574,6 +4869,7 @@ message ThreadID {
|
|
|
4574
4869
|
enum ThreadType {
|
|
4575
4870
|
UNKNOWN = 0;
|
|
4576
4871
|
VIEW_REPLIES = 1;
|
|
4872
|
+
AI_THREAD = 2;
|
|
4577
4873
|
}
|
|
4578
4874
|
}
|
|
4579
4875
|
|
|
@@ -4761,6 +5057,10 @@ message WebMessageInfo {
|
|
|
4761
5057
|
repeated string statusMentionSources = 71;
|
|
4762
5058
|
repeated Citation supportAiCitations = 72;
|
|
4763
5059
|
optional string botTargetId = 73;
|
|
5060
|
+
optional GroupHistoryIndividualMessageInfo groupHistoryIndividualMessageInfo = 74;
|
|
5061
|
+
optional GroupHistoryBundleInfo groupHistoryBundleInfo = 75;
|
|
5062
|
+
optional InteractiveMessageAdditionalMetadata interactiveMessageAdditionalMetadata = 76;
|
|
5063
|
+
optional QuarantinedMessage quarantinedMessage = 77;
|
|
4764
5064
|
enum BizPrivacyStatus {
|
|
4765
5065
|
E2EE = 0;
|
|
4766
5066
|
FB = 2;
|
|
@@ -4996,6 +5296,7 @@ message WebMessageInfo {
|
|
|
4996
5296
|
GROUP_MEMBER_LINK_MODE = 217;
|
|
4997
5297
|
BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE = 218;
|
|
4998
5298
|
PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219;
|
|
5299
|
+
QUARANTINED_MESSAGE = 220;
|
|
4999
5300
|
}
|
|
5000
5301
|
}
|
|
5001
5302
|
|