@queenanya/baileys 8.2.7-beta → 8.3.1

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 (78) hide show
  1. package/WAProto/index.d.ts +1590 -6
  2. package/WAProto/index.js +4635 -3
  3. package/engine-requirements.js +1 -1
  4. package/lib/Defaults/baileys-version.json +1 -1
  5. package/lib/Defaults/index.d.ts +232 -1
  6. package/lib/Defaults/index.js +21 -6
  7. package/lib/Defaults/phonenumber-mcc.json +223 -0
  8. package/lib/Socket/Client/index.d.ts +3 -2
  9. package/lib/Socket/Client/index.js +3 -2
  10. package/lib/Socket/Client/mobile-socket-client.d.ts +12 -0
  11. package/lib/Socket/Client/mobile-socket-client.js +65 -0
  12. package/lib/Socket/Client/{websocket.d.ts → web-socket-client.d.ts} +1 -1
  13. package/lib/Socket/Client/{websocket.js → web-socket-client.js} +3 -3
  14. package/lib/Socket/business.d.ts +4 -9
  15. package/lib/Socket/chats.d.ts +3 -9
  16. package/lib/Socket/chats.js +6 -89
  17. package/lib/Socket/groups.d.ts +3 -7
  18. package/lib/Socket/groups.js +13 -9
  19. package/lib/Socket/index.d.ts +6 -9
  20. package/lib/Socket/index.js +2 -2
  21. package/lib/Socket/messages-recv.d.ts +4 -9
  22. package/lib/Socket/messages-recv.js +13 -23
  23. package/lib/Socket/messages-send.d.ts +3 -8
  24. package/lib/Socket/messages-send.js +55 -86
  25. package/lib/Socket/newsletter.d.ts +3 -7
  26. package/lib/Socket/newsletter.js +2 -4
  27. package/lib/Socket/registration.d.ts +266 -0
  28. package/lib/Socket/registration.js +166 -0
  29. package/lib/Socket/socket.d.ts +1 -2
  30. package/lib/Socket/socket.js +15 -10
  31. package/lib/Socket/usync.d.ts +1 -1
  32. package/lib/Socket/usync.js +15 -10
  33. package/lib/Store/make-in-memory-store.js +10 -8
  34. package/lib/Types/Auth.d.ts +6 -0
  35. package/lib/Types/Chat.d.ts +2 -8
  36. package/lib/Types/Contact.d.ts +4 -5
  37. package/lib/Types/GroupMetadata.d.ts +4 -3
  38. package/lib/Types/Label.d.ts +0 -11
  39. package/lib/Types/Message.d.ts +5 -5
  40. package/lib/Types/Socket.d.ts +3 -5
  41. package/lib/Utils/auth-utils.js +7 -0
  42. package/lib/Utils/chat-utils.d.ts +8 -8
  43. package/lib/Utils/chat-utils.js +4 -30
  44. package/lib/Utils/crypto.d.ts +1 -1
  45. package/lib/Utils/crypto.js +1 -3
  46. package/lib/Utils/decode-wa-message.d.ts +2 -4
  47. package/lib/Utils/decode-wa-message.js +18 -161
  48. package/lib/Utils/event-buffer.js +6 -4
  49. package/lib/Utils/generics.d.ts +18 -8
  50. package/lib/Utils/generics.js +93 -7
  51. package/lib/Utils/history.js +1 -1
  52. package/lib/Utils/messages-media.d.ts +9 -16
  53. package/lib/Utils/messages-media.js +175 -88
  54. package/lib/Utils/messages.d.ts +1 -1
  55. package/lib/Utils/messages.js +17 -15
  56. package/lib/Utils/noise-handler.d.ts +2 -1
  57. package/lib/Utils/noise-handler.js +10 -5
  58. package/lib/Utils/validate-connection.d.ts +1 -0
  59. package/lib/Utils/validate-connection.js +50 -16
  60. package/lib/WABinary/constants.d.ts +4 -4
  61. package/lib/WABinary/constants.js +1271 -8
  62. package/lib/WABinary/encode.js +5 -7
  63. package/lib/WABinary/jid-utils.d.ts +4 -4
  64. package/lib/WABinary/jid-utils.js +19 -19
  65. package/lib/WAM/constants.d.ts +2 -3
  66. package/lib/WAM/encode.js +2 -2
  67. package/lib/WAUSync/Protocols/USyncContactProtocol.js +2 -2
  68. package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +2 -2
  69. package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +3 -3
  70. package/lib/WAUSync/Protocols/USyncStatusProtocol.js +2 -2
  71. package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +1 -1
  72. package/lib/WAUSync/Protocols/UsyncLIDProtocol.js +1 -1
  73. package/lib/WAUSync/USyncQuery.js +13 -17
  74. package/package.json +25 -23
  75. package/lib/Store/make-cache-manager-store.d.ts +0 -14
  76. package/lib/Store/make-cache-manager-store.js +0 -83
  77. /package/lib/Socket/Client/{types.d.ts → abstract-socket-client.d.ts} +0 -0
  78. /package/lib/Socket/Client/{types.js → abstract-socket-client.js} +0 -0
@@ -704,6 +704,9 @@ export namespace proto {
704
704
 
705
705
  /** AIRichResponseMessage unifiedResponse */
706
706
  unifiedResponse?: (proto.AIRichResponseMessage.IAIRichResponseUnifiedResponse|null);
707
+
708
+ /** AIRichResponseMessage contextInfo */
709
+ contextInfo?: (proto.IContextInfo|null);
707
710
  }
708
711
 
709
712
  /** Represents a AIRichResponseMessage. */
@@ -724,6 +727,9 @@ export namespace proto {
724
727
  /** AIRichResponseMessage unifiedResponse. */
725
728
  public unifiedResponse?: (proto.AIRichResponseMessage.IAIRichResponseUnifiedResponse|null);
726
729
 
730
+ /** AIRichResponseMessage contextInfo. */
731
+ public contextInfo?: (proto.IContextInfo|null);
732
+
727
733
  /**
728
734
  * Creates a new AIRichResponseMessage instance using the specified properties.
729
735
  * @param [properties] Properties to set
@@ -2490,6 +2496,9 @@ export namespace proto {
2490
2496
 
2491
2497
  /** AIRichResponseTableMetadata rows */
2492
2498
  rows?: (proto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[]|null);
2499
+
2500
+ /** AIRichResponseTableMetadata title */
2501
+ title?: (string|null);
2493
2502
  }
2494
2503
 
2495
2504
  /** Represents a AIRichResponseTableMetadata. */
@@ -2504,6 +2513,9 @@ export namespace proto {
2504
2513
  /** AIRichResponseTableMetadata rows. */
2505
2514
  public rows: proto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[];
2506
2515
 
2516
+ /** AIRichResponseTableMetadata title. */
2517
+ public title?: (string|null);
2518
+
2507
2519
  /**
2508
2520
  * Creates a new AIRichResponseTableMetadata instance using the specified properties.
2509
2521
  * @param [properties] Properties to set
@@ -3981,7 +3993,8 @@ export namespace proto {
3981
3993
  QUERY_PLAN = 32,
3982
3994
  PROACTIVE_MESSAGE = 33,
3983
3995
  RICH_RESPONSE_UNIFIED_RESPONSE = 34,
3984
- PROMOTION_MESSAGE = 35
3996
+ PROMOTION_MESSAGE = 35,
3997
+ SIMPLIFIED_PROFILE_PAGE = 36
3985
3998
  }
3986
3999
  }
3987
4000
 
@@ -4834,6 +4847,15 @@ export namespace proto {
4834
4847
 
4835
4848
  /** BotMetadata botAgeCollectionMetadata */
4836
4849
  botAgeCollectionMetadata?: (proto.IBotAgeCollectionMetadata|null);
4850
+
4851
+ /** BotMetadata conversationStarterPromptId */
4852
+ conversationStarterPromptId?: (string|null);
4853
+
4854
+ /** BotMetadata botResponseId */
4855
+ botResponseId?: (string|null);
4856
+
4857
+ /** BotMetadata verificationMetadata */
4858
+ verificationMetadata?: (proto.IBotSignatureVerificationMetadata|null);
4837
4859
  }
4838
4860
 
4839
4861
  /** Represents a BotMetadata. */
