@badzz88/baileys 8.4.6 → 8.4.9
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 -0
- package/README.md +1055 -337
- package/WAProto/WAProto.proto +850 -32
- package/WAProto/index.d.ts +4913 -25
- package/WAProto/index.js +14074 -98
- package/package.json +96 -131
- package/src/Defaults/index.js +201 -0
- package/src/Defaults/phonenumber-mcc.json +223 -0
- package/src/Signal/Group/ciphertext-message.js +15 -0
- package/src/Signal/Group/group-session-builder.js +92 -0
- package/src/Signal/Group/group_cipher.js +89 -0
- package/src/Signal/Group/index.js +136 -0
- package/src/Signal/Group/keyhelper.js +73 -0
- package/src/Signal/Group/sender-chain-key.js +32 -0
- package/src/Signal/Group/sender-key-distribution-message.js +66 -0
- package/src/Signal/Group/sender-key-message.js +69 -0
- package/src/Signal/Group/sender-key-name.js +50 -0
- package/src/Signal/Group/sender-key-record.js +44 -0
- package/src/Signal/Group/sender-key-state.js +97 -0
- package/src/Signal/Group/sender-message-key.js +30 -0
- package/src/Signal/libsignal.js +470 -0
- package/src/Signal/lid-mapping.js +262 -0
- package/src/Socket/Client/index.js +30 -0
- package/src/Socket/Client/types.js +13 -0
- package/src/Socket/Client/websocket.js +62 -0
- package/src/Socket/aigroups.js +240 -0
- package/src/Socket/business.js +422 -0
- package/src/Socket/chats.js +2374 -0
- package/src/Socket/communities.js +580 -0
- package/src/Socket/graphql.js +915 -0
- package/src/Socket/groups.js +812 -0
- package/src/Socket/index.js +37 -0
- package/src/Socket/interactive-handler.js +579 -0
- package/src/Socket/interop.js +566 -0
- package/src/Socket/managed-account.js +214 -0
- package/src/Socket/messages-recv.js +3012 -0
- package/src/Socket/messages-send.js +2163 -0
- package/{lib → src}/Socket/mex.js +11 -5
- package/src/Socket/newsletter.js +1057 -0
- package/src/Socket/privacy.js +452 -0
- package/src/Socket/registration.js +434 -0
- package/src/Socket/socket.js +1079 -0
- package/src/Socket/text-router.js +67 -0
- package/src/Socket/username.js +234 -0
- package/src/Store/index.js +36 -0
- package/src/Store/make-cache-manager-store.js +90 -0
- package/src/Store/make-in-memory-store.js +506 -0
- package/src/Store/make-ordered-dictionary.js +81 -0
- package/src/Store/object-repository.js +29 -0
- package/src/Types/Auth.js +38 -0
- package/src/Types/Bussines.js +2 -0
- package/src/Types/Call.js +2 -0
- package/src/Types/Chat.js +4 -0
- package/src/Types/Contact.js +2 -0
- package/src/Types/Events.js +2 -0
- package/src/Types/GroupMetadata.js +2 -0
- package/src/Types/Label.js +27 -0
- package/src/Types/LabelAssociation.js +9 -0
- package/src/Types/Message.js +95 -0
- package/src/Types/Newsletter.js +152 -0
- package/src/Types/Product.js +2 -0
- package/src/Types/Signal.js +2 -0
- package/src/Types/Socket.js +2 -0
- package/src/Types/State.js +70 -0
- package/src/Types/USync.js +2 -0
- package/src/Types/index.js +54 -0
- package/src/Utils/auth-utils.js +306 -0
- package/src/Utils/browser-utils.js +114 -0
- package/src/Utils/business.js +247 -0
- package/src/Utils/chat-utils.js +1272 -0
- package/src/Utils/consumer-application.js +107 -0
- package/src/Utils/crypto.js +125 -0
- package/src/Utils/decode-wa-message.js +808 -0
- package/src/Utils/event-buffer.js +586 -0
- package/src/Utils/generics.js +640 -0
- package/src/Utils/group-history.js +60 -0
- package/src/Utils/history.js +244 -0
- package/src/Utils/identity-change-handler.js +52 -0
- package/src/Utils/index.js +53 -0
- package/src/Utils/jid-display-normalization.js +218 -0
- package/src/Utils/link-preview.js +143 -0
- package/src/Utils/logger.js +9 -0
- package/src/Utils/lt-hash.js +10 -0
- package/src/Utils/make-mutex.js +36 -0
- package/src/Utils/message-composer.js +479 -0
- package/src/Utils/message-inspect.js +400 -0
- package/src/Utils/message-retry-manager.js +231 -0
- package/src/Utils/messages-media.js +943 -0
- package/src/Utils/messages.js +2490 -0
- package/src/Utils/meta-ai-msmsg.js +133 -0
- package/src/Utils/noise-handler.js +194 -0
- package/src/Utils/offline-node-processor.js +42 -0
- package/src/Utils/pre-key-manager.js +107 -0
- package/src/Utils/process-message.js +1047 -0
- package/src/Utils/reporting-utils.js +262 -0
- package/src/Utils/signal.js +192 -0
- package/src/Utils/stanza-ack.js +74 -0
- package/src/Utils/sync-action-utils.js +54 -0
- package/src/Utils/tc-token-utils.js +161 -0
- package/src/Utils/use-multi-file-auth-state.js +121 -0
- package/src/Utils/validate-connection.js +248 -0
- package/src/Utils/voip-rekey.js +22 -0
- package/src/WABinary/constants.js +1304 -0
- package/src/WABinary/decode.js +377 -0
- package/src/WABinary/encode.js +58 -0
- package/src/WABinary/generic-utils.js +148 -0
- package/src/WABinary/index.js +33 -0
- package/src/WABinary/jid-utils.js +374 -0
- package/src/WABinary/types.js +2 -0
- package/src/WAM/BinaryInfo.js +13 -0
- package/src/WAM/constants.js +39486 -0
- package/src/WAM/encode.js +142 -0
- package/src/WAM/index.js +31 -0
- package/src/WAUSync/Protocols/USyncBotProfileProtocol.js +55 -0
- package/src/WAUSync/Protocols/USyncBusinessProtocol.js +100 -0
- package/src/WAUSync/Protocols/USyncContactProtocol.js +60 -0
- package/src/WAUSync/Protocols/USyncDeviceProtocol.js +65 -0
- package/src/WAUSync/Protocols/USyncDisappearingModeProtocol.js +27 -0
- package/src/WAUSync/Protocols/USyncFeatureProtocol.js +74 -0
- package/src/WAUSync/Protocols/USyncLIDProtocol.js +31 -0
- package/src/WAUSync/Protocols/USyncPictureProtocol.js +32 -0
- package/src/WAUSync/Protocols/USyncSidelistProtocol.js +29 -0
- package/src/WAUSync/Protocols/USyncStatusProtocol.js +44 -0
- package/src/WAUSync/Protocols/USyncTextStatusProtocol.js +38 -0
- package/src/WAUSync/Protocols/USyncUsernameProtocol.js +28 -0
- package/src/WAUSync/Protocols/index.js +40 -0
- package/src/WAUSync/USyncBackoff.js +31 -0
- package/src/WAUSync/USyncQuery.js +204 -0
- package/src/WAUSync/USyncUser.js +58 -0
- package/src/WAUSync/index.js +32 -0
- package/src/antiban.js +4726 -0
- package/{lib → src}/index.js +48 -16
- package/lib/Defaults/baileys-version.json +0 -3
- package/lib/Defaults/index.js +0 -137
- package/lib/Defaults/phonenumber-mcc.json +0 -223
- package/lib/Signal/Group/Protocols.js +0 -269
- package/lib/Signal/Group/ciphertext-message.js +0 -12
- package/lib/Signal/Group/group-session-builder.js +0 -30
- package/lib/Signal/Group/group_cipher.js +0 -82
- package/lib/Signal/Group/index.js +0 -12
- package/lib/Signal/Group/keyhelper.js +0 -18
- package/lib/Signal/Group/queue-job.js +0 -57
- package/lib/Signal/Group/sender-chain-key.js +0 -26
- package/lib/Signal/Group/sender-key-distribution-message.js +0 -63
- package/lib/Signal/Group/sender-key-message.js +0 -66
- package/lib/Signal/Group/sender-key-name.js +0 -48
- package/lib/Signal/Group/sender-key-record.js +0 -41
- package/lib/Signal/Group/sender-key-state.js +0 -84
- package/lib/Signal/Group/sender-message-key.js +0 -26
- package/lib/Signal/libsignal.js +0 -432
- package/lib/Signal/lid-mapping.js +0 -277
- package/lib/Socket/Client/abstract-socket-client.js +0 -13
- package/lib/Socket/Client/index.js +0 -3
- package/lib/Socket/Client/mobile-socket-client.js +0 -65
- package/lib/Socket/Client/types.js +0 -11
- package/lib/Socket/Client/web-socket-client.js +0 -62
- package/lib/Socket/Client/websocket.js +0 -54
- package/lib/Socket/business.js +0 -379
- package/lib/Socket/chats.js +0 -1193
- package/lib/Socket/communities.js +0 -431
- package/lib/Socket/community.js +0 -392
- package/lib/Socket/dugong.js +0 -637
- package/lib/Socket/groups.js +0 -374
- package/lib/Socket/index.js +0 -12
- package/lib/Socket/luxu.js +0 -387
- package/lib/Socket/messages-recv.js +0 -1916
- package/lib/Socket/messages-send.js +0 -1459
- package/lib/Socket/newsletter.js +0 -253
- package/lib/Socket/registration.js +0 -167
- package/lib/Socket/socket.js +0 -950
- package/lib/Socket/username.js +0 -146
- package/lib/Socket/usync.js +0 -69
- package/lib/Store/index.js +0 -10
- package/lib/Store/keyed-db.js +0 -108
- package/lib/Store/make-cache-manager-store.js +0 -85
- package/lib/Store/make-in-memory-store.js +0 -198
- package/lib/Store/make-ordered-dictionary.js +0 -75
- package/lib/Store/object-repository.js +0 -32
- package/lib/Types/Auth.js +0 -2
- package/lib/Types/Bussines.js +0 -2
- package/lib/Types/Call.js +0 -2
- package/lib/Types/Chat.js +0 -8
- package/lib/Types/Contact.js +0 -2
- package/lib/Types/Events.js +0 -2
- package/lib/Types/GroupMetadata.js +0 -2
- package/lib/Types/Label.js +0 -25
- package/lib/Types/LabelAssociation.js +0 -7
- package/lib/Types/Message.js +0 -11
- package/lib/Types/Mex.js +0 -37
- package/lib/Types/Newsletter.js +0 -38
- package/lib/Types/Product.js +0 -2
- package/lib/Types/Signal.js +0 -2
- package/lib/Types/Socket.js +0 -3
- package/lib/Types/State.js +0 -56
- package/lib/Types/USync.js +0 -2
- package/lib/Types/index.js +0 -26
- package/lib/Utils/auth-utils.js +0 -302
- package/lib/Utils/baileys-event-stream.js +0 -63
- package/lib/Utils/browser-utils.js +0 -48
- package/lib/Utils/business.js +0 -231
- package/lib/Utils/chat-utils.js +0 -873
- package/lib/Utils/companion-reg-client-utils.js +0 -35
- package/lib/Utils/crypto.js +0 -118
- package/lib/Utils/decode-wa-message.js +0 -350
- package/lib/Utils/event-buffer.js +0 -622
- package/lib/Utils/generics.js +0 -399
- package/lib/Utils/history.js +0 -134
- package/lib/Utils/identity-change-handler.js +0 -50
- package/lib/Utils/index.js +0 -23
- package/lib/Utils/link-preview.js +0 -85
- package/lib/Utils/logger.js +0 -3
- package/lib/Utils/lt-hash.js +0 -8
- package/lib/Utils/make-mutex.js +0 -33
- package/lib/Utils/message-composer.js +0 -273
- package/lib/Utils/message-retry-manager.js +0 -265
- package/lib/Utils/messages-media.js +0 -788
- package/lib/Utils/messages.js +0 -1260
- package/lib/Utils/noise-handler.js +0 -201
- package/lib/Utils/offline-node-processor.js +0 -40
- package/lib/Utils/pre-key-manager.js +0 -106
- package/lib/Utils/process-message.js +0 -630
- package/lib/Utils/reporting-utils.js +0 -258
- package/lib/Utils/signal.js +0 -202
- package/lib/Utils/stanza-ack.js +0 -38
- package/lib/Utils/sync-action-utils.js +0 -49
- package/lib/Utils/tc-token-utils.js +0 -163
- package/lib/Utils/use-multi-file-auth-state.js +0 -121
- package/lib/Utils/validate-connection.js +0 -204
- package/lib/WABinary/constants.js +0 -1301
- package/lib/WABinary/decode.js +0 -262
- package/lib/WABinary/encode.js +0 -220
- package/lib/WABinary/generic-utils.js +0 -204
- package/lib/WABinary/index.js +0 -6
- package/lib/WABinary/jid-utils.js +0 -98
- package/lib/WABinary/types.js +0 -2
- package/lib/WAM/BinaryInfo.js +0 -10
- package/lib/WAM/constants.js +0 -22853
- package/lib/WAM/encode.js +0 -150
- package/lib/WAM/index.js +0 -4
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +0 -52
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +0 -54
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +0 -27
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +0 -38
- package/lib/WAUSync/Protocols/USyncUsernameProtocol.js +0 -25
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +0 -51
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.js +0 -29
- package/lib/WAUSync/Protocols/index.js +0 -6
- package/lib/WAUSync/USyncQuery.js +0 -98
- package/lib/WAUSync/USyncUser.js +0 -31
- package/lib/WAUSync/index.js +0 -4
package/WAProto/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
|
-
package
|
|
2
|
+
package proto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1043616636
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -126,7 +126,7 @@ message AIRichResponseContentItemsMetadata {
|
|
|
126
126
|
repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
|
|
127
127
|
optional ContentType contentType = 2;
|
|
128
128
|
message AIRichResponseContentItemMetadata {
|
|
129
|
-
oneof
|
|
129
|
+
oneof aIRichResponseContentItem {
|
|
130
130
|
AIRichResponseContentItemsMetadata.AIRichResponseReelItem reelItem = 1;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
@@ -300,6 +300,13 @@ message Account {
|
|
|
300
300
|
optional bool isUsernameDeleted = 4;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
+
message AccountLinkingOpaqueData {
|
|
304
|
+
optional string accesstoken = 1;
|
|
305
|
+
optional string fbid = 2;
|
|
306
|
+
optional string nonce = 3;
|
|
307
|
+
optional string encryptedPassword = 4;
|
|
308
|
+
}
|
|
309
|
+
|
|
303
310
|
message ActionLink {
|
|
304
311
|
optional string url = 1;
|
|
305
312
|
optional string buttonTitle = 2;
|
|
@@ -1023,6 +1030,29 @@ message BotUnifiedResponseMutation {
|
|
|
1023
1030
|
|
|
1024
1031
|
}
|
|
1025
1032
|
|
|
1033
|
+
enum COMMAND_COMMAND_TYPE {
|
|
1034
|
+
EVERYONE = 1;
|
|
1035
|
+
SILENT = 2;
|
|
1036
|
+
AI = 3;
|
|
1037
|
+
AI_IMAGINE = 4;
|
|
1038
|
+
}
|
|
1039
|
+
enum CONSUMER_APPLICATION_EXTENDED_TEXT_MESSAGE_PREVIEW_TYPE {
|
|
1040
|
+
NONE = 0;
|
|
1041
|
+
VIDEO = 1;
|
|
1042
|
+
}
|
|
1043
|
+
enum CONSUMER_APPLICATION_METADATA_SPECIAL_TEXT_SIZE {
|
|
1044
|
+
SMALL = 1;
|
|
1045
|
+
MEDIUM = 2;
|
|
1046
|
+
LARGE = 3;
|
|
1047
|
+
}
|
|
1048
|
+
enum CONSUMER_APPLICATION_STATUS_TEXT_MESAGE_FONT_TYPE {
|
|
1049
|
+
SANS_SERIF = 0;
|
|
1050
|
+
SERIF = 1;
|
|
1051
|
+
NORICAN_REGULAR = 2;
|
|
1052
|
+
BRYNDAN_WRITE = 3;
|
|
1053
|
+
BEBASNEUE_REGULAR = 4;
|
|
1054
|
+
OSWALD_HEAVY = 5;
|
|
1055
|
+
}
|
|
1026
1056
|
message CallLogRecord {
|
|
1027
1057
|
optional CallResult callResult = 1;
|
|
1028
1058
|
optional bool isDndMode = 2;
|
|
@@ -1133,10 +1163,10 @@ message ChatRowOpaqueData {
|
|
|
1133
1163
|
}
|
|
1134
1164
|
|
|
1135
1165
|
message Citation {
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1166
|
+
optional string title = 1;
|
|
1167
|
+
optional string subtitle = 2;
|
|
1168
|
+
optional string cmsId = 3;
|
|
1169
|
+
optional string imageUrl = 4;
|
|
1140
1170
|
}
|
|
1141
1171
|
|
|
1142
1172
|
message ClientPairingProps {
|
|
@@ -1340,7 +1370,6 @@ message ClientPayload {
|
|
|
1340
1370
|
SMART_GLASSES = 35;
|
|
1341
1371
|
BLUE_VR = 36;
|
|
1342
1372
|
AR_WRIST = 37;
|
|
1343
|
-
WAIL = 38;
|
|
1344
1373
|
}
|
|
1345
1374
|
enum ReleaseChannel {
|
|
1346
1375
|
RELEASE = 0;
|
|
@@ -1407,6 +1436,19 @@ enum CollectionName {
|
|
|
1407
1436
|
CRITICAL_BLOCK = 4;
|
|
1408
1437
|
CRITICAL_UNBLOCK_LOW = 5;
|
|
1409
1438
|
}
|
|
1439
|
+
message CombinedFingerprint {
|
|
1440
|
+
optional uint32 version = 1;
|
|
1441
|
+
optional FingerprintData localFingerprint = 2;
|
|
1442
|
+
optional FingerprintData remoteFingerprint = 3;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
message Command {
|
|
1446
|
+
optional COMMAND_COMMAND_TYPE commandType = 1;
|
|
1447
|
+
optional uint32 offset = 2;
|
|
1448
|
+
optional uint32 length = 3;
|
|
1449
|
+
optional string validationToken = 4;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1410
1452
|
message CommentMetadata {
|
|
1411
1453
|
optional MessageKey commentParentKey = 1;
|
|
1412
1454
|
optional uint32 replyCount = 2;
|
|
@@ -1427,6 +1469,213 @@ message Config {
|
|
|
1427
1469
|
optional uint32 version = 2;
|
|
1428
1470
|
}
|
|
1429
1471
|
|
|
1472
|
+
message ConsumerApplication {
|
|
1473
|
+
optional Payload payload = 1;
|
|
1474
|
+
optional Metadata metadata = 2;
|
|
1475
|
+
message ApplicationData {
|
|
1476
|
+
oneof applicationContent {
|
|
1477
|
+
ConsumerApplication.RevokeMessage revoke = 1;
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
message AudioMessage {
|
|
1482
|
+
optional SubProtocol audio = 1;
|
|
1483
|
+
optional bool ptt = 2;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
message ContactMessage {
|
|
1487
|
+
optional SubProtocol contact = 1;
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
message ContactsArrayMessage {
|
|
1491
|
+
optional string displayName = 1;
|
|
1492
|
+
repeated ConsumerApplication.ContactMessage contacts = 2;
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
message Content {
|
|
1496
|
+
oneof content {
|
|
1497
|
+
MessageText messageText = 1;
|
|
1498
|
+
ConsumerApplication.ImageMessage imageMessage = 2;
|
|
1499
|
+
ConsumerApplication.ContactMessage contactMessage = 3;
|
|
1500
|
+
ConsumerApplication.LocationMessage locationMessage = 4;
|
|
1501
|
+
ConsumerApplication.ExtendedTextMessage extendedTextMessage = 5;
|
|
1502
|
+
ConsumerApplication.StatusTextMesage statusTextMessage = 6;
|
|
1503
|
+
ConsumerApplication.DocumentMessage documentMessage = 7;
|
|
1504
|
+
ConsumerApplication.AudioMessage audioMessage = 8;
|
|
1505
|
+
ConsumerApplication.VideoMessage videoMessage = 9;
|
|
1506
|
+
ConsumerApplication.ContactsArrayMessage contactsArrayMessage = 10;
|
|
1507
|
+
ConsumerApplication.LiveLocationMessage liveLocationMessage = 11;
|
|
1508
|
+
ConsumerApplication.StickerMessage stickerMessage = 12;
|
|
1509
|
+
ConsumerApplication.GroupInviteMessage groupInviteMessage = 13;
|
|
1510
|
+
ConsumerApplication.ViewOnceMessage viewOnceMessage = 14;
|
|
1511
|
+
ConsumerApplication.ReactionMessage reactionMessage = 16;
|
|
1512
|
+
ConsumerApplication.PollCreationMessage pollCreationMessage = 17;
|
|
1513
|
+
ConsumerApplication.PollUpdateMessage pollUpdateMessage = 18;
|
|
1514
|
+
ConsumerApplication.EditMessage editMessage = 19;
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
message DocumentMessage {
|
|
1519
|
+
optional SubProtocol document = 1;
|
|
1520
|
+
optional string fileName = 2;
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
message EditMessage {
|
|
1524
|
+
optional MessageKey key = 1;
|
|
1525
|
+
optional MessageText message = 2;
|
|
1526
|
+
optional int64 timestampMs = 3;
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
message ExtendedTextMessage {
|
|
1530
|
+
optional MessageText text = 1;
|
|
1531
|
+
optional string matchedText = 2;
|
|
1532
|
+
optional string canonicalUrl = 3;
|
|
1533
|
+
optional string description = 4;
|
|
1534
|
+
optional string title = 5;
|
|
1535
|
+
optional SubProtocol thumbnail = 6;
|
|
1536
|
+
optional CONSUMER_APPLICATION_EXTENDED_TEXT_MESSAGE_PREVIEW_TYPE previewType = 7;
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
message GroupInviteMessage {
|
|
1540
|
+
optional string groupJid = 1;
|
|
1541
|
+
optional string inviteCode = 2;
|
|
1542
|
+
optional int64 inviteExpiration = 3;
|
|
1543
|
+
optional string groupName = 4;
|
|
1544
|
+
optional bytes jpegThumbnail = 5;
|
|
1545
|
+
optional MessageText caption = 6;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
message ImageMessage {
|
|
1549
|
+
optional SubProtocol image = 1;
|
|
1550
|
+
optional MessageText caption = 2;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
message InteractiveAnnotation {
|
|
1554
|
+
repeated ConsumerApplication.Point polygonVertices = 1;
|
|
1555
|
+
oneof action {
|
|
1556
|
+
ConsumerApplication.Location location = 2;
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
message LiveLocationMessage {
|
|
1561
|
+
optional ConsumerApplication.Location location = 1;
|
|
1562
|
+
optional uint32 accuracyInMeters = 2;
|
|
1563
|
+
optional float speedInMps = 3;
|
|
1564
|
+
optional uint32 degreesClockwiseFromMagneticNorth = 4;
|
|
1565
|
+
optional MessageText caption = 5;
|
|
1566
|
+
optional int64 sequenceNumber = 6;
|
|
1567
|
+
optional uint32 timeOffset = 7;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
message Location {
|
|
1571
|
+
optional double degreesLatitude = 1;
|
|
1572
|
+
optional double degreesLongitude = 2;
|
|
1573
|
+
optional string name = 3;
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
message LocationMessage {
|
|
1577
|
+
optional ConsumerApplication.Location location = 1;
|
|
1578
|
+
optional string address = 2;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
message MediaPayload {
|
|
1582
|
+
optional SubProtocol protocol = 1;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
message Metadata {
|
|
1586
|
+
optional CONSUMER_APPLICATION_METADATA_SPECIAL_TEXT_SIZE specialTextSize = 1;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
message Option {
|
|
1590
|
+
optional string optionName = 1;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
message Payload {
|
|
1594
|
+
oneof payload {
|
|
1595
|
+
ConsumerApplication.Content content = 1;
|
|
1596
|
+
ConsumerApplication.ApplicationData applicationData = 2;
|
|
1597
|
+
ConsumerApplication.Signal signal = 3;
|
|
1598
|
+
ConsumerApplication.SubProtocolPayload subProtocol = 4;
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
message Point {
|
|
1603
|
+
optional double x = 1;
|
|
1604
|
+
optional double y = 2;
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
message PollAddOptionMessage {
|
|
1608
|
+
repeated ConsumerApplication.Option pollOption = 1;
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
message PollCreationMessage {
|
|
1612
|
+
optional bytes encKey = 1;
|
|
1613
|
+
optional string name = 2;
|
|
1614
|
+
repeated ConsumerApplication.Option options = 3;
|
|
1615
|
+
optional uint32 selectableOptionsCount = 4;
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
message PollEncValue {
|
|
1619
|
+
optional bytes encPayload = 1;
|
|
1620
|
+
optional bytes encIv = 2;
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
message PollUpdateMessage {
|
|
1624
|
+
optional MessageKey pollCreationMessageKey = 1;
|
|
1625
|
+
optional ConsumerApplication.PollEncValue vote = 2;
|
|
1626
|
+
optional ConsumerApplication.PollEncValue addOption = 3;
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
message PollVoteMessage {
|
|
1630
|
+
repeated bytes selectedOptions = 1;
|
|
1631
|
+
optional int64 senderTimestampMs = 2;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
message ReactionMessage {
|
|
1635
|
+
optional MessageKey key = 1;
|
|
1636
|
+
optional string text = 2;
|
|
1637
|
+
optional string groupingKey = 3;
|
|
1638
|
+
optional int64 senderTimestampMs = 4;
|
|
1639
|
+
optional string reactionMetadataDataclassData = 5;
|
|
1640
|
+
optional int32 style = 6;
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
message RevokeMessage {
|
|
1644
|
+
optional MessageKey key = 1;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
message Signal {
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
message StatusTextMesage {
|
|
1651
|
+
optional ConsumerApplication.ExtendedTextMessage text = 1;
|
|
1652
|
+
optional fixed32 textArgb = 6;
|
|
1653
|
+
optional fixed32 backgroundArgb = 7;
|
|
1654
|
+
optional CONSUMER_APPLICATION_STATUS_TEXT_MESAGE_FONT_TYPE font = 8;
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
message StickerMessage {
|
|
1658
|
+
optional SubProtocol sticker = 1;
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
message SubProtocolPayload {
|
|
1662
|
+
optional FUTURE_PROOF_BEHAVIOR futureProof = 1;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
message VideoMessage {
|
|
1666
|
+
optional SubProtocol video = 1;
|
|
1667
|
+
optional MessageText caption = 2;
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
message ViewOnceMessage {
|
|
1671
|
+
oneof viewOnceContent {
|
|
1672
|
+
ConsumerApplication.ImageMessage imageMessage = 1;
|
|
1673
|
+
ConsumerApplication.VideoMessage videoMessage = 2;
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1430
1679
|
message ContextInfo {
|
|
1431
1680
|
optional string stanzaId = 1;
|
|
1432
1681
|
optional string participant = 2;
|
|
@@ -1717,7 +1966,7 @@ message ContextInfo {
|
|
|
1717
1966
|
}
|
|
1718
1967
|
|
|
1719
1968
|
message Conversation {
|
|
1720
|
-
|
|
1969
|
+
optional string id = 1;
|
|
1721
1970
|
repeated HistorySyncMsg messages = 2;
|
|
1722
1971
|
optional string newJid = 3;
|
|
1723
1972
|
optional string oldJid = 4;
|
|
@@ -1794,6 +2043,43 @@ message Conversation {
|
|
|
1794
2043
|
}
|
|
1795
2044
|
}
|
|
1796
2045
|
|
|
2046
|
+
message CreateBackupInput {
|
|
2047
|
+
optional string recoveryCode = 1;
|
|
2048
|
+
optional uint64 userId = 2;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
message CreateBackupOutput {
|
|
2052
|
+
optional DeviceOutput device = 1;
|
|
2053
|
+
optional VirtualDeviceOutput virtualDevice = 2;
|
|
2054
|
+
optional Epoch0Output epoch0 = 3;
|
|
2055
|
+
optional bytes mailboxRootKey = 4;
|
|
2056
|
+
optional string error = 5;
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
message DecryptMessageInput {
|
|
2060
|
+
optional bytes epochRootKey = 1;
|
|
2061
|
+
optional bytes epochAnonId = 2;
|
|
2062
|
+
optional string threadId = 3;
|
|
2063
|
+
optional int32 encryptionVersion = 4;
|
|
2064
|
+
optional bytes ciphertext = 5;
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
message DecryptMessageOutput {
|
|
2068
|
+
optional bytes plaintextPayload = 1;
|
|
2069
|
+
optional string error = 2;
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
message DeriveMessageKeyInput {
|
|
2073
|
+
optional bytes epochRootKey = 1;
|
|
2074
|
+
optional bytes epochAnonId = 2;
|
|
2075
|
+
optional string threadId = 3;
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
message DeriveMessageKeyOutput {
|
|
2079
|
+
optional bytes messageKey = 1;
|
|
2080
|
+
optional string error = 2;
|
|
2081
|
+
}
|
|
2082
|
+
|
|
1797
2083
|
message DeviceCapabilities {
|
|
1798
2084
|
optional ChatLockSupportLevel chatLockSupportLevel = 1;
|
|
1799
2085
|
optional LIDMigration lidMigration = 2;
|
|
@@ -1859,6 +2145,18 @@ message DeviceListMetadata {
|
|
|
1859
2145
|
repeated uint32 recipientKeyIndexes = 10 [packed=true];
|
|
1860
2146
|
}
|
|
1861
2147
|
|
|
2148
|
+
message DeviceOutput {
|
|
2149
|
+
optional bytes publicKey = 1;
|
|
2150
|
+
optional bytes epochAuthPublicKey = 2;
|
|
2151
|
+
optional bytes epochAuthPublicKeySig = 3;
|
|
2152
|
+
optional bytes epochStoragePublicKey = 4;
|
|
2153
|
+
optional bytes epochStoragePublicKeySig = 5;
|
|
2154
|
+
repeated int32 supportedEncryptionVersions = 6;
|
|
2155
|
+
optional bytes encryptionVersionSignature = 7;
|
|
2156
|
+
optional int32 clientVersion = 8;
|
|
2157
|
+
optional bytes ocmfClientState = 9;
|
|
2158
|
+
}
|
|
2159
|
+
|
|
1862
2160
|
message DeviceProps {
|
|
1863
2161
|
optional string os = 1;
|
|
1864
2162
|
optional AppVersion version = 2;
|
|
@@ -1898,7 +2196,6 @@ message DeviceProps {
|
|
|
1898
2196
|
optional bool supportHatchHistory = 22;
|
|
1899
2197
|
repeated string supportedBotChannelFbids = 23;
|
|
1900
2198
|
optional bool supportInlineContacts = 24;
|
|
1901
|
-
optional bool supportNewsletter = 25;
|
|
1902
2199
|
}
|
|
1903
2200
|
|
|
1904
2201
|
enum PlatformType {
|
|
@@ -1980,16 +2277,61 @@ message EmbeddedMusic {
|
|
|
1980
2277
|
optional int64 overlapDurationInMs = 14;
|
|
1981
2278
|
}
|
|
1982
2279
|
|
|
2280
|
+
message EncryptMessageInput {
|
|
2281
|
+
optional bytes epochRootKey = 1;
|
|
2282
|
+
optional bytes mailboxRootKey = 2;
|
|
2283
|
+
optional bytes orfClientState = 3;
|
|
2284
|
+
optional bytes epochAnonId = 4;
|
|
2285
|
+
optional uint64 epochId = 5;
|
|
2286
|
+
optional string threadId = 6;
|
|
2287
|
+
optional uint64 waCanonicalUserFbid = 7;
|
|
2288
|
+
optional uint64 timestampMs = 8;
|
|
2289
|
+
optional uint64 backupId = 9;
|
|
2290
|
+
optional bytes plaintextPayload = 10;
|
|
2291
|
+
optional string stanzaId = 11;
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
message EncryptMessageOutput {
|
|
2295
|
+
optional bytes encryptedProtobuf = 1;
|
|
2296
|
+
optional bytes orfThreadId = 2;
|
|
2297
|
+
optional string valueSecretRef = 3;
|
|
2298
|
+
optional uint64 offlineThreadingId = 4;
|
|
2299
|
+
optional uint64 timestampMs = 5;
|
|
2300
|
+
optional bytes messageKey = 6;
|
|
2301
|
+
optional string error = 7;
|
|
2302
|
+
}
|
|
2303
|
+
|
|
1983
2304
|
message EncryptedPairingRequest {
|
|
1984
2305
|
optional bytes encryptedPayload = 1;
|
|
1985
2306
|
optional bytes iv = 2;
|
|
1986
2307
|
}
|
|
1987
2308
|
|
|
2309
|
+
message EncryptedSecretValuesOutput {
|
|
2310
|
+
optional bytes encryptedDevicePrivateKey = 1;
|
|
2311
|
+
optional bytes encryptedObliviousValidationTokenBlob = 2;
|
|
2312
|
+
optional bytes encryptedEpochStoragePrivateKey = 3;
|
|
2313
|
+
optional bytes encryptedOcmfClientState = 4;
|
|
2314
|
+
optional bytes encryptedOrfClientStateV2 = 5;
|
|
2315
|
+
optional bytes encryptedMailboxRootKeyBlob = 6;
|
|
2316
|
+
optional bytes encryptedEpochAnonId = 7;
|
|
2317
|
+
optional bytes encryptedEpochRootKey = 8;
|
|
2318
|
+
}
|
|
2319
|
+
|
|
1988
2320
|
message EphemeralSetting {
|
|
1989
2321
|
optional sfixed32 duration = 1;
|
|
1990
2322
|
optional sfixed64 timestamp = 2;
|
|
1991
2323
|
}
|
|
1992
2324
|
|
|
2325
|
+
message Epoch0Output {
|
|
2326
|
+
optional uint64 epochFbid = 1;
|
|
2327
|
+
optional bytes epochAnonId = 2;
|
|
2328
|
+
optional bytes epochData = 3;
|
|
2329
|
+
optional bytes wrappedRootKeyForSelf = 4;
|
|
2330
|
+
optional bytes epochSignature = 5;
|
|
2331
|
+
optional bytes epochRootKeyFingerprint = 6;
|
|
2332
|
+
optional bytes epochRootKey = 7;
|
|
2333
|
+
}
|
|
2334
|
+
|
|
1993
2335
|
message EventAdditionalMetadata {
|
|
1994
2336
|
optional bool isStale = 1;
|
|
1995
2337
|
}
|
|
@@ -2015,6 +2357,11 @@ message ExternalBlobReference {
|
|
|
2015
2357
|
optional bytes fileEncSha256 = 6;
|
|
2016
2358
|
}
|
|
2017
2359
|
|
|
2360
|
+
enum FUTURE_PROOF_BEHAVIOR {
|
|
2361
|
+
PLACEHOLDER = 0;
|
|
2362
|
+
NO_PLACEHOLDER = 1;
|
|
2363
|
+
IGNORE = 2;
|
|
2364
|
+
}
|
|
2018
2365
|
message Field {
|
|
2019
2366
|
optional uint32 minVersion = 1;
|
|
2020
2367
|
optional uint32 maxVersion = 2;
|
|
@@ -2023,6 +2370,15 @@ message Field {
|
|
|
2023
2370
|
map<uint32, Field> subfield = 5;
|
|
2024
2371
|
}
|
|
2025
2372
|
|
|
2373
|
+
message FingerprintData {
|
|
2374
|
+
optional bytes publicKey = 1;
|
|
2375
|
+
optional bytes pnIdentifier = 2;
|
|
2376
|
+
optional bytes lidIdentifier = 3;
|
|
2377
|
+
optional bytes usernameIdentifier = 4;
|
|
2378
|
+
optional HostedState hostedState = 5;
|
|
2379
|
+
optional bytes hashedPublicKey = 6;
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2026
2382
|
message ForwardedAIBotMessageInfo {
|
|
2027
2383
|
optional string botName = 1;
|
|
2028
2384
|
optional string botJid = 2;
|
|
@@ -2052,6 +2408,13 @@ message GlobalSettings {
|
|
|
2052
2408
|
optional int64 chatDbLidMigrationTimestamp = 20;
|
|
2053
2409
|
}
|
|
2054
2410
|
|
|
2411
|
+
message GroupHistory {
|
|
2412
|
+
repeated WebMessageInfo messages = 1;
|
|
2413
|
+
repeated UnCountedAssociatedMessageList uncountedAssociatedMessageLists = 2;
|
|
2414
|
+
repeated WebMessageInfo commentMessages = 3;
|
|
2415
|
+
repeated WebMessageInfo outOfWindowPinnedMessages = 4;
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2055
2418
|
message GroupHistoryBundleInfo {
|
|
2056
2419
|
optional Message.MessageHistoryBundle deprecatedMessageHistoryBundle = 1;
|
|
2057
2420
|
optional ProcessState processState = 2;
|
|
@@ -2070,13 +2433,20 @@ message GroupHistoryIndividualMessageInfo {
|
|
|
2070
2433
|
optional bool editedAfterReceivedAsHistory = 2;
|
|
2071
2434
|
}
|
|
2072
2435
|
|
|
2436
|
+
message GroupHistoryWithMessageBytes {
|
|
2437
|
+
repeated WebMessageInfoWithMessageBytes messages = 1;
|
|
2438
|
+
repeated UnCountedAssociatedMessageListWithMessageBytes uncountedAssociatedMessageLists = 2;
|
|
2439
|
+
repeated WebMessageInfoWithMessageBytes commentMessages = 3;
|
|
2440
|
+
repeated WebMessageInfoWithMessageBytes outOfWindowPinnedMessages = 4;
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2073
2443
|
message GroupMention {
|
|
2074
2444
|
optional string groupJid = 1;
|
|
2075
2445
|
optional string groupSubject = 2;
|
|
2076
2446
|
}
|
|
2077
2447
|
|
|
2078
2448
|
message GroupParticipant {
|
|
2079
|
-
|
|
2449
|
+
optional string userJid = 1;
|
|
2080
2450
|
optional Rank rank = 2;
|
|
2081
2451
|
optional MemberLabel memberLabel = 3;
|
|
2082
2452
|
enum Rank {
|
|
@@ -2151,7 +2521,7 @@ message HatchMetadataSync {
|
|
|
2151
2521
|
}
|
|
2152
2522
|
|
|
2153
2523
|
message HistorySync {
|
|
2154
|
-
|
|
2524
|
+
optional HistorySyncType syncType = 1;
|
|
2155
2525
|
repeated Conversation conversations = 2;
|
|
2156
2526
|
repeated WebMessageInfo statusV3Messages = 3;
|
|
2157
2527
|
optional uint32 chunkOrder = 5;
|
|
@@ -2191,6 +2561,10 @@ message HistorySyncMsg {
|
|
|
2191
2561
|
optional uint64 msgOrderId = 2;
|
|
2192
2562
|
}
|
|
2193
2563
|
|
|
2564
|
+
enum HostedState {
|
|
2565
|
+
E2EE = 0;
|
|
2566
|
+
HOSTED = 1;
|
|
2567
|
+
}
|
|
2194
2568
|
message HydratedTemplateButton {
|
|
2195
2569
|
optional uint32 index = 4;
|
|
2196
2570
|
oneof hydratedButton {
|
|
@@ -2326,10 +2700,31 @@ message KeyId {
|
|
|
2326
2700
|
optional bytes id = 1;
|
|
2327
2701
|
}
|
|
2328
2702
|
|
|
2703
|
+
message LIDMigrationMapping {
|
|
2704
|
+
optional uint64 pn = 1;
|
|
2705
|
+
optional uint64 assignedLid = 2;
|
|
2706
|
+
optional uint64 latestLid = 3;
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2329
2709
|
message LIDMigrationMappingSyncMessage {
|
|
2330
2710
|
optional bytes encodedMappingPayload = 1;
|
|
2331
2711
|
}
|
|
2332
2712
|
|
|
2713
|
+
message LIDMigrationMappingSyncPayload {
|
|
2714
|
+
repeated LIDMigrationMapping pnToLidMappings = 1;
|
|
2715
|
+
optional uint64 chatDbMigrationTimestamp = 2;
|
|
2716
|
+
}
|
|
2717
|
+
|
|
2718
|
+
message LabyrinthWaCommand {
|
|
2719
|
+
oneof commandInput {
|
|
2720
|
+
CreateBackupInput createBackupInput = 1;
|
|
2721
|
+
EncryptMessageInput encryptMessageInput = 2;
|
|
2722
|
+
DecryptMessageInput decryptMessageInput = 3;
|
|
2723
|
+
OrfThreadIdInput orfThreadIdInput = 4;
|
|
2724
|
+
DeriveMessageKeyInput deriveMessageKeyInput = 5;
|
|
2725
|
+
}
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2333
2728
|
message LegacyMessage {
|
|
2334
2729
|
optional Message.EventResponseMessage eventResponseMessage = 1;
|
|
2335
2730
|
optional Message.PollVoteMessage pollVote = 2;
|
|
@@ -2360,6 +2755,9 @@ message Location {
|
|
|
2360
2755
|
optional string name = 3;
|
|
2361
2756
|
}
|
|
2362
2757
|
|
|
2758
|
+
enum MENTION_MENTION_TYPE {
|
|
2759
|
+
PROFILE = 0;
|
|
2760
|
+
}
|
|
2363
2761
|
message MediaData {
|
|
2364
2762
|
optional string localPath = 1;
|
|
2365
2763
|
}
|
|
@@ -2369,6 +2767,40 @@ message MediaDomainInfo {
|
|
|
2369
2767
|
optional bytes e2EeMediaKey = 2;
|
|
2370
2768
|
}
|
|
2371
2769
|
|
|
2770
|
+
message MediaEntry {
|
|
2771
|
+
optional bytes fileSha256 = 1;
|
|
2772
|
+
optional bytes mediaKey = 2;
|
|
2773
|
+
optional bytes fileEncSha256 = 3;
|
|
2774
|
+
optional string directPath = 4;
|
|
2775
|
+
optional int64 mediaKeyTimestamp = 5;
|
|
2776
|
+
optional string serverMediaType = 6;
|
|
2777
|
+
optional bytes uploadToken = 7;
|
|
2778
|
+
optional bytes validatedTimestamp = 8;
|
|
2779
|
+
optional bytes sidecar = 9;
|
|
2780
|
+
optional string objectId = 10;
|
|
2781
|
+
optional string fbid = 11;
|
|
2782
|
+
optional DownloadableThumbnail downloadableThumbnail = 12;
|
|
2783
|
+
optional string handle = 13;
|
|
2784
|
+
optional string filename = 14;
|
|
2785
|
+
optional ProgressiveJpegDetails progressiveJpegDetails = 15;
|
|
2786
|
+
optional int64 size = 16;
|
|
2787
|
+
optional int64 lastDownloadAttemptTimestamp = 17;
|
|
2788
|
+
message DownloadableThumbnail {
|
|
2789
|
+
optional bytes fileSha256 = 1;
|
|
2790
|
+
optional bytes fileEncSha256 = 2;
|
|
2791
|
+
optional string directPath = 3;
|
|
2792
|
+
optional bytes mediaKey = 4;
|
|
2793
|
+
optional int64 mediaKeyTimestamp = 5;
|
|
2794
|
+
optional string objectId = 6;
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2797
|
+
message ProgressiveJpegDetails {
|
|
2798
|
+
repeated uint32 scanLengths = 1;
|
|
2799
|
+
optional bytes sidecar = 2;
|
|
2800
|
+
}
|
|
2801
|
+
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2372
2804
|
enum MediaKeyDomain {
|
|
2373
2805
|
MEDIA_KEY_DOMAIN_UNKNOWN = 0;
|
|
2374
2806
|
MEDIA_KEY_DOMAIN_E2EE = 1;
|
|
@@ -2403,6 +2835,13 @@ message MemberLabel {
|
|
|
2403
2835
|
optional int64 labelTimestamp = 2;
|
|
2404
2836
|
}
|
|
2405
2837
|
|
|
2838
|
+
message Mention {
|
|
2839
|
+
optional MENTION_MENTION_TYPE mentionType = 1;
|
|
2840
|
+
optional string mentionedJid = 2;
|
|
2841
|
+
optional uint32 offset = 3;
|
|
2842
|
+
optional uint32 length = 4;
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2406
2845
|
message Message {
|
|
2407
2846
|
optional string conversation = 1;
|
|
2408
2847
|
optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
|
|
@@ -3738,6 +4177,7 @@ message Message {
|
|
|
3738
4177
|
GALAXY_FLOW_ACTION = 11;
|
|
3739
4178
|
BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO = 12;
|
|
3740
4179
|
BUSINESS_BROADCAST_INSIGHTS_REFRESH = 13;
|
|
4180
|
+
CONTACT_REFRESH_REQUEST = 14;
|
|
3741
4181
|
}
|
|
3742
4182
|
message PinInChatMessage {
|
|
3743
4183
|
optional MessageKey key = 1;
|
|
@@ -4210,10 +4650,10 @@ message Message {
|
|
|
4210
4650
|
}
|
|
4211
4651
|
|
|
4212
4652
|
message VideoEndCard {
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4653
|
+
optional string username = 1;
|
|
4654
|
+
optional string caption = 2;
|
|
4655
|
+
optional string thumbnailImageUrl = 3;
|
|
4656
|
+
optional string profilePictureUrl = 4;
|
|
4217
4657
|
}
|
|
4218
4658
|
|
|
4219
4659
|
message VideoMessage {
|
|
@@ -4352,6 +4792,13 @@ message MessageSecretMessage {
|
|
|
4352
4792
|
optional bytes encPayload = 3;
|
|
4353
4793
|
}
|
|
4354
4794
|
|
|
4795
|
+
message MessageText {
|
|
4796
|
+
optional string text = 1;
|
|
4797
|
+
repeated string mentionedJid = 2;
|
|
4798
|
+
repeated Command commands = 3;
|
|
4799
|
+
repeated Mention mentions = 4;
|
|
4800
|
+
}
|
|
4801
|
+
|
|
4355
4802
|
message Money {
|
|
4356
4803
|
optional int64 value = 1;
|
|
4357
4804
|
optional uint32 offset = 2;
|
|
@@ -4581,6 +5028,16 @@ message NotificationSettings {
|
|
|
4581
5028
|
optional string callVibrate = 6;
|
|
4582
5029
|
}
|
|
4583
5030
|
|
|
5031
|
+
message OrfThreadIdInput {
|
|
5032
|
+
optional bytes orfClientState = 1;
|
|
5033
|
+
optional string threadId = 2;
|
|
5034
|
+
}
|
|
5035
|
+
|
|
5036
|
+
message OrfThreadIdOutput {
|
|
5037
|
+
optional bytes orfThreadId = 1;
|
|
5038
|
+
optional string error = 2;
|
|
5039
|
+
}
|
|
5040
|
+
|
|
4584
5041
|
message PairingRequest {
|
|
4585
5042
|
optional bytes companionPublicKey = 1;
|
|
4586
5043
|
optional bytes companionIdentityKey = 2;
|
|
@@ -4836,6 +5293,41 @@ message Pushname {
|
|
|
4836
5293
|
optional string pushname = 2;
|
|
4837
5294
|
}
|
|
4838
5295
|
|
|
5296
|
+
message QP {
|
|
5297
|
+
enum ClauseType {
|
|
5298
|
+
AND = 1;
|
|
5299
|
+
OR = 2;
|
|
5300
|
+
NOR = 3;
|
|
5301
|
+
}
|
|
5302
|
+
message Filter {
|
|
5303
|
+
optional string filterName = 1;
|
|
5304
|
+
repeated QP.FilterParameters parameters = 2;
|
|
5305
|
+
optional QP.FilterResult filterResult = 3;
|
|
5306
|
+
optional QP.FilterClientNotSupportedConfig clientNotSupportedConfig = 4;
|
|
5307
|
+
}
|
|
5308
|
+
|
|
5309
|
+
message FilterClause {
|
|
5310
|
+
optional QP.ClauseType clauseType = 1;
|
|
5311
|
+
repeated QP.FilterClause clauses = 2;
|
|
5312
|
+
repeated QP.Filter filters = 3;
|
|
5313
|
+
}
|
|
5314
|
+
|
|
5315
|
+
enum FilterClientNotSupportedConfig {
|
|
5316
|
+
PASS_BY_DEFAULT = 1;
|
|
5317
|
+
FAIL_BY_DEFAULT = 2;
|
|
5318
|
+
}
|
|
5319
|
+
message FilterParameters {
|
|
5320
|
+
optional string key = 1;
|
|
5321
|
+
optional string value = 2;
|
|
5322
|
+
}
|
|
5323
|
+
|
|
5324
|
+
enum FilterResult {
|
|
5325
|
+
TRUE = 1;
|
|
5326
|
+
FALSE = 2;
|
|
5327
|
+
UNKNOWN = 3;
|
|
5328
|
+
}
|
|
5329
|
+
}
|
|
5330
|
+
|
|
4839
5331
|
message QuarantinedMessage {
|
|
4840
5332
|
optional bytes originalData = 1;
|
|
4841
5333
|
optional string extractedText = 2;
|
|
@@ -4868,7 +5360,15 @@ message Reportable {
|
|
|
4868
5360
|
|
|
4869
5361
|
message ReportingTokenInfo {
|
|
4870
5362
|
optional bytes reportingTag = 1;
|
|
4871
|
-
|
|
5363
|
+
}
|
|
5364
|
+
|
|
5365
|
+
message RoutingInfo {
|
|
5366
|
+
repeated int32 regionId = 1;
|
|
5367
|
+
repeated int32 clusterId = 2;
|
|
5368
|
+
optional int32 taskId = 3;
|
|
5369
|
+
optional bool debug = 4;
|
|
5370
|
+
optional bool tcpBbr = 5;
|
|
5371
|
+
optional bool tcpKeepalive = 6;
|
|
4872
5372
|
}
|
|
4873
5373
|
|
|
4874
5374
|
message ScheduledMessageMetadata {
|
|
@@ -5036,7 +5536,6 @@ message StatusAttribution {
|
|
|
5036
5536
|
GOOGLE_PHOTOS = 10;
|
|
5037
5537
|
SOUNDCLOUD = 11;
|
|
5038
5538
|
SHAZAM = 12;
|
|
5039
|
-
PICSART = 13;
|
|
5040
5539
|
}
|
|
5041
5540
|
}
|
|
5042
5541
|
|
|
@@ -5103,7 +5602,7 @@ message StatusMentionMessage {
|
|
|
5103
5602
|
}
|
|
5104
5603
|
|
|
5105
5604
|
message StatusPSA {
|
|
5106
|
-
|
|
5605
|
+
optional uint64 campaignId = 44;
|
|
5107
5606
|
optional uint64 campaignExpirationTimestamp = 45;
|
|
5108
5607
|
}
|
|
5109
5608
|
|
|
@@ -5124,6 +5623,11 @@ message StickerMetadata {
|
|
|
5124
5623
|
optional bool isAvatarSticker = 14;
|
|
5125
5624
|
}
|
|
5126
5625
|
|
|
5626
|
+
message SubProtocol {
|
|
5627
|
+
optional bytes payload = 1;
|
|
5628
|
+
optional int32 version = 2;
|
|
5629
|
+
}
|
|
5630
|
+
|
|
5127
5631
|
message SyncActionData {
|
|
5128
5632
|
optional bytes index = 1;
|
|
5129
5633
|
optional SyncActionValue value = 2;
|
|
@@ -5266,7 +5770,7 @@ message SyncActionValue {
|
|
|
5266
5770
|
}
|
|
5267
5771
|
|
|
5268
5772
|
message BroadcastListParticipant {
|
|
5269
|
-
|
|
5773
|
+
optional string lidJid = 1;
|
|
5270
5774
|
optional string pnJid = 2;
|
|
5271
5775
|
}
|
|
5272
5776
|
|
|
@@ -5348,15 +5852,15 @@ message SyncActionValue {
|
|
|
5348
5852
|
}
|
|
5349
5853
|
|
|
5350
5854
|
message CustomPaymentMethod {
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5855
|
+
optional string credentialId = 1;
|
|
5856
|
+
optional string country = 2;
|
|
5857
|
+
optional string type = 3;
|
|
5354
5858
|
repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
|
|
5355
5859
|
}
|
|
5356
5860
|
|
|
5357
5861
|
message CustomPaymentMethodMetadata {
|
|
5358
|
-
|
|
5359
|
-
|
|
5862
|
+
optional string key = 1;
|
|
5863
|
+
optional string value = 2;
|
|
5360
5864
|
}
|
|
5361
5865
|
|
|
5362
5866
|
message CustomPaymentMethodsAction {
|
|
@@ -5408,7 +5912,7 @@ message SyncActionValue {
|
|
|
5408
5912
|
}
|
|
5409
5913
|
|
|
5410
5914
|
message InteractiveMessageAction {
|
|
5411
|
-
|
|
5915
|
+
optional InteractiveMessageActionMode type = 1;
|
|
5412
5916
|
optional string agmId = 2;
|
|
5413
5917
|
enum InteractiveMessageActionMode {
|
|
5414
5918
|
DISABLE_CTA = 1;
|
|
@@ -5514,8 +6018,8 @@ message SyncActionValue {
|
|
|
5514
6018
|
}
|
|
5515
6019
|
|
|
5516
6020
|
message MerchantPaymentPartnerAction {
|
|
5517
|
-
|
|
5518
|
-
|
|
6021
|
+
optional Status status = 1;
|
|
6022
|
+
optional string country = 2;
|
|
5519
6023
|
optional string gatewayName = 3;
|
|
5520
6024
|
optional string credentialId = 4;
|
|
5521
6025
|
enum Status {
|
|
@@ -5580,8 +6084,8 @@ message SyncActionValue {
|
|
|
5580
6084
|
}
|
|
5581
6085
|
|
|
5582
6086
|
message PaymentTosAction {
|
|
5583
|
-
|
|
5584
|
-
|
|
6087
|
+
optional PaymentNotice paymentNotice = 1;
|
|
6088
|
+
optional bool accepted = 2;
|
|
5585
6089
|
enum PaymentNotice {
|
|
5586
6090
|
BR_PAY_PRIVACY_POLICY = 0;
|
|
5587
6091
|
}
|
|
@@ -5910,6 +6414,12 @@ message SyncdPatch {
|
|
|
5910
6414
|
optional bytes clientDebugData = 9;
|
|
5911
6415
|
}
|
|
5912
6416
|
|
|
6417
|
+
message SyncdPlainTextRecord {
|
|
6418
|
+
optional SyncActionData value = 1;
|
|
6419
|
+
optional bytes keyId = 2;
|
|
6420
|
+
optional bytes mac = 3;
|
|
6421
|
+
}
|
|
6422
|
+
|
|
5913
6423
|
message SyncdRecord {
|
|
5914
6424
|
optional SyncdIndex index = 1;
|
|
5915
6425
|
optional SyncdValue value = 2;
|
|
@@ -5923,6 +6433,13 @@ message SyncdSnapshot {
|
|
|
5923
6433
|
optional KeyId keyId = 4;
|
|
5924
6434
|
}
|
|
5925
6435
|
|
|
6436
|
+
message SyncdSnapshotRecovery {
|
|
6437
|
+
optional SyncdVersion version = 1;
|
|
6438
|
+
optional string collectionName = 2;
|
|
6439
|
+
repeated SyncdPlainTextRecord mutationRecords = 3;
|
|
6440
|
+
optional bytes collectionLthash = 4;
|
|
6441
|
+
}
|
|
6442
|
+
|
|
5926
6443
|
message SyncdValue {
|
|
5927
6444
|
optional bytes blob = 1;
|
|
5928
6445
|
}
|
|
@@ -5970,6 +6487,17 @@ message ThreadID {
|
|
|
5970
6487
|
}
|
|
5971
6488
|
}
|
|
5972
6489
|
|
|
6490
|
+
message UnCountedAssociatedMessageList {
|
|
6491
|
+
repeated WebMessageInfo messages = 1;
|
|
6492
|
+
optional MessageKey parentMessage = 2;
|
|
6493
|
+
optional MessageAssociation.AssociationType associationType = 3;
|
|
6494
|
+
}
|
|
6495
|
+
|
|
6496
|
+
message UnCountedAssociatedMessageListWithMessageBytes {
|
|
6497
|
+
repeated WebMessageInfoWithMessageBytes messages = 1;
|
|
6498
|
+
optional MessageKey parentMessage = 2;
|
|
6499
|
+
}
|
|
6500
|
+
|
|
5973
6501
|
message UrlTrackingMap {
|
|
5974
6502
|
repeated UrlTrackingMapElement urlTrackingMapElements = 1;
|
|
5975
6503
|
message UrlTrackingMapElement {
|
|
@@ -6010,7 +6538,7 @@ message UserPassword {
|
|
|
6010
6538
|
}
|
|
6011
6539
|
|
|
6012
6540
|
message UserReceipt {
|
|
6013
|
-
|
|
6541
|
+
optional string userJid = 1;
|
|
6014
6542
|
optional int64 receiptTimestamp = 2;
|
|
6015
6543
|
optional int64 readTimestamp = 3;
|
|
6016
6544
|
optional int64 playedTimestamp = 4;
|
|
@@ -6032,6 +6560,16 @@ message VerifiedNameCertificate {
|
|
|
6032
6560
|
|
|
6033
6561
|
}
|
|
6034
6562
|
|
|
6563
|
+
message VirtualDeviceOutput {
|
|
6564
|
+
optional bytes vdId = 1;
|
|
6565
|
+
optional bytes vdPublicKey = 2;
|
|
6566
|
+
optional bytes vdEpochStoragePublicKey = 3;
|
|
6567
|
+
optional bytes vdEpochStoragePublicKeySig = 4;
|
|
6568
|
+
optional bytes ocmfRotationToken = 5;
|
|
6569
|
+
optional bytes deviceEpochHmac = 6;
|
|
6570
|
+
optional EncryptedSecretValuesOutput encryptedSecretValues = 7;
|
|
6571
|
+
}
|
|
6572
|
+
|
|
6035
6573
|
message WallpaperSettings {
|
|
6036
6574
|
optional string filename = 1;
|
|
6037
6575
|
optional uint32 opacity = 2;
|
|
@@ -6097,7 +6635,7 @@ enum WebLinkRenderConfig {
|
|
|
6097
6635
|
SYSTEM = 1;
|
|
6098
6636
|
}
|
|
6099
6637
|
message WebMessageInfo {
|
|
6100
|
-
|
|
6638
|
+
optional MessageKey key = 1;
|
|
6101
6639
|
optional Message message = 2;
|
|
6102
6640
|
optional uint64 messageTimestamp = 3;
|
|
6103
6641
|
optional Status status = 4;
|
|
@@ -6417,9 +6955,289 @@ message WebMessageInfo {
|
|
|
6417
6955
|
}
|
|
6418
6956
|
}
|
|
6419
6957
|
|
|
6958
|
+
message WebMessageInfoWithMessageBytes {
|
|
6959
|
+
optional MessageKey key = 1;
|
|
6960
|
+
optional bytes messageBytes = 2;
|
|
6961
|
+
}
|
|
6962
|
+
|
|
6420
6963
|
message WebNotificationsInfo {
|
|
6421
6964
|
optional uint64 timestamp = 2;
|
|
6422
6965
|
optional uint32 unreadChats = 3;
|
|
6423
6966
|
optional uint32 notifyMessageCount = 4;
|
|
6424
6967
|
repeated WebMessageInfo notifyMessages = 5;
|
|
6425
6968
|
}
|
|
6969
|
+
|
|
6970
|
+
// >>> wa.voip (VoIP engine, generated by decode-voip-wasm.js) >>>
|
|
6971
|
+
enum DataChannelMessage_MessageScope {
|
|
6972
|
+
MESSAGE_SCOPE_UNSPECIFIED = 0;
|
|
6973
|
+
MESSAGE_SCOPE_RELAY_READABLE = 1;
|
|
6974
|
+
MESSAGE_SCOPE_END_TO_END = 2;
|
|
6975
|
+
}
|
|
6976
|
+
|
|
6977
|
+
enum DataChannelMessage_MessageType {
|
|
6978
|
+
MESSAGE_TYPE_UNSPECIFIED = 0;
|
|
6979
|
+
MESSAGE_TYPE_DATA = 1;
|
|
6980
|
+
MESSAGE_TYPE_CONTROL = 2;
|
|
6981
|
+
}
|
|
6982
|
+
|
|
6983
|
+
enum DataChannelMessage_RoutingMode {
|
|
6984
|
+
ROUTING_MODE_UNSPECIFIED = 0;
|
|
6985
|
+
ROUTING_MODE_RELAY_ONLY = 1;
|
|
6986
|
+
ROUTING_MODE_SELECTIVE_FORWARD = 2;
|
|
6987
|
+
ROUTING_MODE_BROADCAST = 3;
|
|
6988
|
+
}
|
|
6989
|
+
|
|
6990
|
+
enum RekeyKeyType {
|
|
6991
|
+
REKEY_KEY_AUDIO = 0;
|
|
6992
|
+
REKEY_KEY_VIDEO = 1;
|
|
6993
|
+
REKEY_KEY_APPDATA = 2;
|
|
6994
|
+
}
|
|
6995
|
+
|
|
6996
|
+
enum RxVidSubscriptionInfo_VideoQuality {
|
|
6997
|
+
DEFAULT = 0;
|
|
6998
|
+
LOW = 1;
|
|
6999
|
+
MEDIUM = 2;
|
|
7000
|
+
HIGH = 3;
|
|
7001
|
+
HD = 4;
|
|
7002
|
+
}
|
|
7003
|
+
|
|
7004
|
+
enum SenderSubscriptionExt_TemporalLayer {
|
|
7005
|
+
BASE = 0;
|
|
7006
|
+
ENHANCEMENT = 1;
|
|
7007
|
+
}
|
|
7008
|
+
|
|
7009
|
+
enum StreamDescriptor_PayloadType {
|
|
7010
|
+
Media = 0;
|
|
7011
|
+
Fec = 1;
|
|
7012
|
+
Nack = 2;
|
|
7013
|
+
HbhFec = 3;
|
|
7014
|
+
AppData = 4;
|
|
7015
|
+
}
|
|
7016
|
+
|
|
7017
|
+
enum StreamDescriptor_StreamLayer {
|
|
7018
|
+
Audio = 0;
|
|
7019
|
+
VideoStream0 = 1;
|
|
7020
|
+
VideoStream1 = 2;
|
|
7021
|
+
HbhFecClientToServer = 3;
|
|
7022
|
+
HbhFecServerToClient = 4;
|
|
7023
|
+
AppDataStream0 = 5;
|
|
7024
|
+
LiveTranscriptionStream0 = 6;
|
|
7025
|
+
IMUDataStream0 = 7;
|
|
7026
|
+
ScreenShareVideoStream0 = 8;
|
|
7027
|
+
ScreenShareVideoStream1 = 9;
|
|
7028
|
+
}
|
|
7029
|
+
|
|
7030
|
+
// original: wa.voip.appDataMessage
|
|
7031
|
+
message appDataMessage {
|
|
7032
|
+
reactionInfo reaction_info = 1;
|
|
7033
|
+
liveTranscriptionInfo transcription_info = 2;
|
|
7034
|
+
arEffectInfo ar_effect_info = 3;
|
|
7035
|
+
}
|
|
7036
|
+
|
|
7037
|
+
// original: wa.voip.appDataPayloads
|
|
7038
|
+
message appDataPayloads {
|
|
7039
|
+
repeated appDataMessage messages = 1;
|
|
7040
|
+
}
|
|
7041
|
+
|
|
7042
|
+
// original: wa.voip.AQSStats
|
|
7043
|
+
message AQSStats {
|
|
7044
|
+
optional int32 aqs = 1;
|
|
7045
|
+
}
|
|
7046
|
+
|
|
7047
|
+
// original: wa.voip.arEffectInfo
|
|
7048
|
+
message arEffectInfo {
|
|
7049
|
+
uint64 transaction_id = 1;
|
|
7050
|
+
string ar_effect_id = 2;
|
|
7051
|
+
}
|
|
7052
|
+
|
|
7053
|
+
// original: wa.voip.BackupMute
|
|
7054
|
+
message BackupMute {
|
|
7055
|
+
bool is_muted = 1;
|
|
7056
|
+
}
|
|
7057
|
+
|
|
7058
|
+
// original: wa.voip.BackupRelayLatency
|
|
7059
|
+
message BackupRelayLatency {
|
|
7060
|
+
uint32 ipv4 = 1;
|
|
7061
|
+
bytes ipv6 = 2;
|
|
7062
|
+
uint32 port = 3;
|
|
7063
|
+
sint32 latency_ms = 4;
|
|
7064
|
+
uint32 tx_bitrate = 5;
|
|
7065
|
+
uint32 rx_bitrate = 6;
|
|
7066
|
+
uint64 conn_id = 7;
|
|
7067
|
+
bool is_xpop_relay = 8;
|
|
7068
|
+
bool is_favored = 9;
|
|
7069
|
+
string relay_name = 10;
|
|
7070
|
+
}
|
|
7071
|
+
|
|
7072
|
+
// original: wa.voip.BackupRelayLatencyReport
|
|
7073
|
+
message BackupRelayLatencyReport {
|
|
7074
|
+
int32 relay_transaction_id = 1;
|
|
7075
|
+
repeated BackupRelayLatency relays = 2;
|
|
7076
|
+
}
|
|
7077
|
+
|
|
7078
|
+
// original: wa.voip.BackupSignalEnvelope
|
|
7079
|
+
message BackupSignalEnvelope {
|
|
7080
|
+
BackupRelayLatencyReport relay_latency = 1;
|
|
7081
|
+
BackupMute mute = 2;
|
|
7082
|
+
BackupVideoState video_state = 3;
|
|
7083
|
+
BackupTerminate terminate = 4;
|
|
7084
|
+
}
|
|
7085
|
+
|
|
7086
|
+
// original: wa.voip.BackupTerminate
|
|
7087
|
+
message BackupTerminate {
|
|
7088
|
+
string reason = 1;
|
|
7089
|
+
}
|
|
7090
|
+
|
|
7091
|
+
// original: wa.voip.BackupVideoState
|
|
7092
|
+
message BackupVideoState {
|
|
7093
|
+
int32 video_state = 1;
|
|
7094
|
+
int32 transaction_id = 2;
|
|
7095
|
+
int32 device_orientation = 3;
|
|
7096
|
+
int32 codec_scheme = 4;
|
|
7097
|
+
string vid_dec_capability = 5;
|
|
7098
|
+
}
|
|
7099
|
+
|
|
7100
|
+
// original: wa.voip.BwaInfo
|
|
7101
|
+
message BwaInfo {
|
|
7102
|
+
uint32 id = 1;
|
|
7103
|
+
uint32 num_participants = 2;
|
|
7104
|
+
}
|
|
7105
|
+
|
|
7106
|
+
// original: wa.voip.BwaStream
|
|
7107
|
+
message BwaStream {
|
|
7108
|
+
uint32 bitrate = 1;
|
|
7109
|
+
uint64 subscribed_pids_bitmap_0_63 = 2;
|
|
7110
|
+
uint64 subscribed_pids_bitmap_64_127 = 3;
|
|
7111
|
+
}
|
|
7112
|
+
|
|
7113
|
+
// original: wa.voip.DataChannelMessage
|
|
7114
|
+
message DataChannelMessage {
|
|
7115
|
+
uint32 from_pid = 1;
|
|
7116
|
+
repeated uint32 recipient_pids = 2;
|
|
7117
|
+
DataChannelMessage_RoutingMode routing_mode = 3;
|
|
7118
|
+
DataChannelMessage_MessageScope scope = 4;
|
|
7119
|
+
DataChannelMessage_MessageType message_type = 5;
|
|
7120
|
+
bytes payload = 6;
|
|
7121
|
+
uint32 transaction_id = 7;
|
|
7122
|
+
}
|
|
7123
|
+
|
|
7124
|
+
// original: wa.voip.E2eRekeyPayload
|
|
7125
|
+
message E2eRekeyPayload {
|
|
7126
|
+
repeated RekeyKeyEntry keys = 1;
|
|
7127
|
+
}
|
|
7128
|
+
|
|
7129
|
+
// original: wa.voip.liveTranscriptionInfo
|
|
7130
|
+
message liveTranscriptionInfo {
|
|
7131
|
+
uint64 transcript_id = 1;
|
|
7132
|
+
string caption = 2;
|
|
7133
|
+
string language = 3;
|
|
7134
|
+
}
|
|
7135
|
+
|
|
7136
|
+
// original: wa.voip.PeerFeedback
|
|
7137
|
+
message PeerFeedback {
|
|
7138
|
+
optional VideoSenderStats video_sender_stats = 1;
|
|
7139
|
+
optional VideoFeedbackMessage video_fb_msg = 2;
|
|
7140
|
+
optional AQSStats aqs_stats = 3;
|
|
7141
|
+
optional bool noise_suppression_ui_status = 4;
|
|
7142
|
+
}
|
|
7143
|
+
|
|
7144
|
+
// original: wa.voip.reactionInfo
|
|
7145
|
+
message reactionInfo {
|
|
7146
|
+
uint64 transaction_id = 1;
|
|
7147
|
+
string reaction = 2;
|
|
7148
|
+
}
|
|
7149
|
+
|
|
7150
|
+
// original: wa.voip.RekeyKeyEntry
|
|
7151
|
+
message RekeyKeyEntry {
|
|
7152
|
+
RekeyKeyType type = 1;
|
|
7153
|
+
bytes key = 2;
|
|
7154
|
+
}
|
|
7155
|
+
|
|
7156
|
+
// original: wa.voip.RtcpRxSubscriptions
|
|
7157
|
+
message RtcpRxSubscriptions {
|
|
7158
|
+
repeated RtcpRxSubscriptionsPerParticipant rx_subscriptions = 1;
|
|
7159
|
+
}
|
|
7160
|
+
|
|
7161
|
+
// original: wa.voip.RtcpRxSubscriptionsPerParticipant
|
|
7162
|
+
message RtcpRxSubscriptionsPerParticipant {
|
|
7163
|
+
uint32 tx_pid = 1;
|
|
7164
|
+
RxSubscriptions rx_subscriptions = 2;
|
|
7165
|
+
}
|
|
7166
|
+
|
|
7167
|
+
// original: wa.voip.RxSubscriptions
|
|
7168
|
+
message RxSubscriptions {
|
|
7169
|
+
repeated uint32 vid_rx_pids = 1;
|
|
7170
|
+
repeated RxVidSubscriptionInfo vid_subscriptions = 2;
|
|
7171
|
+
}
|
|
7172
|
+
|
|
7173
|
+
// original: wa.voip.RxVidSubscriptionInfo
|
|
7174
|
+
message RxVidSubscriptionInfo {
|
|
7175
|
+
uint32 pid = 1;
|
|
7176
|
+
RxVidSubscriptionInfo_VideoQuality vid_quality = 2;
|
|
7177
|
+
}
|
|
7178
|
+
|
|
7179
|
+
// original: wa.voip.SenderSubscriptionExt
|
|
7180
|
+
message SenderSubscriptionExt {
|
|
7181
|
+
SenderSubscriptionExt_SSrcsToPidAssignments ssrcLayers = 1;
|
|
7182
|
+
}
|
|
7183
|
+
|
|
7184
|
+
// original: wa.voip.SenderSubscriptionExt.PidTemporalLayer
|
|
7185
|
+
message SenderSubscriptionExt_PidTemporalLayer {
|
|
7186
|
+
uint32 pid = 1;
|
|
7187
|
+
SenderSubscriptionExt_TemporalLayer layerId = 2;
|
|
7188
|
+
}
|
|
7189
|
+
|
|
7190
|
+
// original: wa.voip.SenderSubscriptionExt.SSrcsToPidAssignments
|
|
7191
|
+
message SenderSubscriptionExt_SSrcsToPidAssignments {
|
|
7192
|
+
repeated uint32 ssrcs = 1;
|
|
7193
|
+
repeated SenderSubscriptionExt_PidTemporalLayer pids = 2;
|
|
7194
|
+
}
|
|
7195
|
+
|
|
7196
|
+
// original: wa.voip.SenderSubscriptions
|
|
7197
|
+
message SenderSubscriptions {
|
|
7198
|
+
repeated SenderSubscriptionExt subscriptions = 1;
|
|
7199
|
+
}
|
|
7200
|
+
|
|
7201
|
+
// original: wa.voip.SimulcastBwaResults
|
|
7202
|
+
message SimulcastBwaResults {
|
|
7203
|
+
BwaInfo info = 1;
|
|
7204
|
+
BwaStream stream1 = 2;
|
|
7205
|
+
BwaStream stream2 = 3;
|
|
7206
|
+
}
|
|
7207
|
+
|
|
7208
|
+
// original: wa.voip.SrtpAfbStreamInfo
|
|
7209
|
+
message SrtpAfbStreamInfo {
|
|
7210
|
+
bool is_valid = 1;
|
|
7211
|
+
uint32 ssrc = 2;
|
|
7212
|
+
uint32 rtcp_index = 3;
|
|
7213
|
+
uint64 rtp_index = 4;
|
|
7214
|
+
}
|
|
7215
|
+
|
|
7216
|
+
// original: wa.voip.SrtpAfbStreams
|
|
7217
|
+
message SrtpAfbStreams {
|
|
7218
|
+
repeated SrtpAfbStreamInfo srtp_afb = 1;
|
|
7219
|
+
}
|
|
7220
|
+
|
|
7221
|
+
// original: wa.voip.StreamDescriptor
|
|
7222
|
+
message StreamDescriptor {
|
|
7223
|
+
StreamDescriptor_StreamLayer stream_layer = 1;
|
|
7224
|
+
StreamDescriptor_PayloadType payload_type = 2;
|
|
7225
|
+
uint32 ssrc = 3;
|
|
7226
|
+
bool is_uplink_prefetch_enabled = 4;
|
|
7227
|
+
}
|
|
7228
|
+
|
|
7229
|
+
// original: wa.voip.StreamDescriptors
|
|
7230
|
+
message StreamDescriptors {
|
|
7231
|
+
repeated StreamDescriptor stream_descriptors = 1;
|
|
7232
|
+
}
|
|
7233
|
+
|
|
7234
|
+
// original: wa.voip.VideoFeedbackMessage
|
|
7235
|
+
message VideoFeedbackMessage {
|
|
7236
|
+
optional int32 freeze_state = 1;
|
|
7237
|
+
}
|
|
7238
|
+
|
|
7239
|
+
// original: wa.voip.VideoSenderStats
|
|
7240
|
+
message VideoSenderStats {
|
|
7241
|
+
optional int32 sender_bwe = 1;
|
|
7242
|
+
}
|
|
7243
|
+
// <<< wa.voip <<<
|