@jkt48connect-corp/baileys 7.4.5 → 7.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/WAProto/CompanionReg/CompanionReg.d.ts +6 -0
  2. package/WAProto/CompanionReg/CompanionReg.js +36 -0
  3. package/WAProto/CompanionReg/CompanionReg.proto +1 -0
  4. package/WAProto/E2E/E2E.d.ts +434 -6
  5. package/WAProto/E2E/E2E.js +1427 -2
  6. package/WAProto/E2E/E2E.proto +33 -0
  7. package/WAProto/HistorySync/HistorySync.d.ts +434 -6
  8. package/WAProto/HistorySync/HistorySync.js +1427 -2
  9. package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.d.ts +434 -6
  10. package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.js +1427 -2
  11. package/WAProto/StatusAttributions/StatusAttributions.d.ts +95 -3
  12. package/WAProto/StatusAttributions/StatusAttributions.js +270 -2
  13. package/WAProto/StatusAttributions/StatusAttributions.proto +8 -0
  14. package/WAProto/Web/Web.d.ts +434 -6
  15. package/WAProto/Web/Web.js +1427 -2
  16. package/lib/Defaults/baileys-version.json +1 -1
  17. package/lib/Socket/business.js +3 -3
  18. package/lib/Socket/chats.js +7 -7
  19. package/lib/Socket/groups.js +11 -9
  20. package/lib/Socket/messages-recv.js +12 -11
  21. package/lib/Socket/messages-send.js +981 -983
  22. package/lib/Socket/newsletter.js +3 -3
  23. package/lib/Socket/socket.js +13 -47
  24. package/lib/Socket/usync.js +3 -3
  25. package/lib/Store/make-cache-manager-store.js +9 -17
  26. package/lib/Store/make-in-memory-store.d.ts +2 -2
  27. package/lib/Store/make-in-memory-store.js +5 -5
  28. package/lib/Types/GroupMetadata.d.ts +2 -1
  29. package/lib/Utils/business.js +4 -0
  30. package/lib/Utils/decode-wa-message.js +4 -0
  31. package/lib/Utils/generics.js +10 -9
  32. package/lib/Utils/messages.js +1329 -1326
  33. package/lib/Utils/process-message.js +14 -1
  34. package/lib/index.js +1 -1
  35. package/package.json +5 -6
  36. package/WAProto/Adv/JKT48Connect - Valzyy +0 -0
  37. package/WAProto/Cert/JKT48Connect - Valzyy +0 -0
  38. package/WAProto/ChatLockSettings/JKT48Connect - Valzyy +0 -0
  39. package/WAProto/CompanionReg/JKT48Connect - Valzyy +0 -0
  40. package/WAProto/DeviceCapabilities/JKT48Connect - Valzyy +0 -0
  41. package/WAProto/E2E/JKT48Connect - Valzyy +0 -0
  42. package/WAProto/Ephemeral/JKT48Connect - Valzyy +0 -0
  43. package/WAProto/HistorySync/JKT48Connect - Valzyy +0 -0
  44. package/WAProto/JKT48Connect - Valzyy +0 -0
  45. package/WAProto/MdStorageChatRowOpaqueData/JKT48Connect - Valzyy +0 -0
  46. package/WAProto/MdStorageMsgRowOpaqueData/JKT48Connect - Valzyy +0 -0
  47. package/WAProto/MmsRetry/JKT48Connect - Valzyy +0 -0
  48. package/WAProto/Protocol/JKT48Connect - Valzyy +0 -0
  49. package/WAProto/Reporting/JKT48Connect - Valzyy +0 -0
  50. package/WAProto/ServerSync/JKT48Connect - Valzyy +0 -0
  51. package/WAProto/SignalLocalStorageProtocol/JKT48Connect - Valzyy +0 -0
  52. package/WAProto/SignalWhisperTextProtocol/JKT48Connect - Valzyy +0 -0
  53. package/WAProto/StatusAttributions/JKT48Connect - Valzyy +0 -0
  54. package/WAProto/SyncAction/JKT48Connect - Valzyy +0 -0
  55. package/WAProto/UserPassword/JKT48Connect - Valzyy +0 -0
  56. package/WAProto/VnameCert/JKT48Connect - Valzyy +0 -0
  57. package/WAProto/Wa6/JKT48Connect - Valzyy +0 -0
  58. package/WAProto/Web/JKT48Connect - Valzyy +0 -0
  59. package/lib/JKT48Connect - Valzyy +0 -0
@@ -6734,7 +6734,8 @@ HD_IMAGE_DUAL_UPLOAD = 10,
6734
6734
  STICKER_ANNOTATION = 11,
6735
6735
  MOTION_PHOTO = 12,
6736
6736
  STATUS_LINK_ACTION = 13,
6737
- VIEW_ALL_REPLIES = 14
6737
+ VIEW_ALL_REPLIES = 14,
6738
+ STATUS_ADD_YOURS_AI_IMAGINE = 15
6738
6739
  }
6739
6740
  }
6740
6741
  /** Properties of a BotMetadata. */
@@ -6789,6 +6790,10 @@ botQuotaMetadata?: (E2E.IBotQuotaMetadata|null);
6789
6790
  botAgeCollectionMetadata?: (E2E.IBotAgeCollectionMetadata|null);
