Skip to content

Commit

Permalink
Update to web version 2.2322.15
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed May 26, 2023
1 parent ba5da01 commit 0e67dea
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 50 deletions.
137 changes: 88 additions & 49 deletions binary/proto/def.pb.go

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

Binary file modified binary/proto/def.pb.raw
Binary file not shown.
7 changes: 7 additions & 0 deletions binary/proto/def.proto
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ message InteractiveMessage {
ImageMessage imageMessage = 4;
bytes jpegThumbnail = 6;
VideoMessage videoMessage = 7;
LocationMessage locationMessage = 8;
}
}

Expand Down Expand Up @@ -767,6 +768,7 @@ message ContextInfo {
optional bool renderLargerThumbnail = 11;
optional bool showAdAttribution = 12;
optional string ctwaClid = 13;
optional string ref = 14;
}

message AdReplyInfo {
Expand Down Expand Up @@ -2299,6 +2301,11 @@ message WebMessageInfo {
RECEIVER_INVITE = 175;
COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS = 176;
PINNED_MESSAGE_IN_CHAT = 177;
PAYMENT_INVITE_SETUP_INVITER = 178;
PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY = 179;
PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE = 180;
LINKED_GROUP_CALL_START = 181;
REPORT_TO_ADMIN_ENABLED_STATUS = 182;
}
enum Status {
ERROR = 0;
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, 2321, 6}
var waVersion = WAVersionContainer{2, 2322, 15}

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

0 comments on commit 0e67dea

Please sign in to comment.