mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: update proto
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
syntax = "proto3";
|
||||
package proto;
|
||||
|
||||
/// WhatsApp Version: 2.3000.1020608496
|
||||
/// WhatsApp Version: 2.3000.1023047013
|
||||
|
||||
message ADVDeviceIdentity {
|
||||
optional uint32 rawId = 1;
|
||||
@@ -42,14 +42,16 @@ message ADVSignedKeyIndexList {
|
||||
optional bytes accountSignatureKey = 3;
|
||||
}
|
||||
|
||||
message AIQueryFanout {
|
||||
optional MessageKey messageKey = 1;
|
||||
optional Message message = 2;
|
||||
optional int64 timestamp = 3;
|
||||
}
|
||||
|
||||
message AIRichResponseMessage {
|
||||
optional AIRichResponseMessageType messageType = 1;
|
||||
repeated AIRichResponseSubMessage submessages = 2;
|
||||
optional AIRichResponseAbstractData abstractData = 3;
|
||||
message AIRichResponseAbstractData {
|
||||
optional bytes data = 1;
|
||||
}
|
||||
|
||||
optional AIRichResponseUnifiedResponse unifiedResponse = 3;
|
||||
message AIRichResponseCodeMetadata {
|
||||
optional string codeLanguage = 1;
|
||||
repeated AIRichResponseCodeBlock codeBlocks = 2;
|
||||
@@ -134,6 +136,10 @@ message AIRichResponseMessage {
|
||||
optional double width = 3;
|
||||
optional double height = 4;
|
||||
optional double fontHeight = 5;
|
||||
optional double imageTopPadding = 6;
|
||||
optional double imageLeadingPadding = 7;
|
||||
optional double imageBottomPadding = 8;
|
||||
optional double imageTrailingPadding = 9;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -193,6 +199,17 @@ message AIRichResponseMessage {
|
||||
|
||||
}
|
||||
|
||||
message AIRichResponseUnifiedResponse {
|
||||
optional bytes data = 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
message Account {
|
||||
optional string lid = 1;
|
||||
optional string username = 2;
|
||||
optional string countryCode = 3;
|
||||
optional bool isUsernameDeleted = 4;
|
||||
}
|
||||
|
||||
message ActionLink {
|
||||
@@ -256,6 +273,11 @@ message BizIdentityInfo {
|
||||
}
|
||||
}
|
||||
|
||||
message BotAgeCollectionMetadata {
|
||||
optional bool ageCollectionEligible = 1;
|
||||
optional bool shouldTriggerAgeCollectionOnClient = 2;
|
||||
}
|
||||
|
||||
message BotAvatarMetadata {
|
||||
optional uint32 sentiment = 1;
|
||||
optional string behaviorGraph = 2;
|
||||
@@ -297,6 +319,12 @@ message BotCapabilityMetadata {
|
||||
AGENTIC_PLANNING = 27;
|
||||
ACCOUNT_LINKING = 28;
|
||||
STREAMING_DISAGGREGATION = 29;
|
||||
RICH_RESPONSE_GRID_IMAGE_3P = 30;
|
||||
RICH_RESPONSE_LATEX_INLINE = 31;
|
||||
QUERY_PLAN = 32;
|
||||
PROACTIVE_MESSAGE = 33;
|
||||
RICH_RESPONSE_UNIFIED_RESPONSE = 34;
|
||||
PROMOTION_MESSAGE = 35;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -321,6 +349,7 @@ message BotLinkedAccount {
|
||||
message BotLinkedAccountsMetadata {
|
||||
repeated BotLinkedAccount accounts = 1;
|
||||
optional bytes acAuthTokens = 2;
|
||||
optional int32 acErrorCode = 3;
|
||||
}
|
||||
|
||||
message BotMediaMetadata {
|
||||
@@ -372,6 +401,12 @@ message BotMetadata {
|
||||
optional BotRenderingMetadata renderingMetadata = 16;
|
||||
optional BotMetricsMetadata botMetricsMetadata = 17;
|
||||
optional BotLinkedAccountsMetadata botLinkedAccountsMetadata = 18;
|
||||
optional BotSourcesMetadata richResponseSourcesMetadata = 19;
|
||||
optional bytes aiConversationContext = 20;
|
||||
optional BotPromotionMessageMetadata botPromotionMessageMetadata = 21;
|
||||
optional BotModeSelectionMetadata botModeSelectionMetadata = 22;
|
||||
optional BotQuotaMetadata botQuotaMetadata = 23;
|
||||
optional BotAgeCollectionMetadata botAgeCollectionMetadata = 24;
|
||||
}
|
||||
|
||||
enum BotMetricsEntryPoint {
|
||||
@@ -392,10 +427,32 @@ enum BotMetricsEntryPoint {
|
||||
FORWARD = 15;
|
||||
APP_SHORTCUT = 16;
|
||||
FF_FAMILY = 17;
|
||||
AI_TAB = 18;
|
||||
AI_HOME = 19;
|
||||
AI_DEEPLINK_IMMERSIVE = 20;
|
||||
AI_DEEPLINK = 21;
|
||||
META_AI_CHAT_SHORTCUT_AI_STUDIO = 22;
|
||||
UGC_CHAT_SHORTCUT_AI_STUDIO = 23;
|
||||
NEW_CHAT_AI_STUDIO = 24;
|
||||
}
|
||||
message BotMetricsMetadata {
|
||||
optional string destinationId = 1;
|
||||
optional BotMetricsEntryPoint destinationEntryPoint = 2;
|
||||
optional BotMetricsThreadEntryPoint threadOrigin = 3;
|
||||
}
|
||||
|
||||
enum BotMetricsThreadEntryPoint {
|
||||
AI_TAB_THREAD = 1;
|
||||
AI_HOME_THREAD = 2;
|
||||
AI_DEEPLINK_IMMERSIVE_THREAD = 3;
|
||||
AI_DEEPLINK_THREAD = 4;
|
||||
}
|
||||
message BotModeSelectionMetadata {
|
||||
repeated BotUserSelectionMode mode = 1;
|
||||
enum BotUserSelectionMode {
|
||||
UNKNOWN_MODE = 0;
|
||||
REASONING_MODE = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message BotModelMetadata {
|
||||
@@ -449,6 +506,14 @@ message BotProgressIndicatorMetadata {
|
||||
optional PlanningStepStatus status = 4;
|
||||
optional bool isReasoning = 5;
|
||||
optional bool isEnhancedSearch = 6;
|
||||
repeated BotPlanningStepSectionMetadata sections = 7;
|
||||
message BotPlanningSearchSourceMetadata {
|
||||
optional string title = 1;
|
||||
optional BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotSearchSourceProvider provider = 2;
|
||||
optional string sourceUrl = 3;
|
||||
optional string favIconUrl = 4;
|
||||
}
|
||||
|
||||
message BotPlanningSearchSourcesMetadata {
|
||||
optional string sourceTitle = 1;
|
||||
optional BotPlanningSearchSourceProvider provider = 2;
|
||||
@@ -461,6 +526,18 @@ message BotProgressIndicatorMetadata {
|
||||
}
|
||||
}
|
||||
|
||||
message BotPlanningStepSectionMetadata {
|
||||
optional string sectionTitle = 1;
|
||||
optional string sectionBody = 2;
|
||||
repeated BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata sourcesMetadata = 3;
|
||||
}
|
||||
|
||||
enum BotSearchSourceProvider {
|
||||
UNKNOWN_PROVIDER = 0;
|
||||
OTHER = 1;
|
||||
GOOGLE = 2;
|
||||
BING = 3;
|
||||
}
|
||||
enum PlanningStepStatus {
|
||||
UNKNOWN = 0;
|
||||
PLANNED = 1;
|
||||
@@ -471,6 +548,15 @@ message BotProgressIndicatorMetadata {
|
||||
|
||||
}
|
||||
|
||||
message BotPromotionMessageMetadata {
|
||||
optional BotPromotionType promotionType = 1;
|
||||
optional string buttonTitle = 2;
|
||||
enum BotPromotionType {
|
||||
UNKNOWN_TYPE = 0;
|
||||
C50 = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message BotPromptSuggestion {
|
||||
optional string prompt = 1;
|
||||
optional string promptId = 2;
|
||||
@@ -480,6 +566,20 @@ message BotPromptSuggestions {
|
||||
repeated BotPromptSuggestion suggestions = 1;
|
||||
}
|
||||
|
||||
message BotQuotaMetadata {
|
||||
repeated BotFeatureQuotaMetadata botFeatureQuotaMetadata = 1;
|
||||
message BotFeatureQuotaMetadata {
|
||||
optional BotFeatureType featureType = 1;
|
||||
optional uint32 remainingQuota = 2;
|
||||
optional uint64 expirationTimestamp = 3;
|
||||
enum BotFeatureType {
|
||||
UNKNOWN_FEATURE = 0;
|
||||
REASONING_FEATURE = 1;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
message BotReminderMetadata {
|
||||
optional MessageKey requestMessageKey = 1;
|
||||
optional ReminderAction action = 2;
|
||||
@@ -524,6 +624,25 @@ enum BotSessionSource {
|
||||
EMU_FLASH_FOLLOWUP = 5;
|
||||
VOICE = 6;
|
||||
}
|
||||
message BotSourcesMetadata {
|
||||
repeated BotSourceItem sources = 1;
|
||||
message BotSourceItem {
|
||||
optional SourceProvider provider = 1;
|
||||
optional string thumbnailCdnUrl = 2;
|
||||
optional string sourceProviderUrl = 3;
|
||||
optional string sourceQuery = 4;
|
||||
optional string faviconCdnUrl = 5;
|
||||
optional uint32 citationNumber = 6;
|
||||
enum SourceProvider {
|
||||
UNKNOWN = 0;
|
||||
BING = 1;
|
||||
GOOGLE = 2;
|
||||
SUPPORT = 3;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
message BotSuggestedPromptMetadata {
|
||||
repeated string suggestedPrompts = 1;
|
||||
optional uint32 selectedPromptIndex = 2;
|
||||
@@ -681,6 +800,12 @@ message ClientPayload {
|
||||
optional int32 memClass = 37;
|
||||
optional InteropData interopData = 38;
|
||||
optional TrafficAnonymization trafficAnonymization = 40;
|
||||
optional bool lidDbMigrated = 41;
|
||||
optional AccountType accountType = 42;
|
||||
enum AccountType {
|
||||
DEFAULT = 0;
|
||||
GUEST = 1;
|
||||
}
|
||||
enum ConnectReason {
|
||||
PUSH = 0;
|
||||
USER_ACTIVATED = 1;
|
||||
@@ -747,6 +872,7 @@ message ClientPayload {
|
||||
MESSENGER = 1;
|
||||
INTEROP = 2;
|
||||
INTEROP_MSGR = 3;
|
||||
WHATSAPP_LID = 4;
|
||||
}
|
||||
enum TrafficAnonymization {
|
||||
OFF = 0;
|
||||
@@ -926,6 +1052,9 @@ message ContextInfo {
|
||||
optional UrlTrackingMap urlTrackingMap = 58;
|
||||
optional PairedMediaType pairedMediaType = 59;
|
||||
optional uint32 rankingVersion = 60;
|
||||
optional MemberLabel memberLabel = 62;
|
||||
optional bool isQuestion = 63;
|
||||
optional StatusSourceType statusSourceType = 64;
|
||||
message AdReplyInfo {
|
||||
optional string advertiserName = 1;
|
||||
optional MediaType mediaType = 2;
|
||||
@@ -979,6 +1108,13 @@ message ContextInfo {
|
||||
optional string ctaPayload = 20;
|
||||
optional bool disableNudge = 21;
|
||||
optional string originalImageUrl = 22;
|
||||
optional string automatedGreetingMessageCtaType = 23;
|
||||
optional bool wtwaAdFormat = 24;
|
||||
optional AdType adType = 25;
|
||||
enum AdType {
|
||||
CTWA = 0;
|
||||
CAWC = 1;
|
||||
}
|
||||
enum MediaType {
|
||||
NONE = 0;
|
||||
IMAGE = 1;
|
||||
@@ -1018,12 +1154,22 @@ message ContextInfo {
|
||||
HD_VIDEO_CHILD = 2;
|
||||
SD_IMAGE_PARENT = 3;
|
||||
HD_IMAGE_CHILD = 4;
|
||||
MOTION_PHOTO_PARENT = 5;
|
||||
MOTION_PHOTO_CHILD = 6;
|
||||
}
|
||||
enum StatusAttributionType {
|
||||
NONE = 0;
|
||||
RESHARED_FROM_MENTION = 1;
|
||||
RESHARED_FROM_POST = 2;
|
||||
}
|
||||
enum StatusSourceType {
|
||||
IMAGE = 0;
|
||||
VIDEO = 1;
|
||||
GIF = 2;
|
||||
AUDIO = 3;
|
||||
TEXT = 4;
|
||||
MUSIC_STANDALONE = 5;
|
||||
}
|
||||
message UTMInfo {
|
||||
optional string utmSource = 1;
|
||||
optional string utmCampaign = 2;
|
||||
@@ -1082,6 +1228,9 @@ message Conversation {
|
||||
optional bool capiCreatedGroup = 48;
|
||||
optional string accountLid = 49;
|
||||
optional bool limitSharing = 50;
|
||||
optional int64 limitSharingSettingTimestamp = 51;
|
||||
optional LimitSharing.TriggerType limitSharingTrigger = 52;
|
||||
optional bool limitSharingInitiatedByMe = 53;
|
||||
enum EndOfHistoryTransferType {
|
||||
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
|
||||
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
|
||||
@@ -1289,6 +1438,7 @@ message GlobalSettings {
|
||||
optional NotificationSettings individualNotificationSettings = 17;
|
||||
optional NotificationSettings groupNotificationSettings = 18;
|
||||
optional ChatLockSettings chatLockSettings = 19;
|
||||
optional int64 chatDbLidMigrationTimestamp = 20;
|
||||
}
|
||||
|
||||
message GroupMention {
|
||||
@@ -1346,6 +1496,7 @@ message HistorySync {
|
||||
repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15;
|
||||
optional string companionMetaNonce = 16;
|
||||
optional bytes shareableChatIdentifierEncryptionKey = 17;
|
||||
repeated Account accounts = 18;
|
||||
enum BotAIWaitListState {
|
||||
IN_WAITLIST = 0;
|
||||
AI_AVAILABLE = 1;
|
||||
@@ -1406,12 +1557,18 @@ message InteractiveAnnotation {
|
||||
repeated Point polygonVertices = 1;
|
||||
optional bool shouldSkipConfirmation = 4;
|
||||
optional EmbeddedContent embeddedContent = 5;
|
||||
optional StatusLinkType statusLinkType = 8;
|
||||
oneof action {
|
||||
Location location = 2;
|
||||
ContextInfo.ForwardedNewsletterMessageInfo newsletter = 3;
|
||||
bool embeddedAction = 6;
|
||||
TapLinkAction tapAction = 7;
|
||||
}
|
||||
enum StatusLinkType {
|
||||
RASTERIZED_LINK_PREVIEW = 1;
|
||||
RASTERIZED_LINK_TRUNCATED = 2;
|
||||
RASTERIZED_LINK_FULL_URL = 3;
|
||||
}
|
||||
}
|
||||
|
||||
message KeepInChat {
|
||||
@@ -1452,6 +1609,7 @@ message LIDMigrationMappingSyncMessage {
|
||||
|
||||
message LIDMigrationMappingSyncPayload {
|
||||
repeated LIDMigrationMapping pnToLidMappings = 1;
|
||||
optional uint64 chatDbMigrationTimestamp = 2;
|
||||
}
|
||||
|
||||
message LegacyMessage {
|
||||
@@ -1461,10 +1619,14 @@ message LegacyMessage {
|
||||
|
||||
message LimitSharing {
|
||||
optional bool sharingLimited = 1;
|
||||
optional Trigger trigger = 2;
|
||||
enum Trigger {
|
||||
CHAT_SETTING = 0;
|
||||
BIZ_SUPPORTS_FB_HOSTING = 1;
|
||||
optional TriggerType trigger = 2;
|
||||
optional int64 limitSharingSettingTimestamp = 3;
|
||||
optional bool initiatedByMe = 4;
|
||||
enum TriggerType {
|
||||
UNKNOWN = 0;
|
||||
CHAT_SETTING = 1;
|
||||
BIZ_SUPPORTS_FB_HOSTING = 2;
|
||||
UNKNOWN_GROUP = 3;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1508,6 +1670,11 @@ enum MediaVisibility {
|
||||
OFF = 1;
|
||||
ON = 2;
|
||||
}
|
||||
message MemberLabel {
|
||||
optional string label = 1;
|
||||
optional int64 labelTimestamp = 2;
|
||||
}
|
||||
|
||||
message Message {
|
||||
optional string conversation = 1;
|
||||
optional SenderKeyDistributionMessage senderKeyDistributionMessage = 2;
|
||||
@@ -1591,6 +1758,10 @@ message Message {
|
||||
optional FutureProofMessage groupStatusMessage = 96;
|
||||
optional AIRichResponseMessage richResponseMessage = 97;
|
||||
optional StatusNotificationMessage statusNotificationMessage = 98;
|
||||
optional FutureProofMessage limitSharingMessage = 99;
|
||||
optional FutureProofMessage botTaskMessage = 100;
|
||||
optional FutureProofMessage questionMessage = 101;
|
||||
optional MessageHistoryNotice messageHistoryNotice = 102;
|
||||
message AlbumMessage {
|
||||
optional uint32 expectedImageCount = 2;
|
||||
optional uint32 expectedVideoCount = 3;
|
||||
@@ -1768,6 +1939,7 @@ message Message {
|
||||
optional uint32 conversionDelaySeconds = 4;
|
||||
optional string ctwaSignals = 5;
|
||||
optional bytes ctwaPayload = 6;
|
||||
optional ContextInfo contextInfo = 7;
|
||||
}
|
||||
|
||||
message CallLogMessage {
|
||||
@@ -1812,11 +1984,17 @@ message Message {
|
||||
optional int64 senderNotificationTimestampMs = 2;
|
||||
optional string consumerLid = 3;
|
||||
optional string consumerPhoneNumber = 4;
|
||||
optional CloudAPIThreadControlNotificationContent notificationContent = 5;
|
||||
enum CloudAPIThreadControl {
|
||||
UNKNOWN = 0;
|
||||
CONTROL_PASSED = 1;
|
||||
CONTROL_TAKEN = 2;
|
||||
}
|
||||
message CloudAPIThreadControlNotificationContent {
|
||||
optional string handoffNotificationText = 1;
|
||||
optional string extraJson = 2;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
message CommentMessage {
|
||||
@@ -1898,6 +2076,7 @@ message Message {
|
||||
optional int64 startTime = 7;
|
||||
optional int64 endTime = 8;
|
||||
optional bool extraGuestsAllowed = 9;
|
||||
optional bool isScheduleCall = 10;
|
||||
}
|
||||
|
||||
message EventResponseMessage {
|
||||
@@ -1939,6 +2118,8 @@ message Message {
|
||||
optional uint32 videoHeight = 31;
|
||||
optional uint32 videoWidth = 32;
|
||||
optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
|
||||
optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
|
||||
optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
|
||||
enum FontType {
|
||||
SYSTEM = 0;
|
||||
SYSTEM_TEXT = 1;
|
||||
@@ -2232,6 +2413,12 @@ message Message {
|
||||
optional int64 timestampMs = 3;
|
||||
}
|
||||
|
||||
message LinkPreviewMetadata {
|
||||
optional Message.PaymentLinkMetadata paymentLinkMetadata = 1;
|
||||
optional Message.URLMetadata urlMetadata = 2;
|
||||
optional uint32 fbExperimentId = 3;
|
||||
}
|
||||
|
||||
message ListMessage {
|
||||
optional string title = 1;
|
||||
optional string description = 2;
|
||||
@@ -2334,14 +2521,25 @@ message Message {
|
||||
}
|
||||
|
||||
message MessageHistoryBundle {
|
||||
optional string mimetype = 2;
|
||||
optional bytes fileSha256 = 3;
|
||||
optional bytes mediaKey = 5;
|
||||
optional bytes fileEncSha256 = 6;
|
||||
optional string directPath = 7;
|
||||
optional int64 mediaKeyTimestamp = 8;
|
||||
optional ContextInfo contextInfo = 9;
|
||||
repeated string participants = 10;
|
||||
optional string mimetype = 1;
|
||||
optional bytes fileSha256 = 2;
|
||||
optional bytes mediaKey = 3;
|
||||
optional bytes fileEncSha256 = 4;
|
||||
optional string directPath = 5;
|
||||
optional int64 mediaKeyTimestamp = 6;
|
||||
optional ContextInfo contextInfo = 7;
|
||||
optional Message.MessageHistoryMetadata messageHistoryMetadata = 8;
|
||||
}
|
||||
|
||||
message MessageHistoryMetadata {
|
||||
repeated string historyReceivers = 1;
|
||||
optional int64 firstMessageTimestamp = 2;
|
||||
optional int64 messageCount = 3;
|
||||
}
|
||||
|
||||
message MessageHistoryNotice {
|
||||
optional ContextInfo contextInfo = 1;
|
||||
optional Message.MessageHistoryMetadata messageHistoryMetadata = 2;
|
||||
}
|
||||
|
||||
message NewsletterAdminInviteMessage {
|
||||
@@ -2368,6 +2566,7 @@ message Message {
|
||||
optional ContextInfo contextInfo = 17;
|
||||
optional int32 messageVersion = 12;
|
||||
optional MessageKey orderRequestMessageId = 13;
|
||||
optional string catalogType = 15;
|
||||
enum OrderStatus {
|
||||
INQUIRY = 1;
|
||||
ACCEPTED = 2;
|
||||
@@ -2389,6 +2588,23 @@ message Message {
|
||||
}
|
||||
}
|
||||
|
||||
message PaymentLinkMetadata {
|
||||
optional PaymentLinkButton button = 1;
|
||||
optional PaymentLinkHeader header = 2;
|
||||
message PaymentLinkButton {
|
||||
optional string displayText = 1;
|
||||
}
|
||||
|
||||
message PaymentLinkHeader {
|
||||
optional PaymentLinkHeaderType headerType = 1;
|
||||
enum PaymentLinkHeaderType {
|
||||
LINK_PREVIEW = 0;
|
||||
ORDER = 1;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
message PeerDataOperationRequestMessage {
|
||||
optional Message.PeerDataOperationRequestType peerDataOperationRequestType = 1;
|
||||
repeated RequestStickerReupload requestStickerReupload = 2;
|
||||
@@ -2396,6 +2612,7 @@ message Message {
|
||||
optional HistorySyncOnDemandRequest historySyncOnDemandRequest = 4;
|
||||
repeated PlaceholderMessageResendRequest placeholderMessageResendRequest = 5;
|
||||
optional FullHistorySyncOnDemandRequest fullHistorySyncOnDemandRequest = 6;
|
||||
optional SyncDCollectionFatalRecoveryRequest syncdCollectionFatalRecoveryRequest = 7;
|
||||
message FullHistorySyncOnDemandRequest {
|
||||
optional Message.FullHistorySyncOnDemandRequestMetadata requestMetadata = 1;
|
||||
optional DeviceProps.HistorySyncConfig historySyncConfig = 2;
|
||||
@@ -2423,6 +2640,11 @@ message Message {
|
||||
optional bool includeHqThumbnail = 2;
|
||||
}
|
||||
|
||||
message SyncDCollectionFatalRecoveryRequest {
|
||||
optional string collectionName = 1;
|
||||
optional int64 timestamp = 2;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
message PeerDataOperationRequestResponseMessage {
|
||||
@@ -2437,6 +2659,7 @@ message Message {
|
||||
optional WaffleNonceFetchResponse waffleNonceFetchRequestResponse = 5;
|
||||
optional FullHistorySyncOnDemandRequestResponse fullHistorySyncOnDemandRequestResponse = 6;
|
||||
optional CompanionMetaNonceFetchResponse companionMetaNonceFetchRequestResponse = 7;
|
||||
optional SyncDSnapshotFatalRecoveryResponse syncdSnapshotFatalRecoveryResponse = 8;
|
||||
message CompanionMetaNonceFetchResponse {
|
||||
optional string nonce = 1;
|
||||
}
|
||||
@@ -2479,6 +2702,11 @@ message Message {
|
||||
optional bytes webMessageInfoBytes = 1;
|
||||
}
|
||||
|
||||
message SyncDSnapshotFatalRecoveryResponse {
|
||||
optional bytes collectionSnapshot = 1;
|
||||
optional bool isCompressed = 2;
|
||||
}
|
||||
|
||||
message WaffleNonceFetchResponse {
|
||||
optional string nonce = 1;
|
||||
optional string waEntFbid = 2;
|
||||
@@ -2497,6 +2725,7 @@ message Message {
|
||||
WAFFLE_LINKING_NONCE_FETCH = 5;
|
||||
FULL_HISTORY_SYNC_ON_DEMAND = 6;
|
||||
COMPANION_META_NONCE_FETCH = 7;
|
||||
COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8;
|
||||
}
|
||||
message PinInChatMessage {
|
||||
optional MessageKey key = 1;
|
||||
@@ -2623,6 +2852,9 @@ message Message {
|
||||
optional Message.CloudAPIThreadControlNotification cloudApiThreadControlNotification = 22;
|
||||
optional LIDMigrationMappingSyncMessage lidMigrationMappingSyncMessage = 23;
|
||||
optional LimitSharing limitSharing = 24;
|
||||
optional bytes aiPsiMetadata = 25;
|
||||
optional AIQueryFanout aiQueryFanout = 26;
|
||||
optional MemberLabel memberLabel = 27;
|
||||
enum Type {
|
||||
REVOKE = 0;
|
||||
EPHEMERAL_SETTING = 3;
|
||||
@@ -2647,6 +2879,9 @@ message Message {
|
||||
STATUS_MENTION_MESSAGE = 25;
|
||||
STOP_GENERATION_MESSAGE = 26;
|
||||
LIMIT_SHARING = 27;
|
||||
AI_PSI_METADATA = 28;
|
||||
AI_QUERY_FANOUT = 29;
|
||||
GROUP_MEMBER_LABEL_CHANGE = 30;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2707,6 +2942,7 @@ message Message {
|
||||
enum SecretEncType {
|
||||
UNKNOWN = 0;
|
||||
EVENT_EDIT = 1;
|
||||
MESSAGE_EDIT = 2;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2847,6 +3083,10 @@ message Message {
|
||||
|
||||
}
|
||||
|
||||
message URLMetadata {
|
||||
optional uint32 fbExperimentId = 1;
|
||||
}
|
||||
|
||||
message VideoMessage {
|
||||
optional string url = 1;
|
||||
optional string mimetype = 2;
|
||||
@@ -2918,12 +3158,15 @@ message MessageAssociation {
|
||||
EVENT_COVER_IMAGE = 3;
|
||||
STATUS_POLL = 4;
|
||||
HD_VIDEO_DUAL_UPLOAD = 5;
|
||||
STATUS_TAPPABLE_MESSAGE = 6;
|
||||
STATUS_EXTERNAL_RESHARE = 6;
|
||||
MEDIA_POLL = 7;
|
||||
STATUS_ADD_YOURS = 8;
|
||||
STATUS_NOTIFICATION = 9;
|
||||
HD_IMAGE_DUAL_UPLOAD = 10;
|
||||
STICKER_ANNOTATION = 11;
|
||||
MOTION_PHOTO = 12;
|
||||
STATUS_LINK_ACTION = 13;
|
||||
VIEW_ALL_REPLIES = 14;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2940,6 +3183,8 @@ message MessageContextInfo {
|
||||
optional MessageAssociation messageAssociation = 10;
|
||||
optional bool capiCreatedGroup = 11;
|
||||
optional string supportPayload = 12;
|
||||
optional LimitSharing limitSharing = 13;
|
||||
optional LimitSharing limitSharingV2 = 14;
|
||||
enum MessageAddonExpiryType {
|
||||
STATIC = 1;
|
||||
DEPENDENT_ON_PARENT = 2;
|
||||
@@ -3004,6 +3249,7 @@ message MsgOpaqueData {
|
||||
optional int64 eventStartTime = 37;
|
||||
optional EventLocation eventLocation = 38;
|
||||
optional int64 eventEndTime = 40;
|
||||
optional bytes plainProtobufBytes = 43;
|
||||
message EventLocation {
|
||||
optional double degreesLatitude = 1;
|
||||
optional double degreesLongitude = 2;
|
||||
@@ -3535,6 +3781,9 @@ message SyncActionValue {
|
||||
optional WaffleAccountLinkStateAction waffleAccountLinkStateAction = 58;
|
||||
optional UsernameChatStartModeAction usernameChatStartMode = 59;
|
||||
optional NotificationActivitySettingAction notificationActivitySettingAction = 60;
|
||||
optional LidContactAction lidContactAction = 61;
|
||||
optional CtwaPerCustomerDataSharingAction ctwaPerCustomerDataSharingAction = 62;
|
||||
optional PaymentTosAction paymentTosAction = 63;
|
||||
message AgentAction {
|
||||
optional string name = 1;
|
||||
optional int32 deviceID = 2;
|
||||
@@ -3575,6 +3824,12 @@ message SyncActionValue {
|
||||
optional string firstName = 2;
|
||||
optional string lidJid = 3;
|
||||
optional bool saveOnPrimaryAddressbook = 4;
|
||||
optional string pnJid = 5;
|
||||
optional string username = 6;
|
||||
}
|
||||
|
||||
message CtwaPerCustomerDataSharingAction {
|
||||
optional bool isCtwaPerCustomerDataSharingEnabled = 1;
|
||||
}
|
||||
|
||||
message CustomPaymentMethod {
|
||||
@@ -3635,6 +3890,7 @@ message SyncActionValue {
|
||||
optional int32 orderIndex = 5;
|
||||
optional bool isActive = 6;
|
||||
optional ListType type = 7;
|
||||
optional bool isImmutable = 8;
|
||||
enum ListType {
|
||||
NONE = 0;
|
||||
UNREAD = 1;
|
||||
@@ -3642,6 +3898,8 @@ message SyncActionValue {
|
||||
FAVORITES = 3;
|
||||
PREDEFINED = 4;
|
||||
CUSTOM = 5;
|
||||
COMMUNITY = 6;
|
||||
SERVER_ASSIGNED = 7;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3649,6 +3907,13 @@ message SyncActionValue {
|
||||
repeated int32 sortedLabelIds = 1;
|
||||
}
|
||||
|
||||
message LidContactAction {
|
||||
optional string fullName = 1;
|
||||
optional string firstName = 2;
|
||||
optional string username = 3;
|
||||
optional bool saveOnPrimaryAddressbook = 4;
|
||||
}
|
||||
|
||||
message LocaleSetting {
|
||||
optional string locale = 1;
|
||||
}
|
||||
@@ -3726,6 +3991,14 @@ message SyncActionValue {
|
||||
optional string cpi = 1;
|
||||
}
|
||||
|
||||
message PaymentTosAction {
|
||||
required PaymentNotice paymentNotice = 1;
|
||||
required bool accepted = 2;
|
||||
enum PaymentNotice {
|
||||
BR_PAY_PRIVACY_POLICY = 0;
|
||||
}
|
||||
}
|
||||
|
||||
message PinAction {
|
||||
optional bool pinned = 1;
|
||||
}
|
||||
@@ -4346,6 +4619,9 @@ message WebMessageInfo {
|
||||
CHANGE_LID = 213;
|
||||
BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_IN_MESSAGE = 214;
|
||||
BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_OUT_MESSAGE = 215;
|
||||
CHANGE_LIMIT_SHARING = 216;
|
||||
GROUP_MEMBER_LINK_MODE = 217;
|
||||
BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE = 218;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
3334
WAProto/index.d.ts
vendored
3334
WAProto/index.d.ts
vendored
File diff suppressed because it is too large
Load Diff
9934
WAProto/index.js
9934
WAProto/index.js
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"version": [2, 3000, 1020608496]
|
||||
"version": [2, 3000, 1023047013]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user