@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
@@ -4310,7 +4310,8 @@ HD_IMAGE_DUAL_UPLOAD = 10,
4310
4310
  STICKER_ANNOTATION = 11,
4311
4311
  MOTION_PHOTO = 12,
4312
4312
  STATUS_LINK_ACTION = 13,
4313
- VIEW_ALL_REPLIES = 14
4313
+ VIEW_ALL_REPLIES = 14,
4314
+ STATUS_ADD_YOURS_AI_IMAGINE = 15
4314
4315
  }
4315
4316
  }
4316
4317
  /** Properties of a BotMetadata. */
@@ -4365,6 +4366,10 @@ botQuotaMetadata?: (E2E.IBotQuotaMetadata|null);
4365
4366
  botAgeCollectionMetadata?: (E2E.IBotAgeCollectionMetadata|null);
4366
4367
  /** BotMetadata conversationStarterPromptId */
4367
4368
  conversationStarterPromptId?: (string|null);
4369
+ /** BotMetadata botResponseId */
4370
+ botResponseId?: (string|null);
4371
+ /** BotMetadata verificationMetadata */
4372
+ verificationMetadata?: (E2E.IBotSignatureVerificationMetadata|null);
4368
4373
  }
4369
4374
  /** Represents a BotMetadata. */
4370
4375
  class BotMetadata implements IBotMetadata {
@@ -4423,6 +4428,10 @@ public botQuotaMetadata?: (E2E.IBotQuotaMetadata|null);
4423
4428
  public botAgeCollectionMetadata?: (E2E.IBotAgeCollectionMetadata|null);
4424
4429
  /** BotMetadata conversationStarterPromptId. */
4425
4430
  public conversationStarterPromptId?: (string|null);
4431
+ /** BotMetadata botResponseId. */
4432
+ public botResponseId?: (string|null);
4433
+ /** BotMetadata verificationMetadata. */
4434
+ public verificationMetadata?: (E2E.IBotSignatureVerificationMetadata|null);
4426
4435
  /** BotMetadata _avatarMetadata. */
4427
4436
  public _avatarMetadata?: "avatarMetadata";
4428
4437
  /** BotMetadata _personaId. */
@@ -4473,6 +4482,10 @@ public _botQuotaMetadata?: "botQuotaMetadata";
4473
4482
  public _botAgeCollectionMetadata?: "botAgeCollectionMetadata";
4474
4483
  /** BotMetadata _conversationStarterPromptId. */
4475
4484
  public _conversationStarterPromptId?: "conversationStarterPromptId";
4485
+ /** BotMetadata _botResponseId. */
4486
+ public _botResponseId?: "botResponseId";
4487
+ /** BotMetadata _verificationMetadata. */
4488
+ public _verificationMetadata?: "verificationMetadata";
4476
4489
  /**
4477
4490
  * Creates a new BotMetadata instance using the specified properties.
4478
4491
  * @param [properties] Properties to set
@@ -5328,7 +5341,8 @@ RICH_RESPONSE_LATEX_INLINE = 31,
5328
5341
  QUERY_PLAN = 32,
5329
5342
  PROACTIVE_MESSAGE = 33,
5330
5343
  RICH_RESPONSE_UNIFIED_RESPONSE = 34,
5331
- PROMOTION_MESSAGE = 35
5344
+ PROMOTION_MESSAGE = 35,
5345
+ SIMPLIFIED_PROFILE_PAGE = 36
5332
5346
  }
5333
5347
  }
5334
5348
  /** Properties of a BotProgressIndicatorMetadata. */
@@ -6756,6 +6770,8 @@ messageType?: (E2E.AIRichResponseMessage.AIRichResponseMessageType|null);
6756
6770
  submessages?: (E2E.AIRichResponseMessage.IAIRichResponseSubMessage[]|null);
6757
6771
  /** AIRichResponseMessage unifiedResponse */
6758
6772
  unifiedResponse?: (E2E.AIRichResponseMessage.IAIRichResponseUnifiedResponse|null);
6773
+ /** AIRichResponseMessage contextInfo */
6774
+ contextInfo?: (E2E.IContextInfo|null);
6759
6775
  }
6760
6776
  /** Represents a AIRichResponseMessage. */
