@queenanya/baileys 6.6.6 → 6.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -5
- package/README.md +31 -93
- package/WAProto/WAProto.proto +473 -8
- package/WAProto/index.d.ts +4793 -22
- package/WAProto/index.js +32548 -19335
- package/lib/Defaults/baileys-version.json +1 -1
- package/lib/Defaults/index.d.ts +2 -2
- package/lib/Defaults/index.js +6 -2
- package/lib/Socket/business.d.ts +9 -0
- package/lib/Socket/chats.d.ts +4 -0
- package/lib/Socket/chats.js +13 -1
- package/lib/Socket/groups.d.ts +6 -0
- package/lib/Socket/groups.js +9 -2
- package/lib/Socket/index.d.ts +9 -0
- package/lib/Socket/messages-recv.d.ts +9 -0
- package/lib/Socket/messages-recv.js +29 -7
- package/lib/Socket/messages-send.d.ts +7 -0
- package/lib/Socket/messages-send.js +7 -4
- package/lib/Socket/registration.d.ts +9 -0
- package/lib/Socket/socket.js +3 -2
- package/lib/Store/make-cache-manager-store.d.ts +0 -1
- package/lib/Types/Call.d.ts +1 -0
- package/lib/Types/Contact.d.ts +1 -0
- package/lib/Types/Events.d.ts +5 -0
- package/lib/Types/GroupMetadata.d.ts +2 -0
- package/lib/Types/Message.d.ts +7 -1
- package/lib/Types/Socket.d.ts +2 -0
- package/lib/Types/index.d.ts +3 -1
- package/lib/Types/index.js +2 -0
- package/lib/Utils/chat-utils.js +14 -0
- package/lib/Utils/decode-wa-message.d.ts +2 -2
- package/lib/Utils/decode-wa-message.js +18 -4
- package/lib/Utils/generics.d.ts +1 -0
- package/lib/Utils/generics.js +1 -0
- package/lib/Utils/messages-media.js +1 -1
- package/lib/Utils/messages.d.ts +1 -1
- package/lib/Utils/messages.js +11 -5
- package/lib/Utils/process-message.js +27 -4
- package/lib/Utils/validate-connection.js +33 -2
- package/lib/WABinary/decode.js +1 -1
- package/lib/WABinary/encode.js +3 -3
- package/lib/WABinary/jid-utils.d.ts +4 -2
- package/lib/WABinary/jid-utils.js +6 -3
- package/package.json +5 -5
package/WAProto/WAProto.proto
CHANGED
|
@@ -31,11 +31,13 @@ message ADVSignedDeviceIdentity {
|
|
|
31
31
|
message ADVSignedDeviceIdentityHMAC {
|
|
32
32
|
optional bytes details = 1;
|
|
33
33
|
optional bytes hmac = 2;
|
|
34
|
+
optional ADVEncryptionType accountType = 3;
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
message ADVSignedKeyIndexList {
|
|
37
38
|
optional bytes details = 1;
|
|
38
39
|
optional bytes accountSignature = 2;
|
|
40
|
+
optional bytes accountSignatureKey = 3;
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
message ActionLink {
|
|
@@ -102,10 +104,88 @@ message BizIdentityInfo {
|
|
|
102
104
|
message BotAvatarMetadata {
|
|
103
105
|
optional uint32 sentiment = 1;
|
|
104
106
|
optional string behaviorGraph = 2;
|
|
107
|
+
optional uint32 action = 3;
|
|
108
|
+
optional uint32 intensity = 4;
|
|
109
|
+
optional uint32 wordCount = 5;
|
|
105
110
|
}
|
|
106
111
|
|
|
107
112
|
message BotMetadata {
|
|
108
113
|
optional BotAvatarMetadata avatarMetadata = 1;
|
|
114
|
+
optional string personaId = 2;
|
|
115
|
+
optional BotPluginMetadata pluginMetadata = 3;
|
|
116
|
+
optional BotSuggestedPromptMetadata suggestedPromptMetadata = 4;
|
|
117
|
+
optional string invokerJid = 5;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
message BotPluginMetadata {
|
|
121
|
+
optional SearchProvider provider = 1;
|
|
122
|
+
optional PluginType pluginType = 2;
|
|
123
|
+
optional string thumbnailCdnUrl = 3;
|
|
124
|
+
optional string profilePhotoCdnUrl = 4;
|
|
125
|
+
optional string searchProviderUrl = 5;
|
|
126
|
+
optional uint32 referenceIndex = 6;
|
|
127
|
+
optional uint32 expectedLinksCount = 7;
|
|
128
|
+
optional uint32 pluginVersion = 8;
|
|
129
|
+
enum PluginType {
|
|
130
|
+
REELS = 1;
|
|
131
|
+
SEARCH = 2;
|
|
132
|
+
}
|
|
133
|
+
enum SearchProvider {
|
|
134
|
+
BING = 1;
|
|
135
|
+
GOOGLE = 2;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
message BotSuggestedPromptMetadata {
|
|
140
|
+
repeated string suggestedPrompts = 1;
|
|
141
|
+
optional uint32 selectedPromptIndex = 2;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
message CallLogRecord {
|
|
145
|
+
optional CallResult callResult = 1;
|
|
146
|
+
optional bool isDndMode = 2;
|
|
147
|
+
optional SilenceReason silenceReason = 3;
|
|
148
|
+
optional int64 duration = 4;
|
|
149
|
+
optional int64 startTime = 5;
|
|
150
|
+
optional bool isIncoming = 6;
|
|
151
|
+
optional bool isVideo = 7;
|
|
152
|
+
optional bool isCallLink = 8;
|
|
153
|
+
optional string callLinkToken = 9;
|
|
154
|
+
optional string scheduledCallId = 10;
|
|
155
|
+
optional string callId = 11;
|
|
156
|
+
optional string callCreatorJid = 12;
|
|
157
|
+
optional string groupJid = 13;
|
|
158
|
+
repeated ParticipantInfo participants = 14;
|
|
159
|
+
optional CallType callType = 15;
|
|
160
|
+
enum CallResult {
|
|
161
|
+
CONNECTED = 0;
|
|
162
|
+
REJECTED = 1;
|
|
163
|
+
CANCELLED = 2;
|
|
164
|
+
ACCEPTEDELSEWHERE = 3;
|
|
165
|
+
MISSED = 4;
|
|
166
|
+
INVALID = 5;
|
|
167
|
+
UNAVAILABLE = 6;
|
|
168
|
+
UPCOMING = 7;
|
|
169
|
+
FAILED = 8;
|
|
170
|
+
ABANDONED = 9;
|
|
171
|
+
ONGOING = 10;
|
|
172
|
+
}
|
|
173
|
+
enum CallType {
|
|
174
|
+
REGULAR = 0;
|
|
175
|
+
SCHEDULED_CALL = 1;
|
|
176
|
+
VOICE_CHAT = 2;
|
|
177
|
+
}
|
|
178
|
+
message ParticipantInfo {
|
|
179
|
+
optional string userJid = 1;
|
|
180
|
+
optional CallLogRecord.CallResult callResult = 2;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
enum SilenceReason {
|
|
184
|
+
NONE = 0;
|
|
185
|
+
SCHEDULED = 1;
|
|
186
|
+
PRIVACY = 2;
|
|
187
|
+
LIGHTWEIGHT = 3;
|
|
188
|
+
}
|
|
109
189
|
}
|
|
110
190
|
|
|
111
191
|
message CertChain {
|
|
@@ -249,14 +329,14 @@ message ClientPayload {
|
|
|
249
329
|
}
|
|
250
330
|
message InteropData {
|
|
251
331
|
optional uint64 accountId = 1;
|
|
252
|
-
optional
|
|
253
|
-
optional bytes token = 3;
|
|
332
|
+
optional bytes token = 2;
|
|
254
333
|
}
|
|
255
334
|
|
|
256
335
|
enum Product {
|
|
257
336
|
WHATSAPP = 0;
|
|
258
337
|
MESSENGER = 1;
|
|
259
338
|
INTEROP = 2;
|
|
339
|
+
INTEROP_MSGR = 3;
|
|
260
340
|
}
|
|
261
341
|
message UserAgent {
|
|
262
342
|
optional Platform platform = 1;
|
|
@@ -324,6 +404,8 @@ message ClientPayload {
|
|
|
324
404
|
VRDEVICE = 31;
|
|
325
405
|
BLUE_WEB = 32;
|
|
326
406
|
IPAD = 33;
|
|
407
|
+
TEST = 34;
|
|
408
|
+
SMART_GLASSES = 35;
|
|
327
409
|
}
|
|
328
410
|
enum ReleaseChannel {
|
|
329
411
|
RELEASE = 0;
|
|
@@ -363,6 +445,11 @@ message ClientPayload {
|
|
|
363
445
|
|
|
364
446
|
}
|
|
365
447
|
|
|
448
|
+
message CommentMetadata {
|
|
449
|
+
optional MessageKey commentParentKey = 1;
|
|
450
|
+
optional uint32 replyCount = 2;
|
|
451
|
+
}
|
|
452
|
+
|
|
366
453
|
message ContextInfo {
|
|
367
454
|
optional string stanzaId = 1;
|
|
368
455
|
optional string participant = 2;
|
|
@@ -394,6 +481,9 @@ message ContextInfo {
|
|
|
394
481
|
optional UTMInfo utm = 41;
|
|
395
482
|
optional ForwardedNewsletterMessageInfo forwardedNewsletterMessageInfo = 43;
|
|
396
483
|
optional BusinessMessageForwardInfo businessMessageForwardInfo = 44;
|
|
484
|
+
optional string smbClientCampaignId = 45;
|
|
485
|
+
optional string smbServerCampaignId = 46;
|
|
486
|
+
optional DataSharingContext dataSharingContext = 47;
|
|
397
487
|
message AdReplyInfo {
|
|
398
488
|
optional string advertiserName = 1;
|
|
399
489
|
optional MediaType mediaType = 2;
|
|
@@ -410,6 +500,10 @@ message ContextInfo {
|
|
|
410
500
|
optional string businessOwnerJid = 1;
|
|
411
501
|
}
|
|
412
502
|
|
|
503
|
+
message DataSharingContext {
|
|
504
|
+
optional bool showMmDisclosure = 1;
|
|
505
|
+
}
|
|
506
|
+
|
|
413
507
|
message ExternalAdReplyInfo {
|
|
414
508
|
optional string title = 1;
|
|
415
509
|
optional string body = 2;
|
|
@@ -435,6 +529,14 @@ message ContextInfo {
|
|
|
435
529
|
message ForwardedNewsletterMessageInfo {
|
|
436
530
|
optional string newsletterJid = 1;
|
|
437
531
|
optional int32 serverMessageId = 2;
|
|
532
|
+
optional string newsletterName = 3;
|
|
533
|
+
optional ContentType contentType = 4;
|
|
534
|
+
optional string accessibilityText = 5;
|
|
535
|
+
enum ContentType {
|
|
536
|
+
UPDATE = 1;
|
|
537
|
+
UPDATE_CARD = 2;
|
|
538
|
+
LINK_CARD = 3;
|
|
539
|
+
}
|
|
438
540
|
}
|
|
439
541
|
|
|
440
542
|
message UTMInfo {
|
|
@@ -487,6 +589,9 @@ message Conversation {
|
|
|
487
589
|
optional bool shareOwnPn = 40;
|
|
488
590
|
optional bool pnhDuplicateLidThread = 41;
|
|
489
591
|
optional string lidJid = 42;
|
|
592
|
+
optional string username = 43;
|
|
593
|
+
optional string lidOriginType = 44;
|
|
594
|
+
optional uint32 commentsCount = 45;
|
|
490
595
|
enum EndOfHistoryTransferType {
|
|
491
596
|
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
|
492
597
|
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
|
@@ -503,6 +608,8 @@ message DeviceListMetadata {
|
|
|
503
608
|
optional bytes senderKeyHash = 1;
|
|
504
609
|
optional uint64 senderTimestamp = 2;
|
|
505
610
|
repeated uint32 senderKeyIndexes = 3 [packed=true];
|
|
611
|
+
optional ADVEncryptionType senderAccountType = 4;
|
|
612
|
+
optional ADVEncryptionType receiverAccountType = 5;
|
|
506
613
|
optional bytes recipientKeyHash = 8;
|
|
507
614
|
optional uint64 recipientTimestamp = 9;
|
|
508
615
|
repeated uint32 recipientKeyIndexes = 10 [packed=true];
|
|
@@ -528,6 +635,9 @@ message DeviceProps {
|
|
|
528
635
|
optional uint32 storageQuotaMb = 3;
|
|
529
636
|
optional bool inlineInitialPayloadInE2EeMsg = 4;
|
|
530
637
|
optional uint32 recentSyncDaysLimit = 5;
|
|
638
|
+
optional bool supportCallLogHistory = 6;
|
|
639
|
+
optional bool supportBotUserAgentChatHistory = 7;
|
|
640
|
+
optional bool supportCagReactionsAndPolls = 8;
|
|
531
641
|
}
|
|
532
642
|
|
|
533
643
|
enum PlatformType {
|
|
@@ -561,16 +671,19 @@ message DisappearingMode {
|
|
|
561
671
|
optional Initiator initiator = 1;
|
|
562
672
|
optional Trigger trigger = 2;
|
|
563
673
|
optional string initiatorDeviceJid = 3;
|
|
674
|
+
optional bool initiatedByMe = 4;
|
|
564
675
|
enum Initiator {
|
|
565
676
|
CHANGED_IN_CHAT = 0;
|
|
566
677
|
INITIATED_BY_ME = 1;
|
|
567
678
|
INITIATED_BY_OTHER = 2;
|
|
679
|
+
BIZ_UPGRADE_FB_HOSTING = 3;
|
|
568
680
|
}
|
|
569
681
|
enum Trigger {
|
|
570
682
|
UNKNOWN = 0;
|
|
571
683
|
CHAT_SETTING = 1;
|
|
572
684
|
ACCOUNT_SETTING = 2;
|
|
573
685
|
BULK_CHANGE = 3;
|
|
686
|
+
BIZ_SUPPORTS_FB_HOSTING = 4;
|
|
574
687
|
}
|
|
575
688
|
}
|
|
576
689
|
|
|
@@ -579,6 +692,13 @@ message EphemeralSetting {
|
|
|
579
692
|
optional sfixed64 timestamp = 2;
|
|
580
693
|
}
|
|
581
694
|
|
|
695
|
+
message EventResponse {
|
|
696
|
+
optional MessageKey eventResponseMessageKey = 1;
|
|
697
|
+
optional int64 timestampMs = 2;
|
|
698
|
+
optional Message.EventResponseMessage eventResponseMessage = 3;
|
|
699
|
+
optional bool unread = 4;
|
|
700
|
+
}
|
|
701
|
+
|
|
582
702
|
message ExitCode {
|
|
583
703
|
optional uint64 code = 1;
|
|
584
704
|
optional string text = 2;
|
|
@@ -664,6 +784,13 @@ message HistorySync {
|
|
|
664
784
|
optional uint32 threadDsTimeframeOffset = 10;
|
|
665
785
|
repeated StickerMetadata recentStickers = 11;
|
|
666
786
|
repeated PastParticipants pastParticipants = 12;
|
|
787
|
+
repeated CallLogRecord callLogRecords = 13;
|
|
788
|
+
optional BotAIWaitListState aiWaitListState = 14;
|
|
789
|
+
repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15;
|
|
790
|
+
enum BotAIWaitListState {
|
|
791
|
+
IN_WAITLIST = 0;
|
|
792
|
+
AI_AVAILABLE = 1;
|
|
793
|
+
}
|
|
667
794
|
enum HistorySyncType {
|
|
668
795
|
INITIAL_BOOTSTRAP = 0;
|
|
669
796
|
INITIAL_STATUS_V3 = 1;
|
|
@@ -700,6 +827,13 @@ message HydratedTemplateButton {
|
|
|
700
827
|
message HydratedURLButton {
|
|
701
828
|
optional string displayText = 1;
|
|
702
829
|
optional string url = 2;
|
|
830
|
+
optional string consentedUsersUrl = 3;
|
|
831
|
+
optional WebviewPresentationType webviewPresentation = 4;
|
|
832
|
+
enum WebviewPresentationType {
|
|
833
|
+
FULL = 1;
|
|
834
|
+
TALL = 2;
|
|
835
|
+
COMPACT = 3;
|
|
836
|
+
}
|
|
703
837
|
}
|
|
704
838
|
|
|
705
839
|
}
|
|
@@ -711,8 +845,10 @@ message IdentityKeyPairStructure {
|
|
|
711
845
|
|
|
712
846
|
message InteractiveAnnotation {
|
|
713
847
|
repeated Point polygonVertices = 1;
|
|
848
|
+
optional bool shouldSkipConfirmation = 4;
|
|
714
849
|
oneof action {
|
|
715
850
|
Location location = 2;
|
|
851
|
+
ContextInfo.ForwardedNewsletterMessageInfo newsletter = 3;
|
|
716
852
|
}
|
|
717
853
|
}
|
|
718
854
|
|
|
@@ -758,6 +894,44 @@ message MediaData {
|
|
|
758
894
|
optional string localPath = 1;
|
|
759
895
|
}
|
|
760
896
|
|
|
897
|
+
message MediaEntry {
|
|
898
|
+
optional bytes fileSha256 = 1;
|
|
899
|
+
optional bytes mediaKey = 2;
|
|
900
|
+
optional bytes fileEncSha256 = 3;
|
|
901
|
+
optional string directPath = 4;
|
|
902
|
+
optional int64 mediaKeyTimestamp = 5;
|
|
903
|
+
optional string serverMediaType = 6;
|
|
904
|
+
optional bytes uploadToken = 7;
|
|
905
|
+
optional bytes validatedTimestamp = 8;
|
|
906
|
+
optional bytes sidecar = 9;
|
|
907
|
+
optional string objectId = 10;
|
|
908
|
+
optional string fbid = 11;
|
|
909
|
+
optional DownloadableThumbnail downloadableThumbnail = 12;
|
|
910
|
+
optional string handle = 13;
|
|
911
|
+
optional string filename = 14;
|
|
912
|
+
optional ProgressiveJpegDetails progressiveJpegDetails = 15;
|
|
913
|
+
message DownloadableThumbnail {
|
|
914
|
+
optional bytes fileSha256 = 1;
|
|
915
|
+
optional bytes fileEncSha256 = 2;
|
|
916
|
+
optional string directPath = 3;
|
|
917
|
+
optional bytes mediaKey = 4;
|
|
918
|
+
optional int64 mediaKeyTimestamp = 5;
|
|
919
|
+
optional string objectId = 6;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
message ProgressiveJpegDetails {
|
|
923
|
+
repeated int64 scanLengths = 1;
|
|
924
|
+
optional bytes sidecar = 2;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
message MediaNotifyMessage {
|
|
930
|
+
optional string expressPathUrl = 1;
|
|
931
|
+
optional bytes fileEncSha256 = 2;
|
|
932
|
+
optional uint64 fileLength = 3;
|
|
933
|
+
}
|
|
934
|
+
|
|
761
935
|
message MediaRetryNotification {
|
|
762
936
|
optional string stanzaId = 1;
|
|
763
937
|
optional string directPath = 2;
|
|
@@ -833,6 +1007,17 @@ message Message {
|
|
|
833
1007
|
optional ScheduledCallEditMessage scheduledCallEditMessage = 65;
|
|
834
1008
|
optional VideoMessage ptvMessage = 66;
|
|
835
1009
|
optional FutureProofMessage botInvokeMessage = 67;
|
|
1010
|
+
optional CallLogMessage callLogMesssage = 69;
|
|
1011
|
+
optional MessageHistoryBundle messageHistoryBundle = 70;
|
|
1012
|
+
optional EncCommentMessage encCommentMessage = 71;
|
|
1013
|
+
optional BCallMessage bcallMessage = 72;
|
|
1014
|
+
optional FutureProofMessage lottieStickerMessage = 74;
|
|
1015
|
+
optional EventMessage eventMessage = 75;
|
|
1016
|
+
optional CommentMessage commentMessage = 77;
|
|
1017
|
+
optional NewsletterAdminInviteMessage newsletterAdminInviteMessage = 78;
|
|
1018
|
+
optional ExtendedTextMessageWithParentKey extendedTextMessageWithParentKey = 79;
|
|
1019
|
+
optional PlaceholderMessage placeholderMessage = 80;
|
|
1020
|
+
optional EncEventUpdateMessage encEventUpdateMessage = 81;
|
|
836
1021
|
message AppStateFatalExceptionNotification {
|
|
837
1022
|
repeated string collectionNames = 1;
|
|
838
1023
|
optional int64 timestamp = 2;
|
|
@@ -885,10 +1070,24 @@ message Message {
|
|
|
885
1070
|
optional bool viewOnce = 21;
|
|
886
1071
|
}
|
|
887
1072
|
|
|
1073
|
+
message BCallMessage {
|
|
1074
|
+
optional string sessionId = 1;
|
|
1075
|
+
optional MediaType mediaType = 2;
|
|
1076
|
+
optional bytes masterKey = 3;
|
|
1077
|
+
optional string caption = 4;
|
|
1078
|
+
enum MediaType {
|
|
1079
|
+
UNKNOWN = 0;
|
|
1080
|
+
AUDIO = 1;
|
|
1081
|
+
VIDEO = 2;
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
|
|
888
1085
|
message BotFeedbackMessage {
|
|
889
1086
|
optional MessageKey messageKey = 1;
|
|
890
1087
|
optional BotFeedbackKind kind = 2;
|
|
891
1088
|
optional string text = 3;
|
|
1089
|
+
optional uint64 kindNegative = 4;
|
|
1090
|
+
optional uint64 kindPositive = 5;
|
|
892
1091
|
enum BotFeedbackKind {
|
|
893
1092
|
BOT_FEEDBACK_POSITIVE = 0;
|
|
894
1093
|
BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
|
|
@@ -897,6 +1096,23 @@ message Message {
|
|
|
897
1096
|
BOT_FEEDBACK_NEGATIVE_ACCURATE = 4;
|
|
898
1097
|
BOT_FEEDBACK_NEGATIVE_SAFE = 5;
|
|
899
1098
|
BOT_FEEDBACK_NEGATIVE_OTHER = 6;
|
|
1099
|
+
BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
|
|
1100
|
+
BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
|
|
1101
|
+
BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
|
|
1102
|
+
}
|
|
1103
|
+
enum BotFeedbackKindMultipleNegative {
|
|
1104
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
|
|
1105
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2;
|
|
1106
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4;
|
|
1107
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8;
|
|
1108
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16;
|
|
1109
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32;
|
|
1110
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64;
|
|
1111
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128;
|
|
1112
|
+
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256;
|
|
1113
|
+
}
|
|
1114
|
+
enum BotFeedbackKindMultiplePositive {
|
|
1115
|
+
BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
|
|
900
1116
|
}
|
|
901
1117
|
}
|
|
902
1118
|
|
|
@@ -965,6 +1181,34 @@ message Message {
|
|
|
965
1181
|
optional uint32 conversionDelaySeconds = 4;
|
|
966
1182
|
}
|
|
967
1183
|
|
|
1184
|
+
message CallLogMessage {
|
|
1185
|
+
optional bool isVideo = 1;
|
|
1186
|
+
optional CallOutcome callOutcome = 2;
|
|
1187
|
+
optional int64 durationSecs = 3;
|
|
1188
|
+
optional CallType callType = 4;
|
|
1189
|
+
repeated CallParticipant participants = 5;
|
|
1190
|
+
enum CallOutcome {
|
|
1191
|
+
CONNECTED = 0;
|
|
1192
|
+
MISSED = 1;
|
|
1193
|
+
FAILED = 2;
|
|
1194
|
+
REJECTED = 3;
|
|
1195
|
+
ACCEPTED_ELSEWHERE = 4;
|
|
1196
|
+
ONGOING = 5;
|
|
1197
|
+
SILENCED_BY_DND = 6;
|
|
1198
|
+
SILENCED_UNKNOWN_CALLER = 7;
|
|
1199
|
+
}
|
|
1200
|
+
message CallParticipant {
|
|
1201
|
+
optional string jid = 1;
|
|
1202
|
+
optional Message.CallLogMessage.CallOutcome callOutcome = 2;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
enum CallType {
|
|
1206
|
+
REGULAR = 0;
|
|
1207
|
+
SCHEDULED_CALL = 1;
|
|
1208
|
+
VOICE_CHAT = 2;
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
|
|
968
1212
|
message CancelPaymentRequestMessage {
|
|
969
1213
|
optional MessageKey key = 1;
|
|
970
1214
|
}
|
|
@@ -974,6 +1218,11 @@ message Message {
|
|
|
974
1218
|
optional string id = 2;
|
|
975
1219
|
}
|
|
976
1220
|
|
|
1221
|
+
message CommentMessage {
|
|
1222
|
+
optional Message message = 1;
|
|
1223
|
+
optional MessageKey targetMessageKey = 2;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
977
1226
|
message ContactMessage {
|
|
978
1227
|
optional string displayName = 1;
|
|
979
1228
|
optional string vcard = 16;
|
|
@@ -1019,12 +1268,54 @@ message Message {
|
|
|
1019
1268
|
optional string caption = 20;
|
|
1020
1269
|
}
|
|
1021
1270
|
|
|
1271
|
+
message EncCommentMessage {
|
|
1272
|
+
optional MessageKey targetMessageKey = 1;
|
|
1273
|
+
optional bytes encPayload = 2;
|
|
1274
|
+
optional bytes encIv = 3;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
message EncEventUpdateMessage {
|
|
1278
|
+
optional MessageKey eventCreationMessageKey = 1;
|
|
1279
|
+
optional bytes encPayload = 2;
|
|
1280
|
+
optional bytes encIv = 3;
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1022
1283
|
message EncReactionMessage {
|
|
1023
1284
|
optional MessageKey targetMessageKey = 1;
|
|
1024
1285
|
optional bytes encPayload = 2;
|
|
1025
1286
|
optional bytes encIv = 3;
|
|
1026
1287
|
}
|
|
1027
1288
|
|
|
1289
|
+
message EventEditMessage {
|
|
1290
|
+
optional Message.EventMessage eventEditMessage = 1;
|
|
1291
|
+
optional int64 editTimestampMs = 2;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
message EventMessage {
|
|
1295
|
+
optional ContextInfo contextInfo = 1;
|
|
1296
|
+
optional bool isCanceled = 2;
|
|
1297
|
+
optional string name = 3;
|
|
1298
|
+
optional string description = 4;
|
|
1299
|
+
optional Message.LocationMessage location = 5;
|
|
1300
|
+
optional string joinLink = 6;
|
|
1301
|
+
optional int64 startTime = 7;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
message EventResponseMessage {
|
|
1305
|
+
optional EventResponseType response = 1;
|
|
1306
|
+
optional int64 timestampMs = 2;
|
|
1307
|
+
enum EventResponseType {
|
|
1308
|
+
UNKNOWN = 0;
|
|
1309
|
+
GOING = 1;
|
|
1310
|
+
NOT_GOING = 2;
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
message EventUpdateMessage {
|
|
1315
|
+
optional Message.EventResponseMessage response = 1;
|
|
1316
|
+
optional Message.EventEditMessage edit = 2;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1028
1319
|
message ExtendedTextMessage {
|
|
1029
1320
|
optional string text = 1;
|
|
1030
1321
|
optional string matchedText = 2;
|
|
@@ -1051,12 +1342,9 @@ message Message {
|
|
|
1051
1342
|
optional InviteLinkGroupType inviteLinkGroupTypeV2 = 29;
|
|
1052
1343
|
optional bool viewOnce = 30;
|
|
1053
1344
|
enum FontType {
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
BRYNDAN_WRITE = 3;
|
|
1058
|
-
BEBASNEUE_REGULAR = 4;
|
|
1059
|
-
OSWALD_HEAVY = 5;
|
|
1345
|
+
SYSTEM = 0;
|
|
1346
|
+
SYSTEM_TEXT = 1;
|
|
1347
|
+
FB_SCRIPT = 2;
|
|
1060
1348
|
SYSTEM_BOLD = 6;
|
|
1061
1349
|
MORNINGBREEZE_REGULAR = 7;
|
|
1062
1350
|
CALISTOGA_REGULAR = 8;
|
|
@@ -1072,9 +1360,16 @@ message Message {
|
|
|
1072
1360
|
enum PreviewType {
|
|
1073
1361
|
NONE = 0;
|
|
1074
1362
|
VIDEO = 1;
|
|
1363
|
+
PLACEHOLDER = 4;
|
|
1364
|
+
IMAGE = 5;
|
|
1075
1365
|
}
|
|
1076
1366
|
}
|
|
1077
1367
|
|
|
1368
|
+
message ExtendedTextMessageWithParentKey {
|
|
1369
|
+
optional MessageKey key = 1;
|
|
1370
|
+
optional Message.ExtendedTextMessage extendedTextMessage = 2;
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1078
1373
|
message FutureProofMessage {
|
|
1079
1374
|
optional Message message = 1;
|
|
1080
1375
|
}
|
|
@@ -1204,6 +1499,7 @@ message Message {
|
|
|
1204
1499
|
optional bytes thumbnailSha256 = 27;
|
|
1205
1500
|
optional bytes thumbnailEncSha256 = 28;
|
|
1206
1501
|
optional string staticUrl = 29;
|
|
1502
|
+
repeated InteractiveAnnotation annotations = 30;
|
|
1207
1503
|
}
|
|
1208
1504
|
|
|
1209
1505
|
message InitialSecurityNotificationSettingSync {
|
|
@@ -1415,6 +1711,25 @@ message Message {
|
|
|
1415
1711
|
optional ContextInfo contextInfo = 17;
|
|
1416
1712
|
}
|
|
1417
1713
|
|
|
1714
|
+
message MessageHistoryBundle {
|
|
1715
|
+
optional string mimetype = 2;
|
|
1716
|
+
optional bytes fileSha256 = 3;
|
|
1717
|
+
optional bytes mediaKey = 5;
|
|
1718
|
+
optional bytes fileEncSha256 = 6;
|
|
1719
|
+
optional string directPath = 7;
|
|
1720
|
+
optional int64 mediaKeyTimestamp = 8;
|
|
1721
|
+
optional ContextInfo contextInfo = 9;
|
|
1722
|
+
repeated string participants = 10;
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
message NewsletterAdminInviteMessage {
|
|
1726
|
+
optional string newsletterJid = 1;
|
|
1727
|
+
optional string newsletterName = 2;
|
|
1728
|
+
optional bytes jpegThumbnail = 3;
|
|
1729
|
+
optional string caption = 4;
|
|
1730
|
+
optional int64 inviteExpiration = 5;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1418
1733
|
message OrderMessage {
|
|
1419
1734
|
optional string orderId = 1;
|
|
1420
1735
|
optional bytes thumbnail = 2;
|
|
@@ -1428,8 +1743,12 @@ message Message {
|
|
|
1428
1743
|
optional int64 totalAmount1000 = 10;
|
|
1429
1744
|
optional string totalCurrencyCode = 11;
|
|
1430
1745
|
optional ContextInfo contextInfo = 17;
|
|
1746
|
+
optional int32 messageVersion = 12;
|
|
1747
|
+
optional MessageKey orderRequestMessageId = 13;
|
|
1431
1748
|
enum OrderStatus {
|
|
1432
1749
|
INQUIRY = 1;
|
|
1750
|
+
ACCEPTED = 2;
|
|
1751
|
+
DECLINED = 3;
|
|
1433
1752
|
}
|
|
1434
1753
|
enum OrderSurface {
|
|
1435
1754
|
CATALOG = 1;
|
|
@@ -1532,6 +1851,13 @@ message Message {
|
|
|
1532
1851
|
}
|
|
1533
1852
|
}
|
|
1534
1853
|
|
|
1854
|
+
message PlaceholderMessage {
|
|
1855
|
+
optional PlaceholderType type = 1;
|
|
1856
|
+
enum PlaceholderType {
|
|
1857
|
+
MASK_LINKED_DEVICES = 0;
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1535
1861
|
message PollCreationMessage {
|
|
1536
1862
|
optional bytes encKey = 1;
|
|
1537
1863
|
optional string name = 2;
|
|
@@ -1608,6 +1934,9 @@ message Message {
|
|
|
1608
1934
|
optional Message.PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16;
|
|
1609
1935
|
optional Message.PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17;
|
|
1610
1936
|
optional Message.BotFeedbackMessage botFeedbackMessage = 18;
|
|
1937
|
+
optional string invokerJid = 19;
|
|
1938
|
+
optional Message.RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20;
|
|
1939
|
+
optional MediaNotifyMessage mediaNotifyMessage = 21;
|
|
1611
1940
|
enum Type {
|
|
1612
1941
|
REVOKE = 0;
|
|
1613
1942
|
EPHEMERAL_SETTING = 3;
|
|
@@ -1624,6 +1953,7 @@ message Message {
|
|
|
1624
1953
|
PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = 17;
|
|
1625
1954
|
REQUEST_WELCOME_MESSAGE = 18;
|
|
1626
1955
|
BOT_FEEDBACK_MESSAGE = 19;
|
|
1956
|
+
MEDIA_NOTIFY_MESSAGE = 20;
|
|
1627
1957
|
}
|
|
1628
1958
|
}
|
|
1629
1959
|
|
|
@@ -1648,6 +1978,14 @@ message Message {
|
|
|
1648
1978
|
optional ContextInfo contextInfo = 1;
|
|
1649
1979
|
}
|
|
1650
1980
|
|
|
1981
|
+
message RequestWelcomeMessageMetadata {
|
|
1982
|
+
optional LocalChatState localChatState = 1;
|
|
1983
|
+
enum LocalChatState {
|
|
1984
|
+
EMPTY = 0;
|
|
1985
|
+
NON_EMPTY = 1;
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1651
1989
|
message ScheduledCallCreationMessage {
|
|
1652
1990
|
optional int64 scheduledTimestampMs = 1;
|
|
1653
1991
|
optional CallType callType = 2;
|
|
@@ -1697,6 +2035,8 @@ message Message {
|
|
|
1697
2035
|
optional ContextInfo contextInfo = 17;
|
|
1698
2036
|
optional int64 stickerSentTs = 18;
|
|
1699
2037
|
optional bool isAvatar = 19;
|
|
2038
|
+
optional bool isAiSticker = 20;
|
|
2039
|
+
optional bool isLottie = 21;
|
|
1700
2040
|
}
|
|
1701
2041
|
|
|
1702
2042
|
message StickerSyncRMRMessage {
|
|
@@ -1710,6 +2050,7 @@ message Message {
|
|
|
1710
2050
|
optional string selectedDisplayText = 2;
|
|
1711
2051
|
optional ContextInfo contextInfo = 3;
|
|
1712
2052
|
optional uint32 selectedIndex = 4;
|
|
2053
|
+
optional uint32 selectedCarouselCardIndex = 5;
|
|
1713
2054
|
}
|
|
1714
2055
|
|
|
1715
2056
|
message TemplateMessage {
|
|
@@ -1739,6 +2080,7 @@ message Message {
|
|
|
1739
2080
|
optional string hydratedFooterText = 7;
|
|
1740
2081
|
repeated HydratedTemplateButton hydratedButtons = 8;
|
|
1741
2082
|
optional string templateId = 9;
|
|
2083
|
+
optional bool maskLinkedDevices = 10;
|
|
1742
2084
|
oneof title {
|
|
1743
2085
|
Message.DocumentMessage documentMessage = 1;
|
|
1744
2086
|
string hydratedTitleText = 2;
|
|
@@ -1774,6 +2116,7 @@ message Message {
|
|
|
1774
2116
|
optional bytes thumbnailSha256 = 22;
|
|
1775
2117
|
optional bytes thumbnailEncSha256 = 23;
|
|
1776
2118
|
optional string staticUrl = 24;
|
|
2119
|
+
repeated InteractiveAnnotation annotations = 25;
|
|
1777
2120
|
enum Attribution {
|
|
1778
2121
|
NONE = 0;
|
|
1779
2122
|
GIPHY = 1;
|
|
@@ -1795,6 +2138,7 @@ message MessageContextInfo {
|
|
|
1795
2138
|
optional uint32 messageAddOnDurationInSecs = 5;
|
|
1796
2139
|
optional bytes botMessageSecret = 6;
|
|
1797
2140
|
optional BotMetadata botMetadata = 7;
|
|
2141
|
+
optional int32 reportingTokenVersion = 8;
|
|
1798
2142
|
}
|
|
1799
2143
|
|
|
1800
2144
|
message MessageKey {
|
|
@@ -1844,6 +2188,9 @@ message MsgOpaqueData {
|
|
|
1844
2188
|
optional bytes encReactionEncPayload = 26;
|
|
1845
2189
|
optional bytes encReactionEncIv = 27;
|
|
1846
2190
|
optional bytes botMessageSecret = 29;
|
|
2191
|
+
optional string targetMessageKey = 30;
|
|
2192
|
+
optional bytes encPayload = 31;
|
|
2193
|
+
optional bytes encIv = 32;
|
|
1847
2194
|
message PollOption {
|
|
1848
2195
|
optional string name = 1;
|
|
1849
2196
|
}
|
|
@@ -1899,6 +2246,29 @@ message PastParticipants {
|
|
|
1899
2246
|
repeated PastParticipant pastParticipants = 2;
|
|
1900
2247
|
}
|
|
1901
2248
|
|
|
2249
|
+
message PatchDebugData {
|
|
2250
|
+
optional bytes currentLthash = 1;
|
|
2251
|
+
optional bytes newLthash = 2;
|
|
2252
|
+
optional bytes patchVersion = 3;
|
|
2253
|
+
optional bytes collectionName = 4;
|
|
2254
|
+
optional bytes firstFourBytesFromAHashOfSnapshotMacKey = 5;
|
|
2255
|
+
optional bytes newLthashSubtract = 6;
|
|
2256
|
+
optional int32 numberAdd = 7;
|
|
2257
|
+
optional int32 numberRemove = 8;
|
|
2258
|
+
optional int32 numberOverride = 9;
|
|
2259
|
+
optional Platform senderPlatform = 10;
|
|
2260
|
+
optional bool isSenderPrimary = 11;
|
|
2261
|
+
enum Platform {
|
|
2262
|
+
ANDROID = 0;
|
|
2263
|
+
SMBA = 1;
|
|
2264
|
+
IPHONE = 2;
|
|
2265
|
+
SMBI = 3;
|
|
2266
|
+
WEB = 4;
|
|
2267
|
+
UWP = 5;
|
|
2268
|
+
DARWIN = 6;
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
|
|
1902
2272
|
message PaymentBackground {
|
|
1903
2273
|
optional string id = 1;
|
|
1904
2274
|
optional uint64 fileLength = 2;
|
|
@@ -1992,6 +2362,11 @@ message PaymentInfo {
|
|
|
1992
2362
|
}
|
|
1993
2363
|
}
|
|
1994
2364
|
|
|
2365
|
+
message PhoneNumberToLIDMapping {
|
|
2366
|
+
optional string pnJid = 1;
|
|
2367
|
+
optional string lidJid = 2;
|
|
2368
|
+
}
|
|
2369
|
+
|
|
1995
2370
|
message PhotoChange {
|
|
1996
2371
|
optional bytes oldPhoto = 1;
|
|
1997
2372
|
optional bytes newPhoto = 2;
|
|
@@ -2050,6 +2425,10 @@ message PreKeySignalMessage {
|
|
|
2050
2425
|
optional bytes message = 4;
|
|
2051
2426
|
}
|
|
2052
2427
|
|
|
2428
|
+
message PremiumMessageInfo {
|
|
2429
|
+
optional string serverCampaignId = 1;
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2053
2432
|
message Pushname {
|
|
2054
2433
|
optional string id = 1;
|
|
2055
2434
|
optional string pushname = 2;
|
|
@@ -2108,6 +2487,10 @@ message RecordStructure {
|
|
|
2108
2487
|
repeated SessionStructure previousSessions = 2;
|
|
2109
2488
|
}
|
|
2110
2489
|
|
|
2490
|
+
message ReportingTokenInfo {
|
|
2491
|
+
optional bytes reportingTag = 1;
|
|
2492
|
+
}
|
|
2493
|
+
|
|
2111
2494
|
message SenderKeyDistributionMessage {
|
|
2112
2495
|
optional uint32 id = 1;
|
|
2113
2496
|
optional uint32 iteration = 2;
|
|
@@ -2280,6 +2663,13 @@ message SyncActionValue {
|
|
|
2280
2663
|
optional MarketingMessageBroadcastAction marketingMessageBroadcastAction = 39;
|
|
2281
2664
|
optional ExternalWebBetaAction externalWebBetaAction = 40;
|
|
2282
2665
|
optional PrivacySettingRelayAllCalls privacySettingRelayAllCalls = 41;
|
|
2666
|
+
optional CallLogAction callLogAction = 42;
|
|
2667
|
+
optional StatusPrivacyAction statusPrivacy = 44;
|
|
2668
|
+
optional BotWelcomeRequestAction botWelcomeRequestAction = 45;
|
|
2669
|
+
optional DeleteIndividualCallLogAction deleteIndividualCallLog = 46;
|
|
2670
|
+
optional LabelReorderingAction labelReorderingAction = 47;
|
|
2671
|
+
optional PaymentInfoAction paymentInfoAction = 48;
|
|
2672
|
+
optional CustomPaymentMethodsAction customPaymentMethodsAction = 49;
|
|
2283
2673
|
message AgentAction {
|
|
2284
2674
|
optional string name = 1;
|
|
2285
2675
|
optional int32 deviceID = 2;
|
|
@@ -2295,6 +2685,14 @@ message SyncActionValue {
|
|
|
2295
2685
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
|
2296
2686
|
}
|
|
2297
2687
|
|
|
2688
|
+
message BotWelcomeRequestAction {
|
|
2689
|
+
optional bool isSent = 1;
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2692
|
+
message CallLogAction {
|
|
2693
|
+
optional CallLogRecord callLogRecord = 1;
|
|
2694
|
+
}
|
|
2695
|
+
|
|
2298
2696
|
message ChatAssignmentAction {
|
|
2299
2697
|
optional string deviceAgentID = 1;
|
|
2300
2698
|
}
|
|
@@ -2311,12 +2709,34 @@ message SyncActionValue {
|
|
|
2311
2709
|
optional string fullName = 1;
|
|
2312
2710
|
optional string firstName = 2;
|
|
2313
2711
|
optional string lidJid = 3;
|
|
2712
|
+
optional bool saveOnPrimaryAddressbook = 4;
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
message CustomPaymentMethod {
|
|
2716
|
+
required string credentialId = 1;
|
|
2717
|
+
required string country = 2;
|
|
2718
|
+
required string type = 3;
|
|
2719
|
+
repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2722
|
+
message CustomPaymentMethodMetadata {
|
|
2723
|
+
required string key = 1;
|
|
2724
|
+
required string value = 2;
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
message CustomPaymentMethodsAction {
|
|
2728
|
+
repeated SyncActionValue.CustomPaymentMethod customPaymentMethods = 1;
|
|
2314
2729
|
}
|
|
2315
2730
|
|
|
2316
2731
|
message DeleteChatAction {
|
|
2317
2732
|
optional SyncActionValue.SyncActionMessageRange messageRange = 1;
|
|
2318
2733
|
}
|
|
2319
2734
|
|
|
2735
|
+
message DeleteIndividualCallLogAction {
|
|
2736
|
+
optional string peerJid = 1;
|
|
2737
|
+
optional bool isIncoming = 2;
|
|
2738
|
+
}
|
|
2739
|
+
|
|
2320
2740
|
message DeleteMessageForMeAction {
|
|
2321
2741
|
optional bool deleteMedia = 1;
|
|
2322
2742
|
optional int64 messageTimestamp = 2;
|
|
@@ -2339,6 +2759,11 @@ message SyncActionValue {
|
|
|
2339
2759
|
optional int32 color = 2;
|
|
2340
2760
|
optional int32 predefinedId = 3;
|
|
2341
2761
|
optional bool deleted = 4;
|
|
2762
|
+
optional int32 orderIndex = 5;
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
message LabelReorderingAction {
|
|
2766
|
+
repeated int32 sortedLabelIds = 1;
|
|
2342
2767
|
}
|
|
2343
2768
|
|
|
2344
2769
|
message LocaleSetting {
|
|
@@ -2377,6 +2802,10 @@ message SyncActionValue {
|
|
|
2377
2802
|
optional bool acknowledged = 1;
|
|
2378
2803
|
}
|
|
2379
2804
|
|
|
2805
|
+
message PaymentInfoAction {
|
|
2806
|
+
optional string cpi = 1;
|
|
2807
|
+
}
|
|
2808
|
+
|
|
2380
2809
|
message PinAction {
|
|
2381
2810
|
optional bool pinned = 1;
|
|
2382
2811
|
}
|
|
@@ -2425,6 +2854,16 @@ message SyncActionValue {
|
|
|
2425
2854
|
optional bool starred = 1;
|
|
2426
2855
|
}
|
|
2427
2856
|
|
|
2857
|
+
message StatusPrivacyAction {
|
|
2858
|
+
optional StatusDistributionMode mode = 1;
|
|
2859
|
+
repeated string userJid = 2;
|
|
2860
|
+
enum StatusDistributionMode {
|
|
2861
|
+
ALLOW_LIST = 0;
|
|
2862
|
+
DENY_LIST = 1;
|
|
2863
|
+
CONTACTS = 2;
|
|
2864
|
+
}
|
|
2865
|
+
}
|
|
2866
|
+
|
|
2428
2867
|
message StickerAction {
|
|
2429
2868
|
optional string url = 1;
|
|
2430
2869
|
optional bytes fileEncSha256 = 2;
|
|
@@ -2495,6 +2934,7 @@ message SyncdPatch {
|
|
|
2495
2934
|
optional KeyId keyId = 6;
|
|
2496
2935
|
optional ExitCode exitCode = 7;
|
|
2497
2936
|
optional uint32 deviceIndex = 8;
|
|
2937
|
+
optional bytes clientDebugData = 9;
|
|
2498
2938
|
}
|
|
2499
2939
|
|
|
2500
2940
|
message SyncdRecord {
|
|
@@ -2669,6 +3109,14 @@ message WebMessageInfo {
|
|
|
2669
3109
|
optional string originalSelfAuthorUserJidString = 51;
|
|
2670
3110
|
optional uint64 revokeMessageTimestamp = 52;
|
|
2671
3111
|
optional PinInChat pinInChat = 54;
|
|
3112
|
+
optional PremiumMessageInfo premiumMessageInfo = 55;
|
|
3113
|
+
optional bool is1PBizBotMessage = 56;
|
|
3114
|
+
optional bool isGroupHistoryMessage = 57;
|
|
3115
|
+
optional string botMessageInvokerJid = 58;
|
|
3116
|
+
optional CommentMetadata commentMetadata = 59;
|
|
3117
|
+
repeated EventResponse eventResponses = 61;
|
|
3118
|
+
optional ReportingTokenInfo reportingTokenInfo = 62;
|
|
3119
|
+
optional uint64 newsletterServerId = 63;
|
|
2672
3120
|
enum BizPrivacyStatus {
|
|
2673
3121
|
E2EE = 0;
|
|
2674
3122
|
FB = 2;
|
|
@@ -2868,6 +3316,23 @@ message WebMessageInfo {
|
|
|
2868
3316
|
LINKED_GROUP_CALL_START = 181;
|
|
2869
3317
|
REPORT_TO_ADMIN_ENABLED_STATUS = 182;
|
|
2870
3318
|
EMPTY_SUBGROUP_CREATE = 183;
|
|
3319
|
+
SCHEDULED_CALL_CANCEL = 184;
|
|
3320
|
+
SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH = 185;
|
|
3321
|
+
GROUP_CHANGE_RECENT_HISTORY_SHARING = 186;
|
|
3322
|
+
PAID_MESSAGE_SERVER_CAMPAIGN_ID = 187;
|
|
3323
|
+
GENERAL_CHAT_CREATE = 188;
|
|
3324
|
+
GENERAL_CHAT_ADD = 189;
|
|
3325
|
+
GENERAL_CHAT_AUTO_ADD_DISABLED = 190;
|
|
3326
|
+
SUGGESTED_SUBGROUP_ANNOUNCE = 191;
|
|
3327
|
+
BIZ_BOT_1P_MESSAGING_ENABLED = 192;
|
|
3328
|
+
CHANGE_USERNAME = 193;
|
|
3329
|
+
BIZ_COEX_PRIVACY_INIT_SELF = 194;
|
|
3330
|
+
BIZ_COEX_PRIVACY_TRANSITION_SELF = 195;
|
|
3331
|
+
SUPPORT_AI_EDUCATION = 196;
|
|
3332
|
+
BIZ_BOT_3P_MESSAGING_ENABLED = 197;
|
|
3333
|
+
REMINDER_SETUP_MESSAGE = 198;
|
|
3334
|
+
REMINDER_SENT_MESSAGE = 199;
|
|
3335
|
+
REMINDER_CANCEL_MESSAGE = 200;
|
|
2871
3336
|
}
|
|
2872
3337
|
}
|
|
2873
3338
|
|