@hansaka02/baileys 1.0.0 → 7.3.2

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 (44) hide show
  1. package/README.md +172 -172
  2. package/WAProto/AICommon/AICommon.d.ts +7102 -5380
  3. package/WAProto/AICommon/AICommon.js +13991 -9169
  4. package/WAProto/AICommon/AICommon.proto +110 -3
  5. package/WAProto/CompanionReg/CompanionReg.d.ts +27 -0
  6. package/WAProto/CompanionReg/CompanionReg.js +114 -0
  7. package/WAProto/CompanionReg/CompanionReg.proto +3 -0
  8. package/WAProto/DeviceCapabilities/DeviceCapabilities.d.ts +244 -0
  9. package/WAProto/DeviceCapabilities/DeviceCapabilities.js +652 -0
  10. package/WAProto/DeviceCapabilities/DeviceCapabilities.proto +19 -0
  11. package/WAProto/E2E/E2E.d.ts +7234 -1003
  12. package/WAProto/E2E/E2E.js +77193 -51248
  13. package/WAProto/E2E/E2E.proto +68 -12
  14. package/WAProto/HistorySync/HistorySync.d.ts +1195 -75
  15. package/WAProto/HistorySync/HistorySync.js +3375 -178
  16. package/WAProto/HistorySync/HistorySync.proto +3 -3
  17. package/WAProto/LidMigrationSyncPayload/LidMigrationSyncPayload.d.ts +18 -6
  18. package/WAProto/LidMigrationSyncPayload/LidMigrationSyncPayload.js +98 -49
  19. package/WAProto/LidMigrationSyncPayload/LidMigrationSyncPayload.proto +2 -2
  20. package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.d.ts +7468 -1051
  21. package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.js +75226 -48422
  22. package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.proto +6 -0
  23. package/WAProto/StatusAttributions/StatusAttributions.d.ts +5 -2
  24. package/WAProto/StatusAttributions/StatusAttributions.js +21 -0
  25. package/WAProto/StatusAttributions/StatusAttributions.proto +3 -0
  26. package/WAProto/SyncAction/SyncAction.d.ts +2271 -280
  27. package/WAProto/SyncAction/SyncAction.js +9423 -2023
  28. package/WAProto/SyncAction/SyncAction.proto +208 -15
  29. package/WAProto/Wa6/Wa6.d.ts +20 -1
  30. package/WAProto/Wa6/Wa6.js +83 -0
  31. package/WAProto/Wa6/Wa6.proto +3 -0
  32. package/WAProto/Web/Web.d.ts +8207 -1194
  33. package/WAProto/Web/Web.js +92664 -63403
  34. package/WAProto/Web/Web.proto +31 -13
  35. package/lib/Defaults/baileys-version.json +1 -1
  36. package/lib/Socket/messages-recv.js +9 -1
  37. package/lib/Types/MexUpdates.js +1 -0
  38. package/lib/Utils/crypto.js +1 -1
  39. package/lib/Utils/decode-wa-message.js +14 -16
  40. package/lib/Utils/generics.js +63 -16
  41. package/lib/Utils/messages.js +40 -0
  42. package/lib/Utils/process-message.js +336 -24
  43. package/lib/Utils/validate-connection.js +51 -9
  44. package/package.json +19 -19
