Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8b4d0bf109 | |||
| 6a19615a16 |
+3
-60
@@ -1,7 +1,7 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package proto;
|
package proto;
|
||||||
|
|
||||||
/// WhatsApp Version: 2.3000.1037162330
|
/// WhatsApp Version: 2.3000.1035715252
|
||||||
|
|
||||||
message ADVDeviceIdentity {
|
message ADVDeviceIdentity {
|
||||||
optional uint32 rawId = 1;
|
optional uint32 rawId = 1;
|
||||||
@@ -421,12 +421,6 @@ message BotCapabilityMetadata {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
message BotCommandMetadata {
|
|
||||||
optional string commandName = 1;
|
|
||||||
optional string commandDescription = 2;
|
|
||||||
optional string commandPrompt = 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
message BotDocumentMessageMetadata {
|
message BotDocumentMessageMetadata {
|
||||||
optional DocumentPluginType pluginType = 1;
|
optional DocumentPluginType pluginType = 1;
|
||||||
enum DocumentPluginType {
|
enum DocumentPluginType {
|
||||||
@@ -658,7 +652,6 @@ message BotMetadata {
|
|||||||
optional BotRenderingConfigMetadata botRenderingConfigMetadata = 36;
|
optional BotRenderingConfigMetadata botRenderingConfigMetadata = 36;
|
||||||
optional BotInfrastructureDiagnostics botInfrastructureDiagnostics = 37;
|
optional BotInfrastructureDiagnostics botInfrastructureDiagnostics = 37;
|
||||||
optional AIMediaCollectionMetadata aiMediaCollectionMetadata = 38;
|
optional AIMediaCollectionMetadata aiMediaCollectionMetadata = 38;
|
||||||
optional BotCommandMetadata commandMetadata = 39;
|
|
||||||
optional bytes internalMetadata = 999;
|
optional bytes internalMetadata = 999;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -710,7 +703,6 @@ enum BotMetricsEntryPoint {
|
|||||||
WEB_NAVIGATION_BAR = 47;
|
WEB_NAVIGATION_BAR = 47;
|
||||||
GROUP_MEMBER = 54;
|
GROUP_MEMBER = 54;
|
||||||
CHATLIST_SEARCH = 55;
|
CHATLIST_SEARCH = 55;
|
||||||
NEW_CHAT_LIST = 56;
|
|
||||||
}
|
}
|
||||||
message BotMetricsMetadata {
|
message BotMetricsMetadata {
|
||||||
optional string destinationId = 1;
|
optional string destinationId = 1;
|
||||||
@@ -1475,10 +1467,6 @@ message ContextInfo {
|
|||||||
optional string wtwaWebsiteUrl = 26;
|
optional string wtwaWebsiteUrl = 26;
|
||||||
optional string adPreviewUrl = 27;
|
optional string adPreviewUrl = 27;
|
||||||
optional bool containsCtwaFlowsAutoReply = 28;
|
optional bool containsCtwaFlowsAutoReply = 28;
|
||||||
optional int32 agmThumbnailStrategy = 29;
|
|
||||||
optional int32 agmTitleStrategy = 30;
|
|
||||||
optional int32 agmSubtitleStrategy = 31;
|
|
||||||
optional int32 agmHeaderInteractionStrategy = 32;
|
|
||||||
enum AdType {
|
enum AdType {
|
||||||
CTWA = 0;
|
CTWA = 0;
|
||||||
CAWC = 1;
|
CAWC = 1;
|
||||||
@@ -1664,7 +1652,6 @@ message DeviceCapabilities {
|
|||||||
optional bool companionSupportEnabled = 2;
|
optional bool companionSupportEnabled = 2;
|
||||||
optional bool campaignSyncEnabled = 3;
|
optional bool campaignSyncEnabled = 3;
|
||||||
optional bool insightsSyncEnabled = 4;
|
optional bool insightsSyncEnabled = 4;
|
||||||
optional int32 recipientLimit = 5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
enum ChatLockSupportLevel {
|
enum ChatLockSupportLevel {
|
||||||
@@ -1740,8 +1727,6 @@ message DeviceProps {
|
|||||||
optional uint32 initialSyncMaxMessagesPerChat = 20;
|
optional uint32 initialSyncMaxMessagesPerChat = 20;
|
||||||
optional bool supportManusHistory = 21;
|
optional bool supportManusHistory = 21;
|
||||||
optional bool supportHatchHistory = 22;
|
optional bool supportHatchHistory = 22;
|
||||||
repeated string supportedBotChannelFbids = 23;
|
|
||||||
optional bool supportInlineContacts = 24;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
enum PlatformType {
|
enum PlatformType {
|
||||||
@@ -1928,16 +1913,6 @@ message GroupParticipant {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
message GroupRootKeyShare {
|
|
||||||
repeated GroupRootKeyShareEntry keys = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message GroupRootKeyShareEntry {
|
|
||||||
optional bytes groupRootKey = 1;
|
|
||||||
optional string keyId = 2;
|
|
||||||
optional int64 expiryTimestampMs = 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
message HandshakeMessage {
|
message HandshakeMessage {
|
||||||
optional ClientHello clientHello = 2;
|
optional ClientHello clientHello = 2;
|
||||||
optional ServerHello serverHello = 3;
|
optional ServerHello serverHello = 3;
|
||||||
@@ -1960,7 +1935,6 @@ message HandshakeMessage {
|
|||||||
optional bool sendServerHelloPaddedBytes = 7;
|
optional bool sendServerHelloPaddedBytes = 7;
|
||||||
optional bool simulateXxkemFs = 8;
|
optional bool simulateXxkemFs = 8;
|
||||||
optional HandshakeMessage.HandshakePqMode pqMode = 9;
|
optional HandshakeMessage.HandshakePqMode pqMode = 9;
|
||||||
optional bytes extendedEphemeral = 10;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
enum HandshakePqMode {
|
enum HandshakePqMode {
|
||||||
@@ -1980,7 +1954,6 @@ message HandshakeMessage {
|
|||||||
optional bytes payload = 3;
|
optional bytes payload = 3;
|
||||||
optional bytes extendedStatic = 4;
|
optional bytes extendedStatic = 4;
|
||||||
optional bytes paddingBytes = 5;
|
optional bytes paddingBytes = 5;
|
||||||
optional bytes extendedCiphertext = 6;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -2004,8 +1977,6 @@ message HistorySync {
|
|||||||
optional bytes shareableChatIdentifierEncryptionKey = 17;
|
optional bytes shareableChatIdentifierEncryptionKey = 17;
|
||||||
repeated Account accounts = 18;
|
repeated Account accounts = 18;
|
||||||
optional bytes nctSalt = 19;
|
optional bytes nctSalt = 19;
|
||||||
repeated InlineContact inlineContacts = 20;
|
|
||||||
optional bool inlineContactsProvided = 21;
|
|
||||||
enum BotAIWaitListState {
|
enum BotAIWaitListState {
|
||||||
IN_WAITLIST = 0;
|
IN_WAITLIST = 0;
|
||||||
AI_AVAILABLE = 1;
|
AI_AVAILABLE = 1;
|
||||||
@@ -2100,14 +2071,6 @@ message InThreadSurveyMetadata {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message InlineContact {
|
|
||||||
optional string pnJid = 1;
|
|
||||||
optional string lidJid = 2;
|
|
||||||
optional string fullName = 3;
|
|
||||||
optional string firstName = 4;
|
|
||||||
optional string username = 5;
|
|
||||||
}
|
|
||||||
|
|
||||||
message InteractiveAnnotation {
|
message InteractiveAnnotation {
|
||||||
repeated Point polygonVertices = 1;
|
repeated Point polygonVertices = 1;
|
||||||
optional bool shouldSkipConfirmation = 4;
|
optional bool shouldSkipConfirmation = 4;
|
||||||
@@ -2347,7 +2310,6 @@ message Message {
|
|||||||
optional ConditionalRevealMessage conditionalRevealMessage = 120;
|
optional ConditionalRevealMessage conditionalRevealMessage = 120;
|
||||||
optional PollAddOptionMessage pollAddOptionMessage = 121;
|
optional PollAddOptionMessage pollAddOptionMessage = 121;
|
||||||
optional EventInviteMessage eventInviteMessage = 122;
|
optional EventInviteMessage eventInviteMessage = 122;
|
||||||
optional GroupRootKeyShare groupRootKeyShare = 123;
|
|
||||||
message AlbumMessage {
|
message AlbumMessage {
|
||||||
optional uint32 expectedImageCount = 2;
|
optional uint32 expectedImageCount = 2;
|
||||||
optional uint32 expectedVideoCount = 3;
|
optional uint32 expectedVideoCount = 3;
|
||||||
@@ -2539,7 +2501,6 @@ message Message {
|
|||||||
UNKNOWN = 0;
|
UNKNOWN = 0;
|
||||||
CONTROL_PASSED = 1;
|
CONTROL_PASSED = 1;
|
||||||
CONTROL_TAKEN = 2;
|
CONTROL_TAKEN = 2;
|
||||||
INFO = 3;
|
|
||||||
}
|
}
|
||||||
message CloudAPIThreadControlNotificationContent {
|
message CloudAPIThreadControlNotificationContent {
|
||||||
optional string handoffNotificationText = 1;
|
optional string handoffNotificationText = 1;
|
||||||
@@ -3321,7 +3282,6 @@ message Message {
|
|||||||
optional int32 onDemandMsgCount = 4;
|
optional int32 onDemandMsgCount = 4;
|
||||||
optional int64 oldestMsgTimestampMs = 5;
|
optional int64 oldestMsgTimestampMs = 5;
|
||||||
optional string accountLid = 6;
|
optional string accountLid = 6;
|
||||||
optional bool supportInlineResponse = 7;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message PlaceholderMessageResendRequest {
|
message PlaceholderMessageResendRequest {
|
||||||
@@ -3408,7 +3368,6 @@ message Message {
|
|||||||
ERROR_REQUEST_ON_NON_SMB_PRIMARY = 4;
|
ERROR_REQUEST_ON_NON_SMB_PRIMARY = 4;
|
||||||
ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5;
|
ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5;
|
||||||
ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6;
|
ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6;
|
||||||
ERROR_MULTI_PROVIDER_NOT_CONFIGURED = 7;
|
|
||||||
}
|
}
|
||||||
message HistorySyncChunkRetryResponse {
|
message HistorySyncChunkRetryResponse {
|
||||||
optional Message.HistorySyncType syncType = 1;
|
optional Message.HistorySyncType syncType = 1;
|
||||||
@@ -3657,6 +3616,7 @@ message Message {
|
|||||||
GROUP_MEMBER_LABEL_CHANGE = 30;
|
GROUP_MEMBER_LABEL_CHANGE = 30;
|
||||||
AI_MEDIA_COLLECTION_MESSAGE = 31;
|
AI_MEDIA_COLLECTION_MESSAGE = 31;
|
||||||
MESSAGE_UNSCHEDULE = 32;
|
MESSAGE_UNSCHEDULE = 32;
|
||||||
|
BOT_UNLINK_MESSAGE = 33;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3807,7 +3767,6 @@ message Message {
|
|||||||
optional bool isLottie = 21;
|
optional bool isLottie = 21;
|
||||||
optional string accessibilityLabel = 22;
|
optional string accessibilityLabel = 22;
|
||||||
optional int32 premium = 24;
|
optional int32 premium = 24;
|
||||||
optional string emojis = 25;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message StickerPackMessage {
|
message StickerPackMessage {
|
||||||
@@ -4028,7 +3987,6 @@ message MessageContextInfo {
|
|||||||
optional LimitSharing limitSharingV2 = 14;
|
optional LimitSharing limitSharingV2 = 14;
|
||||||
repeated ThreadID threadId = 15;
|
repeated ThreadID threadId = 15;
|
||||||
optional WebLinkRenderConfig weblinkRenderConfig = 16;
|
optional WebLinkRenderConfig weblinkRenderConfig = 16;
|
||||||
optional bytes teeBotMetadata = 17;
|
|
||||||
enum MessageAddonExpiryType {
|
enum MessageAddonExpiryType {
|
||||||
STATIC = 1;
|
STATIC = 1;
|
||||||
DEPENDENT_ON_PARENT = 2;
|
DEPENDENT_ON_PARENT = 2;
|
||||||
@@ -4534,12 +4492,6 @@ message ReportingTokenInfo {
|
|||||||
optional bytes reportingTag = 1;
|
optional bytes reportingTag = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ScheduledMessageMetadata {
|
|
||||||
optional string revealKeyId = 1;
|
|
||||||
optional bytes revealKey = 2;
|
|
||||||
optional uint64 scheduledTime = 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
message SenderKeyDistributionMessage {
|
message SenderKeyDistributionMessage {
|
||||||
optional uint32 id = 1;
|
optional uint32 id = 1;
|
||||||
optional uint32 iteration = 2;
|
optional uint32 iteration = 2;
|
||||||
@@ -5070,7 +5022,6 @@ message SyncActionValue {
|
|||||||
DRAFTED = 8;
|
DRAFTED = 8;
|
||||||
AI_HANDOFF = 9;
|
AI_HANDOFF = 9;
|
||||||
CHANNELS = 10;
|
CHANNELS = 10;
|
||||||
AI_RESPONDING = 11;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -5286,8 +5237,6 @@ message SyncActionValue {
|
|||||||
optional bool isStatusNotificationEnabled = 29;
|
optional bool isStatusNotificationEnabled = 29;
|
||||||
optional int32 statusNotificationToneId = 30;
|
optional int32 statusNotificationToneId = 30;
|
||||||
optional bool shouldPlaySoundForCallNotification = 31;
|
optional bool shouldPlaySoundForCallNotification = 31;
|
||||||
optional string chatThemeId = 32;
|
|
||||||
optional string colorSchemeId = 33;
|
|
||||||
enum DisplayMode {
|
enum DisplayMode {
|
||||||
DISPLAY_MODE_UNKNOWN = 0;
|
DISPLAY_MODE_UNKNOWN = 0;
|
||||||
ALWAYS = 1;
|
ALWAYS = 1;
|
||||||
@@ -5332,8 +5281,6 @@ message SyncActionValue {
|
|||||||
IS_STATUS_NOTIFICATION_ENABLED = 29;
|
IS_STATUS_NOTIFICATION_ENABLED = 29;
|
||||||
STATUS_NOTIFICATION_TONE_ID = 30;
|
STATUS_NOTIFICATION_TONE_ID = 30;
|
||||||
SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION = 31;
|
SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION = 31;
|
||||||
CHAT_THEME_ID = 32;
|
|
||||||
COLOR_SCHEME_ID = 33;
|
|
||||||
}
|
}
|
||||||
enum SettingPlatform {
|
enum SettingPlatform {
|
||||||
PLATFORM_UNKNOWN = 0;
|
PLATFORM_UNKNOWN = 0;
|
||||||
@@ -5359,7 +5306,7 @@ message SyncActionValue {
|
|||||||
optional bool shareToIG = 4;
|
optional bool shareToIG = 4;
|
||||||
repeated CustomList customLists = 5;
|
repeated CustomList customLists = 5;
|
||||||
message CustomList {
|
message CustomList {
|
||||||
optional string listId = 1;
|
optional int64 id = 1;
|
||||||
optional string name = 2;
|
optional string name = 2;
|
||||||
optional string emoji = 3;
|
optional string emoji = 3;
|
||||||
optional bool isSelected = 4;
|
optional bool isSelected = 4;
|
||||||
@@ -5758,8 +5705,6 @@ message WebMessageInfo {
|
|||||||
optional QuarantinedMessage quarantinedMessage = 77;
|
optional QuarantinedMessage quarantinedMessage = 77;
|
||||||
optional uint32 nonJidMentions = 78;
|
optional uint32 nonJidMentions = 78;
|
||||||
optional string hsmTag = 79;
|
optional string hsmTag = 79;
|
||||||
optional uint64 ephemeralExpirationTimestamp = 80;
|
|
||||||
optional ScheduledMessageMetadata scheduledMessageMetadata = 81;
|
|
||||||
enum BizPrivacyStatus {
|
enum BizPrivacyStatus {
|
||||||
E2EE = 0;
|
E2EE = 0;
|
||||||
FB = 2;
|
FB = 2;
|
||||||
@@ -5999,8 +5944,6 @@ message WebMessageInfo {
|
|||||||
GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221;
|
GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221;
|
||||||
GROUP_OPEN_BOT_ADDED = 222;
|
GROUP_OPEN_BOT_ADDED = 222;
|
||||||
GROUP_TEE_BOT_ADDED = 223;
|
GROUP_TEE_BOT_ADDED = 223;
|
||||||
CONTACT_INFO = 224;
|
|
||||||
SCHEDULED_MESSAGE_CREATED = 225;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+10
-157
@@ -1097,26 +1097,6 @@ export namespace proto {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IBotCommandMetadata {
|
|
||||||
commandName?: (string|null);
|
|
||||||
commandDescription?: (string|null);
|
|
||||||
commandPrompt?: (string|null);
|
|
||||||
}
|
|
||||||
|
|
||||||
class BotCommandMetadata implements IBotCommandMetadata {
|
|
||||||
constructor(p?: proto.IBotCommandMetadata);
|
|
||||||
public commandName?: (string|null);
|
|
||||||
public commandDescription?: (string|null);
|
|
||||||
public commandPrompt?: (string|null);
|
|
||||||
public static create(properties?: proto.IBotCommandMetadata): proto.BotCommandMetadata;
|
|
||||||
public static encode(m: proto.IBotCommandMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.BotCommandMetadata;
|
|
||||||
public static fromObject(d: { [k: string]: any }): proto.BotCommandMetadata;
|
|
||||||
public static toObject(m: proto.BotCommandMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
||||||
public toJSON(): { [k: string]: any };
|
|
||||||
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface IBotDocumentMessageMetadata {
|
interface IBotDocumentMessageMetadata {
|
||||||
pluginType?: (proto.BotDocumentMessageMetadata.DocumentPluginType|null);
|
pluginType?: (proto.BotDocumentMessageMetadata.DocumentPluginType|null);
|
||||||
}
|
}
|
||||||
@@ -1701,7 +1681,6 @@ export namespace proto {
|
|||||||
botRenderingConfigMetadata?: (proto.IBotRenderingConfigMetadata|null);
|
botRenderingConfigMetadata?: (proto.IBotRenderingConfigMetadata|null);
|
||||||
botInfrastructureDiagnostics?: (proto.IBotInfrastructureDiagnostics|null);
|
botInfrastructureDiagnostics?: (proto.IBotInfrastructureDiagnostics|null);
|
||||||
aiMediaCollectionMetadata?: (proto.IAIMediaCollectionMetadata|null);
|
aiMediaCollectionMetadata?: (proto.IAIMediaCollectionMetadata|null);
|
||||||
commandMetadata?: (proto.IBotCommandMetadata|null);
|
|
||||||
internalMetadata?: (Uint8Array|null);
|
internalMetadata?: (Uint8Array|null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1744,7 +1723,6 @@ export namespace proto {
|
|||||||
public botRenderingConfigMetadata?: (proto.IBotRenderingConfigMetadata|null);
|
public botRenderingConfigMetadata?: (proto.IBotRenderingConfigMetadata|null);
|
||||||
public botInfrastructureDiagnostics?: (proto.IBotInfrastructureDiagnostics|null);
|
public botInfrastructureDiagnostics?: (proto.IBotInfrastructureDiagnostics|null);
|
||||||
public aiMediaCollectionMetadata?: (proto.IAIMediaCollectionMetadata|null);
|
public aiMediaCollectionMetadata?: (proto.IAIMediaCollectionMetadata|null);
|
||||||
public commandMetadata?: (proto.IBotCommandMetadata|null);
|
|
||||||
public internalMetadata?: (Uint8Array|null);
|
public internalMetadata?: (Uint8Array|null);
|
||||||
public static create(properties?: proto.IBotMetadata): proto.BotMetadata;
|
public static create(properties?: proto.IBotMetadata): proto.BotMetadata;
|
||||||
public static encode(m: proto.IBotMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.IBotMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
@@ -1802,8 +1780,7 @@ export namespace proto {
|
|||||||
WEB_INTRO_PANEL = 46,
|
WEB_INTRO_PANEL = 46,
|
||||||
WEB_NAVIGATION_BAR = 47,
|
WEB_NAVIGATION_BAR = 47,
|
||||||
GROUP_MEMBER = 54,
|
GROUP_MEMBER = 54,
|
||||||
CHATLIST_SEARCH = 55,
|
CHATLIST_SEARCH = 55
|
||||||
NEW_CHAT_LIST = 56
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IBotMetricsMetadata {
|
interface IBotMetricsMetadata {
|
||||||
@@ -3615,10 +3592,6 @@ export namespace proto {
|
|||||||
wtwaWebsiteUrl?: (string|null);
|
wtwaWebsiteUrl?: (string|null);
|
||||||
adPreviewUrl?: (string|null);
|
adPreviewUrl?: (string|null);
|
||||||
containsCtwaFlowsAutoReply?: (boolean|null);
|
containsCtwaFlowsAutoReply?: (boolean|null);
|
||||||
agmThumbnailStrategy?: (number|null);
|
|
||||||
agmTitleStrategy?: (number|null);
|
|
||||||
agmSubtitleStrategy?: (number|null);
|
|
||||||
agmHeaderInteractionStrategy?: (number|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class ExternalAdReplyInfo implements IExternalAdReplyInfo {
|
class ExternalAdReplyInfo implements IExternalAdReplyInfo {
|
||||||
@@ -3651,10 +3624,6 @@ export namespace proto {
|
|||||||
public wtwaWebsiteUrl?: (string|null);
|
public wtwaWebsiteUrl?: (string|null);
|
||||||
public adPreviewUrl?: (string|null);
|
public adPreviewUrl?: (string|null);
|
||||||
public containsCtwaFlowsAutoReply?: (boolean|null);
|
public containsCtwaFlowsAutoReply?: (boolean|null);
|
||||||
public agmThumbnailStrategy?: (number|null);
|
|
||||||
public agmTitleStrategy?: (number|null);
|
|
||||||
public agmSubtitleStrategy?: (number|null);
|
|
||||||
public agmHeaderInteractionStrategy?: (number|null);
|
|
||||||
public static create(properties?: proto.ContextInfo.IExternalAdReplyInfo): proto.ContextInfo.ExternalAdReplyInfo;
|
public static create(properties?: proto.ContextInfo.IExternalAdReplyInfo): proto.ContextInfo.ExternalAdReplyInfo;
|
||||||
public static encode(m: proto.ContextInfo.IExternalAdReplyInfo, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.ContextInfo.IExternalAdReplyInfo, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.ContextInfo.ExternalAdReplyInfo;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.ContextInfo.ExternalAdReplyInfo;
|
||||||
@@ -4059,7 +4028,6 @@ export namespace proto {
|
|||||||
companionSupportEnabled?: (boolean|null);
|
companionSupportEnabled?: (boolean|null);
|
||||||
campaignSyncEnabled?: (boolean|null);
|
campaignSyncEnabled?: (boolean|null);
|
||||||
insightsSyncEnabled?: (boolean|null);
|
insightsSyncEnabled?: (boolean|null);
|
||||||
recipientLimit?: (number|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class BusinessBroadcast implements IBusinessBroadcast {
|
class BusinessBroadcast implements IBusinessBroadcast {
|
||||||
@@ -4068,7 +4036,6 @@ export namespace proto {
|
|||||||
public companionSupportEnabled?: (boolean|null);
|
public companionSupportEnabled?: (boolean|null);
|
||||||
public campaignSyncEnabled?: (boolean|null);
|
public campaignSyncEnabled?: (boolean|null);
|
||||||
public insightsSyncEnabled?: (boolean|null);
|
public insightsSyncEnabled?: (boolean|null);
|
||||||
public recipientLimit?: (number|null);
|
|
||||||
public static create(properties?: proto.DeviceCapabilities.IBusinessBroadcast): proto.DeviceCapabilities.BusinessBroadcast;
|
public static create(properties?: proto.DeviceCapabilities.IBusinessBroadcast): proto.DeviceCapabilities.BusinessBroadcast;
|
||||||
public static encode(m: proto.DeviceCapabilities.IBusinessBroadcast, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.DeviceCapabilities.IBusinessBroadcast, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.DeviceCapabilities.BusinessBroadcast;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.DeviceCapabilities.BusinessBroadcast;
|
||||||
@@ -4244,8 +4211,6 @@ export namespace proto {
|
|||||||
initialSyncMaxMessagesPerChat?: (number|null);
|
initialSyncMaxMessagesPerChat?: (number|null);
|
||||||
supportManusHistory?: (boolean|null);
|
supportManusHistory?: (boolean|null);
|
||||||
supportHatchHistory?: (boolean|null);
|
supportHatchHistory?: (boolean|null);
|
||||||
supportedBotChannelFbids?: (string[]|null);
|
|
||||||
supportInlineContacts?: (boolean|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class HistorySyncConfig implements IHistorySyncConfig {
|
class HistorySyncConfig implements IHistorySyncConfig {
|
||||||
@@ -4272,8 +4237,6 @@ export namespace proto {
|
|||||||
public initialSyncMaxMessagesPerChat?: (number|null);
|
public initialSyncMaxMessagesPerChat?: (number|null);
|
||||||
public supportManusHistory?: (boolean|null);
|
public supportManusHistory?: (boolean|null);
|
||||||
public supportHatchHistory?: (boolean|null);
|
public supportHatchHistory?: (boolean|null);
|
||||||
public supportedBotChannelFbids: string[];
|
|
||||||
public supportInlineContacts?: (boolean|null);
|
|
||||||
public static create(properties?: proto.DeviceProps.IHistorySyncConfig): proto.DeviceProps.HistorySyncConfig;
|
public static create(properties?: proto.DeviceProps.IHistorySyncConfig): proto.DeviceProps.HistorySyncConfig;
|
||||||
public static encode(m: proto.DeviceProps.IHistorySyncConfig, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.DeviceProps.IHistorySyncConfig, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.DeviceProps.HistorySyncConfig;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.DeviceProps.HistorySyncConfig;
|
||||||
@@ -4742,42 +4705,6 @@ export namespace proto {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IGroupRootKeyShare {
|
|
||||||
keys?: (proto.IGroupRootKeyShareEntry[]|null);
|
|
||||||
}
|
|
||||||
|
|
||||||
class GroupRootKeyShare implements IGroupRootKeyShare {
|
|
||||||
constructor(p?: proto.IGroupRootKeyShare);
|
|
||||||
public keys: proto.IGroupRootKeyShareEntry[];
|
|
||||||
public static create(properties?: proto.IGroupRootKeyShare): proto.GroupRootKeyShare;
|
|
||||||
public static encode(m: proto.IGroupRootKeyShare, w?: $protobuf.Writer): $protobuf.Writer;
|
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.GroupRootKeyShare;
|
|
||||||
public static fromObject(d: { [k: string]: any }): proto.GroupRootKeyShare;
|
|
||||||
public static toObject(m: proto.GroupRootKeyShare, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
||||||
public toJSON(): { [k: string]: any };
|
|
||||||
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface IGroupRootKeyShareEntry {
|
|
||||||
groupRootKey?: (Uint8Array|null);
|
|
||||||
keyId?: (string|null);
|
|
||||||
expiryTimestampMs?: (number|Long|null);
|
|
||||||
}
|
|
||||||
|
|
||||||
class GroupRootKeyShareEntry implements IGroupRootKeyShareEntry {
|
|
||||||
constructor(p?: proto.IGroupRootKeyShareEntry);
|
|
||||||
public groupRootKey?: (Uint8Array|null);
|
|
||||||
public keyId?: (string|null);
|
|
||||||
public expiryTimestampMs?: (number|Long|null);
|
|
||||||
public static create(properties?: proto.IGroupRootKeyShareEntry): proto.GroupRootKeyShareEntry;
|
|
||||||
public static encode(m: proto.IGroupRootKeyShareEntry, w?: $protobuf.Writer): $protobuf.Writer;
|
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.GroupRootKeyShareEntry;
|
|
||||||
public static fromObject(d: { [k: string]: any }): proto.GroupRootKeyShareEntry;
|
|
||||||
public static toObject(m: proto.GroupRootKeyShareEntry, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
||||||
public toJSON(): { [k: string]: any };
|
|
||||||
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface IHandshakeMessage {
|
interface IHandshakeMessage {
|
||||||
clientHello?: (proto.HandshakeMessage.IClientHello|null);
|
clientHello?: (proto.HandshakeMessage.IClientHello|null);
|
||||||
serverHello?: (proto.HandshakeMessage.IServerHello|null);
|
serverHello?: (proto.HandshakeMessage.IServerHello|null);
|
||||||
@@ -4834,7 +4761,6 @@ export namespace proto {
|
|||||||
sendServerHelloPaddedBytes?: (boolean|null);
|
sendServerHelloPaddedBytes?: (boolean|null);
|
||||||
simulateXxkemFs?: (boolean|null);
|
simulateXxkemFs?: (boolean|null);
|
||||||
pqMode?: (proto.HandshakeMessage.HandshakePqMode|null);
|
pqMode?: (proto.HandshakeMessage.HandshakePqMode|null);
|
||||||
extendedEphemeral?: (Uint8Array|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class ClientHello implements IClientHello {
|
class ClientHello implements IClientHello {
|
||||||
@@ -4848,7 +4774,6 @@ export namespace proto {
|
|||||||
public sendServerHelloPaddedBytes?: (boolean|null);
|
public sendServerHelloPaddedBytes?: (boolean|null);
|
||||||
public simulateXxkemFs?: (boolean|null);
|
public simulateXxkemFs?: (boolean|null);
|
||||||
public pqMode?: (proto.HandshakeMessage.HandshakePqMode|null);
|
public pqMode?: (proto.HandshakeMessage.HandshakePqMode|null);
|
||||||
public extendedEphemeral?: (Uint8Array|null);
|
|
||||||
public static create(properties?: proto.HandshakeMessage.IClientHello): proto.HandshakeMessage.ClientHello;
|
public static create(properties?: proto.HandshakeMessage.IClientHello): proto.HandshakeMessage.ClientHello;
|
||||||
public static encode(m: proto.HandshakeMessage.IClientHello, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.HandshakeMessage.IClientHello, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.HandshakeMessage.ClientHello;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.HandshakeMessage.ClientHello;
|
||||||
@@ -4876,7 +4801,6 @@ export namespace proto {
|
|||||||
payload?: (Uint8Array|null);
|
payload?: (Uint8Array|null);
|
||||||
extendedStatic?: (Uint8Array|null);
|
extendedStatic?: (Uint8Array|null);
|
||||||
paddingBytes?: (Uint8Array|null);
|
paddingBytes?: (Uint8Array|null);
|
||||||
extendedCiphertext?: (Uint8Array|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class ServerHello implements IServerHello {
|
class ServerHello implements IServerHello {
|
||||||
@@ -4886,7 +4810,6 @@ export namespace proto {
|
|||||||
public payload?: (Uint8Array|null);
|
public payload?: (Uint8Array|null);
|
||||||
public extendedStatic?: (Uint8Array|null);
|
public extendedStatic?: (Uint8Array|null);
|
||||||
public paddingBytes?: (Uint8Array|null);
|
public paddingBytes?: (Uint8Array|null);
|
||||||
public extendedCiphertext?: (Uint8Array|null);
|
|
||||||
public static create(properties?: proto.HandshakeMessage.IServerHello): proto.HandshakeMessage.ServerHello;
|
public static create(properties?: proto.HandshakeMessage.IServerHello): proto.HandshakeMessage.ServerHello;
|
||||||
public static encode(m: proto.HandshakeMessage.IServerHello, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.HandshakeMessage.IServerHello, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.HandshakeMessage.ServerHello;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.HandshakeMessage.ServerHello;
|
||||||
@@ -4916,8 +4839,6 @@ export namespace proto {
|
|||||||
shareableChatIdentifierEncryptionKey?: (Uint8Array|null);
|
shareableChatIdentifierEncryptionKey?: (Uint8Array|null);
|
||||||
accounts?: (proto.IAccount[]|null);
|
accounts?: (proto.IAccount[]|null);
|
||||||
nctSalt?: (Uint8Array|null);
|
nctSalt?: (Uint8Array|null);
|
||||||
inlineContacts?: (proto.IInlineContact[]|null);
|
|
||||||
inlineContactsProvided?: (boolean|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class HistorySync implements IHistorySync {
|
class HistorySync implements IHistorySync {
|
||||||
@@ -4940,8 +4861,6 @@ export namespace proto {
|
|||||||
public shareableChatIdentifierEncryptionKey?: (Uint8Array|null);
|
public shareableChatIdentifierEncryptionKey?: (Uint8Array|null);
|
||||||
public accounts: proto.IAccount[];
|
public accounts: proto.IAccount[];
|
||||||
public nctSalt?: (Uint8Array|null);
|
public nctSalt?: (Uint8Array|null);
|
||||||
public inlineContacts: proto.IInlineContact[];
|
|
||||||
public inlineContactsProvided?: (boolean|null);
|
|
||||||
public static create(properties?: proto.IHistorySync): proto.HistorySync;
|
public static create(properties?: proto.IHistorySync): proto.HistorySync;
|
||||||
public static encode(m: proto.IHistorySync, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.IHistorySync, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.HistorySync;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.HistorySync;
|
||||||
@@ -5209,30 +5128,6 @@ export namespace proto {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IInlineContact {
|
|
||||||
pnJid?: (string|null);
|
|
||||||
lidJid?: (string|null);
|
|
||||||
fullName?: (string|null);
|
|
||||||
firstName?: (string|null);
|
|
||||||
username?: (string|null);
|
|
||||||
}
|
|
||||||
|
|
||||||
class InlineContact implements IInlineContact {
|
|
||||||
constructor(p?: proto.IInlineContact);
|
|
||||||
public pnJid?: (string|null);
|
|
||||||
public lidJid?: (string|null);
|
|
||||||
public fullName?: (string|null);
|
|
||||||
public firstName?: (string|null);
|
|
||||||
public username?: (string|null);
|
|
||||||
public static create(properties?: proto.IInlineContact): proto.InlineContact;
|
|
||||||
public static encode(m: proto.IInlineContact, w?: $protobuf.Writer): $protobuf.Writer;
|
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.InlineContact;
|
|
||||||
public static fromObject(d: { [k: string]: any }): proto.InlineContact;
|
|
||||||
public static toObject(m: proto.InlineContact, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
||||||
public toJSON(): { [k: string]: any };
|
|
||||||
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface IInteractiveAnnotation {
|
interface IInteractiveAnnotation {
|
||||||
polygonVertices?: (proto.IPoint[]|null);
|
polygonVertices?: (proto.IPoint[]|null);
|
||||||
shouldSkipConfirmation?: (boolean|null);
|
shouldSkipConfirmation?: (boolean|null);
|
||||||
@@ -5724,7 +5619,6 @@ export namespace proto {
|
|||||||
conditionalRevealMessage?: (proto.Message.IConditionalRevealMessage|null);
|
conditionalRevealMessage?: (proto.Message.IConditionalRevealMessage|null);
|
||||||
pollAddOptionMessage?: (proto.Message.IPollAddOptionMessage|null);
|
pollAddOptionMessage?: (proto.Message.IPollAddOptionMessage|null);
|
||||||
eventInviteMessage?: (proto.Message.IEventInviteMessage|null);
|
eventInviteMessage?: (proto.Message.IEventInviteMessage|null);
|
||||||
groupRootKeyShare?: (proto.IGroupRootKeyShare|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Message implements IMessage {
|
class Message implements IMessage {
|
||||||
@@ -5831,7 +5725,6 @@ export namespace proto {
|
|||||||
public conditionalRevealMessage?: (proto.Message.IConditionalRevealMessage|null);
|
public conditionalRevealMessage?: (proto.Message.IConditionalRevealMessage|null);
|
||||||
public pollAddOptionMessage?: (proto.Message.IPollAddOptionMessage|null);
|
public pollAddOptionMessage?: (proto.Message.IPollAddOptionMessage|null);
|
||||||
public eventInviteMessage?: (proto.Message.IEventInviteMessage|null);
|
public eventInviteMessage?: (proto.Message.IEventInviteMessage|null);
|
||||||
public groupRootKeyShare?: (proto.IGroupRootKeyShare|null);
|
|
||||||
public static create(properties?: proto.IMessage): proto.Message;
|
public static create(properties?: proto.IMessage): proto.Message;
|
||||||
public static encode(m: proto.IMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.IMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message;
|
||||||
@@ -6371,8 +6264,7 @@ export namespace proto {
|
|||||||
enum CloudAPIThreadControl {
|
enum CloudAPIThreadControl {
|
||||||
UNKNOWN = 0,
|
UNKNOWN = 0,
|
||||||
CONTROL_PASSED = 1,
|
CONTROL_PASSED = 1,
|
||||||
CONTROL_TAKEN = 2,
|
CONTROL_TAKEN = 2
|
||||||
INFO = 3
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ICloudAPIThreadControlNotificationContent {
|
interface ICloudAPIThreadControlNotificationContent {
|
||||||
@@ -8480,7 +8372,6 @@ export namespace proto {
|
|||||||
onDemandMsgCount?: (number|null);
|
onDemandMsgCount?: (number|null);
|
||||||
oldestMsgTimestampMs?: (number|Long|null);
|
oldestMsgTimestampMs?: (number|Long|null);
|
||||||
accountLid?: (string|null);
|
accountLid?: (string|null);
|
||||||
supportInlineResponse?: (boolean|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class HistorySyncOnDemandRequest implements IHistorySyncOnDemandRequest {
|
class HistorySyncOnDemandRequest implements IHistorySyncOnDemandRequest {
|
||||||
@@ -8491,7 +8382,6 @@ export namespace proto {
|
|||||||
public onDemandMsgCount?: (number|null);
|
public onDemandMsgCount?: (number|null);
|
||||||
public oldestMsgTimestampMs?: (number|Long|null);
|
public oldestMsgTimestampMs?: (number|Long|null);
|
||||||
public accountLid?: (string|null);
|
public accountLid?: (string|null);
|
||||||
public supportInlineResponse?: (boolean|null);
|
|
||||||
public static create(properties?: proto.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest): proto.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest;
|
public static create(properties?: proto.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest): proto.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest;
|
||||||
public static encode(m: proto.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.Message.PeerDataOperationRequestMessage.IHistorySyncOnDemandRequest, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.PeerDataOperationRequestMessage.HistorySyncOnDemandRequest;
|
||||||
@@ -8765,8 +8655,7 @@ export namespace proto {
|
|||||||
GENERIC_ERROR = 3,
|
GENERIC_ERROR = 3,
|
||||||
ERROR_REQUEST_ON_NON_SMB_PRIMARY = 4,
|
ERROR_REQUEST_ON_NON_SMB_PRIMARY = 4,
|
||||||
ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5,
|
ERROR_HOSTED_DEVICE_NOT_CONNECTED = 5,
|
||||||
ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6,
|
ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET = 6
|
||||||
ERROR_MULTI_PROVIDER_NOT_CONFIGURED = 7
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IHistorySyncChunkRetryResponse {
|
interface IHistorySyncChunkRetryResponse {
|
||||||
@@ -9392,7 +9281,8 @@ export namespace proto {
|
|||||||
AI_QUERY_FANOUT = 29,
|
AI_QUERY_FANOUT = 29,
|
||||||
GROUP_MEMBER_LABEL_CHANGE = 30,
|
GROUP_MEMBER_LABEL_CHANGE = 30,
|
||||||
AI_MEDIA_COLLECTION_MESSAGE = 31,
|
AI_MEDIA_COLLECTION_MESSAGE = 31,
|
||||||
MESSAGE_UNSCHEDULE = 32
|
MESSAGE_UNSCHEDULE = 32,
|
||||||
|
BOT_UNLINK_MESSAGE = 33
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -9771,7 +9661,6 @@ export namespace proto {
|
|||||||
isLottie?: (boolean|null);
|
isLottie?: (boolean|null);
|
||||||
accessibilityLabel?: (string|null);
|
accessibilityLabel?: (string|null);
|
||||||
premium?: (number|null);
|
premium?: (number|null);
|
||||||
emojis?: (string|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class StickerMessage implements IStickerMessage {
|
class StickerMessage implements IStickerMessage {
|
||||||
@@ -9797,7 +9686,6 @@ export namespace proto {
|
|||||||
public isLottie?: (boolean|null);
|
public isLottie?: (boolean|null);
|
||||||
public accessibilityLabel?: (string|null);
|
public accessibilityLabel?: (string|null);
|
||||||
public premium?: (number|null);
|
public premium?: (number|null);
|
||||||
public emojis?: (string|null);
|
|
||||||
public static create(properties?: proto.Message.IStickerMessage): proto.Message.StickerMessage;
|
public static create(properties?: proto.Message.IStickerMessage): proto.Message.StickerMessage;
|
||||||
public static encode(m: proto.Message.IStickerMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.Message.IStickerMessage, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.StickerMessage;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.Message.StickerMessage;
|
||||||
@@ -10293,7 +10181,6 @@ export namespace proto {
|
|||||||
limitSharingV2?: (proto.ILimitSharing|null);
|
limitSharingV2?: (proto.ILimitSharing|null);
|
||||||
threadId?: (proto.IThreadID[]|null);
|
threadId?: (proto.IThreadID[]|null);
|
||||||
weblinkRenderConfig?: (proto.WebLinkRenderConfig|null);
|
weblinkRenderConfig?: (proto.WebLinkRenderConfig|null);
|
||||||
teeBotMetadata?: (Uint8Array|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class MessageContextInfo implements IMessageContextInfo {
|
class MessageContextInfo implements IMessageContextInfo {
|
||||||
@@ -10314,7 +10201,6 @@ export namespace proto {
|
|||||||
public limitSharingV2?: (proto.ILimitSharing|null);
|
public limitSharingV2?: (proto.ILimitSharing|null);
|
||||||
public threadId: proto.IThreadID[];
|
public threadId: proto.IThreadID[];
|
||||||
public weblinkRenderConfig?: (proto.WebLinkRenderConfig|null);
|
public weblinkRenderConfig?: (proto.WebLinkRenderConfig|null);
|
||||||
public teeBotMetadata?: (Uint8Array|null);
|
|
||||||
public static create(properties?: proto.IMessageContextInfo): proto.MessageContextInfo;
|
public static create(properties?: proto.IMessageContextInfo): proto.MessageContextInfo;
|
||||||
public static encode(m: proto.IMessageContextInfo, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.IMessageContextInfo, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.MessageContextInfo;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.MessageContextInfo;
|
||||||
@@ -11503,26 +11389,6 @@ export namespace proto {
|
|||||||
public static getTypeUrl(typeUrlPrefix?: string): string;
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IScheduledMessageMetadata {
|
|
||||||
revealKeyId?: (string|null);
|
|
||||||
revealKey?: (Uint8Array|null);
|
|
||||||
scheduledTime?: (number|Long|null);
|
|
||||||
}
|
|
||||||
|
|
||||||
class ScheduledMessageMetadata implements IScheduledMessageMetadata {
|
|
||||||
constructor(p?: proto.IScheduledMessageMetadata);
|
|
||||||
public revealKeyId?: (string|null);
|
|
||||||
public revealKey?: (Uint8Array|null);
|
|
||||||
public scheduledTime?: (number|Long|null);
|
|
||||||
public static create(properties?: proto.IScheduledMessageMetadata): proto.ScheduledMessageMetadata;
|
|
||||||
public static encode(m: proto.IScheduledMessageMetadata, w?: $protobuf.Writer): $protobuf.Writer;
|
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.ScheduledMessageMetadata;
|
|
||||||
public static fromObject(d: { [k: string]: any }): proto.ScheduledMessageMetadata;
|
|
||||||
public static toObject(m: proto.ScheduledMessageMetadata, o?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
||||||
public toJSON(): { [k: string]: any };
|
|
||||||
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ISenderKeyDistributionMessage {
|
interface ISenderKeyDistributionMessage {
|
||||||
id?: (number|null);
|
id?: (number|null);
|
||||||
iteration?: (number|null);
|
iteration?: (number|null);
|
||||||
@@ -13054,8 +12920,7 @@ export namespace proto {
|
|||||||
SERVER_ASSIGNED = 7,
|
SERVER_ASSIGNED = 7,
|
||||||
DRAFTED = 8,
|
DRAFTED = 8,
|
||||||
AI_HANDOFF = 9,
|
AI_HANDOFF = 9,
|
||||||
CHANNELS = 10,
|
CHANNELS = 10
|
||||||
AI_RESPONDING = 11
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -13697,8 +13562,6 @@ export namespace proto {
|
|||||||
isStatusNotificationEnabled?: (boolean|null);
|
isStatusNotificationEnabled?: (boolean|null);
|
||||||
statusNotificationToneId?: (number|null);
|
statusNotificationToneId?: (number|null);
|
||||||
shouldPlaySoundForCallNotification?: (boolean|null);
|
shouldPlaySoundForCallNotification?: (boolean|null);
|
||||||
chatThemeId?: (string|null);
|
|
||||||
colorSchemeId?: (string|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class SettingsSyncAction implements ISettingsSyncAction {
|
class SettingsSyncAction implements ISettingsSyncAction {
|
||||||
@@ -13734,8 +13597,6 @@ export namespace proto {
|
|||||||
public isStatusNotificationEnabled?: (boolean|null);
|
public isStatusNotificationEnabled?: (boolean|null);
|
||||||
public statusNotificationToneId?: (number|null);
|
public statusNotificationToneId?: (number|null);
|
||||||
public shouldPlaySoundForCallNotification?: (boolean|null);
|
public shouldPlaySoundForCallNotification?: (boolean|null);
|
||||||
public chatThemeId?: (string|null);
|
|
||||||
public colorSchemeId?: (string|null);
|
|
||||||
public static create(properties?: proto.SyncActionValue.ISettingsSyncAction): proto.SyncActionValue.SettingsSyncAction;
|
public static create(properties?: proto.SyncActionValue.ISettingsSyncAction): proto.SyncActionValue.SettingsSyncAction;
|
||||||
public static encode(m: proto.SyncActionValue.ISettingsSyncAction, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.SyncActionValue.ISettingsSyncAction, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue.SettingsSyncAction;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.SyncActionValue.SettingsSyncAction;
|
||||||
@@ -13792,9 +13653,7 @@ export namespace proto {
|
|||||||
IS_GROUP_REACTIONS_NOTIFICATION_ENABLED = 28,
|
IS_GROUP_REACTIONS_NOTIFICATION_ENABLED = 28,
|
||||||
IS_STATUS_NOTIFICATION_ENABLED = 29,
|
IS_STATUS_NOTIFICATION_ENABLED = 29,
|
||||||
STATUS_NOTIFICATION_TONE_ID = 30,
|
STATUS_NOTIFICATION_TONE_ID = 30,
|
||||||
SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION = 31,
|
SHOULD_PLAY_SOUND_FOR_CALL_NOTIFICATION = 31
|
||||||
CHAT_THEME_ID = 32,
|
|
||||||
COLOR_SCHEME_ID = 33
|
|
||||||
}
|
}
|
||||||
|
|
||||||
enum SettingPlatform {
|
enum SettingPlatform {
|
||||||
@@ -13865,7 +13724,7 @@ export namespace proto {
|
|||||||
namespace StatusPrivacyAction {
|
namespace StatusPrivacyAction {
|
||||||
|
|
||||||
interface ICustomList {
|
interface ICustomList {
|
||||||
listId?: (string|null);
|
id?: (number|Long|null);
|
||||||
name?: (string|null);
|
name?: (string|null);
|
||||||
emoji?: (string|null);
|
emoji?: (string|null);
|
||||||
isSelected?: (boolean|null);
|
isSelected?: (boolean|null);
|
||||||
@@ -13874,7 +13733,7 @@ export namespace proto {
|
|||||||
|
|
||||||
class CustomList implements ICustomList {
|
class CustomList implements ICustomList {
|
||||||
constructor(p?: proto.SyncActionValue.StatusPrivacyAction.ICustomList);
|
constructor(p?: proto.SyncActionValue.StatusPrivacyAction.ICustomList);
|
||||||
public listId?: (string|null);
|
public id?: (number|Long|null);
|
||||||
public name?: (string|null);
|
public name?: (string|null);
|
||||||
public emoji?: (string|null);
|
public emoji?: (string|null);
|
||||||
public isSelected?: (boolean|null);
|
public isSelected?: (boolean|null);
|
||||||
@@ -14901,8 +14760,6 @@ export namespace proto {
|
|||||||
quarantinedMessage?: (proto.IQuarantinedMessage|null);
|
quarantinedMessage?: (proto.IQuarantinedMessage|null);
|
||||||
nonJidMentions?: (number|null);
|
nonJidMentions?: (number|null);
|
||||||
hsmTag?: (string|null);
|
hsmTag?: (string|null);
|
||||||
ephemeralExpirationTimestamp?: (number|Long|null);
|
|
||||||
scheduledMessageMetadata?: (proto.IScheduledMessageMetadata|null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class WebMessageInfo implements IWebMessageInfo {
|
class WebMessageInfo implements IWebMessageInfo {
|
||||||
@@ -14975,8 +14832,6 @@ export namespace proto {
|
|||||||
public quarantinedMessage?: (proto.IQuarantinedMessage|null);
|
public quarantinedMessage?: (proto.IQuarantinedMessage|null);
|
||||||
public nonJidMentions?: (number|null);
|
public nonJidMentions?: (number|null);
|
||||||
public hsmTag?: (string|null);
|
public hsmTag?: (string|null);
|
||||||
public ephemeralExpirationTimestamp?: (number|Long|null);
|
|
||||||
public scheduledMessageMetadata?: (proto.IScheduledMessageMetadata|null);
|
|
||||||
public static create(properties?: proto.IWebMessageInfo): proto.WebMessageInfo;
|
public static create(properties?: proto.IWebMessageInfo): proto.WebMessageInfo;
|
||||||
public static encode(m: proto.IWebMessageInfo, w?: $protobuf.Writer): $protobuf.Writer;
|
public static encode(m: proto.IWebMessageInfo, w?: $protobuf.Writer): $protobuf.Writer;
|
||||||
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.WebMessageInfo;
|
public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.WebMessageInfo;
|
||||||
@@ -15228,9 +15083,7 @@ export namespace proto {
|
|||||||
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_OPEN_BOT_ADDED = 222,
|
||||||
GROUP_TEE_BOT_ADDED = 223,
|
GROUP_TEE_BOT_ADDED = 223
|
||||||
CONTACT_INFO = 224,
|
|
||||||
SCHEDULED_MESSAGE_CREATED = 225
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+26
-1192
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
|||||||
{"version":[2,3000,1037166441]}
|
{"version":[2,3000,1035913242]}
|
||||||
|
|||||||
@@ -2251,7 +2251,12 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const encNode = getBinaryNodeChild(node, 'enc')
|
const encNode = getBinaryNodeChild(node, 'enc')
|
||||||
// msmsg block removed — allow msmsg decryption (required for view-once on linked devices)
|
// TODO: temporary fix for crashes and issues resulting of failed msmsg decryption
|
||||||
|
if (encNode?.attrs.type === 'msmsg') {
|
||||||
|
logger.debug({ key: node.attrs.key }, 'ignored msmsg')
|
||||||
|
await sendMessageAck(node, NACK_REASONS.MissingMessageSecret)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// Handle view-once unavailable sync from primary device.
|
// Handle view-once unavailable sync from primary device.
|
||||||
// When the primary device sends a view-once, linked companions receive
|
// When the primary device sends a view-once, linked companions receive
|
||||||
@@ -2377,23 +2382,6 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
|||||||
{ msgId: msg.key?.id, messageType },
|
{ msgId: msg.key?.id, messageType },
|
||||||
'CTWA: Skipping placeholder resend for unavailable fanout type'
|
'CTWA: Skipping placeholder resend for unavailable fanout type'
|
||||||
)
|
)
|
||||||
// For view-once: emit the message with a viewOnceMessage placeholder
|
|
||||||
// so consumers (zpro, etc.) can detect and display it.
|
|
||||||
// Include a message wrapper so isValidMsg accepts it.
|
|
||||||
if (messageType === 'view_once_unavailable_fanout') {
|
|
||||||
msg.key.isViewOnce = true
|
|
||||||
msg.message = {
|
|
||||||
viewOnceMessage: {
|
|
||||||
message: {
|
|
||||||
imageMessage: {
|
|
||||||
viewOnce: true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
const upsertType = node.attrs.offline ? 'append' : 'notify'
|
|
||||||
await upsertMessage(msg, upsertType)
|
|
||||||
}
|
|
||||||
metrics.ctwaRecoveryFailures.inc({ reason: 'unavailable_fanout' })
|
metrics.ctwaRecoveryFailures.inc({ reason: 'unavailable_fanout' })
|
||||||
return sendMessageAck(node)
|
return sendMessageAck(node)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user