@@ -7,7 +7,7 @@ import "waCompanionReg/WAWebProtobufsCompanionReg.proto";
7
7
import "waMmsRetry/WAMmsRetry.proto" ;
8
8
import "waCommon/WACommon.proto" ;
9
9
10
- enum PollType {
10
+ enum PollMediaType {
11
11
TEXT = 1 ;
12
12
IMAGE = 2 ;
13
13
}
@@ -23,6 +23,25 @@ enum PeerDataOperationRequestType {
23
23
COMPANION_META_NONCE_FETCH = 7 ;
24
24
}
25
25
26
+ enum BotMetricsEntryPoint {
27
+ FAVICON = 1 ;
28
+ CHATLIST = 2 ;
29
+ AISEARCH_NULL_STATE_PAPER_PLANE = 3 ;
30
+ AISEARCH_NULL_STATE_SUGGESTION = 4 ;
31
+ AISEARCH_TYPE_AHEAD_SUGGESTION = 5 ;
32
+ AISEARCH_TYPE_AHEAD_PAPER_PLANE = 6 ;
33
+ AISEARCH_TYPE_AHEAD_RESULT_CHATLIST = 7 ;
34
+ AISEARCH_TYPE_AHEAD_RESULT_MESSAGES = 8 ;
35
+ AIVOICE_SEARCH_BAR = 9 ;
36
+ AIVOICE_FAVICON = 10 ;
37
+ AISTUDIO = 11 ;
38
+ DEEPLINK = 12 ;
39
+ NOTIFICATION = 13 ;
40
+ PROFILE_MESSAGE_BUTTON = 14 ;
41
+ FORWARD = 15 ;
42
+ APP_SHORTCUT = 16 ;
43
+ }
44
+
26
45
enum BotSessionSource {
27
46
NULL_STATE = 1 ;
28
47
TYPEAHEAD = 2 ;
@@ -176,6 +195,27 @@ message PinInChatMessage {
176
195
optional int64 senderTimestampMS = 3 ;
177
196
}
178
197
198
+ message PollCreationMessage {
199
+ enum PollType {
200
+ POLL = 0 ;
201
+ QUIZ = 1 ;
202
+ }
203
+
204
+ message Option {
205
+ optional string optionName = 1 ;
206
+ optional string optionHash = 2 ;
207
+ }
208
+
209
+ optional bytes encKey = 1 ;
210
+ optional string name = 2 ;
211
+ repeated Option options = 3 ;
212
+ optional uint32 selectableOptionsCount = 4 ;
213
+ optional ContextInfo contextInfo = 5 ;
214
+ optional PollMediaType pollMediaType = 6 ;
215
+ optional PollType pollType = 7 ;
216
+ optional Option correctAnswer = 8 ;
217
+ }
218
+
179
219
message ButtonsResponseMessage {
180
220
enum Type {
181
221
UNKNOWN = 0 ;
@@ -823,6 +863,7 @@ message ExtendedTextMessage {
823
863
optional bool viewOnce = 30 ;
824
864
optional uint32 videoHeight = 31 ;
825
865
optional uint32 videoWidth = 32 ;
866
+ optional MMSThumbnailMetadata faviconMMSMetadata = 33 ;
826
867
}
827
868
828
869
message InvoiceMessage {
@@ -882,6 +923,11 @@ message ImageMessage {
882
923
}
883
924
884
925
message ContextInfo {
926
+ enum StatusAttributionType {
927
+ NONE = 0 ;
928
+ RESHARED_FROM_MENTION = 1 ;
929
+ }
930
+
885
931
message ForwardedNewsletterMessageInfo {
886
932
enum ContentType {
887
933
UPDATE = 1 ;
@@ -1015,15 +1061,18 @@ message ContextInfo {
1015
1061
optional string ctwaSignals = 54 ;
1016
1062
optional bytes ctwaPayload = 55 ;
1017
1063
optional ForwardedAIBotMessageInfo forwardedAiBotMessageInfo = 56 ;
1064
+ optional StatusAttributionType statusAttributionType = 57 ;
1018
1065
}
1019
1066
1020
1067
message BotPluginMetadata {
1021
1068
enum PluginType {
1069
+ UNKNOWN_PLUGIN = 0 ;
1022
1070
REELS = 1 ;
1023
1071
SEARCH = 2 ;
1024
1072
}
1025
1073
1026
1074
enum SearchProvider {
1075
+ UNKNOWN = 0 ;
1027
1076
BING = 1 ;
1028
1077
GOOGLE = 2 ;
1029
1078
SUPPORT = 3 ;
@@ -1040,6 +1089,7 @@ message BotPluginMetadata {
1040
1089
optional WACommon.MessageKey parentPluginMessageKey = 10 ;
1041
1090
optional PluginType deprecatedField = 11 ;
1042
1091
optional PluginType parentPluginType = 12 ;
1092
+ optional string faviconCDNURL = 13 ;
1043
1093
}
1044
1094
1045
1095
message BotMediaMetadata {
@@ -1083,11 +1133,13 @@ message BotReminderMetadata {
1083
1133
1084
1134
message BotModelMetadata {
1085
1135
enum PremiumModelStatus {
1136
+ UNKNOWN_STATUS = 0 ;
1086
1137
AVAILABLE = 1 ;
1087
1138
QUOTA_EXCEED_LIMIT = 2 ;
1088
1139
}
1089
1140
1090
1141
enum ModelType {
1142
+ UNKNOWN_TYPE = 0 ;
1091
1143
LLAMA_PROD = 1 ;
1092
1144
LLAMA_PROD_PREMIUM = 2 ;
1093
1145
}
@@ -1101,6 +1153,21 @@ message BotCapabilityMetadata {
1101
1153
PROGRESS_INDICATOR = 1 ;
1102
1154
RICH_RESPONSE_HEADING = 2 ;
1103
1155
RICH_RESPONSE_NESTED_LIST = 3 ;
1156
+ AI_MEMORY = 4 ;
1157
+ RICH_RESPONSE_THREAD_SURFING = 5 ;
1158
+ RICH_RESPONSE_TABLE = 6 ;
1159
+ RICH_RESPONSE_CODE = 7 ;
1160
+ WA_IG_1P_PLUGIN_RANKING_CONTROL = 10 ;
1161
+ WA_IG_1P_PLUGIN_RANKING_UPDATE_1 = 11 ;
1162
+ WA_IG_1P_PLUGIN_RANKING_UPDATE_2 = 12 ;
1163
+ WA_IG_1P_PLUGIN_RANKING_UPDATE_3 = 13 ;
1164
+ WA_IG_1P_PLUGIN_RANKING_UPDATE_4 = 14 ;
1165
+ WA_IG_1P_PLUGIN_RANKING_UPDATE_5 = 15 ;
1166
+ WA_IG_1P_PLUGIN_RANKING_UPDATE_6 = 16 ;
1167
+ WA_IG_1P_PLUGIN_RANKING_UPDATE_7 = 17 ;
1168
+ WA_IG_1P_PLUGIN_RANKING_UPDATE_8 = 18 ;
1169
+ WA_IG_1P_PLUGIN_RANKING_UPDATE_9 = 19 ;
1170
+ WA_IG_1P_PLUGIN_RANKING_UPDATE_10 = 20 ;
1104
1171
}
1105
1172
1106
1173
repeated BotCapabilityType capabilities = 1 ;
@@ -1128,6 +1195,7 @@ message MessageAssociation {
1128
1195
HD_VIDEO_DUAL_UPLOAD = 5 ;
1129
1196
STATUS_TAPPABLE_MESSAGE = 6 ;
1130
1197
MEDIA_POLL = 7 ;
1198
+ STATUS_ADD_YOURS = 8 ;
1131
1199
}
1132
1200
1133
1201
optional AssociationType associationType = 1 ;
@@ -1329,8 +1397,12 @@ message Message {
1329
1397
optional StickerPackMessage stickerPackMessage = 86 ;
1330
1398
optional FutureProofMessage statusMentionMessage = 87 ;
1331
1399
optional PollResultSnapshotMessage pollResultSnapshotMessage = 88 ;
1332
- optional FutureProofMessage pollCreationMessageV4 = 89 ;
1333
1400
optional FutureProofMessage pollCreationOptionImageMessage = 90 ;
1401
+ optional FutureProofMessage associatedChildMessage = 91 ;
1402
+ optional FutureProofMessage groupStatusMentionMessage = 92 ;
1403
+ optional FutureProofMessage pollCreationMessageV4 = 93 ;
1404
+ optional FutureProofMessage pollCreationMessageV5 = 94 ;
1405
+ optional FutureProofMessage statusAddYours = 95 ;
1334
1406
}
1335
1407
1336
1408
message AlbumMessage {
@@ -1421,20 +1493,6 @@ message PollUpdateMessage {
1421
1493
optional int64 senderTimestampMS = 4 ;
1422
1494
}
1423
1495
1424
- message PollCreationMessage {
1425
- message Option {
1426
- optional string optionName = 1 ;
1427
- optional string optionHash = 2 ;
1428
- }
1429
-
1430
- optional bytes encKey = 1 ;
1431
- optional string name = 2 ;
1432
- repeated Option options = 3 ;
1433
- optional uint32 selectableOptionsCount = 4 ;
1434
- optional ContextInfo contextInfo = 5 ;
1435
- optional PollType pollType = 6 ;
1436
- }
1437
-
1438
1496
message StickerSyncRMRMessage {
1439
1497
repeated string filehash = 1 ;
1440
1498
optional string rmrSource = 2 ;
@@ -1484,6 +1542,7 @@ message ProductMessage {
1484
1542
optional uint32 productImageCount = 9 ;
1485
1543
optional string firstImageID = 11 ;
1486
1544
optional int64 salePriceAmount1000 = 12 ;
1545
+ optional string signedURL = 13 ;
1487
1546
}
1488
1547
1489
1548
message CatalogSnapshot {
@@ -1751,6 +1810,16 @@ message DocumentMessage {
1751
1810
optional string accessibilityLabel = 21 ;
1752
1811
}
1753
1812
1813
+ message MMSThumbnailMetadata {
1814
+ optional string thumbnailDirectPath = 1 ;
1815
+ optional bytes thumbnailSHA256 = 2 ;
1816
+ optional bytes thumbnailEncSHA256 = 3 ;
1817
+ optional bytes mediaKey = 4 ;
1818
+ optional int64 mediaKeyTimestamp = 5 ;
1819
+ optional uint32 thumbnailHeight = 6 ;
1820
+ optional uint32 thumbnailWidth = 7 ;
1821
+ }
1822
+
1754
1823
message LocationMessage {
1755
1824
optional double degreesLatitude = 1 ;
1756
1825
optional double degreesLongitude = 2 ;
@@ -1788,6 +1857,17 @@ message BotAvatarMetadata {
1788
1857
message BotSuggestedPromptMetadata {
1789
1858
repeated string suggestedPrompts = 1 ;
1790
1859
optional uint32 selectedPromptIndex = 2 ;
1860
+ optional BotPromptSuggestions promptSuggestions = 3 ;
1861
+ optional string selectedPromptID = 4 ;
1862
+ }
1863
+
1864
+ message BotPromptSuggestions {
1865
+ repeated BotPromptSuggestion suggestions = 1 ;
1866
+ }
1867
+
1868
+ message BotPromptSuggestion {
1869
+ optional string prompt = 1 ;
1870
+ optional string promptID = 2 ;
1791
1871
}
1792
1872
1793
1873
message BotMemoryMetadata {
@@ -1801,6 +1881,20 @@ message BotMemoryFact {
1801
1881
optional string factID = 2 ;
1802
1882
}
1803
1883
1884
+ message BotRenderingMetadata {
1885
+ message Keyword {
1886
+ optional string value = 1 ;
1887
+ repeated string associatedPrompts = 2 ;
1888
+ }
1889
+
1890
+ repeated Keyword keywords = 1 ;
1891
+ }
1892
+
1893
+ message BotMetricsMetadata {
1894
+ optional string destinationID = 1 ;
1895
+ optional BotMetricsEntryPoint destinationEntryPoint = 2 ;
1896
+ }
1897
+
1804
1898
message BotSessionMetadata {
1805
1899
optional string sessionID = 1 ;
1806
1900
optional BotSessionSource sessionSource = 2 ;
@@ -1830,6 +1924,8 @@ message BotMetadata {
1830
1924
optional BotCapabilityMetadata capabilityMetadata = 13 ;
1831
1925
optional BotImagineMetadata imagineMetadata = 14 ;
1832
1926
optional BotMemoryMetadata memoryMetadata = 15 ;
1927
+ optional BotRenderingMetadata renderingMetadata = 16 ;
1928
+ optional BotMetricsMetadata botMetricsMetadata = 17 ;
1833
1929
}
1834
1930
1835
1931
message DeviceListMetadata {
0 commit comments