6761
6777
  class AIRichResponseMessage implements IAIRichResponseMessage {
@@ -6770,10 +6786,14 @@ public messageType?: (E2E.AIRichResponseMessage.AIRichResponseMessageType|null);
6770
6786
  public submessages: E2E.AIRichResponseMessage.IAIRichResponseSubMessage[];
6771
6787
  /** AIRichResponseMessage unifiedResponse. */
6772
6788
  public unifiedResponse?: (E2E.AIRichResponseMessage.IAIRichResponseUnifiedResponse|null);
6789
+ /** AIRichResponseMessage contextInfo. */
6790
+ public contextInfo?: (E2E.IContextInfo|null);
6773
6791
  /** AIRichResponseMessage _messageType. */
6774
6792
  public _messageType?: "messageType";
6775
6793
  /** AIRichResponseMessage _unifiedResponse. */
6776
6794
  public _unifiedResponse?: "unifiedResponse";
6795
+ /** AIRichResponseMessage _contextInfo. */
6796
+ public _contextInfo?: "contextInfo";
6777
6797
  /**
6778
6798
  * Creates a new AIRichResponseMessage instance using the specified properties.
6779
6799
  * @param [properties] Properties to set
@@ -8321,6 +8341,8 @@ AI_RICH_RESPONSE_CONTENT_ITEMS = 9
8321
8341
  interface IAIRichResponseTableMetadata {
8322
8342
  /** AIRichResponseTableMetadata rows */
8323
8343
  rows?: (E2E.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[]|null);
8344
+ /** AIRichResponseTableMetadata title */
8345
+ title?: (string|null);
8324
8346
  }
8325
8347
  /** Represents a AIRichResponseTableMetadata. */
