Skip to content

Commit

Permalink
proto: update to v1019813674
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Feb 4, 2025
1 parent c3c6a06 commit a75587a
Show file tree
Hide file tree
Showing 7 changed files with 1,519 additions and 1,192 deletions.
2,651 changes: 1,471 additions & 1,180 deletions proto/waE2E/WAWebProtobufsE2E.pb.go

Large diffs are not rendered by default.

Binary file modified proto/waE2E/WAWebProtobufsE2E.pb.raw
Binary file not shown.
29 changes: 28 additions & 1 deletion proto/waE2E/WAWebProtobufsE2E.proto
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,18 @@ message ExtendedTextMessage {
optional MMSThumbnailMetadata faviconMMSMetadata = 33;
}

message StatusNotificationMessage {
enum StatusNotificationType {
UNKNOWN = 0;
STATUS_ADD_YOURS = 1;
STATUS_RESHARE = 2;
}

optional WACommon.MessageKey responseMessageKey = 1;
optional WACommon.MessageKey originalMessageKey = 2;
optional StatusNotificationType type = 3;
}

message InvoiceMessage {
enum AttachmentType {
IMAGE = 0;
Expand Down Expand Up @@ -1099,6 +1111,14 @@ message BotPluginMetadata {
optional string faviconCDNURL = 13;
}

message BotLinkedAccount {
enum BotLinkedAccountType {
BOT_LINKED_ACCOUNT_TYPE_1P = 0;
}

optional BotLinkedAccountType type = 1;
}

message AIRichResponseMessage {
enum AIRichResponseSubMessageType {
AI_RICH_RESPONSE_UNKNOWN = 0;
Expand All @@ -1113,7 +1133,6 @@ message AIRichResponseMessage {
enum AIRichResponseMessageType {
AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
AI_RICH_RESPONSE_TYPE_STANDARD = 1;
AI_RICH_RESPONSE_TYPE_ARTIFACTS = 2;
}

message AIRichResponseDynamicMetadata {
Expand Down Expand Up @@ -1275,6 +1294,7 @@ message BotCapabilityMetadata {
WA_IG_1P_PLUGIN_RANKING_UPDATE_10 = 20;
RICH_RESPONSE_SUB_HEADING = 21;
RICH_RESPONSE_GRID_IMAGE = 22;
AI_STUDIO_UGC_MEMORY = 23;
}

repeated BotCapabilityType capabilities = 1;
Expand Down Expand Up @@ -1303,6 +1323,7 @@ message MessageAssociation {
STATUS_TAPPABLE_MESSAGE = 6;
MEDIA_POLL = 7;
STATUS_ADD_YOURS = 8;
STATUS_NOTIFICATION = 9;
}

optional AssociationType associationType = 1;
Expand Down Expand Up @@ -1512,6 +1533,7 @@ message Message {
optional FutureProofMessage statusAddYours = 95;
optional FutureProofMessage groupStatusMessage = 96;
optional AIRichResponseMessage richResponseMessage = 97;
optional StatusNotificationMessage statusNotificationMessage = 98;
}

message AlbumMessage {
Expand Down Expand Up @@ -1979,6 +2001,10 @@ message BotPromptSuggestion {
optional string promptID = 2;
}

message BotLinkedAccountsMetadata {
repeated BotLinkedAccount accounts = 1;
}

message BotMemoryMetadata {
repeated BotMemoryFact addedFacts = 1;
repeated BotMemoryFact removedFacts = 2;
Expand Down Expand Up @@ -2035,6 +2061,7 @@ message BotMetadata {
optional BotMemoryMetadata memoryMetadata = 15;
optional BotRenderingMetadata renderingMetadata = 16;
optional BotMetricsMetadata botMetricsMetadata = 17;
optional BotLinkedAccountsMetadata botLinkedAccountsMetadata = 18;
}

message DeviceListMetadata {
Expand Down
28 changes: 18 additions & 10 deletions proto/waMediaTransport/WAMediaTransport.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified proto/waMediaTransport/WAMediaTransport.pb.raw
Binary file not shown.
1 change: 1 addition & 0 deletions proto/waMediaTransport/WAMediaTransport.proto
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ message VideoTransport {
optional uint32 width = 5;
optional bytes sidecar = 6;
optional Attribution gifAttribution = 7;
optional string accessibilityLabel = 8;
}

message Integral {
Expand Down
2 changes: 1 addition & 1 deletion store/clientpayload.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (vc WAVersionContainer) ProtoAppVersion() *waProto.ClientPayload_UserAgent_
}

// waVersion is the WhatsApp web client version
var waVersion = WAVersionContainer{2, 3000, 1019716234}
var waVersion = WAVersionContainer{2, 3000, 1019813674}

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

0 comments on commit a75587a

Please sign in to comment.