Skip to content

Commit 1bf7d4f

Browse files
krypton-bytegithub-actions[bot]
authored andcommitted
Whatsmeow
- Update proto files - Update golang depedencies
1 parent 599e450 commit 1bf7d4f

19 files changed

Lines changed: 2303 additions & 2704 deletions

goneonize/defproto/.sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
596219a914a9725af6ae17e63d225c38bb176593
1+
eb9b4a17c85c3247f175da557f6b8b4b5b013ea3

goneonize/defproto/Neonize.pb.go

Lines changed: 763 additions & 1405 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

goneonize/defproto/waArmadilloMiTransportAdminMessage/WAArmadilloMiTransportAdminMessage.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ message MiTransportAdminMessage {
6565
optional Action action = 2;
6666
}
6767

68+
message XmatGenAITaskAdd {
69+
optional int64 taskID = 1;
70+
}
71+
6872
message XmatUnpinMessageV2 {
6973
optional string pinnedMessageID = 1;
7074
}
@@ -270,5 +274,9 @@ message MiTransportAdminMessage {
270274
XmatUpdatePayments xmatUpdatePayments = 30;
271275
XmatPinMessageV2 xmatPinMessageV2 = 31;
272276
XmatUnpinMessageV2 xmatUnpinMessageV2 = 32;
277+
XmatGenAITaskAdd xmatGenaiTaskAdd = 33;
273278
}
279+
280+
optional bool skipBumpThread = 34;
281+
optional bool skipSnippetUpdate = 35;
274282
}

goneonize/defproto/waE2E/WAWebProtobufsE2E.proto

Lines changed: 108 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ import "waMmsRetry/WAMmsRetry.proto";
99
import "waCommon/WACommon.proto";
1010
import "waStatusAttributions/WAStatusAttributions.proto";
1111

