chore: updated proto/version to v2.2403.2 (#288)

Co-authored-by: edgardmessias <edgardmessias@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-01-19 18:00:54 +02:00
committed by GitHub
parent 6b4d91737f
commit acd0321a53
4 changed files with 18538 additions and 89 deletions

View File

@@ -31,11 +31,13 @@ message ADVSignedDeviceIdentity {
message ADVSignedDeviceIdentityHMAC {
optional bytes details = 1;
optional bytes hmac = 2;
optional ADVEncryptionType accountType = 3;
}
message ADVSignedKeyIndexList {
optional bytes details = 1;
optional bytes accountSignature = 2;
optional bytes accountSignatureKey = 3;
}
message ActionLink {
@@ -102,10 +104,88 @@ message BizIdentityInfo {
message BotAvatarMetadata {
optional uint32 sentiment = 1;
optional string behaviorGraph = 2;
optional uint32 action = 3;
optional uint32 intensity = 4;
optional uint32 wordCount = 5;
}
message BotMetadata {
optional BotAvatarMetadata avatarMetadata = 1;
optional string personaId = 2;
optional BotPluginMetadata pluginMetadata = 3;
optional BotSuggestedPromptMetadata suggestedPromptMetadata = 4;
optional string invokerJid = 5;
}
message BotPluginMetadata {
optional SearchProvider provider = 1;
optional PluginType pluginType = 2;
optional string thumbnailCdnUrl = 3;
optional string profilePhotoCdnUrl = 4;
optional string searchProviderUrl = 5;
optional uint32 referenceIndex = 6;
optional uint32 expectedLinksCount = 7;
optional uint32 pluginVersion = 8;
enum PluginType {
REELS = 1;
SEARCH = 2;
}
enum SearchProvider {
BING = 1;
GOOGLE = 2;
}
}
message BotSuggestedPromptMetadata {
repeated string suggestedPrompts = 1;
optional uint32 selectedPromptIndex = 2;
}
message CallLogRecord {
optional CallResult callResult = 1;
optional bool isDndMode = 2;
optional SilenceReason silenceReason = 3;
optional int64 duration = 4;
optional int64 startTime = 5;
optional bool isIncoming = 6;
optional bool isVideo = 7;
optional bool isCallLink = 8;
optional string callLinkToken = 9;
optional string scheduledCallId = 10;
optional string callId = 11;
optional string callCreatorJid = 12;
optional string groupJid = 13;
repeated ParticipantInfo participants = 14;
optional CallType callType = 15;
enum CallResult {
CONNECTED = 0;
REJECTED = 1;
CANCELLED = 2;
ACCEPTEDELSEWHERE = 3;
MISSED = 4;
INVALID = 5;
UNAVAILABLE = 6;
UPCOMING = 7;
FAILED = 8;
ABANDONED = 9;
ONGOING = 10;
}
enum CallType {
REGULAR = 0;
SCHEDULED_CALL = 1;
VOICE_CHAT = 2;
}
message ParticipantInfo {
optional string userJid = 1;
optional CallLogRecord.CallResult callResult = 2;
}
enum SilenceReason {
NONE = 0;
SCHEDULED = 1;
PRIVACY = 2;
LIGHTWEIGHT = 3;
}
}
message CertChain {
@@ -249,14 +329,14 @@ message ClientPayload {
}
message InteropData {
optional uint64 accountId = 1;
optional uint32 integratorId = 2;
optional bytes token = 3;
optional bytes token = 2;
}
enum Product {
WHATSAPP = 0;
MESSENGER = 1;
INTEROP = 2;
INTEROP_MSGR = 3;
}
message UserAgent {
optional Platform platform = 1;
@@ -324,6 +404,8 @@ message ClientPayload {
VRDEVICE = 31;
BLUE_WEB = 32;
IPAD = 33;
TEST = 34;
SMART_GLASSES = 35;
}
enum ReleaseChannel {
RELEASE = 0;
@@ -363,6 +445,11 @@ message ClientPayload {
}
message CommentMetadata {
optional MessageKey commentParentKey = 1;
optional uint32 replyCount = 2;
}
message ContextInfo {
optional string stanzaId = 1;
optional string participant = 2;
@@ -394,6 +481,9 @@ message ContextInfo {
optional UTMInfo utm = 41;
optional ForwardedNewsletterMessageInfo forwardedNewsletterMessageInfo = 43;
optional BusinessMessageForwardInfo businessMessageForwardInfo = 44;
optional string smbClientCampaignId = 45;
optional string smbServerCampaignId = 46;
optional DataSharingContext dataSharingContext = 47;
message AdReplyInfo {
optional string advertiserName = 1;
optional MediaType mediaType = 2;
@@ -410,6 +500,10 @@ message ContextInfo {
optional string businessOwnerJid = 1;
}
message DataSharingContext {
optional bool showMmDisclosure = 1;
}
message ExternalAdReplyInfo {
optional string title = 1;
optional string body = 2;
@@ -435,6 +529,14 @@ message ContextInfo {
message ForwardedNewsletterMessageInfo {
optional string newsletterJid = 1;
optional int32 serverMessageId = 2;
optional string newsletterName = 3;
optional ContentType contentType = 4;
optional string accessibilityText = 5;
enum ContentType {
UPDATE = 1;
UPDATE_CARD = 2;
LINK_CARD = 3;
}
}
message UTMInfo {
@@ -487,6 +589,9 @@ message Conversation {
optional bool shareOwnPn = 40;
optional bool pnhDuplicateLidThread = 41;
optional string lidJid = 42;
optional string username = 43;
optional string lidOriginType = 44;
optional uint32 commentsCount = 45;
enum EndOfHistoryTransferType {
COMPLETE_BUT_MORE_MESSAGES_REMAIN_ON_PRIMARY = 0;
COMPLETE_AND_NO_MORE_MESSAGE_REMAIN_ON_PRIMARY = 1;
@@ -503,6 +608,8 @@ message DeviceListMetadata {
optional bytes senderKeyHash = 1;
optional uint64 senderTimestamp = 2;
repeated uint32 senderKeyIndexes = 3 [packed=true];
optional ADVEncryptionType senderAccountType = 4;
optional ADVEncryptionType receiverAccountType = 5;
optional bytes recipientKeyHash = 8;
optional uint64 recipientTimestamp = 9;
repeated uint32 recipientKeyIndexes = 10 [packed=true];
@@ -528,6 +635,9 @@ message DeviceProps {
optional uint32 storageQuotaMb = 3;
optional bool inlineInitialPayloadInE2EeMsg = 4;
optional uint32 recentSyncDaysLimit = 5;
optional bool supportCallLogHistory = 6;
optional bool supportBotUserAgentChatHistory = 7;
optional bool supportCagReactionsAndPolls = 8;
}
enum PlatformType {
@@ -561,16 +671,19 @@ message DisappearingMode {
optional Initiator initiator = 1;
optional Trigger trigger = 2;
optional string initiatorDeviceJid = 3;
optional bool initiatedByMe = 4;
enum Initiator {
CHANGED_IN_CHAT = 0;
INITIATED_BY_ME = 1;
INITIATED_BY_OTHER = 2;
BIZ_UPGRADE_FB_HOSTING = 3;
}
enum Trigger {
UNKNOWN = 0;
CHAT_SETTING = 1;
ACCOUNT_SETTING = 2;
BULK_CHANGE = 3;
BIZ_SUPPORTS_FB_HOSTING = 4;
}
}
@@ -579,6 +692,13 @@ message EphemeralSetting {
optional sfixed64 timestamp = 2;
}
message EventResponse {
optional MessageKey eventResponseMessageKey = 1;
optional int64 timestampMs = 2;
optional Message.EventResponseMessage eventResponseMessage = 3;
optional bool unread = 4;
}
message ExitCode {
optional uint64 code = 1;
optional string text = 2;
@@ -664,6 +784,13 @@ message HistorySync {
optional uint32 threadDsTimeframeOffset = 10;
repeated StickerMetadata recentStickers = 11;
repeated PastParticipants pastParticipants = 12;
repeated CallLogRecord callLogRecords = 13;
optional BotAIWaitListState aiWaitListState = 14;
repeated PhoneNumberToLIDMapping phoneNumberToLidMappings = 15;
enum BotAIWaitListState {
IN_WAITLIST = 0;
AI_AVAILABLE = 1;
}
enum HistorySyncType {
INITIAL_BOOTSTRAP = 0;
INITIAL_STATUS_V3 = 1;
@@ -700,6 +827,13 @@ message HydratedTemplateButton {
message HydratedURLButton {
optional string displayText = 1;
optional string url = 2;
optional string consentedUsersUrl = 3;
optional WebviewPresentationType webviewPresentation = 4;
enum WebviewPresentationType {
FULL = 1;
TALL = 2;
COMPACT = 3;
}
}
}
@@ -711,8 +845,10 @@ message IdentityKeyPairStructure {
message InteractiveAnnotation {
repeated Point polygonVertices = 1;
optional bool shouldSkipConfirmation = 4;
oneof action {
Location location = 2;
ContextInfo.ForwardedNewsletterMessageInfo newsletter = 3;
}
}
@@ -758,6 +894,44 @@ message MediaData {
optional string localPath = 1;
}
message MediaEntry {
optional bytes fileSha256 = 1;
optional bytes mediaKey = 2;
optional bytes fileEncSha256 = 3;
optional string directPath = 4;
optional int64 mediaKeyTimestamp = 5;
optional string serverMediaType = 6;
optional bytes uploadToken = 7;
optional bytes validatedTimestamp = 8;
optional bytes sidecar = 9;
optional string objectId = 10;
optional string fbid = 11;
optional DownloadableThumbnail downloadableThumbnail = 12;
optional string handle = 13;
optional string filename = 14;
optional ProgressiveJpegDetails progressiveJpegDetails = 15;
message DownloadableThumbnail {
optional bytes fileSha256 = 1;
optional bytes fileEncSha256 = 2;
optional string directPath = 3;
optional bytes mediaKey = 4;
optional int64 mediaKeyTimestamp = 5;
optional string objectId = 6;
}
message ProgressiveJpegDetails {
repeated int64 scanLengths = 1;
optional bytes sidecar = 2;
}
}
message MediaNotifyMessage {
optional string expressPathUrl = 1;
optional bytes fileEncSha256 = 2;
optional uint64 fileLength = 3;
}
message MediaRetryNotification {
optional string stanzaId = 1;
optional string directPath = 2;
@@ -833,6 +1007,17 @@ message Message {
optional ScheduledCallEditMessage scheduledCallEditMessage = 65;
optional VideoMessage ptvMessage = 66;
optional FutureProofMessage botInvokeMessage = 67;
optional CallLogMessage callLogMesssage = 69;
optional MessageHistoryBundle messageHistoryBundle = 70;
optional EncCommentMessage encCommentMessage = 71;
optional BCallMessage bcallMessage = 72;
optional FutureProofMessage lottieStickerMessage = 74;
optional EventMessage eventMessage = 75;
optional CommentMessage commentMessage = 77;
optional NewsletterAdminInviteMessage newsletterAdminInviteMessage = 78;
optional ExtendedTextMessageWithParentKey extendedTextMessageWithParentKey = 79;
optional PlaceholderMessage placeholderMessage = 80;
optional EncEventUpdateMessage encEventUpdateMessage = 81;
message AppStateFatalExceptionNotification {
repeated string collectionNames = 1;
optional int64 timestamp = 2;
@@ -885,10 +1070,24 @@ message Message {
optional bool viewOnce = 21;
}
message BCallMessage {
optional string sessionId = 1;
optional MediaType mediaType = 2;
optional bytes masterKey = 3;
optional string caption = 4;
enum MediaType {
UNKNOWN = 0;
AUDIO = 1;
VIDEO = 2;
}
}
message BotFeedbackMessage {
optional MessageKey messageKey = 1;
optional BotFeedbackKind kind = 2;
optional string text = 3;
optional uint64 kindNegative = 4;
optional uint64 kindPositive = 5;
enum BotFeedbackKind {
BOT_FEEDBACK_POSITIVE = 0;
BOT_FEEDBACK_NEGATIVE_GENERIC = 1;
@@ -897,6 +1096,23 @@ message Message {
BOT_FEEDBACK_NEGATIVE_ACCURATE = 4;
BOT_FEEDBACK_NEGATIVE_SAFE = 5;
BOT_FEEDBACK_NEGATIVE_OTHER = 6;
BOT_FEEDBACK_NEGATIVE_REFUSED = 7;
BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING = 8;
BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9;
}
enum BotFeedbackKindMultipleNegative {
BOT_FEEDBACK_MULTIPLE_NEGATIVE_GENERIC = 1;
BOT_FEEDBACK_MULTIPLE_NEGATIVE_HELPFUL = 2;
BOT_FEEDBACK_MULTIPLE_NEGATIVE_INTERESTING = 4;
BOT_FEEDBACK_MULTIPLE_NEGATIVE_ACCURATE = 8;
BOT_FEEDBACK_MULTIPLE_NEGATIVE_SAFE = 16;
BOT_FEEDBACK_MULTIPLE_NEGATIVE_OTHER = 32;
BOT_FEEDBACK_MULTIPLE_NEGATIVE_REFUSED = 64;
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_VISUALLY_APPEALING = 128;
BOT_FEEDBACK_MULTIPLE_NEGATIVE_NOT_RELEVANT_TO_TEXT = 256;
}
enum BotFeedbackKindMultiplePositive {
BOT_FEEDBACK_MULTIPLE_POSITIVE_GENERIC = 1;
}
}
@@ -965,6 +1181,34 @@ message Message {
optional uint32 conversionDelaySeconds = 4;
}
message CallLogMessage {
optional bool isVideo = 1;
optional CallOutcome callOutcome = 2;
optional int64 durationSecs = 3;
optional CallType callType = 4;
repeated CallParticipant participants = 5;
enum CallOutcome {
CONNECTED = 0;
MISSED = 1;
FAILED = 2;
REJECTED = 3;
ACCEPTED_ELSEWHERE = 4;
ONGOING = 5;
SILENCED_BY_DND = 6;
SILENCED_UNKNOWN_CALLER = 7;
}
message CallParticipant {
optional string jid = 1;
optional Message.CallLogMessage.CallOutcome callOutcome = 2;
}
enum CallType {
REGULAR = 0;
SCHEDULED_CALL = 1;
VOICE_CHAT = 2;
}
}
message CancelPaymentRequestMessage {
optional MessageKey key = 1;
}
@@ -974,6 +1218,11 @@ message Message {
optional string id = 2;
}
message CommentMessage {
optional Message message = 1;
optional MessageKey targetMessageKey = 2;
}
message ContactMessage {
optional string displayName = 1;
optional string vcard = 16;
@@ -1019,12 +1268,54 @@ message Message {
optional string caption = 20;
}
message EncCommentMessage {
optional MessageKey targetMessageKey = 1;
optional bytes encPayload = 2;
optional bytes encIv = 3;
}
message EncEventUpdateMessage {
optional MessageKey eventCreationMessageKey = 1;
optional bytes encPayload = 2;
optional bytes encIv = 3;
}
message EncReactionMessage {
optional MessageKey targetMessageKey = 1;
optional bytes encPayload = 2;
optional bytes encIv = 3;
}
message EventEditMessage {
optional Message.EventMessage eventEditMessage = 1;
optional int64 editTimestampMs = 2;
}
message EventMessage {
optional ContextInfo contextInfo = 1;
optional bool isCanceled = 2;
optional string name = 3;
optional string description = 4;
optional Message.LocationMessage location = 5;
optional string joinLink = 6;
optional int64 startTime = 7;
}
message EventResponseMessage {
optional EventResponseType response = 1;
optional int64 timestampMs = 2;
enum EventResponseType {
UNKNOWN = 0;
GOING = 1;
NOT_GOING = 2;
}
}
message EventUpdateMessage {
optional Message.EventResponseMessage response = 1;
optional Message.EventEditMessage edit = 2;
}
message ExtendedTextMessage {
optional string text = 1;
optional string matchedText = 2;
@@ -1051,12 +1342,9 @@ message Message {
optional InviteLinkGroupType inviteLinkGroupTypeV2 = 29;
optional bool viewOnce = 30;
enum FontType {
SANS_SERIF = 0;
SERIF = 1;
NORICAN_REGULAR = 2;
BRYNDAN_WRITE = 3;
BEBASNEUE_REGULAR = 4;
OSWALD_HEAVY = 5;
SYSTEM = 0;
SYSTEM_TEXT = 1;
FB_SCRIPT = 2;
SYSTEM_BOLD = 6;
MORNINGBREEZE_REGULAR = 7;
CALISTOGA_REGULAR = 8;
@@ -1072,9 +1360,16 @@ message Message {
enum PreviewType {
NONE = 0;
VIDEO = 1;
PLACEHOLDER = 4;
IMAGE = 5;
}
}
message ExtendedTextMessageWithParentKey {
optional MessageKey key = 1;
optional Message.ExtendedTextMessage extendedTextMessage = 2;
}
message FutureProofMessage {
optional Message message = 1;
}
@@ -1204,6 +1499,7 @@ message Message {
optional bytes thumbnailSha256 = 27;
optional bytes thumbnailEncSha256 = 28;
optional string staticUrl = 29;
repeated InteractiveAnnotation annotations = 30;
}
message InitialSecurityNotificationSettingSync {
@@ -1415,6 +1711,25 @@ message Message {
optional ContextInfo contextInfo = 17;
}
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;
}
message NewsletterAdminInviteMessage {
optional string newsletterJid = 1;
optional string newsletterName = 2;
optional bytes jpegThumbnail = 3;
optional string caption = 4;
optional int64 inviteExpiration = 5;
}
message OrderMessage {
optional string orderId = 1;
optional bytes thumbnail = 2;
@@ -1428,8 +1743,12 @@ message Message {
optional int64 totalAmount1000 = 10;
optional string totalCurrencyCode = 11;
optional ContextInfo contextInfo = 17;
optional int32 messageVersion = 12;
optional MessageKey orderRequestMessageId = 13;
enum OrderStatus {
INQUIRY = 1;
ACCEPTED = 2;
DECLINED = 3;
}
enum OrderSurface {
CATALOG = 1;
@@ -1532,6 +1851,13 @@ message Message {
}
}
message PlaceholderMessage {
optional PlaceholderType type = 1;
enum PlaceholderType {
MASK_LINKED_DEVICES = 0;
}
}
message PollCreationMessage {
optional bytes encKey = 1;
optional string name = 2;
@@ -1608,6 +1934,9 @@ message Message {
optional Message.PeerDataOperationRequestMessage peerDataOperationRequestMessage = 16;
optional Message.PeerDataOperationRequestResponseMessage peerDataOperationRequestResponseMessage = 17;
optional Message.BotFeedbackMessage botFeedbackMessage = 18;
optional string invokerJid = 19;
optional Message.RequestWelcomeMessageMetadata requestWelcomeMessageMetadata = 20;
optional MediaNotifyMessage mediaNotifyMessage = 21;
enum Type {
REVOKE = 0;
EPHEMERAL_SETTING = 3;
@@ -1624,6 +1953,7 @@ message Message {
PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE = 17;
REQUEST_WELCOME_MESSAGE = 18;
BOT_FEEDBACK_MESSAGE = 19;
MEDIA_NOTIFY_MESSAGE = 20;
}
}
@@ -1648,6 +1978,14 @@ message Message {
optional ContextInfo contextInfo = 1;
}
message RequestWelcomeMessageMetadata {
optional LocalChatState localChatState = 1;
enum LocalChatState {
EMPTY = 0;
NON_EMPTY = 1;
}
}
message ScheduledCallCreationMessage {
optional int64 scheduledTimestampMs = 1;
optional CallType callType = 2;
@@ -1697,6 +2035,8 @@ message Message {
optional ContextInfo contextInfo = 17;
optional int64 stickerSentTs = 18;
optional bool isAvatar = 19;
optional bool isAiSticker = 20;
optional bool isLottie = 21;
}
message StickerSyncRMRMessage {
@@ -1710,6 +2050,7 @@ message Message {
optional string selectedDisplayText = 2;
optional ContextInfo contextInfo = 3;
optional uint32 selectedIndex = 4;
optional uint32 selectedCarouselCardIndex = 5;
}
message TemplateMessage {
@@ -1739,6 +2080,7 @@ message Message {
optional string hydratedFooterText = 7;
repeated HydratedTemplateButton hydratedButtons = 8;
optional string templateId = 9;
optional bool maskLinkedDevices = 10;
oneof title {
Message.DocumentMessage documentMessage = 1;
string hydratedTitleText = 2;
@@ -1774,6 +2116,7 @@ message Message {
optional bytes thumbnailSha256 = 22;
optional bytes thumbnailEncSha256 = 23;
optional string staticUrl = 24;
repeated InteractiveAnnotation annotations = 25;
enum Attribution {
NONE = 0;
GIPHY = 1;
@@ -1795,6 +2138,7 @@ message MessageContextInfo {
optional uint32 messageAddOnDurationInSecs = 5;
optional bytes botMessageSecret = 6;
optional BotMetadata botMetadata = 7;
optional int32 reportingTokenVersion = 8;
}
message MessageKey {
@@ -1844,6 +2188,9 @@ message MsgOpaqueData {
optional bytes encReactionEncPayload = 26;
optional bytes encReactionEncIv = 27;
optional bytes botMessageSecret = 29;
optional string targetMessageKey = 30;
optional bytes encPayload = 31;
optional bytes encIv = 32;
message PollOption {
optional string name = 1;
}
@@ -1899,6 +2246,29 @@ message PastParticipants {
repeated PastParticipant pastParticipants = 2;
}
message PatchDebugData {
optional bytes currentLthash = 1;
optional bytes newLthash = 2;
optional bytes patchVersion = 3;
optional bytes collectionName = 4;
optional bytes firstFourBytesFromAHashOfSnapshotMacKey = 5;
optional bytes newLthashSubtract = 6;
optional int32 numberAdd = 7;
optional int32 numberRemove = 8;
optional int32 numberOverride = 9;
optional Platform senderPlatform = 10;
optional bool isSenderPrimary = 11;
enum Platform {
ANDROID = 0;
SMBA = 1;
IPHONE = 2;
SMBI = 3;
WEB = 4;
UWP = 5;
DARWIN = 6;
}
}
message PaymentBackground {
optional string id = 1;
optional uint64 fileLength = 2;
@@ -1992,6 +2362,11 @@ message PaymentInfo {
}
}
message PhoneNumberToLIDMapping {
optional string pnJid = 1;
optional string lidJid = 2;
}
message PhotoChange {
optional bytes oldPhoto = 1;
optional bytes newPhoto = 2;
@@ -2050,6 +2425,10 @@ message PreKeySignalMessage {
optional bytes message = 4;
}
message PremiumMessageInfo {
optional string serverCampaignId = 1;
}
message Pushname {
optional string id = 1;
optional string pushname = 2;
@@ -2108,6 +2487,10 @@ message RecordStructure {
repeated SessionStructure previousSessions = 2;
}
message ReportingTokenInfo {
optional bytes reportingTag = 1;
}
message SenderKeyDistributionMessage {
optional uint32 id = 1;
optional uint32 iteration = 2;
@@ -2280,6 +2663,13 @@ message SyncActionValue {
optional MarketingMessageBroadcastAction marketingMessageBroadcastAction = 39;
optional ExternalWebBetaAction externalWebBetaAction = 40;
optional PrivacySettingRelayAllCalls privacySettingRelayAllCalls = 41;
optional CallLogAction callLogAction = 42;
optional StatusPrivacyAction statusPrivacy = 44;
optional BotWelcomeRequestAction botWelcomeRequestAction = 45;
optional DeleteIndividualCallLogAction deleteIndividualCallLog = 46;
optional LabelReorderingAction labelReorderingAction = 47;
optional PaymentInfoAction paymentInfoAction = 48;
optional CustomPaymentMethodsAction customPaymentMethodsAction = 49;
message AgentAction {
optional string name = 1;
optional int32 deviceID = 2;
@@ -2295,6 +2685,14 @@ message SyncActionValue {
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
}
message BotWelcomeRequestAction {
optional bool isSent = 1;
}
message CallLogAction {
optional CallLogRecord callLogRecord = 1;
}
message ChatAssignmentAction {
optional string deviceAgentID = 1;
}
@@ -2311,12 +2709,34 @@ message SyncActionValue {
optional string fullName = 1;
optional string firstName = 2;
optional string lidJid = 3;
optional bool saveOnPrimaryAddressbook = 4;
}
message CustomPaymentMethod {
required string credentialId = 1;
required string country = 2;
required string type = 3;
repeated SyncActionValue.CustomPaymentMethodMetadata metadata = 4;
}
message CustomPaymentMethodMetadata {
required string key = 1;
required string value = 2;
}
message CustomPaymentMethodsAction {
repeated SyncActionValue.CustomPaymentMethod customPaymentMethods = 1;
}
message DeleteChatAction {
optional SyncActionValue.SyncActionMessageRange messageRange = 1;
}
message DeleteIndividualCallLogAction {
optional string peerJid = 1;
optional bool isIncoming = 2;
}
message DeleteMessageForMeAction {
optional bool deleteMedia = 1;
optional int64 messageTimestamp = 2;
@@ -2339,6 +2759,11 @@ message SyncActionValue {
optional int32 color = 2;
optional int32 predefinedId = 3;
optional bool deleted = 4;
optional int32 orderIndex = 5;
}
message LabelReorderingAction {
repeated int32 sortedLabelIds = 1;
}
message LocaleSetting {
@@ -2377,6 +2802,10 @@ message SyncActionValue {
optional bool acknowledged = 1;
}
message PaymentInfoAction {
optional string cpi = 1;
}
message PinAction {
optional bool pinned = 1;
}
@@ -2425,6 +2854,16 @@ message SyncActionValue {
optional bool starred = 1;
}
message StatusPrivacyAction {
optional StatusDistributionMode mode = 1;
repeated string userJid = 2;
enum StatusDistributionMode {
ALLOW_LIST = 0;
DENY_LIST = 1;
CONTACTS = 2;
}
}
message StickerAction {
optional string url = 1;
optional bytes fileEncSha256 = 2;
@@ -2495,6 +2934,7 @@ message SyncdPatch {
optional KeyId keyId = 6;
optional ExitCode exitCode = 7;
optional uint32 deviceIndex = 8;
optional bytes clientDebugData = 9;
}
message SyncdRecord {
@@ -2669,6 +3109,14 @@ message WebMessageInfo {
optional string originalSelfAuthorUserJidString = 51;
optional uint64 revokeMessageTimestamp = 52;
optional PinInChat pinInChat = 54;
optional PremiumMessageInfo premiumMessageInfo = 55;
optional bool is1PBizBotMessage = 56;
optional bool isGroupHistoryMessage = 57;
optional string botMessageInvokerJid = 58;
optional CommentMetadata commentMetadata = 59;
repeated EventResponse eventResponses = 61;
optional ReportingTokenInfo reportingTokenInfo = 62;
optional uint64 newsletterServerId = 63;
enum BizPrivacyStatus {
E2EE = 0;
FB = 2;
@@ -2868,6 +3316,23 @@ message WebMessageInfo {
LINKED_GROUP_CALL_START = 181;
REPORT_TO_ADMIN_ENABLED_STATUS = 182;
EMPTY_SUBGROUP_CREATE = 183;
SCHEDULED_CALL_CANCEL = 184;
SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH = 185;
GROUP_CHANGE_RECENT_HISTORY_SHARING = 186;
PAID_MESSAGE_SERVER_CAMPAIGN_ID = 187;
GENERAL_CHAT_CREATE = 188;
GENERAL_CHAT_ADD = 189;
GENERAL_CHAT_AUTO_ADD_DISABLED = 190;
SUGGESTED_SUBGROUP_ANNOUNCE = 191;
BIZ_BOT_1P_MESSAGING_ENABLED = 192;
CHANGE_USERNAME = 193;
BIZ_COEX_PRIVACY_INIT_SELF = 194;
BIZ_COEX_PRIVACY_TRANSITION_SELF = 195;
SUPPORT_AI_EDUCATION = 196;
BIZ_BOT_3P_MESSAGING_ENABLED = 197;
REMINDER_SETUP_MESSAGE = 198;
REMINDER_SENT_MESSAGE = 199;
REMINDER_CANCEL_MESSAGE = 200;
}
}

4815
WAProto/index.d.ts vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,3 @@
{
"version": [2, 2329, 9]
"version": [2, 2403, 2]
}