discord-protos 1.2.192 → 1.2.193

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.
@@ -768,6 +768,7 @@ message PremiumMarketingComponentProperties {
768
768
  string cta_label = 2;
769
769
  ButtonAction cta_action = 3;
770
770
  string deeplink_section = 4;
771
+ optional HelpArticle help_article = 5;
771
772
  }
772
773
 
773
774
  string content_identifier = 3;
@@ -746,6 +746,10 @@ export interface PremiumMarketingComponentProperties_Nagbar {
746
746
  * @generated from protobuf field: string deeplink_section = 4
747
747
  */
748
748
  deeplinkSection: string;
749
+ /**
750
+ * @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 5
751
+ */
752
+ helpArticle?: PremiumMarketingComponentProperties_HelpArticle;
749
753
  }
750
754
  /**
751
755
  * @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction
@@ -4422,7 +4422,8 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
4422
4422
  { no: 1, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4423
4423
  { no: 2, name: "cta_label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4424
4424
  { no: 3, name: "cta_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
4425
- { no: 4, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
4425
+ { no: 4, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4426
+ { no: 5, name: "help_article", kind: "message", T: () => exports.PremiumMarketingComponentProperties_HelpArticle }
4426
4427
  ]);
4427
4428
  }
4428
4429
  create(value) {
@@ -4452,6 +4453,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
4452
4453
  case /* string deeplink_section */ 4:
4453
4454
  message.deeplinkSection = reader.string();
4454
4455
  break;
4456
+ case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article */ 5:
4457
+ message.helpArticle = exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryRead(reader, reader.uint32(), options, message.helpArticle);
4458
+ break;
4455
4459
  default:
4456
4460
  let u = options.readUnknownField;
4457
4461
  if (u === "throw")
@@ -4476,6 +4480,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
4476
4480
  /* string deeplink_section = 4; */
4477
4481
  if (message.deeplinkSection !== "")
4478
4482
  writer.tag(4, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
4483
+ /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.HelpArticle help_article = 5; */
4484
+ if (message.helpArticle)
4485
+ exports.PremiumMarketingComponentProperties_HelpArticle.internalBinaryWrite(message.helpArticle, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();
4479
4486
  let u = options.writeUnknownFields;
4480
4487
  if (u !== false)
4481
4488
  (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-protos",
3
- "version": "1.2.192",
3
+ "version": "1.2.193",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",