discord-protos 1.2.195 → 1.2.196
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.
|
@@ -269,6 +269,7 @@ message PreloadedUserSettings {
|
|
|
269
269
|
optional google.protobuf.BoolValue enable_gdm_all_reaction_notifications = 20;
|
|
270
270
|
optional google.protobuf.BoolValue enable_friend_gaming_activity_notifications = 21;
|
|
271
271
|
optional google.protobuf.BoolValue enable_upcoming_server_event_notifications = 22;
|
|
272
|
+
optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications = 23;
|
|
272
273
|
}
|
|
273
274
|
|
|
274
275
|
enum GuildActivityStatusRestrictionDefault {
|
|
@@ -791,6 +791,10 @@ export interface PreloadedUserSettings_NotificationSettings {
|
|
|
791
791
|
* @generated from protobuf field: optional google.protobuf.BoolValue enable_upcoming_server_event_notifications = 22
|
|
792
792
|
*/
|
|
793
793
|
enableUpcomingServerEventNotifications?: BoolValue;
|
|
794
|
+
/**
|
|
795
|
+
* @generated from protobuf field: optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications = 23
|
|
796
|
+
*/
|
|
797
|
+
enableScreenDowntimeScheduleNotifications?: BoolValue;
|
|
794
798
|
}
|
|
795
799
|
/**
|
|
796
800
|
* @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.PrivacySettings
|
|
@@ -2498,7 +2498,8 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2498
2498
|
{ no: 19, name: "enable_summary_reminder_notifications", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2499
2499
|
{ no: 20, name: "enable_gdm_all_reaction_notifications", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2500
2500
|
{ no: 21, name: "enable_friend_gaming_activity_notifications", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2501
|
-
{ no: 22, name: "enable_upcoming_server_event_notifications", kind: "message", T: () => wrappers_5.BoolValue }
|
|
2501
|
+
{ no: 22, name: "enable_upcoming_server_event_notifications", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2502
|
+
{ no: 23, name: "enable_screen_downtime_schedule_notifications", kind: "message", T: () => wrappers_5.BoolValue }
|
|
2502
2503
|
]);
|
|
2503
2504
|
}
|
|
2504
2505
|
create(value) {
|
|
@@ -2583,6 +2584,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2583
2584
|
case /* optional google.protobuf.BoolValue enable_upcoming_server_event_notifications */ 22:
|
|
2584
2585
|
message.enableUpcomingServerEventNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enableUpcomingServerEventNotifications);
|
|
2585
2586
|
break;
|
|
2587
|
+
case /* optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications */ 23:
|
|
2588
|
+
message.enableScreenDowntimeScheduleNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enableScreenDowntimeScheduleNotifications);
|
|
2589
|
+
break;
|
|
2586
2590
|
default:
|
|
2587
2591
|
let u = options.readUnknownField;
|
|
2588
2592
|
if (u === "throw")
|
|
@@ -2661,6 +2665,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2661
2665
|
/* optional google.protobuf.BoolValue enable_upcoming_server_event_notifications = 22; */
|
|
2662
2666
|
if (message.enableUpcomingServerEventNotifications)
|
|
2663
2667
|
wrappers_5.BoolValue.internalBinaryWrite(message.enableUpcomingServerEventNotifications, writer.tag(22, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2668
|
+
/* optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications = 23; */
|
|
2669
|
+
if (message.enableScreenDowntimeScheduleNotifications)
|
|
2670
|
+
wrappers_5.BoolValue.internalBinaryWrite(message.enableScreenDowntimeScheduleNotifications, writer.tag(23, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2664
2671
|
let u = options.writeUnknownFields;
|
|
2665
2672
|
if (u !== false)
|
|
2666
2673
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|