discord-protos 1.2.169 → 1.2.171
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/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +6 -0
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +25 -1
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +49 -5
- package/package.json +1 -1
|
@@ -24,6 +24,7 @@ message PremiumMarketingComponentProperties {
|
|
|
24
24
|
message SubscriptionButton {
|
|
25
25
|
string copy = 1;
|
|
26
26
|
ButtonAction button_action = 2;
|
|
27
|
+
string deeplink_section = 3;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
message Subtitle {
|
|
@@ -76,6 +77,7 @@ message PremiumMarketingComponentProperties {
|
|
|
76
77
|
message MarketingPageBannerButton {
|
|
77
78
|
string copy = 1;
|
|
78
79
|
ButtonAction button_action = 2;
|
|
80
|
+
string deeplink_section = 3;
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
message MarketingPageBanner {
|
|
@@ -96,6 +98,7 @@ message PremiumMarketingComponentProperties {
|
|
|
96
98
|
message CTAButton {
|
|
97
99
|
string copy = 1;
|
|
98
100
|
ButtonAction button_action = 2;
|
|
101
|
+
string deeplink_section = 3;
|
|
99
102
|
}
|
|
100
103
|
|
|
101
104
|
enum DismissibleContent {
|
|
@@ -637,6 +640,7 @@ message PremiumMarketingComponentProperties {
|
|
|
637
640
|
DISMISSIBLE_CONTENT_CROISSANT_REHEAT_MOMENT = 738;
|
|
638
641
|
DISMISSIBLE_CONTENT_SLAYER_STOREFRONT_VC_GIFTING_PANEL_APP_WIDGET_CTA = 739;
|
|
639
642
|
DISMISSIBLE_CONTENT_PREMIUM_GROUP_PRIMARY_REMINDER_NAGBAR = 740;
|
|
643
|
+
DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_SLAYER_STOREFRONT_PROMOTIONAL_BANNER = 741;
|
|
640
644
|
}
|
|
641
645
|
|
|
642
646
|
message MobileBottomSheet {
|
|
@@ -733,6 +737,7 @@ message PremiumMarketingComponentProperties {
|
|
|
733
737
|
message PremiumTabPopoverCTAButton {
|
|
734
738
|
string copy = 1;
|
|
735
739
|
ButtonAction button_action = 2;
|
|
740
|
+
string deeplink_section = 3;
|
|
736
741
|
}
|
|
737
742
|
|
|
738
743
|
message PremiumTabPopover {
|
|
@@ -748,6 +753,7 @@ message PremiumMarketingComponentProperties {
|
|
|
748
753
|
string body = 1;
|
|
749
754
|
string cta_label = 2;
|
|
750
755
|
ButtonAction cta_action = 3;
|
|
756
|
+
string deeplink_section = 4;
|
|
751
757
|
}
|
|
752
758
|
|
|
753
759
|
string content_identifier = 3;
|
|
@@ -152,6 +152,10 @@ export interface PremiumMarketingComponentProperties_SubscriptionButton {
|
|
|
152
152
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
153
153
|
*/
|
|
154
154
|
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
155
|
+
/**
|
|
156
|
+
* @generated from protobuf field: string deeplink_section = 3
|
|
157
|
+
*/
|
|
158
|
+
deeplinkSection: string;
|
|
155
159
|
}
|
|
156
160
|
/**
|
|
157
161
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Subtitle
|
|
@@ -317,6 +321,10 @@ export interface PremiumMarketingComponentProperties_MarketingPageBannerButton {
|
|
|
317
321
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
318
322
|
*/
|
|
319
323
|
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
324
|
+
/**
|
|
325
|
+
* @generated from protobuf field: string deeplink_section = 3
|
|
326
|
+
*/
|
|
327
|
+
deeplinkSection: string;
|
|
320
328
|
}
|
|
321
329
|
/**
|
|
322
330
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBanner
|
|
@@ -376,6 +384,10 @@ export interface PremiumMarketingComponentProperties_CTAButton {
|
|
|
376
384
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
377
385
|
*/
|
|
378
386
|
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
387
|
+
/**
|
|
388
|
+
* @generated from protobuf field: string deeplink_section = 3
|
|
389
|
+
*/
|
|
390
|
+
deeplinkSection: string;
|
|
379
391
|
}
|
|
380
392
|
/**
|
|
381
393
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MobileBottomSheet
|
|
@@ -676,6 +688,10 @@ export interface PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton
|
|
|
676
688
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2
|
|
677
689
|
*/
|
|
678
690
|
buttonAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
691
|
+
/**
|
|
692
|
+
* @generated from protobuf field: string deeplink_section = 3
|
|
693
|
+
*/
|
|
694
|
+
deeplinkSection: string;
|
|
679
695
|
}
|
|
680
696
|
/**
|
|
681
697
|
* @generated from protobuf message discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopover
|
|
@@ -722,6 +738,10 @@ export interface PremiumMarketingComponentProperties_Nagbar {
|
|
|
722
738
|
* @generated from protobuf field: discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction cta_action = 3
|
|
723
739
|
*/
|
|
724
740
|
ctaAction: PremiumMarketingComponentProperties_ButtonAction;
|
|
741
|
+
/**
|
|
742
|
+
* @generated from protobuf field: string deeplink_section = 4
|
|
743
|
+
*/
|
|
744
|
+
deeplinkSection: string;
|
|
725
745
|
}
|
|
726
746
|
/**
|
|
727
747
|
* @generated from protobuf enum discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction
|
|
@@ -2911,7 +2931,11 @@ export declare enum PremiumMarketingComponentProperties_DismissibleContent {
|
|
|
2911
2931
|
/**
|
|
2912
2932
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_PREMIUM_GROUP_PRIMARY_REMINDER_NAGBAR = 740;
|
|
2913
2933
|
*/
|
|
2914
|
-
PREMIUM_GROUP_PRIMARY_REMINDER_NAGBAR = 740
|
|
2934
|
+
PREMIUM_GROUP_PRIMARY_REMINDER_NAGBAR = 740,
|
|
2935
|
+
/**
|
|
2936
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_SLAYER_STOREFRONT_PROMOTIONAL_BANNER = 741;
|
|
2937
|
+
*/
|
|
2938
|
+
COLLECTIBLES_SHOP_SLAYER_STOREFRONT_PROMOTIONAL_BANNER = 741
|
|
2915
2939
|
}
|
|
2916
2940
|
declare class PremiumMarketingComponentProperties$Type extends MessageType<PremiumMarketingComponentProperties> {
|
|
2917
2941
|
constructor();
|
|
@@ -2196,6 +2196,10 @@ var PremiumMarketingComponentProperties_DismissibleContent;
|
|
|
2196
2196
|
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_PREMIUM_GROUP_PRIMARY_REMINDER_NAGBAR = 740;
|
|
2197
2197
|
*/
|
|
2198
2198
|
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["PREMIUM_GROUP_PRIMARY_REMINDER_NAGBAR"] = 740] = "PREMIUM_GROUP_PRIMARY_REMINDER_NAGBAR";
|
|
2199
|
+
/**
|
|
2200
|
+
* @generated from protobuf enum value: DISMISSIBLE_CONTENT_COLLECTIBLES_SHOP_SLAYER_STOREFRONT_PROMOTIONAL_BANNER = 741;
|
|
2201
|
+
*/
|
|
2202
|
+
PremiumMarketingComponentProperties_DismissibleContent[PremiumMarketingComponentProperties_DismissibleContent["COLLECTIBLES_SHOP_SLAYER_STOREFRONT_PROMOTIONAL_BANNER"] = 741] = "COLLECTIBLES_SHOP_SLAYER_STOREFRONT_PROMOTIONAL_BANNER";
|
|
2199
2203
|
})(PremiumMarketingComponentProperties_DismissibleContent || (exports.PremiumMarketingComponentProperties_DismissibleContent = PremiumMarketingComponentProperties_DismissibleContent = {}));
|
|
2200
2204
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
2201
2205
|
class PremiumMarketingComponentProperties$Type extends runtime_4.MessageType {
|
|
@@ -2489,13 +2493,15 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2489
2493
|
constructor() {
|
|
2490
2494
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.SubscriptionButton", [
|
|
2491
2495
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
2492
|
-
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] }
|
|
2496
|
+
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
2497
|
+
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
2493
2498
|
]);
|
|
2494
2499
|
}
|
|
2495
2500
|
create(value) {
|
|
2496
2501
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
2497
2502
|
message.copy = "";
|
|
2498
2503
|
message.buttonAction = 0;
|
|
2504
|
+
message.deeplinkSection = "";
|
|
2499
2505
|
if (value !== undefined)
|
|
2500
2506
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
2501
2507
|
return message;
|
|
@@ -2511,6 +2517,9 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2511
2517
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
2512
2518
|
message.buttonAction = reader.int32();
|
|
2513
2519
|
break;
|
|
2520
|
+
case /* string deeplink_section */ 3:
|
|
2521
|
+
message.deeplinkSection = reader.string();
|
|
2522
|
+
break;
|
|
2514
2523
|
default:
|
|
2515
2524
|
let u = options.readUnknownField;
|
|
2516
2525
|
if (u === "throw")
|
|
@@ -2529,6 +2538,9 @@ class PremiumMarketingComponentProperties_SubscriptionButton$Type extends runtim
|
|
|
2529
2538
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
2530
2539
|
if (message.buttonAction !== 0)
|
|
2531
2540
|
writer.tag(2, runtime_1.WireType.Varint).int32(message.buttonAction);
|
|
2541
|
+
/* string deeplink_section = 3; */
|
|
2542
|
+
if (message.deeplinkSection !== "")
|
|
2543
|
+
writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
2532
2544
|
let u = options.writeUnknownFields;
|
|
2533
2545
|
if (u !== false)
|
|
2534
2546
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3053,13 +3065,15 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3053
3065
|
constructor() {
|
|
3054
3066
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.MarketingPageBannerButton", [
|
|
3055
3067
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3056
|
-
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] }
|
|
3068
|
+
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
3069
|
+
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3057
3070
|
]);
|
|
3058
3071
|
}
|
|
3059
3072
|
create(value) {
|
|
3060
3073
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
3061
3074
|
message.copy = "";
|
|
3062
3075
|
message.buttonAction = 0;
|
|
3076
|
+
message.deeplinkSection = "";
|
|
3063
3077
|
if (value !== undefined)
|
|
3064
3078
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
3065
3079
|
return message;
|
|
@@ -3075,6 +3089,9 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3075
3089
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
3076
3090
|
message.buttonAction = reader.int32();
|
|
3077
3091
|
break;
|
|
3092
|
+
case /* string deeplink_section */ 3:
|
|
3093
|
+
message.deeplinkSection = reader.string();
|
|
3094
|
+
break;
|
|
3078
3095
|
default:
|
|
3079
3096
|
let u = options.readUnknownField;
|
|
3080
3097
|
if (u === "throw")
|
|
@@ -3093,6 +3110,9 @@ class PremiumMarketingComponentProperties_MarketingPageBannerButton$Type extends
|
|
|
3093
3110
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
3094
3111
|
if (message.buttonAction !== 0)
|
|
3095
3112
|
writer.tag(2, runtime_1.WireType.Varint).int32(message.buttonAction);
|
|
3113
|
+
/* string deeplink_section = 3; */
|
|
3114
|
+
if (message.deeplinkSection !== "")
|
|
3115
|
+
writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
3096
3116
|
let u = options.writeUnknownFields;
|
|
3097
3117
|
if (u !== false)
|
|
3098
3118
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -3256,13 +3276,15 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3256
3276
|
constructor() {
|
|
3257
3277
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.CTAButton", [
|
|
3258
3278
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
3259
|
-
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] }
|
|
3279
|
+
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
3280
|
+
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
3260
3281
|
]);
|
|
3261
3282
|
}
|
|
3262
3283
|
create(value) {
|
|
3263
3284
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
3264
3285
|
message.copy = "";
|
|
3265
3286
|
message.buttonAction = 0;
|
|
3287
|
+
message.deeplinkSection = "";
|
|
3266
3288
|
if (value !== undefined)
|
|
3267
3289
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
3268
3290
|
return message;
|
|
@@ -3278,6 +3300,9 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3278
3300
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
3279
3301
|
message.buttonAction = reader.int32();
|
|
3280
3302
|
break;
|
|
3303
|
+
case /* string deeplink_section */ 3:
|
|
3304
|
+
message.deeplinkSection = reader.string();
|
|
3305
|
+
break;
|
|
3281
3306
|
default:
|
|
3282
3307
|
let u = options.readUnknownField;
|
|
3283
3308
|
if (u === "throw")
|
|
@@ -3296,6 +3321,9 @@ class PremiumMarketingComponentProperties_CTAButton$Type extends runtime_4.Messa
|
|
|
3296
3321
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
3297
3322
|
if (message.buttonAction !== 0)
|
|
3298
3323
|
writer.tag(2, runtime_1.WireType.Varint).int32(message.buttonAction);
|
|
3324
|
+
/* string deeplink_section = 3; */
|
|
3325
|
+
if (message.deeplinkSection !== "")
|
|
3326
|
+
writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
3299
3327
|
let u = options.writeUnknownFields;
|
|
3300
3328
|
if (u !== false)
|
|
3301
3329
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4185,13 +4213,15 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4185
4213
|
constructor() {
|
|
4186
4214
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.PremiumTabPopoverCTAButton", [
|
|
4187
4215
|
{ no: 1, name: "copy", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4188
|
-
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] }
|
|
4216
|
+
{ no: 2, name: "button_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
4217
|
+
{ no: 3, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4189
4218
|
]);
|
|
4190
4219
|
}
|
|
4191
4220
|
create(value) {
|
|
4192
4221
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
4193
4222
|
message.copy = "";
|
|
4194
4223
|
message.buttonAction = 0;
|
|
4224
|
+
message.deeplinkSection = "";
|
|
4195
4225
|
if (value !== undefined)
|
|
4196
4226
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
4197
4227
|
return message;
|
|
@@ -4207,6 +4237,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4207
4237
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action */ 2:
|
|
4208
4238
|
message.buttonAction = reader.int32();
|
|
4209
4239
|
break;
|
|
4240
|
+
case /* string deeplink_section */ 3:
|
|
4241
|
+
message.deeplinkSection = reader.string();
|
|
4242
|
+
break;
|
|
4210
4243
|
default:
|
|
4211
4244
|
let u = options.readUnknownField;
|
|
4212
4245
|
if (u === "throw")
|
|
@@ -4225,6 +4258,9 @@ class PremiumMarketingComponentProperties_PremiumTabPopoverCTAButton$Type extend
|
|
|
4225
4258
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction button_action = 2; */
|
|
4226
4259
|
if (message.buttonAction !== 0)
|
|
4227
4260
|
writer.tag(2, runtime_1.WireType.Varint).int32(message.buttonAction);
|
|
4261
|
+
/* string deeplink_section = 3; */
|
|
4262
|
+
if (message.deeplinkSection !== "")
|
|
4263
|
+
writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
4228
4264
|
let u = options.writeUnknownFields;
|
|
4229
4265
|
if (u !== false)
|
|
4230
4266
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4325,7 +4361,8 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4325
4361
|
super("discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.Nagbar", [
|
|
4326
4362
|
{ no: 1, name: "body", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4327
4363
|
{ no: 2, name: "cta_label", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4328
|
-
{ no: 3, name: "cta_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] }
|
|
4364
|
+
{ no: 3, name: "cta_action", kind: "enum", T: () => ["discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction", PremiumMarketingComponentProperties_ButtonAction, "BUTTON_ACTION_"] },
|
|
4365
|
+
{ no: 4, name: "deeplink_section", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4329
4366
|
]);
|
|
4330
4367
|
}
|
|
4331
4368
|
create(value) {
|
|
@@ -4333,6 +4370,7 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4333
4370
|
message.body = "";
|
|
4334
4371
|
message.ctaLabel = "";
|
|
4335
4372
|
message.ctaAction = 0;
|
|
4373
|
+
message.deeplinkSection = "";
|
|
4336
4374
|
if (value !== undefined)
|
|
4337
4375
|
(0, runtime_3.reflectionMergePartial)(this, message, value);
|
|
4338
4376
|
return message;
|
|
@@ -4351,6 +4389,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4351
4389
|
case /* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction cta_action */ 3:
|
|
4352
4390
|
message.ctaAction = reader.int32();
|
|
4353
4391
|
break;
|
|
4392
|
+
case /* string deeplink_section */ 4:
|
|
4393
|
+
message.deeplinkSection = reader.string();
|
|
4394
|
+
break;
|
|
4354
4395
|
default:
|
|
4355
4396
|
let u = options.readUnknownField;
|
|
4356
4397
|
if (u === "throw")
|
|
@@ -4372,6 +4413,9 @@ class PremiumMarketingComponentProperties_Nagbar$Type extends runtime_4.MessageT
|
|
|
4372
4413
|
/* discord_protos.premium_marketing.v1.PremiumMarketingComponentProperties.ButtonAction cta_action = 3; */
|
|
4373
4414
|
if (message.ctaAction !== 0)
|
|
4374
4415
|
writer.tag(3, runtime_1.WireType.Varint).int32(message.ctaAction);
|
|
4416
|
+
/* string deeplink_section = 4; */
|
|
4417
|
+
if (message.deeplinkSection !== "")
|
|
4418
|
+
writer.tag(4, runtime_1.WireType.LengthDelimited).string(message.deeplinkSection);
|
|
4375
4419
|
let u = options.writeUnknownFields;
|
|
4376
4420
|
if (u !== false)
|
|
4377
4421
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|