discord-protos 1.2.195 → 1.2.197
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,8 @@ 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;
|
|
273
|
+
optional google.protobuf.BoolValue notify_friends_on_profile_update = 24;
|
|
272
274
|
}
|
|
273
275
|
|
|
274
276
|
enum GuildActivityStatusRestrictionDefault {
|
|
@@ -791,6 +791,14 @@ 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;
|
|
798
|
+
/**
|
|
799
|
+
* @generated from protobuf field: optional google.protobuf.BoolValue notify_friends_on_profile_update = 24
|
|
800
|
+
*/
|
|
801
|
+
notifyFriendsOnProfileUpdate?: BoolValue;
|
|
794
802
|
}
|
|
795
803
|
/**
|
|
796
804
|
* @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.PrivacySettings
|
|
@@ -2498,7 +2498,9 @@ 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 },
|
|
2503
|
+
{ no: 24, name: "notify_friends_on_profile_update", kind: "message", T: () => wrappers_5.BoolValue }
|
|
2502
2504
|
]);
|
|
2503
2505
|
}
|
|
2504
2506
|
create(value) {
|
|
@@ -2583,6 +2585,12 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2583
2585
|
case /* optional google.protobuf.BoolValue enable_upcoming_server_event_notifications */ 22:
|
|
2584
2586
|
message.enableUpcomingServerEventNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enableUpcomingServerEventNotifications);
|
|
2585
2587
|
break;
|
|
2588
|
+
case /* optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications */ 23:
|
|
2589
|
+
message.enableScreenDowntimeScheduleNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enableScreenDowntimeScheduleNotifications);
|
|
2590
|
+
break;
|
|
2591
|
+
case /* optional google.protobuf.BoolValue notify_friends_on_profile_update */ 24:
|
|
2592
|
+
message.notifyFriendsOnProfileUpdate = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.notifyFriendsOnProfileUpdate);
|
|
2593
|
+
break;
|
|
2586
2594
|
default:
|
|
2587
2595
|
let u = options.readUnknownField;
|
|
2588
2596
|
if (u === "throw")
|
|
@@ -2661,6 +2669,12 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2661
2669
|
/* optional google.protobuf.BoolValue enable_upcoming_server_event_notifications = 22; */
|
|
2662
2670
|
if (message.enableUpcomingServerEventNotifications)
|
|
2663
2671
|
wrappers_5.BoolValue.internalBinaryWrite(message.enableUpcomingServerEventNotifications, writer.tag(22, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2672
|
+
/* optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications = 23; */
|
|
2673
|
+
if (message.enableScreenDowntimeScheduleNotifications)
|
|
2674
|
+
wrappers_5.BoolValue.internalBinaryWrite(message.enableScreenDowntimeScheduleNotifications, writer.tag(23, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2675
|
+
/* optional google.protobuf.BoolValue notify_friends_on_profile_update = 24; */
|
|
2676
|
+
if (message.notifyFriendsOnProfileUpdate)
|
|
2677
|
+
wrappers_5.BoolValue.internalBinaryWrite(message.notifyFriendsOnProfileUpdate, writer.tag(24, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2664
2678
|
let u = options.writeUnknownFields;
|
|
2665
2679
|
if (u !== false)
|
|
2666
2680
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|