Skip to content

Commit dbbf7ae

Browse files
committed
proto: update to v1018887907
1 parent b2dd543 commit dbbf7ae

11 files changed

+911
-552
lines changed

binary/proto/legacy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ type (
451451
const (
452452
ADVEncryptionType_E2EE = waAdv.ADVEncryptionType_E2EE
453453
ADVEncryptionType_HOSTED = waAdv.ADVEncryptionType_HOSTED
454-
KeepType_UNKNOWN = waE2E.KeepType_UNKNOWN
454+
KeepType_UNKNOWN = waE2E.KeepType_UNKNOWN_KEEP_TYPE
455455
KeepType_KEEP_FOR_ALL = waE2E.KeepType_KEEP_FOR_ALL
456456
KeepType_UNDO_KEEP_FOR_ALL = waE2E.KeepType_UNDO_KEEP_FOR_ALL
457457
PeerDataOperationRequestType_UPLOAD_STICKER = waE2E.PeerDataOperationRequestType_UPLOAD_STICKER

proto/waE2E/WAWebProtobufsE2E.pb.go

+677-547
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/waE2E/WAWebProtobufsE2E.pb.raw

538 Bytes
Binary file not shown.

proto/waE2E/WAWebProtobufsE2E.proto

+16-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import "waCompanionReg/WAWebProtobufsCompanionReg.proto";
77
import "waMmsRetry/WAMmsRetry.proto";
88
import "waCommon/WACommon.proto";
99

10-
enum PollMediaType {
10+
enum PollContentType {
11+
UNKNOWN_POLL_CONTENT_TYPE = 0;
1112
TEXT = 1;
1213
IMAGE = 2;
1314
}
@@ -52,7 +53,7 @@ enum BotSessionSource {
5253
}
5354

5455
enum KeepType {
55-
UNKNOWN = 0;
56+
UNKNOWN_KEEP_TYPE = 0;
5657
KEEP_FOR_ALL = 1;
5758
UNDO_KEEP_FOR_ALL = 2;
5859
}
@@ -211,7 +212,7 @@ message PollCreationMessage {
211212
repeated Option options = 3;
212213
optional uint32 selectableOptionsCount = 4;
213214
optional ContextInfo contextInfo = 5;
214-
optional PollMediaType pollMediaType = 6;
215+
optional PollContentType pollContentType = 6;
215216
optional PollType pollType = 7;
216217
optional Option correctAnswer = 8;
217218
}
@@ -346,6 +347,16 @@ message InteractiveMessage {
346347
optional int32 messageVersion = 3;
347348
}
348349

350+
message UrlTrackingMap {
351+
message UrlTrackingMapElement {
352+
optional string originalURL = 1;
353+
optional string unconsentedUsersURL = 2;
354+
optional string consentedUsersURL = 3;
355+
}
356+
357+
repeated UrlTrackingMapElement urlTrackingMapElements = 1;
358+
}
359+
349360
message CarouselMessage {
350361
repeated InteractiveMessage cards = 1;
351362
optional int32 messageVersion = 2;
@@ -402,6 +413,7 @@ message InteractiveMessage {
402413
optional Body body = 2;
403414
optional Footer footer = 3;
404415
optional ContextInfo contextInfo = 15;
416+
optional UrlTrackingMap urlTrackingMap = 16;
405417
}
406418

407419
message ListResponseMessage {
@@ -1403,6 +1415,7 @@ message Message {
14031415
optional FutureProofMessage pollCreationMessageV4 = 93;
14041416
optional FutureProofMessage pollCreationMessageV5 = 94;
14051417
optional FutureProofMessage statusAddYours = 95;
1418+
optional FutureProofMessage groupStatusMessage = 96;
14061419
}
14071420

14081421
message AlbumMessage {

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
@@ -108,6 +108,7 @@ message Conversation {
108108
optional bool locked = 46;
109109
optional PrivacySystemMessage systemMessageToInsert = 47;
110110
optional bool capiCreatedGroup = 48;
111+
optional string accountLid = 49;
111112
}
112113

113114
message GroupParticipant {

proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.pb.go

+186
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.pb.raw

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
syntax = "proto2";
2+
package WAWebProtobufLidMigrationSyncPayload;
3+
option go_package = "go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload";
4+
5+
message LIDMigrationMapping {
6+
required uint64 pn = 1;
7+
required uint64 assignedLid = 2;
8+
optional uint64 latestLid = 3;
9+
}
10+
11+
message LIDMigrationMappingSyncPayload {
12+
repeated LIDMigrationMapping pnToLidMappings = 1;
13+
}

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, 1018265499}
77+
var waVersion = WAVersionContainer{2, 3000, 1018887907}
7878

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

0 commit comments

Comments
 (0)