6790
6791
  /** BotMetadata conversationStarterPromptId */
6791
6792
  conversationStarterPromptId?: (string|null);
6793
+ /** BotMetadata botResponseId */
6794
+ botResponseId?: (string|null);
6795
+ /** BotMetadata verificationMetadata */
6796
+ verificationMetadata?: (E2E.IBotSignatureVerificationMetadata|null);
6792
6797
  }
6793
6798
  /** Represents a BotMetadata. */
6794
6799
  class BotMetadata implements IBotMetadata {
@@ -6847,6 +6852,10 @@ public botQuotaMetadata?: (E2E.IBotQuotaMetadata|null);
6847
6852
  public botAgeCollectionMetadata?: (E2E.IBotAgeCollectionMetadata|null);
6848
6853
  /** BotMetadata conversationStarterPromptId. */
6849
6854
  public conversationStarterPromptId?: (string|null);
6855
+ /** BotMetadata botResponseId. */
6856
+ public botResponseId?: (string|null);
6857
+ /** BotMetadata verificationMetadata. */
6858
+ public verificationMetadata?: (E2E.IBotSignatureVerificationMetadata|null);
6850
6859
  /** BotMetadata _avatarMetadata. */
6851
6860
  public _avatarMetadata?: "avatarMetadata";
6852
6861
  /** BotMetadata _personaId. */
@@ -6897,6 +6906,10 @@ public _botQuotaMetadata?: "botQuotaMetadata";
6897
6906
  public _botAgeCollectionMetadata?: "botAgeCollectionMetadata";
6898
6907
  /** BotMetadata _conversationStarterPromptId. */
6899
6908
  public _conversationStarterPromptId?: "conversationStarterPromptId";
6909
+ /** BotMetadata _botResponseId. */
6910
+ public _botResponseId?: "botResponseId";
6911
+ /** BotMetadata _verificationMetadata. */
6912
+ public _verificationMetadata?: "verificationMetadata";
6900
6913
  /**
6901
6914
  * Creates a new BotMetadata instance using the specified properties.
6902
6915
  * @param [properties] Properties to set
@@ -7752,7 +7765,8 @@ RICH_RESPONSE_LATEX_INLINE = 31,
7752
7765
  QUERY_PLAN = 32,
7753
7766
  PROACTIVE_MESSAGE = 33,
7754
7767
  RICH_RESPONSE_UNIFIED_RESPONSE = 34,
7755
- PROMOTION_MESSAGE = 35
7768
+ PROMOTION_MESSAGE = 35,
7769
+ SIMPLIFIED_PROFILE_PAGE = 36
7756
7770
  }
7757
7771
  }
7758
7772
  /** Properties of a BotProgressIndicatorMetadata. */
@@ -9180,6 +9194,8 @@ messageType?: (E2E.AIRichResponseMessage.AIRichResponseMessageType|null);
9180
9194
  submessages?: (E2E.AIRichResponseMessage.IAIRichResponseSubMessage[]|null);
9181
9195
  /** AIRichResponseMessage unifiedResponse */
9182
9196
  unifiedResponse?: (E2E.AIRichResponseMessage.IAIRichResponseUnifiedResponse|null);
9197
+ /** AIRichResponseMessage contextInfo */
9198
+ contextInfo?: (E2E.IContextInfo|null);
9183
9199
  }
9184
9200
  /** Represents a AIRichResponseMessage. */
9185
9201
  class AIRichResponseMessage implements IAIRichResponseMessage {
@@ -9194,10 +9210,14 @@ public messageType?: (E2E.AIRichResponseMessage.AIRichResponseMessageType|null);
9194
9210
  public submessages: E2E.AIRichResponseMessage.IAIRichResponseSubMessage[];
9195
9211
  /** AIRichResponseMessage unifiedResponse. */
9196
9212
  public unifiedResponse?: (E2E.AIRichResponseMessage.IAIRichResponseUnifiedResponse|null);
9213
+ /** AIRichResponseMessage contextInfo. */
9214
+ public contextInfo?: (E2E.IContextInfo|null);
9197
9215
  /** AIRichResponseMessage _messageType. */
9198
9216
  public _messageType?: "messageType";
9199
9217
  /** AIRichResponseMessage _unifiedResponse. */
9200
9218
  public _unifiedResponse?: "unifiedResponse";
9219
+ /** AIRichResponseMessage _contextInfo. */
9220
+ public _contextInfo?: "contextInfo";
9201
9221
  /**
9202
9222
  * Creates a new AIRichResponseMessage instance using the specified properties.
9203
9223
  * @param [properties] Properties to set
@@ -10745,6 +10765,8 @@ AI_RICH_RESPONSE_CONTENT_ITEMS = 9
10745
10765
  interface IAIRichResponseTableMetadata {
10746
10766
  /** AIRichResponseTableMetadata rows */
10747
10767
  rows?: (E2E.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[]|null);
10768
+ /** AIRichResponseTableMetadata title */
10769
+ title?: (string|null);
10748
10770
  }
10749
10771
  /** Represents a AIRichResponseTableMetadata. */