8326
8348
  class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata {
@@ -8331,6 +8353,10 @@ class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata {
8331
8353
  constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseTableMetadata);
8332
8354
  /** AIRichResponseTableMetadata rows. */
8333
8355
  public rows: E2E.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[];
8356
+ /** AIRichResponseTableMetadata title. */
8357
+ public title?: (string|null);
8358
+ /** AIRichResponseTableMetadata _title. */
8359
+ public _title?: "title";
8334
8360
  /**
8335
8361
  * Creates a new AIRichResponseTableMetadata instance using the specified properties.
8336
8362
  * @param [properties] Properties to set
@@ -8574,6 +8600,196 @@ public toJSON(): { [k: string]: any };
8574
8600
  public static getTypeUrl(typeUrlPrefix?: string): string;
8575
8601
  }
8576
8602
  }
8603
+ /** Properties of a BotSignatureVerificationUseCaseProof. */
8604
+ interface IBotSignatureVerificationUseCaseProof {
8605
+ /** BotSignatureVerificationUseCaseProof version */
8606
+ version?: (number|null);
8607
+ /** BotSignatureVerificationUseCaseProof useCase */
8608
+ useCase?: (E2E.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
8609
+ /** BotSignatureVerificationUseCaseProof signature */
8610
+ signature?: (Uint8Array|null);
8611
+ /** BotSignatureVerificationUseCaseProof certificateChain */
8612
+ certificateChain?: (Uint8Array|null);
8613
+ }
8614
+ /** Represents a BotSignatureVerificationUseCaseProof. */
8615
+ class BotSignatureVerificationUseCaseProof implements IBotSignatureVerificationUseCaseProof {
8616
+ /**
8617
+ * Constructs a new BotSignatureVerificationUseCaseProof.
8618
+ * @param [properties] Properties to set
8619
+ */
8620
+ constructor(properties?: E2E.IBotSignatureVerificationUseCaseProof);
8621
+ /** BotSignatureVerificationUseCaseProof version. */
8622
+ public version?: (number|null);
8623
+ /** BotSignatureVerificationUseCaseProof useCase. */
8624
+ public useCase?: (E2E.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
8625
+ /** BotSignatureVerificationUseCaseProof signature. */
8626
+ public signature?: (Uint8Array|null);
8627
+ /** BotSignatureVerificationUseCaseProof certificateChain. */
8628
+ public certificateChain?: (Uint8Array|null);
8629
+ /** BotSignatureVerificationUseCaseProof _version. */
8630
+ public _version?: "version";
8631
+ /** BotSignatureVerificationUseCaseProof _useCase. */
8632
+ public _useCase?: "useCase";
8633
+ /** BotSignatureVerificationUseCaseProof _signature. */
8634
+ public _signature?: "signature";
8635
+ /** BotSignatureVerificationUseCaseProof _certificateChain. */
8636
+ public _certificateChain?: "certificateChain";
8637
+ /**
8638
+ * Creates a new BotSignatureVerificationUseCaseProof instance using the specified properties.
8639
+ * @param [properties] Properties to set
8640
+ * @returns BotSignatureVerificationUseCaseProof instance
8641
+ */
8642
+ public static create(properties?: E2E.IBotSignatureVerificationUseCaseProof): E2E.BotSignatureVerificationUseCaseProof;
8643
+ /**
8644
+ * Encodes the specified BotSignatureVerificationUseCaseProof message. Does not implicitly {@link E2E.BotSignatureVerificationUseCaseProof.verify|verify} messages.
8645
+ * @param message BotSignatureVerificationUseCaseProof message or plain object to encode
8646
+ * @param [writer] Writer to encode to
8647
+ * @returns Writer
8648
+ */
8649
+ public static encode(message: E2E.IBotSignatureVerificationUseCaseProof, writer?: $protobuf.Writer): $protobuf.Writer;
8650
+ /**
8651
+ * Encodes the specified BotSignatureVerificationUseCaseProof message, length delimited. Does not implicitly {@link E2E.BotSignatureVerificationUseCaseProof.verify|verify} messages.
8652
+ * @param message BotSignatureVerificationUseCaseProof message or plain object to encode
8653
+ * @param [writer] Writer to encode to
8654
+ * @returns Writer
8655
+ */
8656
+ public static encodeDelimited(message: E2E.IBotSignatureVerificationUseCaseProof, writer?: $protobuf.Writer): $protobuf.Writer;
8657
+ /**
8658
+ * Decodes a BotSignatureVerificationUseCaseProof message from the specified reader or buffer.
8659
+ * @param reader Reader or buffer to decode from
8660
+ * @param [length] Message length if known beforehand
8661
+ * @returns BotSignatureVerificationUseCaseProof
8662
+ * @throws {Error} If the payload is not a reader or valid buffer
8663
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8664
+ */
8665
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.BotSignatureVerificationUseCaseProof;
8666
+ /**
8667
+ * Decodes a BotSignatureVerificationUseCaseProof message from the specified reader or buffer, length delimited.
8668
+ * @param reader Reader or buffer to decode from
8669
+ * @returns BotSignatureVerificationUseCaseProof
8670
+ * @throws {Error} If the payload is not a reader or valid buffer
8671
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8672
+ */
8673
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.BotSignatureVerificationUseCaseProof;
8674
+ /**
8675
+ * Verifies a BotSignatureVerificationUseCaseProof message.
8676
+ * @param message Plain object to verify
8677
+ * @returns `null` if valid, otherwise the reason why it is not
8678
+ */
8679
+ public static verify(message: { [k: string]: any }): (string|null);
8680
+ /**
8681
+ * Creates a BotSignatureVerificationUseCaseProof message from a plain object. Also converts values to their respective internal types.
8682
+ * @param object Plain object
8683
+ * @returns BotSignatureVerificationUseCaseProof
8684
+ */
8685
+ public static fromObject(object: { [k: string]: any }): E2E.BotSignatureVerificationUseCaseProof;
8686
+ /**
8687
+ * Creates a plain object from a BotSignatureVerificationUseCaseProof message. Also converts values to other types if specified.
8688
+ * @param message BotSignatureVerificationUseCaseProof
8689
+ * @param [options] Conversion options
8690
+ * @returns Plain object
8691
+ */
8692
+ public static toObject(message: E2E.BotSignatureVerificationUseCaseProof, options?: $protobuf.IConversionOptions): { [k: string]: any };
8693
+ /**
8694
+ * Converts this BotSignatureVerificationUseCaseProof to JSON.
8695
+ * @returns JSON object
8696
+ */
8697
+ public toJSON(): { [k: string]: any };
8698
+ /**
8699
+ * Gets the default type url for BotSignatureVerificationUseCaseProof
8700
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8701
+ * @returns The default type url
8702
+ */
8703
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8704
+ }
8705
+ namespace BotSignatureVerificationUseCaseProof {
8706
+ /** BotSignatureUseCase enum. */
8707
+ enum BotSignatureUseCase {
8708
+ WA_BOT_MSG = 0
8709
+ }
8710
+ }
8711
+ /** Properties of a BotSignatureVerificationMetadata. */
8712
+ interface IBotSignatureVerificationMetadata {
8713
+ /** BotSignatureVerificationMetadata proofs */
8714
+ proofs?: (E2E.IBotSignatureVerificationUseCaseProof[]|null);
8715
+ }
8716
+ /** Represents a BotSignatureVerificationMetadata. */
8717
+ class BotSignatureVerificationMetadata implements IBotSignatureVerificationMetadata {
8718
+ /**
8719
+ * Constructs a new BotSignatureVerificationMetadata.
8720
+ * @param [properties] Properties to set
8721
+ */
8722
+ constructor(properties?: E2E.IBotSignatureVerificationMetadata);
8723
+ /** BotSignatureVerificationMetadata proofs. */
8724
+ public proofs: E2E.IBotSignatureVerificationUseCaseProof[];
8725
+ /**
8726
+ * Creates a new BotSignatureVerificationMetadata instance using the specified properties.
8727
+ * @param [properties] Properties to set
8728
+ * @returns BotSignatureVerificationMetadata instance
8729
+ */
8730
+ public static create(properties?: E2E.IBotSignatureVerificationMetadata): E2E.BotSignatureVerificationMetadata;
8731
+ /**
8732
+ * Encodes the specified BotSignatureVerificationMetadata message. Does not implicitly {@link E2E.BotSignatureVerificationMetadata.verify|verify} messages.
8733
+ * @param message BotSignatureVerificationMetadata message or plain object to encode
8734
+ * @param [writer] Writer to encode to
8735
+ * @returns Writer
8736
+ */
8737
+ public static encode(message: E2E.IBotSignatureVerificationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
8738
+ /**
8739
+ * Encodes the specified BotSignatureVerificationMetadata message, length delimited. Does not implicitly {@link E2E.BotSignatureVerificationMetadata.verify|verify} messages.
8740
+ * @param message BotSignatureVerificationMetadata message or plain object to encode
8741
+ * @param [writer] Writer to encode to
8742
+ * @returns Writer
8743
+ */
8744
+ public static encodeDelimited(message: E2E.IBotSignatureVerificationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
8745
+ /**
8746
+ * Decodes a BotSignatureVerificationMetadata message from the specified reader or buffer.
8747
+ * @param reader Reader or buffer to decode from
8748
+ * @param [length] Message length if known beforehand
8749
+ * @returns BotSignatureVerificationMetadata
8750
+ * @throws {Error} If the payload is not a reader or valid buffer
8751
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8752
+ */
8753
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.BotSignatureVerificationMetadata;
8754
+ /**
8755
+ * Decodes a BotSignatureVerificationMetadata message from the specified reader or buffer, length delimited.
8756
+ * @param reader Reader or buffer to decode from
8757
+ * @returns BotSignatureVerificationMetadata
8758
+ * @throws {Error} If the payload is not a reader or valid buffer
8759
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8760
+ */
8761
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.BotSignatureVerificationMetadata;
8762
+ /**
8763
+ * Verifies a BotSignatureVerificationMetadata message.
8764
+ * @param message Plain object to verify
8765
+ * @returns `null` if valid, otherwise the reason why it is not
8766
+ */
8767
+ public static verify(message: { [k: string]: any }): (string|null);
8768
+ /**
8769
+ * Creates a BotSignatureVerificationMetadata message from a plain object. Also converts values to their respective internal types.
8770
+ * @param object Plain object
8771
+ * @returns BotSignatureVerificationMetadata
8772
+ */
8773
+ public static fromObject(object: { [k: string]: any }): E2E.BotSignatureVerificationMetadata;
8774
+ /**
8775
+ * Creates a plain object from a BotSignatureVerificationMetadata message. Also converts values to other types if specified.
8776
+ * @param message BotSignatureVerificationMetadata
8777
+ * @param [options] Conversion options
8778
+ * @returns Plain object
8779
+ */
8780
+ public static toObject(message: E2E.BotSignatureVerificationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
8781
+ /**
8782
+ * Converts this BotSignatureVerificationMetadata to JSON.
8783
+ * @returns JSON object
8784
+ */
8785
+ public toJSON(): { [k: string]: any };
8786
+ /**
8787
+ * Gets the default type url for BotSignatureVerificationMetadata
8788
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8789
+ * @returns The default type url
8790
+ */
8791
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8792
+ }
8577
8793
  /** Properties of a BotMemoryFact. */
8578
8794
  interface IBotMemoryFact {
8579
8795
  /** BotMemoryFact fact */
@@ -18266,6 +18482,10 @@ paymentLinkMetadata?: (E2E.Message.IPaymentLinkMetadata|null);
18266
18482
  urlMetadata?: (E2E.Message.IURLMetadata|null);
18267
18483
  /** LinkPreviewMetadata fbExperimentId */
18268
18484
  fbExperimentId?: (number|null);
18485
+ /** LinkPreviewMetadata linkMediaDuration */
18486
+ linkMediaDuration?: (number|null);
18487
+ /** LinkPreviewMetadata socialMediaPostType */
18488
+ socialMediaPostType?: (E2E.Message.LinkPreviewMetadata.SocialMediaPostType|null);
18269
18489
  }
18270
18490
  /** Represents a LinkPreviewMetadata. */
18271
18491
  class LinkPreviewMetadata implements ILinkPreviewMetadata {
@@ -18280,12 +18500,20 @@ public paymentLinkMetadata?: (E2E.Message.IPaymentLinkMetadata|null);
18280
18500
  public urlMetadata?: (E2E.Message.IURLMetadata|null);
18281
18501
  /** LinkPreviewMetadata fbExperimentId. */
18282
18502
  public fbExperimentId?: (number|null);
18503
+ /** LinkPreviewMetadata linkMediaDuration. */
18504
+ public linkMediaDuration?: (number|null);
18505
+ /** LinkPreviewMetadata socialMediaPostType. */
18506
+ public socialMediaPostType?: (E2E.Message.LinkPreviewMetadata.SocialMediaPostType|null);
18283
18507
  /** LinkPreviewMetadata _paymentLinkMetadata. */
18284
18508
  public _paymentLinkMetadata?: "paymentLinkMetadata";
18285
18509
  /** LinkPreviewMetadata _urlMetadata. */
18286
18510
  public _urlMetadata?: "urlMetadata";
18287
18511
  /** LinkPreviewMetadata _fbExperimentId. */
18288
18512
  public _fbExperimentId?: "fbExperimentId";
18513
+ /** LinkPreviewMetadata _linkMediaDuration. */
18514
+ public _linkMediaDuration?: "linkMediaDuration";
18515
+ /** LinkPreviewMetadata _socialMediaPostType. */
18516
+ public _socialMediaPostType?: "socialMediaPostType";
18289
18517
  /**
18290
18518
  * Creates a new LinkPreviewMetadata instance using the specified properties.
18291
18519
  * @param [properties] Properties to set
@@ -18354,6 +18582,17 @@ public toJSON(): { [k: string]: any };
18354
18582
  */
18355
18583
  public static getTypeUrl(typeUrlPrefix?: string): string;
18356
18584
  }
18585
+ namespace LinkPreviewMetadata {
18586
+ /** SocialMediaPostType enum. */
18587
+ enum SocialMediaPostType {
18588
+ NONE = 0,
18589
+ REEL = 1,
18590
+ LIVE_VIDEO = 2,
18591
+ LONG_VIDEO = 3,
18592
+ SINGLE_IMAGE = 4,
18593
+ CAROUSEL = 5
18594
+ }
18595
+ }
18357
18596
  /** Properties of a ListMessage. */
18358
18597
  interface IListMessage {
18359
18598
  /** ListMessage title */
@@ -21474,6 +21713,8 @@ fullHistorySyncOnDemandRequestResponse?: (E2E.Message.PeerDataOperationRequestRe
21474
21713
  companionMetaNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse|null);
21475
21714
  /** PeerDataOperationResult syncdSnapshotFatalRecoveryResponse */
21476
21715
  syncdSnapshotFatalRecoveryResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse|null);
21716
+ /** PeerDataOperationResult companionCanonicalUserNonceFetchRequestResponse */
21717
+ companionCanonicalUserNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse|null);
21477
21718
  }
21478
21719
  /** Represents a PeerDataOperationResult. */
21479
21720
  class PeerDataOperationResult implements IPeerDataOperationResult {
@@ -21498,6 +21739,8 @@ public fullHistorySyncOnDemandRequestResponse?: (E2E.Message.PeerDataOperationRe
21498
21739
  public companionMetaNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse|null);
21499
21740
  /** PeerDataOperationResult syncdSnapshotFatalRecoveryResponse. */
21500
21741
  public syncdSnapshotFatalRecoveryResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse|null);
21742
+ /** PeerDataOperationResult companionCanonicalUserNonceFetchRequestResponse. */
21743
+ public companionCanonicalUserNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse|null);
21501
21744
  /** PeerDataOperationResult _mediaUploadResult. */
21502
21745
  public _mediaUploadResult?: "mediaUploadResult";
21503
21746
  /** PeerDataOperationResult _stickerMessage. */
@@ -21514,6 +21757,8 @@ public _fullHistorySyncOnDemandRequestResponse?: "fullHistorySyncOnDemandRequest
21514
21757
  public _companionMetaNonceFetchRequestResponse?: "companionMetaNonceFetchRequestResponse";
21515
21758
  /** PeerDataOperationResult _syncdSnapshotFatalRecoveryResponse. */
21516
21759
  public _syncdSnapshotFatalRecoveryResponse?: "syncdSnapshotFatalRecoveryResponse";
21760
+ /** PeerDataOperationResult _companionCanonicalUserNonceFetchRequestResponse. */
21761
+ public _companionCanonicalUserNonceFetchRequestResponse?: "companionCanonicalUserNonceFetchRequestResponse";
21517
21762
  /**
21518
21763
  * Creates a new PeerDataOperationResult instance using the specified properties.
21519
21764
  * @param [properties] Properties to set
@@ -21583,6 +21828,90 @@ public toJSON(): { [k: string]: any };
21583
21828
  public static getTypeUrl(typeUrlPrefix?: string): string;
21584
21829
  }
21585
21830
  namespace PeerDataOperationResult {
21831
+ /** Properties of a CompanionCanonicalUserNonceFetchResponse. */
21832
+ interface ICompanionCanonicalUserNonceFetchResponse {
21833
+ /** CompanionCanonicalUserNonceFetchResponse nonce */
21834
+ nonce?: (string|null);
21835
+ }
21836
+ /** Represents a CompanionCanonicalUserNonceFetchResponse. */
21837
+ class CompanionCanonicalUserNonceFetchResponse implements ICompanionCanonicalUserNonceFetchResponse {
21838
+ /**
21839
+ * Constructs a new CompanionCanonicalUserNonceFetchResponse.
21840
+ * @param [properties] Properties to set
21841
+ */
21842
+ constructor(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse);
21843
+ /** CompanionCanonicalUserNonceFetchResponse nonce. */
21844
+ public nonce?: (string|null);
21845
+ /** CompanionCanonicalUserNonceFetchResponse _nonce. */
21846
+ public _nonce?: "nonce";
21847
+ /**
21848
+ * Creates a new CompanionCanonicalUserNonceFetchResponse instance using the specified properties.
21849
+ * @param [properties] Properties to set
21850
+ * @returns CompanionCanonicalUserNonceFetchResponse instance
21851
+ */
21852
+ public static create(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
21853
+ /**
21854
+ * Encodes the specified CompanionCanonicalUserNonceFetchResponse message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse.verify|verify} messages.
21855
+ * @param message CompanionCanonicalUserNonceFetchResponse message or plain object to encode
21856
+ * @param [writer] Writer to encode to
21857
+ * @returns Writer
21858
+ */
21859
+ public static encode(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
21860
+ /**
21861
+ * Encodes the specified CompanionCanonicalUserNonceFetchResponse message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse.verify|verify} messages.
21862
+ * @param message CompanionCanonicalUserNonceFetchResponse message or plain object to encode
21863
+ * @param [writer] Writer to encode to
21864
+ * @returns Writer
21865
+ */
21866
+ public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
21867
+ /**
21868
+ * Decodes a CompanionCanonicalUserNonceFetchResponse message from the specified reader or buffer.
21869
+ * @param reader Reader or buffer to decode from
21870
+ * @param [length] Message length if known beforehand
21871
+ * @returns CompanionCanonicalUserNonceFetchResponse
21872
+ * @throws {Error} If the payload is not a reader or valid buffer
21873
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21874
+ */
21875
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
21876
+ /**
21877
+ * Decodes a CompanionCanonicalUserNonceFetchResponse message from the specified reader or buffer, length delimited.
21878
+ * @param reader Reader or buffer to decode from
21879
+ * @returns CompanionCanonicalUserNonceFetchResponse
21880
+ * @throws {Error} If the payload is not a reader or valid buffer
21881
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21882
+ */
21883
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
21884
+ /**
21885
+ * Verifies a CompanionCanonicalUserNonceFetchResponse message.
21886
+ * @param message Plain object to verify
21887
+ * @returns `null` if valid, otherwise the reason why it is not
21888
+ */
21889
+ public static verify(message: { [k: string]: any }): (string|null);
21890
+ /**
21891
+ * Creates a CompanionCanonicalUserNonceFetchResponse message from a plain object. Also converts values to their respective internal types.
21892
+ * @param object Plain object
21893
+ * @returns CompanionCanonicalUserNonceFetchResponse
21894
+ */
21895
+ public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
21896
+ /**
21897
+ * Creates a plain object from a CompanionCanonicalUserNonceFetchResponse message. Also converts values to other types if specified.
21898
+ * @param message CompanionCanonicalUserNonceFetchResponse
21899
+ * @param [options] Conversion options
21900
+ * @returns Plain object
21901
+ */
21902
+ public static toObject(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
21903
+ /**
21904
+ * Converts this CompanionCanonicalUserNonceFetchResponse to JSON.
21905
+ * @returns JSON object
21906
+ */
21907
+ public toJSON(): { [k: string]: any };
21908
+ /**
21909
+ * Gets the default type url for CompanionCanonicalUserNonceFetchResponse
21910
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
21911
+ * @returns The default type url
21912
+ */
21913
+ public static getTypeUrl(typeUrlPrefix?: string): string;
21914
+ }
21586
21915
  /** Properties of a CompanionMetaNonceFetchResponse. */
21587
21916
  interface ICompanionMetaNonceFetchResponse {
21588
21917
  /** CompanionMetaNonceFetchResponse nonce */
@@ -22285,7 +22614,8 @@ PLACEHOLDER_MESSAGE_RESEND = 4,
22285
22614
  WAFFLE_LINKING_NONCE_FETCH = 5,
22286
22615
  FULL_HISTORY_SYNC_ON_DEMAND = 6,
22287
22616
  COMPANION_META_NONCE_FETCH = 7,
22288
- COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8
22617
+ COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8,
22618
+ COMPANION_CANONICAL_USER_NONCE_FETCH = 9
22289
22619
  }
22290
22620
  /** Properties of a PinInChatMessage. */
22291
22621
  interface IPinInChatMessage {
@@ -27091,6 +27421,8 @@ statusReshare?: (StatusAttributions.StatusAttribution.IStatusReshare|null);
27091
27421
  externalShare?: (StatusAttributions.StatusAttribution.IExternalShare|null);
27092
27422
  /** StatusAttribution music */
27093
27423
  music?: (StatusAttributions.StatusAttribution.IMusic|null);
27424
+ /** StatusAttribution groupStatus */
27425
+ groupStatus?: (StatusAttributions.StatusAttribution.IGroupStatus|null);
27094
27426
  }
27095
27427
  /** Represents a StatusAttribution. */
27096
27428
  class StatusAttribution implements IStatusAttribution {
@@ -27109,12 +27441,14 @@ public statusReshare?: (StatusAttributions.StatusAttribution.IStatusReshare|null
27109
27441
  public externalShare?: (StatusAttributions.StatusAttribution.IExternalShare|null);
27110
27442
  /** StatusAttribution music. */
27111
27443
  public music?: (StatusAttributions.StatusAttribution.IMusic|null);
27444
+ /** StatusAttribution groupStatus. */
27445
+ public groupStatus?: (StatusAttributions.StatusAttribution.IGroupStatus|null);
27112
27446
  /** StatusAttribution _type. */
27113
27447
  public _type?: "type";
27114
27448
  /** StatusAttribution _actionUrl. */
27115
27449
  public _actionUrl?: "actionUrl";
27116
27450
  /** StatusAttribution attributionData. */
27117
- public attributionData?: ("statusReshare"|"externalShare"|"music");
27451
+ public attributionData?: ("statusReshare"|"externalShare"|"music"|"groupStatus");
27118
27452
  /**
27119
27453
  * Creates a new StatusAttribution instance using the specified properties.
27120
27454
  * @param [properties] Properties to set
@@ -27293,9 +27627,95 @@ UNKNOWN = 0,
27293
27627
  INSTAGRAM = 1,
27294
27628
  FACEBOOK = 2,
27295
27629
  MESSENGER = 3,
27296
- SPOTIFY = 4
27630
+ SPOTIFY = 4,
27631
+ YOUTUBE = 5,
27632
+ PINTEREST = 6
27297
27633
  }
27298
27634
  }
27635
+ /** Properties of a GroupStatus. */
27636
+ interface IGroupStatus {
27637
+ /** GroupStatus authorJid */
27638
+ authorJid?: (string|null);
27639
+ }
27640
+ /** Represents a GroupStatus. */
27641
+ class GroupStatus implements IGroupStatus {
27642
+ /**
27643
+ * Constructs a new GroupStatus.
27644
+ * @param [properties] Properties to set
27645
+ */
27646
+ constructor(properties?: StatusAttributions.StatusAttribution.IGroupStatus);
27647
+ /** GroupStatus authorJid. */
27648
+ public authorJid?: (string|null);
27649
+ /** GroupStatus _authorJid. */
27650
+ public _authorJid?: "authorJid";
27651
+ /**
27652
+ * Creates a new GroupStatus instance using the specified properties.
27653
+ * @param [properties] Properties to set
27654
+ * @returns GroupStatus instance
27655
+ */
27656
+ public static create(properties?: StatusAttributions.StatusAttribution.IGroupStatus): StatusAttributions.StatusAttribution.GroupStatus;
27657
+ /**
27658
+ * Encodes the specified GroupStatus message. Does not implicitly {@link StatusAttributions.StatusAttribution.GroupStatus.verify|verify} messages.
27659
+ * @param message GroupStatus message or plain object to encode
27660
+ * @param [writer] Writer to encode to
27661
+ * @returns Writer
27662
+ */
27663
+ public static encode(message: StatusAttributions.StatusAttribution.IGroupStatus, writer?: $protobuf.Writer): $protobuf.Writer;
27664
+ /**
27665
+ * Encodes the specified GroupStatus message, length delimited. Does not implicitly {@link StatusAttributions.StatusAttribution.GroupStatus.verify|verify} messages.
27666
+ * @param message GroupStatus message or plain object to encode
27667
+ * @param [writer] Writer to encode to
27668
+ * @returns Writer
27669
+ */
27670
+ public static encodeDelimited(message: StatusAttributions.StatusAttribution.IGroupStatus, writer?: $protobuf.Writer): $protobuf.Writer;
27671
+ /**
27672
+ * Decodes a GroupStatus message from the specified reader or buffer.
27673
+ * @param reader Reader or buffer to decode from
27674
+ * @param [length] Message length if known beforehand
27675
+ * @returns GroupStatus
27676
+ * @throws {Error} If the payload is not a reader or valid buffer
27677
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27678
+ */
27679
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): StatusAttributions.StatusAttribution.GroupStatus;
27680
+ /**
27681
+ * Decodes a GroupStatus message from the specified reader or buffer, length delimited.
27682
+ * @param reader Reader or buffer to decode from
27683
+ * @returns GroupStatus
27684
+ * @throws {Error} If the payload is not a reader or valid buffer
27685
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27686
+ */
27687
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): StatusAttributions.StatusAttribution.GroupStatus;
27688
+ /**
27689
+ * Verifies a GroupStatus message.
27690
+ * @param message Plain object to verify
27691
+ * @returns `null` if valid, otherwise the reason why it is not
27692
+ */
27693
+ public static verify(message: { [k: string]: any }): (string|null);
27694
+ /**
27695
+ * Creates a GroupStatus message from a plain object. Also converts values to their respective internal types.
27696
+ * @param object Plain object
27697
+ * @returns GroupStatus
27698
+ */
27699
+ public static fromObject(object: { [k: string]: any }): StatusAttributions.StatusAttribution.GroupStatus;
27700
+ /**
27701
+ * Creates a plain object from a GroupStatus message. Also converts values to other types if specified.
27702
+ * @param message GroupStatus
27703
+ * @param [options] Conversion options
27704
+ * @returns Plain object
27705
+ */
27706
+ public static toObject(message: StatusAttributions.StatusAttribution.GroupStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
27707
+ /**
27708
+ * Converts this GroupStatus to JSON.
27709
+ * @returns JSON object
27710
+ */
27711
+ public toJSON(): { [k: string]: any };
27712
+ /**
27713
+ * Gets the default type url for GroupStatus
27714
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
27715
+ * @returns The default type url
27716
+ */
27717
+ public static getTypeUrl(typeUrlPrefix?: string): string;
27718
+ }
27299
27719
  /** Properties of a Music. */
27300
27720
  interface IMusic {
27301
27721
  /** Music authorName */
@@ -27615,7 +28035,9 @@ CHANNEL_RESHARE = 3
27615
28035
  enum Type {
27616
28036
  RESHARE = 0,
27617
28037
  EXTERNAL_SHARE = 1,
27618
- MUSIC = 2
28038
+ MUSIC = 2,
28039
+ STATUS_MENTION = 3,
28040
+ GROUP_STATUS = 4
27619
28041
  }
27620
28042
  }
27621
28043
  }
@@ -27627,6 +28049,8 @@ interface IClientPairingProps {
27627
28049
  isChatDbLidMigrated?: (boolean|null);
27628
28050
  /** ClientPairingProps isSyncdPureLidSession */
27629
28051
  isSyncdPureLidSession?: (boolean|null);
28052
+ /** ClientPairingProps isSyncdSnapshotRecoveryEnabled */
28053
+ isSyncdSnapshotRecoveryEnabled?: (boolean|null);
27630
28054
  }
27631
28055
  /** Represents a ClientPairingProps. */
27632
28056
  class ClientPairingProps implements IClientPairingProps {
@@ -27639,10 +28063,14 @@ constructor(properties?: CompanionReg.IClientPairingProps);
27639
28063
  public isChatDbLidMigrated?: (boolean|null);
27640
28064
  /** ClientPairingProps isSyncdPureLidSession. */
27641
28065
  public isSyncdPureLidSession?: (boolean|null);
28066
+ /** ClientPairingProps isSyncdSnapshotRecoveryEnabled. */
28067
+ public isSyncdSnapshotRecoveryEnabled?: (boolean|null);
27642
28068
  /** ClientPairingProps _isChatDbLidMigrated. */
27643
28069
  public _isChatDbLidMigrated?: "isChatDbLidMigrated";
27644
28070
  /** ClientPairingProps _isSyncdPureLidSession. */
27645
28071
  public _isSyncdPureLidSession?: "isSyncdPureLidSession";
28072
+ /** ClientPairingProps _isSyncdSnapshotRecoveryEnabled. */
28073
+ public _isSyncdSnapshotRecoveryEnabled?: "isSyncdSnapshotRecoveryEnabled";
27646
28074
  /**
27647
28075
  * Creates a new ClientPairingProps instance using the specified properties.
27648
28076
  * @param [properties] Properties to set