mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: Whatsapp v2.2329.9 proto/version change (#169)
Co-authored-by: edgardmessias <edgardmessias@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
cba9827851
commit
a84f75ef2a
@@ -101,20 +101,7 @@ message BizIdentityInfo {
|
|||||||
|
|
||||||
message BotAvatarMetadata {
|
message BotAvatarMetadata {
|
||||||
optional uint32 sentiment = 1;
|
optional uint32 sentiment = 1;
|
||||||
repeated PlaybackMetadata dynamicVideoList = 2;
|
optional string behaviorGraph = 2;
|
||||||
message PlaybackMetadata {
|
|
||||||
optional string sdProgressiveUrl = 1;
|
|
||||||
optional string hdProgressiveUrl = 2;
|
|
||||||
optional string dashManifest = 3;
|
|
||||||
optional uint32 sentiment = 4;
|
|
||||||
optional uint32 durationMs = 5;
|
|
||||||
optional int64 videoID = 6;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
message BotData {
|
|
||||||
required MessageKey targetMessageKey = 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message BotMetadata {
|
message BotMetadata {
|
||||||
@@ -405,6 +392,8 @@ message ContextInfo {
|
|||||||
optional bool isSampled = 39;
|
optional bool isSampled = 39;
|
||||||
repeated GroupMention groupMentions = 40;
|
repeated GroupMention groupMentions = 40;
|
||||||
optional UTMInfo utm = 41;
|
optional UTMInfo utm = 41;
|
||||||
|
optional ForwardedNewsletterMessageInfo forwardedNewsletterMessageInfo = 43;
|
||||||
|
optional BusinessMessageForwardInfo businessMessageForwardInfo = 44;
|
||||||
message AdReplyInfo {
|
message AdReplyInfo {
|
||||||
optional string advertiserName = 1;
|
optional string advertiserName = 1;
|
||||||
optional MediaType mediaType = 2;
|
optional MediaType mediaType = 2;
|
||||||
@@ -417,6 +406,10 @@ message ContextInfo {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message BusinessMessageForwardInfo {
|
||||||
|
optional string businessOwnerJid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
message ExternalAdReplyInfo {
|
message ExternalAdReplyInfo {
|
||||||
optional string title = 1;
|
optional string title = 1;
|
||||||
optional string body = 2;
|
optional string body = 2;
|
||||||
@@ -439,6 +432,11 @@ message ContextInfo {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message ForwardedNewsletterMessageInfo {
|
||||||
|
optional string newsletterJid = 1;
|
||||||
|
optional int32 serverMessageId = 2;
|
||||||
|
}
|
||||||
|
|
||||||
message UTMInfo {
|
message UTMInfo {
|
||||||
optional string utmSource = 1;
|
optional string utmSource = 1;
|
||||||
optional string utmCampaign = 2;
|
optional string utmCampaign = 2;
|
||||||
@@ -555,16 +553,25 @@ message DeviceProps {
|
|||||||
AR_WRIST = 19;
|
AR_WRIST = 19;
|
||||||
AR_DEVICE = 20;
|
AR_DEVICE = 20;
|
||||||
UWP = 21;
|
UWP = 21;
|
||||||
|
VR = 22;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
message DisappearingMode {
|
message DisappearingMode {
|
||||||
optional Initiator initiator = 1;
|
optional Initiator initiator = 1;
|
||||||
|
optional Trigger trigger = 2;
|
||||||
|
optional string initiatorDeviceJid = 3;
|
||||||
enum Initiator {
|
enum Initiator {
|
||||||
CHANGED_IN_CHAT = 0;
|
CHANGED_IN_CHAT = 0;
|
||||||
INITIATED_BY_ME = 1;
|
INITIATED_BY_ME = 1;
|
||||||
INITIATED_BY_OTHER = 2;
|
INITIATED_BY_OTHER = 2;
|
||||||
}
|
}
|
||||||
|
enum Trigger {
|
||||||
|
UNKNOWN = 0;
|
||||||
|
CHAT_SETTING = 1;
|
||||||
|
ACCOUNT_SETTING = 2;
|
||||||
|
BULK_CHANGE = 3;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
message EphemeralSetting {
|
message EphemeralSetting {
|
||||||
@@ -586,15 +593,6 @@ message ExternalBlobReference {
|
|||||||
optional bytes fileEncSha256 = 6;
|
optional bytes fileEncSha256 = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
message FutureMessageData {
|
|
||||||
optional BotData botData = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message FutureproofMessageSecretMessage {
|
|
||||||
required MessageSecretMessage messageSecretMessage = 1;
|
|
||||||
required FutureMessageData futureMessageData = 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
message GlobalSettings {
|
message GlobalSettings {
|
||||||
optional WallpaperSettings lightThemeWallpaper = 1;
|
optional WallpaperSettings lightThemeWallpaper = 1;
|
||||||
optional MediaVisibility mediaVisibility = 2;
|
optional MediaVisibility mediaVisibility = 2;
|
||||||
@@ -1229,6 +1227,7 @@ message Message {
|
|||||||
|
|
||||||
message CarouselMessage {
|
message CarouselMessage {
|
||||||
repeated Message.InteractiveMessage cards = 1;
|
repeated Message.InteractiveMessage cards = 1;
|
||||||
|
optional int32 messageVersion = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message CollectionMessage {
|
message CollectionMessage {
|
||||||
@@ -1844,6 +1843,7 @@ message MsgOpaqueData {
|
|||||||
optional string encReactionTargetMessageKey = 25;
|
optional string encReactionTargetMessageKey = 25;
|
||||||
optional bytes encReactionEncPayload = 26;
|
optional bytes encReactionEncPayload = 26;
|
||||||
optional bytes encReactionEncIv = 27;
|
optional bytes encReactionEncIv = 27;
|
||||||
|
optional bytes botMessageSecret = 29;
|
||||||
message PollOption {
|
message PollOption {
|
||||||
optional string name = 1;
|
optional string name = 1;
|
||||||
}
|
}
|
||||||
@@ -2055,6 +2055,41 @@ message Pushname {
|
|||||||
optional string pushname = 2;
|
optional string pushname = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message QP {
|
||||||
|
enum ClauseType {
|
||||||
|
AND = 1;
|
||||||
|
OR = 2;
|
||||||
|
NOR = 3;
|
||||||
|
}
|
||||||
|
message Filter {
|
||||||
|
required string filterName = 1;
|
||||||
|
repeated QP.FilterParameters parameters = 2;
|
||||||
|
optional QP.FilterResult filterResult = 3;
|
||||||
|
required QP.FilterClientNotSupportedConfig clientNotSupportedConfig = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message FilterClause {
|
||||||
|
required QP.ClauseType clauseType = 1;
|
||||||
|
repeated QP.FilterClause clauses = 2;
|
||||||
|
repeated QP.Filter filters = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum FilterClientNotSupportedConfig {
|
||||||
|
PASS_BY_DEFAULT = 1;
|
||||||
|
FAIL_BY_DEFAULT = 2;
|
||||||
|
}
|
||||||
|
message FilterParameters {
|
||||||
|
optional string key = 1;
|
||||||
|
optional string value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum FilterResult {
|
||||||
|
TRUE = 1;
|
||||||
|
FALSE = 2;
|
||||||
|
UNKNOWN = 3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
message Reaction {
|
message Reaction {
|
||||||
optional MessageKey key = 1;
|
optional MessageKey key = 1;
|
||||||
optional string text = 2;
|
optional string text = 2;
|
||||||
@@ -2634,7 +2669,6 @@ message WebMessageInfo {
|
|||||||
optional string originalSelfAuthorUserJidString = 51;
|
optional string originalSelfAuthorUserJidString = 51;
|
||||||
optional uint64 revokeMessageTimestamp = 52;
|
optional uint64 revokeMessageTimestamp = 52;
|
||||||
optional PinInChat pinInChat = 54;
|
optional PinInChat pinInChat = 54;
|
||||||
optional FutureproofMessageSecretMessage futureproofMessageSecretMessage = 55;
|
|
||||||
enum BizPrivacyStatus {
|
enum BizPrivacyStatus {
|
||||||
E2EE = 0;
|
E2EE = 0;
|
||||||
FB = 2;
|
FB = 2;
|
||||||
|
|||||||
1059
WAProto/index.d.ts
vendored
1059
WAProto/index.d.ts
vendored
File diff suppressed because it is too large
Load Diff
2617
WAProto/index.js
2617
WAProto/index.js
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"version": [2, 2325, 3]
|
"version": [2, 2329, 9]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user