@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
@@ -3433,7 +3433,8 @@ HD_IMAGE_DUAL_UPLOAD = 10,
3433
3433
  STICKER_ANNOTATION = 11,
3434
3434
  MOTION_PHOTO = 12,
3435
3435
  STATUS_LINK_ACTION = 13,
3436
- VIEW_ALL_REPLIES = 14
3436
+ VIEW_ALL_REPLIES = 14,
3437
+ STATUS_ADD_YOURS_AI_IMAGINE = 15
3437
3438
  }
3438
3439
  }
3439
3440
  /** Properties of a BotMetadata. */
@@ -3488,6 +3489,10 @@ botQuotaMetadata?: (E2E.IBotQuotaMetadata|null);
3488
3489
  botAgeCollectionMetadata?: (E2E.IBotAgeCollectionMetadata|null);
3489
3490
  /** BotMetadata conversationStarterPromptId */
3490
3491
  conversationStarterPromptId?: (string|null);
3492
+ /** BotMetadata botResponseId */
3493
+ botResponseId?: (string|null);
3494
+ /** BotMetadata verificationMetadata */
3495
+ verificationMetadata?: (E2E.IBotSignatureVerificationMetadata|null);
3491
3496
  }
3492
3497
  /** Represents a BotMetadata. */
3493
3498
  class BotMetadata implements IBotMetadata {
@@ -3546,6 +3551,10 @@ public botQuotaMetadata?: (E2E.IBotQuotaMetadata|null);
3546
3551
  public botAgeCollectionMetadata?: (E2E.IBotAgeCollectionMetadata|null);
3547
3552
  /** BotMetadata conversationStarterPromptId. */
3548
3553
  public conversationStarterPromptId?: (string|null);
3554
+ /** BotMetadata botResponseId. */
3555
+ public botResponseId?: (string|null);
3556
+ /** BotMetadata verificationMetadata. */
3557
+ public verificationMetadata?: (E2E.IBotSignatureVerificationMetadata|null);
3549
3558
  /** BotMetadata _avatarMetadata. */
3550
3559
  public _avatarMetadata?: "avatarMetadata";
3551
3560
  /** BotMetadata _personaId. */
@@ -3596,6 +3605,10 @@ public _botQuotaMetadata?: "botQuotaMetadata";
3596
3605
  public _botAgeCollectionMetadata?: "botAgeCollectionMetadata";
3597
3606
  /** BotMetadata _conversationStarterPromptId. */
3598
3607
  public _conversationStarterPromptId?: "conversationStarterPromptId";
3608
+ /** BotMetadata _botResponseId. */
3609
+ public _botResponseId?: "botResponseId";
3610
+ /** BotMetadata _verificationMetadata. */
3611
+ public _verificationMetadata?: "verificationMetadata";
3599
3612
  /**
3600
3613
  * Creates a new BotMetadata instance using the specified properties.
3601
3614
  * @param [properties] Properties to set
@@ -4451,7 +4464,8 @@ RICH_RESPONSE_LATEX_INLINE = 31,
4451
4464
  QUERY_PLAN = 32,
4452
4465
  PROACTIVE_MESSAGE = 33,
4453
4466
  RICH_RESPONSE_UNIFIED_RESPONSE = 34,
4454
- PROMOTION_MESSAGE = 35
4467
+ PROMOTION_MESSAGE = 35,
4468
+ SIMPLIFIED_PROFILE_PAGE = 36
4455
4469
  }
4456
4470
  }
4457
4471
  /** Properties of a BotProgressIndicatorMetadata. */
@@ -5879,6 +5893,8 @@ messageType?: (E2E.AIRichResponseMessage.AIRichResponseMessageType|null);
5879
5893
  submessages?: (E2E.AIRichResponseMessage.IAIRichResponseSubMessage[]|null);
5880
5894
  /** AIRichResponseMessage unifiedResponse */
5881
5895
  unifiedResponse?: (E2E.AIRichResponseMessage.IAIRichResponseUnifiedResponse|null);
5896
+ /** AIRichResponseMessage contextInfo */
5897
+ contextInfo?: (E2E.IContextInfo|null);
5882
5898
  }
5883
5899
  /** Represents a AIRichResponseMessage. */
