Skip to content

Commit 730b20c

Browse files
committed
proto: update to v1015509248
1 parent e3a529b commit 730b20c

7 files changed

+1577
-1217
lines changed

proto/waE2E/WAWebProtobufsE2E.pb.go

+1,522-1,202
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/waE2E/WAWebProtobufsE2E.pb.raw

1.06 KB
Binary file not shown.

proto/waE2E/WAWebProtobufsE2E.proto

+45-14
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package WAWebProtobufsE2E;
33
option go_package = "go.mau.fi/whatsmeow/proto/waE2E";
44

55
import "waAdv/WAAdv.proto";
6+
import "waCompanionReg/WAWebProtobufsCompanionReg.proto";
67
import "waMmsRetry/WAMmsRetry.proto";
78
import "waCommon/WACommon.proto";
89

@@ -565,6 +566,7 @@ message HistorySyncNotification {
565566
optional bytes initialHistBootstrapInlinePayload = 11;
566567
optional string peerDataRequestSessionID = 12;
567568
optional FullHistorySyncOnDemandRequestMetadata fullHistorySyncOnDemandRequestMetadata = 13;
569+
optional string encHandle = 14;
568570
}
569571

570572
message RequestWelcomeMessageMetadata {
@@ -879,7 +881,8 @@ message ContextInfo {
879881

880882
message FeatureEligibilities {
881883
optional bool cannotBeReactedTo = 1;
882-
optional bool canRequestFeedback = 2;
884+
optional bool cannotBeRanked = 2;
885+
optional bool canRequestFeedback = 3;
883886
}
884887

885888
message DataSharingContext {
@@ -942,7 +945,6 @@ message ContextInfo {
942945
optional FeatureEligibilities featureEligibilities = 49;
943946
optional string entryPointConversionExternalSource = 50;
944947
optional string entryPointConversionExternalMedium = 51;
945-
optional string supportPayload = 53;
946948
}
947949

948950
message BotPluginMetadata {
@@ -965,7 +967,24 @@ message BotPluginMetadata {
965967
optional uint32 expectedLinksCount = 7;
966968
optional string searchQuery = 9;
967969
optional WACommon.MessageKey parentPluginMessageKey = 10;
968-
optional PluginType parentPluginType = 11;
970+
optional PluginType deprecatedField = 11;
971+
optional PluginType parentPluginType = 12;
972+
}
973+
974+
message BotMediaMetadata {
975+
enum OrientationType {
976+
CENTER = 1;
977+
LEFT = 2;
978+
RIGHT = 3;
979+
}
980+
981+
optional string fileSHA256 = 1;
982+
optional string mediaKey = 2;
983+
optional string fileEncSHA256 = 3;
984+
optional string directPath = 4;
985+
optional int64 mediaKeyTimestamp = 5;
986+
optional string mimetype = 6;
987+
optional OrientationType orientationType = 7;
969988
}
970989

971990
message BotReminderMetadata {
@@ -1012,6 +1031,7 @@ message MessageAssociation {
10121031
MEDIA_ALBUM = 1;
10131032
BOT_PLUGIN = 2;
10141033
EVENT_COVER_IMAGE = 3;
1034+
STATUS_POLL = 4;
10151035
}
10161036

10171037
optional AssociationType associationType = 1;
@@ -1035,6 +1055,7 @@ message MessageContextInfo {
10351055
optional MessageAddonExpiryType messageAddOnExpiryType = 9;
10361056
optional MessageAssociation messageAssociation = 10;
10371057
optional bool capiCreatedGroup = 11;
1058+
optional string supportPayload = 12;
10381059
}
10391060

10401061
message HydratedTemplateButton {
@@ -1207,9 +1228,10 @@ message Message {
12071228
optional PlaceholderMessage placeholderMessage = 80;
12081229
optional SecretEncryptedMessage secretEncryptedMessage = 82;
12091230
optional AlbumMessage albumMessage = 83;
1210-
optional PollResultSnapshotMessage pollResultSnapshotMessage = 84;
12111231
optional FutureProofMessage eventCoverImage = 85;
12121232
optional StickerPackMessage stickerPackMessage = 86;
1233+
optional FutureProofMessage statusMentionMessage = 87;
1234+
optional PollResultSnapshotMessage pollResultSnapshotMessage = 88;
12131235
}
12141236

12151237
message StickerPackMessage {
@@ -1218,6 +1240,8 @@ message StickerPackMessage {
12181240
optional bool isAnimated = 2;
12191241
repeated string emojis = 3;
12201242
optional string accessibilityLabel = 4;
1243+
optional bool isLottie = 5;
1244+
optional string mimetype = 6;
12211245
}
12221246

12231247
optional string stickerPackID = 1;
@@ -1230,6 +1254,10 @@ message StickerPackMessage {
12301254
optional bytes mediaKey = 8;
12311255
optional string directPath = 9;
12321256
optional string caption = 10;
1257+
optional ContextInfo contextInfo = 11;
1258+
optional string packDescription = 12;
1259+
optional int64 mediaKeyTimestamp = 13;
1260+
optional string trayIconFileName = 14;
12331261
}
12341262

12351263
message AlbumMessage {
@@ -1523,7 +1551,7 @@ message PeerDataOperationRequestMessage {
15231551

15241552
message FullHistorySyncOnDemandRequest {
15251553
optional FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
1526-
optional int32 numOfDays = 2;
1554+
optional WAWebProtobufsCompanionReg.DeviceProps.HistorySyncConfig historySyncConfig = 2;
15271555
}
15281556

15291557
message HistorySyncOnDemandRequest {
@@ -1688,15 +1716,6 @@ message BotSessionMetadata {
16881716
optional SessionSource sessionSource = 2;
16891717
}
16901718

1691-
message BotMediaMetadata {
1692-
optional string fileSHA256 = 1;
1693-
optional string mediaKey = 2;
1694-
optional string fileEncSHA256 = 3;
1695-
optional string directPath = 4;
1696-
optional int64 mediaKeyTimestamp = 5;
1697-
optional string mimetype = 6;
1698-
}
1699-
17001719
message BotMemuMetadata {
17011720
repeated BotMediaMetadata faceImages = 1;
17021721
}
@@ -1725,6 +1744,17 @@ message DeviceListMetadata {
17251744
repeated uint32 recipientKeyIndexes = 10 [packed=true];
17261745
}
17271746

1747+
message EmbeddedMessage {
1748+
optional string stanzaID = 1;
1749+
optional Message message = 2;
1750+
}
1751+
1752+
message EmbeddedContent {
1753+
oneof content {
1754+
EmbeddedMessage embeddedMessage = 1;
1755+
}
1756+
}
1757+
17281758
message InteractiveAnnotation {
17291759
oneof action {
17301760
Location location = 2;
@@ -1733,6 +1763,7 @@ message InteractiveAnnotation {
17331763

17341764
repeated Point polygonVertices = 1;
17351765
optional bool shouldSkipConfirmation = 4;
1766+
optional EmbeddedContent embeddedContent = 5;
17361767
}
17371768

17381769
message Point {

proto/waHistorySync/WAWebProtobufsHistorySync.pb.go

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

proto/waHistorySync/WAWebProtobufsHistorySync.proto

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ message HistorySync {
4949
repeated WASyncAction.CallLogRecord callLogRecords = 13;
5050
optional BotAIWaitListState aiWaitListState = 14;
5151
repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15;
52+
optional string companionMetaNonce = 16;
5253
}
5354

5455
message Conversation {

store/clientpayload.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (vc WAVersionContainer) ProtoAppVersion() *waProto.ClientPayload_UserAgent_
7474
}
7575

7676
// waVersion is the WhatsApp web client version
77-
var waVersion = WAVersionContainer{2, 3000, 1015183498}
77+
var waVersion = WAVersionContainer{2, 3000, 1015509248}
7878

7979
// waVersionHash is the md5 hash of a dot-separated waVersion
8080
var waVersionHash [16]byte

0 commit comments

Comments
 (0)