discord-protos 1.2.144 → 1.2.145

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.
@@ -709,6 +709,7 @@ message PremiumMarketingComponentProperties {
709
709
  string body = 2;
710
710
  optional ThemeAwareAsset asset = 3;
711
711
  optional PremiumTabPopoverCTAButton button = 4;
712
+ string help_article_id = 5;
712
713
  }
713
714
 
714
715
  message Nagbar {
@@ -651,6 +651,10 @@ export interface PremiumMarketingComponentProperties_PremiumTabPopover {
651
651
  * @generated from protobuf field: optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopoverCTAButton button = 4
652
652
  */
653
653
  button?: PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton;
654
+ /**
655
+ * @generated from protobuf field: string help_article_id = 5
656
+ */
657
+ helpArticleId: string;
654
658
  }
655
659
  /**
656
660
  * @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Nagbar
@@ -4033,13 +4033,15 @@ class PremiumMarketingComponentProperties_PremiumTabPopover$Type extends runtime
4033
4033
  { no: 1, name: "header", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4034
4034
  { no: 2, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
4035
4035
  { no: 3, name: "asset", kind: "message", T: () => exports.PremiumMarketingComponentProperties_ThemeAwareAsset },
4036
- { no: 4, name: "button", kind: "message", T: () => exports.PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton }
4036
+ { no: 4, name: "button", kind: "message", T: () => exports.PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton },
4037
+ { no: 5, name: "help_article_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
4037
4038
  ]);
4038
4039
  }
4039
4040
  create(value) {
4040
4041
  const message = globalThis.Object.create((this.messagePrototype));
4041
4042
  message.header = "";
4042
4043
  message.body = "";
4044
+ message.helpArticleId = "";
4043
4045
  if (value !== undefined)
4044
4046
  (0, runtime_3.reflectionMergePartial)(this, message, value);
4045
4047
  return message;
@@ -4061,6 +4063,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopover$Type extends runtime
4061
4063
  case /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopoverCTAButton button */ 4:
4062
4064
  message.button = exports.PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton.internalBinaryRead(reader, reader.uint32(), options, message.button);
4063
4065
  break;
4066
+ case /* string help_article_id */ 5:
4067
+ message.helpArticleId = reader.string();
4068
+ break;
4064
4069
  default:
4065
4070
  let u = options.readUnknownField;
4066
4071
  if (u === "throw")
@@ -4085,6 +4090,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopover$Type extends runtime
4085
4090
  /* optional discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopoverCTAButton button = 4; */
4086
4091
  if (message.button)
4087
4092
  exports.PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton.internalBinaryWrite(message.button, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();
4093
+ /* string help_article_id = 5; */
4094
+ if (message.helpArticleId !== "")
4095
+ writer.tag(5, runtime_1.WireType.LengthDelimited).string(message.helpArticleId);
4088
4096
  let u = options.writeUnknownFields;
4089
4097
  if (u !== false)
4090
4098
  (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.144",
3
+ "version": "1.2.145",
4
4
  "description": "A parser for Discord's protobufs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",