Skip to content

Commit a721b4e

Browse files
authored
Merge pull request #147 from krypton-byte/whatsmeow_update
[Update] Whatsmeow version
2 parents 57c6c55 + 1b8fe71 commit a721b4e

25 files changed

+2724
-837
lines changed

goneonize/defproto/.sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a7ad16e3dee941946c05d2559daafef0f05de51c
1+
5bece9bb0f6ed2b62a787fdf84efc80d35bbb66d

goneonize/defproto/Neonize.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

goneonize/defproto/waBotMetadata/WAWebProtobufsBotMetadata.proto renamed to goneonize/defproto/waBotMetadata/WABotMetadata.proto

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
syntax = "proto2";
2-
package WAWebProtobufsBotMetadata;
2+
package WABotMetadata;
33
option go_package = "go.mau.fi/whatsmeow/proto/waBotMetadata";
44

55
import "waCommon/WACommon.proto";
@@ -107,6 +107,7 @@ message BotPromotionMessageMetadata {
107107
enum BotPromotionType {
108108
UNKNOWN_TYPE = 0;
109109
C50 = 1;
110+
SURVEY_PLATFORM = 2;
110111
}
111112

112113
optional BotPromotionType promotionType = 1;
@@ -265,6 +266,7 @@ message BotCapabilityMetadata {
265266
SIMPLIFIED_PROFILE_PAGE = 36;
266267
RICH_RESPONSE_SOURCES_IN_MESSAGE = 37;
267268
RICH_RESPONSE_SIDE_BY_SIDE_SURVEY = 38;
269+
RICH_RESPONSE_UNIFIED_TEXT_COMPONENT = 39;
268270
}
269271

270272
repeated BotCapabilityType capabilities = 1;
@@ -410,6 +412,43 @@ message BotAgeCollectionMetadata {
410412
optional bool shouldTriggerAgeCollectionOnClient = 2;
411413
}
412414

415+
message InThreadSurveyMetadata {
416+
message InThreadSurveyPrivacyStatementPart {
417+
optional string text = 1;
418+
optional string URL = 2;
419+
}
420+
421+
message InThreadSurveyOption {
422+
optional string stringValue = 1;
423+
optional uint32 numericValue = 2;
424+
optional string textTranslated = 3;
425+
}
426+
427+
message InThreadSurveyQuestion {
428+
optional string questionText = 1;
429+
optional string questionID = 2;
430+
repeated InThreadSurveyOption questionOptions = 3;
431+
}
432+
433+
optional string tessaSessionID = 1;
434+
optional string simonSessionID = 2;
435+
optional string simonSurveyID = 3;
436+
optional string tessaRootID = 4;
437+
optional string requestID = 5;
438+
optional string tessaEvent = 6;
439+
optional string invitationHeaderText = 7;
440+
optional string invitationBodyText = 8;
441+
optional string invitationCtaText = 9;
442+
optional string invitationCtaURL = 10;
443+
optional string surveyTitle = 11;
444+
repeated InThreadSurveyQuestion questions = 12;
445+
optional string surveyContinueButtonText = 13;
446+
optional string surveySubmitButtonText = 14;
447+
optional string privacyStatementFull = 15;
448+
repeated InThreadSurveyPrivacyStatementPart privacyStatementParts = 16;
449+
optional string feedbackToastText = 17;
450+
}
451+
413452
message BotMessageOriginMetadata {
414453
repeated BotMessageOrigin origins = 1;
415454
}
@@ -452,4 +491,5 @@ message BotMetadata {
452491
optional BotSignatureVerificationMetadata verificationMetadata = 27;
453492
optional BotUnifiedResponseMutation unifiedResponseMutation = 28;
454493
optional BotMessageOriginMetadata botMessageOriginMetadata = 29;
494+
optional InThreadSurveyMetadata inThreadSurveyMetadata = 30;
455495
}

goneonize/defproto/waCompanionReg/WACompanionReg.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ message DeviceProps {
4646
optional bool supportFbidBotChatHistory = 12;
4747
optional bool supportAddOnHistorySyncMigration = 13;
4848
optional bool supportMessageAssociation = 14;
49+
optional bool supportGroupHistory = 15;
50+
optional bool onDemandReady = 16;
51+
optional bool supportGuestChat = 17;
4952
}
5053

5154
message AppVersion {

goneonize/defproto/waE2E/WAWebProtobufsE2E.proto

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package WAWebProtobufsE2E;
33
option go_package = "go.mau.fi/whatsmeow/proto/waE2E";
44

55
import "waAdv/WAAdv.proto";
6-
import "waBotMetadata/WAWebProtobufsBotMetadata.proto";
6+
import "waBotMetadata/WABotMetadata.proto";
77
import "waCompanionReg/WACompanionReg.proto";
88
import "waMmsRetry/WAMmsRetry.proto";
99
import "waCommon/WACommon.proto";
@@ -319,6 +319,17 @@ message InteractiveResponseMessage {
319319
}
320320

321321
message InteractiveMessage {
322+
message CarouselMessage {
323+
enum CarouselCardType {
324+
DEFAULT = 0;
325+
ALBUM = 1;
326+
}
327+
328+
repeated InteractiveMessage cards = 1;
329+
optional int32 messageVersion = 2;
330+
optional CarouselCardType carouselCardType = 3;
331+
}
332+
322333
message ShopMessage {
323334
enum Surface {
324335
UNKNOWN_SURFACE = 0;
@@ -332,11 +343,6 @@ message InteractiveMessage {
332343
optional int32 messageVersion = 3;
333344
}
334345

335-
message CarouselMessage {
336-
repeated InteractiveMessage cards = 1;
337-
optional int32 messageVersion = 2;
338-
}
339-
340346
message NativeFlowMessage {
341347
message NativeFlowButton {
342348
optional string name = 1;
@@ -577,6 +583,8 @@ message PeerDataOperationRequestResponseMessage {
577583

578584
message CompanionCanonicalUserNonceFetchResponse {
579585
optional string nonce = 1;
586+
optional string waFbid = 2;
587+
optional bool forceRefresh = 3;
580588
}
581589

582590
message CompanionMetaNonceFetchResponse {
@@ -1031,6 +1039,7 @@ message ImageMessage {
10311039
optional ImageSourceType imageSourceType = 31;
10321040
optional string accessibilityLabel = 32;
10331041
optional MediaKeyDomain mediaKeyDomain = 33;
1042+
optional string qrURL = 34;
10341043
}
10351044

10361045
message ContextInfo {
@@ -1150,6 +1159,7 @@ message ContextInfo {
11501159
optional bool wtwaAdFormat = 24;
11511160
optional AdType adType = 25;
11521161
optional string wtwaWebsiteURL = 26;
1162+
optional string adPreviewURL = 27;
11531163
}
11541164

11551165
message AdReplyInfo {
@@ -1460,7 +1470,7 @@ message MessageContextInfo {
14601470
optional bytes paddingBytes = 4;
14611471
optional uint32 messageAddOnDurationInSecs = 5;
14621472
optional bytes botMessageSecret = 6;
1463-
optional WAWebProtobufsBotMetadata.BotMetadata botMetadata = 7;
1473+
optional WABotMetadata.BotMetadata botMetadata = 7;
14641474
optional int32 reportingTokenVersion = 8;
14651475
optional MessageAddonExpiryType messageAddOnExpiryType = 9;
14661476
optional MessageAssociation messageAssociation = 10;
@@ -1693,7 +1703,7 @@ message AlbumMessage {
16931703

16941704
message MessageHistoryMetadata {
16951705
repeated string historyReceivers = 1;
1696-
optional int64 firstMessageTimestamp = 2;
1706+
optional int64 oldestMessageTimestamp = 2;
16971707
optional int64 messageCount = 3;
16981708
}
16991709

@@ -1970,6 +1980,7 @@ message SendPaymentMessage {
19701980
optional Message noteMessage = 2;
19711981
optional WACommon.MessageKey requestMessageKey = 3;
19721982
optional PaymentBackground background = 4;
1983+
optional string transactionData = 5;
19731984
}
19741985

19751986
message ContactsArrayMessage {

goneonize/defproto/waHistorySync/WAWebProtobufsHistorySync.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ message StickerMetadata {
210210
optional float weight = 10;
211211
optional int64 lastStickerSentTS = 11;
212212
optional bool isLottie = 12;
213-
optional bool isAvatarSticker = 13;
213+
optional string imageHash = 13;
214+
optional bool isAvatarSticker = 14;
214215
}
215216

216217
message PastParticipants {

goneonize/defproto/waStatusAttributions/WAStatusAttributions.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ message StatusAttribution {
1818
UNKNOWN = 0;
1919
RAY_BAN_META_GLASSES = 1;
2020
OAKLEY_META_GLASSES = 2;
21+
HYPERNOVA_GLASSES = 3;
2122
}
2223

2324
optional Source source = 1;
@@ -32,6 +33,7 @@ message StatusAttribution {
3233
SPOTIFY = 4;
3334
YOUTUBE = 5;
3435
PINTEREST = 6;
36+
THREADS = 7;
3537
}
3638

3739
optional string actionURL = 1;

goneonize/defproto/waSyncAction/WASyncAction.proto

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,15 @@ message SyncActionValue {
267267
optional PrivacySettingChannelsPersonalisedRecommendationAction privacySettingChannelsPersonalisedRecommendationAction = 64;
268268
optional BusinessBroadcastAssociationAction businessBroadcastAssociationAction = 65;
269269
optional DetectedOutcomesStatusAction detectedOutcomesStatusAction = 66;
270-
optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction = 67;
270+
optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction = 68;
271+
optional BusinessBroadcastListAction businessBroadcastListAction = 69;
272+
optional MusicUserIdAction musicUserIDAction = 70;
273+
}
274+
275+
message BusinessBroadcastListAction {
276+
optional bool deleted = 1;
277+
repeated string lids = 2;
278+
optional string listName = 3;
271279
}
272280

273281
message BusinessBroadcastAssociationAction {
@@ -342,6 +350,10 @@ message BotWelcomeRequestAction {
342350
optional bool isSent = 1;
343351
}
344352

353+
message MusicUserIdAction {
354+
optional string musicUserID = 1;
355+
}
356+
345357
message CallLogAction {
346358
optional CallLogRecord callLogRecord = 1;
347359
}
@@ -386,6 +398,8 @@ message StickerAction {
386398
optional bool isFavorite = 9;
387399
optional uint32 deviceIDHint = 10;
388400
optional bool isLottie = 11;
401+
optional string imageHash = 12;
402+
optional bool isAvatarSticker = 13;
389403
}
390404

391405
message RemoveRecentStickerAction {

goneonize/defproto/waWa6/WAWebProtobufsWa6.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ message ClientPayload {
228228
optional TrafficAnonymization trafficAnonymization = 40;
229229
optional bool lidDbMigrated = 41;
230230
optional AccountType accountType = 42;
231+
optional sfixed32 connectionSequenceInfo = 43;
231232
}
232233

233234
message HandshakeMessage {

goneonize/go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ toolchain go1.24.5
66

77
require (
88
github.com/lib/pq v1.10.9
9-
github.com/mattn/go-sqlite3 v1.14.31
10-
go.mau.fi/whatsmeow v0.0.0-20250811141640-b804d10c54c2
11-
google.golang.org/protobuf v1.36.7
9+
github.com/mattn/go-sqlite3 v1.14.32
10+
go.mau.fi/whatsmeow v0.0.0-20250826144440-85e30ecab38b
11+
google.golang.org/protobuf v1.36.8
1212
)
1313

1414
require (
@@ -20,9 +20,9 @@ require (
2020
github.com/petermattis/goid v0.0.0-20250813065127-a731cc31b4fe // indirect
2121
github.com/rs/zerolog v1.34.0 // indirect
2222
go.mau.fi/libsignal v0.2.0 // indirect
23-
go.mau.fi/util v0.8.8 // indirect
23+
go.mau.fi/util v0.9.0 // indirect
2424
golang.org/x/crypto v0.41.0 // indirect
25-
golang.org/x/exp v0.0.0-20250813145105-42675adae3e6 // indirect
25+
golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b // indirect
2626
golang.org/x/net v0.43.0 // indirect
2727
golang.org/x/sys v0.35.0 // indirect
2828
golang.org/x/text v0.28.0 // indirect

0 commit comments

Comments
 (0)