5884
5900
  class AIRichResponseMessage implements IAIRichResponseMessage {
@@ -5893,10 +5909,14 @@ public messageType?: (E2E.AIRichResponseMessage.AIRichResponseMessageType|null);
5893
5909
  public submessages: E2E.AIRichResponseMessage.IAIRichResponseSubMessage[];
5894
5910
  /** AIRichResponseMessage unifiedResponse. */
5895
5911
  public unifiedResponse?: (E2E.AIRichResponseMessage.IAIRichResponseUnifiedResponse|null);
5912
+ /** AIRichResponseMessage contextInfo. */
5913
+ public contextInfo?: (E2E.IContextInfo|null);
5896
5914
  /** AIRichResponseMessage _messageType. */
5897
5915
  public _messageType?: "messageType";
5898
5916
  /** AIRichResponseMessage _unifiedResponse. */
5899
5917
  public _unifiedResponse?: "unifiedResponse";
5918
+ /** AIRichResponseMessage _contextInfo. */
5919
+ public _contextInfo?: "contextInfo";
5900
5920
  /**
5901
5921
  * Creates a new AIRichResponseMessage instance using the specified properties.
5902
5922
  * @param [properties] Properties to set
@@ -7444,6 +7464,8 @@ AI_RICH_RESPONSE_CONTENT_ITEMS = 9
7444
7464
  interface IAIRichResponseTableMetadata {
7445
7465
  /** AIRichResponseTableMetadata rows */
7446
7466
  rows?: (E2E.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[]|null);
7467
+ /** AIRichResponseTableMetadata title */
7468
+ title?: (string|null);
7447
7469
  }
7448
7470
  /** Represents a AIRichResponseTableMetadata. */
