Skip to content

Commit b198548

Browse files
krypton-bytegithub-actions[bot]
authored andcommitted
Whatsmeow
- Update proto files - Update golang depedencies
1 parent 7128151 commit b198548

15 files changed

Lines changed: 1344 additions & 1171 deletions

goneonize/defproto/.sha

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

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: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,9 +473,10 @@ message MessageAddOn {
473473

474474
message GroupHistoryBundleInfo {
475475
enum ProcessState {
476-
NOT_DOWNLOADED = 0;
477-
DOWNLOADED = 1;
478-
DOWNLOAD_FAILED = 2;
476+
NOT_INJECTED = 0;
477+
INJECTED = 1;
478+
INJECTED_PARTIAL = 2;
479+
INJECTION_FAILED = 3;
479480
}
480481

481482
optional WAWebProtobufsE2E.MessageHistoryBundle deprecatedMessageHistoryBundle = 1;
@@ -600,4 +601,5 @@ message Citation {
600601

601602
message GroupHistoryIndividualMessageInfo {
602603
optional WACommon.MessageKey bundleMessageKey = 1;
604+
optional bool editedAfterReceivedAsHistory = 2;
603605
}

goneonize/go.mod

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toolchain go1.24.5
77
require (
88
github.com/lib/pq v1.10.9
99
github.com/mattn/go-sqlite3 v1.14.32
10-
go.mau.fi/whatsmeow v0.0.0-20251005115322-65f6143fa407
10+
go.mau.fi/whatsmeow v0.0.0-20251010113933-5806d60827b0
1111
google.golang.org/protobuf v1.36.10
1212
)
1313

@@ -24,9 +24,9 @@ require (
2424
github.com/vektah/gqlparser/v2 v2.5.30 // indirect
2525
go.mau.fi/libsignal v0.2.1-0.20251004173110-6e0a3f2435ed // indirect
2626
go.mau.fi/util v0.9.2-0.20251005111801-c13b66219cee // indirect
27-
golang.org/x/crypto v0.42.0 // indirect
28-
golang.org/x/exp v0.0.0-20251002181428-27f1f14c8bb9 // indirect
29-
golang.org/x/net v0.44.0 // indirect
30-
golang.org/x/sys v0.36.0 // indirect
31-
golang.org/x/text v0.29.0 // indirect
27+
golang.org/x/crypto v0.43.0 // indirect
28+
golang.org/x/exp v0.0.0-20251009144603-d2f985daa21b // indirect
29+
golang.org/x/net v0.46.0 // indirect
30+
golang.org/x/sys v0.37.0 // indirect
31+
golang.org/x/text v0.30.0 // indirect
3232
)

goneonize/go.sum

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,21 @@ go.mau.fi/libsignal v0.2.1-0.20251004173110-6e0a3f2435ed h1:f44xyYgZBCEic3OiKY4e
4949
go.mau.fi/libsignal v0.2.1-0.20251004173110-6e0a3f2435ed/go.mod h1:iVvjrHyfQqWajOUaMEsIfo3IqgVMrhWcPiiEzk7NgoU=
5050
go.mau.fi/util v0.9.2-0.20251005111801-c13b66219cee h1:wk1XGP/E1UH3YBqXbb9dajWdO7e9cizgx5+NYkEXT2g=
5151
go.mau.fi/util v0.9.2-0.20251005111801-c13b66219cee/go.mod h1:M0bM9SyaOWJniaHs9hxEzz91r5ql6gYq6o1q5O1SsjQ=
52-
go.mau.fi/whatsmeow v0.0.0-20251005115322-65f6143fa407 h1:opB+tGIoxtAybUeXFJ3iCknYA0djy8dWmZ4KqSbyT+c=
53-
go.mau.fi/whatsmeow v0.0.0-20251005115322-65f6143fa407/go.mod h1:CSdGU471Ss7bWunGomSe9RObY0MRxQDvxFH8i5Ndfk4=
54-
golang.org/x/crypto v0.42.0 h1:chiH31gIWm57EkTXpwnqf8qeuMUi0yekh6mT2AvFlqI=
55-
golang.org/x/crypto v0.42.0/go.mod h1:4+rDnOTJhQCx2q7/j6rAN5XDw8kPjeaXEUR2eL94ix8=
56-
golang.org/x/exp v0.0.0-20251002181428-27f1f14c8bb9 h1:TQwNpfvNkxAVlItJf6Cr5JTsVZoC/Sj7K3OZv2Pc14A=
57-
golang.org/x/exp v0.0.0-20251002181428-27f1f14c8bb9/go.mod h1:TwQYMMnGpvZyc+JpB/UAuTNIsVJifOlSkrZkhcvpVUk=
58-
golang.org/x/net v0.44.0 h1:evd8IRDyfNBMBTTY5XRF1vaZlD+EmWx6x8PkhR04H/I=
59-
golang.org/x/net v0.44.0/go.mod h1:ECOoLqd5U3Lhyeyo/QDCEVQ4sNgYsqvCZ722XogGieY=
52+
go.mau.fi/whatsmeow v0.0.0-20251010113933-5806d60827b0 h1:Q4gIHMOPglOvX8JQ7ewWhoHMhveew2pwnBzmepgJi1w=
53+
go.mau.fi/whatsmeow v0.0.0-20251010113933-5806d60827b0/go.mod h1:CSdGU471Ss7bWunGomSe9RObY0MRxQDvxFH8i5Ndfk4=
54+
golang.org/x/crypto v0.43.0 h1:dduJYIi3A3KOfdGOHX8AVZ/jGiyPa3IbBozJ5kNuE04=
55+
golang.org/x/crypto v0.43.0/go.mod h1:BFbav4mRNlXJL4wNeejLpWxB7wMbc79PdRGhWKncxR0=
56+
golang.org/x/exp v0.0.0-20251009144603-d2f985daa21b h1:18qgiDvlvH7kk8Ioa8Ov+K6xCi0GMvmGfGW0sgd/SYA=
57+
golang.org/x/exp v0.0.0-20251009144603-d2f985daa21b/go.mod h1:j/pmGrbnkbPtQfxEe5D0VQhZC6qKbfKifgD0oM7sR70=
58+
golang.org/x/net v0.46.0 h1:giFlY12I07fugqwPuWJi68oOnpfqFnJIJzaIIm2JVV4=
59+
golang.org/x/net v0.46.0/go.mod h1:Q9BGdFy1y4nkUwiLvT5qtyhAnEHgnQ/zd8PfU6nc210=
6060
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
6161
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
6262
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
63-
golang.org/x/sys v0.36.0 h1:KVRy2GtZBrk1cBYA7MKu5bEZFxQk4NIDV6RLVcC8o0k=
64-
golang.org/x/sys v0.36.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
65-
golang.org/x/text v0.29.0 h1:1neNs90w9YzJ9BocxfsQNHKuAT4pkghyXc4nhZ6sJvk=
66-
golang.org/x/text v0.29.0/go.mod h1:7MhJOA9CD2qZyOKYazxdYMF85OwPdEr9jTtBpO7ydH4=
63+
golang.org/x/sys v0.37.0 h1:fdNQudmxPjkdUTPnLn5mdQv7Zwvbvpaxqs831goi9kQ=
64+
golang.org/x/sys v0.37.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
65+
golang.org/x/text v0.30.0 h1:yznKA/E9zq54KzlzBEAWn1NXSQ8DIp/NYMy88xJjl4k=
66+
golang.org/x/text v0.30.0/go.mod h1:yDdHFIX9t+tORqspjENWgzaCVXgk0yYnYuSZ8UzzBVM=
6767
google.golang.org/protobuf v1.36.10 h1:AYd7cD/uASjIL6Q9LiTjz8JLcrh/88q5UObnmY3aOOE=
6868
google.golang.org/protobuf v1.36.10/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
6969
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

neonize/proto/waE2E/WAWebProtobufsE2E_pb2.py

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

0 commit comments

Comments
 (0)