@@ -4917,6 +4939,15 @@ export namespace proto {
4917
4939
  /** BotMetadata botAgeCollectionMetadata. */
4918
4940
  public botAgeCollectionMetadata?: (proto.IBotAgeCollectionMetadata|null);
4919
4941
 
4942
+ /** BotMetadata conversationStarterPromptId. */
4943
+ public conversationStarterPromptId?: (string|null);
4944
+
4945
+ /** BotMetadata botResponseId. */
4946
+ public botResponseId?: (string|null);
4947
+
4948
+ /** BotMetadata verificationMetadata. */
4949
+ public verificationMetadata?: (proto.IBotSignatureVerificationMetadata|null);
4950
+
4920
4951
  /**
4921
4952
  * Creates a new BotMetadata instance using the specified properties.
4922
4953
  * @param [properties] Properties to set
@@ -5020,7 +5051,8 @@ export namespace proto {
5020
5051
  AI_DEEPLINK = 21,
5021
5052
  META_AI_CHAT_SHORTCUT_AI_STUDIO = 22,
5022
5053
  UGC_CHAT_SHORTCUT_AI_STUDIO = 23,
5023
- NEW_CHAT_AI_STUDIO = 24
5054
+ NEW_CHAT_AI_STUDIO = 24,
5055
+ AIVOICE_FAVICON_CALL_HISTORY = 25
5024
5056
  }
5025
5057
 
5026
5058
  /** Properties of a BotMetricsMetadata. */
@@ -7137,6 +7169,226 @@ export namespace proto {
7137
7169
  VOICE = 6
7138
7170
  }
7139
7171
 
7172
+ /** Properties of a BotSignatureVerificationMetadata. */
7173
+ interface IBotSignatureVerificationMetadata {
7174
+
7175
+ /** BotSignatureVerificationMetadata proofs */
7176
+ proofs?: (proto.IBotSignatureVerificationUseCaseProof[]|null);
7177
+ }
7178
+
7179
+ /** Represents a BotSignatureVerificationMetadata. */
7180
+ class BotSignatureVerificationMetadata implements IBotSignatureVerificationMetadata {
7181
+
7182
+ /**
7183
+ * Constructs a new BotSignatureVerificationMetadata.
7184
+ * @param [properties] Properties to set
7185
+ */
7186
+ constructor(properties?: proto.IBotSignatureVerificationMetadata);
7187
+
7188
+ /** BotSignatureVerificationMetadata proofs. */
7189
+ public proofs: proto.IBotSignatureVerificationUseCaseProof[];
7190
+
7191
+ /**
7192
+ * Creates a new BotSignatureVerificationMetadata instance using the specified properties.
7193
+ * @param [properties] Properties to set
7194
+ * @returns BotSignatureVerificationMetadata instance
7195
+ */
7196
+ public static create(properties?: proto.IBotSignatureVerificationMetadata): proto.BotSignatureVerificationMetadata;
7197
+
7198
+ /**
7199
+ * Encodes the specified BotSignatureVerificationMetadata message. Does not implicitly {@link proto.BotSignatureVerificationMetadata.verify|verify} messages.
7200
+ * @param message BotSignatureVerificationMetadata message or plain object to encode
7201
+ * @param [writer] Writer to encode to
7202
+ * @returns Writer
7203
+ */
7204
+ public static encode(message: proto.IBotSignatureVerificationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
7205
+
7206
+ /**
7207
+ * Encodes the specified BotSignatureVerificationMetadata message, length delimited. Does not implicitly {@link proto.BotSignatureVerificationMetadata.verify|verify} messages.
7208
+ * @param message BotSignatureVerificationMetadata message or plain object to encode
7209
+ * @param [writer] Writer to encode to
7210
+ * @returns Writer
7211
+ */
7212
+ public static encodeDelimited(message: proto.IBotSignatureVerificationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
7213
+
7214
+ /**
7215
+ * Decodes a BotSignatureVerificationMetadata message from the specified reader or buffer.
7216
+ * @param reader Reader or buffer to decode from
7217
+ * @param [length] Message length if known beforehand
7218
+ * @returns BotSignatureVerificationMetadata
7219
+ * @throws {Error} If the payload is not a reader or valid buffer
7220
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7221
+ */
7222
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.BotSignatureVerificationMetadata;
7223
+
7224
+ /**
7225
+ * Decodes a BotSignatureVerificationMetadata message from the specified reader or buffer, length delimited.
7226
+ * @param reader Reader or buffer to decode from
7227
+ * @returns BotSignatureVerificationMetadata
7228
+ * @throws {Error} If the payload is not a reader or valid buffer
7229
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7230
+ */
7231
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.BotSignatureVerificationMetadata;
7232
+
7233
+ /**
7234
+ * Verifies a BotSignatureVerificationMetadata message.
7235
+ * @param message Plain object to verify
7236
+ * @returns `null` if valid, otherwise the reason why it is not
7237
+ */
7238
+ public static verify(message: { [k: string]: any }): (string|null);
7239
+
7240
+ /**
7241
+ * Creates a BotSignatureVerificationMetadata message from a plain object. Also converts values to their respective internal types.
7242
+ * @param object Plain object
7243
+ * @returns BotSignatureVerificationMetadata
7244
+ */
7245
+ public static fromObject(object: { [k: string]: any }): proto.BotSignatureVerificationMetadata;
7246
+
7247
+ /**
7248
+ * Creates a plain object from a BotSignatureVerificationMetadata message. Also converts values to other types if specified.
7249
+ * @param message BotSignatureVerificationMetadata
7250
+ * @param [options] Conversion options
7251
+ * @returns Plain object
7252
+ */
7253
+ public static toObject(message: proto.BotSignatureVerificationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
7254
+
7255
+ /**
7256
+ * Converts this BotSignatureVerificationMetadata to JSON.
7257
+ * @returns JSON object
7258
+ */
7259
+ public toJSON(): { [k: string]: any };
7260
+
7261
+ /**
7262
+ * Gets the default type url for BotSignatureVerificationMetadata
7263
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7264
+ * @returns The default type url
7265
+ */
7266
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7267
+ }
7268
+
7269
+ /** Properties of a BotSignatureVerificationUseCaseProof. */
7270
+ interface IBotSignatureVerificationUseCaseProof {
7271
+
7272
+ /** BotSignatureVerificationUseCaseProof version */
7273
+ version?: (number|null);
7274
+
7275
+ /** BotSignatureVerificationUseCaseProof useCase */
7276
+ useCase?: (proto.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
7277
+
7278
+ /** BotSignatureVerificationUseCaseProof signature */
7279
+ signature?: (Uint8Array|null);
7280
+
7281
+ /** BotSignatureVerificationUseCaseProof certificateChain */
7282
+ certificateChain?: (Uint8Array|null);
7283
+ }
7284
+
7285
+ /** Represents a BotSignatureVerificationUseCaseProof. */
7286
+ class BotSignatureVerificationUseCaseProof implements IBotSignatureVerificationUseCaseProof {
7287
+
7288
+ /**
7289
+ * Constructs a new BotSignatureVerificationUseCaseProof.
7290
+ * @param [properties] Properties to set
7291
+ */
7292
+ constructor(properties?: proto.IBotSignatureVerificationUseCaseProof);
7293
+
7294
+ /** BotSignatureVerificationUseCaseProof version. */
7295
+ public version?: (number|null);
7296
+
7297
+ /** BotSignatureVerificationUseCaseProof useCase. */
7298
+ public useCase?: (proto.BotSignatureVerificationUseCaseProof.BotSignatureUseCase|null);
7299
+
7300
+ /** BotSignatureVerificationUseCaseProof signature. */
7301
+ public signature?: (Uint8Array|null);
7302
+
7303
+ /** BotSignatureVerificationUseCaseProof certificateChain. */
7304
+ public certificateChain?: (Uint8Array|null);
7305
+
7306
+ /**
7307
+ * Creates a new BotSignatureVerificationUseCaseProof instance using the specified properties.
7308
+ * @param [properties] Properties to set
7309
+ * @returns BotSignatureVerificationUseCaseProof instance
7310
+ */
7311
+ public static create(properties?: proto.IBotSignatureVerificationUseCaseProof): proto.BotSignatureVerificationUseCaseProof;
7312
+
7313
+ /**
7314
+ * Encodes the specified BotSignatureVerificationUseCaseProof message. Does not implicitly {@link proto.BotSignatureVerificationUseCaseProof.verify|verify} messages.
7315
+ * @param message BotSignatureVerificationUseCaseProof message or plain object to encode
7316
+ * @param [writer] Writer to encode to
7317
+ * @returns Writer
7318
+ */
7319
+ public static encode(message: proto.IBotSignatureVerificationUseCaseProof, writer?: $protobuf.Writer): $protobuf.Writer;
7320
+
7321
+ /**
7322
+ * Encodes the specified BotSignatureVerificationUseCaseProof message, length delimited. Does not implicitly {@link proto.BotSignatureVerificationUseCaseProof.verify|verify} messages.
7323
+ * @param message BotSignatureVerificationUseCaseProof message or plain object to encode
7324
+ * @param [writer] Writer to encode to
7325
+ * @returns Writer
7326
+ */
7327
+ public static encodeDelimited(message: proto.IBotSignatureVerificationUseCaseProof, writer?: $protobuf.Writer): $protobuf.Writer;
7328
+
7329
+ /**
7330
+ * Decodes a BotSignatureVerificationUseCaseProof message from the specified reader or buffer.
7331
+ * @param reader Reader or buffer to decode from
7332
+ * @param [length] Message length if known beforehand
7333
+ * @returns BotSignatureVerificationUseCaseProof
7334
+ * @throws {Error} If the payload is not a reader or valid buffer
7335
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7336
+ */
7337
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.BotSignatureVerificationUseCaseProof;
7338
+
7339
+ /**
7340
+ * Decodes a BotSignatureVerificationUseCaseProof message from the specified reader or buffer, length delimited.
7341
+ * @param reader Reader or buffer to decode from
7342
+ * @returns BotSignatureVerificationUseCaseProof
7343
+ * @throws {Error} If the payload is not a reader or valid buffer
7344
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7345
+ */
7346
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.BotSignatureVerificationUseCaseProof;
7347
+
7348
+ /**
7349
+ * Verifies a BotSignatureVerificationUseCaseProof message.
7350
+ * @param message Plain object to verify
7351
+ * @returns `null` if valid, otherwise the reason why it is not
7352
+ */
7353
+ public static verify(message: { [k: string]: any }): (string|null);
7354
+
7355
+ /**
7356
+ * Creates a BotSignatureVerificationUseCaseProof message from a plain object. Also converts values to their respective internal types.
7357
+ * @param object Plain object
7358
+ * @returns BotSignatureVerificationUseCaseProof
7359
+ */
7360
+ public static fromObject(object: { [k: string]: any }): proto.BotSignatureVerificationUseCaseProof;
7361
+
7362
+ /**
7363
+ * Creates a plain object from a BotSignatureVerificationUseCaseProof message. Also converts values to other types if specified.
7364
+ * @param message BotSignatureVerificationUseCaseProof
7365
+ * @param [options] Conversion options
7366
+ * @returns Plain object
7367
+ */
7368
+ public static toObject(message: proto.BotSignatureVerificationUseCaseProof, options?: $protobuf.IConversionOptions): { [k: string]: any };
7369
+
7370
+ /**
7371
+ * Converts this BotSignatureVerificationUseCaseProof to JSON.
7372
+ * @returns JSON object
7373
+ */
7374
+ public toJSON(): { [k: string]: any };
7375
+
7376
+ /**
7377
+ * Gets the default type url for BotSignatureVerificationUseCaseProof
7378
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7379
+ * @returns The default type url
7380
+ */
7381
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7382
+ }
7383
+
7384
+ namespace BotSignatureVerificationUseCaseProof {
7385
+
7386
+ /** BotSignatureUseCase enum. */
7387
+ enum BotSignatureUseCase {
7388
+ WA_BOT_MSG = 0
7389
+ }
7390
+ }
7391
+
7140
7392
  /** Properties of a BotSourcesMetadata. */
7141
7393
  interface IBotSourcesMetadata {
7142
7394
 
@@ -8878,6 +9130,9 @@ export namespace proto {
8878
9130
 
8879
9131
  /** ClientPairingProps isSyncdPureLidSession */
8880
9132
  isSyncdPureLidSession?: (boolean|null);
9133
+
9134
+ /** ClientPairingProps isSyncdSnapshotRecoveryEnabled */
9135
+ isSyncdSnapshotRecoveryEnabled?: (boolean|null);
8881
9136
  }
8882
9137
 
8883
9138
  /** Represents a ClientPairingProps. */
@@ -8895,6 +9150,9 @@ export namespace proto {
8895
9150
  /** ClientPairingProps isSyncdPureLidSession. */
8896
9151
  public isSyncdPureLidSession?: (boolean|null);
8897
9152
 
9153
+ /** ClientPairingProps isSyncdSnapshotRecoveryEnabled. */
9154
+ public isSyncdSnapshotRecoveryEnabled?: (boolean|null);
9155
+
8898
9156
  /**
8899
9157
  * Creates a new ClientPairingProps instance using the specified properties.
8900
9158
  * @param [properties] Properties to set
@@ -10877,6 +11135,9 @@ export namespace proto {
10877
11135
 
10878
11136
  /** ContextInfo statusSourceType */
10879
11137
  statusSourceType?: (proto.ContextInfo.StatusSourceType|null);
11138
+
11139
+ /** ContextInfo statusAttributions */
11140
+ statusAttributions?: (proto.IStatusAttribution[]|null);
10880
11141
  }
10881
11142
 
10882
11143
  /** Represents a ContextInfo. */
@@ -11029,6 +11290,9 @@ export namespace proto {
11029
11290
  /** ContextInfo statusSourceType. */
11030
11291
  public statusSourceType?: (proto.ContextInfo.StatusSourceType|null);
11031
11292
 
11293
+ /** ContextInfo statusAttributions. */
11294
+ public statusAttributions: proto.IStatusAttribution[];
11295
+
11032
11296
  /**
11033
11297
  * Creates a new ContextInfo instance using the specified properties.
11034
11298
  * @param [properties] Properties to set
@@ -18592,6 +18856,12 @@ export namespace proto {
18592
18856
 
18593
18857
  /** Message messageHistoryNotice */
18594
18858
  messageHistoryNotice?: (proto.Message.IMessageHistoryNotice|null);
18859
+
18860
+ /** Message groupStatusMessageV2 */
18861
+ groupStatusMessageV2?: (proto.Message.IFutureProofMessage|null);
18862
+
18863
+ /** Message botForwardedMessage */
18864
+ botForwardedMessage?: (proto.Message.IFutureProofMessage|null);
18595
18865
  }
18596
18866
 
18597
18867
  /** Represents a Message. */
@@ -18861,6 +19131,12 @@ export namespace proto {
18861
19131
  /** Message messageHistoryNotice. */
18862
19132
  public messageHistoryNotice?: (proto.Message.IMessageHistoryNotice|null);
18863
19133
 
19134
+ /** Message groupStatusMessageV2. */
19135
+ public groupStatusMessageV2?: (proto.Message.IFutureProofMessage|null);
19136
+
19137
+ /** Message botForwardedMessage. */
19138
+ public botForwardedMessage?: (proto.Message.IFutureProofMessage|null);
19139
+
18864
19140
  /**
18865
19141
  * Creates a new Message instance using the specified properties.
18866
19142
  * @param [properties] Properties to set
@@ -20220,7 +20496,9 @@ export namespace proto {
20220
20496
  BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT = 9,
20221
20497
  BOT_FEEDBACK_NEGATIVE_PERSONALIZED = 10,
20222
20498
  BOT_FEEDBACK_NEGATIVE_CLARITY = 11,
20223
- BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12
20499
+ BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON = 12,
20500
+ BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY = 13,
20501
+ BOT_FEEDBACK_NEGATIVE = 14
20224
20502
  }
20225
20503
 
20226
20504
  /** BotFeedbackKindMultipleNegative enum. */
@@ -20243,7 +20521,8 @@ export namespace proto {
20243
20521
 
20244
20522
  /** ReportKind enum. */
20245
20523
  enum ReportKind {
20246
- GENERIC = 0
20524
+ NONE = 0,
20525
+ GENERIC = 1
20247
20526
  }
20248
20527
  }
20249
20528
 
@@ -26600,6 +26879,12 @@ export namespace proto {
26600
26879
 
26601
26880
  /** LinkPreviewMetadata fbExperimentId */
26602
26881
  fbExperimentId?: (number|null);
26882
+
26883
+ /** LinkPreviewMetadata linkMediaDuration */
26884
+ linkMediaDuration?: (number|null);
26885
+
26886
+ /** LinkPreviewMetadata socialMediaPostType */
26887
+ socialMediaPostType?: (proto.Message.LinkPreviewMetadata.SocialMediaPostType|null);
26603
26888
  }
26604
26889
 
26605
26890
  /** Represents a LinkPreviewMetadata. */
@@ -26620,6 +26905,12 @@ export namespace proto {
26620
26905
  /** LinkPreviewMetadata fbExperimentId. */
26621
26906
  public fbExperimentId?: (number|null);
26622
26907
 
26908
+ /** LinkPreviewMetadata linkMediaDuration. */
26909
+ public linkMediaDuration?: (number|null);
26910
+
26911
+ /** LinkPreviewMetadata socialMediaPostType. */
26912
+ public socialMediaPostType?: (proto.Message.LinkPreviewMetadata.SocialMediaPostType|null);
26913
+
26623
26914
  /**
26624
26915
  * Creates a new LinkPreviewMetadata instance using the specified properties.
26625
26916
  * @param [properties] Properties to set
@@ -26698,6 +26989,19 @@ export namespace proto {
26698
26989
  public static getTypeUrl(typeUrlPrefix?: string): string;
26699
26990
  }
26700
26991
 
26992
+ namespace LinkPreviewMetadata {
26993
+
26994
+ /** SocialMediaPostType enum. */
26995
+ enum SocialMediaPostType {
26996
+ NONE = 0,
26997
+ REEL = 1,
26998
+ LIVE_VIDEO = 2,
26999
+ LONG_VIDEO = 3,
27000
+ SINGLE_IMAGE = 4,
27001
+ CAROUSEL = 5
27002
+ }
27003
+ }
27004
+
26701
27005
  /** Properties of a ListMessage. */
26702
27006
  interface IListMessage {
26703
27007
 
@@ -28941,6 +29245,9 @@ export namespace proto {
28941
29245
 
28942
29246
  /** PaymentLinkMetadata header */
28943
29247
  header?: (proto.Message.PaymentLinkMetadata.IPaymentLinkHeader|null);
29248
+
29249
+ /** PaymentLinkMetadata provider */
29250
+ provider?: (proto.Message.PaymentLinkMetadata.IPaymentLinkProvider|null);
28944
29251
  }
28945
29252
 
28946
29253
  /** Represents a PaymentLinkMetadata. */
@@ -28958,6 +29265,9 @@ export namespace proto {
28958
29265
  /** PaymentLinkMetadata header. */
28959
29266
  public header?: (proto.Message.PaymentLinkMetadata.IPaymentLinkHeader|null);
28960
29267
 
29268
+ /** PaymentLinkMetadata provider. */
29269
+ public provider?: (proto.Message.PaymentLinkMetadata.IPaymentLinkProvider|null);
29270
+
28961
29271
  /**
28962
29272
  * Creates a new PaymentLinkMetadata instance using the specified properties.
28963
29273
  * @param [properties] Properties to set
@@ -29240,6 +29550,103 @@ export namespace proto {
29240
29550
  ORDER = 1
29241
29551
  }
29242
29552
  }
29553
+
29554
+ /** Properties of a PaymentLinkProvider. */
29555
+ interface IPaymentLinkProvider {
29556
+
29557
+ /** PaymentLinkProvider paramsJson */
29558
+ paramsJson?: (string|null);
29559
+ }
29560
+
29561
+ /** Represents a PaymentLinkProvider. */
29562
+ class PaymentLinkProvider implements IPaymentLinkProvider {
29563
+
29564
+ /**
29565
+ * Constructs a new PaymentLinkProvider.
29566
+ * @param [properties] Properties to set
29567
+ */
29568
+ constructor(properties?: proto.Message.PaymentLinkMetadata.IPaymentLinkProvider);
29569
+
29570
+ /** PaymentLinkProvider paramsJson. */
29571
+ public paramsJson?: (string|null);
29572
+
29573
+ /**
29574
+ * Creates a new PaymentLinkProvider instance using the specified properties.
29575
+ * @param [properties] Properties to set
29576
+ * @returns PaymentLinkProvider instance
29577
+ */
29578
+ public static create(properties?: proto.Message.PaymentLinkMetadata.IPaymentLinkProvider): proto.Message.PaymentLinkMetadata.PaymentLinkProvider;
29579
+
29580
+ /**
29581
+ * Encodes the specified PaymentLinkProvider message. Does not implicitly {@link proto.Message.PaymentLinkMetadata.PaymentLinkProvider.verify|verify} messages.
29582
+ * @param message PaymentLinkProvider message or plain object to encode
29583
+ * @param [writer] Writer to encode to
29584
+ * @returns Writer
29585
+ */
29586
+ public static encode(message: proto.Message.PaymentLinkMetadata.IPaymentLinkProvider, writer?: $protobuf.Writer): $protobuf.Writer;
29587
+
29588
+ /**
29589
+ * Encodes the specified PaymentLinkProvider message, length delimited. Does not implicitly {@link proto.Message.PaymentLinkMetadata.PaymentLinkProvider.verify|verify} messages.
29590
+ * @param message PaymentLinkProvider message or plain object to encode
29591
+ * @param [writer] Writer to encode to
29592
+ * @returns Writer
29593
+ */
29594
+ public static encodeDelimited(message: proto.Message.PaymentLinkMetadata.IPaymentLinkProvider, writer?: $protobuf.Writer): $protobuf.Writer;
29595
+
29596
+ /**
29597
+ * Decodes a PaymentLinkProvider message from the specified reader or buffer.
29598
+ * @param reader Reader or buffer to decode from
29599
+ * @param [length] Message length if known beforehand
29600
+ * @returns PaymentLinkProvider
29601
+ * @throws {Error} If the payload is not a reader or valid buffer
29602
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29603
+ */
29604
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Message.PaymentLinkMetadata.PaymentLinkProvider;
29605
+
29606
+ /**
29607
+ * Decodes a PaymentLinkProvider message from the specified reader or buffer, length delimited.
29608
+ * @param reader Reader or buffer to decode from
29609
+ * @returns PaymentLinkProvider
29610
+ * @throws {Error} If the payload is not a reader or valid buffer
29611
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29612
+ */
29613
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Message.PaymentLinkMetadata.PaymentLinkProvider;
29614
+
29615
+ /**
29616
+ * Verifies a PaymentLinkProvider message.
29617
+ * @param message Plain object to verify
29618
+ * @returns `null` if valid, otherwise the reason why it is not
29619
+ */
29620
+ public static verify(message: { [k: string]: any }): (string|null);
29621
+
29622
+ /**
29623
+ * Creates a PaymentLinkProvider message from a plain object. Also converts values to their respective internal types.
29624
+ * @param object Plain object
29625
+ * @returns PaymentLinkProvider
29626
+ */
29627
+ public static fromObject(object: { [k: string]: any }): proto.Message.PaymentLinkMetadata.PaymentLinkProvider;
29628
+
29629
+ /**
29630
+ * Creates a plain object from a PaymentLinkProvider message. Also converts values to other types if specified.
29631
+ * @param message PaymentLinkProvider
29632
+ * @param [options] Conversion options
29633
+ * @returns Plain object
29634
+ */
29635
+ public static toObject(message: proto.Message.PaymentLinkMetadata.PaymentLinkProvider, options?: $protobuf.IConversionOptions): { [k: string]: any };
29636
+
29637
+ /**
29638
+ * Converts this PaymentLinkProvider to JSON.
29639
+ * @returns JSON object
29640
+ */
29641
+ public toJSON(): { [k: string]: any };
29642
+
29643
+ /**
29644
+ * Gets the default type url for PaymentLinkProvider
29645
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
29646
+ * @returns The default type url
29647
+ */
29648
+ public static getTypeUrl(typeUrlPrefix?: string): string;
29649
+ }
29243
29650
  }
29244
29651
 
29245
29652
  /** Properties of a PeerDataOperationRequestMessage. */
@@ -30145,6 +30552,9 @@ export namespace proto {
30145
30552
 
30146
30553
  /** PeerDataOperationResult syncdSnapshotFatalRecoveryResponse */
30147
30554
  syncdSnapshotFatalRecoveryResponse?: (proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse|null);
30555
+
30556
+ /** PeerDataOperationResult companionCanonicalUserNonceFetchRequestResponse */
30557
+ companionCanonicalUserNonceFetchRequestResponse?: (proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse|null);
30148
30558
  }
30149
30559
 
30150
30560
  /** Represents a PeerDataOperationResult. */
@@ -30180,6 +30590,9 @@ export namespace proto {
30180
30590
  /** PeerDataOperationResult syncdSnapshotFatalRecoveryResponse. */
30181
30591
  public syncdSnapshotFatalRecoveryResponse?: (proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ISyncDSnapshotFatalRecoveryResponse|null);
30182
30592
 
30593
+ /** PeerDataOperationResult companionCanonicalUserNonceFetchRequestResponse. */
30594
+ public companionCanonicalUserNonceFetchRequestResponse?: (proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse|null);
30595
+
30183
30596
  /**
30184
30597
  * Creates a new PeerDataOperationResult instance using the specified properties.
30185
30598
  * @param [properties] Properties to set
@@ -30260,6 +30673,103 @@ export namespace proto {
30260
30673
 
30261
30674
  namespace PeerDataOperationResult {
30262
30675
 
30676
+ /** Properties of a CompanionCanonicalUserNonceFetchResponse. */
30677
+ interface ICompanionCanonicalUserNonceFetchResponse {
30678
+
30679
+ /** CompanionCanonicalUserNonceFetchResponse nonce */
30680
+ nonce?: (string|null);
30681
+ }
30682
+
30683
+ /** Represents a CompanionCanonicalUserNonceFetchResponse. */
30684
+ class CompanionCanonicalUserNonceFetchResponse implements ICompanionCanonicalUserNonceFetchResponse {
30685
+
30686
+ /**
30687
+ * Constructs a new CompanionCanonicalUserNonceFetchResponse.
30688
+ * @param [properties] Properties to set
30689
+ */
30690
+ constructor(properties?: proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse);
30691
+
30692
+ /** CompanionCanonicalUserNonceFetchResponse nonce. */
30693
+ public nonce?: (string|null);
30694
+
30695
+ /**
30696
+ * Creates a new CompanionCanonicalUserNonceFetchResponse instance using the specified properties.
30697
+ * @param [properties] Properties to set
30698
+ * @returns CompanionCanonicalUserNonceFetchResponse instance
30699
+ */
30700
+ public static create(properties?: proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse): proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
30701
+
30702
+ /**
30703
+ * Encodes the specified CompanionCanonicalUserNonceFetchResponse message. Does not implicitly {@link proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse.verify|verify} messages.
30704
+ * @param message CompanionCanonicalUserNonceFetchResponse message or plain object to encode
30705
+ * @param [writer] Writer to encode to
30706
+ * @returns Writer
30707
+ */
30708
+ public static encode(message: proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
30709
+
30710
+ /**
30711
+ * Encodes the specified CompanionCanonicalUserNonceFetchResponse message, length delimited. Does not implicitly {@link proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse.verify|verify} messages.
30712
+ * @param message CompanionCanonicalUserNonceFetchResponse message or plain object to encode
30713
+ * @param [writer] Writer to encode to
30714
+ * @returns Writer
30715
+ */
30716
+ public static encodeDelimited(message: proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.ICompanionCanonicalUserNonceFetchResponse, writer?: $protobuf.Writer): $protobuf.Writer;
30717
+
30718
+ /**
30719
+ * Decodes a CompanionCanonicalUserNonceFetchResponse message from the specified reader or buffer.
30720
+ * @param reader Reader or buffer to decode from
30721
+ * @param [length] Message length if known beforehand
30722
+ * @returns CompanionCanonicalUserNonceFetchResponse
30723
+ * @throws {Error} If the payload is not a reader or valid buffer
30724
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30725
+ */
30726
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
30727
+
30728
+ /**
30729
+ * Decodes a CompanionCanonicalUserNonceFetchResponse message from the specified reader or buffer, length delimited.
30730
+ * @param reader Reader or buffer to decode from
30731
+ * @returns CompanionCanonicalUserNonceFetchResponse
30732
+ * @throws {Error} If the payload is not a reader or valid buffer
30733
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30734
+ */
30735
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
30736
+
30737
+ /**
30738
+ * Verifies a CompanionCanonicalUserNonceFetchResponse message.
30739
+ * @param message Plain object to verify
30740
+ * @returns `null` if valid, otherwise the reason why it is not
30741
+ */
30742
+ public static verify(message: { [k: string]: any }): (string|null);
30743
+
30744
+ /**
30745
+ * Creates a CompanionCanonicalUserNonceFetchResponse message from a plain object. Also converts values to their respective internal types.
30746
+ * @param object Plain object
30747
+ * @returns CompanionCanonicalUserNonceFetchResponse
30748
+ */
30749
+ public static fromObject(object: { [k: string]: any }): proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse;
30750
+
30751
+ /**
30752
+ * Creates a plain object from a CompanionCanonicalUserNonceFetchResponse message. Also converts values to other types if specified.
30753
+ * @param message CompanionCanonicalUserNonceFetchResponse
30754
+ * @param [options] Conversion options
30755
+ * @returns Plain object
30756
+ */
30757
+ public static toObject(message: proto.Message.PeerDataOperationRequestResponseMessage.PeerDataOperationResult.CompanionCanonicalUserNonceFetchResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
30758
+
30759
+ /**
30760
+ * Converts this CompanionCanonicalUserNonceFetchResponse to JSON.
30761
+ * @returns JSON object
30762
+ */
30763
+ public toJSON(): { [k: string]: any };
30764
+
30765
+ /**
30766
+ * Gets the default type url for CompanionCanonicalUserNonceFetchResponse
30767
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
30768
+ * @returns The default type url
30769
+ */
30770
+ public static getTypeUrl(typeUrlPrefix?: string): string;
30771
+ }
30772
+
30263
30773
  /** Properties of a CompanionMetaNonceFetchResponse. */
30264
30774
  interface ICompanionMetaNonceFetchResponse {
30265
30775
 
@@ -31055,7 +31565,8 @@ export namespace proto {
31055
31565
  WAFFLE_LINKING_NONCE_FETCH = 5,
31056
31566
  FULL_HISTORY_SYNC_ON_DEMAND = 6,
31057
31567
  COMPANION_META_NONCE_FETCH = 7,
31058
- COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8
31568
+ COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8,
31569
+ COMPANION_CANONICAL_USER_NONCE_FETCH = 9
31059
31570
  }
31060
31571
 
31061
31572
  /** Properties of a PinInChatMessage. */
@@ -35379,6 +35890,15 @@ export namespace proto {
35379
35890
 
35380
35891
  /** VideoMessage externalShareFullVideoDurationInSeconds */
35381
35892
  externalShareFullVideoDurationInSeconds?: (number|null);
35893
+
35894
+ /** VideoMessage motionPhotoPresentationOffsetMs */
35895
+ motionPhotoPresentationOffsetMs?: (number|Long|null);
35896
+
35897
+ /** VideoMessage metadataUrl */
35898
+ metadataUrl?: (string|null);
35899
+
35900
+ /** VideoMessage videoSourceType */
35901
+ videoSourceType?: (proto.Message.VideoMessage.VideoSourceType|null);
35382
35902
  }
35383
35903
 
35384
35904
  /** Represents a VideoMessage. */
@@ -35471,6 +35991,15 @@ export namespace proto {
35471
35991
  /** VideoMessage externalShareFullVideoDurationInSeconds. */
35472
35992
  public externalShareFullVideoDurationInSeconds?: (number|null);
35473
35993
 
35994
+ /** VideoMessage motionPhotoPresentationOffsetMs. */
35995
+ public motionPhotoPresentationOffsetMs?: (number|Long|null);
35996
+
35997
+ /** VideoMessage metadataUrl. */
35998
+ public metadataUrl?: (string|null);
35999
+
36000
+ /** VideoMessage videoSourceType. */
36001
+ public videoSourceType?: (proto.Message.VideoMessage.VideoSourceType|null);
36002
+
35474
36003
  /**
35475
36004
  * Creates a new VideoMessage instance using the specified properties.
35476
36005
  * @param [properties] Properties to set
@@ -35557,6 +36086,12 @@ export namespace proto {
35557
36086
  GIPHY = 1,
35558
36087
  TENOR = 2
35559
36088
  }
36089
+
36090
+ /** VideoSourceType enum. */
36091
+ enum VideoSourceType {
36092
+ USER_VIDEO = 0,
36093
+ AI_GENERATED = 1
36094
+ }
35560
36095
  }
35561
36096
  }
35562
36097
 
@@ -35941,7 +36476,8 @@ export namespace proto {
35941
36476
  STICKER_ANNOTATION = 11,
35942
36477
  MOTION_PHOTO = 12,
35943
36478
  STATUS_LINK_ACTION = 13,
35944
- VIEW_ALL_REPLIES = 14
36479
+ VIEW_ALL_REPLIES = 14,
36480
+ STATUS_ADD_YOURS_AI_IMAGINE = 15
35945
36481
  }
35946
36482
  }
35947
36483
 
@@ -35989,6 +36525,9 @@ export namespace proto {
35989
36525
 
35990
36526
  /** MessageContextInfo limitSharingV2 */
35991
36527
  limitSharingV2?: (proto.ILimitSharing|null);
36528
+
36529
+ /** MessageContextInfo threadId */
36530
+ threadId?: (proto.IThreadID[]|null);
35992
36531
  }
35993
36532
 
35994
36533
  /** Represents a MessageContextInfo. */
@@ -36042,6 +36581,9 @@ export namespace proto {
36042
36581
  /** MessageContextInfo limitSharingV2. */
36043
36582
  public limitSharingV2?: (proto.ILimitSharing|null);
36044
36583
 
36584
+ /** MessageContextInfo threadId. */
36585
+ public threadId: proto.IThreadID[];
36586
+
36045
36587
  /**
36046
36588
  * Creates a new MessageContextInfo instance using the specified properties.
36047
36589
  * @param [properties] Properties to set
@@ -42761,6 +43303,730 @@ export namespace proto {
42761
43303
  public static getTypeUrl(typeUrlPrefix?: string): string;
42762
43304
  }
42763
43305
 
43306
+ /** Properties of a StatusAttribution. */
43307
+ interface IStatusAttribution {
43308
+
43309
+ /** StatusAttribution type */
43310
+ type?: (proto.StatusAttribution.Type|null);
43311
+
43312
+ /** StatusAttribution actionUrl */
43313
+ actionUrl?: (string|null);
43314
+
43315
+ /** StatusAttribution statusReshare */
43316
+ statusReshare?: (proto.StatusAttribution.IStatusReshare|null);
43317
+
43318
+ /** StatusAttribution externalShare */
43319
+ externalShare?: (proto.StatusAttribution.IExternalShare|null);
43320
+
43321
+ /** StatusAttribution music */
43322
+ music?: (proto.StatusAttribution.IMusic|null);
43323
+
43324
+ /** StatusAttribution groupStatus */
43325
+ groupStatus?: (proto.StatusAttribution.IGroupStatus|null);
43326
+ }
43327
+
43328
+ /** Represents a StatusAttribution. */
43329
+ class StatusAttribution implements IStatusAttribution {
43330
+
43331
+ /**
43332
+ * Constructs a new StatusAttribution.
43333
+ * @param [properties] Properties to set
43334
+ */
43335
+ constructor(properties?: proto.IStatusAttribution);
43336
+
43337
+ /** StatusAttribution type. */
43338
+ public type?: (proto.StatusAttribution.Type|null);
43339
+
43340
+ /** StatusAttribution actionUrl. */
43341
+ public actionUrl?: (string|null);
43342
+
43343
+ /** StatusAttribution statusReshare. */
43344
+ public statusReshare?: (proto.StatusAttribution.IStatusReshare|null);
43345
+
43346
+ /** StatusAttribution externalShare. */
43347
+ public externalShare?: (proto.StatusAttribution.IExternalShare|null);
43348
+
43349
+ /** StatusAttribution music. */
43350
+ public music?: (proto.StatusAttribution.IMusic|null);
43351
+
43352
+ /** StatusAttribution groupStatus. */
43353
+ public groupStatus?: (proto.StatusAttribution.IGroupStatus|null);
43354
+
43355
+ /** StatusAttribution attributionData. */
43356
+ public attributionData?: ("statusReshare"|"externalShare"|"music"|"groupStatus");
43357
+
43358
+ /**
43359
+ * Creates a new StatusAttribution instance using the specified properties.
43360
+ * @param [properties] Properties to set
43361
+ * @returns StatusAttribution instance
43362
+ */
43363
+ public static create(properties?: proto.IStatusAttribution): proto.StatusAttribution;
43364
+
43365
+ /**
43366
+ * Encodes the specified StatusAttribution message. Does not implicitly {@link proto.StatusAttribution.verify|verify} messages.
43367
+ * @param message StatusAttribution message or plain object to encode
43368
+ * @param [writer] Writer to encode to
43369
+ * @returns Writer
43370
+ */
43371
+ public static encode(message: proto.IStatusAttribution, writer?: $protobuf.Writer): $protobuf.Writer;
43372
+
43373
+ /**
43374
+ * Encodes the specified StatusAttribution message, length delimited. Does not implicitly {@link proto.StatusAttribution.verify|verify} messages.
43375
+ * @param message StatusAttribution message or plain object to encode
43376
+ * @param [writer] Writer to encode to
43377
+ * @returns Writer
43378
+ */
43379
+ public static encodeDelimited(message: proto.IStatusAttribution, writer?: $protobuf.Writer): $protobuf.Writer;
43380
+
43381
+ /**
43382
+ * Decodes a StatusAttribution message from the specified reader or buffer.
43383
+ * @param reader Reader or buffer to decode from
43384
+ * @param [length] Message length if known beforehand
43385
+ * @returns StatusAttribution
43386
+ * @throws {Error} If the payload is not a reader or valid buffer
43387
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43388
+ */
43389
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.StatusAttribution;
43390
+
43391
+ /**
43392
+ * Decodes a StatusAttribution message from the specified reader or buffer, length delimited.
43393
+ * @param reader Reader or buffer to decode from
43394
+ * @returns StatusAttribution
43395
+ * @throws {Error} If the payload is not a reader or valid buffer
43396
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43397
+ */
43398
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.StatusAttribution;
43399
+
43400
+ /**
43401
+ * Verifies a StatusAttribution message.
43402
+ * @param message Plain object to verify
43403
+ * @returns `null` if valid, otherwise the reason why it is not
43404
+ */
43405
+ public static verify(message: { [k: string]: any }): (string|null);
43406
+
43407
+ /**
43408
+ * Creates a StatusAttribution message from a plain object. Also converts values to their respective internal types.
43409
+ * @param object Plain object
43410
+ * @returns StatusAttribution
43411
+ */
43412
+ public static fromObject(object: { [k: string]: any }): proto.StatusAttribution;
43413
+
43414
+ /**
43415
+ * Creates a plain object from a StatusAttribution message. Also converts values to other types if specified.
43416
+ * @param message StatusAttribution
43417
+ * @param [options] Conversion options
43418
+ * @returns Plain object
43419
+ */
43420
+ public static toObject(message: proto.StatusAttribution, options?: $protobuf.IConversionOptions): { [k: string]: any };
43421
+
43422
+ /**
43423
+ * Converts this StatusAttribution to JSON.
43424
+ * @returns JSON object
43425
+ */
43426
+ public toJSON(): { [k: string]: any };
43427
+
43428
+ /**
43429
+ * Gets the default type url for StatusAttribution
43430
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
43431
+ * @returns The default type url
43432
+ */
43433
+ public static getTypeUrl(typeUrlPrefix?: string): string;
43434
+ }
43435
+
43436
+ namespace StatusAttribution {
43437
+
43438
+ /** Properties of an ExternalShare. */
43439
+ interface IExternalShare {
43440
+
43441
+ /** ExternalShare actionUrl */
43442
+ actionUrl?: (string|null);
43443
+
43444
+ /** ExternalShare source */
43445
+ source?: (proto.StatusAttribution.ExternalShare.Source|null);
43446
+
43447
+ /** ExternalShare duration */
43448
+ duration?: (number|null);
43449
+
43450
+ /** ExternalShare actionFallbackUrl */
43451
+ actionFallbackUrl?: (string|null);
43452
+ }
43453
+
43454
+ /** Represents an ExternalShare. */
43455
+ class ExternalShare implements IExternalShare {
43456
+
43457
+ /**
43458
+ * Constructs a new ExternalShare.
43459
+ * @param [properties] Properties to set
43460
+ */
43461
+ constructor(properties?: proto.StatusAttribution.IExternalShare);
43462
+
43463
+ /** ExternalShare actionUrl. */
43464
+ public actionUrl?: (string|null);
43465
+
43466
+ /** ExternalShare source. */
43467
+ public source?: (proto.StatusAttribution.ExternalShare.Source|null);
43468
+
43469
+ /** ExternalShare duration. */
43470
+ public duration?: (number|null);
43471
+
43472
+ /** ExternalShare actionFallbackUrl. */
43473
+ public actionFallbackUrl?: (string|null);
43474
+
43475
+ /**
43476
+ * Creates a new ExternalShare instance using the specified properties.
43477
+ * @param [properties] Properties to set
43478
+ * @returns ExternalShare instance
43479
+ */
43480
+ public static create(properties?: proto.StatusAttribution.IExternalShare): proto.StatusAttribution.ExternalShare;
43481
+
43482
+ /**
43483
+ * Encodes the specified ExternalShare message. Does not implicitly {@link proto.StatusAttribution.ExternalShare.verify|verify} messages.
43484
+ * @param message ExternalShare message or plain object to encode
43485
+ * @param [writer] Writer to encode to
43486
+ * @returns Writer
43487
+ */
43488
+ public static encode(message: proto.StatusAttribution.IExternalShare, writer?: $protobuf.Writer): $protobuf.Writer;
43489
+
43490
+ /**
43491
+ * Encodes the specified ExternalShare message, length delimited. Does not implicitly {@link proto.StatusAttribution.ExternalShare.verify|verify} messages.
43492
+ * @param message ExternalShare message or plain object to encode
43493
+ * @param [writer] Writer to encode to
43494
+ * @returns Writer
43495
+ */
43496
+ public static encodeDelimited(message: proto.StatusAttribution.IExternalShare, writer?: $protobuf.Writer): $protobuf.Writer;
43497
+
43498
+ /**
43499
+ * Decodes an ExternalShare message from the specified reader or buffer.
43500
+ * @param reader Reader or buffer to decode from
43501
+ * @param [length] Message length if known beforehand
43502
+ * @returns ExternalShare
43503
+ * @throws {Error} If the payload is not a reader or valid buffer
43504
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43505
+ */
43506
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.StatusAttribution.ExternalShare;
43507
+
43508
+ /**
43509
+ * Decodes an ExternalShare message from the specified reader or buffer, length delimited.
43510
+ * @param reader Reader or buffer to decode from
43511
+ * @returns ExternalShare
43512
+ * @throws {Error} If the payload is not a reader or valid buffer
43513
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43514
+ */
43515
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.StatusAttribution.ExternalShare;
43516
+
43517
+ /**
43518
+ * Verifies an ExternalShare message.
43519
+ * @param message Plain object to verify
43520
+ * @returns `null` if valid, otherwise the reason why it is not
43521
+ */
43522
+ public static verify(message: { [k: string]: any }): (string|null);
43523
+
43524
+ /**
43525
+ * Creates an ExternalShare message from a plain object. Also converts values to their respective internal types.
43526
+ * @param object Plain object
43527
+ * @returns ExternalShare
43528
+ */
43529
+ public static fromObject(object: { [k: string]: any }): proto.StatusAttribution.ExternalShare;
43530
+
43531
+ /**
43532
+ * Creates a plain object from an ExternalShare message. Also converts values to other types if specified.
43533
+ * @param message ExternalShare
43534
+ * @param [options] Conversion options
43535
+ * @returns Plain object
43536
+ */
43537
+ public static toObject(message: proto.StatusAttribution.ExternalShare, options?: $protobuf.IConversionOptions): { [k: string]: any };
43538
+
43539
+ /**
43540
+ * Converts this ExternalShare to JSON.
43541
+ * @returns JSON object
43542
+ */
43543
+ public toJSON(): { [k: string]: any };
43544
+
43545
+ /**
43546
+ * Gets the default type url for ExternalShare
43547
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
43548
+ * @returns The default type url
43549
+ */
43550
+ public static getTypeUrl(typeUrlPrefix?: string): string;
43551
+ }
43552
+
43553
+ namespace ExternalShare {
43554
+
43555
+ /** Source enum. */
43556
+ enum Source {
43557
+ UNKNOWN = 0,
43558
+ INSTAGRAM = 1,
43559
+ FACEBOOK = 2,
43560
+ MESSENGER = 3,
43561
+ SPOTIFY = 4,
43562
+ YOUTUBE = 5,
43563
+ PINTEREST = 6
43564
+ }
43565
+ }
43566
+
43567
+ /** Properties of a GroupStatus. */
43568
+ interface IGroupStatus {
43569
+
43570
+ /** GroupStatus authorJid */
43571
+ authorJid?: (string|null);
43572
+ }
43573
+
43574
+ /** Represents a GroupStatus. */
43575
+ class GroupStatus implements IGroupStatus {
43576
+
43577
+ /**
43578
+ * Constructs a new GroupStatus.
43579
+ * @param [properties] Properties to set
43580
+ */
43581
+ constructor(properties?: proto.StatusAttribution.IGroupStatus);
43582
+
43583
+ /** GroupStatus authorJid. */
43584
+ public authorJid?: (string|null);
43585
+
43586
+ /**
43587
+ * Creates a new GroupStatus instance using the specified properties.
43588
+ * @param [properties] Properties to set
43589
+ * @returns GroupStatus instance
43590
+ */
43591
+ public static create(properties?: proto.StatusAttribution.IGroupStatus): proto.StatusAttribution.GroupStatus;
43592
+
43593
+ /**
43594
+ * Encodes the specified GroupStatus message. Does not implicitly {@link proto.StatusAttribution.GroupStatus.verify|verify} messages.
43595
+ * @param message GroupStatus message or plain object to encode
43596
+ * @param [writer] Writer to encode to
43597
+ * @returns Writer
43598
+ */
43599
+ public static encode(message: proto.StatusAttribution.IGroupStatus, writer?: $protobuf.Writer): $protobuf.Writer;
43600
+
43601
+ /**
43602
+ * Encodes the specified GroupStatus message, length delimited. Does not implicitly {@link proto.StatusAttribution.GroupStatus.verify|verify} messages.
43603
+ * @param message GroupStatus message or plain object to encode
43604
+ * @param [writer] Writer to encode to
43605
+ * @returns Writer
43606
+ */
43607
+ public static encodeDelimited(message: proto.StatusAttribution.IGroupStatus, writer?: $protobuf.Writer): $protobuf.Writer;
43608
+
43609
+ /**
43610
+ * Decodes a GroupStatus message from the specified reader or buffer.
43611
+ * @param reader Reader or buffer to decode from
43612
+ * @param [length] Message length if known beforehand
43613
+ * @returns GroupStatus
43614
+ * @throws {Error} If the payload is not a reader or valid buffer
43615
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43616
+ */
43617
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.StatusAttribution.GroupStatus;
43618
+
43619
+ /**
43620
+ * Decodes a GroupStatus message from the specified reader or buffer, length delimited.
43621
+ * @param reader Reader or buffer to decode from
43622
+ * @returns GroupStatus
43623
+ * @throws {Error} If the payload is not a reader or valid buffer
43624
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43625
+ */
43626
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.StatusAttribution.GroupStatus;
43627
+
43628
+ /**
43629
+ * Verifies a GroupStatus message.
43630
+ * @param message Plain object to verify
43631
+ * @returns `null` if valid, otherwise the reason why it is not
43632
+ */
43633
+ public static verify(message: { [k: string]: any }): (string|null);
43634
+
43635
+ /**
43636
+ * Creates a GroupStatus message from a plain object. Also converts values to their respective internal types.
43637
+ * @param object Plain object
43638
+ * @returns GroupStatus
43639
+ */
43640
+ public static fromObject(object: { [k: string]: any }): proto.StatusAttribution.GroupStatus;
43641
+
43642
+ /**
43643
+ * Creates a plain object from a GroupStatus message. Also converts values to other types if specified.
43644
+ * @param message GroupStatus
43645
+ * @param [options] Conversion options
43646
+ * @returns Plain object
43647
+ */
43648
+ public static toObject(message: proto.StatusAttribution.GroupStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
43649
+
43650
+ /**
43651
+ * Converts this GroupStatus to JSON.
43652
+ * @returns JSON object
43653
+ */
43654
+ public toJSON(): { [k: string]: any };
43655
+
43656
+ /**
43657
+ * Gets the default type url for GroupStatus
43658
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
43659
+ * @returns The default type url
43660
+ */
43661
+ public static getTypeUrl(typeUrlPrefix?: string): string;
43662
+ }
43663
+
43664
+ /** Properties of a Music. */
43665
+ interface IMusic {
43666
+
43667
+ /** Music authorName */
43668
+ authorName?: (string|null);
43669
+
43670
+ /** Music songId */
43671
+ songId?: (string|null);
43672
+
43673
+ /** Music title */
43674
+ title?: (string|null);
43675
+
43676
+ /** Music author */
43677
+ author?: (string|null);
43678
+
43679
+ /** Music artistAttribution */
43680
+ artistAttribution?: (string|null);
43681
+
43682
+ /** Music isExplicit */
43683
+ isExplicit?: (boolean|null);
43684
+ }
43685
+
43686
+ /** Represents a Music. */
43687
+ class Music implements IMusic {
43688
+
43689
+ /**
43690
+ * Constructs a new Music.
43691
+ * @param [properties] Properties to set
43692
+ */
43693
+ constructor(properties?: proto.StatusAttribution.IMusic);
43694
+
43695
+ /** Music authorName. */
43696
+ public authorName?: (string|null);
43697
+
43698
+ /** Music songId. */
43699
+ public songId?: (string|null);
43700
+
43701
+ /** Music title. */
43702
+ public title?: (string|null);
43703
+
43704
+ /** Music author. */
43705
+ public author?: (string|null);
43706
+
43707
+ /** Music artistAttribution. */
43708
+ public artistAttribution?: (string|null);
43709
+
43710
+ /** Music isExplicit. */
43711
+ public isExplicit?: (boolean|null);
43712
+
43713
+ /**
43714
+ * Creates a new Music instance using the specified properties.
43715
+ * @param [properties] Properties to set
43716
+ * @returns Music instance
43717
+ */
43718
+ public static create(properties?: proto.StatusAttribution.IMusic): proto.StatusAttribution.Music;
43719
+
43720
+ /**
43721
+ * Encodes the specified Music message. Does not implicitly {@link proto.StatusAttribution.Music.verify|verify} messages.
43722
+ * @param message Music message or plain object to encode
43723
+ * @param [writer] Writer to encode to
43724
+ * @returns Writer
43725
+ */
43726
+ public static encode(message: proto.StatusAttribution.IMusic, writer?: $protobuf.Writer): $protobuf.Writer;
43727
+
43728
+ /**
43729
+ * Encodes the specified Music message, length delimited. Does not implicitly {@link proto.StatusAttribution.Music.verify|verify} messages.
43730
+ * @param message Music message or plain object to encode
43731
+ * @param [writer] Writer to encode to
43732
+ * @returns Writer
43733
+ */
43734
+ public static encodeDelimited(message: proto.StatusAttribution.IMusic, writer?: $protobuf.Writer): $protobuf.Writer;
43735
+
43736
+ /**
43737
+ * Decodes a Music message from the specified reader or buffer.
43738
+ * @param reader Reader or buffer to decode from
43739
+ * @param [length] Message length if known beforehand
43740
+ * @returns Music
43741
+ * @throws {Error} If the payload is not a reader or valid buffer
43742
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43743
+ */
43744
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.StatusAttribution.Music;
43745
+
43746
+ /**
43747
+ * Decodes a Music message from the specified reader or buffer, length delimited.
43748
+ * @param reader Reader or buffer to decode from
43749
+ * @returns Music
43750
+ * @throws {Error} If the payload is not a reader or valid buffer
43751
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43752
+ */
43753
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.StatusAttribution.Music;
43754
+
43755
+ /**
43756
+ * Verifies a Music message.
43757
+ * @param message Plain object to verify
43758
+ * @returns `null` if valid, otherwise the reason why it is not
43759
+ */
43760
+ public static verify(message: { [k: string]: any }): (string|null);
43761
+
43762
+ /**
43763
+ * Creates a Music message from a plain object. Also converts values to their respective internal types.
43764
+ * @param object Plain object
43765
+ * @returns Music
43766
+ */
43767
+ public static fromObject(object: { [k: string]: any }): proto.StatusAttribution.Music;
43768
+
43769
+ /**
43770
+ * Creates a plain object from a Music message. Also converts values to other types if specified.
43771
+ * @param message Music
43772
+ * @param [options] Conversion options
43773
+ * @returns Plain object
43774
+ */
43775
+ public static toObject(message: proto.StatusAttribution.Music, options?: $protobuf.IConversionOptions): { [k: string]: any };
43776
+
43777
+ /**
43778
+ * Converts this Music to JSON.
43779
+ * @returns JSON object
43780
+ */
43781
+ public toJSON(): { [k: string]: any };
43782
+
43783
+ /**
43784
+ * Gets the default type url for Music
43785
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
43786
+ * @returns The default type url
43787
+ */
43788
+ public static getTypeUrl(typeUrlPrefix?: string): string;
43789
+ }
43790
+
43791
+ /** Properties of a StatusReshare. */
43792
+ interface IStatusReshare {
43793
+
43794
+ /** StatusReshare source */
43795
+ source?: (proto.StatusAttribution.StatusReshare.Source|null);
43796
+
43797
+ /** StatusReshare metadata */
43798
+ metadata?: (proto.StatusAttribution.StatusReshare.IMetadata|null);
43799
+ }
43800
+
43801
+ /** Represents a StatusReshare. */
43802
+ class StatusReshare implements IStatusReshare {
43803
+
43804
+ /**
43805
+ * Constructs a new StatusReshare.
43806
+ * @param [properties] Properties to set
43807
+ */
43808
+ constructor(properties?: proto.StatusAttribution.IStatusReshare);
43809
+
43810
+ /** StatusReshare source. */
43811
+ public source?: (proto.StatusAttribution.StatusReshare.Source|null);
43812
+
43813
+ /** StatusReshare metadata. */
43814
+ public metadata?: (proto.StatusAttribution.StatusReshare.IMetadata|null);
43815
+
43816
+ /**
43817
+ * Creates a new StatusReshare instance using the specified properties.
43818
+ * @param [properties] Properties to set
43819
+ * @returns StatusReshare instance
43820
+ */
43821
+ public static create(properties?: proto.StatusAttribution.IStatusReshare): proto.StatusAttribution.StatusReshare;
43822
+
43823
+ /**
43824
+ * Encodes the specified StatusReshare message. Does not implicitly {@link proto.StatusAttribution.StatusReshare.verify|verify} messages.
43825
+ * @param message StatusReshare message or plain object to encode
43826
+ * @param [writer] Writer to encode to
43827
+ * @returns Writer
43828
+ */
43829
+ public static encode(message: proto.StatusAttribution.IStatusReshare, writer?: $protobuf.Writer): $protobuf.Writer;
43830
+
43831
+ /**
43832
+ * Encodes the specified StatusReshare message, length delimited. Does not implicitly {@link proto.StatusAttribution.StatusReshare.verify|verify} messages.
43833
+ * @param message StatusReshare message or plain object to encode
43834
+ * @param [writer] Writer to encode to
43835
+ * @returns Writer
43836
+ */
43837
+ public static encodeDelimited(message: proto.StatusAttribution.IStatusReshare, writer?: $protobuf.Writer): $protobuf.Writer;
43838
+
43839
+ /**
43840
+ * Decodes a StatusReshare message from the specified reader or buffer.
43841
+ * @param reader Reader or buffer to decode from
43842
+ * @param [length] Message length if known beforehand
43843
+ * @returns StatusReshare
43844
+ * @throws {Error} If the payload is not a reader or valid buffer
43845
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43846
+ */
43847
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.StatusAttribution.StatusReshare;
43848
+
43849
+ /**
43850
+ * Decodes a StatusReshare message from the specified reader or buffer, length delimited.
43851
+ * @param reader Reader or buffer to decode from
43852
+ * @returns StatusReshare
43853
+ * @throws {Error} If the payload is not a reader or valid buffer
43854
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43855
+ */
43856
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.StatusAttribution.StatusReshare;
43857
+
43858
+ /**
43859
+ * Verifies a StatusReshare message.
43860
+ * @param message Plain object to verify
43861
+ * @returns `null` if valid, otherwise the reason why it is not
43862
+ */
43863
+ public static verify(message: { [k: string]: any }): (string|null);
43864
+
43865
+ /**
43866
+ * Creates a StatusReshare message from a plain object. Also converts values to their respective internal types.
43867
+ * @param object Plain object
43868
+ * @returns StatusReshare
43869
+ */
43870
+ public static fromObject(object: { [k: string]: any }): proto.StatusAttribution.StatusReshare;
43871
+
43872
+ /**
43873
+ * Creates a plain object from a StatusReshare message. Also converts values to other types if specified.
43874
+ * @param message StatusReshare
43875
+ * @param [options] Conversion options
43876
+ * @returns Plain object
43877
+ */
43878
+ public static toObject(message: proto.StatusAttribution.StatusReshare, options?: $protobuf.IConversionOptions): { [k: string]: any };
43879
+
43880
+ /**
43881
+ * Converts this StatusReshare to JSON.
43882
+ * @returns JSON object
43883
+ */
43884
+ public toJSON(): { [k: string]: any };
43885
+
43886
+ /**
43887
+ * Gets the default type url for StatusReshare
43888
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
43889
+ * @returns The default type url
43890
+ */
43891
+ public static getTypeUrl(typeUrlPrefix?: string): string;
43892
+ }
43893
+
43894
+ namespace StatusReshare {
43895
+
43896
+ /** Properties of a Metadata. */
43897
+ interface IMetadata {
43898
+
43899
+ /** Metadata duration */
43900
+ duration?: (number|null);
43901
+
43902
+ /** Metadata channelJid */
43903
+ channelJid?: (string|null);
43904
+
43905
+ /** Metadata channelMessageId */
43906
+ channelMessageId?: (number|null);
43907
+
43908
+ /** Metadata hasMultipleReshares */
43909
+ hasMultipleReshares?: (boolean|null);
43910
+ }
43911
+
43912
+ /** Represents a Metadata. */
43913
+ class Metadata implements IMetadata {
43914
+
43915
+ /**
43916
+ * Constructs a new Metadata.
43917
+ * @param [properties] Properties to set
43918
+ */
43919
+ constructor(properties?: proto.StatusAttribution.StatusReshare.IMetadata);
43920
+
43921
+ /** Metadata duration. */
43922
+ public duration?: (number|null);
43923
+
43924
+ /** Metadata channelJid. */
43925
+ public channelJid?: (string|null);
43926
+
43927
+ /** Metadata channelMessageId. */
43928
+ public channelMessageId?: (number|null);
43929
+
43930
+ /** Metadata hasMultipleReshares. */
43931
+ public hasMultipleReshares?: (boolean|null);
43932
+
43933
+ /**
43934
+ * Creates a new Metadata instance using the specified properties.
43935
+ * @param [properties] Properties to set
43936
+ * @returns Metadata instance
43937
+ */
43938
+ public static create(properties?: proto.StatusAttribution.StatusReshare.IMetadata): proto.StatusAttribution.StatusReshare.Metadata;
43939
+
43940
+ /**
43941
+ * Encodes the specified Metadata message. Does not implicitly {@link proto.StatusAttribution.StatusReshare.Metadata.verify|verify} messages.
43942
+ * @param message Metadata message or plain object to encode
43943
+ * @param [writer] Writer to encode to
43944
+ * @returns Writer
43945
+ */
43946
+ public static encode(message: proto.StatusAttribution.StatusReshare.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
43947
+
43948
+ /**
43949
+ * Encodes the specified Metadata message, length delimited. Does not implicitly {@link proto.StatusAttribution.StatusReshare.Metadata.verify|verify} messages.
43950
+ * @param message Metadata message or plain object to encode
43951
+ * @param [writer] Writer to encode to
43952
+ * @returns Writer
43953
+ */
43954
+ public static encodeDelimited(message: proto.StatusAttribution.StatusReshare.IMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
43955
+
43956
+ /**
43957
+ * Decodes a Metadata message from the specified reader or buffer.
43958
+ * @param reader Reader or buffer to decode from
43959
+ * @param [length] Message length if known beforehand
43960
+ * @returns Metadata
43961
+ * @throws {Error} If the payload is not a reader or valid buffer
43962
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43963
+ */
43964
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.StatusAttribution.StatusReshare.Metadata;
43965
+
43966
+ /**
43967
+ * Decodes a Metadata message from the specified reader or buffer, length delimited.
43968
+ * @param reader Reader or buffer to decode from
43969
+ * @returns Metadata
43970
+ * @throws {Error} If the payload is not a reader or valid buffer
43971
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43972
+ */
43973
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.StatusAttribution.StatusReshare.Metadata;
43974
+
43975
+ /**
43976
+ * Verifies a Metadata message.
43977
+ * @param message Plain object to verify
43978
+ * @returns `null` if valid, otherwise the reason why it is not
43979
+ */
43980
+ public static verify(message: { [k: string]: any }): (string|null);
43981
+
43982
+ /**
43983
+ * Creates a Metadata message from a plain object. Also converts values to their respective internal types.
43984
+ * @param object Plain object
43985
+ * @returns Metadata
43986
+ */
43987
+ public static fromObject(object: { [k: string]: any }): proto.StatusAttribution.StatusReshare.Metadata;
43988
+
43989
+ /**
43990
+ * Creates a plain object from a Metadata message. Also converts values to other types if specified.
43991
+ * @param message Metadata
43992
+ * @param [options] Conversion options
43993
+ * @returns Plain object
43994
+ */
43995
+ public static toObject(message: proto.StatusAttribution.StatusReshare.Metadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
43996
+
43997
+ /**
43998
+ * Converts this Metadata to JSON.
43999
+ * @returns JSON object
44000
+ */
44001
+ public toJSON(): { [k: string]: any };
44002
+
44003
+ /**
44004
+ * Gets the default type url for Metadata
44005
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
44006
+ * @returns The default type url
44007
+ */
44008
+ public static getTypeUrl(typeUrlPrefix?: string): string;
44009
+ }
44010
+
44011
+ /** Source enum. */
44012
+ enum Source {
44013
+ UNKNOWN = 0,
44014
+ INTERNAL_RESHARE = 1,
44015
+ MENTION_RESHARE = 2,
44016
+ CHANNEL_RESHARE = 3
44017
+ }
44018
+ }
44019
+
44020
+ /** Type enum. */
44021
+ enum Type {
44022
+ RESHARE = 0,
44023
+ EXTERNAL_SHARE = 1,
44024
+ MUSIC = 2,
44025
+ STATUS_MENTION = 3,
44026
+ GROUP_STATUS = 4
44027
+ }
44028
+ }
44029
+
42764
44030
  /** Properties of a StatusMentionMessage. */
42765
44031
  interface IStatusMentionMessage {
42766
44032
 
@@ -43412,6 +44678,12 @@ export namespace proto {
43412
44678
 
43413
44679
  /** SyncActionValue paymentTosAction */
43414
44680
  paymentTosAction?: (proto.SyncActionValue.IPaymentTosAction|null);
44681
+
44682
+ /** SyncActionValue privacySettingChannelsPersonalisedRecommendationAction */
44683
+ privacySettingChannelsPersonalisedRecommendationAction?: (proto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction|null);
44684
+
44685
+ /** SyncActionValue businessBroadcastAssociationAction */
44686
+ businessBroadcastAssociationAction?: (proto.SyncActionValue.IBusinessBroadcastAssociationAction|null);
43415
44687
  }
43416
44688
 
43417
44689
  /** Represents a SyncActionValue. */
@@ -43594,6 +44866,12 @@ export namespace proto {
43594
44866
  /** SyncActionValue paymentTosAction. */
43595
44867
  public paymentTosAction?: (proto.SyncActionValue.IPaymentTosAction|null);
43596
44868
 
44869
+ /** SyncActionValue privacySettingChannelsPersonalisedRecommendationAction. */
44870
+ public privacySettingChannelsPersonalisedRecommendationAction?: (proto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction|null);
44871
+
44872
+ /** SyncActionValue businessBroadcastAssociationAction. */
44873
+ public businessBroadcastAssociationAction?: (proto.SyncActionValue.IBusinessBroadcastAssociationAction|null);
44874
+
43597
44875
  /**
43598
44876
  * Creates a new SyncActionValue instance using the specified properties.
43599
44877
  * @param [properties] Properties to set
@@ -44080,6 +45358,103 @@ export namespace proto {
44080
45358
  public static getTypeUrl(typeUrlPrefix?: string): string;
44081
45359
  }
44082
45360
 
45361
+ /** Properties of a BusinessBroadcastAssociationAction. */
45362
+ interface IBusinessBroadcastAssociationAction {
45363
+
45364
+ /** BusinessBroadcastAssociationAction deleted */
45365
+ deleted?: (boolean|null);
45366
+ }
45367
+
45368
+ /** Represents a BusinessBroadcastAssociationAction. */
45369
+ class BusinessBroadcastAssociationAction implements IBusinessBroadcastAssociationAction {
45370
+
45371
+ /**
45372
+ * Constructs a new BusinessBroadcastAssociationAction.
45373
+ * @param [properties] Properties to set
45374
+ */
45375
+ constructor(properties?: proto.SyncActionValue.IBusinessBroadcastAssociationAction);
45376
+
45377
+ /** BusinessBroadcastAssociationAction deleted. */
45378
+ public deleted?: (boolean|null);
45379
+
45380
+ /**
45381
+ * Creates a new BusinessBroadcastAssociationAction instance using the specified properties.
45382
+ * @param [properties] Properties to set
45383
+ * @returns BusinessBroadcastAssociationAction instance
45384
+ */
45385
+ public static create(properties?: proto.SyncActionValue.IBusinessBroadcastAssociationAction): proto.SyncActionValue.BusinessBroadcastAssociationAction;
45386
+
45387
+ /**
45388
+ * Encodes the specified BusinessBroadcastAssociationAction message. Does not implicitly {@link proto.SyncActionValue.BusinessBroadcastAssociationAction.verify|verify} messages.
45389
+ * @param message BusinessBroadcastAssociationAction message or plain object to encode
45390
+ * @param [writer] Writer to encode to
45391
+ * @returns Writer
45392
+ */
45393
+ public static encode(message: proto.SyncActionValue.IBusinessBroadcastAssociationAction, writer?: $protobuf.Writer): $protobuf.Writer;
45394
+
45395
+ /**
45396
+ * Encodes the specified BusinessBroadcastAssociationAction message, length delimited. Does not implicitly {@link proto.SyncActionValue.BusinessBroadcastAssociationAction.verify|verify} messages.
45397
+ * @param message BusinessBroadcastAssociationAction message or plain object to encode
45398
+ * @param [writer] Writer to encode to
45399
+ * @returns Writer
45400
+ */
45401
+ public static encodeDelimited(message: proto.SyncActionValue.IBusinessBroadcastAssociationAction, writer?: $protobuf.Writer): $protobuf.Writer;
45402
+
45403
+ /**
45404
+ * Decodes a BusinessBroadcastAssociationAction message from the specified reader or buffer.
45405
+ * @param reader Reader or buffer to decode from
45406
+ * @param [length] Message length if known beforehand
45407
+ * @returns BusinessBroadcastAssociationAction
45408
+ * @throws {Error} If the payload is not a reader or valid buffer
45409
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
45410
+ */
45411
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SyncActionValue.BusinessBroadcastAssociationAction;
45412
+
45413
+ /**
45414
+ * Decodes a BusinessBroadcastAssociationAction message from the specified reader or buffer, length delimited.
45415
+ * @param reader Reader or buffer to decode from
45416
+ * @returns BusinessBroadcastAssociationAction
45417
+ * @throws {Error} If the payload is not a reader or valid buffer
45418
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
45419
+ */
45420
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SyncActionValue.BusinessBroadcastAssociationAction;
45421
+
45422
+ /**
45423
+ * Verifies a BusinessBroadcastAssociationAction message.
45424
+ * @param message Plain object to verify
45425
+ * @returns `null` if valid, otherwise the reason why it is not
45426
+ */
45427
+ public static verify(message: { [k: string]: any }): (string|null);
45428
+
45429
+ /**
45430
+ * Creates a BusinessBroadcastAssociationAction message from a plain object. Also converts values to their respective internal types.
45431
+ * @param object Plain object
45432
+ * @returns BusinessBroadcastAssociationAction
45433
+ */
45434
+ public static fromObject(object: { [k: string]: any }): proto.SyncActionValue.BusinessBroadcastAssociationAction;
45435
+
45436
+ /**
45437
+ * Creates a plain object from a BusinessBroadcastAssociationAction message. Also converts values to other types if specified.
45438
+ * @param message BusinessBroadcastAssociationAction
45439
+ * @param [options] Conversion options
45440
+ * @returns Plain object
45441
+ */
45442
+ public static toObject(message: proto.SyncActionValue.BusinessBroadcastAssociationAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
45443
+
45444
+ /**
45445
+ * Converts this BusinessBroadcastAssociationAction to JSON.
45446
+ * @returns JSON object
45447
+ */
45448
+ public toJSON(): { [k: string]: any };
45449
+
45450
+ /**
45451
+ * Gets the default type url for BusinessBroadcastAssociationAction
45452
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
45453
+ * @returns The default type url
45454
+ */
45455
+ public static getTypeUrl(typeUrlPrefix?: string): string;
45456
+ }
45457
+
44083
45458
  /** Properties of a CallLogAction. */
44084
45459
  interface ICallLogAction {
44085
45460
 
@@ -47863,6 +49238,103 @@ export namespace proto {
47863
49238
  public static getTypeUrl(typeUrlPrefix?: string): string;
47864
49239
  }
47865
49240
 
49241
+ /** Properties of a PrivacySettingChannelsPersonalisedRecommendationAction. */
49242
+ interface IPrivacySettingChannelsPersonalisedRecommendationAction {
49243
+
49244
+ /** PrivacySettingChannelsPersonalisedRecommendationAction isUserOptedOut */
49245
+ isUserOptedOut?: (boolean|null);
49246
+ }
49247
+
49248
+ /** Represents a PrivacySettingChannelsPersonalisedRecommendationAction. */
49249
+ class PrivacySettingChannelsPersonalisedRecommendationAction implements IPrivacySettingChannelsPersonalisedRecommendationAction {
49250
+
49251
+ /**
49252
+ * Constructs a new PrivacySettingChannelsPersonalisedRecommendationAction.
49253
+ * @param [properties] Properties to set
49254
+ */
49255
+ constructor(properties?: proto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction);
49256
+
49257
+ /** PrivacySettingChannelsPersonalisedRecommendationAction isUserOptedOut. */
49258
+ public isUserOptedOut?: (boolean|null);
49259
+
49260
+ /**
49261
+ * Creates a new PrivacySettingChannelsPersonalisedRecommendationAction instance using the specified properties.
49262
+ * @param [properties] Properties to set
49263
+ * @returns PrivacySettingChannelsPersonalisedRecommendationAction instance
49264
+ */
49265
+ public static create(properties?: proto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction): proto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction;
49266
+
49267
+ /**
49268
+ * Encodes the specified PrivacySettingChannelsPersonalisedRecommendationAction message. Does not implicitly {@link proto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction.verify|verify} messages.
49269
+ * @param message PrivacySettingChannelsPersonalisedRecommendationAction message or plain object to encode
49270
+ * @param [writer] Writer to encode to
49271
+ * @returns Writer
49272
+ */
49273
+ public static encode(message: proto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction, writer?: $protobuf.Writer): $protobuf.Writer;
49274
+
49275
+ /**
49276
+ * Encodes the specified PrivacySettingChannelsPersonalisedRecommendationAction message, length delimited. Does not implicitly {@link proto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction.verify|verify} messages.
49277
+ * @param message PrivacySettingChannelsPersonalisedRecommendationAction message or plain object to encode
49278
+ * @param [writer] Writer to encode to
49279
+ * @returns Writer
49280
+ */
49281
+ public static encodeDelimited(message: proto.SyncActionValue.IPrivacySettingChannelsPersonalisedRecommendationAction, writer?: $protobuf.Writer): $protobuf.Writer;
49282
+
49283
+ /**
49284
+ * Decodes a PrivacySettingChannelsPersonalisedRecommendationAction message from the specified reader or buffer.
49285
+ * @param reader Reader or buffer to decode from
49286
+ * @param [length] Message length if known beforehand
49287
+ * @returns PrivacySettingChannelsPersonalisedRecommendationAction
49288
+ * @throws {Error} If the payload is not a reader or valid buffer
49289
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
49290
+ */
49291
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction;
49292
+
49293
+ /**
49294
+ * Decodes a PrivacySettingChannelsPersonalisedRecommendationAction message from the specified reader or buffer, length delimited.
49295
+ * @param reader Reader or buffer to decode from
49296
+ * @returns PrivacySettingChannelsPersonalisedRecommendationAction
49297
+ * @throws {Error} If the payload is not a reader or valid buffer
49298
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
49299
+ */
49300
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction;
49301
+
49302
+ /**
49303
+ * Verifies a PrivacySettingChannelsPersonalisedRecommendationAction message.
49304
+ * @param message Plain object to verify
49305
+ * @returns `null` if valid, otherwise the reason why it is not
49306
+ */
49307
+ public static verify(message: { [k: string]: any }): (string|null);
49308
+
49309
+ /**
49310
+ * Creates a PrivacySettingChannelsPersonalisedRecommendationAction message from a plain object. Also converts values to their respective internal types.
49311
+ * @param object Plain object
49312
+ * @returns PrivacySettingChannelsPersonalisedRecommendationAction
49313
+ */
49314
+ public static fromObject(object: { [k: string]: any }): proto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction;
49315
+
49316
+ /**
49317
+ * Creates a plain object from a PrivacySettingChannelsPersonalisedRecommendationAction message. Also converts values to other types if specified.
49318
+ * @param message PrivacySettingChannelsPersonalisedRecommendationAction
49319
+ * @param [options] Conversion options
49320
+ * @returns Plain object
49321
+ */
49322
+ public static toObject(message: proto.SyncActionValue.PrivacySettingChannelsPersonalisedRecommendationAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
49323
+
49324
+ /**
49325
+ * Converts this PrivacySettingChannelsPersonalisedRecommendationAction to JSON.
49326
+ * @returns JSON object
49327
+ */
49328
+ public toJSON(): { [k: string]: any };
49329
+
49330
+ /**
49331
+ * Gets the default type url for PrivacySettingChannelsPersonalisedRecommendationAction
49332
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
49333
+ * @returns The default type url
49334
+ */
49335
+ public static getTypeUrl(typeUrlPrefix?: string): string;
49336
+ }
49337
+
47866
49338
  /** Properties of a PrivacySettingDisableLinkPreviewsAction. */
47867
49339
  interface IPrivacySettingDisableLinkPreviewsAction {
47868
49340
 
@@ -51256,6 +52728,118 @@ export namespace proto {
51256
52728
  }
51257
52729
  }
51258
52730
 
52731
+ /** Properties of a ThreadID. */
52732
+ interface IThreadID {
52733
+
52734
+ /** ThreadID threadType */
52735
+ threadType?: (proto.ThreadID.ThreadType|null);
52736
+
52737
+ /** ThreadID threadKey */
52738
+ threadKey?: (proto.IMessageKey|null);
52739
+ }
52740
+
52741
+ /** Represents a ThreadID. */
52742
+ class ThreadID implements IThreadID {
52743
+
52744
+ /**
52745
+ * Constructs a new ThreadID.
52746
+ * @param [properties] Properties to set
52747
+ */
52748
+ constructor(properties?: proto.IThreadID);
52749
+
52750
+ /** ThreadID threadType. */
52751
+ public threadType?: (proto.ThreadID.ThreadType|null);
52752
+
52753
+ /** ThreadID threadKey. */
52754
+ public threadKey?: (proto.IMessageKey|null);
52755
+
52756
+ /**
52757
+ * Creates a new ThreadID instance using the specified properties.
52758
+ * @param [properties] Properties to set
52759
+ * @returns ThreadID instance
52760
+ */
52761
+ public static create(properties?: proto.IThreadID): proto.ThreadID;
52762
+
52763
+ /**
52764
+ * Encodes the specified ThreadID message. Does not implicitly {@link proto.ThreadID.verify|verify} messages.
52765
+ * @param message ThreadID message or plain object to encode
52766
+ * @param [writer] Writer to encode to
52767
+ * @returns Writer
52768
+ */
52769
+ public static encode(message: proto.IThreadID, writer?: $protobuf.Writer): $protobuf.Writer;
52770
+
52771
+ /**
52772
+ * Encodes the specified ThreadID message, length delimited. Does not implicitly {@link proto.ThreadID.verify|verify} messages.
52773
+ * @param message ThreadID message or plain object to encode
52774
+ * @param [writer] Writer to encode to
52775
+ * @returns Writer
52776
+ */
52777
+ public static encodeDelimited(message: proto.IThreadID, writer?: $protobuf.Writer): $protobuf.Writer;
52778
+
52779
+ /**
52780
+ * Decodes a ThreadID message from the specified reader or buffer.
52781
+ * @param reader Reader or buffer to decode from
52782
+ * @param [length] Message length if known beforehand
52783
+ * @returns ThreadID
52784
+ * @throws {Error} If the payload is not a reader or valid buffer
52785
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
52786
+ */
52787
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): proto.ThreadID;
52788
+
52789
+ /**
52790
+ * Decodes a ThreadID message from the specified reader or buffer, length delimited.
52791
+ * @param reader Reader or buffer to decode from
52792
+ * @returns ThreadID
52793
+ * @throws {Error} If the payload is not a reader or valid buffer
52794
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
52795
+ */
52796
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): proto.ThreadID;
52797
+
52798
+ /**
52799
+ * Verifies a ThreadID message.
52800
+ * @param message Plain object to verify
52801
+ * @returns `null` if valid, otherwise the reason why it is not
52802
+ */
52803
+ public static verify(message: { [k: string]: any }): (string|null);
52804
+
52805
+ /**
52806
+ * Creates a ThreadID message from a plain object. Also converts values to their respective internal types.
52807
+ * @param object Plain object
52808
+ * @returns ThreadID
52809
+ */
52810
+ public static fromObject(object: { [k: string]: any }): proto.ThreadID;
52811
+
52812
+ /**
52813
+ * Creates a plain object from a ThreadID message. Also converts values to other types if specified.
52814
+ * @param message ThreadID
52815
+ * @param [options] Conversion options
52816
+ * @returns Plain object
52817
+ */
52818
+ public static toObject(message: proto.ThreadID, options?: $protobuf.IConversionOptions): { [k: string]: any };
52819
+
52820
+ /**
52821
+ * Converts this ThreadID to JSON.
52822
+ * @returns JSON object
52823
+ */
52824
+ public toJSON(): { [k: string]: any };
52825
+
52826
+ /**
52827
+ * Gets the default type url for ThreadID
52828
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
52829
+ * @returns The default type url
52830
+ */
52831
+ public static getTypeUrl(typeUrlPrefix?: string): string;
52832
+ }
52833
+
52834
+ namespace ThreadID {
52835
+
52836
+ /** ThreadType enum. */
52837
+ enum ThreadType {
52838
+ UNKNOWN = 0,
52839
+ VIEW_REPLIES = 1
52840
+ }
52841
+ }
52842
+
51259
52843
  /** Properties of an UrlTrackingMap. */
51260
52844
  interface IUrlTrackingMap {
51261
52845