Whatsapp v2.3000.1033381705 proto/version change

Whatsapp v2.3000.1033381705 proto/version change
This commit is contained in:
Renato Alcara
2026-02-13 00:15:15 -03:00
committed by GitHub
3 changed files with 575 additions and 14369 deletions
+265 -46
View File
@@ -1,7 +1,7 @@
syntax = "proto3"; syntax = "proto3";
package proto; package proto;
/// WhatsApp Version: 2.3000.1029496320 /// WhatsApp Version: 2.3000.1033381705
message ADVDeviceIdentity { message ADVDeviceIdentity {
optional uint32 rawId = 1; optional uint32 rawId = 1;
@@ -54,16 +54,28 @@ message AIHomeState {
optional string imageWdsIdentifier = 5; optional string imageWdsIdentifier = 5;
optional string imageTintColor = 6; optional string imageTintColor = 6;
optional string imageBackgroundColor = 7; optional string imageBackgroundColor = 7;
optional string cardTypeId = 8;
enum AIHomeActionType { enum AIHomeActionType {
PROMPT = 0; PROMPT = 0;
CREATE_IMAGE = 1; CREATE_IMAGE = 1;
ANIMATE_PHOTO = 2; ANIMATE_PHOTO = 2;
ANALYZE_FILE = 3; ANALYZE_FILE = 3;
COLLABORATE = 4;
} }
} }
} }
message AIMediaCollectionMessage {
optional string collectionId = 1;
optional uint32 expectedMediaCount = 2;
optional bool hasGlobalCaption = 3;
}
message AIMediaCollectionMetadata {
optional string collectionId = 1;
}
message AIQueryFanout { message AIQueryFanout {
optional MessageKey messageKey = 1; optional MessageKey messageKey = 1;
optional Message message = 2; optional Message message = 2;
@@ -391,6 +403,22 @@ message BotCapabilityMetadata {
AI_RESPONSE_MODEL_BRANDING = 47; AI_RESPONSE_MODEL_BRANDING = 47;
SESSION_TRANSPARENCY_SYSTEM_MESSAGE = 48; SESSION_TRANSPARENCY_SYSTEM_MESSAGE = 48;
RICH_RESPONSE_UR_REASONING = 49; RICH_RESPONSE_UR_REASONING = 49;
RICH_RESPONSE_UR_ZEITGEIST_CITATIONS = 50;
RICH_RESPONSE_UR_ZEITGEIST_CAROUSEL = 51;
AI_IMAGINE_LOADING_INDICATOR = 52;
RICH_RESPONSE_UR_IMAGINE = 53;
AI_IMAGINE_UR_TO_NATIVE_LOADING_INDICATOR = 54;
RICH_RESPONSE_UR_BLOKS_ENABLED = 55;
RICH_RESPONSE_INLINE_LINKS_ENABLED = 56;
RICH_RESPONSE_UR_IMAGINE_VIDEO = 57;
}
}
message BotDocumentMessageMetadata {
optional DocumentPluginType pluginType = 1;
enum DocumentPluginType {
TEXT_EXTRACTION = 0;
OCR_AND_IMAGES = 1;
} }
} }
@@ -490,8 +518,17 @@ message BotFeedbackMessage {
} }
message BotGroupMetadata {
repeated BotGroupParticipantMetadata participantsMetadata = 1;
}
message BotGroupParticipantMetadata {
optional string botFbid = 1;
}
message BotImagineMetadata { message BotImagineMetadata {
optional ImagineType imagineType = 1; optional ImagineType imagineType = 1;
optional string shortPrompt = 2;
enum ImagineType { enum ImagineType {
UNKNOWN = 0; UNKNOWN = 0;
IMAGINE = 1; IMAGINE = 1;
@@ -501,6 +538,16 @@ message BotImagineMetadata {
} }
} }
message BotInfrastructureDiagnostics {
optional BotBackend botBackend = 1;
repeated string toolsUsed = 2;
optional bool isThinking = 3;
enum BotBackend {
AAPI = 0;
CLIPPY = 1;
}
}
message BotLinkedAccount { message BotLinkedAccount {
optional BotLinkedAccountType type = 1; optional BotLinkedAccountType type = 1;
enum BotLinkedAccountType { enum BotLinkedAccountType {
@@ -594,6 +641,11 @@ message BotMetadata {
optional AIThreadInfo botThreadInfo = 31; optional AIThreadInfo botThreadInfo = 31;
optional AIRegenerateMetadata regenerateMetadata = 32; optional AIRegenerateMetadata regenerateMetadata = 32;
optional SessionTransparencyMetadata sessionTransparencyMetadata = 33; optional SessionTransparencyMetadata sessionTransparencyMetadata = 33;
optional BotDocumentMessageMetadata botDocumentMessageMetadata = 34;
optional BotGroupMetadata botGroupMetadata = 35;
optional BotRenderingConfigMetadata botRenderingConfigMetadata = 36;
optional BotInfrastructureDiagnostics botInfrastructureDiagnostics = 37;
optional AIMediaCollectionMetadata aiMediaCollectionMetadata = 38;
optional bytes internalMetadata = 999; optional bytes internalMetadata = 999;
} }
@@ -637,6 +689,12 @@ enum BotMetricsEntryPoint {
ATTACHMENT_TRAY_GROUP_CHAT = 36; ATTACHMENT_TRAY_GROUP_CHAT = 36;
ASK_META_AI_MEDIA_VIEWER_1ON1 = 37; ASK_META_AI_MEDIA_VIEWER_1ON1 = 37;
ASK_META_AI_MEDIA_VIEWER_GROUP = 38; ASK_META_AI_MEDIA_VIEWER_GROUP = 38;
MEDIA_PICKER_1_ON_1_CHAT = 39;
MEDIA_PICKER_GROUP_CHAT = 40;
ASK_META_AI_NO_SEARCH_RESULTS = 41;
META_AI_SETTINGS = 45;
WEB_INTRO_PANEL = 46;
WEB_NAVIGATION_BAR = 47;
} }
message BotMetricsMetadata { message BotMetricsMetadata {
optional string destinationId = 1; optional string destinationId = 1;
@@ -653,9 +711,10 @@ enum BotMetricsThreadEntryPoint {
} }
message BotModeSelectionMetadata { message BotModeSelectionMetadata {
repeated BotUserSelectionMode mode = 1; repeated BotUserSelectionMode mode = 1;
repeated uint32 overrideMode = 2;
enum BotUserSelectionMode { enum BotUserSelectionMode {
UNKNOWN_MODE = 0; DEFAULT_MODE = 0;
REASONING_MODE = 1; THINK_HARD_MODE = 1;
} }
} }
@@ -704,6 +763,7 @@ message BotPluginMetadata {
message BotProgressIndicatorMetadata { message BotProgressIndicatorMetadata {
optional string progressDescription = 1; optional string progressDescription = 1;
repeated BotPlanningStepMetadata stepsMetadata = 2; repeated BotPlanningStepMetadata stepsMetadata = 2;
optional int64 estimatedCompletionTime = 3;
message BotPlanningStepMetadata { message BotPlanningStepMetadata {
optional string statusTitle = 1; optional string statusTitle = 1;
optional string statusBody = 2; optional string statusBody = 2;
@@ -807,6 +867,11 @@ message BotReminderMetadata {
} }
} }
message BotRenderingConfigMetadata {
optional string bloksVersioningId = 1;
optional double pixelDensity = 2;
}
message BotRenderingMetadata { message BotRenderingMetadata {
repeated Keyword keywords = 1; repeated Keyword keywords = 1;
message Keyword { message Keyword {
@@ -829,6 +894,7 @@ enum BotSessionSource {
EMU_FLASH = 4; EMU_FLASH = 4;
EMU_FLASH_FOLLOWUP = 5; EMU_FLASH_FOLLOWUP = 5;
VOICE = 6; VOICE = 6;
AI_HOME_SESSION = 7;
} }
message BotSignatureVerificationMetadata { message BotSignatureVerificationMetadata {
repeated BotSignatureVerificationUseCaseProof proofs = 1; repeated BotSignatureVerificationUseCaseProof proofs = 1;
@@ -999,16 +1065,17 @@ message ChatRowOpaqueData {
} }
message Citation { message Citation {
string title = 1; required string title = 1;
string subtitle = 2; required string subtitle = 2;
string cmsId = 3; required string cmsId = 3;
string imageUrl = 4; required string imageUrl = 4;
} }
message ClientPairingProps { message ClientPairingProps {
optional bool isChatDbLidMigrated = 1; optional bool isChatDbLidMigrated = 1;
optional bool isSyncdPureLidSession = 2; optional bool isSyncdPureLidSession = 2;
optional bool isSyncdSnapshotRecoveryEnabled = 3; optional bool isSyncdSnapshotRecoveryEnabled = 3;
optional bool isHsThumbnailSyncEnabled = 4;
} }
message ClientPayload { message ClientPayload {
@@ -1086,6 +1153,8 @@ message ClientPayload {
OVERRIDE = 3; OVERRIDE = 3;
FALLBACK = 4; FALLBACK = 4;
MNS = 5; MNS = 5;
MNS_SECONDARY = 6;
SOCKS_PROXY = 7;
} }
} }
@@ -1207,6 +1276,8 @@ message ClientPayload {
optional string version = 2; optional string version = 2;
optional WebdPayload webdPayload = 3; optional WebdPayload webdPayload = 3;
optional WebSubPlatform webSubPlatform = 4; optional WebSubPlatform webSubPlatform = 4;
optional string browser = 5;
optional string browserVersion = 6;
enum WebSubPlatform { enum WebSubPlatform {
WEB_BROWSER = 0; WEB_BROWSER = 0;
APP_STORE = 1; APP_STORE = 1;
@@ -1317,6 +1388,9 @@ message ContextInfo {
optional uint32 nonJidMentions = 70; optional uint32 nonJidMentions = 70;
optional QuotedType quotedType = 71; optional QuotedType quotedType = 71;
optional BotMessageSharingInfo botMessageSharingInfo = 72; optional BotMessageSharingInfo botMessageSharingInfo = 72;
optional bool isSpoiler = 73;
optional MediaDomainInfo mediaDomainInfo = 74;
optional PartiallySelectedContent partiallySelectedContent = 75;
message AdReplyInfo { message AdReplyInfo {
optional string advertiserName = 1; optional string advertiserName = 1;
optional MediaType mediaType = 2; optional MediaType mediaType = 2;
@@ -1413,6 +1487,7 @@ message ContextInfo {
optional string newsletterName = 3; optional string newsletterName = 3;
optional ContentType contentType = 4; optional ContentType contentType = 4;
optional string accessibilityText = 5; optional string accessibilityText = 5;
optional string profileName = 6;
enum ContentType { enum ContentType {
UPDATE = 1; UPDATE = 1;
UPDATE_CARD = 2; UPDATE_CARD = 2;
@@ -1431,6 +1506,10 @@ message ContextInfo {
HEVC_VIDEO_PARENT = 7; HEVC_VIDEO_PARENT = 7;
HEVC_VIDEO_CHILD = 8; HEVC_VIDEO_CHILD = 8;
} }
message PartiallySelectedContent {
optional string text = 1;
}
message QuestionReplyQuotedMessage { message QuestionReplyQuotedMessage {
optional int32 serverQuestionId = 1; optional int32 serverQuestionId = 1;
optional Message quotedQuestion = 2; optional Message quotedQuestion = 2;
@@ -1450,6 +1529,8 @@ message ContextInfo {
} }
message StatusAudienceMetadata { message StatusAudienceMetadata {
optional AudienceType audienceType = 1; optional AudienceType audienceType = 1;
optional string listName = 2;
optional string listEmoji = 3;
enum AudienceType { enum AudienceType {
UNKNOWN = 0; UNKNOWN = 0;
CLOSE_FRIENDS = 1; CLOSE_FRIENDS = 1;
@@ -1472,7 +1553,7 @@ message ContextInfo {
} }
message Conversation { message Conversation {
string id = 1; required string id = 1;
repeated HistorySyncMsg messages = 2; repeated HistorySyncMsg messages = 2;
optional string newJid = 3; optional string newJid = 3;
optional string oldJid = 4; optional string oldJid = 4;
@@ -1530,6 +1611,7 @@ message Conversation {
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0; COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1; COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY = 2; COMPLETE_ON_DEMAND_SYNC_BUT_MORE_MSG_REMAIN_ON_PRIMARY = 2;
COMPLETE_ON_DEMAND_SYNC_WITH_MORE_MSG_ON_PRIMARY_BUT_NO_ACCESS = 3;
} }
} }
@@ -1539,6 +1621,16 @@ message DeviceCapabilities {
optional BusinessBroadcast businessBroadcast = 3; optional BusinessBroadcast businessBroadcast = 3;
optional UserHasAvatar userHasAvatar = 4; optional UserHasAvatar userHasAvatar = 4;
optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5; optional MemberNameTagPrimarySupport memberNameTagPrimarySupport = 5;
optional AiThread aiThread = 6;
message AiThread {
optional SupportLevel supportLevel = 1;
enum SupportLevel {
NONE = 0;
INFRA = 1;
FULL = 2;
}
}
message BusinessBroadcast { message BusinessBroadcast {
optional bool importListEnabled = 1; optional bool importListEnabled = 1;
} }
@@ -1613,6 +1705,7 @@ message DeviceProps {
optional bool supportGuestChat = 17; optional bool supportGuestChat = 17;
optional bool completeOnDemandReady = 18; optional bool completeOnDemandReady = 18;
optional uint32 thumbnailSyncDaysLimit = 19; optional uint32 thumbnailSyncDaysLimit = 19;
optional uint32 initialSyncMaxMessagesPerChat = 20;
} }
enum PlatformType { enum PlatformType {
@@ -1789,7 +1882,7 @@ message GroupMention {
} }
message GroupParticipant { message GroupParticipant {
string userJid = 1; required string userJid = 1;
optional Rank rank = 2; optional Rank rank = 2;
optional MemberLabel memberLabel = 3; optional MemberLabel memberLabel = 3;
enum Rank { enum Rank {
@@ -1827,7 +1920,7 @@ message HandshakeMessage {
} }
message HistorySync { message HistorySync {
HistorySyncType syncType = 1; required HistorySyncType syncType = 1;
repeated Conversation conversations = 2; repeated Conversation conversations = 2;
repeated WebMessageInfo statusV3Messages = 3; repeated WebMessageInfo statusV3Messages = 3;
optional uint32 chunkOrder = 5; optional uint32 chunkOrder = 5;
@@ -1918,6 +2011,7 @@ message InThreadSurveyMetadata {
optional string privacyStatementFull = 15; optional string privacyStatementFull = 15;
repeated InThreadSurveyPrivacyStatementPart privacyStatementParts = 16; repeated InThreadSurveyPrivacyStatementPart privacyStatementParts = 16;
optional string feedbackToastText = 17; optional string feedbackToastText = 17;
optional int32 startQuestionIndex = 18;
message InThreadSurveyOption { message InThreadSurveyOption {
optional string stringValue = 1; optional string stringValue = 1;
optional uint32 numericValue = 2; optional uint32 numericValue = 2;
@@ -1986,8 +2080,8 @@ message KeyId {
} }
message LIDMigrationMapping { message LIDMigrationMapping {
uint64 pn = 1; required uint64 pn = 1;
uint64 assignedLid = 2; required uint64 assignedLid = 2;
optional uint64 latestLid = 3; optional uint64 latestLid = 3;
} }
@@ -2034,6 +2128,16 @@ message MediaData {
optional string localPath = 1; optional string localPath = 1;
} }
message MediaDomainInfo {
optional MediaKeyDomain mediaKeyDomain = 1;
optional bytes e2EeMediaKey = 2;
}
enum MediaKeyDomain {
MEDIA_KEY_DOMAIN_UNKNOWN = 0;
MEDIA_KEY_DOMAIN_E2EE = 1;
MEDIA_KEY_DOMAIN_NON_E2EE = 2;
}
message MediaNotifyMessage { message MediaNotifyMessage {
optional string expressPathUrl = 1; optional string expressPathUrl = 1;
optional bytes fileEncSha256 = 2; optional bytes fileEncSha256 = 2;
@@ -2158,7 +2262,11 @@ message Message {
optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110; optional StatusStickerInteractionMessage statusStickerInteractionMessage = 110;
optional PollCreationMessage pollCreationMessageV5 = 111; optional PollCreationMessage pollCreationMessageV5 = 111;
optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113; optional NewsletterFollowerInviteMessage newsletterFollowerInviteMessageV2 = 113;
optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 114; optional PollResultSnapshotMessage pollResultSnapshotMessageV3 = 115;
optional FutureProofMessage newsletterAdminProfileMessage = 116;
optional FutureProofMessage newsletterAdminProfileMessageV2 = 117;
optional FutureProofMessage spoilerMessage = 118;
optional FutureProofMessage pollCreationMessageV6 = 119;
message AlbumMessage { message AlbumMessage {
optional uint32 expectedImageCount = 2; optional uint32 expectedImageCount = 2;
optional uint32 expectedVideoCount = 3; optional uint32 expectedVideoCount = 3;
@@ -2216,7 +2324,6 @@ message Message {
optional fixed32 backgroundArgb = 20; optional fixed32 backgroundArgb = 20;
optional bool viewOnce = 21; optional bool viewOnce = 21;
optional string accessibilityLabel = 22; optional string accessibilityLabel = 22;
optional Message.MediaKeyDomain mediaKeyDomain = 23;
} }
message BCallMessage { message BCallMessage {
@@ -2299,6 +2406,7 @@ message Message {
optional ContextInfo contextInfo = 7; optional ContextInfo contextInfo = 7;
optional string nativeFlowCallButtonPayload = 8; optional string nativeFlowCallButtonPayload = 8;
optional string deeplinkPayload = 9; optional string deeplinkPayload = 9;
optional MessageContextInfo messageContextInfo = 10;
} }
message CallLogMessage { message CallLogMessage {
@@ -2366,6 +2474,7 @@ message Message {
optional string displayName = 1; optional string displayName = 1;
optional string vcard = 16; optional string vcard = 16;
optional ContextInfo contextInfo = 17; optional ContextInfo contextInfo = 17;
optional bool isSelfContact = 18;
} }
message ContactsArrayMessage { message ContactsArrayMessage {
@@ -2406,7 +2515,6 @@ message Message {
optional uint32 thumbnailWidth = 19; optional uint32 thumbnailWidth = 19;
optional string caption = 20; optional string caption = 20;
optional string accessibilityLabel = 21; optional string accessibilityLabel = 21;
optional Message.MediaKeyDomain mediaKeyDomain = 22;
} }
message EncCommentMessage { message EncCommentMessage {
@@ -2658,7 +2766,6 @@ message Message {
repeated InteractiveAnnotation annotations = 30; repeated InteractiveAnnotation annotations = 30;
optional ImageSourceType imageSourceType = 31; optional ImageSourceType imageSourceType = 31;
optional string accessibilityLabel = 32; optional string accessibilityLabel = 32;
optional Message.MediaKeyDomain mediaKeyDomain = 33;
optional string qrUrl = 34; optional string qrUrl = 34;
enum ImageSourceType { enum ImageSourceType {
USER_IMAGE = 0; USER_IMAGE = 0;
@@ -2676,6 +2783,7 @@ message Message {
optional Header header = 1; optional Header header = 1;
optional Body body = 2; optional Body body = 2;
optional Footer footer = 3; optional Footer footer = 3;
optional BloksWidget bloksWidget = 8;
optional ContextInfo contextInfo = 15; optional ContextInfo contextInfo = 15;
optional UrlTrackingMap urlTrackingMap = 16; optional UrlTrackingMap urlTrackingMap = 16;
oneof interactiveMessage { oneof interactiveMessage {
@@ -2684,6 +2792,12 @@ message Message {
Message.InteractiveMessage.NativeFlowMessage nativeFlowMessage = 6; Message.InteractiveMessage.NativeFlowMessage nativeFlowMessage = 6;
Message.InteractiveMessage.CarouselMessage carouselMessage = 7; Message.InteractiveMessage.CarouselMessage carouselMessage = 7;
} }
message BloksWidget {
optional string uuid = 1;
optional string data = 2;
optional string type = 3;
}
message Body { message Body {
optional string text = 1; optional string text = 1;
} }
@@ -2717,6 +2831,7 @@ message Message {
optional string title = 1; optional string title = 1;
optional string subtitle = 2; optional string subtitle = 2;
optional bool hasMediaAttachment = 5; optional bool hasMediaAttachment = 5;
optional Message.InteractiveMessage.BloksWidget bloksWidget = 10;
oneof media { oneof media {
Message.DocumentMessage documentMessage = 3; Message.DocumentMessage documentMessage = 3;
Message.ImageMessage imageMessage = 4; Message.ImageMessage imageMessage = 4;
@@ -2917,16 +3032,8 @@ message Message {
optional int64 mediaKeyTimestamp = 5; optional int64 mediaKeyTimestamp = 5;
optional uint32 thumbnailHeight = 6; optional uint32 thumbnailHeight = 6;
optional uint32 thumbnailWidth = 7; optional uint32 thumbnailWidth = 7;
optional Message.MediaKeyDomain mediaKeyDomain = 8;
} }
enum MediaKeyDomain {
UNSET = 0;
E2EE_CHAT = 1;
STATUS = 2;
CAPI = 3;
BOT = 4;
}
message MessageHistoryBundle { message MessageHistoryBundle {
optional string mimetype = 1; optional string mimetype = 1;
optional bytes fileSha256 = 2; optional bytes fileSha256 = 2;
@@ -2942,6 +3049,7 @@ message Message {
repeated string historyReceivers = 1; repeated string historyReceivers = 1;
optional int64 oldestMessageTimestamp = 2; optional int64 oldestMessageTimestamp = 2;
optional int64 messageCount = 3; optional int64 messageCount = 3;
repeated string nonHistoryReceivers = 4;
} }
message MessageHistoryNotice { message MessageHistoryNotice {
@@ -2995,12 +3103,13 @@ message Message {
message PaymentExtendedMetadata { message PaymentExtendedMetadata {
optional uint32 type = 1; optional uint32 type = 1;
optional string platform = 2; optional string platform = 2;
optional string messageParamsJson = 3;
} }
message PaymentInviteMessage { message PaymentInviteMessage {
optional ServiceType serviceType = 1; optional ServiceType serviceType = 1;
optional int64 expiryTimestamp = 2; optional int64 expiryTimestamp = 2;
optional bool incentiveEligible = 3;
optional string referralId = 4;
enum ServiceType { enum ServiceType {
UNKNOWN = 0; UNKNOWN = 0;
FBPAY = 1; FBPAY = 1;
@@ -3041,6 +3150,11 @@ message Message {
optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7; optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7;
optional HistorySyncChunkRetryRequest historySyncChunkRetryRequest = 8; optional HistorySyncChunkRetryRequest historySyncChunkRetryRequest = 8;
optional GalaxyFlowAction galaxyFlowAction = 9; optional GalaxyFlowAction galaxyFlowAction = 9;
optional CompanionCanonicalUserNonceFetchRequest companionCanonicalUserNonceFetchRequest = 10;
message CompanionCanonicalUserNonceFetchRequest {
optional string registrationTraceId = 1;
}
message FullHistorySyncOnDemandRequest { message FullHistorySyncOnDemandRequest {
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1; optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
optional DeviceProps.HistorySyncConfig historySyncConfig = 2; optional DeviceProps.HistorySyncConfig historySyncConfig = 2;
@@ -3168,6 +3282,9 @@ message Message {
message PaymentLinkPreviewMetadata { message PaymentLinkPreviewMetadata {
optional bool isBusinessVerified = 1; optional bool isBusinessVerified = 1;
optional string providerName = 2; optional string providerName = 2;
optional string amount = 3;
optional string offset = 4;
optional string currency = 5;
} }
} }
@@ -3236,6 +3353,8 @@ message Message {
optional Message.PollContentType pollContentType = 6; optional Message.PollContentType pollContentType = 6;
optional Message.PollType pollType = 7; optional Message.PollType pollType = 7;
optional Option correctAnswer = 8; optional Option correctAnswer = 8;
optional int64 endTime = 9;
optional bool hideParticipantName = 10;
message Option { message Option {
optional string optionName = 1; optional string optionName = 1;
optional string optionHash = 2; optional string optionHash = 2;
@@ -3333,6 +3452,7 @@ message Message {
optional bytes aiPsiMetadata = 25; optional bytes aiPsiMetadata = 25;
optional AIQueryFanout aiQueryFanout = 26; optional AIQueryFanout aiQueryFanout = 26;
optional MemberLabel memberLabel = 27; optional MemberLabel memberLabel = 27;
optional AIMediaCollectionMessage aiMediaCollectionMessage = 28;
enum Type { enum Type {
REVOKE = 0; REVOKE = 0;
EPHEMERAL_SETTING = 3; EPHEMERAL_SETTING = 3;
@@ -3360,6 +3480,8 @@ message Message {
AI_PSI_METADATA = 28; AI_PSI_METADATA = 28;
AI_QUERY_FANOUT = 29; AI_QUERY_FANOUT = 29;
GROUP_MEMBER_LABEL_CHANGE = 30; GROUP_MEMBER_LABEL_CHANGE = 30;
AI_MEDIA_COLLECTION_MESSAGE = 31;
MESSAGE_UNSCHEDULE = 32;
} }
} }
@@ -3422,10 +3544,13 @@ message Message {
optional bytes encPayload = 2; optional bytes encPayload = 2;
optional bytes encIv = 3; optional bytes encIv = 3;
optional SecretEncType secretEncType = 4; optional SecretEncType secretEncType = 4;
optional string remoteKeyId = 5;
enum SecretEncType { enum SecretEncType {
UNKNOWN = 0; UNKNOWN = 0;
EVENT_EDIT = 1; EVENT_EDIT = 1;
MESSAGE_EDIT = 2; MESSAGE_EDIT = 2;
MESSAGE_SCHEDULE = 3;
POLL_EDIT = 4;
} }
} }
@@ -3499,7 +3624,7 @@ message Message {
optional bool isAiSticker = 20; optional bool isAiSticker = 20;
optional bool isLottie = 21; optional bool isLottie = 21;
optional string accessibilityLabel = 22; optional string accessibilityLabel = 22;
optional Message.MediaKeyDomain mediaKeyDomain = 23; optional int32 premium = 24;
} }
message StickerPackMessage { message StickerPackMessage {
@@ -3599,10 +3724,10 @@ message Message {
} }
message VideoEndCard { message VideoEndCard {
string username = 1; required string username = 1;
string caption = 2; required string caption = 2;
string thumbnailImageUrl = 3; required string thumbnailImageUrl = 3;
string profilePictureUrl = 4; required string profilePictureUrl = 4;
} }
message VideoMessage { message VideoMessage {
@@ -3636,7 +3761,6 @@ message Message {
optional uint64 motionPhotoPresentationOffsetMs = 29; optional uint64 motionPhotoPresentationOffsetMs = 29;
optional string metadataUrl = 30; optional string metadataUrl = 30;
optional VideoSourceType videoSourceType = 31; optional VideoSourceType videoSourceType = 31;
optional Message.MediaKeyDomain mediaKeyDomain = 32;
enum Attribution { enum Attribution {
NONE = 0; NONE = 0;
GIPHY = 1; GIPHY = 1;
@@ -3788,6 +3912,7 @@ message MsgOpaqueData {
optional bool eventIsScheduledCall = 44; optional bool eventIsScheduledCall = 44;
optional bool eventExtraGuestsAllowed = 45; optional bool eventExtraGuestsAllowed = 45;
optional bytes plainProtobufBytes = 43; optional bytes plainProtobufBytes = 43;
optional string quarantineExtractedText = 48;
message EventLocation { message EventLocation {
optional double degreesLatitude = 1; optional double degreesLatitude = 1;
optional double degreesLongitude = 2; optional double degreesLongitude = 2;
@@ -3899,8 +4024,10 @@ enum MutationProps {
NEWSLETTER_SAVED_INTERESTS_ACTION = 75; NEWSLETTER_SAVED_INTERESTS_ACTION = 75;
AI_THREAD_RENAME_ACTION = 76; AI_THREAD_RENAME_ACTION = 76;
INTERACTIVE_MESSAGE_ACTION = 77; INTERACTIVE_MESSAGE_ACTION = 77;
SETTINGS_SYNC_ACTION = 78;
SHARE_OWN_PN = 10001; SHARE_OWN_PN = 10001;
BUSINESS_BROADCAST_ACTION = 10002; BUSINESS_BROADCAST_ACTION = 10002;
AI_THREAD_DELETE_ACTION = 10003;
} }
message NoiseCertificate { message NoiseCertificate {
optional bytes details = 1; optional bytes details = 1;
@@ -4421,6 +4548,7 @@ message StatusAttribution {
RL_ATTRIBUTION = 6; RL_ATTRIBUTION = 6;
AI_CREATED = 7; AI_CREATED = 7;
LAYOUTS = 8; LAYOUTS = 8;
NEWSLETTER_STATUS = 9;
} }
} }
@@ -4429,7 +4557,7 @@ message StatusMentionMessage {
} }
message StatusPSA { message StatusPSA {
uint64 campaignId = 44; required uint64 campaignId = 44;
optional uint64 campaignExpirationTimestamp = 45; optional uint64 campaignExpirationTimestamp = 45;
} }
@@ -4516,7 +4644,6 @@ message SyncActionValue {
optional CtwaPerCustomerDataSharingAction ctwaPerCustomerDataSharingAction = 62; optional CtwaPerCustomerDataSharingAction ctwaPerCustomerDataSharingAction = 62;
optional PaymentTosAction paymentTosAction = 63; optional PaymentTosAction paymentTosAction = 63;
optional PrivacySettingChannelsPersonalisedRecommendationAction privacySettingChannelsPersonalisedRecommendationAction = 64; optional PrivacySettingChannelsPersonalisedRecommendationAction privacySettingChannelsPersonalisedRecommendationAction = 64;
optional BusinessBroadcastAssociationAction businessBroadcastAssociationAction = 65;
optional DetectedOutcomesStatusAction detectedOutcomesStatusAction = 66; optional DetectedOutcomesStatusAction detectedOutcomesStatusAction = 66;
optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction = 68; optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction = 68;
optional BusinessBroadcastListAction businessBroadcastListAction = 69; optional BusinessBroadcastListAction businessBroadcastListAction = 69;
@@ -4527,6 +4654,7 @@ message SyncActionValue {
optional NewsletterSavedInterestsAction newsletterSavedInterestsAction = 75; optional NewsletterSavedInterestsAction newsletterSavedInterestsAction = 75;
optional AiThreadRenameAction aiThreadRenameAction = 76; optional AiThreadRenameAction aiThreadRenameAction = 76;
optional InteractiveMessageAction interactiveMessageAction = 77; optional InteractiveMessageAction interactiveMessageAction = 77;
optional SettingsSyncAction settingsSyncAction = 78;
message AgentAction { message AgentAction {
optional string name = 1; optional string name = 1;
optional int32 deviceID = 2; optional int32 deviceID = 2;
@@ -4561,7 +4689,7 @@ message SyncActionValue {
} }
message BroadcastListParticipant { message BroadcastListParticipant {
string lidJid = 1; required string lidJid = 1;
optional string pnJid = 2; optional string pnJid = 2;
} }
@@ -4573,6 +4701,7 @@ message SyncActionValue {
optional bool deleted = 1; optional bool deleted = 1;
repeated SyncActionValue.BroadcastListParticipant participants = 2; repeated SyncActionValue.BroadcastListParticipant participants = 2;
optional string listName = 3; optional string listName = 3;
repeated string labelIds = 4;
} }
message CallLogAction { message CallLogAction {
@@ -4605,15 +4734,15 @@ message SyncActionValue {
} }
message CustomPaymentMethod { message CustomPaymentMethod {
string credentialId = 1; required string credentialId = 1;
string country = 2; required string country = 2;
string type = 3; required string type = 3;
repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4; repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
} }
message CustomPaymentMethodMetadata { message CustomPaymentMethodMetadata {
string key = 1; required string key = 1;
string value = 2; required string value = 2;
} }
message CustomPaymentMethodsAction { message CustomPaymentMethodsAction {
@@ -4651,7 +4780,7 @@ message SyncActionValue {
} }
message InteractiveMessageAction { message InteractiveMessageAction {
InteractiveMessageActionMode type = 1; required InteractiveMessageActionMode type = 1;
enum InteractiveMessageActionMode { enum InteractiveMessageActionMode {
DISABLE_CTA = 1; DISABLE_CTA = 1;
} }
@@ -4739,8 +4868,8 @@ message SyncActionValue {
} }
message MerchantPaymentPartnerAction { message MerchantPaymentPartnerAction {
Status status = 1; required Status status = 1;
string country = 2; required string country = 2;
optional string gatewayName = 3; optional string gatewayName = 3;
optional string credentialId = 4; optional string credentialId = 4;
enum Status { enum Status {
@@ -4758,6 +4887,7 @@ message SyncActionValue {
optional bool muted = 1; optional bool muted = 1;
optional int64 muteEndTimestamp = 2; optional int64 muteEndTimestamp = 2;
optional bool autoMuted = 3; optional bool autoMuted = 3;
optional int64 muteEveryoneMentionEndTimestamp = 4;
} }
message NewsletterSavedInterestsAction { message NewsletterSavedInterestsAction {
@@ -4795,8 +4925,8 @@ message SyncActionValue {
} }
message PaymentTosAction { message PaymentTosAction {
PaymentNotice paymentNotice = 1; required PaymentNotice paymentNotice = 1;
bool accepted = 2; required bool accepted = 2;
enum PaymentNotice { enum PaymentNotice {
BR_PAY_PRIVACY_POLICY = 0; BR_PAY_PRIVACY_POLICY = 0;
} }
@@ -4859,6 +4989,92 @@ message SyncActionValue {
optional int64 lastStickerSentTs = 1; optional int64 lastStickerSentTs = 1;
} }
message SettingsSyncAction {
optional bool startAtLogin = 1;
optional bool minimizeToTray = 2;
optional string language = 3;
optional bool replaceTextWithEmoji = 4;
optional DisplayMode bannerNotificationDisplayMode = 5;
optional DisplayMode unreadCounterBadgeDisplayMode = 6;
optional bool isMessagesNotificationEnabled = 7;
optional bool isCallsNotificationEnabled = 8;
optional bool isReactionsNotificationEnabled = 9;
optional bool isStatusReactionsNotificationEnabled = 10;
optional bool isTextPreviewForNotificationEnabled = 11;
optional int32 defaultNotificationToneId = 12;
optional int32 groupDefaultNotificationToneId = 13;
optional int32 appTheme = 14;
optional int32 wallpaperId = 15;
optional bool isDoodleWallpaperEnabled = 16;
optional int32 fontSize = 17;
optional bool isPhotosAutodownloadEnabled = 18;
optional bool isAudiosAutodownloadEnabled = 19;
optional bool isVideosAutodownloadEnabled = 20;
optional bool isDocumentsAutodownloadEnabled = 21;
optional bool disableLinkPreviews = 22;
optional int32 notificationToneId = 23;
optional MediaQualitySetting mediaUploadQuality = 24;
optional bool isSpellCheckEnabled = 25;
optional bool isEnterToSendEnabled = 26;
optional bool isGroupMessageNotificationEnabled = 27;
optional bool isGroupReactionsNotificationEnabled = 28;
optional bool isStatusNotificationEnabled = 29;
optional int32 statusNotificationToneId = 30;
optional bool shouldPlaySoundForCallNotification = 31;
enum DisplayMode {
DISPLAY_MODE_UNKNOWN = 0;
ALWAYS = 1;
NEVER = 2;
ONLY_WHEN_APP_IS_OPEN = 3;
}
enum MediaQualitySetting {
MEDIA_QUALITY_UNKNOWN = 0;
STANDARD = 1;
HD = 2;
}
enum SettingKey {
SETTING_KEY_UNKNOWN = 0;
START_AT_LOGIN = 1;
MINIMIZE_TO_TRAY = 2;
LANGUAGE = 3;
REPLACE_TEXT_WITH_EMOJI = 4;
BANNER_NOTIFICATION_DISPLAY_MODE = 5;
UNREAD_COUNTER_BADGE_DISPLAY_MODE = 6;
IS_MESSAGES_NOTIFICATION_ENABLED = 7;
IS_CALLS_NOTIFICATION_ENABLED = 8;
IS_REACTIONS_NOTIFICATION_ENABLED = 9;
IS_STATUS_REACTIONS_NOTIFICATION_ENABLED = 10;
IS_TEXT_PREVIEW_FOR_NOTIFICATION_ENABLED = 11;
DEFAULT_NOTIFICATION_TONE_ID = 12;
GROUP_DEFAULT_NOTIFICATION_TONE_ID = 13;
APP_THEME = 14;
WALLPAPER_ID = 15;
IS_DOODLE_WALLPAPER_ENABLED = 16;
FONT_SIZE = 17;
IS_PHOTOS_AUTODOWNLOAD_ENABLED = 18;
IS_AUDIOS_AUTODOWNLOAD_ENABLED = 19;
IS_VIDEOS_AUTODOWNLOAD_ENABLED = 20;
IS_DOCUMENTS_AUTODOWNLOAD_ENABLED = 21;
DISABLE_LINK_PREVIEWS = 22;
NOTIFICATION_TONE_ID = 23;
MEDIA_UPLOAD_QUALITY = 24;
IS_SPELL_CHECK_ENABLED = 25;
IS_ENTER_TO_SEND_ENABLED = 26;
IS_GROUP_MESSAGE_NOTIFICATION_ENABLED = 27;
IS_GROUP_REACTIONS_NOTIFICATION_ENABLED = 28;
IS_STATUS_NOTIFICATION_ENABLED = 29;
STATUS_NOTIFICATION_TONE_ID = 30;
SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION = 31;
}
enum SettingPlatform {
PLATFORM_UNKNOWN = 0;
WEB = 1;
HYBRID = 2;
WINDOWS = 3;
MAC = 4;
}
}
message StarAction { message StarAction {
optional bool starred = 1; optional bool starred = 1;
} }
@@ -5079,7 +5295,7 @@ message UserPassword {
} }
message UserReceipt { message UserReceipt {
string userJid = 1; required string userJid = 1;
optional int64 receiptTimestamp = 2; optional int64 receiptTimestamp = 2;
optional int64 readTimestamp = 3; optional int64 readTimestamp = 3;
optional int64 playedTimestamp = 4; optional int64 playedTimestamp = 4;
@@ -5165,7 +5381,7 @@ enum WebLinkRenderConfig {
SYSTEM = 1; SYSTEM = 1;
} }
message WebMessageInfo { message WebMessageInfo {
MessageKey key = 1; required MessageKey key = 1;
optional Message message = 2; optional Message message = 2;
optional uint64 messageTimestamp = 3; optional uint64 messageTimestamp = 3;
optional Status status = 4; optional Status status = 4;
@@ -5231,6 +5447,7 @@ message WebMessageInfo {
optional GroupHistoryBundleInfo groupHistoryBundleInfo = 75; optional GroupHistoryBundleInfo groupHistoryBundleInfo = 75;
optional InteractiveMessageAdditionalMetadata interactiveMessageAdditionalMetadata = 76; optional InteractiveMessageAdditionalMetadata interactiveMessageAdditionalMetadata = 76;
optional QuarantinedMessage quarantinedMessage = 77; optional QuarantinedMessage quarantinedMessage = 77;
optional uint32 nonJidMentions = 78;
enum BizPrivacyStatus { enum BizPrivacyStatus {
E2EE = 0; E2EE = 0;
FB = 2; FB = 2;
@@ -5468,6 +5685,8 @@ message WebMessageInfo {
PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219; PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219;
QUARANTINED_MESSAGE = 220; QUARANTINED_MESSAGE = 220;
GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221; GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221;
GROUP_OPEN_BOT_ADDED = 222;
GROUP_TEE_BOT_ADDED = 223;
} }
} }
-14015
View File
File diff suppressed because it is too large Load Diff
+3 -1
View File
@@ -1 +1,3 @@
{"version":[2,3000,1033343091]} {
"version": [2, 3000, 1033381705]
}