discord-protos 1.2.350 → 1.2.351
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.
|
@@ -229,6 +229,7 @@ message PreloadedUserSettings {
|
|
|
229
229
|
optional google.protobuf.StringValue custom_search_url = 38;
|
|
230
230
|
optional google.protobuf.BoolValue include_game_mentions_in_autocomplete = 39;
|
|
231
231
|
optional google.protobuf.BoolValue inline_emoji_suggestions_enabled = 40;
|
|
232
|
+
optional google.protobuf.BoolValue display_compact_avatars = 41;
|
|
232
233
|
}
|
|
233
234
|
|
|
234
235
|
enum ReactionNotificationType {
|
|
@@ -714,6 +714,10 @@ export interface PreloadedUserSettings_TextAndImagesSettings {
|
|
|
714
714
|
* @generated from protobuf field: optional google.protobuf.BoolValue inline_emoji_suggestions_enabled = 40
|
|
715
715
|
*/
|
|
716
716
|
inlineEmojiSuggestionsEnabled?: BoolValue;
|
|
717
|
+
/**
|
|
718
|
+
* @generated from protobuf field: optional google.protobuf.BoolValue display_compact_avatars = 41
|
|
719
|
+
*/
|
|
720
|
+
displayCompactAvatars?: BoolValue;
|
|
717
721
|
}
|
|
718
722
|
/**
|
|
719
723
|
* @generated from protobuf message discord_protos.discord_users.v1.PreloadedUserSettings.NotificationSettings
|
|
@@ -2245,7 +2245,8 @@ class PreloadedUserSettings_TextAndImagesSettings$Type extends runtime_4.Message
|
|
|
2245
2245
|
{ no: 37, name: "search_provider", kind: "enum", T: () => ["discord_protos.discord_users.v1.PreloadedUserSettings.SearchProvider", PreloadedUserSettings_SearchProvider, "SEARCH_PROVIDER_"] },
|
|
2246
2246
|
{ no: 38, name: "custom_search_url", kind: "message", T: () => wrappers_6.StringValue },
|
|
2247
2247
|
{ no: 39, name: "include_game_mentions_in_autocomplete", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2248
|
-
{ no: 40, name: "inline_emoji_suggestions_enabled", kind: "message", T: () => wrappers_5.BoolValue }
|
|
2248
|
+
{ no: 40, name: "inline_emoji_suggestions_enabled", kind: "message", T: () => wrappers_5.BoolValue },
|
|
2249
|
+
{ no: 41, name: "display_compact_avatars", kind: "message", T: () => wrappers_5.BoolValue }
|
|
2249
2250
|
]);
|
|
2250
2251
|
}
|
|
2251
2252
|
create(value) {
|
|
@@ -2381,6 +2382,9 @@ class PreloadedUserSettings_TextAndImagesSettings$Type extends runtime_4.Message
|
|
|
2381
2382
|
case /* optional google.protobuf.BoolValue inline_emoji_suggestions_enabled */ 40:
|
|
2382
2383
|
message.inlineEmojiSuggestionsEnabled = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.inlineEmojiSuggestionsEnabled);
|
|
2383
2384
|
break;
|
|
2385
|
+
case /* optional google.protobuf.BoolValue display_compact_avatars */ 41:
|
|
2386
|
+
message.displayCompactAvatars = wrappers_5.BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.displayCompactAvatars);
|
|
2387
|
+
break;
|
|
2384
2388
|
default:
|
|
2385
2389
|
let u = options.readUnknownField;
|
|
2386
2390
|
if (u === "throw")
|
|
@@ -2510,6 +2514,9 @@ class PreloadedUserSettings_TextAndImagesSettings$Type extends runtime_4.Message
|
|
|
2510
2514
|
/* optional google.protobuf.BoolValue inline_emoji_suggestions_enabled = 40; */
|
|
2511
2515
|
if (message.inlineEmojiSuggestionsEnabled)
|
|
2512
2516
|
wrappers_5.BoolValue.internalBinaryWrite(message.inlineEmojiSuggestionsEnabled, writer.tag(40, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2517
|
+
/* optional google.protobuf.BoolValue display_compact_avatars = 41; */
|
|
2518
|
+
if (message.displayCompactAvatars)
|
|
2519
|
+
wrappers_5.BoolValue.internalBinaryWrite(message.displayCompactAvatars, writer.tag(41, runtime_1.WireType.LengthDelimited).fork(), options).join();
|
|
2513
2520
|
let u = options.writeUnknownFields;
|
|
2514
2521
|
if (u !== false)
|
|
2515
2522
|
(u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|