@wppconnect/wa-proto 1.1.0 → 1.1.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 1.1.2 (2024-10-25)
2
+
3
+
4
+
5
+ ## 1.1.1 (2024-10-18)
6
+
7
+
8
+
1
9
  # 1.1.0 (2024-10-11)
2
10
 
3
11
 
package/README.md CHANGED
@@ -4,12 +4,13 @@
4
4
  [![Downloads](https://img.shields.io/npm/dm/@wppconnect/wa-proto.svg)](https://www.npmjs.com/package/@wppconnect/wa-proto)
5
5
  [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wppconnect-team/wa-proto.svg)](https://isitmaintained.com/project/wppconnect/wa-proto 'Average time to resolve an issue')
6
6
  [![Percentage of issues still open](https://isitmaintained.com/badge/open/wppconnect-team/wa-proto.svg)](https://isitmaintained.com/project/wppconnect/wa-proto 'Percentage of issues still open')
7
- [![Build Status](https://img.shields.io/github/actions/workflow/status/wppconnect-team/wa-proto/build.yml?branch=main)](https://github.com/wppconnect/wa-proto/actions)
8
- [![Lint Status](https://img.shields.io/github/actions/workflow/status/wppconnect-team/wa-proto/lint.yml?branch=main&label=lint)](https://github.com/wppconnect/wa-proto/actions)
7
+ [![Build Status](https://img.shields.io/github/actions/workflow/status/wppconnect-team/wa-proto/update-proto.yml?branch=main)](https://github.com/wppconnect/wa-proto/actions)
9
8
  [![release-it](https://img.shields.io/badge/%F0%9F%93%A6%F0%9F%9A%80-release--it-e10079.svg)](https://github.com/release-it/release-it)
10
9
 
11
10
  > WPPConnect/WA-Proto is a open source project with extracted protobuf files from WhatsApp WEB based on https://github.com/WhiskeySockets/Baileys/tree/master/WAProto
12
11
 
12
+ > This project works with Protobuf files for 2.3000.x versions of Whatsapp
13
+
13
14
  ## Our online channels
14
15
 
15
16
  [![Discord](https://img.shields.io/discord/844351092758413353?color=blueviolet&label=Discord&logo=discord&style=flat)](https://discord.gg/JU5JGGKGNG)
package/WAProto.proto CHANGED
@@ -1,7 +1,7 @@
1
1
  syntax = "proto3";
2
2
  package waproto;
3
3
 
4
- /// WhatsApp Version: 2.3000.1017264179
4
+ /// WhatsApp Version: 2.3000.1017677236
5
5
 
6
6
  message ADVDeviceIdentity {
7
7
  optional uint32 rawId = 1;
@@ -117,6 +117,10 @@ message BotCapabilityMetadata {
117
117
  PROGRESS_INDICATOR = 1;
118
118
  RICH_RESPONSE_HEADING = 2;
119
119
  RICH_RESPONSE_NESTED_LIST = 3;
120
+ AI_MEMORY = 4;
121
+ WA_IG_1P_PLUGIN_RANKING_CONTROL = 10;
122
+ WA_IG_1P_PLUGIN_RANKING_UPDATE_1 = 11;
123
+ WA_IG_1P_PLUGIN_RANKING_UPDATE_2 = 12;
120
124
  }
121
125
  }
122
126
 
@@ -204,6 +208,7 @@ message BotPluginMetadata {
204
208
  optional MessageKey parentPluginMessageKey = 10;
205
209
  optional PluginType deprecatedField = 11;
206
210
  optional PluginType parentPluginType = 12;
211
+ optional string faviconCdnUrl = 13;
207
212
  enum PluginType {
208
213
  REELS = 1;
209
214
  SEARCH = 2;
@@ -219,6 +224,15 @@ message BotProgressIndicatorMetadata {
219
224
  optional string progressDescription = 1;
220
225
  }
221
226
 
227
+ message BotPromptSuggestion {
228
+ optional string prompt = 1;
229
+ optional string promptId = 2;
230
+ }
231
+
232
+ message BotPromptSuggestions {
233
+ repeated BotPromptSuggestion suggestions = 1;
234
+ }
235
+
222
236
  message BotReminderMetadata {
223
237
  optional MessageKey requestMessageKey = 1;
224
238
  optional ReminderAction action = 2;
@@ -256,6 +270,8 @@ enum BotSessionSource {
256
270
  message BotSuggestedPromptMetadata {
257
271
  repeated string suggestedPrompts = 1;
258
272
  optional uint32 selectedPromptIndex = 2;
273
+ optional BotPromptSuggestions promptSuggestions = 3;
274
+ optional string selectedPromptId = 4;
259
275
  }
260
276
 
261
277
  message CallLogRecord {
@@ -1254,6 +1270,7 @@ message Message {
1254
1270
  optional PollResultSnapshotMessage pollResultSnapshotMessage = 88;
1255
1271
  optional FutureProofMessage pollCreationMessageV4 = 89;
1256
1272
  optional FutureProofMessage pollCreationOptionImageMessage = 90;
1273
+ optional FutureProofMessage associatedChildMessage = 91;
1257
1274
  message AlbumMessage {
1258
1275
  optional uint32 expectedImageCount = 2;
1259
1276
  optional uint32 expectedVideoCount = 3;
@@ -1599,6 +1616,7 @@ message Message {
1599
1616
  optional bool viewOnce = 30;
1600
1617
  optional uint32 videoHeight = 31;
1601
1618
  optional uint32 videoWidth = 32;
1619
+ optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
1602
1620
  enum FontType {
1603
1621
  SYSTEM = 0;
1604
1622
  SYSTEM_TEXT = 1;
@@ -1981,6 +1999,16 @@ message Message {
1981
1999
  optional ContextInfo contextInfo = 17;
1982
2000
  }
1983
2001
 
2002
+ message MMSThumbnailMetadata {
2003
+ optional string thumbnailDirectPath = 1;
2004
+ optional bytes thumbnailSha256 = 2;
2005
+ optional bytes thumbnailEncSha256 = 3;
2006
+ optional bytes mediaKey = 4;
2007
+ optional int64 mediaKeyTimestamp = 5;
2008
+ optional uint32 thumbnailHeight = 6;
2009
+ optional uint32 thumbnailWidth = 7;
2010
+ }
2011
+
1984
2012
  message MessageHistoryBundle {
1985
2013
  optional string mimetype = 2;
1986
2014
  optional bytes fileSha256 = 3;
@@ -2171,7 +2199,7 @@ message Message {
2171
2199
  repeated Option options = 3;
2172
2200
  optional uint32 selectableOptionsCount = 4;
2173
2201
  optional ContextInfo contextInfo = 5;
2174
- optional Message.PollType pollType = 6;
2202
+ optional Message.PollMediaType pollMediaType = 6;
2175
2203
  message Option {
2176
2204
  optional string optionName = 1;
2177
2205
  optional string optionHash = 2;
@@ -2184,6 +2212,10 @@ message Message {
2184
2212
  optional bytes encIv = 2;
2185
2213
  }
2186
2214
 
2215
+ enum PollMediaType {
2216
+ TEXT = 1;
2217
+ IMAGE = 2;
2218
+ }
2187
2219
  message PollResultSnapshotMessage {
2188
2220
  optional string name = 1;
2189
2221
  repeated PollVote pollVotes = 2;
@@ -2195,10 +2227,6 @@ message Message {
2195
2227
 
2196
2228
  }
2197
2229
 
2198
- enum PollType {
2199
- TEXT = 1;
2200
- IMAGE = 2;
2201
- }
2202
2230
  message PollUpdateMessage {
2203
2231
  optional MessageKey pollCreationMessageKey = 1;
2204
2232
  optional Message.PollEncValue vote = 2;
@@ -2238,6 +2266,7 @@ message Message {
2238
2266
  optional uint32 productImageCount = 9;
2239
2267
  optional string firstImageId = 11;
2240
2268
  optional int64 salePriceAmount1000 = 12;
2269
+ optional string signedUrl = 13;
2241
2270
  }
2242
2271
 
2243
2272
  }
@@ -3917,6 +3946,7 @@ message WebMessageInfo {
3917
3946
  COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN = 208;
3918
3947
  CAPI_GROUP_NE2EE_SYSTEM_MESSAGE = 209;
3919
3948
  STATUS_MENTION = 210;
3949
+ USER_CONTROLS_SYSTEM_MESSAGE = 211;
3920
3950
  }
3921
3951
  }
3922
3952
 
package/dist/index.d.ts CHANGED
@@ -1528,7 +1528,11 @@ export namespace waproto {
1528
1528
  enum BotCapabilityType {
1529
1529
  PROGRESS_INDICATOR = 1,
1530
1530
  RICH_RESPONSE_HEADING = 2,
1531
- RICH_RESPONSE_NESTED_LIST = 3
1531
+ RICH_RESPONSE_NESTED_LIST = 3,
1532
+ AI_MEMORY = 4,
1533
+ WA_IG_1P_PLUGIN_RANKING_CONTROL = 10,
1534
+ WA_IG_1P_PLUGIN_RANKING_UPDATE_1 = 11,
1535
+ WA_IG_1P_PLUGIN_RANKING_UPDATE_2 = 12
1532
1536
  }
1533
1537
  }
1534
1538
 
@@ -2427,6 +2431,9 @@ export namespace waproto {
2427
2431
 
2428
2432
  /** BotPluginMetadata parentPluginType */
2429
2433
  parentPluginType?: (waproto.BotPluginMetadata.PluginType|null);
2434
+
2435
+ /** BotPluginMetadata faviconCdnUrl */
2436
+ faviconCdnUrl?: (string|null);
2430
2437
  }
2431
2438
 
2432
2439
  /** Represents a BotPluginMetadata. */
@@ -2471,6 +2478,9 @@ export namespace waproto {
2471
2478
  /** BotPluginMetadata parentPluginType. */
2472
2479
  public parentPluginType?: (waproto.BotPluginMetadata.PluginType|null);
2473
2480
 
2481
+ /** BotPluginMetadata faviconCdnUrl. */
2482
+ public faviconCdnUrl?: (string|null);
2483
+
2474
2484
  /**
2475
2485
  * Creates a new BotPluginMetadata instance using the specified properties.
2476
2486
  * @param [properties] Properties to set
@@ -2662,6 +2672,206 @@ export namespace waproto {
2662
2672
  public static getTypeUrl(typeUrlPrefix?: string): string;
2663
2673
  }
2664
2674
 
2675
+ /** Properties of a BotPromptSuggestion. */
2676
+ interface IBotPromptSuggestion {
2677
+
2678
+ /** BotPromptSuggestion prompt */
2679
+ prompt?: (string|null);
2680
+
2681
+ /** BotPromptSuggestion promptId */
2682
+ promptId?: (string|null);
2683
+ }
2684
+
2685
+ /** Represents a BotPromptSuggestion. */
2686
+ class BotPromptSuggestion implements IBotPromptSuggestion {
2687
+
2688
+ /**
2689
+ * Constructs a new BotPromptSuggestion.
2690
+ * @param [properties] Properties to set
2691
+ */
2692
+ constructor(properties?: waproto.IBotPromptSuggestion);
2693
+
2694
+ /** BotPromptSuggestion prompt. */
2695
+ public prompt?: (string|null);
2696
+
2697
+ /** BotPromptSuggestion promptId. */
2698
+ public promptId?: (string|null);
2699
+
2700
+ /**
2701
+ * Creates a new BotPromptSuggestion instance using the specified properties.
2702
+ * @param [properties] Properties to set
2703
+ * @returns BotPromptSuggestion instance
2704
+ */
2705
+ public static create(properties?: waproto.IBotPromptSuggestion): waproto.BotPromptSuggestion;
2706
+
2707
+ /**
2708
+ * Encodes the specified BotPromptSuggestion message. Does not implicitly {@link waproto.BotPromptSuggestion.verify|verify} messages.
2709
+ * @param message BotPromptSuggestion message or plain object to encode
2710
+ * @param [writer] Writer to encode to
2711
+ * @returns Writer
2712
+ */
2713
+ public static encode(message: waproto.IBotPromptSuggestion, writer?: $protobuf.Writer): $protobuf.Writer;
2714
+
2715
+ /**
2716
+ * Encodes the specified BotPromptSuggestion message, length delimited. Does not implicitly {@link waproto.BotPromptSuggestion.verify|verify} messages.
2717
+ * @param message BotPromptSuggestion message or plain object to encode
2718
+ * @param [writer] Writer to encode to
2719
+ * @returns Writer
2720
+ */
2721
+ public static encodeDelimited(message: waproto.IBotPromptSuggestion, writer?: $protobuf.Writer): $protobuf.Writer;
2722
+
2723
+ /**
2724
+ * Decodes a BotPromptSuggestion message from the specified reader or buffer.
2725
+ * @param reader Reader or buffer to decode from
2726
+ * @param [length] Message length if known beforehand
2727
+ * @returns BotPromptSuggestion
2728
+ * @throws {Error} If the payload is not a reader or valid buffer
2729
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2730
+ */
2731
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotPromptSuggestion;
2732
+
2733
+ /**
2734
+ * Decodes a BotPromptSuggestion message from the specified reader or buffer, length delimited.
2735
+ * @param reader Reader or buffer to decode from
2736
+ * @returns BotPromptSuggestion
2737
+ * @throws {Error} If the payload is not a reader or valid buffer
2738
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2739
+ */
2740
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotPromptSuggestion;
2741
+
2742
+ /**
2743
+ * Verifies a BotPromptSuggestion message.
2744
+ * @param message Plain object to verify
2745
+ * @returns `null` if valid, otherwise the reason why it is not
2746
+ */
2747
+ public static verify(message: { [k: string]: any }): (string|null);
2748
+
2749
+ /**
2750
+ * Creates a BotPromptSuggestion message from a plain object. Also converts values to their respective internal types.
2751
+ * @param object Plain object
2752
+ * @returns BotPromptSuggestion
2753
+ */
2754
+ public static fromObject(object: { [k: string]: any }): waproto.BotPromptSuggestion;
2755
+
2756
+ /**
2757
+ * Creates a plain object from a BotPromptSuggestion message. Also converts values to other types if specified.
2758
+ * @param message BotPromptSuggestion
2759
+ * @param [options] Conversion options
2760
+ * @returns Plain object
2761
+ */
2762
+ public static toObject(message: waproto.BotPromptSuggestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
2763
+
2764
+ /**
2765
+ * Converts this BotPromptSuggestion to JSON.
2766
+ * @returns JSON object
2767
+ */
2768
+ public toJSON(): { [k: string]: any };
2769
+
2770
+ /**
2771
+ * Gets the default type url for BotPromptSuggestion
2772
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2773
+ * @returns The default type url
2774
+ */
2775
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2776
+ }
2777
+
2778
+ /** Properties of a BotPromptSuggestions. */
2779
+ interface IBotPromptSuggestions {
2780
+
2781
+ /** BotPromptSuggestions suggestions */
2782
+ suggestions?: (waproto.IBotPromptSuggestion[]|null);
2783
+ }
2784
+
2785
+ /** Represents a BotPromptSuggestions. */
2786
+ class BotPromptSuggestions implements IBotPromptSuggestions {
2787
+
2788
+ /**
2789
+ * Constructs a new BotPromptSuggestions.
2790
+ * @param [properties] Properties to set
2791
+ */
2792
+ constructor(properties?: waproto.IBotPromptSuggestions);
2793
+
2794
+ /** BotPromptSuggestions suggestions. */
2795
+ public suggestions: waproto.IBotPromptSuggestion[];
2796
+
2797
+ /**
2798
+ * Creates a new BotPromptSuggestions instance using the specified properties.
2799
+ * @param [properties] Properties to set
2800
+ * @returns BotPromptSuggestions instance
2801
+ */
2802
+ public static create(properties?: waproto.IBotPromptSuggestions): waproto.BotPromptSuggestions;
2803
+
2804
+ /**
2805
+ * Encodes the specified BotPromptSuggestions message. Does not implicitly {@link waproto.BotPromptSuggestions.verify|verify} messages.
2806
+ * @param message BotPromptSuggestions message or plain object to encode
2807
+ * @param [writer] Writer to encode to
2808
+ * @returns Writer
2809
+ */
2810
+ public static encode(message: waproto.IBotPromptSuggestions, writer?: $protobuf.Writer): $protobuf.Writer;
2811
+
2812
+ /**
2813
+ * Encodes the specified BotPromptSuggestions message, length delimited. Does not implicitly {@link waproto.BotPromptSuggestions.verify|verify} messages.
2814
+ * @param message BotPromptSuggestions message or plain object to encode
2815
+ * @param [writer] Writer to encode to
2816
+ * @returns Writer
2817
+ */
2818
+ public static encodeDelimited(message: waproto.IBotPromptSuggestions, writer?: $protobuf.Writer): $protobuf.Writer;
2819
+
2820
+ /**
2821
+ * Decodes a BotPromptSuggestions message from the specified reader or buffer.
2822
+ * @param reader Reader or buffer to decode from
2823
+ * @param [length] Message length if known beforehand
2824
+ * @returns BotPromptSuggestions
2825
+ * @throws {Error} If the payload is not a reader or valid buffer
2826
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2827
+ */
2828
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotPromptSuggestions;
2829
+
2830
+ /**
2831
+ * Decodes a BotPromptSuggestions message from the specified reader or buffer, length delimited.
2832
+ * @param reader Reader or buffer to decode from
2833
+ * @returns BotPromptSuggestions
2834
+ * @throws {Error} If the payload is not a reader or valid buffer
2835
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2836
+ */
2837
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotPromptSuggestions;
2838
+
2839
+ /**
2840
+ * Verifies a BotPromptSuggestions message.
2841
+ * @param message Plain object to verify
2842
+ * @returns `null` if valid, otherwise the reason why it is not
2843
+ */
2844
+ public static verify(message: { [k: string]: any }): (string|null);
2845
+
2846
+ /**
2847
+ * Creates a BotPromptSuggestions message from a plain object. Also converts values to their respective internal types.
2848
+ * @param object Plain object
2849
+ * @returns BotPromptSuggestions
2850
+ */
2851
+ public static fromObject(object: { [k: string]: any }): waproto.BotPromptSuggestions;
2852
+
2853
+ /**
2854
+ * Creates a plain object from a BotPromptSuggestions message. Also converts values to other types if specified.
2855
+ * @param message BotPromptSuggestions
2856
+ * @param [options] Conversion options
2857
+ * @returns Plain object
2858
+ */
2859
+ public static toObject(message: waproto.BotPromptSuggestions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2860
+
2861
+ /**
2862
+ * Converts this BotPromptSuggestions to JSON.
2863
+ * @returns JSON object
2864
+ */
2865
+ public toJSON(): { [k: string]: any };
2866
+
2867
+ /**
2868
+ * Gets the default type url for BotPromptSuggestions
2869
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2870
+ * @returns The default type url
2871
+ */
2872
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2873
+ }
2874
+
2665
2875
  /** Properties of a BotReminderMetadata. */
2666
2876
  interface IBotReminderMetadata {
2667
2877
 
@@ -2924,6 +3134,12 @@ export namespace waproto {
2924
3134
 
2925
3135
  /** BotSuggestedPromptMetadata selectedPromptIndex */
2926
3136
  selectedPromptIndex?: (number|null);
3137
+
3138
+ /** BotSuggestedPromptMetadata promptSuggestions */
3139
+ promptSuggestions?: (waproto.IBotPromptSuggestions|null);
3140
+
3141
+ /** BotSuggestedPromptMetadata selectedPromptId */
3142
+ selectedPromptId?: (string|null);
2927
3143
  }
2928
3144
 
2929
3145
  /** Represents a BotSuggestedPromptMetadata. */
@@ -2941,6 +3157,12 @@ export namespace waproto {
2941
3157
  /** BotSuggestedPromptMetadata selectedPromptIndex. */
2942
3158
  public selectedPromptIndex?: (number|null);
2943
3159
 
3160
+ /** BotSuggestedPromptMetadata promptSuggestions. */
3161
+ public promptSuggestions?: (waproto.IBotPromptSuggestions|null);
3162
+
3163
+ /** BotSuggestedPromptMetadata selectedPromptId. */
3164
+ public selectedPromptId?: (string|null);
3165
+
2944
3166
  /**
2945
3167
  * Creates a new BotSuggestedPromptMetadata instance using the specified properties.
2946
3168
  * @param [properties] Properties to set
@@ -13147,6 +13369,9 @@ export namespace waproto {
13147
13369
 
13148
13370
  /** Message pollCreationOptionImageMessage */
13149
13371
  pollCreationOptionImageMessage?: (waproto.Message.IFutureProofMessage|null);
13372
+
13373
+ /** Message associatedChildMessage */
13374
+ associatedChildMessage?: (waproto.Message.IFutureProofMessage|null);
13150
13375
  }
13151
13376
 
13152
13377
  /** Represents a Message. */
@@ -13383,6 +13608,9 @@ export namespace waproto {
13383
13608
  /** Message pollCreationOptionImageMessage. */
13384
13609
  public pollCreationOptionImageMessage?: (waproto.Message.IFutureProofMessage|null);
13385
13610
 
13611
+ /** Message associatedChildMessage. */
13612
+ public associatedChildMessage?: (waproto.Message.IFutureProofMessage|null);
13613
+
13386
13614
  /**
13387
13615
  * Creates a new Message instance using the specified properties.
13388
13616
  * @param [properties] Properties to set
@@ -17500,6 +17728,9 @@ export namespace waproto {
17500
17728
 
17501
17729
  /** ExtendedTextMessage videoWidth */
17502
17730
  videoWidth?: (number|null);
17731
+
17732
+ /** ExtendedTextMessage faviconMMSMetadata */
17733
+ faviconMMSMetadata?: (waproto.Message.IMMSThumbnailMetadata|null);
17503
17734
  }
17504
17735
 
17505
17736
  /** Represents an ExtendedTextMessage. */
@@ -17589,6 +17820,9 @@ export namespace waproto {
17589
17820
  /** ExtendedTextMessage videoWidth. */
17590
17821
  public videoWidth?: (number|null);
17591
17822
 
17823
+ /** ExtendedTextMessage faviconMMSMetadata. */
17824
+ public faviconMMSMetadata?: (waproto.Message.IMMSThumbnailMetadata|null);
17825
+
17592
17826
  /**
17593
17827
  * Creates a new ExtendedTextMessage instance using the specified properties.
17594
17828
  * @param [properties] Properties to set
@@ -22282,6 +22516,139 @@ export namespace waproto {
22282
22516
  public static getTypeUrl(typeUrlPrefix?: string): string;
22283
22517
  }
22284
22518
 
22519
+ /** Properties of a MMSThumbnailMetadata. */
22520
+ interface IMMSThumbnailMetadata {
22521
+
22522
+ /** MMSThumbnailMetadata thumbnailDirectPath */
22523
+ thumbnailDirectPath?: (string|null);
22524
+
22525
+ /** MMSThumbnailMetadata thumbnailSha256 */
22526
+ thumbnailSha256?: (Uint8Array|null);
22527
+
22528
+ /** MMSThumbnailMetadata thumbnailEncSha256 */
22529
+ thumbnailEncSha256?: (Uint8Array|null);
22530
+
22531
+ /** MMSThumbnailMetadata mediaKey */
22532
+ mediaKey?: (Uint8Array|null);
22533
+
22534
+ /** MMSThumbnailMetadata mediaKeyTimestamp */
22535
+ mediaKeyTimestamp?: (number|Long|null);
22536
+
22537
+ /** MMSThumbnailMetadata thumbnailHeight */
22538
+ thumbnailHeight?: (number|null);
22539
+
22540
+ /** MMSThumbnailMetadata thumbnailWidth */
22541
+ thumbnailWidth?: (number|null);
22542
+ }
22543
+
22544
+ /** Represents a MMSThumbnailMetadata. */
22545
+ class MMSThumbnailMetadata implements IMMSThumbnailMetadata {
22546
+
22547
+ /**
22548
+ * Constructs a new MMSThumbnailMetadata.
22549
+ * @param [properties] Properties to set
22550
+ */
22551
+ constructor(properties?: waproto.Message.IMMSThumbnailMetadata);
22552
+
22553
+ /** MMSThumbnailMetadata thumbnailDirectPath. */
22554
+ public thumbnailDirectPath?: (string|null);
22555
+
22556
+ /** MMSThumbnailMetadata thumbnailSha256. */
22557
+ public thumbnailSha256?: (Uint8Array|null);
22558
+
22559
+ /** MMSThumbnailMetadata thumbnailEncSha256. */
22560
+ public thumbnailEncSha256?: (Uint8Array|null);
22561
+
22562
+ /** MMSThumbnailMetadata mediaKey. */
22563
+ public mediaKey?: (Uint8Array|null);
22564
+
22565
+ /** MMSThumbnailMetadata mediaKeyTimestamp. */
22566
+ public mediaKeyTimestamp?: (number|Long|null);
22567
+
22568
+ /** MMSThumbnailMetadata thumbnailHeight. */
22569
+ public thumbnailHeight?: (number|null);
22570
+
22571
+ /** MMSThumbnailMetadata thumbnailWidth. */
22572
+ public thumbnailWidth?: (number|null);
22573
+
22574
+ /**
22575
+ * Creates a new MMSThumbnailMetadata instance using the specified properties.
22576
+ * @param [properties] Properties to set
22577
+ * @returns MMSThumbnailMetadata instance
22578
+ */
22579
+ public static create(properties?: waproto.Message.IMMSThumbnailMetadata): waproto.Message.MMSThumbnailMetadata;
22580
+
22581
+ /**
22582
+ * Encodes the specified MMSThumbnailMetadata message. Does not implicitly {@link waproto.Message.MMSThumbnailMetadata.verify|verify} messages.
22583
+ * @param message MMSThumbnailMetadata message or plain object to encode
22584
+ * @param [writer] Writer to encode to
22585
+ * @returns Writer
22586
+ */
22587
+ public static encode(message: waproto.Message.IMMSThumbnailMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
22588
+
22589
+ /**
22590
+ * Encodes the specified MMSThumbnailMetadata message, length delimited. Does not implicitly {@link waproto.Message.MMSThumbnailMetadata.verify|verify} messages.
22591
+ * @param message MMSThumbnailMetadata message or plain object to encode
22592
+ * @param [writer] Writer to encode to
22593
+ * @returns Writer
22594
+ */
22595
+ public static encodeDelimited(message: waproto.Message.IMMSThumbnailMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
22596
+
22597
+ /**
22598
+ * Decodes a MMSThumbnailMetadata message from the specified reader or buffer.
22599
+ * @param reader Reader or buffer to decode from
22600
+ * @param [length] Message length if known beforehand
22601
+ * @returns MMSThumbnailMetadata
22602
+ * @throws {Error} If the payload is not a reader or valid buffer
22603
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22604
+ */
22605
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.MMSThumbnailMetadata;
22606
+
22607
+ /**
22608
+ * Decodes a MMSThumbnailMetadata message from the specified reader or buffer, length delimited.
22609
+ * @param reader Reader or buffer to decode from
22610
+ * @returns MMSThumbnailMetadata
22611
+ * @throws {Error} If the payload is not a reader or valid buffer
22612
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22613
+ */
22614
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.MMSThumbnailMetadata;
22615
+
22616
+ /**
22617
+ * Verifies a MMSThumbnailMetadata message.
22618
+ * @param message Plain object to verify
22619
+ * @returns `null` if valid, otherwise the reason why it is not
22620
+ */
22621
+ public static verify(message: { [k: string]: any }): (string|null);
22622
+
22623
+ /**
22624
+ * Creates a MMSThumbnailMetadata message from a plain object. Also converts values to their respective internal types.
22625
+ * @param object Plain object
22626
+ * @returns MMSThumbnailMetadata
22627
+ */
22628
+ public static fromObject(object: { [k: string]: any }): waproto.Message.MMSThumbnailMetadata;
22629
+
22630
+ /**
22631
+ * Creates a plain object from a MMSThumbnailMetadata message. Also converts values to other types if specified.
22632
+ * @param message MMSThumbnailMetadata
22633
+ * @param [options] Conversion options
22634
+ * @returns Plain object
22635
+ */
22636
+ public static toObject(message: waproto.Message.MMSThumbnailMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
22637
+
22638
+ /**
22639
+ * Converts this MMSThumbnailMetadata to JSON.
22640
+ * @returns JSON object
22641
+ */
22642
+ public toJSON(): { [k: string]: any };
22643
+
22644
+ /**
22645
+ * Gets the default type url for MMSThumbnailMetadata
22646
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
22647
+ * @returns The default type url
22648
+ */
22649
+ public static getTypeUrl(typeUrlPrefix?: string): string;
22650
+ }
22651
+
22285
22652
  /** Properties of a MessageHistoryBundle. */
22286
22653
  interface IMessageHistoryBundle {
22287
22654
 
@@ -24697,8 +25064,8 @@ export namespace waproto {
24697
25064
  /** PollCreationMessage contextInfo */
24698
25065
  contextInfo?: (waproto.IContextInfo|null);
24699
25066
 
24700
- /** PollCreationMessage pollType */
24701
- pollType?: (waproto.Message.PollType|null);
25067
+ /** PollCreationMessage pollMediaType */
25068
+ pollMediaType?: (waproto.Message.PollMediaType|null);
24702
25069
  }
24703
25070
 
24704
25071
  /** Represents a PollCreationMessage. */
@@ -24725,8 +25092,8 @@ export namespace waproto {
24725
25092
  /** PollCreationMessage contextInfo. */
24726
25093
  public contextInfo?: (waproto.IContextInfo|null);
24727
25094
 
24728
- /** PollCreationMessage pollType. */
24729
- public pollType?: (waproto.Message.PollType|null);
25095
+ /** PollCreationMessage pollMediaType. */
25096
+ public pollMediaType?: (waproto.Message.PollMediaType|null);
24730
25097
 
24731
25098
  /**
24732
25099
  * Creates a new PollCreationMessage instance using the specified properties.
@@ -25015,6 +25382,12 @@ export namespace waproto {
25015
25382
  public static getTypeUrl(typeUrlPrefix?: string): string;
25016
25383
  }
25017
25384
 
25385
+ /** PollMediaType enum. */
25386
+ enum PollMediaType {
25387
+ TEXT = 1,
25388
+ IMAGE = 2
25389
+ }
25390
+
25018
25391
  /** Properties of a PollResultSnapshotMessage. */
25019
25392
  interface IPollResultSnapshotMessage {
25020
25393
 
@@ -25230,12 +25603,6 @@ export namespace waproto {
25230
25603
  }
25231
25604
  }
25232
25605
 
25233
- /** PollType enum. */
25234
- enum PollType {
25235
- TEXT = 1,
25236
- IMAGE = 2
25237
- }
25238
-
25239
25606
  /** Properties of a PollUpdateMessage. */
25240
25607
  interface IPollUpdateMessage {
25241
25608
 
@@ -25812,6 +26179,9 @@ export namespace waproto {
25812
26179
 
25813
26180
  /** ProductSnapshot salePriceAmount1000 */
25814
26181
  salePriceAmount1000?: (number|Long|null);
26182
+
26183
+ /** ProductSnapshot signedUrl */
26184
+ signedUrl?: (string|null);
25815
26185
  }
25816
26186
 
25817
26187
  /** Represents a ProductSnapshot. */
@@ -25856,6 +26226,9 @@ export namespace waproto {
25856
26226
  /** ProductSnapshot salePriceAmount1000. */
25857
26227
  public salePriceAmount1000?: (number|Long|null);
25858
26228
 
26229
+ /** ProductSnapshot signedUrl. */
26230
+ public signedUrl?: (string|null);
26231
+
25859
26232
  /**
25860
26233
  * Creates a new ProductSnapshot instance using the specified properties.
25861
26234
  * @param [properties] Properties to set
@@ -45492,7 +45865,8 @@ export namespace waproto {
45492
45865
  COMMUNITY_OWNER_UPDATED = 207,
45493
45866
  COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN = 208,
45494
45867
  CAPI_GROUP_NE2EE_SYSTEM_MESSAGE = 209,
45495
- STATUS_MENTION = 210
45868
+ STATUS_MENTION = 210,
45869
+ USER_CONTROLS_SYSTEM_MESSAGE = 211
45496
45870
  }
45497
45871
  }
45498
45872