10750
10772
  class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata {
@@ -10755,6 +10777,10 @@ class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata {
10755
10777
  constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseTableMetadata);
10756
10778
  /** AIRichResponseTableMetadata rows. */
10757
10779
  public rows: E2E.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[];
10780
+ /** AIRichResponseTableMetadata title. */
10781
+ public title?: (string|null);
10782
+ /** AIRichResponseTableMetadata _title. */
10783
+ public _title?: "title";
10758
10784
  /**
10759
10785
  * Creates a new AIRichResponseTableMetadata instance using the specified properties.
10760
10786
  * @param [properties] Properties to set
@@ -10998,6 +11024,196 @@ public toJSON(): { [k: string]: any };
10998
11024
  public static getTypeUrl(typeUrlPrefix?: string): string;
10999
11025
  }
11000
11026
  }
11027
+ /** Properties of a BotSignatureVerificationUseCaseProof. */
11028
+ interface IBotSignatureVerificationUseCaseProof {
11029
+ /** BotSignatureVerificationUseCaseProof version */
11030
+ version?: (number|null);
11031
+ /** BotSignatureVerificationUseCaseProof useCase */
11032
+ useCase?: (E2E.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
11033
+ /** BotSignatureVerificationUseCaseProof signature */
11034
+ signature?: (Uint8Array|null);
11035
+ /** BotSignatureVerificationUseCaseProof certificateChain */
11036
+ certificateChain?: (Uint8Array|null);
11037
+ }
11038
+ /** Represents a BotSignatureVerificationUseCaseProof. */
11039
+ class BotSignatureVerificationUseCaseProof implements IBotSignatureVerificationUseCaseProof {
11040
+ /**
11041
+ * Constructs a new BotSignatureVerificationUseCaseProof.
11042
+ * @param [properties] Properties to set
11043
+ */
11044
+ constructor(properties?: E2E.IBotSignatureVerificationUseCaseProof);
11045
+ /** BotSignatureVerificationUseCaseProof version. */
11046
+ public version?: (number|null);
11047
+ /** BotSignatureVerificationUseCaseProof useCase. */
11048
+ public useCase?: (E2E.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
11049
+ /** BotSignatureVerificationUseCaseProof signature. */
11050
+ public signature?: (Uint8Array|null);
11051
+ /** BotSignatureVerificationUseCaseProof certificateChain. */
11052
+ public certificateChain?: (Uint8Array|null);
11053
+ /** BotSignatureVerificationUseCaseProof _version. */
11054
+ public _version?: "version";
11055
+ /** BotSignatureVerificationUseCaseProof _useCase. */
11056
+ public _useCase?: "useCase";
11057
+ /** BotSignatureVerificationUseCaseProof _signature. */
11058
+ public _signature?: "signature";
11059
+ /** BotSignatureVerificationUseCaseProof _certificateChain. */
11060
+ public _certificateChain?: "certificateChain";
11061
+ /**
11062
+ * Creates a new BotSignatureVerificationUseCaseProof instance using the specified properties.
11063
+ * @param [properties] Properties to set
11064
+ * @returns BotSignatureVerificationUseCaseProof instance
11065
+ */
11066
+ public static create(properties?: E2E.IBotSignatureVerificationUseCaseProof): E2E.BotSignatureVerificationUseCaseProof;
11067
+ /**
11068
+ * Encodes the specified BotSignatureVerificationUseCaseProof message. Does not implicitly {@link E2E.BotSignatureVerificationUseCaseProof.verify|verify} messages.
11069
+ * @param message BotSignatureVerificationUseCaseProof message or plain object to encode
11070
+ * @param [writer] Writer to encode to
11071
+ * @returns Writer
11072
+ */
11073
+ public static encode(message: E2E.IBotSignatureVerificationUseCaseProof, writer?: $protobuf.Writer): $protobuf.Writer;
11074
+ /**
11075
+ * Encodes the specified BotSignatureVerificationUseCaseProof message, length delimited. Does not implicitly {@link E2E.BotSignatureVerificationUseCaseProof.verify|verify} messages.
11076
+ * @param message BotSignatureVerificationUseCaseProof message or plain object to encode
11077
+ * @param [writer] Writer to encode to
11078
+ * @returns Writer
11079
+ */
11080
+ public static encodeDelimited(message: E2E.IBotSignatureVerificationUseCaseProof, writer?: $protobuf.Writer): $protobuf.Writer;
11081
+ /**
11082
+ * Decodes a BotSignatureVerificationUseCaseProof message from the specified reader or buffer.
11083
+ * @param reader Reader or buffer to decode from
11084
+ * @param [length] Message length if known beforehand
11085
+ * @returns BotSignatureVerificationUseCaseProof
11086
+ * @throws {Error} If the payload is not a reader or valid buffer
11087
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11088
+ */
11089
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.BotSignatureVerificationUseCaseProof;
11090
+ /**
11091
+ * Decodes a BotSignatureVerificationUseCaseProof message from the specified reader or buffer, length delimited.
11092
+ * @param reader Reader or buffer to decode from
11093
+ * @returns BotSignatureVerificationUseCaseProof
11094
+ * @throws {Error} If the payload is not a reader or valid buffer
11095
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11096
+ */
11097
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.BotSignatureVerificationUseCaseProof;
11098
+ /**
11099
+ * Verifies a BotSignatureVerificationUseCaseProof message.
11100
+ * @param message Plain object to verify
11101
+ * @returns `null` if valid, otherwise the reason why it is not
11102
+ */
11103
+ public static verify(message: { [k: string]: any }): (string|null);
11104
+ /**
11105
+ * Creates a BotSignatureVerificationUseCaseProof message from a plain object. Also converts values to their respective internal types.
11106
+ * @param object Plain object
11107
+ * @returns BotSignatureVerificationUseCaseProof
11108
+ */
11109
+ public static fromObject(object: { [k: string]: any }): E2E.BotSignatureVerificationUseCaseProof;
11110
+ /**
11111
+ * Creates a plain object from a BotSignatureVerificationUseCaseProof message. Also converts values to other types if specified.
11112
+ * @param message BotSignatureVerificationUseCaseProof
11113
+ * @param [options] Conversion options
11114
+ * @returns Plain object
11115
+ */
11116
+ public static toObject(message: E2E.BotSignatureVerificationUseCaseProof, options?: $protobuf.IConversionOptions): { [k: string]: any };
11117
+ /**
11118
+ * Converts this BotSignatureVerificationUseCaseProof to JSON.
11119
+ * @returns JSON object
11120
+ */
11121
+ public toJSON(): { [k: string]: any };
11122
+ /**
11123
+ * Gets the default type url for BotSignatureVerificationUseCaseProof
11124
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11125
+ * @returns The default type url
11126
+ */
11127
+ public static getTypeUrl(typeUrlPrefix?: string): string;
11128
+ }
11129
+ namespace BotSignatureVerificationUseCaseProof {
11130
+ /** BotSignatureUseCase enum. */
11131
+ enum BotSignatureUseCase {
11132
+ WA_BOT_MSG = 0
11133
+ }
11134
+ }
11135
+ /** Properties of a BotSignatureVerificationMetadata. */
11136
+ interface IBotSignatureVerificationMetadata {
11137
+ /** BotSignatureVerificationMetadata proofs */
11138
+ proofs?: (E2E.IBotSignatureVerificationUseCaseProof[]|null);
11139
+ }
11140
+ /** Represents a BotSignatureVerificationMetadata. */
11141
+ class BotSignatureVerificationMetadata implements IBotSignatureVerificationMetadata {
11142
+ /**
11143
+ * Constructs a new BotSignatureVerificationMetadata.
11144
+ * @param [properties] Properties to set
11145
+ */
11146
+ constructor(properties?: E2E.IBotSignatureVerificationMetadata);
11147
+ /** BotSignatureVerificationMetadata proofs. */
11148
+ public proofs: E2E.IBotSignatureVerificationUseCaseProof[];
11149
+ /**
11150
+ * Creates a new BotSignatureVerificationMetadata instance using the specified properties.
11151
+ * @param [properties] Properties to set
11152
+ * @returns BotSignatureVerificationMetadata instance
11153
+ */
11154
+ public static create(properties?: E2E.IBotSignatureVerificationMetadata): E2E.BotSignatureVerificationMetadata;
11155
+ /**
11156
+ * Encodes the specified BotSignatureVerificationMetadata message. Does not implicitly {@link E2E.BotSignatureVerificationMetadata.verify|verify} messages.
11157
+ * @param message BotSignatureVerificationMetadata message or plain object to encode
11158
+ * @param [writer] Writer to encode to
11159
+ * @returns Writer
11160
+ */
11161
+ public static encode(message: E2E.IBotSignatureVerificationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
11162
+ /**
11163
+ * Encodes the specified BotSignatureVerificationMetadata message, length delimited. Does not implicitly {@link E2E.BotSignatureVerificationMetadata.verify|verify} messages.
11164
+ * @param message BotSignatureVerificationMetadata message or plain object to encode
11165
+ * @param [writer] Writer to encode to
11166
+ * @returns Writer
11167
+ */
11168
+ public static encodeDelimited(message: E2E.IBotSignatureVerificationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
11169
+ /**
11170
+ * Decodes a BotSignatureVerificationMetadata message from the specified reader or buffer.
11171
+ * @param reader Reader or buffer to decode from
11172
+ * @param [length] Message length if known beforehand
11173
+ * @returns BotSignatureVerificationMetadata
11174
+ * @throws {Error} If the payload is not a reader or valid buffer
11175
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11176
+ */
11177
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.BotSignatureVerificationMetadata;
11178
+ /**
11179
+ * Decodes a BotSignatureVerificationMetadata message from the specified reader or buffer, length delimited.
11180
+ * @param reader Reader or buffer to decode from
11181
+ * @returns BotSignatureVerificationMetadata
11182
+ * @throws {Error} If the payload is not a reader or valid buffer
11183
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11184
+ */
11185
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.BotSignatureVerificationMetadata;
11186
+ /**
11187
+ * Verifies a BotSignatureVerificationMetadata message.
11188
+ * @param message Plain object to verify
11189
+ * @returns `null` if valid, otherwise the reason why it is not
11190
+ */
11191
+ public static verify(message: { [k: string]: any }): (string|null);
11192
+ /**
11193
+ * Creates a BotSignatureVerificationMetadata message from a plain object. Also converts values to their respective internal types.
11194
+ * @param object Plain object
11195
+ * @returns BotSignatureVerificationMetadata
11196
+ */
11197
+ public static fromObject(object: { [k: string]: any }): E2E.BotSignatureVerificationMetadata;
11198
+ /**
11199
+ * Creates a plain object from a BotSignatureVerificationMetadata message. Also converts values to other types if specified.
11200
+ * @param message BotSignatureVerificationMetadata
11201
+ * @param [options] Conversion options
11202
+ * @returns Plain object
11203
+ */
11204
+ public static toObject(message: E2E.BotSignatureVerificationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
11205
+ /**
11206
+ * Converts this BotSignatureVerificationMetadata to JSON.
11207
+ * @returns JSON object
11208
+ */
11209
+ public toJSON(): { [k: string]: any };
11210
+ /**
11211
+ * Gets the default type url for BotSignatureVerificationMetadata
11212
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11213
+ * @returns The default type url
11214
+ */
11215
+ public static getTypeUrl(typeUrlPrefix?: string): string;
11216
+ }
11001
11217
  /** Properties of a BotMemoryFact. */
11002
11218
  interface IBotMemoryFact {
11003
11219
  /** BotMemoryFact fact */
@@ -20690,6 +20906,10 @@ paymentLinkMetadata?: (E2E.Message.IPaymentLinkMetadata|null);
20690
20906
  urlMetadata?: (E2E.Message.IURLMetadata|null);
20691
20907
  /** LinkPreviewMetadata fbExperimentId */
20692
20908
  fbExperimentId?: (number|null);
20909
+ /** LinkPreviewMetadata linkMediaDuration */
20910
+ linkMediaDuration?: (number|null);
20911
+ /** LinkPreviewMetadata socialMediaPostType */
20912
+ socialMediaPostType?: (E2E.Message.LinkPreviewMetadata.SocialMediaPostType|null);
20693
20913
  }
20694
20914
  /** Represents a LinkPreviewMetadata. */
20695
20915
  class LinkPreviewMetadata implements ILinkPreviewMetadata {
@@ -20704,12 +20924,20 @@ public paymentLinkMetadata?: (E2E.Message.IPaymentLinkMetadata|null);
20704
20924
  public urlMetadata?: (E2E.Message.IURLMetadata|null);
20705
20925
  /** LinkPreviewMetadata fbExperimentId. */
20706
20926
  public fbExperimentId?: (number|null);
20927
+ /** LinkPreviewMetadata linkMediaDuration. */
20928
+ public linkMediaDuration?: (number|null);
20929
+ /** LinkPreviewMetadata socialMediaPostType. */
20930
+ public socialMediaPostType?: (E2E.Message.LinkPreviewMetadata.SocialMediaPostType|null);
20707
20931
  /** LinkPreviewMetadata _paymentLinkMetadata. */
20708
20932
  public _paymentLinkMetadata?: "paymentLinkMetadata";
20709
20933
  /** LinkPreviewMetadata _urlMetadata. */
20710
20934
  public _urlMetadata?: "urlMetadata";
20711
20935
  /** LinkPreviewMetadata _fbExperimentId. */
20712
20936
  public _fbExperimentId?: "fbExperimentId";
20937
+ /** LinkPreviewMetadata _linkMediaDuration. */
20938
+ public _linkMediaDuration?: "linkMediaDuration";
20939
+ /** LinkPreviewMetadata _socialMediaPostType. */
20940
+ public _socialMediaPostType?: "socialMediaPostType";
20713
20941
  /**
20714
20942
  * Creates a new LinkPreviewMetadata instance using the specified properties.
20715
20943
  * @param [properties] Properties to set
@@ -20778,6 +21006,17 @@ public toJSON(): { [k: string]: any };
20778
21006
  */
20779
21007
  public static getTypeUrl(typeUrlPrefix?: string): string;
20780
21008
  }
21009
+ namespace LinkPreviewMetadata {
21010
+ /** SocialMediaPostType enum. */
21011
+ enum SocialMediaPostType {
21012
+ NONE = 0,
21013
+ REEL = 1,
21014
+ LIVE_VIDEO = 2,
21015
+ LONG_VIDEO = 3,
21016
+ SINGLE_IMAGE = 4,
21017
+ CAROUSEL = 5
21018
+ }
21019
+ }
20781
21020
  /** Properties of a ListMessage. */
20782
21021
  interface IListMessage {
20783
21022
  /** ListMessage title */
@@ -23898,6 +24137,8 @@ fullHistorySyncOnDemandRequestResponse?: (E2E.Message.PeerDataOperationRequestRe
23898
24137
  companionMetaNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse|null);
23899
24138
  /** PeerDataOperationResult syncdSnapshotFatalRecoveryResponse */
23900
24139
  syncdSnapshotFatalRecoveryResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse|null);
24140
+ /** PeerDataOperationResult companionCanonicalUserNonceFetchRequestResponse */
24141
+ companionCanonicalUserNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse|null);
23901
24142
  }
23902
24143
  /** Represents a PeerDataOperationResult. */
23903
24144
  class PeerDataOperationResult implements IPeerDataOperationResult {
@@ -23922,6 +24163,8 @@ public fullHistorySyncOnDemandRequestResponse?: (E2E.Message.PeerDataOperationRe
23922
24163
  public companionMetaNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse|null);
23923
24164
  /** PeerDataOperationResult syncdSnapshotFatalRecoveryResponse. */
23924
24165
  public syncdSnapshotFatalRecoveryResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse|null);
24166
+ /** PeerDataOperationResult companionCanonicalUserNonceFetchRequestResponse. */
24167
+ public companionCanonicalUserNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse|null);
23925
24168
  /** PeerDataOperationResult _mediaUploadResult. */
23926
24169
  public _mediaUploadResult?: "mediaUploadResult";
23927
24170
  /** PeerDataOperationResult _stickerMessage. */
@@ -23938,6 +24181,8 @@ public _fullHistorySyncOnDemandRequestResponse?: "fullHistorySyncOnDemandRequest
23938
24181
  public _companionMetaNonceFetchRequestResponse?: "companionMetaNonceFetchRequestResponse";
23939
24182
  /** PeerDataOperationResult _syncdSnapshotFatalRecoveryResponse. */
23940
24183
  public _syncdSnapshotFatalRecoveryResponse?: "syncdSnapshotFatalRecoveryResponse";
24184
+ /** PeerDataOperationResult _companionCanonicalUserNonceFetchRequestResponse. */
24185
+ public _companionCanonicalUserNonceFetchRequestResponse?: "companionCanonicalUserNonceFetchRequestResponse";
23941
24186
  /**
23942
24187
  * Creates a new PeerDataOperationResult instance using the specified properties.
23943
24188
  * @param [properties] Properties to set
@@ -24007,6 +24252,90 @@ public toJSON(): { [k: string]: any };
24007
24252
  public static getTypeUrl(typeUrlPrefix?: string): string;
24008
24253
  }
24009
24254
  namespace PeerDataOperationResult {
24255
+ /** Properties of a CompanionCanonicalUserNonceFetchResponse. */
24256
+ interface ICompanionCanonicalUserNonceFetchResponse {
24257
+ /** CompanionCanonicalUserNonceFetchResponse nonce */
24258
+ nonce?: (string|null);
24259
+ }
24260
+ /** Represents a CompanionCanonicalUserNonceFetchResponse. */
24261
+ class CompanionCanonicalUserNonceFetchResponse implements ICompanionCanonicalUserNonceFetchResponse {
24262
+ /**
24263
+ * Constructs a new CompanionCanonicalUserNonceFetchResponse.
24264
+ * @param [properties] Properties to set
24265
+ */
24266
+ constructor(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse);
24267
+ /** CompanionCanonicalUserNonceFetchResponse nonce. */
24268
+ public nonce?: (string|null);
24269
+ /** CompanionCanonicalUserNonceFetchResponse _nonce. */
24270
+ public _nonce?: "nonce";
24271
+ /**
24272
+ * Creates a new CompanionCanonicalUserNonceFetchResponse instance using the specified properties.
24273
+ * @param [properties] Properties to set
24274
+ * @returns CompanionCanonicalUserNonceFetchResponse instance
24275
+ */
24276
+ public static create(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
24277
+ /**
24278
+ * Encodes the specified CompanionCanonicalUserNonceFetchResponse message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse.verify|verify} messages.
24279
+ * @param message CompanionCanonicalUserNonceFetchResponse message or plain object to encode
24280
+ * @param [writer] Writer to encode to
24281
+ * @returns Writer
24282
+ */
24283
+ public static encode(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
24284
+ /**
24285
+ * Encodes the specified CompanionCanonicalUserNonceFetchResponse message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse.verify|verify} messages.
24286
+ * @param message CompanionCanonicalUserNonceFetchResponse message or plain object to encode
24287
+ * @param [writer] Writer to encode to
24288
+ * @returns Writer
24289
+ */
24290
+ public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
24291
+ /**
24292
+ * Decodes a CompanionCanonicalUserNonceFetchResponse message from the specified reader or buffer.
24293
+ * @param reader Reader or buffer to decode from
24294
+ * @param [length] Message length if known beforehand
24295
+ * @returns CompanionCanonicalUserNonceFetchResponse
24296
+ * @throws {Error} If the payload is not a reader or valid buffer
24297
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
24298
+ */
24299
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
24300
+ /**
24301
+ * Decodes a CompanionCanonicalUserNonceFetchResponse message from the specified reader or buffer, length delimited.
24302
+ * @param reader Reader or buffer to decode from
24303
+ * @returns CompanionCanonicalUserNonceFetchResponse
24304
+ * @throws {Error} If the payload is not a reader or valid buffer
24305
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
24306
+ */
24307
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
24308
+ /**
24309
+ * Verifies a CompanionCanonicalUserNonceFetchResponse message.
24310
+ * @param message Plain object to verify
24311
+ * @returns `null` if valid, otherwise the reason why it is not
24312
+ */
24313
+ public static verify(message: { [k: string]: any }): (string|null);
24314
+ /**
24315
+ * Creates a CompanionCanonicalUserNonceFetchResponse message from a plain object. Also converts values to their respective internal types.
24316
+ * @param object Plain object
24317
+ * @returns CompanionCanonicalUserNonceFetchResponse
24318
+ */
24319
+ public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
24320
+ /**
24321
+ * Creates a plain object from a CompanionCanonicalUserNonceFetchResponse message. Also converts values to other types if specified.
24322
+ * @param message CompanionCanonicalUserNonceFetchResponse
24323
+ * @param [options] Conversion options
24324
+ * @returns Plain object
24325
+ */
24326
+ public static toObject(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
24327
+ /**
24328
+ * Converts this CompanionCanonicalUserNonceFetchResponse to JSON.
24329
+ * @returns JSON object
24330
+ */
24331
+ public toJSON(): { [k: string]: any };
24332
+ /**
24333
+ * Gets the default type url for CompanionCanonicalUserNonceFetchResponse
24334
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
24335
+ * @returns The default type url
24336
+ */
24337
+ public static getTypeUrl(typeUrlPrefix?: string): string;
24338
+ }
24010
24339
  /** Properties of a CompanionMetaNonceFetchResponse. */
24011
24340
  interface ICompanionMetaNonceFetchResponse {
24012
24341
  /** CompanionMetaNonceFetchResponse nonce */
@@ -24709,7 +25038,8 @@ PLACEHOLDER_MESSAGE_RESEND = 4,
24709
25038
  WAFFLE_LINKING_NONCE_FETCH = 5,
24710
25039
  FULL_HISTORY_SYNC_ON_DEMAND = 6,
24711
25040
  COMPANION_META_NONCE_FETCH = 7,
24712
- COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8
25041
+ COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8,
25042
+ COMPANION_CANONICAL_USER_NONCE_FETCH = 9
24713
25043
  }
24714
25044
  /** Properties of a PinInChatMessage. */
24715
25045
  interface IPinInChatMessage {
@@ -29515,6 +29845,8 @@ statusReshare?: (StatusAttributions.StatusAttribution.IStatusReshare|null);
29515
29845
  externalShare?: (StatusAttributions.StatusAttribution.IExternalShare|null);
29516
29846
  /** StatusAttribution music */
29517
29847
  music?: (StatusAttributions.StatusAttribution.IMusic|null);
29848
+ /** StatusAttribution groupStatus */
29849
+ groupStatus?: (StatusAttributions.StatusAttribution.IGroupStatus|null);
29518
29850
  }
29519
29851
  /** Represents a StatusAttribution. */
29520
29852
  class StatusAttribution implements IStatusAttribution {
@@ -29533,12 +29865,14 @@ public statusReshare?: (StatusAttributions.StatusAttribution.IStatusReshare|null
29533
29865
  public externalShare?: (StatusAttributions.StatusAttribution.IExternalShare|null);
29534
29866
  /** StatusAttribution music. */
29535
29867
  public music?: (StatusAttributions.StatusAttribution.IMusic|null);
29868
+ /** StatusAttribution groupStatus. */
29869
+ public groupStatus?: (StatusAttributions.StatusAttribution.IGroupStatus|null);
29536
29870
  /** StatusAttribution _type. */
29537
29871
  public _type?: "type";
29538
29872
  /** StatusAttribution _actionUrl. */
29539
29873
  public _actionUrl?: "actionUrl";
29540
29874
  /** StatusAttribution attributionData. */
29541
- public attributionData?: ("statusReshare"|"externalShare"|"music");
29875
+ public attributionData?: ("statusReshare"|"externalShare"|"music"|"groupStatus");
29542
29876
  /**
29543
29877
  * Creates a new StatusAttribution instance using the specified properties.
29544
29878
  * @param [properties] Properties to set
@@ -29717,9 +30051,95 @@ UNKNOWN = 0,
29717
30051
  INSTAGRAM = 1,
29718
30052
  FACEBOOK = 2,
29719
30053
  MESSENGER = 3,
29720
- SPOTIFY = 4
30054
+ SPOTIFY = 4,
30055
+ YOUTUBE = 5,
30056
+ PINTEREST = 6
29721
30057
  }
29722
30058
  }
30059
+ /** Properties of a GroupStatus. */
30060
+ interface IGroupStatus {
30061
+ /** GroupStatus authorJid */
30062
+ authorJid?: (string|null);
30063
+ }
30064
+ /** Represents a GroupStatus. */
30065
+ class GroupStatus implements IGroupStatus {
30066
+ /**
30067
+ * Constructs a new GroupStatus.
30068
+ * @param [properties] Properties to set
30069
+ */
30070
+ constructor(properties?: StatusAttributions.StatusAttribution.IGroupStatus);
30071
+ /** GroupStatus authorJid. */
30072
+ public authorJid?: (string|null);
30073
+ /** GroupStatus _authorJid. */
30074
+ public _authorJid?: "authorJid";
30075
+ /**
30076
+ * Creates a new GroupStatus instance using the specified properties.
30077
+ * @param [properties] Properties to set
30078
+ * @returns GroupStatus instance
30079
+ */
30080
+ public static create(properties?: StatusAttributions.StatusAttribution.IGroupStatus): StatusAttributions.StatusAttribution.GroupStatus;
30081
+ /**
30082
+ * Encodes the specified GroupStatus message. Does not implicitly {@link StatusAttributions.StatusAttribution.GroupStatus.verify|verify} messages.
30083
+ * @param message GroupStatus message or plain object to encode
30084
+ * @param [writer] Writer to encode to
30085
+ * @returns Writer
30086
+ */
30087
+ public static encode(message: StatusAttributions.StatusAttribution.IGroupStatus, writer?: $protobuf.Writer): $protobuf.Writer;
30088
+ /**
30089
+ * Encodes the specified GroupStatus message, length delimited. Does not implicitly {@link StatusAttributions.StatusAttribution.GroupStatus.verify|verify} messages.
30090
+ * @param message GroupStatus message or plain object to encode
30091
+ * @param [writer] Writer to encode to
30092
+ * @returns Writer
30093
+ */
30094
+ public static encodeDelimited(message: StatusAttributions.StatusAttribution.IGroupStatus, writer?: $protobuf.Writer): $protobuf.Writer;
30095
+ /**
30096
+ * Decodes a GroupStatus message from the specified reader or buffer.
30097
+ * @param reader Reader or buffer to decode from
30098
+ * @param [length] Message length if known beforehand
30099
+ * @returns GroupStatus
30100
+ * @throws {Error} If the payload is not a reader or valid buffer
30101
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30102
+ */
30103
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): StatusAttributions.StatusAttribution.GroupStatus;
30104
+ /**
30105
+ * Decodes a GroupStatus message from the specified reader or buffer, length delimited.
30106
+ * @param reader Reader or buffer to decode from
30107
+ * @returns GroupStatus
30108
+ * @throws {Error} If the payload is not a reader or valid buffer
30109
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30110
+ */
30111
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): StatusAttributions.StatusAttribution.GroupStatus;
30112
+ /**
30113
+ * Verifies a GroupStatus message.
30114
+ * @param message Plain object to verify
30115
+ * @returns `null` if valid, otherwise the reason why it is not
30116
+ */
30117
+ public static verify(message: { [k: string]: any }): (string|null);
30118
+ /**
30119
+ * Creates a GroupStatus message from a plain object. Also converts values to their respective internal types.
30120
+ * @param object Plain object
30121
+ * @returns GroupStatus
30122
+ */
30123
+ public static fromObject(object: { [k: string]: any }): StatusAttributions.StatusAttribution.GroupStatus;
30124
+ /**
30125
+ * Creates a plain object from a GroupStatus message. Also converts values to other types if specified.
30126
+ * @param message GroupStatus
30127
+ * @param [options] Conversion options
30128
+ * @returns Plain object
30129
+ */
30130
+ public static toObject(message: StatusAttributions.StatusAttribution.GroupStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
30131
+ /**
30132
+ * Converts this GroupStatus to JSON.
30133
+ * @returns JSON object
30134
+ */
30135
+ public toJSON(): { [k: string]: any };
30136
+ /**
30137
+ * Gets the default type url for GroupStatus
30138
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
30139
+ * @returns The default type url
30140
+ */
30141
+ public static getTypeUrl(typeUrlPrefix?: string): string;
30142
+ }
29723
30143
  /** Properties of a Music. */
29724
30144
  interface IMusic {
29725
30145
  /** Music authorName */
@@ -30039,7 +30459,9 @@ CHANNEL_RESHARE = 3
30039
30459
  enum Type {
30040
30460
  RESHARE = 0,
30041
30461
  EXTERNAL_SHARE = 1,
30042
- MUSIC = 2
30462
+ MUSIC = 2,
30463
+ STATUS_MENTION = 3,
30464
+ GROUP_STATUS = 4
30043
30465
  }
30044
30466
  }
30045
30467
  }
@@ -30051,6 +30473,8 @@ interface IClientPairingProps {
30051
30473
  isChatDbLidMigrated?: (boolean|null);
30052
30474
  /** ClientPairingProps isSyncdPureLidSession */
30053
30475
  isSyncdPureLidSession?: (boolean|null);
30476
+ /** ClientPairingProps isSyncdSnapshotRecoveryEnabled */
30477
+ isSyncdSnapshotRecoveryEnabled?: (boolean|null);
30054
30478
  }
30055
30479
  /** Represents a ClientPairingProps. */
30056
30480
  class ClientPairingProps implements IClientPairingProps {
@@ -30063,10 +30487,14 @@ constructor(properties?: CompanionReg.IClientPairingProps);
30063
30487
  public isChatDbLidMigrated?: (boolean|null);
30064
30488
  /** ClientPairingProps isSyncdPureLidSession. */
30065
30489
  public isSyncdPureLidSession?: (boolean|null);
30490
+ /** ClientPairingProps isSyncdSnapshotRecoveryEnabled. */
30491
+ public isSyncdSnapshotRecoveryEnabled?: (boolean|null);
30066
30492
  /** ClientPairingProps _isChatDbLidMigrated. */
30067
30493
  public _isChatDbLidMigrated?: "isChatDbLidMigrated";
30068
30494
  /** ClientPairingProps _isSyncdPureLidSession. */
30069
30495
  public _isSyncdPureLidSession?: "isSyncdPureLidSession";
30496
+ /** ClientPairingProps _isSyncdSnapshotRecoveryEnabled. */
30497
+ public _isSyncdSnapshotRecoveryEnabled?: "isSyncdSnapshotRecoveryEnabled";
30070
30498
  /**
30071
30499
  * Creates a new ClientPairingProps instance using the specified properties.
30072
30500
  * @param [properties] Properties to set