12+
enum PollType {
13+
POLL = 0;
14+
QUIZ = 1;
15+
}
16+
1217
enum PollContentType {
1318
UNKNOWN_POLL_CONTENT_TYPE = 0;
1419
TEXT = 1;
@@ -27,6 +32,7 @@ enum PeerDataOperationRequestType {
2732
COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8;
2833
COMPANION_CANONICAL_USER_NONCE_FETCH = 9;
2934
HISTORY_SYNC_CHUNK_RETRY = 10;
35+
GALAXY_FLOW_ACTION = 11;
3036
}
3137

3238
enum HistorySyncType {
@@ -203,27 +209,6 @@ message StatusStickerInteractionMessage {
203209
optional StatusStickerType type = 3;
204210
}
205211

206-
message PollCreationMessage {
207-
enum PollType {
208-
POLL = 0;
209-
QUIZ = 1;
210-
}
211-
212-
message Option {
213-
optional string optionName = 1;
214-
optional string optionHash = 2;
215-
}
216-
217-
optional bytes encKey = 1;
218-
optional string name = 2;
219-
repeated Option options = 3;
220-
optional uint32 selectableOptionsCount = 4;
221-
optional ContextInfo contextInfo = 5;
222-
optional PollContentType pollContentType = 6;
223-
optional PollType pollType = 7;
224-
optional Option correctAnswer = 8;
225-
}
226-
227212
message ButtonsResponseMessage {
228213
enum Type {
229214
UNKNOWN = 0;
@@ -705,6 +690,67 @@ message PeerDataOperationRequestResponseMessage {
705690
repeated PeerDataOperationResult peerDataOperationResult = 3;
706691
}
707692

693+
message PeerDataOperationRequestMessage {
694+
message GalaxyFlowAction {
695+
enum GalaxyFlowActionType {
696+
NOTIFY_LAUNCH = 1;
697+
}
698+
699+
optional GalaxyFlowActionType type = 1;
700+
optional string flowID = 2;
701+
optional string stanzaID = 3;
702+
}
703+
704+
message HistorySyncChunkRetryRequest {
705+
optional HistorySyncType syncType = 1;
706+
optional uint32 chunkOrder = 2;
707+
optional string chunkNotificationID = 3;
708+
optional bool regenerateChunk = 4;
709+
}
710+
711+
message SyncDCollectionFatalRecoveryRequest {
712+
optional string collectionName = 1;
713+
optional int64 timestamp = 2;
714+
}
715+
716+
message PlaceholderMessageResendRequest {
717+
optional WACommon.MessageKey messageKey = 1;
718+
}
719+
720+
message FullHistorySyncOnDemandRequest {
721+
optional FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
722+
optional WACompanionReg.DeviceProps.HistorySyncConfig historySyncConfig = 2;
723+
}
724+
725+
message HistorySyncOnDemandRequest {
726+
optional string chatJID = 1;
727+
optional string oldestMsgID = 2;
728+
optional bool oldestMsgFromMe = 3;
729+
optional int32 onDemandMsgCount = 4;
730+
optional int64 oldestMsgTimestampMS = 5;
731+
optional string accountLid = 6;
732+
}
733+
734+
message RequestUrlPreview {
735+
optional string URL = 1;
736+
optional bool includeHqThumbnail = 2;
737+
}
738+
739+
message RequestStickerReupload {
740+
optional string fileSHA256 = 1;
741+
}
742+
743+
optional PeerDataOperationRequestType peerDataOperationRequestType = 1;
744+
repeated RequestStickerReupload requestStickerReupload = 2;
745+
repeated RequestUrlPreview requestURLPreview = 3;
746+
optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4;
747+
repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
748+
optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
749+
optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7;
750+
optional HistorySyncChunkRetryRequest historySyncChunkRetryRequest = 8;
751+
optional GalaxyFlowAction galaxyFlowAction = 9;
752+
}
753+
708754
message RequestWelcomeMessageMetadata {
709755
enum LocalChatState {
710756
EMPTY = 0;
@@ -895,6 +941,7 @@ message ExtendedTextMessage {
895941
repeated VideoEndCard endCardTiles = 36;
896942
optional string videoContentURL = 37;
897943
optional EmbeddedMusic musicMetadata = 38;
944+
optional PaymentExtendedMetadata paymentExtendedMetadata = 39;
898945
}
899946

900947
message LinkPreviewMetadata {
@@ -913,6 +960,9 @@ message LinkPreviewMetadata {
913960
optional uint32 linkMediaDuration = 4;
914961
optional SocialMediaPostType socialMediaPostType = 5;
915962
optional bool linkInlineVideoMuted = 6;
963+
optional string videoContentURL = 7;
964+
optional EmbeddedMusic musicMetadata = 8;
965+
optional string videoContentCaption = 9;
916966
}
917967

918968
message PaymentLinkMetadata {
@@ -1492,7 +1542,6 @@ message Message {
14921542
optional FutureProofMessage associatedChildMessage = 91;
14931543
optional FutureProofMessage groupStatusMentionMessage = 92;
14941544
optional FutureProofMessage pollCreationMessageV4 = 93;
1495-
optional FutureProofMessage pollCreationMessageV5 = 94;
14961545
optional FutureProofMessage statusAddYours = 95;
14971546
optional FutureProofMessage groupStatusMessage = 96;
14981547
optional AIRichResponseMessage richResponseMessage = 97;
@@ -1506,9 +1555,12 @@ message Message {
15061555
optional StatusQuestionAnswerMessage statusQuestionAnswerMessage = 105;
15071556
optional FutureProofMessage questionReplyMessage = 106;
15081557
optional QuestionResponseMessage questionResponseMessage = 107;
1509-
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessage = 108;
15101558
optional StatusQuotedMessage statusQuotedMessage = 109;
15111559
optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
1560+
optional PollCreationMessage pollCreationMessageV5 = 111;
1561+
optional PollResultSnapshotMessage pollResultSnapshotMessageV2 = 112;
1562+
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
1563+
optional RequestContactInfoMessage requestContactInfoMessage = 114;
15121564
}
15131565

15141566
message AlbumMessage {
@@ -1600,6 +1652,7 @@ message PollResultSnapshotMessage {
16001652
optional string name = 1;
16011653
repeated PollVote pollVotes = 2;
16021654
optional ContextInfo contextInfo = 3;
1655+
optional PollType pollType = 4;
16031656
}
16041657

16051658
message PollVoteMessage {
@@ -1621,6 +1674,22 @@ message PollUpdateMessage {
16211674
optional int64 senderTimestampMS = 4;
16221675
}
16231676

1677+
message PollCreationMessage {
1678+
message Option {
1679+
optional string optionName = 1;
1680+
optional string optionHash = 2;
1681+
}
1682+
1683+
optional bytes encKey = 1;
1684+
optional string name = 2;
1685+
repeated Option options = 3;
1686+
optional uint32 selectableOptionsCount = 4;
1687+
optional ContextInfo contextInfo = 5;
1688+
optional PollContentType pollContentType = 6;
1689+
optional PollType pollType = 7;
1690+
optional Option correctAnswer = 8;
1691+
}
1692+
16241693
message StickerSyncRMRMessage {
16251694
repeated string filehash = 1;
16261695
optional string rmrSource = 2;
@@ -1644,6 +1713,12 @@ message DeviceSentMessage {
16441713
optional string phash = 3;
16451714
}
16461715

1716+
message RequestContactInfoMessage {
1717+
optional string text = 1;
1718+
optional string ctaButtonText = 2;
1719+
optional ContextInfo contextInfo = 3;
1720+
}
1721+
16471722
message RequestPhoneNumberMessage {
16481723
optional ContextInfo contextInfo = 1;
16491724
}
@@ -1817,56 +1892,6 @@ message InitialSecurityNotificationSettingSync {
18171892
optional bool securityNotificationEnabled = 1;
18181893
}
18191894

1820-
message PeerDataOperationRequestMessage {
1821-
message HistorySyncChunkRetryRequest {
1822-
optional HistorySyncType syncType = 1;
1823-
optional uint32 chunkOrder = 2;
1824-
optional string chunkNotificationID = 3;
1825-
optional bool regenerateChunk = 4;
1826-
}
1827-
1828-
message SyncDCollectionFatalRecoveryRequest {
1829-
optional string collectionName = 1;
1830-
optional int64 timestamp = 2;
1831-
}
1832-
1833-
message PlaceholderMessageResendRequest {
1834-
optional WACommon.MessageKey messageKey = 1;
1835-
}
1836-
1837-
message FullHistorySyncOnDemandRequest {
1838-
optional FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
1839-
optional WACompanionReg.DeviceProps.HistorySyncConfig historySyncConfig = 2;
1840-
}
1841-
1842-
message HistorySyncOnDemandRequest {
1843-
optional string chatJID = 1;
1844-
optional string oldestMsgID = 2;
1845-
optional bool oldestMsgFromMe = 3;
1846-
optional int32 onDemandMsgCount = 4;
1847-
optional int64 oldestMsgTimestampMS = 5;
1848-
optional string accountLid = 6;
1849-
}
1850-
1851-
message RequestUrlPreview {
1852-
optional string URL = 1;
1853-
optional bool includeHqThumbnail = 2;
1854-
}
1855-
1856-
message RequestStickerReupload {
1857-
optional string fileSHA256 = 1;
1858-
}
1859-
1860-
optional PeerDataOperationRequestType peerDataOperationRequestType = 1;
1861-
repeated RequestStickerReupload requestStickerReupload = 2;
1862-
repeated RequestUrlPreview requestURLPreview = 3;
1863-
optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4;
1864-
repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
1865-
optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
1866-
optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7;
1867-
optional HistorySyncChunkRetryRequest historySyncChunkRetryRequest = 8;
1868-
}
1869-
18701895
message FullHistorySyncOnDemandRequestMetadata {
18711896
optional string requestID = 1;
18721897
}
@@ -1988,6 +2013,12 @@ message URLMetadata {
19882013
optional uint32 fbExperimentID = 1;
19892014
}
19902015

2016+
message PaymentExtendedMetadata {
2017+
optional uint32 type = 1;
2018+
optional string platform = 2;
2019+
optional string messageParamsJSON = 3;
2020+
}
2021+
19912022
message MMSThumbnailMetadata {
19922023
optional string thumbnailDirectPath = 1;
19932024
optional bytes thumbnailSHA256 = 2;
@@ -2056,10 +2087,13 @@ message EmbeddedMusic {
20562087
optional string artworkDirectPath = 5;
20572088
optional bytes artworkSHA256 = 6;
20582089
optional bytes artworkEncSHA256 = 7;
2059-
optional bytes artworkMediaKey = 11;
20602090
optional string artistAttribution = 8;
20612091
optional bytes countryBlocklist = 9;
20622092
optional bool isExplicit = 10;
2093+
optional bytes artworkMediaKey = 11;
2094+
optional int64 musicSongStartTimeInMS = 12;
2095+
optional int64 derivedContentStartTimeInMS = 13;
2096+
optional int64 overlapDurationInMS = 14;
20632097
}
20642098

20652099
message EmbeddedContent {

goneonize/defproto/waStatusAttributions/WAStatusAttributions.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ message StatusAttribution {
1212
GROUP_STATUS = 5;
1313
RL_ATTRIBUTION = 6;
1414
AI_CREATED = 7;
15+
LAYOUTS = 8;
1516
}
1617

1718
message AiCreatedAttribution {

goneonize/defproto/waSyncAction/WASyncAction.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ message PatchDebugData {
207207
WEAROS = 8;
208208
WASG = 9;
209209
WEARM = 10;
210+
CAPI = 11;
210211
}
211212

212213
optional bytes currentLthash = 1;

goneonize/defproto/waWeb/WAWebProtobufsWeb.proto

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ message WebMessageInfo {
234234
GROUP_MEMBER_LINK_MODE = 217;
235235
BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE = 218;
236236
PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219;
237+
QUARANTINED_MESSAGE = 220;
237238
}
238239

239240
enum Status {
@@ -310,6 +311,7 @@ message WebMessageInfo {
310311
optional GroupHistoryIndividualMessageInfo groupHistoryIndividualMessageInfo = 74;
311312
optional GroupHistoryBundleInfo groupHistoryBundleInfo = 75;
312313
optional InteractiveMessageAdditionalMetadata interactiveMessageAdditionalMetadata = 76;
314+
optional QuarantinedMessage quarantinedMessage = 77;
313315
}
314316

315317
message PaymentInfo {
@@ -473,9 +475,10 @@ message MessageAddOn {
473475

474476
message GroupHistoryBundleInfo {
475477
enum ProcessState {
476-
NOT_DOWNLOADED = 0;
477-
DOWNLOADED = 1;
478-
DOWNLOAD_FAILED = 2;
478+
NOT_INJECTED = 0;
479+
INJECTED = 1;
480+
INJECTED_PARTIAL = 2;
481+
INJECTION_FAILED = 3;
479482
}
480483

481484
optional WAWebProtobufsE2E.MessageHistoryBundle deprecatedMessageHistoryBundle = 1;
@@ -600,4 +603,10 @@ message Citation {
600603

601604
message GroupHistoryIndividualMessageInfo {
602605
optional WACommon.MessageKey bundleMessageKey = 1;
606+
optional bool editedAfterReceivedAsHistory = 2;
607+
}
608+
609+
message QuarantinedMessage {
610+
optional bytes originalData = 1;
611+
optional string extractedText = 2;
603612
}

0 commit comments

Comments
 (0)