discord-protos 1.2.196 → 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.
|
@@ -270,6 +270,7 @@ message PreloadedUserSettings {
|
|
|
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
272
|
optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications = 23;
|
|
273
|
+
optional google.protobuf.BoolValue notify_friends_on_profile_update = 24;
|
|
273
274
|
}
|
|
274
275
|
|
|
275
276
|
enum GuildActivityStatusRestrictionDefault {
|
|
@@ -795,6 +795,10 @@ export interface PreloadedUserSettings_NotificationSettings {
|
|
|
795
795
|
* @generated from protobuf field: optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications = 23
|
|
796
796
|
*/
|
|
797
797
|
enableScreenDowntimeScheduleNotifications?: BoolValue;
|
|
798
|
+
/**
|
|
799
|
+
* @generated from protobuf field: optional google.protobuf.BoolValue notify_friends_on_profile_update = 24
|
|
800
|
+
*/
|
|
801
|
+
notifyFriendsOnProfileUpdate?: BoolValue;
|
|
798
802
|
}
|
|
799
803
|
/**
|
|
800
804
|
* @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.PrivacySettings
|
|
@@ -2499,7 +2499,8 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
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
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
|
+
{ 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 }
|
|
2503
2504
|
]);
|
|
2504
2505
|
}
|
|
2505
2506
|
create(value) {
|
|
@@ -2587,6 +2588,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2587
2588
|
case /* optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications */ 23:
|
|
2588
2589
|
message.enableScreenDowntimeScheduleNotifications = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enableScreenDowntimeScheduleNotifications);
|
|
2589
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;
|
|
2590
2594
|
default:
|
|
2591
2595
|
let u = options.readUnknownField;
|
|
2592
2596
|
if (u === "throw")
|
|
@@ -2668,6 +2672,9 @@ class PreloadedUserSettings_NotificationSettings$Type extends runtime_4.MessageT
|
|
|
2668
2672
|
/* optional google.protobuf.BoolValue enable_screen_downtime_schedule_notifications = 23; */
|
|
2669
2673
|
if (message.enableScreenDowntimeScheduleNotifications)
|
|
2670
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();
|
|
2671
2678
|
let u = options.writeUnknownFields;
|
|
2672
2679
|
if (u !== false)
|
|
2673
2680
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|