@@ -5941,9 +5941,6 @@ export namespace E2E {
5941
5941
  /** EmbeddedMusic artworkEncSha256 */
5942
5942
  artworkEncSha256?: (Uint8Array|null);
5943
5943
 
5944
- /** EmbeddedMusic artworkMediaKey */
5945
- artworkMediaKey?: (Uint8Array|null);
5946
-
5947
5944
  /** EmbeddedMusic artistAttribution */
5948
5945
  artistAttribution?: (string|null);
5949
5946
 
@@ -5952,6 +5949,18 @@ export namespace E2E {
5952
5949
 
5953
5950
  /** EmbeddedMusic isExplicit */
5954
5951
  isExplicit?: (boolean|null);
5952
+
5953
+ /** EmbeddedMusic artworkMediaKey */
5954
+ artworkMediaKey?: (Uint8Array|null);
5955
+
5956
+ /** EmbeddedMusic musicSongStartTimeInMs */
5957
+ musicSongStartTimeInMs?: (number|Long|null);
5958
+
5959
+ /** EmbeddedMusic derivedContentStartTimeInMs */
5960
+ derivedContentStartTimeInMs?: (number|Long|null);
5961
+
5962
+ /** EmbeddedMusic overlapDurationInMs */
5963
+ overlapDurationInMs?: (number|Long|null);
5955
5964
  }
5956
5965
 
5957
5966
  /** Represents an EmbeddedMusic. */
@@ -5984,9 +5993,6 @@ export namespace E2E {
5984
5993
  /** EmbeddedMusic artworkEncSha256. */
5985
5994
  public artworkEncSha256: Uint8Array;
5986
5995
 
5987
- /** EmbeddedMusic artworkMediaKey. */
5988
- public artworkMediaKey: Uint8Array;
5989
-
5990
5996
  /** EmbeddedMusic artistAttribution. */
5991
5997
  public artistAttribution: string;
5992
5998
 
@@ -5996,6 +6002,18 @@ export namespace E2E {
5996
6002
  /** EmbeddedMusic isExplicit. */
5997
6003
  public isExplicit: boolean;
5998
6004
 
6005
+ /** EmbeddedMusic artworkMediaKey. */
6006
+ public artworkMediaKey: Uint8Array;
6007
+
6008
+ /** EmbeddedMusic musicSongStartTimeInMs. */
6009
+ public musicSongStartTimeInMs: (number|Long);
6010
+
6011
+ /** EmbeddedMusic derivedContentStartTimeInMs. */
6012
+ public derivedContentStartTimeInMs: (number|Long);
6013
+
6014
+ /** EmbeddedMusic overlapDurationInMs. */
6015
+ public overlapDurationInMs: (number|Long);
6016
+
5999
6017
  /**
6000
6018
  * Creates a new EmbeddedMusic instance using the specified properties.
6001
6019
  * @param [properties] Properties to set
@@ -6749,7 +6767,9 @@ export namespace E2E {
6749
6767
  VIEW_ALL_REPLIES = 14,
6750
6768
  STATUS_ADD_YOURS_AI_IMAGINE = 15,
6751
6769
  STATUS_QUESTION = 16,
6752
- STATUS_ADD_YOURS_DIWALI = 17
6770
+ STATUS_ADD_YOURS_DIWALI = 17,
6771
+ STATUS_REACTION = 18,
6772
+ HEVC_VIDEO_DUAL_UPLOAD = 19
6753
6773
  }
6754
6774
  }
6755
6775
 
@@ -6917,6 +6937,9 @@ export namespace E2E {
6917
6937
 
6918
6938
  /** ContextInfo quotedType */
6919
6939
  quotedType?: (E2E.ContextInfo.QuotedType|null);
6940
+
6941
+ /** ContextInfo botMessageSharingInfo */
6942
+ botMessageSharingInfo?: (AICommon.IBotMessageSharingInfo|null);
6920
6943
  }
6921
6944
 
6922
6945
  /** Represents a ContextInfo. */
@@ -7090,6 +7113,9 @@ export namespace E2E {
7090
7113
  /** ContextInfo quotedType. */
7091
7114
  public quotedType: E2E.ContextInfo.QuotedType;
7092
7115
 
7116
+ /** ContextInfo botMessageSharingInfo. */
7117
+ public botMessageSharingInfo?: (AICommon.IBotMessageSharingInfo|null);
7118
+
7093
7119
  /**
7094
7120
  * Creates a new ContextInfo instance using the specified properties.
7095
7121
  * @param [properties] Properties to set
@@ -8176,7 +8202,9 @@ export namespace E2E {
8176
8202
  SD_IMAGE_PARENT = 3,
8177
8203
  HD_IMAGE_CHILD = 4,
8178
8204
  MOTION_PHOTO_PARENT = 5,
8179
- MOTION_PHOTO_CHILD = 6
8205
+ MOTION_PHOTO_CHILD = 6,
8206
+ HEVC_VIDEO_PARENT = 7,
8207
+ HEVC_VIDEO_CHILD = 8
8180
8208
  }
8181
8209
 
8182
8210
  /** Properties of a QuestionReplyQuotedMessage. */
@@ -8757,9 +8785,6 @@ export namespace E2E {
8757
8785
  /** Message pollCreationMessageV4 */
8758
8786
  pollCreationMessageV4?: (E2E.Message.IFutureProofMessage|null);
8759
8787
 
8760
- /** Message pollCreationMessageV5 */
8761
- pollCreationMessageV5?: (E2E.Message.IFutureProofMessage|null);
8762
-
8763
8788
  /** Message statusAddYours */
8764
8789
  statusAddYours?: (E2E.Message.IFutureProofMessage|null);
8765
8790
 
@@ -8804,6 +8829,21 @@ export namespace E2E {
8804
8829
 
8805
8830
  /** Message statusQuotedMessage */
8806
8831
  statusQuotedMessage?: (E2E.Message.IStatusQuotedMessage|null);
8832
+
8833
+ /** Message statusStickerInteractionMessage */
8834
+ statusStickerInteractionMessage?: (E2E.Message.IStatusStickerInteractionMessage|null);
8835
+
8836
+ /** Message pollCreationMessageV5 */
8837
+ pollCreationMessageV5?: (E2E.Message.IPollCreationMessage|null);
8838
+
8839
+ /** Message pollResultSnapshotMessageV2 */
8840
+ pollResultSnapshotMessageV2?: (E2E.Message.IPollResultSnapshotMessage|null);
8841
+
8842
+ /** Message newsletterFollowerInviteMessageV2 */
8843
+ newsletterFollowerInviteMessageV2?: (E2E.Message.INewsletterFollowerInviteMessage|null);
8844
+
8845
+ /** Message requestContactInfoMessage */
8846
+ requestContactInfoMessage?: (E2E.Message.IRequestContactInfoMessage|null);
8807
8847
  }
8808
8848
 
8809
8849
  /** Represents a Message. */
@@ -9046,9 +9086,6 @@ export namespace E2E {
9046
9086
  /** Message pollCreationMessageV4. */
9047
9087
  public pollCreationMessageV4?: (E2E.Message.IFutureProofMessage|null);
9048
9088
 
9049
- /** Message pollCreationMessageV5. */
9050
- public pollCreationMessageV5?: (E2E.Message.IFutureProofMessage|null);
9051
-
9052
9089
  /** Message statusAddYours. */
9053
9090
  public statusAddYours?: (E2E.Message.IFutureProofMessage|null);
9054
9091
 
@@ -9094,6 +9131,21 @@ export namespace E2E {
9094
9131
  /** Message statusQuotedMessage. */
9095
9132
  public statusQuotedMessage?: (E2E.Message.IStatusQuotedMessage|null);
9096
9133
 
9134
+ /** Message statusStickerInteractionMessage. */
9135
+ public statusStickerInteractionMessage?: (E2E.Message.IStatusStickerInteractionMessage|null);
9136
+
9137
+ /** Message pollCreationMessageV5. */
9138
+ public pollCreationMessageV5?: (E2E.Message.IPollCreationMessage|null);
9139
+
9140
+ /** Message pollResultSnapshotMessageV2. */
9141
+ public pollResultSnapshotMessageV2?: (E2E.Message.IPollResultSnapshotMessage|null);
9142
+
9143
+ /** Message newsletterFollowerInviteMessageV2. */
9144
+ public newsletterFollowerInviteMessageV2?: (E2E.Message.INewsletterFollowerInviteMessage|null);
9145
+
9146
+ /** Message requestContactInfoMessage. */
9147
+ public requestContactInfoMessage?: (E2E.Message.IRequestContactInfoMessage|null);
9148
+
9097
9149
  /**
9098
9150
  * Creates a new Message instance using the specified properties.
9099
9151
  * @param [properties] Properties to set
@@ -13210,6 +13262,9 @@ export namespace E2E {
13210
13262
 
13211
13263
  /** ExtendedTextMessage musicMetadata */
13212
13264
  musicMetadata?: (E2E.IEmbeddedMusic|null);
13265
+
13266
+ /** ExtendedTextMessage paymentExtendedMetadata */
13267
+ paymentExtendedMetadata?: (E2E.Message.IPaymentExtendedMetadata|null);
13213
13268
  }
13214
13269
 
13215
13270
  /** Represents an ExtendedTextMessage. */
@@ -13314,6 +13369,9 @@ export namespace E2E {
13314
13369
  /** ExtendedTextMessage musicMetadata. */
13315
13370
  public musicMetadata?: (E2E.IEmbeddedMusic|null);
13316
13371
 
13372
+ /** ExtendedTextMessage paymentExtendedMetadata. */
13373
+ public paymentExtendedMetadata?: (E2E.Message.IPaymentExtendedMetadata|null);
13374
+
13317
13375
  /**
13318
13376
  * Creates a new ExtendedTextMessage instance using the specified properties.
13319
13377
  * @param [properties] Properties to set
@@ -15544,6 +15602,12 @@ export namespace E2E {
15544
15602
 
15545
15603
  /** Footer text */
15546
15604
  text?: (string|null);
15605
+
15606
+ /** Footer hasMediaAttachment */
15607
+ hasMediaAttachment?: (boolean|null);
15608
+
15609
+ /** Footer audioMessage */
15610
+ audioMessage?: (E2E.Message.IAudioMessage|null);
15547
15611
  }
15548
15612
 
15549
15613
  /** Represents a Footer. */
@@ -15558,6 +15622,15 @@ export namespace E2E {
15558
15622
  /** Footer text. */
15559
15623
  public text: string;
15560
15624
 
15625
+ /** Footer hasMediaAttachment. */
15626
+ public hasMediaAttachment: boolean;
15627
+
15628
+ /** Footer audioMessage. */
15629
+ public audioMessage?: (E2E.Message.IAudioMessage|null);
15630
+
15631
+ /** Footer media. */
15632
+ public media?: "audioMessage";
15633
+
15561
15634
  /**
15562
15635
  * Creates a new Footer instance using the specified properties.
15563
15636
  * @param [properties] Properties to set
@@ -16745,6 +16818,15 @@ export namespace E2E {
16745
16818
 
16746
16819
  /** LinkPreviewMetadata linkInlineVideoMuted */
16747
16820
  linkInlineVideoMuted?: (boolean|null);
16821
+
16822
+ /** LinkPreviewMetadata videoContentUrl */
16823
+ videoContentUrl?: (string|null);
16824
+
16825
+ /** LinkPreviewMetadata musicMetadata */
16826
+ musicMetadata?: (E2E.IEmbeddedMusic|null);
16827
+
16828
+ /** LinkPreviewMetadata videoContentCaption */
16829
+ videoContentCaption?: (string|null);
16748
16830
  }
16749
16831
 
16750
16832
  /** Represents a LinkPreviewMetadata. */
@@ -16774,6 +16856,15 @@ export namespace E2E {
16774
16856
  /** LinkPreviewMetadata linkInlineVideoMuted. */
16775
16857
  public linkInlineVideoMuted: boolean;
16776
16858
 
16859
+ /** LinkPreviewMetadata videoContentUrl. */
16860
+ public videoContentUrl: string;
16861
+
16862
+ /** LinkPreviewMetadata musicMetadata. */
16863
+ public musicMetadata?: (E2E.IEmbeddedMusic|null);
16864
+
16865
+ /** LinkPreviewMetadata videoContentCaption. */
16866
+ public videoContentCaption: string;
16867
+
16777
16868
  /**
16778
16869
  * Creates a new LinkPreviewMetadata instance using the specified properties.
16779
16870
  * @param [properties] Properties to set
@@ -19122,6 +19213,115 @@ export namespace E2E {
19122
19213
  }
19123
19214
  }
19124
19215
 
19216
+ /** Properties of a PaymentExtendedMetadata. */
19217
+ interface IPaymentExtendedMetadata {
19218
+
19219
+ /** PaymentExtendedMetadata type */
19220
+ type?: (number|null);
19221
+
19222
+ /** PaymentExtendedMetadata platform */
19223
+ platform?: (string|null);
19224
+
19225
+ /** PaymentExtendedMetadata messageParamsJson */
19226
+ messageParamsJson?: (string|null);
19227
+ }
19228
+
19229
+ /** Represents a PaymentExtendedMetadata. */
19230
+ class PaymentExtendedMetadata implements IPaymentExtendedMetadata {
19231
+
19232
+ /**
19233
+ * Constructs a new PaymentExtendedMetadata.
19234
+ * @param [properties] Properties to set
19235
+ */
19236
+ constructor(properties?: E2E.Message.IPaymentExtendedMetadata);
19237
+
19238
+ /** PaymentExtendedMetadata type. */
19239
+ public type: number;
19240
+
19241
+ /** PaymentExtendedMetadata platform. */
19242
+ public platform: string;
19243
+
19244
+ /** PaymentExtendedMetadata messageParamsJson. */
19245
+ public messageParamsJson: string;
19246
+
19247
+ /**
19248
+ * Creates a new PaymentExtendedMetadata instance using the specified properties.
19249
+ * @param [properties] Properties to set
19250
+ * @returns PaymentExtendedMetadata instance
19251
+ */
19252
+ public static create(properties?: E2E.Message.IPaymentExtendedMetadata): E2E.Message.PaymentExtendedMetadata;
19253
+
19254
+ /**
19255
+ * Encodes the specified PaymentExtendedMetadata message. Does not implicitly {@link E2E.Message.PaymentExtendedMetadata.verify|verify} messages.
19256
+ * @param message PaymentExtendedMetadata message or plain object to encode
19257
+ * @param [writer] Writer to encode to
19258
+ * @returns Writer
19259
+ */
19260
+ public static encode(message: E2E.Message.IPaymentExtendedMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
19261
+
19262
+ /**
19263
+ * Encodes the specified PaymentExtendedMetadata message, length delimited. Does not implicitly {@link E2E.Message.PaymentExtendedMetadata.verify|verify} messages.
19264
+ * @param message PaymentExtendedMetadata message or plain object to encode
19265
+ * @param [writer] Writer to encode to
19266
+ * @returns Writer
19267
+ */
19268
+ public static encodeDelimited(message: E2E.Message.IPaymentExtendedMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
19269
+
19270
+ /**
19271
+ * Decodes a PaymentExtendedMetadata message from the specified reader or buffer.
19272
+ * @param reader Reader or buffer to decode from
19273
+ * @param [length] Message length if known beforehand
19274
+ * @returns PaymentExtendedMetadata
19275
+ * @throws {Error} If the payload is not a reader or valid buffer
19276
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19277
+ */
19278
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.Message.PaymentExtendedMetadata;
19279
+
19280
+ /**
19281
+ * Decodes a PaymentExtendedMetadata message from the specified reader or buffer, length delimited.
19282
+ * @param reader Reader or buffer to decode from
19283
+ * @returns PaymentExtendedMetadata
19284
+ * @throws {Error} If the payload is not a reader or valid buffer
19285
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19286
+ */
19287
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.Message.PaymentExtendedMetadata;
19288
+
19289
+ /**
19290
+ * Verifies a PaymentExtendedMetadata message.
19291
+ * @param message Plain object to verify
19292
+ * @returns `null` if valid, otherwise the reason why it is not
19293
+ */
19294
+ public static verify(message: { [k: string]: any }): (string|null);
19295
+
19296
+ /**
19297
+ * Creates a PaymentExtendedMetadata message from a plain object. Also converts values to their respective internal types.
19298
+ * @param object Plain object
19299
+ * @returns PaymentExtendedMetadata
19300
+ */
19301
+ public static fromObject(object: { [k: string]: any }): E2E.Message.PaymentExtendedMetadata;
19302
+
19303
+ /**
19304
+ * Creates a plain object from a PaymentExtendedMetadata message. Also converts values to other types if specified.
19305
+ * @param message PaymentExtendedMetadata
19306
+ * @param [options] Conversion options
19307
+ * @returns Plain object
19308
+ */
19309
+ public static toObject(message: E2E.Message.PaymentExtendedMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
19310
+
19311
+ /**
19312
+ * Converts this PaymentExtendedMetadata to JSON.
19313
+ * @returns JSON object
19314
+ */
19315
+ public toJSON(): { [k: string]: any };
19316
+
19317
+ /**
19318
+ * Gets the default type url for PaymentExtendedMetadata
19319
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
19320
+ * @returns The default type url
19321
+ */
19322
+ public static getTypeUrl(typeUrlPrefix?: string): string;
19323
+ }
19324
+
19125
19325
  /** Properties of a PaymentInviteMessage. */
19126
19326
  interface IPaymentInviteMessage {
19127
19327
 
@@ -19674,6 +19874,9 @@ export namespace E2E {
19674
19874
 
19675
19875
  /** PeerDataOperationRequestMessage historySyncChunkRetryRequest */
19676
19876
  historySyncChunkRetryRequest?: (E2E.Message.PeerDataOperationRequestMessage.IHistorySyncChunkRetryRequest|null);
19877
+
19878
+ /** PeerDataOperationRequestMessage galaxyFlowAction */
19879
+ galaxyFlowAction?: (E2E.Message.PeerDataOperationRequestMessage.IGalaxyFlowAction|null);
19677
19880
  }
19678
19881
 
19679
19882
  /** Represents a PeerDataOperationRequestMessage. */
@@ -19709,6 +19912,9 @@ export namespace E2E {
19709
19912
  /** PeerDataOperationRequestMessage historySyncChunkRetryRequest. */
19710
19913
  public historySyncChunkRetryRequest?: (E2E.Message.PeerDataOperationRequestMessage.IHistorySyncChunkRetryRequest|null);
19711
19914
 
19915
+ /** PeerDataOperationRequestMessage galaxyFlowAction. */
19916
+ public galaxyFlowAction?: (E2E.Message.PeerDataOperationRequestMessage.IGalaxyFlowAction|null);
19917
+
19712
19918
  /**
19713
19919
  * Creates a new PeerDataOperationRequestMessage instance using the specified properties.
19714
19920
  * @param [properties] Properties to set
@@ -19892,6 +20098,123 @@ export namespace E2E {
19892
20098
  public static getTypeUrl(typeUrlPrefix?: string): string;
19893
20099
  }
19894
20100
 
20101
+ /** Properties of a GalaxyFlowAction. */
20102
+ interface IGalaxyFlowAction {
20103
+
20104
+ /** GalaxyFlowAction type */
20105
+ type: E2E.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType;
20106
+
20107
+ /** GalaxyFlowAction flowId */
20108
+ flowId: string;
20109
+
20110
+ /** GalaxyFlowAction stanzaId */
20111
+ stanzaId: string;
20112
+ }
20113
+
20114
+ /** Represents a GalaxyFlowAction. */
20115
+ class GalaxyFlowAction implements IGalaxyFlowAction {
20116
+
20117
+ /**
20118
+ * Constructs a new GalaxyFlowAction.
20119
+ * @param [properties] Properties to set
20120
+ */
20121
+ constructor(properties?: E2E.Message.PeerDataOperationRequestMessage.IGalaxyFlowAction);
20122
+
20123
+ /** GalaxyFlowAction type. */
20124
+ public type: E2E.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.GalaxyFlowActionType;
20125
+
20126
+ /** GalaxyFlowAction flowId. */
20127
+ public flowId: string;
20128
+
20129
+ /** GalaxyFlowAction stanzaId. */
20130
+ public stanzaId: string;
20131
+
20132
+ /**
20133
+ * Creates a new GalaxyFlowAction instance using the specified properties.
20134
+ * @param [properties] Properties to set
20135
+ * @returns GalaxyFlowAction instance
20136
+ */
20137
+ public static create(properties?: E2E.Message.PeerDataOperationRequestMessage.IGalaxyFlowAction): E2E.Message.PeerDataOperationRequestMessage.GalaxyFlowAction;
20138
+
20139
+ /**
20140
+ * Encodes the specified GalaxyFlowAction message. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.verify|verify} messages.
20141
+ * @param message GalaxyFlowAction message or plain object to encode
20142
+ * @param [writer] Writer to encode to
20143
+ * @returns Writer
20144
+ */
20145
+ public static encode(message: E2E.Message.PeerDataOperationRequestMessage.IGalaxyFlowAction, writer?: $protobuf.Writer): $protobuf.Writer;
20146
+
20147
+ /**
20148
+ * Encodes the specified GalaxyFlowAction message, length delimited. Does not implicitly {@link E2E.Message.PeerDataOperationRequestMessage.GalaxyFlowAction.verify|verify} messages.
20149
+ * @param message GalaxyFlowAction message or plain object to encode
20150
+ * @param [writer] Writer to encode to
20151
+ * @returns Writer
20152
+ */
20153
+ public static encodeDelimited(message: E2E.Message.PeerDataOperationRequestMessage.IGalaxyFlowAction, writer?: $protobuf.Writer): $protobuf.Writer;
20154
+
20155
+ /**
20156
+ * Decodes a GalaxyFlowAction message from the specified reader or buffer.
20157
+ * @param reader Reader or buffer to decode from
20158
+ * @param [length] Message length if known beforehand
20159
+ * @returns GalaxyFlowAction
20160
+ * @throws {Error} If the payload is not a reader or valid buffer
20161
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20162
+ */
20163
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.Message.PeerDataOperationRequestMessage.GalaxyFlowAction;
20164
+
20165
+ /**
20166
+ * Decodes a GalaxyFlowAction message from the specified reader or buffer, length delimited.
20167
+ * @param reader Reader or buffer to decode from
20168
+ * @returns GalaxyFlowAction
20169
+ * @throws {Error} If the payload is not a reader or valid buffer
20170
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20171
+ */
20172
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.Message.PeerDataOperationRequestMessage.GalaxyFlowAction;
20173
+
20174
+ /**
20175
+ * Verifies a GalaxyFlowAction message.
20176
+ * @param message Plain object to verify
20177
+ * @returns `null` if valid, otherwise the reason why it is not
20178
+ */
20179
+ public static verify(message: { [k: string]: any }): (string|null);
20180
+
20181
+ /**
20182
+ * Creates a GalaxyFlowAction message from a plain object. Also converts values to their respective internal types.
20183
+ * @param object Plain object
20184
+ * @returns GalaxyFlowAction
20185
+ */
20186
+ public static fromObject(object: { [k: string]: any }): E2E.Message.PeerDataOperationRequestMessage.GalaxyFlowAction;
20187
+
20188
+ /**
20189
+ * Creates a plain object from a GalaxyFlowAction message. Also converts values to other types if specified.
20190
+ * @param message GalaxyFlowAction
20191
+ * @param [options] Conversion options
20192
+ * @returns Plain object
20193
+ */
20194
+ public static toObject(message: E2E.Message.PeerDataOperationRequestMessage.GalaxyFlowAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
20195
+
20196
+ /**
20197
+ * Converts this GalaxyFlowAction to JSON.
20198
+ * @returns JSON object
20199
+ */
20200
+ public toJSON(): { [k: string]: any };
20201
+
20202
+ /**
20203
+ * Gets the default type url for GalaxyFlowAction
20204
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20205
+ * @returns The default type url
20206
+ */
20207
+ public static getTypeUrl(typeUrlPrefix?: string): string;
20208
+ }
20209
+
20210
+ namespace GalaxyFlowAction {
20211
+
20212
+ /** GalaxyFlowActionType enum. */
20213
+ enum GalaxyFlowActionType {
20214
+ NOTIFY_LAUNCH = 1
20215
+ }
20216
+ }
20217
+
19895
20218
  /** Properties of a HistorySyncChunkRetryRequest. */
19896
20219
  interface IHistorySyncChunkRetryRequest {
19897
20220
 
@@ -21945,7 +22268,8 @@ export namespace E2E {
21945
22268
  COMPANION_META_NONCE_FETCH = 7,
21946
22269
  COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY = 8,
21947
22270
  COMPANION_CANONICAL_USER_NONCE_FETCH = 9,
21948
- HISTORY_SYNC_CHUNK_RETRY = 10
22271
+ HISTORY_SYNC_CHUNK_RETRY = 10,
22272
+ GALAXY_FLOW_ACTION = 11
21949
22273
  }
21950
22274
 
21951
22275
  /** Properties of a PinInChatMessage. */
@@ -22201,7 +22525,7 @@ export namespace E2E {
22201
22525
  pollContentType?: (E2E.Message.PollContentType|null);
22202
22526
 
22203
22527
  /** PollCreationMessage pollType */
22204
- pollType?: (E2E.Message.PollCreationMessage.PollType|null);
22528
+ pollType?: (E2E.Message.PollType|null);
22205
22529
 
22206
22530
  /** PollCreationMessage correctAnswer */
22207
22531
  correctAnswer?: (E2E.Message.PollCreationMessage.IOption|null);
@@ -22235,7 +22559,7 @@ export namespace E2E {
22235
22559
  public pollContentType: E2E.Message.PollContentType;
22236
22560
 
22237
22561
  /** PollCreationMessage pollType. */
22238
- public pollType: E2E.Message.PollCreationMessage.PollType;
22562
+ public pollType: E2E.Message.PollType;
22239
22563
 
22240
22564
  /** PollCreationMessage correctAnswer. */
22241
22565
  public correctAnswer?: (E2E.Message.PollCreationMessage.IOption|null);
@@ -22422,12 +22746,6 @@ export namespace E2E {
22422
22746
  */
22423
22747
  public static getTypeUrl(typeUrlPrefix?: string): string;
22424
22748
  }
22425
-
22426
- /** PollType enum. */
22427
- enum PollType {
22428
- POLL = 0,
22429
- QUIZ = 1
22430
- }
22431
22749
  }
22432
22750
 
22433
22751
  /** Properties of a PollEncValue. */
@@ -22544,6 +22862,9 @@ export namespace E2E {
22544
22862
 
22545
22863
  /** PollResultSnapshotMessage contextInfo */
22546
22864
  contextInfo?: (E2E.IContextInfo|null);
22865
+
22866
+ /** PollResultSnapshotMessage pollType */
22867
+ pollType?: (E2E.Message.PollType|null);
22547
22868
  }
22548
22869
 
22549
22870
  /** Represents a PollResultSnapshotMessage. */
@@ -22564,6 +22885,9 @@ export namespace E2E {
22564
22885
  /** PollResultSnapshotMessage contextInfo. */
22565
22886
  public contextInfo?: (E2E.IContextInfo|null);
22566
22887
 
22888
+ /** PollResultSnapshotMessage pollType. */
22889
+ public pollType: E2E.Message.PollType;
22890
+
22567
22891
  /**
22568
22892
  * Creates a new PollResultSnapshotMessage instance using the specified properties.
22569
22893
  * @param [properties] Properties to set
@@ -22748,6 +23072,12 @@ export namespace E2E {
22748
23072
  }
22749
23073
  }
22750
23074
 
23075
+ /** PollType enum. */
23076
+ enum PollType {
23077
+ POLL = 0,
23078
+ QUIZ = 1
23079
+ }
23080
+
22751
23081
  /** Properties of a PollUpdateMessage. */
22752
23082
  interface IPollUpdateMessage {
22753
23083
 
@@ -23939,6 +24269,115 @@ export namespace E2E {
23939
24269
  public static getTypeUrl(typeUrlPrefix?: string): string;
23940
24270
  }
23941
24271
 
24272
+ /** Properties of a RequestContactInfoMessage. */
24273
+ interface IRequestContactInfoMessage {
24274
+
24275
+ /** RequestContactInfoMessage text */
24276
+ text?: (string|null);
24277
+
24278
+ /** RequestContactInfoMessage ctaButtonText */
24279
+ ctaButtonText?: (string|null);
24280
+
24281
+ /** RequestContactInfoMessage contextInfo */
24282
+ contextInfo?: (E2E.IContextInfo|null);
24283
+ }
24284
+
24285
+ /** Represents a RequestContactInfoMessage. */
24286
+ class RequestContactInfoMessage implements IRequestContactInfoMessage {
24287
+
24288
+ /**
24289
+ * Constructs a new RequestContactInfoMessage.
24290
+ * @param [properties] Properties to set
24291
+ */
24292
+ constructor(properties?: E2E.Message.IRequestContactInfoMessage);
24293
+
24294
+ /** RequestContactInfoMessage text. */
24295
+ public text: string;
24296
+
24297
+ /** RequestContactInfoMessage ctaButtonText. */
24298
+ public ctaButtonText: string;
24299
+
24300
+ /** RequestContactInfoMessage contextInfo. */
24301
+ public contextInfo?: (E2E.IContextInfo|null);
24302
+
24303
+ /**
24304
+ * Creates a new RequestContactInfoMessage instance using the specified properties.
24305
+ * @param [properties] Properties to set
24306
+ * @returns RequestContactInfoMessage instance
24307
+ */
24308
+ public static create(properties?: E2E.Message.IRequestContactInfoMessage): E2E.Message.RequestContactInfoMessage;
24309
+
24310
+ /**
24311
+ * Encodes the specified RequestContactInfoMessage message. Does not implicitly {@link E2E.Message.RequestContactInfoMessage.verify|verify} messages.
24312
+ * @param message RequestContactInfoMessage message or plain object to encode
24313
+ * @param [writer] Writer to encode to
24314
+ * @returns Writer
24315
+ */
24316
+ public static encode(message: E2E.Message.IRequestContactInfoMessage, writer?: $protobuf.Writer): $protobuf.Writer;
24317
+
24318
+ /**
24319
+ * Encodes the specified RequestContactInfoMessage message, length delimited. Does not implicitly {@link E2E.Message.RequestContactInfoMessage.verify|verify} messages.
24320
+ * @param message RequestContactInfoMessage message or plain object to encode
24321
+ * @param [writer] Writer to encode to
24322
+ * @returns Writer
24323
+ */
24324
+ public static encodeDelimited(message: E2E.Message.IRequestContactInfoMessage, writer?: $protobuf.Writer): $protobuf.Writer;
24325
+
24326
+ /**
24327
+ * Decodes a RequestContactInfoMessage message from the specified reader or buffer.
24328
+ * @param reader Reader or buffer to decode from
24329
+ * @param [length] Message length if known beforehand
24330
+ * @returns RequestContactInfoMessage
24331
+ * @throws {Error} If the payload is not a reader or valid buffer
24332
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
24333
+ */
24334
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.Message.RequestContactInfoMessage;
24335
+
24336
+ /**
24337
+ * Decodes a RequestContactInfoMessage message from the specified reader or buffer, length delimited.
24338
+ * @param reader Reader or buffer to decode from
24339
+ * @returns RequestContactInfoMessage
24340
+ * @throws {Error} If the payload is not a reader or valid buffer
24341
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
24342
+ */
24343
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.Message.RequestContactInfoMessage;
24344
+
24345
+ /**
24346
+ * Verifies a RequestContactInfoMessage message.
24347
+ * @param message Plain object to verify
24348
+ * @returns `null` if valid, otherwise the reason why it is not
24349
+ */
24350
+ public static verify(message: { [k: string]: any }): (string|null);
24351
+
24352
+ /**
24353
+ * Creates a RequestContactInfoMessage message from a plain object. Also converts values to their respective internal types.
24354
+ * @param object Plain object
24355
+ * @returns RequestContactInfoMessage
24356
+ */
24357
+ public static fromObject(object: { [k: string]: any }): E2E.Message.RequestContactInfoMessage;
24358
+
24359
+ /**
24360
+ * Creates a plain object from a RequestContactInfoMessage message. Also converts values to other types if specified.
24361
+ * @param message RequestContactInfoMessage
24362
+ * @param [options] Conversion options
24363
+ * @returns Plain object
24364
+ */
24365
+ public static toObject(message: E2E.Message.RequestContactInfoMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
24366
+
24367
+ /**
24368
+ * Converts this RequestContactInfoMessage to JSON.
24369
+ * @returns JSON object
24370
+ */
24371
+ public toJSON(): { [k: string]: any };
24372
+
24373
+ /**
24374
+ * Gets the default type url for RequestContactInfoMessage
24375
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
24376
+ * @returns The default type url
24377
+ */
24378
+ public static getTypeUrl(typeUrlPrefix?: string): string;
24379
+ }
24380
+
23942
24381
  /** Properties of a RequestPaymentMessage. */
23943
24382
  interface IRequestPaymentMessage {
23944
24383
 
@@ -25195,6 +25634,124 @@ export namespace E2E {
25195
25634
  }
25196
25635
  }
25197
25636
 
25637
+ /** Properties of a StatusStickerInteractionMessage. */
25638
+ interface IStatusStickerInteractionMessage {
25639
+
25640
+ /** StatusStickerInteractionMessage key */
25641
+ key?: (Protocol.IMessageKey|null);
25642
+
25643
+ /** StatusStickerInteractionMessage stickerKey */
25644
+ stickerKey?: (string|null);
25645
+
25646
+ /** StatusStickerInteractionMessage type */
25647
+ type?: (E2E.Message.StatusStickerInteractionMessage.StatusStickerType|null);
25648
+ }
25649
+
25650
+ /** Represents a StatusStickerInteractionMessage. */
25651
+ class StatusStickerInteractionMessage implements IStatusStickerInteractionMessage {
25652
+
25653
+ /**
25654
+ * Constructs a new StatusStickerInteractionMessage.
25655
+ * @param [properties] Properties to set
25656
+ */
25657
+ constructor(properties?: E2E.Message.IStatusStickerInteractionMessage);
25658
+
25659
+ /** StatusStickerInteractionMessage key. */
25660
+ public key?: (Protocol.IMessageKey|null);
25661
+
25662
+ /** StatusStickerInteractionMessage stickerKey. */
25663
+ public stickerKey: string;
25664
+
25665
+ /** StatusStickerInteractionMessage type. */
25666
+ public type: E2E.Message.StatusStickerInteractionMessage.StatusStickerType;
25667
+
25668
+ /**
25669
+ * Creates a new StatusStickerInteractionMessage instance using the specified properties.
25670
+ * @param [properties] Properties to set
25671
+ * @returns StatusStickerInteractionMessage instance
25672
+ */
25673
+ public static create(properties?: E2E.Message.IStatusStickerInteractionMessage): E2E.Message.StatusStickerInteractionMessage;
25674
+
25675
+ /**
25676
+ * Encodes the specified StatusStickerInteractionMessage message. Does not implicitly {@link E2E.Message.StatusStickerInteractionMessage.verify|verify} messages.
25677
+ * @param message StatusStickerInteractionMessage message or plain object to encode
25678
+ * @param [writer] Writer to encode to
25679
+ * @returns Writer
25680
+ */
25681
+ public static encode(message: E2E.Message.IStatusStickerInteractionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
25682
+
25683
+ /**
25684
+ * Encodes the specified StatusStickerInteractionMessage message, length delimited. Does not implicitly {@link E2E.Message.StatusStickerInteractionMessage.verify|verify} messages.
25685
+ * @param message StatusStickerInteractionMessage message or plain object to encode
25686
+ * @param [writer] Writer to encode to
25687
+ * @returns Writer
25688
+ */
25689
+ public static encodeDelimited(message: E2E.Message.IStatusStickerInteractionMessage, writer?: $protobuf.Writer): $protobuf.Writer;
25690
+
25691
+ /**
25692
+ * Decodes a StatusStickerInteractionMessage message from the specified reader or buffer.
25693
+ * @param reader Reader or buffer to decode from
25694
+ * @param [length] Message length if known beforehand
25695
+ * @returns StatusStickerInteractionMessage
25696
+ * @throws {Error} If the payload is not a reader or valid buffer
25697
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25698
+ */
25699
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): E2E.Message.StatusStickerInteractionMessage;
25700
+
25701
+ /**
25702
+ * Decodes a StatusStickerInteractionMessage message from the specified reader or buffer, length delimited.
25703
+ * @param reader Reader or buffer to decode from
25704
+ * @returns StatusStickerInteractionMessage
25705
+ * @throws {Error} If the payload is not a reader or valid buffer
25706
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25707
+ */
25708
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): E2E.Message.StatusStickerInteractionMessage;
25709
+
25710
+ /**
25711
+ * Verifies a StatusStickerInteractionMessage message.
25712
+ * @param message Plain object to verify
25713
+ * @returns `null` if valid, otherwise the reason why it is not
25714
+ */
25715
+ public static verify(message: { [k: string]: any }): (string|null);
25716
+
25717
+ /**
25718
+ * Creates a StatusStickerInteractionMessage message from a plain object. Also converts values to their respective internal types.
25719
+ * @param object Plain object
25720
+ * @returns StatusStickerInteractionMessage
25721
+ */
25722
+ public static fromObject(object: { [k: string]: any }): E2E.Message.StatusStickerInteractionMessage;
25723
+
25724
+ /**
25725
+ * Creates a plain object from a StatusStickerInteractionMessage message. Also converts values to other types if specified.
25726
+ * @param message StatusStickerInteractionMessage
25727
+ * @param [options] Conversion options
25728
+ * @returns Plain object
25729
+ */
25730
+ public static toObject(message: E2E.Message.StatusStickerInteractionMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
25731
+
25732
+ /**
25733
+ * Converts this StatusStickerInteractionMessage to JSON.
25734
+ * @returns JSON object
25735
+ */
25736
+ public toJSON(): { [k: string]: any };
25737
+
25738
+ /**
25739
+ * Gets the default type url for StatusStickerInteractionMessage
25740
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25741
+ * @returns The default type url
25742
+ */
25743
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25744
+ }
25745
+
25746
+ namespace StatusStickerInteractionMessage {
25747
+
25748
+ /** StatusStickerType enum. */
25749
+ enum StatusStickerType {
25750
+ UNKNOWN = 0,
25751
+ REACTION = 1
25752
+ }
25753
+ }
25754
+
25198
25755
  /** Properties of a StickerMessage. */
25199
25756
  interface IStickerMessage {
25200
25757
 
@@ -29161,6 +29718,109 @@ export namespace AICommon {
29161
29718
  public static getTypeUrl(typeUrlPrefix?: string): string;
29162
29719
  }
29163
29720
 
29721
+ /** Properties of a BotMessageSharingInfo. */
29722
+ interface IBotMessageSharingInfo {
29723
+
29724
+ /** BotMessageSharingInfo botEntryPointOrigin */
29725
+ botEntryPointOrigin?: (AICommon.BotMetricsEntryPoint|null);
29726
+
29727
+ /** BotMessageSharingInfo forwardScore */
29728
+ forwardScore?: (number|null);
29729
+ }
29730
+
29731
+ /** Represents a BotMessageSharingInfo. */
29732
+ class BotMessageSharingInfo implements IBotMessageSharingInfo {
29733
+
29734
+ /**
29735
+ * Constructs a new BotMessageSharingInfo.
29736
+ * @param [properties] Properties to set
29737
+ */
29738
+ constructor(properties?: AICommon.IBotMessageSharingInfo);
29739
+
29740
+ /** BotMessageSharingInfo botEntryPointOrigin. */
29741
+ public botEntryPointOrigin: AICommon.BotMetricsEntryPoint;
29742
+
29743
+ /** BotMessageSharingInfo forwardScore. */
29744
+ public forwardScore: number;
29745
+
29746
+ /**
29747
+ * Creates a new BotMessageSharingInfo instance using the specified properties.
29748
+ * @param [properties] Properties to set
29749
+ * @returns BotMessageSharingInfo instance
29750
+ */
29751
+ public static create(properties?: AICommon.IBotMessageSharingInfo): AICommon.BotMessageSharingInfo;
29752
+
29753
+ /**
29754
+ * Encodes the specified BotMessageSharingInfo message. Does not implicitly {@link AICommon.BotMessageSharingInfo.verify|verify} messages.
29755
+ * @param message BotMessageSharingInfo message or plain object to encode
29756
+ * @param [writer] Writer to encode to
29757
+ * @returns Writer
29758
+ */
29759
+ public static encode(message: AICommon.IBotMessageSharingInfo, writer?: $protobuf.Writer): $protobuf.Writer;
29760
+
29761
+ /**
29762
+ * Encodes the specified BotMessageSharingInfo message, length delimited. Does not implicitly {@link AICommon.BotMessageSharingInfo.verify|verify} messages.
29763
+ * @param message BotMessageSharingInfo message or plain object to encode
29764
+ * @param [writer] Writer to encode to
29765
+ * @returns Writer
29766
+ */
29767
+ public static encodeDelimited(message: AICommon.IBotMessageSharingInfo, writer?: $protobuf.Writer): $protobuf.Writer;
29768
+
29769
+ /**
29770
+ * Decodes a BotMessageSharingInfo message from the specified reader or buffer.
29771
+ * @param reader Reader or buffer to decode from
29772
+ * @param [length] Message length if known beforehand
29773
+ * @returns BotMessageSharingInfo
29774
+ * @throws {Error} If the payload is not a reader or valid buffer
29775
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29776
+ */
29777
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AICommon.BotMessageSharingInfo;
29778
+
29779
+ /**
29780
+ * Decodes a BotMessageSharingInfo message from the specified reader or buffer, length delimited.
29781
+ * @param reader Reader or buffer to decode from
29782
+ * @returns BotMessageSharingInfo
29783
+ * @throws {Error} If the payload is not a reader or valid buffer
29784
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29785
+ */
29786
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AICommon.BotMessageSharingInfo;
29787
+
29788
+ /**
29789
+ * Verifies a BotMessageSharingInfo message.
29790
+ * @param message Plain object to verify
29791
+ * @returns `null` if valid, otherwise the reason why it is not
29792
+ */
29793
+ public static verify(message: { [k: string]: any }): (string|null);
29794
+
29795
+ /**
29796
+ * Creates a BotMessageSharingInfo message from a plain object. Also converts values to their respective internal types.
29797
+ * @param object Plain object
29798
+ * @returns BotMessageSharingInfo
29799
+ */
29800
+ public static fromObject(object: { [k: string]: any }): AICommon.BotMessageSharingInfo;
29801
+
29802
+ /**
29803
+ * Creates a plain object from a BotMessageSharingInfo message. Also converts values to other types if specified.
29804
+ * @param message BotMessageSharingInfo
29805
+ * @param [options] Conversion options
29806
+ * @returns Plain object
29807
+ */
29808
+ public static toObject(message: AICommon.BotMessageSharingInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
29809
+
29810
+ /**
29811
+ * Converts this BotMessageSharingInfo to JSON.
29812
+ * @returns JSON object
29813
+ */
29814
+ public toJSON(): { [k: string]: any };
29815
+
29816
+ /**
29817
+ * Gets the default type url for BotMessageSharingInfo
29818
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
29819
+ * @returns The default type url
29820
+ */
29821
+ public static getTypeUrl(typeUrlPrefix?: string): string;
29822
+ }
29823
+
29164
29824
  /** Properties of a ForwardedAIBotMessageInfo. */
29165
29825
  interface IForwardedAIBotMessageInfo {
29166
29826
 
@@ -31571,6 +32231,9 @@ export namespace AICommon {
31571
32231
 
31572
32232
  /** BotAgeCollectionMetadata shouldTriggerAgeCollectionOnClient */
31573
32233
  shouldTriggerAgeCollectionOnClient?: (boolean|null);
32234
+
32235
+ /** BotAgeCollectionMetadata ageCollectionType */
32236
+ ageCollectionType?: (AICommon.BotAgeCollectionMetadata.AgeCollectionType|null);
31574
32237
  }
31575
32238
 
31576
32239
  /** Represents a BotAgeCollectionMetadata. */
@@ -31588,6 +32251,9 @@ export namespace AICommon {
31588
32251
  /** BotAgeCollectionMetadata shouldTriggerAgeCollectionOnClient. */
31589
32252
  public shouldTriggerAgeCollectionOnClient: boolean;
31590
32253
 
32254
+ /** BotAgeCollectionMetadata ageCollectionType. */
32255
+ public ageCollectionType: AICommon.BotAgeCollectionMetadata.AgeCollectionType;
32256
+
31591
32257
  /**
31592
32258
  * Creates a new BotAgeCollectionMetadata instance using the specified properties.
31593
32259
  * @param [properties] Properties to set
@@ -31666,6 +32332,15 @@ export namespace AICommon {
31666
32332
  public static getTypeUrl(typeUrlPrefix?: string): string;
31667
32333
  }
31668
32334
 
32335
+ namespace BotAgeCollectionMetadata {
32336
+
32337
+ /** AgeCollectionType enum. */
32338
+ enum AgeCollectionType {
32339
+ O18_BINARY = 0,
32340
+ WAFFLE = 1
32341
+ }
32342
+ }
32343
+
31669
32344
  /** Properties of a BotImagineMetadata. */
31670
32345
  interface IBotImagineMetadata {
31671
32346
 
@@ -32245,7 +32920,8 @@ export namespace AICommon {
32245
32920
  RICH_RESPONSE_UNIFIED_DOMAIN_CITATIONS = 42,
32246
32921
  RICH_RESPONSE_UR_INLINE_REELS_ENABLED = 43,
32247
32922
  RICH_RESPONSE_UR_MEDIA_GRID_ENABLED = 44,
32248
- RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45
32923
+ RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER = 45,
32924
+ RICH_RESPONSE_IN_APP_SURVEY = 46
32249
32925
  }
32250
32926
  }
32251
32927
 
@@ -35219,8 +35895,10 @@ export namespace AICommon {
35219
35895
  INVOKE_META_AI_GROUP = 30,
35220
35896
  META_AI_FORWARD = 31,
35221
35897
  NEW_CHAT_AI_CONTACT = 32,
35222
- MESSAGE_QUICK_ACTION = 33,
35223
- ATTACHMENT_TRAY = 34
35898
+ MESSAGE_QUICK_ACTION_1_ON_1_CHAT = 33,
35899
+ MESSAGE_QUICK_ACTION_GROUP_CHAT = 34,
35900
+ ATTACHMENT_TRAY_1_ON_1_CHAT = 35,
35901
+ ATTACHMENT_TRAY_GROUP_CHAT = 36
35224
35902
  }
35225
35903
  }
35226
35904
 
@@ -35604,7 +36282,8 @@ export namespace StatusAttributions {
35604
36282
  YOUTUBE = 5,
35605
36283
  PINTEREST = 6,
35606
36284
  THREADS = 7,
35607
- APPLE_MUSIC = 8
36285
+ APPLE_MUSIC = 8,
36286
+ SHARECHAT = 9
35608
36287
  }
35609
36288
  }
35610
36289
 
@@ -36179,7 +36858,8 @@ export namespace StatusAttributions {
36179
36858
  STATUS_MENTION = 4,
36180
36859
  GROUP_STATUS = 5,
36181
36860
  RL_ATTRIBUTION = 6,
36182
- AI_CREATED = 7
36861
+ AI_CREATED = 7,
36862
+ LAYOUTS = 8
36183
36863
  }
36184
36864
  }
36185
36865
  }
@@ -38203,116 +38883,117 @@ export namespace MmsRetry {
38203
38883
  /** Namespace Web. */
38204
38884
  export namespace Web {
38205
38885
 
38206
- /** Properties of a GroupHistoryBundleMessage. */
38207
- interface IGroupHistoryBundleMessage {
38886
+ /** Properties of a GroupHistoryBundleInfo. */
38887
+ interface IGroupHistoryBundleInfo {
38208
38888
 
38209
- /** GroupHistoryBundleMessage messageHistoryBundle */
38210
- messageHistoryBundle?: (E2E.Message.IMessageHistoryBundle|null);
38889
+ /** GroupHistoryBundleInfo deprecatedMessageHistoryBundle */
38890
+ deprecatedMessageHistoryBundle?: (E2E.Message.IMessageHistoryBundle|null);
38211
38891
 
38212
- /** GroupHistoryBundleMessage processState */
38213
- processState?: (Web.GroupHistoryBundleMessage.ProcessState|null);
38892
+ /** GroupHistoryBundleInfo processState */
38893
+ processState?: (Web.GroupHistoryBundleInfo.ProcessState|null);
38214
38894
  }
38215
38895
 
38216
- /** Represents a GroupHistoryBundleMessage. */
38217
- class GroupHistoryBundleMessage implements IGroupHistoryBundleMessage {
38896
+ /** Represents a GroupHistoryBundleInfo. */
38897
+ class GroupHistoryBundleInfo implements IGroupHistoryBundleInfo {
38218
38898
 
38219
38899
  /**
38220
- * Constructs a new GroupHistoryBundleMessage.
38900
+ * Constructs a new GroupHistoryBundleInfo.
38221
38901
  * @param [properties] Properties to set
38222
38902
  */
38223
- constructor(properties?: Web.IGroupHistoryBundleMessage);
38903
+ constructor(properties?: Web.IGroupHistoryBundleInfo);
38224
38904
 
38225
- /** GroupHistoryBundleMessage messageHistoryBundle. */
38226
- public messageHistoryBundle?: (E2E.Message.IMessageHistoryBundle|null);
38905
+ /** GroupHistoryBundleInfo deprecatedMessageHistoryBundle. */
38906
+ public deprecatedMessageHistoryBundle?: (E2E.Message.IMessageHistoryBundle|null);
38227
38907
 
38228
- /** GroupHistoryBundleMessage processState. */
38229
- public processState: Web.GroupHistoryBundleMessage.ProcessState;
38908
+ /** GroupHistoryBundleInfo processState. */
38909
+ public processState: Web.GroupHistoryBundleInfo.ProcessState;
38230
38910
 
38231
38911
  /**
38232
- * Creates a new GroupHistoryBundleMessage instance using the specified properties.
38912
+ * Creates a new GroupHistoryBundleInfo instance using the specified properties.
38233
38913
  * @param [properties] Properties to set
38234
- * @returns GroupHistoryBundleMessage instance
38914
+ * @returns GroupHistoryBundleInfo instance
38235
38915
  */
38236
- public static create(properties?: Web.IGroupHistoryBundleMessage): Web.GroupHistoryBundleMessage;
38916
+ public static create(properties?: Web.IGroupHistoryBundleInfo): Web.GroupHistoryBundleInfo;
38237
38917
 
38238
38918
  /**
38239
- * Encodes the specified GroupHistoryBundleMessage message. Does not implicitly {@link Web.GroupHistoryBundleMessage.verify|verify} messages.
38240
- * @param message GroupHistoryBundleMessage message or plain object to encode
38919
+ * Encodes the specified GroupHistoryBundleInfo message. Does not implicitly {@link Web.GroupHistoryBundleInfo.verify|verify} messages.
38920
+ * @param message GroupHistoryBundleInfo message or plain object to encode
38241
38921
  * @param [writer] Writer to encode to
38242
38922
  * @returns Writer
38243
38923
  */
38244
- public static encode(message: Web.IGroupHistoryBundleMessage, writer?: $protobuf.Writer): $protobuf.Writer;
38924
+ public static encode(message: Web.IGroupHistoryBundleInfo, writer?: $protobuf.Writer): $protobuf.Writer;
38245
38925
 
38246
38926
  /**
38247
- * Encodes the specified GroupHistoryBundleMessage message, length delimited. Does not implicitly {@link Web.GroupHistoryBundleMessage.verify|verify} messages.
38248
- * @param message GroupHistoryBundleMessage message or plain object to encode
38927
+ * Encodes the specified GroupHistoryBundleInfo message, length delimited. Does not implicitly {@link Web.GroupHistoryBundleInfo.verify|verify} messages.
38928
+ * @param message GroupHistoryBundleInfo message or plain object to encode
38249
38929
  * @param [writer] Writer to encode to
38250
38930
  * @returns Writer
38251
38931
  */
38252
- public static encodeDelimited(message: Web.IGroupHistoryBundleMessage, writer?: $protobuf.Writer): $protobuf.Writer;
38932
+ public static encodeDelimited(message: Web.IGroupHistoryBundleInfo, writer?: $protobuf.Writer): $protobuf.Writer;
38253
38933
 
38254
38934
  /**
38255
- * Decodes a GroupHistoryBundleMessage message from the specified reader or buffer.
38935
+ * Decodes a GroupHistoryBundleInfo message from the specified reader or buffer.
38256
38936
  * @param reader Reader or buffer to decode from
38257
38937
  * @param [length] Message length if known beforehand
38258
- * @returns GroupHistoryBundleMessage
38938
+ * @returns GroupHistoryBundleInfo
38259
38939
  * @throws {Error} If the payload is not a reader or valid buffer
38260
38940
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
38261
38941
  */
38262
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Web.GroupHistoryBundleMessage;
38942
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Web.GroupHistoryBundleInfo;
38263
38943
 
38264
38944
  /**
38265
- * Decodes a GroupHistoryBundleMessage message from the specified reader or buffer, length delimited.
38945
+ * Decodes a GroupHistoryBundleInfo message from the specified reader or buffer, length delimited.
38266
38946
  * @param reader Reader or buffer to decode from
38267
- * @returns GroupHistoryBundleMessage
38947
+ * @returns GroupHistoryBundleInfo
38268
38948
  * @throws {Error} If the payload is not a reader or valid buffer
38269
38949
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
38270
38950
  */
38271
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Web.GroupHistoryBundleMessage;
38951
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Web.GroupHistoryBundleInfo;
38272
38952
 
38273
38953
  /**
38274
- * Verifies a GroupHistoryBundleMessage message.
38954
+ * Verifies a GroupHistoryBundleInfo message.
38275
38955
  * @param message Plain object to verify
38276
38956
  * @returns `null` if valid, otherwise the reason why it is not
38277
38957
  */
38278
38958
  public static verify(message: { [k: string]: any }): (string|null);
38279
38959
 
38280
38960
  /**
38281
- * Creates a GroupHistoryBundleMessage message from a plain object. Also converts values to their respective internal types.
38961
+ * Creates a GroupHistoryBundleInfo message from a plain object. Also converts values to their respective internal types.
38282
38962
  * @param object Plain object
38283
- * @returns GroupHistoryBundleMessage
38963
+ * @returns GroupHistoryBundleInfo
38284
38964
  */
38285
- public static fromObject(object: { [k: string]: any }): Web.GroupHistoryBundleMessage;
38965
+ public static fromObject(object: { [k: string]: any }): Web.GroupHistoryBundleInfo;
38286
38966
 
38287
38967
  /**
38288
- * Creates a plain object from a GroupHistoryBundleMessage message. Also converts values to other types if specified.
38289
- * @param message GroupHistoryBundleMessage
38968
+ * Creates a plain object from a GroupHistoryBundleInfo message. Also converts values to other types if specified.
38969
+ * @param message GroupHistoryBundleInfo
38290
38970
  * @param [options] Conversion options
38291
38971
  * @returns Plain object
38292
38972
  */
38293
- public static toObject(message: Web.GroupHistoryBundleMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
38973
+ public static toObject(message: Web.GroupHistoryBundleInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
38294
38974
 
38295
38975
  /**
38296
- * Converts this GroupHistoryBundleMessage to JSON.
38976
+ * Converts this GroupHistoryBundleInfo to JSON.
38297
38977
  * @returns JSON object
38298
38978
  */
38299
38979
  public toJSON(): { [k: string]: any };
38300
38980
 
38301
38981
  /**
38302
- * Gets the default type url for GroupHistoryBundleMessage
38982
+ * Gets the default type url for GroupHistoryBundleInfo
38303
38983
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
38304
38984
  * @returns The default type url
38305
38985
  */
38306
38986
  public static getTypeUrl(typeUrlPrefix?: string): string;
38307
38987
  }
38308
38988
 
38309
- namespace GroupHistoryBundleMessage {
38989
+ namespace GroupHistoryBundleInfo {
38310
38990
 
38311
38991
  /** ProcessState enum. */
38312
38992
  enum ProcessState {
38313
- NOT_DOWNLOADED = 0,
38314
- DOWNLOADED = 1,
38315
- DOWNLOAD_FAILED = 2
38993
+ NOT_INJECTED = 0,
38994
+ INJECTED = 1,
38995
+ INJECTED_PARTIAL = 2,
38996
+ INJECTION_FAILED = 3
38316
38997
  }
38317
38998
  }
38318
38999
 
@@ -39549,6 +40230,103 @@ export namespace Web {
39549
40230
  public static getTypeUrl(typeUrlPrefix?: string): string;
39550
40231
  }
39551
40232
 
40233
+ /** Properties of an InteractiveMessageAdditionalMetadata. */
40234
+ interface IInteractiveMessageAdditionalMetadata {
40235
+
40236
+ /** InteractiveMessageAdditionalMetadata isGalaxyFlowCompleted */
40237
+ isGalaxyFlowCompleted?: (boolean|null);
40238
+ }
40239
+
40240
+ /** Represents an InteractiveMessageAdditionalMetadata. */
40241
+ class InteractiveMessageAdditionalMetadata implements IInteractiveMessageAdditionalMetadata {
40242
+
40243
+ /**
40244
+ * Constructs a new InteractiveMessageAdditionalMetadata.
40245
+ * @param [properties] Properties to set
40246
+ */
40247
+ constructor(properties?: Web.IInteractiveMessageAdditionalMetadata);
40248
+
40249
+ /** InteractiveMessageAdditionalMetadata isGalaxyFlowCompleted. */
40250
+ public isGalaxyFlowCompleted: boolean;
40251
+
40252
+ /**
40253
+ * Creates a new InteractiveMessageAdditionalMetadata instance using the specified properties.
40254
+ * @param [properties] Properties to set
40255
+ * @returns InteractiveMessageAdditionalMetadata instance
40256
+ */
40257
+ public static create(properties?: Web.IInteractiveMessageAdditionalMetadata): Web.InteractiveMessageAdditionalMetadata;
40258
+
40259
+ /**
40260
+ * Encodes the specified InteractiveMessageAdditionalMetadata message. Does not implicitly {@link Web.InteractiveMessageAdditionalMetadata.verify|verify} messages.
40261
+ * @param message InteractiveMessageAdditionalMetadata message or plain object to encode
40262
+ * @param [writer] Writer to encode to
40263
+ * @returns Writer
40264
+ */
40265
+ public static encode(message: Web.IInteractiveMessageAdditionalMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
40266
+
40267
+ /**
40268
+ * Encodes the specified InteractiveMessageAdditionalMetadata message, length delimited. Does not implicitly {@link Web.InteractiveMessageAdditionalMetadata.verify|verify} messages.
40269
+ * @param message InteractiveMessageAdditionalMetadata message or plain object to encode
40270
+ * @param [writer] Writer to encode to
40271
+ * @returns Writer
40272
+ */
40273
+ public static encodeDelimited(message: Web.IInteractiveMessageAdditionalMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
40274
+
40275
+ /**
40276
+ * Decodes an InteractiveMessageAdditionalMetadata message from the specified reader or buffer.
40277
+ * @param reader Reader or buffer to decode from
40278
+ * @param [length] Message length if known beforehand
40279
+ * @returns InteractiveMessageAdditionalMetadata
40280
+ * @throws {Error} If the payload is not a reader or valid buffer
40281
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40282
+ */
40283
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Web.InteractiveMessageAdditionalMetadata;
40284
+
40285
+ /**
40286
+ * Decodes an InteractiveMessageAdditionalMetadata message from the specified reader or buffer, length delimited.
40287
+ * @param reader Reader or buffer to decode from
40288
+ * @returns InteractiveMessageAdditionalMetadata
40289
+ * @throws {Error} If the payload is not a reader or valid buffer
40290
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
40291
+ */
40292
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Web.InteractiveMessageAdditionalMetadata;
40293
+
40294
+ /**
40295
+ * Verifies an InteractiveMessageAdditionalMetadata message.
40296
+ * @param message Plain object to verify
40297
+ * @returns `null` if valid, otherwise the reason why it is not
40298
+ */
40299
+ public static verify(message: { [k: string]: any }): (string|null);
40300
+
40301
+ /**
40302
+ * Creates an InteractiveMessageAdditionalMetadata message from a plain object. Also converts values to their respective internal types.
40303
+ * @param object Plain object
40304
+ * @returns InteractiveMessageAdditionalMetadata
40305
+ */
40306
+ public static fromObject(object: { [k: string]: any }): Web.InteractiveMessageAdditionalMetadata;
40307
+
40308
+ /**
40309
+ * Creates a plain object from an InteractiveMessageAdditionalMetadata message. Also converts values to other types if specified.
40310
+ * @param message InteractiveMessageAdditionalMetadata
40311
+ * @param [options] Conversion options
40312
+ * @returns Plain object
40313
+ */
40314
+ public static toObject(message: Web.InteractiveMessageAdditionalMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
40315
+
40316
+ /**
40317
+ * Converts this InteractiveMessageAdditionalMetadata to JSON.
40318
+ * @returns JSON object
40319
+ */
40320
+ public toJSON(): { [k: string]: any };
40321
+
40322
+ /**
40323
+ * Gets the default type url for InteractiveMessageAdditionalMetadata
40324
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
40325
+ * @returns The default type url
40326
+ */
40327
+ public static getTypeUrl(typeUrlPrefix?: string): string;
40328
+ }
40329
+
39552
40330
  /** Properties of a PollAdditionalMetadata. */
39553
40331
  interface IPollAdditionalMetadata {
39554
40332
 
@@ -41548,8 +42326,11 @@ export namespace Web {
41548
42326
  /** WebMessageInfo groupHistoryIndividualMessageInfo */
41549
42327
  groupHistoryIndividualMessageInfo?: (Web.IGroupHistoryIndividualMessageInfo|null);
41550
42328
 
41551
- /** WebMessageInfo groupHistoryBundleMessage */
41552
- groupHistoryBundleMessage?: (Web.IGroupHistoryBundleMessage|null);
42329
+ /** WebMessageInfo groupHistoryBundleInfo */
42330
+ groupHistoryBundleInfo?: (Web.IGroupHistoryBundleInfo|null);
42331
+
42332
+ /** WebMessageInfo interactiveMessageAdditionalMetadata */
42333
+ interactiveMessageAdditionalMetadata?: (Web.IInteractiveMessageAdditionalMetadata|null);
41553
42334
  }
41554
42335
 
41555
42336
  /** Represents a WebMessageInfo. */
@@ -41750,8 +42531,11 @@ export namespace Web {
41750
42531
  /** WebMessageInfo groupHistoryIndividualMessageInfo. */
41751
42532
  public groupHistoryIndividualMessageInfo?: (Web.IGroupHistoryIndividualMessageInfo|null);
41752
42533
 
41753
- /** WebMessageInfo groupHistoryBundleMessage. */
41754
- public groupHistoryBundleMessage?: (Web.IGroupHistoryBundleMessage|null);
42534
+ /** WebMessageInfo groupHistoryBundleInfo. */
42535
+ public groupHistoryBundleInfo?: (Web.IGroupHistoryBundleInfo|null);
42536
+
42537
+ /** WebMessageInfo interactiveMessageAdditionalMetadata. */
42538
+ public interactiveMessageAdditionalMetadata?: (Web.IInteractiveMessageAdditionalMetadata|null);
41755
42539
 
41756
42540
  /**
41757
42541
  * Creates a new WebMessageInfo instance using the specified properties.
@@ -42249,7 +43033,10 @@ export namespace SyncAction {
42249
43033
  UWP = 5,
42250
43034
  DARWIN = 6,
42251
43035
  IPAD = 7,
42252
- WEAROS = 8
43036
+ WEAROS = 8,
43037
+ WASG = 9,
43038
+ WEARM = 10,
43039
+ CAPI = 11
42253
43040
  }
42254
43041
  }
42255
43042
 
@@ -42562,6 +43349,12 @@ export namespace SyncAction {
42562
43349
 
42563
43350
  /** SyncActionValue statusPostOptInNotificationPreferencesAction */
42564
43351
  statusPostOptInNotificationPreferencesAction?: (SyncAction.SyncActionValue.IStatusPostOptInNotificationPreferencesAction|null);
43352
+
43353
+ /** SyncActionValue avatarUpdatedAction */
43354
+ avatarUpdatedAction?: (SyncAction.SyncActionValue.IAvatarUpdatedAction|null);
43355
+
43356
+ /** SyncActionValue galaxyFlowAction */
43357
+ galaxyFlowAction?: (SyncAction.SyncActionValue.IGalaxyFlowAction|null);
42565
43358
  }
42566
43359
 
42567
43360
  /** Represents a SyncActionValue. */
@@ -42765,6 +43558,12 @@ export namespace SyncAction {
42765
43558
  /** SyncActionValue statusPostOptInNotificationPreferencesAction. */
42766
43559
  public statusPostOptInNotificationPreferencesAction?: (SyncAction.SyncActionValue.IStatusPostOptInNotificationPreferencesAction|null);
42767
43560
 
43561
+ /** SyncActionValue avatarUpdatedAction. */
43562
+ public avatarUpdatedAction?: (SyncAction.SyncActionValue.IAvatarUpdatedAction|null);
43563
+
43564
+ /** SyncActionValue galaxyFlowAction. */
43565
+ public galaxyFlowAction?: (SyncAction.SyncActionValue.IGalaxyFlowAction|null);
43566
+
42768
43567
  /**
42769
43568
  * Creates a new SyncActionValue instance using the specified properties.
42770
43569
  * @param [properties] Properties to set
@@ -43154,6 +43953,119 @@ export namespace SyncAction {
43154
43953
  public static getTypeUrl(typeUrlPrefix?: string): string;
43155
43954
  }
43156
43955
 
43956
+ /** Properties of an AvatarUpdatedAction. */
43957
+ interface IAvatarUpdatedAction {
43958
+
43959
+ /** AvatarUpdatedAction eventType */
43960
+ eventType?: (SyncAction.SyncActionValue.AvatarUpdatedAction.AvatarEventType|null);
43961
+
43962
+ /** AvatarUpdatedAction recentAvatarStickers */
43963
+ recentAvatarStickers?: (SyncAction.SyncActionValue.IStickerAction[]|null);
43964
+ }
43965
+
43966
+ /** Represents an AvatarUpdatedAction. */
43967
+ class AvatarUpdatedAction implements IAvatarUpdatedAction {
43968
+
43969
+ /**
43970
+ * Constructs a new AvatarUpdatedAction.
43971
+ * @param [properties] Properties to set
43972
+ */
43973
+ constructor(properties?: SyncAction.SyncActionValue.IAvatarUpdatedAction);
43974
+
43975
+ /** AvatarUpdatedAction eventType. */
43976
+ public eventType: SyncAction.SyncActionValue.AvatarUpdatedAction.AvatarEventType;
43977
+
43978
+ /** AvatarUpdatedAction recentAvatarStickers. */
43979
+ public recentAvatarStickers: SyncAction.SyncActionValue.IStickerAction[];
43980
+
43981
+ /**
43982
+ * Creates a new AvatarUpdatedAction instance using the specified properties.
43983
+ * @param [properties] Properties to set
43984
+ * @returns AvatarUpdatedAction instance
43985
+ */
43986
+ public static create(properties?: SyncAction.SyncActionValue.IAvatarUpdatedAction): SyncAction.SyncActionValue.AvatarUpdatedAction;
43987
+
43988
+ /**
43989
+ * Encodes the specified AvatarUpdatedAction message. Does not implicitly {@link SyncAction.SyncActionValue.AvatarUpdatedAction.verify|verify} messages.
43990
+ * @param message AvatarUpdatedAction message or plain object to encode
43991
+ * @param [writer] Writer to encode to
43992
+ * @returns Writer
43993
+ */
43994
+ public static encode(message: SyncAction.SyncActionValue.IAvatarUpdatedAction, writer?: $protobuf.Writer): $protobuf.Writer;
43995
+
43996
+ /**
43997
+ * Encodes the specified AvatarUpdatedAction message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.AvatarUpdatedAction.verify|verify} messages.
43998
+ * @param message AvatarUpdatedAction message or plain object to encode
43999
+ * @param [writer] Writer to encode to
44000
+ * @returns Writer
44001
+ */
44002
+ public static encodeDelimited(message: SyncAction.SyncActionValue.IAvatarUpdatedAction, writer?: $protobuf.Writer): $protobuf.Writer;
44003
+
44004
+ /**
44005
+ * Decodes an AvatarUpdatedAction message from the specified reader or buffer.
44006
+ * @param reader Reader or buffer to decode from
44007
+ * @param [length] Message length if known beforehand
44008
+ * @returns AvatarUpdatedAction
44009
+ * @throws {Error} If the payload is not a reader or valid buffer
44010
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
44011
+ */
44012
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.AvatarUpdatedAction;
44013
+
44014
+ /**
44015
+ * Decodes an AvatarUpdatedAction message from the specified reader or buffer, length delimited.
44016
+ * @param reader Reader or buffer to decode from
44017
+ * @returns AvatarUpdatedAction
44018
+ * @throws {Error} If the payload is not a reader or valid buffer
44019
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
44020
+ */
44021
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.AvatarUpdatedAction;
44022
+
44023
+ /**
44024
+ * Verifies an AvatarUpdatedAction message.
44025
+ * @param message Plain object to verify
44026
+ * @returns `null` if valid, otherwise the reason why it is not
44027
+ */
44028
+ public static verify(message: { [k: string]: any }): (string|null);
44029
+
44030
+ /**
44031
+ * Creates an AvatarUpdatedAction message from a plain object. Also converts values to their respective internal types.
44032
+ * @param object Plain object
44033
+ * @returns AvatarUpdatedAction
44034
+ */
44035
+ public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.AvatarUpdatedAction;
44036
+
44037
+ /**
44038
+ * Creates a plain object from an AvatarUpdatedAction message. Also converts values to other types if specified.
44039
+ * @param message AvatarUpdatedAction
44040
+ * @param [options] Conversion options
44041
+ * @returns Plain object
44042
+ */
44043
+ public static toObject(message: SyncAction.SyncActionValue.AvatarUpdatedAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
44044
+
44045
+ /**
44046
+ * Converts this AvatarUpdatedAction to JSON.
44047
+ * @returns JSON object
44048
+ */
44049
+ public toJSON(): { [k: string]: any };
44050
+
44051
+ /**
44052
+ * Gets the default type url for AvatarUpdatedAction
44053
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
44054
+ * @returns The default type url
44055
+ */
44056
+ public static getTypeUrl(typeUrlPrefix?: string): string;
44057
+ }
44058
+
44059
+ namespace AvatarUpdatedAction {
44060
+
44061
+ /** AvatarEventType enum. */
44062
+ enum AvatarEventType {
44063
+ UPDATED = 0,
44064
+ CREATED = 1,
44065
+ DELETED = 2
44066
+ }
44067
+ }
44068
+
43157
44069
  /** Properties of a BotWelcomeRequestAction. */
43158
44070
  interface IBotWelcomeRequestAction {
43159
44071
 
@@ -45181,6 +46093,111 @@ export namespace SyncAction {
45181
46093
  }
45182
46094
  }
45183
46095
 
46096
+ /** Properties of a GalaxyFlowAction. */
46097
+ interface IGalaxyFlowAction {
46098
+
46099
+ /** GalaxyFlowAction type */
46100
+ type: SyncAction.SyncActionValue.GalaxyFlowAction.GalaxyFlowActionType;
46101
+ }
46102
+
46103
+ /** Represents a GalaxyFlowAction. */
46104
+ class GalaxyFlowAction implements IGalaxyFlowAction {
46105
+
46106
+ /**
46107
+ * Constructs a new GalaxyFlowAction.
46108
+ * @param [properties] Properties to set
46109
+ */
46110
+ constructor(properties?: SyncAction.SyncActionValue.IGalaxyFlowAction);
46111
+
46112
+ /** GalaxyFlowAction type. */
46113
+ public type: SyncAction.SyncActionValue.GalaxyFlowAction.GalaxyFlowActionType;
46114
+
46115
+ /**
46116
+ * Creates a new GalaxyFlowAction instance using the specified properties.
46117
+ * @param [properties] Properties to set
46118
+ * @returns GalaxyFlowAction instance
46119
+ */
46120
+ public static create(properties?: SyncAction.SyncActionValue.IGalaxyFlowAction): SyncAction.SyncActionValue.GalaxyFlowAction;
46121
+
46122
+ /**
46123
+ * Encodes the specified GalaxyFlowAction message. Does not implicitly {@link SyncAction.SyncActionValue.GalaxyFlowAction.verify|verify} messages.
46124
+ * @param message GalaxyFlowAction message or plain object to encode
46125
+ * @param [writer] Writer to encode to
46126
+ * @returns Writer
46127
+ */
46128
+ public static encode(message: SyncAction.SyncActionValue.IGalaxyFlowAction, writer?: $protobuf.Writer): $protobuf.Writer;
46129
+
46130
+ /**
46131
+ * Encodes the specified GalaxyFlowAction message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.GalaxyFlowAction.verify|verify} messages.
46132
+ * @param message GalaxyFlowAction message or plain object to encode
46133
+ * @param [writer] Writer to encode to
46134
+ * @returns Writer
46135
+ */
46136
+ public static encodeDelimited(message: SyncAction.SyncActionValue.IGalaxyFlowAction, writer?: $protobuf.Writer): $protobuf.Writer;
46137
+
46138
+ /**
46139
+ * Decodes a GalaxyFlowAction message from the specified reader or buffer.
46140
+ * @param reader Reader or buffer to decode from
46141
+ * @param [length] Message length if known beforehand
46142
+ * @returns GalaxyFlowAction
46143
+ * @throws {Error} If the payload is not a reader or valid buffer
46144
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
46145
+ */
46146
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.GalaxyFlowAction;
46147
+
46148
+ /**
46149
+ * Decodes a GalaxyFlowAction message from the specified reader or buffer, length delimited.
46150
+ * @param reader Reader or buffer to decode from
46151
+ * @returns GalaxyFlowAction
46152
+ * @throws {Error} If the payload is not a reader or valid buffer
46153
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
46154
+ */
46155
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.GalaxyFlowAction;
46156
+
46157
+ /**
46158
+ * Verifies a GalaxyFlowAction message.
46159
+ * @param message Plain object to verify
46160
+ * @returns `null` if valid, otherwise the reason why it is not
46161
+ */
46162
+ public static verify(message: { [k: string]: any }): (string|null);
46163
+
46164
+ /**
46165
+ * Creates a GalaxyFlowAction message from a plain object. Also converts values to their respective internal types.
46166
+ * @param object Plain object
46167
+ * @returns GalaxyFlowAction
46168
+ */
46169
+ public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.GalaxyFlowAction;
46170
+
46171
+ /**
46172
+ * Creates a plain object from a GalaxyFlowAction message. Also converts values to other types if specified.
46173
+ * @param message GalaxyFlowAction
46174
+ * @param [options] Conversion options
46175
+ * @returns Plain object
46176
+ */
46177
+ public static toObject(message: SyncAction.SyncActionValue.GalaxyFlowAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
46178
+
46179
+ /**
46180
+ * Converts this GalaxyFlowAction to JSON.
46181
+ * @returns JSON object
46182
+ */
46183
+ public toJSON(): { [k: string]: any };
46184
+
46185
+ /**
46186
+ * Gets the default type url for GalaxyFlowAction
46187
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
46188
+ * @returns The default type url
46189
+ */
46190
+ public static getTypeUrl(typeUrlPrefix?: string): string;
46191
+ }
46192
+
46193
+ namespace GalaxyFlowAction {
46194
+
46195
+ /** GalaxyFlowActionType enum. */
46196
+ enum GalaxyFlowActionType {
46197
+ LAUNCH = 1
46198
+ }
46199
+ }
46200
+
45184
46201
  /** Properties of a KeyExpiration. */
45185
46202
  interface IKeyExpiration {
45186
46203
 
@@ -50276,6 +51293,9 @@ export namespace DeviceCapabilities {
50276
51293
 
50277
51294
  /** DeviceCapabilities businessBroadcast */
50278
51295
  businessBroadcast?: (DeviceCapabilities.DeviceCapabilities.IBusinessBroadcast|null);
51296
+
51297
+ /** DeviceCapabilities userHasAvatar */
51298
+ userHasAvatar?: (DeviceCapabilities.DeviceCapabilities.IUserHasAvatar|null);
50279
51299
  }
50280
51300
 
50281
51301
  /** Represents a DeviceCapabilities. */
@@ -50296,6 +51316,9 @@ export namespace DeviceCapabilities {
50296
51316
  /** DeviceCapabilities businessBroadcast. */
50297
51317
  public businessBroadcast?: (DeviceCapabilities.DeviceCapabilities.IBusinessBroadcast|null);
50298
51318
 
51319
+ /** DeviceCapabilities userHasAvatar. */
51320
+ public userHasAvatar?: (DeviceCapabilities.DeviceCapabilities.IUserHasAvatar|null);
51321
+
50299
51322
  /**
50300
51323
  * Creates a new DeviceCapabilities instance using the specified properties.
50301
51324
  * @param [properties] Properties to set
@@ -50576,5 +51599,102 @@ export namespace DeviceCapabilities {
50576
51599
  */
50577
51600
  public static getTypeUrl(typeUrlPrefix?: string): string;
50578
51601
  }
51602
+
51603
+ /** Properties of a UserHasAvatar. */
51604
+ interface IUserHasAvatar {
51605
+
51606
+ /** UserHasAvatar userHasAvatar */
51607
+ userHasAvatar?: (boolean|null);
51608
+ }
51609
+
51610
+ /** Represents a UserHasAvatar. */
51611
+ class UserHasAvatar implements IUserHasAvatar {
51612
+
51613
+ /**
51614
+ * Constructs a new UserHasAvatar.
51615
+ * @param [properties] Properties to set
51616
+ */
51617
+ constructor(properties?: DeviceCapabilities.DeviceCapabilities.IUserHasAvatar);
51618
+
51619
+ /** UserHasAvatar userHasAvatar. */
51620
+ public userHasAvatar: boolean;
51621
+
51622
+ /**
51623
+ * Creates a new UserHasAvatar instance using the specified properties.
51624
+ * @param [properties] Properties to set
51625
+ * @returns UserHasAvatar instance
51626
+ */
51627
+ public static create(properties?: DeviceCapabilities.DeviceCapabilities.IUserHasAvatar): DeviceCapabilities.DeviceCapabilities.UserHasAvatar;
51628
+
51629
+ /**
51630
+ * Encodes the specified UserHasAvatar message. Does not implicitly {@link DeviceCapabilities.DeviceCapabilities.UserHasAvatar.verify|verify} messages.
51631
+ * @param message UserHasAvatar message or plain object to encode
51632
+ * @param [writer] Writer to encode to
51633
+ * @returns Writer
51634
+ */
51635
+ public static encode(message: DeviceCapabilities.DeviceCapabilities.IUserHasAvatar, writer?: $protobuf.Writer): $protobuf.Writer;
51636
+
51637
+ /**
51638
+ * Encodes the specified UserHasAvatar message, length delimited. Does not implicitly {@link DeviceCapabilities.DeviceCapabilities.UserHasAvatar.verify|verify} messages.
51639
+ * @param message UserHasAvatar message or plain object to encode
51640
+ * @param [writer] Writer to encode to
51641
+ * @returns Writer
51642
+ */
51643
+ public static encodeDelimited(message: DeviceCapabilities.DeviceCapabilities.IUserHasAvatar, writer?: $protobuf.Writer): $protobuf.Writer;
51644
+
51645
+ /**
51646
+ * Decodes a UserHasAvatar message from the specified reader or buffer.
51647
+ * @param reader Reader or buffer to decode from
51648
+ * @param [length] Message length if known beforehand
51649
+ * @returns UserHasAvatar
51650
+ * @throws {Error} If the payload is not a reader or valid buffer
51651
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51652
+ */
51653
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): DeviceCapabilities.DeviceCapabilities.UserHasAvatar;
51654
+
51655
+ /**
51656
+ * Decodes a UserHasAvatar message from the specified reader or buffer, length delimited.
51657
+ * @param reader Reader or buffer to decode from
51658
+ * @returns UserHasAvatar
51659
+ * @throws {Error} If the payload is not a reader or valid buffer
51660
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
51661
+ */
51662
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): DeviceCapabilities.DeviceCapabilities.UserHasAvatar;
51663
+
51664
+ /**
51665
+ * Verifies a UserHasAvatar message.
51666
+ * @param message Plain object to verify
51667
+ * @returns `null` if valid, otherwise the reason why it is not
51668
+ */
51669
+ public static verify(message: { [k: string]: any }): (string|null);
51670
+
51671
+ /**
51672
+ * Creates a UserHasAvatar message from a plain object. Also converts values to their respective internal types.
51673
+ * @param object Plain object
51674
+ * @returns UserHasAvatar
51675
+ */
51676
+ public static fromObject(object: { [k: string]: any }): DeviceCapabilities.DeviceCapabilities.UserHasAvatar;
51677
+
51678
+ /**
51679
+ * Creates a plain object from a UserHasAvatar message. Also converts values to other types if specified.
51680
+ * @param message UserHasAvatar
51681
+ * @param [options] Conversion options
51682
+ * @returns Plain object
51683
+ */
51684
+ public static toObject(message: DeviceCapabilities.DeviceCapabilities.UserHasAvatar, options?: $protobuf.IConversionOptions): { [k: string]: any };
51685
+
51686
+ /**
51687
+ * Converts this UserHasAvatar to JSON.
51688
+ * @returns JSON object
51689
+ */
51690
+ public toJSON(): { [k: string]: any };
51691
+
51692
+ /**
51693
+ * Gets the default type url for UserHasAvatar
51694
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
51695
+ * @returns The default type url
51696
+ */
51697
+ public static getTypeUrl(typeUrlPrefix?: string): string;
51698
+ }
50579
51699
  }
50580
51700
  }