7449
7471
  class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata {
@@ -7454,6 +7476,10 @@ class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata {
7454
7476
  constructor(properties?: E2E.AIRichResponseMessage.IAIRichResponseTableMetadata);
7455
7477
  /** AIRichResponseTableMetadata rows. */
7456
7478
  public rows: E2E.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[];
7479
+ /** AIRichResponseTableMetadata title. */
7480
+ public title?: (string|null);
7481
+ /** AIRichResponseTableMetadata _title. */
7482
+ public _title?: "title";
7457
7483
  /**
7458
7484
  * Creates a new AIRichResponseTableMetadata instance using the specified properties.
7459
7485
  * @param [properties] Properties to set
@@ -7697,6 +7723,196 @@ public toJSON(): { [k: string]: any };
7697
7723
  public static getTypeUrl(typeUrlPrefix?: string): string;
7698
7724
  }
7699
7725
  }
7726
+ /** Properties of a BotSignatureVerificationUseCaseProof. */
7727
+ interface IBotSignatureVerificationUseCaseProof {
7728
+ /** BotSignatureVerificationUseCaseProof version */
7729
+ version?: (number|null);
7730
+ /** BotSignatureVerificationUseCaseProof useCase */
7731
+ useCase?: (E2E.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
7732
+ /** BotSignatureVerificationUseCaseProof signature */
7733
+ signature?: (Uint8Array|null);
7734
+ /** BotSignatureVerificationUseCaseProof certificateChain */
7735
+ certificateChain?: (Uint8Array|null);
7736
+ }
7737
+ /** Represents a BotSignatureVerificationUseCaseProof. */
7738
+ class BotSignatureVerificationUseCaseProof implements IBotSignatureVerificationUseCaseProof {
7739
+ /**
7740
+ * Constructs a new BotSignatureVerificationUseCaseProof.
7741
+ * @param [properties] Properties to set
7742
+ */
7743
+ constructor(properties?: E2E.IBotSignatureVerificationUseCaseProof);
7744
+ /** BotSignatureVerificationUseCaseProof version. */
7745
+ public version?: (number|null);
7746
+ /** BotSignatureVerificationUseCaseProof useCase. */
7747
+ public useCase?: (E2E.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
7748
+ /** BotSignatureVerificationUseCaseProof signature. */
7749
+ public signature?: (Uint8Array|null);
7750
+ /** BotSignatureVerificationUseCaseProof certificateChain. */
7751
+ public certificateChain?: (Uint8Array|null);
7752
+ /** BotSignatureVerificationUseCaseProof _version. */
7753
+ public _version?: "version";
7754
+ /** BotSignatureVerificationUseCaseProof _useCase. */
7755
+ public _useCase?: "useCase";
7756
+ /** BotSignatureVerificationUseCaseProof _signature. */
7757
+ public _signature?: "signature";
7758
+ /** BotSignatureVerificationUseCaseProof _certificateChain. */
7759
+ public _certificateChain?: "certificateChain";
7760
+ /**
7761
+ * Creates a new BotSignatureVerificationUseCaseProof instance using the specified properties.
7762
+ * @param [properties] Properties to set
7763
+ * @returns BotSignatureVerificationUseCaseProof instance
7764
+ */
7765
+ public static create(properties?: E2E.IBotSignatureVerificationUseCaseProof): E2E.BotSignatureVerificationUseCaseProof;
7766
+ /**
7767
+ * Encodes the specified BotSignatureVerificationUseCaseProof message. Does not implicitly {@link E2E.BotSignatureVerificationUseCaseProof.verify|verify} messages.
7768
+ * @param message BotSignatureVerificationUseCaseProof message or plain object to encode
7769
+ * @param [writer] Writer to encode to
7770
+ * @returns Writer
7771
+ */
7772
+ public static encode(message: E2E.IBotSignatureVerificationUseCaseProof, writer?: $protobuf.Writer): $protobuf.Writer;
7773
+ /**
7774
+ * Encodes the specified BotSignatureVerificationUseCaseProof message, length delimited. Does not implicitly {@link E2E.BotSignatureVerificationUseCaseProof.verify|verify} messages.
7775
+ * @param message BotSignatureVerificationUseCaseProof message or plain object to encode
7776
+ * @param [writer] Writer to encode to
7777
+ * @returns Writer
7778
+ */
7779
+ public static encodeDelimited(message: E2E.IBotSignatureVerificationUseCaseProof, writer?: $protobuf.Writer): $protobuf.Writer;
7780
+ /**
7781
+ * Decodes a BotSignatureVerificationUseCaseProof message from the specified reader or buffer.
7782
+ * @param reader Reader or buffer to decode from
7783
+ * @param [length] Message length if known beforehand
7784
+ * @returns BotSignatureVerificationUseCaseProof
7785
+ * @throws {Error} If the payload is not a reader or valid buffer
7786
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7787
+ */
7788
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.BotSignatureVerificationUseCaseProof;
7789
+ /**
7790
+ * Decodes a BotSignatureVerificationUseCaseProof message from the specified reader or buffer, length delimited.
7791
+ * @param reader Reader or buffer to decode from
7792
+ * @returns BotSignatureVerificationUseCaseProof
7793
+ * @throws {Error} If the payload is not a reader or valid buffer
7794
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7795
+ */
7796
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.BotSignatureVerificationUseCaseProof;
7797
+ /**
7798
+ * Verifies a BotSignatureVerificationUseCaseProof message.
7799
+ * @param message Plain object to verify
7800
+ * @returns `null` if valid, otherwise the reason why it is not
7801
+ */
7802
+ public static verify(message: { [k: string]: any }): (string|null);
7803
+ /**
7804
+ * Creates a BotSignatureVerificationUseCaseProof message from a plain object. Also converts values to their respective internal types.
7805
+ * @param object Plain object
7806
+ * @returns BotSignatureVerificationUseCaseProof
7807
+ */
7808
+ public static fromObject(object: { [k: string]: any }): E2E.BotSignatureVerificationUseCaseProof;
7809
+ /**
7810
+ * Creates a plain object from a BotSignatureVerificationUseCaseProof message. Also converts values to other types if specified.
7811
+ * @param message BotSignatureVerificationUseCaseProof
7812
+ * @param [options] Conversion options
7813
+ * @returns Plain object
7814
+ */
7815
+ public static toObject(message: E2E.BotSignatureVerificationUseCaseProof, options?: $protobuf.IConversionOptions): { [k: string]: any };
7816
+ /**
7817
+ * Converts this BotSignatureVerificationUseCaseProof to JSON.
7818
+ * @returns JSON object
7819
+ */
7820
+ public toJSON(): { [k: string]: any };
7821
+ /**
7822
+ * Gets the default type url for BotSignatureVerificationUseCaseProof
7823
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7824
+ * @returns The default type url
7825
+ */
7826
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7827
+ }
7828
+ namespace BotSignatureVerificationUseCaseProof {
7829
+ /** BotSignatureUseCase enum. */
7830
+ enum BotSignatureUseCase {
7831
+ WA_BOT_MSG = 0
7832
+ }
7833
+ }
7834
+ /** Properties of a BotSignatureVerificationMetadata. */
7835
+ interface IBotSignatureVerificationMetadata {
7836
+ /** BotSignatureVerificationMetadata proofs */
7837
+ proofs?: (E2E.IBotSignatureVerificationUseCaseProof[]|null);
7838
+ }
7839
+ /** Represents a BotSignatureVerificationMetadata. */
7840
+ class BotSignatureVerificationMetadata implements IBotSignatureVerificationMetadata {
7841
+ /**
7842
+ * Constructs a new BotSignatureVerificationMetadata.
7843
+ * @param [properties] Properties to set
7844
+ */
7845
+ constructor(properties?: E2E.IBotSignatureVerificationMetadata);
7846
+ /** BotSignatureVerificationMetadata proofs. */
7847
+ public proofs: E2E.IBotSignatureVerificationUseCaseProof[];
7848
+ /**
7849
+ * Creates a new BotSignatureVerificationMetadata instance using the specified properties.
7850
+ * @param [properties] Properties to set
7851
+ * @returns BotSignatureVerificationMetadata instance
7852
+ */
7853
+ public static create(properties?: E2E.IBotSignatureVerificationMetadata): E2E.BotSignatureVerificationMetadata;
7854
+ /**
7855
+ * Encodes the specified BotSignatureVerificationMetadata message. Does not implicitly {@link E2E.BotSignatureVerificationMetadata.verify|verify} messages.
7856
+ * @param message BotSignatureVerificationMetadata message or plain object to encode
7857
+ * @param [writer] Writer to encode to
7858
+ * @returns Writer
7859
+ */
7860
+ public static encode(message: E2E.IBotSignatureVerificationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
7861
+ /**
7862
+ * Encodes the specified BotSignatureVerificationMetadata message, length delimited. Does not implicitly {@link E2E.BotSignatureVerificationMetadata.verify|verify} messages.
7863
+ * @param message BotSignatureVerificationMetadata message or plain object to encode
7864
+ * @param [writer] Writer to encode to
7865
+ * @returns Writer
7866
+ */
7867
+ public static encodeDelimited(message: E2E.IBotSignatureVerificationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
7868
+ /**
7869
+ * Decodes a BotSignatureVerificationMetadata message from the specified reader or buffer.
7870
+ * @param reader Reader or buffer to decode from
7871
+ * @param [length] Message length if known beforehand
7872
+ * @returns BotSignatureVerificationMetadata
7873
+ * @throws {Error} If the payload is not a reader or valid buffer
7874
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7875
+ */
7876
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.BotSignatureVerificationMetadata;
7877
+ /**
7878
+ * Decodes a BotSignatureVerificationMetadata message from the specified reader or buffer, length delimited.
7879
+ * @param reader Reader or buffer to decode from
7880
+ * @returns BotSignatureVerificationMetadata
7881
+ * @throws {Error} If the payload is not a reader or valid buffer
7882
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7883
+ */
7884
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.BotSignatureVerificationMetadata;
7885
+ /**
7886
+ * Verifies a BotSignatureVerificationMetadata message.
7887
+ * @param message Plain object to verify
7888
+ * @returns `null` if valid, otherwise the reason why it is not
7889
+ */
7890
+ public static verify(message: { [k: string]: any }): (string|null);
7891
+ /**
7892
+ * Creates a BotSignatureVerificationMetadata message from a plain object. Also converts values to their respective internal types.
7893
+ * @param object Plain object
7894
+ * @returns BotSignatureVerificationMetadata
7895
+ */
7896
+ public static fromObject(object: { [k: string]: any }): E2E.BotSignatureVerificationMetadata;
7897
+ /**
7898
+ * Creates a plain object from a BotSignatureVerificationMetadata message. Also converts values to other types if specified.
7899
+ * @param message BotSignatureVerificationMetadata
7900
+ * @param [options] Conversion options
7901
+ * @returns Plain object
7902
+ */
7903
+ public static toObject(message: E2E.BotSignatureVerificationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
7904
+ /**
7905
+ * Converts this BotSignatureVerificationMetadata to JSON.
7906
+ * @returns JSON object
7907
+ */
7908
+ public toJSON(): { [k: string]: any };
7909
+ /**
7910
+ * Gets the default type url for BotSignatureVerificationMetadata
7911
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7912
+ * @returns The default type url
7913
+ */
7914
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7915
+ }
7700
7916
  /** Properties of a BotMemoryFact. */
7701
7917
  interface IBotMemoryFact {
7702
7918
  /** BotMemoryFact fact */
@@ -17389,6 +17605,10 @@ paymentLinkMetadata?: (E2E.Message.IPaymentLinkMetadata|null);
17389
17605
  urlMetadata?: (E2E.Message.IURLMetadata|null);
17390
17606
  /** LinkPreviewMetadata fbExperimentId */
17391
17607
  fbExperimentId?: (number|null);
17608
+ /** LinkPreviewMetadata linkMediaDuration */
17609
+ linkMediaDuration?: (number|null);
17610
+ /** LinkPreviewMetadata socialMediaPostType */
17611
+ socialMediaPostType?: (E2E.Message.LinkPreviewMetadata.SocialMediaPostType|null);
17392
17612
  }
17393
17613
  /** Represents a LinkPreviewMetadata. */
17394
17614
  class LinkPreviewMetadata implements ILinkPreviewMetadata {
@@ -17403,12 +17623,20 @@ public paymentLinkMetadata?: (E2E.Message.IPaymentLinkMetadata|null);
17403
17623
  public urlMetadata?: (E2E.Message.IURLMetadata|null);
17404
17624
  /** LinkPreviewMetadata fbExperimentId. */
17405
17625
  public fbExperimentId?: (number|null);
17626
+ /** LinkPreviewMetadata linkMediaDuration. */
17627
+ public linkMediaDuration?: (number|null);
17628
+ /** LinkPreviewMetadata socialMediaPostType. */
17629
+ public socialMediaPostType?: (E2E.Message.LinkPreviewMetadata.SocialMediaPostType|null);
17406
17630
  /** LinkPreviewMetadata _paymentLinkMetadata. */
17407
17631
  public _paymentLinkMetadata?: "paymentLinkMetadata";
17408
17632
  /** LinkPreviewMetadata _urlMetadata. */
17409
17633
  public _urlMetadata?: "urlMetadata";
17410
17634
  /** LinkPreviewMetadata _fbExperimentId. */
17411
17635
  public _fbExperimentId?: "fbExperimentId";
17636
+ /** LinkPreviewMetadata _linkMediaDuration. */
17637
+ public _linkMediaDuration?: "linkMediaDuration";
17638
+ /** LinkPreviewMetadata _socialMediaPostType. */
17639
+ public _socialMediaPostType?: "socialMediaPostType";
17412
17640
  /**
17413
17641
  * Creates a new LinkPreviewMetadata instance using the specified properties.
17414
17642
  * @param [properties] Properties to set
@@ -17477,6 +17705,17 @@ public toJSON(): { [k: string]: any };
17477
17705
  */
17478
17706
  public static getTypeUrl(typeUrlPrefix?: string): string;
17479
17707
  }
17708
+ namespace LinkPreviewMetadata {
17709
+ /** SocialMediaPostType enum. */
17710
+ enum SocialMediaPostType {
17711
+ NONE = 0,
17712
+ REEL = 1,
17713
+ LIVE_VIDEO = 2,
17714
+ LONG_VIDEO = 3,
17715
+ SINGLE_IMAGE = 4,
17716
+ CAROUSEL = 5
17717
+ }
17718
+ }
17480
17719
  /** Properties of a ListMessage. */
17481
17720
  interface IListMessage {
17482
17721
  /** ListMessage title */
@@ -20597,6 +20836,8 @@ fullHistorySyncOnDemandRequestResponse?: (E2E.Message.PeerDataOperationRequestRe
20597
20836
  companionMetaNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse|null);
20598
20837
  /** PeerDataOperationResult syncdSnapshotFatalRecoveryResponse */
20599
20838
  syncdSnapshotFatalRecoveryResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse|null);
20839
+ /** PeerDataOperationResult companionCanonicalUserNonceFetchRequestResponse */
20840
+ companionCanonicalUserNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse|null);
20600
20841
  }
20601
20842
  /** Represents a PeerDataOperationResult. */
20602
20843
  class PeerDataOperationResult implements IPeerDataOperationResult {
@@ -20621,6 +20862,8 @@ public fullHistorySyncOnDemandRequestResponse?: (E2E.Message.PeerDataOperationRe
20621
20862
  public companionMetaNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionMetaNonceFetchResponse|null);
20622
20863
  /** PeerDataOperationResult syncdSnapshotFatalRecoveryResponse. */
20623
20864
  public syncdSnapshotFatalRecoveryResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse|null);
20865
+ /** PeerDataOperationResult companionCanonicalUserNonceFetchRequestResponse. */
20866
+ public companionCanonicalUserNonceFetchRequestResponse?: (E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse|null);
20624
20867
  /** PeerDataOperationResult _mediaUploadResult. */
20625
20868
  public _mediaUploadResult?: "mediaUploadResult";
20626
20869
  /** PeerDataOperationResult _stickerMessage. */
@@ -20637,6 +20880,8 @@ public _fullHistorySyncOnDemandRequestResponse?: "fullHistorySyncOnDemandRequest
20637
20880
  public _companionMetaNonceFetchRequestResponse?: "companionMetaNonceFetchRequestResponse";
20638
20881
  /** PeerDataOperationResult _syncdSnapshotFatalRecoveryResponse. */
20639
20882
  public _syncdSnapshotFatalRecoveryResponse?: "syncdSnapshotFatalRecoveryResponse";
20883
+ /** PeerDataOperationResult _companionCanonicalUserNonceFetchRequestResponse. */
20884
+ public _companionCanonicalUserNonceFetchRequestResponse?: "companionCanonicalUserNonceFetchRequestResponse";
20640
20885
  /**
20641
20886
  * Creates a new PeerDataOperationResult instance using the specified properties.
20642
20887
  * @param [properties] Properties to set
@@ -20706,6 +20951,90 @@ public toJSON(): { [k: string]: any };
20706
20951
  public static getTypeUrl(typeUrlPrefix?: string): string;
20707
20952
  }
20708
20953
  namespace PeerDataOperationResult {
20954
+ /** Properties of a CompanionCanonicalUserNonceFetchResponse. */
20955
+ interface ICompanionCanonicalUserNonceFetchResponse {
20956
+ /** CompanionCanonicalUserNonceFetchResponse nonce */
20957
+ nonce?: (string|null);
20958
+ }
20959
+ /** Represents a CompanionCanonicalUserNonceFetchResponse. */
20960
+ class CompanionCanonicalUserNonceFetchResponse implements ICompanionCanonicalUserNonceFetchResponse {
20961
+ /**
20962
+ * Constructs a new CompanionCanonicalUserNonceFetchResponse.
20963
+ * @param [properties] Properties to set
20964
+ */
20965
+ constructor(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse);
20966
+ /** CompanionCanonicalUserNonceFetchResponse nonce. */
20967
+ public nonce?: (string|null);
20968
+ /** CompanionCanonicalUserNonceFetchResponse _nonce. */
20969
+ public _nonce?: "nonce";
20970
+ /**
20971
+ * Creates a new CompanionCanonicalUserNonceFetchResponse instance using the specified properties.
20972
+ * @param [properties] Properties to set
20973
+ * @returns CompanionCanonicalUserNonceFetchResponse instance
20974
+ */
20975
+ public static create(properties?: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
20976
+ /**
20977
+ * Encodes the specified CompanionCanonicalUserNonceFetchResponse message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse.verify|verify} messages.
20978
+ * @param message CompanionCanonicalUserNonceFetchResponse message or plain object to encode
20979
+ * @param [writer] Writer to encode to
20980
+ * @returns Writer
20981
+ */
20982
+ public static encode(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20983
+ /**
20984
+ * Encodes the specified CompanionCanonicalUserNonceFetchResponse message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse.verify|verify} messages.
20985
+ * @param message CompanionCanonicalUserNonceFetchResponse message or plain object to encode
20986
+ * @param [writer] Writer to encode to
20987
+ * @returns Writer
20988
+ */
20989
+ public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20990
+ /**
20991
+ * Decodes a CompanionCanonicalUserNonceFetchResponse message from the specified reader or buffer.
20992
+ * @param reader Reader or buffer to decode from
20993
+ * @param [length] Message length if known beforehand
20994
+ * @returns CompanionCanonicalUserNonceFetchResponse
20995
+ * @throws {Error} If the payload is not a reader or valid buffer
20996
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20997
+ */
20998
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
20999
+ /**
21000
+ * Decodes a CompanionCanonicalUserNonceFetchResponse message from the specified reader or buffer, length delimited.
21001
+ * @param reader Reader or buffer to decode from
21002
+ * @returns CompanionCanonicalUserNonceFetchResponse
21003
+ * @throws {Error} If the payload is not a reader or valid buffer
21004
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21005
+ */
21006
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
21007
+ /**
21008
+ * Verifies a CompanionCanonicalUserNonceFetchResponse message.
21009
+ * @param message Plain object to verify
21010
+ * @returns `null` if valid, otherwise the reason why it is not
21011
+ */
21012
+ public static verify(message: { [k: string]: any }): (string|null);
21013
+ /**
21014
+ * Creates a CompanionCanonicalUserNonceFetchResponse message from a plain object. Also converts values to their respective internal types.
21015
+ * @param object Plain object
21016
+ * @returns CompanionCanonicalUserNonceFetchResponse
21017
+ */
21018
+ public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
21019
+ /**
21020
+ * Creates a plain object from a CompanionCanonicalUserNonceFetchResponse message. Also converts values to other types if specified.
21021
+ * @param message CompanionCanonicalUserNonceFetchResponse
21022
+ * @param [options] Conversion options
21023
+ * @returns Plain object
21024
+ */
21025
+ public static toObject(message: E2E.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
21026
+ /**
21027
+ * Converts this CompanionCanonicalUserNonceFetchResponse to JSON.
21028
+ * @returns JSON object
21029
+ */
21030
+ public toJSON(): { [k: string]: any };
21031
+ /**
21032
+ * Gets the default type url for CompanionCanonicalUserNonceFetchResponse
21033
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
21034
+ * @returns The default type url
21035
+ */
21036
+ public static getTypeUrl(typeUrlPrefix?: string): string;
21037
+ }
20709
21038
  /** Properties of a CompanionMetaNonceFetchResponse. */
20710
21039
  interface ICompanionMetaNonceFetchResponse {
20711
21040
  /** CompanionMetaNonceFetchResponse nonce */
@@ -21408,7 +21737,8 @@ PLACEHOLDER_MESSAGE_RESEND = 4,
21408
21737
  WAFFLE_LINKING_NONCE_FETCH = 5,
21409
21738
  FULL_HISTORY_SYNC_ON_DEMAND = 6,
21410
21739
  COMPANION_META_NONCE_FETCH = 7,
21411
- COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8
21740
+ COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8,
21741
+ COMPANION_CANONICAL_USER_NONCE_FETCH = 9
21412
21742
  }
21413
21743
  /** Properties of a PinInChatMessage. */
21414
21744
  interface IPinInChatMessage {
@@ -26214,6 +26544,8 @@ statusReshare?: (StatusAttributions.StatusAttribution.IStatusReshare|null);
26214
26544
  externalShare?: (StatusAttributions.StatusAttribution.IExternalShare|null);
26215
26545
  /** StatusAttribution music */
26216
26546
  music?: (StatusAttributions.StatusAttribution.IMusic|null);
26547
+ /** StatusAttribution groupStatus */
26548
+ groupStatus?: (StatusAttributions.StatusAttribution.IGroupStatus|null);
26217
26549
  }
26218
26550
  /** Represents a StatusAttribution. */
26219
26551
  class StatusAttribution implements IStatusAttribution {
@@ -26232,12 +26564,14 @@ public statusReshare?: (StatusAttributions.StatusAttribution.IStatusReshare|null
26232
26564
  public externalShare?: (StatusAttributions.StatusAttribution.IExternalShare|null);
26233
26565
  /** StatusAttribution music. */
26234
26566
  public music?: (StatusAttributions.StatusAttribution.IMusic|null);
26567
+ /** StatusAttribution groupStatus. */
26568
+ public groupStatus?: (StatusAttributions.StatusAttribution.IGroupStatus|null);
26235
26569
  /** StatusAttribution _type. */
26236
26570
  public _type?: "type";
26237
26571
  /** StatusAttribution _actionUrl. */
26238
26572
  public _actionUrl?: "actionUrl";
26239
26573
  /** StatusAttribution attributionData. */
26240
- public attributionData?: ("statusReshare"|"externalShare"|"music");
26574
+ public attributionData?: ("statusReshare"|"externalShare"|"music"|"groupStatus");
26241
26575
  /**
26242
26576
  * Creates a new StatusAttribution instance using the specified properties.
26243
26577
  * @param [properties] Properties to set
@@ -26416,9 +26750,95 @@ UNKNOWN = 0,
26416
26750
  INSTAGRAM = 1,
26417
26751
  FACEBOOK = 2,
26418
26752
  MESSENGER = 3,
26419
- SPOTIFY = 4
26753
+ SPOTIFY = 4,
26754
+ YOUTUBE = 5,
26755
+ PINTEREST = 6
26420
26756
  }
26421
26757
  }
26758
+ /** Properties of a GroupStatus. */
26759
+ interface IGroupStatus {
26760
+ /** GroupStatus authorJid */
26761
+ authorJid?: (string|null);
26762
+ }
26763
+ /** Represents a GroupStatus. */
26764
+ class GroupStatus implements IGroupStatus {
26765
+ /**
26766
+ * Constructs a new GroupStatus.
26767
+ * @param [properties] Properties to set
26768
+ */
26769
+ constructor(properties?: StatusAttributions.StatusAttribution.IGroupStatus);
26770
+ /** GroupStatus authorJid. */
26771
+ public authorJid?: (string|null);
26772
+ /** GroupStatus _authorJid. */
26773
+ public _authorJid?: "authorJid";
26774
+ /**
26775
+ * Creates a new GroupStatus instance using the specified properties.
26776
+ * @param [properties] Properties to set
26777
+ * @returns GroupStatus instance
26778
+ */
26779
+ public static create(properties?: StatusAttributions.StatusAttribution.IGroupStatus): StatusAttributions.StatusAttribution.GroupStatus;
26780
+ /**
26781
+ * Encodes the specified GroupStatus message. Does not implicitly {@link StatusAttributions.StatusAttribution.GroupStatus.verify|verify} messages.
26782
+ * @param message GroupStatus message or plain object to encode
26783
+ * @param [writer] Writer to encode to
26784
+ * @returns Writer
26785
+ */
26786
+ public static encode(message: StatusAttributions.StatusAttribution.IGroupStatus, writer?: $protobuf.Writer): $protobuf.Writer;
26787
+ /**
26788
+ * Encodes the specified GroupStatus message, length delimited. Does not implicitly {@link StatusAttributions.StatusAttribution.GroupStatus.verify|verify} messages.
26789
+ * @param message GroupStatus message or plain object to encode
26790
+ * @param [writer] Writer to encode to
26791
+ * @returns Writer
26792
+ */
26793
+ public static encodeDelimited(message: StatusAttributions.StatusAttribution.IGroupStatus, writer?: $protobuf.Writer): $protobuf.Writer;
26794
+ /**
26795
+ * Decodes a GroupStatus message from the specified reader or buffer.
26796
+ * @param reader Reader or buffer to decode from
26797
+ * @param [length] Message length if known beforehand
26798
+ * @returns GroupStatus
26799
+ * @throws {Error} If the payload is not a reader or valid buffer
26800
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26801
+ */
26802
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): StatusAttributions.StatusAttribution.GroupStatus;
26803
+ /**
26804
+ * Decodes a GroupStatus message from the specified reader or buffer, length delimited.
26805
+ * @param reader Reader or buffer to decode from
26806
+ * @returns GroupStatus
26807
+ * @throws {Error} If the payload is not a reader or valid buffer
26808
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
26809
+ */
26810
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): StatusAttributions.StatusAttribution.GroupStatus;
26811
+ /**
26812
+ * Verifies a GroupStatus message.
26813
+ * @param message Plain object to verify
26814
+ * @returns `null` if valid, otherwise the reason why it is not
26815
+ */
26816
+ public static verify(message: { [k: string]: any }): (string|null);
26817
+ /**
26818
+ * Creates a GroupStatus message from a plain object. Also converts values to their respective internal types.
26819
+ * @param object Plain object
26820
+ * @returns GroupStatus
26821
+ */
26822
+ public static fromObject(object: { [k: string]: any }): StatusAttributions.StatusAttribution.GroupStatus;
26823
+ /**
26824
+ * Creates a plain object from a GroupStatus message. Also converts values to other types if specified.
26825
+ * @param message GroupStatus
26826
+ * @param [options] Conversion options
26827
+ * @returns Plain object
26828
+ */
26829
+ public static toObject(message: StatusAttributions.StatusAttribution.GroupStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
26830
+ /**
26831
+ * Converts this GroupStatus to JSON.
26832
+ * @returns JSON object
26833
+ */
26834
+ public toJSON(): { [k: string]: any };
26835
+ /**
26836
+ * Gets the default type url for GroupStatus
26837
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26838
+ * @returns The default type url
26839
+ */
26840
+ public static getTypeUrl(typeUrlPrefix?: string): string;
26841
+ }
26422
26842
  /** Properties of a Music. */
26423
26843
  interface IMusic {
26424
26844
  /** Music authorName */
@@ -26738,7 +27158,9 @@ CHANNEL_RESHARE = 3
26738
27158
  enum Type {
26739
27159
  RESHARE = 0,
26740
27160
  EXTERNAL_SHARE = 1,
26741
- MUSIC = 2
27161
+ MUSIC = 2,
27162
+ STATUS_MENTION = 3,
27163
+ GROUP_STATUS = 4
26742
27164
  }
26743
27165
  }
26744
27166
  }
@@ -26750,6 +27172,8 @@ interface IClientPairingProps {
26750
27172
  isChatDbLidMigrated?: (boolean|null);
26751
27173
  /** ClientPairingProps isSyncdPureLidSession */
26752
27174
  isSyncdPureLidSession?: (boolean|null);
27175
+ /** ClientPairingProps isSyncdSnapshotRecoveryEnabled */
27176
+ isSyncdSnapshotRecoveryEnabled?: (boolean|null);
26753
27177
  }
26754
27178
  /** Represents a ClientPairingProps. */
26755
27179
  class ClientPairingProps implements IClientPairingProps {
@@ -26762,10 +27186,14 @@ constructor(properties?: CompanionReg.IClientPairingProps);
26762
27186
  public isChatDbLidMigrated?: (boolean|null);
26763
27187
  /** ClientPairingProps isSyncdPureLidSession. */
26764
27188
  public isSyncdPureLidSession?: (boolean|null);
27189
+ /** ClientPairingProps isSyncdSnapshotRecoveryEnabled. */
27190
+ public isSyncdSnapshotRecoveryEnabled?: (boolean|null);
26765
27191
  /** ClientPairingProps _isChatDbLidMigrated. */
26766
27192
  public _isChatDbLidMigrated?: "isChatDbLidMigrated";
26767
27193
  /** ClientPairingProps _isSyncdPureLidSession. */
26768
27194
  public _isSyncdPureLidSession?: "isSyncdPureLidSession";
27195
+ /** ClientPairingProps _isSyncdSnapshotRecoveryEnabled. */
27196
+ public _isSyncdSnapshotRecoveryEnabled?: "isSyncdSnapshotRecoveryEnabled";
26769
27197
  /**
26770
27198
  * Creates a new ClientPairingProps instance using the specified properties.
26771
27199
  * @param [properties] Properties to set