discord-protos 1.0.4 → 1.2.43
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/.github/workflows/update.yml +45 -12
- package/.prettierrc.yml +1 -0
- package/MANIFEST.in +4 -0
- package/README.md +47 -16
- package/discord_protos/__init__.py +40 -0
- package/discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures.proto +22 -0
- package/discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures_pb2.py +42 -0
- package/discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection.proto +10 -0
- package/discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection_pb2.py +40 -0
- package/{out → discord_protos/discord_users/v1}/FrecencyUserSettings.proto +31 -5
- package/discord_protos/discord_users/v1/FrecencyUserSettings_pb2.py +100 -0
- package/discord_protos/discord_users/v1/PreloadedUserSettings.proto +497 -0
- package/discord_protos/discord_users/v1/PreloadedUserSettings_pb2.py +208 -0
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.proto +62 -0
- package/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties_pb2.py +60 -0
- package/dist/discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures.d.ts +71 -0
- package/dist/discord_protos/discord_kkv_store_value_models/v1/AcknowledgedApplicationDisclosures.js +131 -0
- package/dist/discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection.d.ts +41 -0
- package/dist/discord_protos/discord_kkv_store_value_models/v1/ApplicationUserRoleConnection.js +94 -0
- package/dist/{proto → discord_protos/discord_users/v1}/FrecencyUserSettings.d.ts +184 -53
- package/dist/{proto → discord_protos/discord_users/v1}/FrecencyUserSettings.js +469 -96
- package/dist/discord_protos/discord_users/v1/PreloadedUserSettings.d.ts +2035 -0
- package/dist/discord_protos/discord_users/v1/PreloadedUserSettings.js +4200 -0
- package/dist/{proto → discord_protos}/google/protobuf/timestamp.d.ts +3 -6
- package/dist/{proto → discord_protos}/google/protobuf/timestamp.js +11 -11
- package/dist/{proto → discord_protos}/google/protobuf/wrappers.d.ts +9 -9
- package/dist/{proto → discord_protos}/google/protobuf/wrappers.js +28 -30
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.d.ts +261 -0
- package/dist/discord_protos/premium_marketing/v1/PremiumMarketingComponentProperties.js +558 -0
- package/dist/index.d.ts +5 -2
- package/dist/index.js +34 -4
- package/dist/load.js +144 -8
- package/package.json +14 -13
- package/pyproject.toml +21 -0
- package/requirements.txt +1 -0
- package/scripts/parse.js +269 -0
- package/scripts/preload.js +17 -0
- package/setup.py +42 -0
- package/tsconfig.json +6 -4
- package/dist/parse.d.ts +0 -35
- package/dist/parse.js +0 -175
- package/dist/proto/PreloadedUserSettings.d.ts +0 -1022
- package/dist/proto/PreloadedUserSettings.js +0 -2235
- package/dist/test.d.ts +0 -1
- package/dist/test.js +0 -19
- package/out/PreloadedUserSettings.proto +0 -240
- package/package-lock.json +0 -1755
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
import "google/protobuf/wrappers.proto";
|
|
4
|
+
import "google/protobuf/timestamp.proto";
|
|
5
|
+
|
|
6
|
+
package discord_protos.discord_users.v1;
|
|
7
|
+
|
|
8
|
+
message PreloadedUserSettings {
|
|
9
|
+
message Versions {
|
|
10
|
+
uint32 client_version = 1;
|
|
11
|
+
uint32 server_version = 2;
|
|
12
|
+
uint32 data_version = 3;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
enum InboxTab {
|
|
16
|
+
INBOX_TAB_UNSPECIFIED = 0;
|
|
17
|
+
INBOX_TAB_MENTIONS = 1;
|
|
18
|
+
INBOX_TAB_UNREADS = 2;
|
|
19
|
+
INBOX_TAB_TODOS = 3;
|
|
20
|
+
INBOX_TAB_FOR_YOU = 4;
|
|
21
|
+
INBOX_TAB_GAME_INVITES = 5;
|
|
22
|
+
INBOX_TAB_BOOKMARKS = 6;
|
|
23
|
+
INBOX_TAB_SCHEDULED = 7;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
message InboxSettings {
|
|
27
|
+
InboxTab current_tab = 1;
|
|
28
|
+
bool viewed_tutorial = 2;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
message ChannelIconEmoji {
|
|
32
|
+
optional google.protobuf.UInt64Value id = 1;
|
|
33
|
+
optional google.protobuf.StringValue name = 2;
|
|
34
|
+
optional google.protobuf.UInt64Value color = 3;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
message CustomNotificationSoundConfig {
|
|
38
|
+
optional google.protobuf.StringValue notification_sound_pack_id = 1;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
message ChannelSettings {
|
|
42
|
+
bool collapsed_in_inbox = 1;
|
|
43
|
+
optional ChannelIconEmoji icon_emoji = 2;
|
|
44
|
+
optional CustomNotificationSoundConfig custom_notification_sound_config = 3;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
message CustomCallSound {
|
|
48
|
+
fixed64 sound_id = 1;
|
|
49
|
+
fixed64 guild_id = 2;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
message ChannelListSettings {
|
|
53
|
+
optional google.protobuf.StringValue layout = 1;
|
|
54
|
+
optional google.protobuf.StringValue message_previews = 2;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
message GuildSettings {
|
|
58
|
+
map<fixed64, ChannelSettings> channels = 1;
|
|
59
|
+
uint32 hub_progress = 2;
|
|
60
|
+
uint32 guild_onboarding_progress = 3;
|
|
61
|
+
optional google.protobuf.Timestamp guild_recents_dismissed_at = 4;
|
|
62
|
+
bytes dismissed_guild_content = 5;
|
|
63
|
+
optional CustomCallSound join_sound = 6;
|
|
64
|
+
optional ChannelListSettings mobile_redesign_channel_list_settings = 7;
|
|
65
|
+
bool disable_raid_alert_push = 8;
|
|
66
|
+
bool disable_raid_alert_nag = 9;
|
|
67
|
+
optional CustomNotificationSoundConfig custom_notification_sound_config = 10;
|
|
68
|
+
bool leaderboards_disabled = 11;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
message AllGuildSettings {
|
|
72
|
+
map<fixed64, GuildSettings> guilds = 1;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
message RecurringDismissibleContentState {
|
|
76
|
+
uint32 last_dismissed_version = 1;
|
|
77
|
+
uint64 last_dismissed_at_ms = 2;
|
|
78
|
+
uint64 last_dismissed_object_id = 3;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
message UserContentSettings {
|
|
82
|
+
bytes dismissed_contents = 1;
|
|
83
|
+
optional google.protobuf.StringValue last_dismissed_outbound_promotion_start_date = 2;
|
|
84
|
+
optional google.protobuf.Timestamp premium_tier_0_modal_dismissed_at = 3;
|
|
85
|
+
optional google.protobuf.Timestamp guild_onboarding_upsell_dismissed_at = 4;
|
|
86
|
+
optional google.protobuf.Timestamp safety_user_sentiment_notice_dismissed_at = 5;
|
|
87
|
+
fixed64 last_received_changelog_id = 6;
|
|
88
|
+
map<int32, RecurringDismissibleContentState> recurring_dismissible_content_states = 7;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
message VideoFilterBackgroundBlur {
|
|
92
|
+
bool use_blur = 1;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
message VideoFilterAsset {
|
|
96
|
+
fixed64 id = 1;
|
|
97
|
+
string asset_hash = 2;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
message SoundboardSettings {
|
|
101
|
+
float volume = 1;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
message VoiceAndVideoSettings {
|
|
105
|
+
oneof video_background_filter_desktop {
|
|
106
|
+
VideoFilterBackgroundBlur blur = 1;
|
|
107
|
+
uint32 preset_option = 2;
|
|
108
|
+
VideoFilterAsset custom_asset = 3;
|
|
109
|
+
}
|
|
110
|
+
optional google.protobuf.BoolValue always_preview_video = 5;
|
|
111
|
+
optional google.protobuf.UInt32Value afk_timeout = 6;
|
|
112
|
+
optional google.protobuf.BoolValue stream_notifications_enabled = 7;
|
|
113
|
+
optional google.protobuf.BoolValue native_phone_integration_enabled = 8;
|
|
114
|
+
optional SoundboardSettings soundboard_settings = 9;
|
|
115
|
+
optional google.protobuf.BoolValue disable_stream_previews = 10;
|
|
116
|
+
optional google.protobuf.FloatValue soundmoji_volume = 11;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
enum DmSpamFilterV2 {
|
|
120
|
+
DM_SPAM_FILTER_V2_DEFAULT_UNSET = 0;
|
|
121
|
+
DM_SPAM_FILTER_V2_DISABLED = 1;
|
|
122
|
+
DM_SPAM_FILTER_V2_NON_FRIENDS = 2;
|
|
123
|
+
DM_SPAM_FILTER_V2_FRIENDS_AND_NON_FRIENDS = 3;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
enum ExplicitContentRedaction {
|
|
127
|
+
EXPLICIT_CONTENT_REDACTION_UNSET_EXPLICIT_CONTENT_REDACTION = 0;
|
|
128
|
+
EXPLICIT_CONTENT_REDACTION_SHOW = 1;
|
|
129
|
+
EXPLICIT_CONTENT_REDACTION_BLUR = 2;
|
|
130
|
+
EXPLICIT_CONTENT_REDACTION_BLOCK = 3;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
message ExplicitContentSettings {
|
|
134
|
+
ExplicitContentRedaction explicit_content_guilds = 1;
|
|
135
|
+
ExplicitContentRedaction explicit_content_friend_dm = 2;
|
|
136
|
+
ExplicitContentRedaction explicit_content_non_friend_dm = 3;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
message KeywordFilterSettings {
|
|
140
|
+
optional google.protobuf.BoolValue profanity = 1;
|
|
141
|
+
optional google.protobuf.BoolValue sexual_content = 2;
|
|
142
|
+
optional google.protobuf.BoolValue slurs = 3;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
message GoreContentSettings {
|
|
146
|
+
ExplicitContentRedaction gore_content_guilds = 1;
|
|
147
|
+
ExplicitContentRedaction gore_content_friend_dm = 2;
|
|
148
|
+
ExplicitContentRedaction gore_content_non_friend_dm = 3;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
message TextAndImagesSettings {
|
|
152
|
+
optional google.protobuf.StringValue diversity_surrogate = 1;
|
|
153
|
+
optional google.protobuf.BoolValue use_rich_chat_input = 2;
|
|
154
|
+
optional google.protobuf.BoolValue use_thread_sidebar = 3;
|
|
155
|
+
optional google.protobuf.StringValue render_spoilers = 4;
|
|
156
|
+
repeated string emoji_picker_collapsed_sections = 5 [packed = false];
|
|
157
|
+
repeated string sticker_picker_collapsed_sections = 6 [packed = false];
|
|
158
|
+
optional google.protobuf.BoolValue view_image_descriptions = 7;
|
|
159
|
+
optional google.protobuf.BoolValue show_command_suggestions = 8;
|
|
160
|
+
optional google.protobuf.BoolValue inline_attachment_media = 9;
|
|
161
|
+
optional google.protobuf.BoolValue inline_embed_media = 10;
|
|
162
|
+
optional google.protobuf.BoolValue gif_auto_play = 11;
|
|
163
|
+
optional google.protobuf.BoolValue render_embeds = 12;
|
|
164
|
+
optional google.protobuf.BoolValue render_reactions = 13;
|
|
165
|
+
optional google.protobuf.BoolValue animate_emoji = 14;
|
|
166
|
+
optional google.protobuf.UInt32Value animate_stickers = 15;
|
|
167
|
+
optional google.protobuf.BoolValue enable_tts_command = 16;
|
|
168
|
+
optional google.protobuf.BoolValue message_display_compact = 17;
|
|
169
|
+
optional google.protobuf.UInt32Value explicit_content_filter = 19;
|
|
170
|
+
optional google.protobuf.BoolValue view_nsfw_guilds = 20;
|
|
171
|
+
optional google.protobuf.BoolValue convert_emoticons = 21;
|
|
172
|
+
optional google.protobuf.BoolValue expression_suggestions_enabled = 22;
|
|
173
|
+
optional google.protobuf.BoolValue view_nsfw_commands = 23;
|
|
174
|
+
optional google.protobuf.BoolValue use_legacy_chat_input = 24;
|
|
175
|
+
repeated string soundboard_picker_collapsed_sections = 25 [packed = false];
|
|
176
|
+
optional google.protobuf.UInt32Value dm_spam_filter = 26;
|
|
177
|
+
DmSpamFilterV2 dm_spam_filter_v2 = 27;
|
|
178
|
+
optional google.protobuf.BoolValue include_stickers_in_autocomplete = 28;
|
|
179
|
+
optional ExplicitContentSettings explicit_content_settings = 29;
|
|
180
|
+
optional KeywordFilterSettings keyword_filter_settings = 30;
|
|
181
|
+
optional google.protobuf.BoolValue include_soundmoji_in_autocomplete = 31;
|
|
182
|
+
optional GoreContentSettings gore_content_settings = 32;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
enum ReactionNotificationType {
|
|
186
|
+
REACTION_NOTIFICATION_TYPE_NOTIFICATIONS_ENABLED = 0;
|
|
187
|
+
REACTION_NOTIFICATION_TYPE_ONLY_DMS = 1;
|
|
188
|
+
REACTION_NOTIFICATION_TYPE_NOTIFICATIONS_DISABLED = 2;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
enum GameActivityNotificationType {
|
|
192
|
+
GAME_ACTIVITY_NOTIFICATION_TYPE_ACTIVITY_NOTIFICATIONS_UNSET = 0;
|
|
193
|
+
GAME_ACTIVITY_NOTIFICATION_TYPE_ACTIVITY_NOTIFICATIONS_DISABLED = 1;
|
|
194
|
+
GAME_ACTIVITY_NOTIFICATION_TYPE_ACTIVITY_NOTIFICATIONS_ENABLED = 2;
|
|
195
|
+
GAME_ACTIVITY_NOTIFICATION_TYPE_ONLY_GAMES_PLAYED = 3;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
enum CustomStatusPushNotificationType {
|
|
199
|
+
CUSTOM_STATUS_PUSH_NOTIFICATION_TYPE_STATUS_PUSH_UNSET = 0;
|
|
200
|
+
CUSTOM_STATUS_PUSH_NOTIFICATION_TYPE_STATUS_PUSH_ENABLED = 1;
|
|
201
|
+
CUSTOM_STATUS_PUSH_NOTIFICATION_TYPE_STATUS_PUSH_DISABLED = 2;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
message NotificationSettings {
|
|
205
|
+
optional google.protobuf.BoolValue show_in_app_notifications = 1;
|
|
206
|
+
optional google.protobuf.BoolValue notify_friends_on_go_live = 2;
|
|
207
|
+
fixed64 notification_center_acked_before_id = 3;
|
|
208
|
+
optional google.protobuf.BoolValue enable_burst_reaction_notifications = 4;
|
|
209
|
+
optional google.protobuf.BoolValue quiet_mode = 5;
|
|
210
|
+
fixed64 focus_mode_expires_at_ms = 6;
|
|
211
|
+
ReactionNotificationType reaction_notifications = 7;
|
|
212
|
+
GameActivityNotificationType game_activity_notifications = 8;
|
|
213
|
+
CustomStatusPushNotificationType custom_status_push_notifications = 9;
|
|
214
|
+
optional google.protobuf.BoolValue game_activity_exclude_steam_notifications = 10;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
enum GuildActivityStatusRestrictionDefault {
|
|
218
|
+
GUILD_ACTIVITY_STATUS_RESTRICTION_DEFAULT_OFF = 0;
|
|
219
|
+
GUILD_ACTIVITY_STATUS_RESTRICTION_DEFAULT_ON_FOR_LARGE_GUILDS = 1;
|
|
220
|
+
GUILD_ACTIVITY_STATUS_RESTRICTION_DEFAULT_ON = 2;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
enum GuildsLeaderboardOptOutDefault {
|
|
224
|
+
GUILDS_LEADERBOARD_OPT_OUT_DEFAULT_OFF_FOR_NEW_GUILDS = 0;
|
|
225
|
+
GUILDS_LEADERBOARD_OPT_OUT_DEFAULT_ON_FOR_NEW_GUILDS = 1;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
enum SlayerSDKReceiveInGameDMs {
|
|
229
|
+
SLAYER_SDK_RECEIVE_IN_GAME_DMS_UNSET = 0;
|
|
230
|
+
SLAYER_SDK_RECEIVE_IN_GAME_DMS_ALL = 1;
|
|
231
|
+
SLAYER_SDK_RECEIVE_IN_GAME_DMS_USERS_WITH_GAME = 2;
|
|
232
|
+
SLAYER_SDK_RECEIVE_IN_GAME_DMS_NONE = 3;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
message PrivacySettings {
|
|
236
|
+
optional google.protobuf.BoolValue allow_activity_party_privacy_friends = 1;
|
|
237
|
+
optional google.protobuf.BoolValue allow_activity_party_privacy_voice_channel = 2;
|
|
238
|
+
repeated fixed64 restricted_guild_ids = 3;
|
|
239
|
+
bool default_guilds_restricted = 4;
|
|
240
|
+
bool allow_accessibility_detection = 7;
|
|
241
|
+
optional google.protobuf.BoolValue detect_platform_accounts = 8;
|
|
242
|
+
optional google.protobuf.BoolValue passwordless = 9;
|
|
243
|
+
optional google.protobuf.BoolValue contact_sync_enabled = 10;
|
|
244
|
+
optional google.protobuf.UInt32Value friend_source_flags = 11;
|
|
245
|
+
optional google.protobuf.UInt32Value friend_discovery_flags = 12;
|
|
246
|
+
repeated fixed64 activity_restricted_guild_ids = 13;
|
|
247
|
+
GuildActivityStatusRestrictionDefault default_guilds_activity_restricted = 14;
|
|
248
|
+
repeated fixed64 activity_joining_restricted_guild_ids = 15;
|
|
249
|
+
repeated fixed64 message_request_restricted_guild_ids = 16;
|
|
250
|
+
optional google.protobuf.BoolValue default_message_request_restricted = 17;
|
|
251
|
+
optional google.protobuf.BoolValue drops_opted_out = 18;
|
|
252
|
+
optional google.protobuf.BoolValue non_spam_retraining_opt_in = 19;
|
|
253
|
+
optional google.protobuf.BoolValue family_center_enabled = 20;
|
|
254
|
+
optional google.protobuf.BoolValue family_center_enabled_v2 = 21;
|
|
255
|
+
optional google.protobuf.BoolValue hide_legacy_username = 22;
|
|
256
|
+
optional google.protobuf.BoolValue inappropriate_conversation_warnings = 23;
|
|
257
|
+
optional google.protobuf.BoolValue recent_games_enabled = 24;
|
|
258
|
+
GuildsLeaderboardOptOutDefault guilds_leaderboard_opt_out_default = 25;
|
|
259
|
+
optional google.protobuf.BoolValue allow_game_friend_dms_in_discord = 26;
|
|
260
|
+
optional google.protobuf.BoolValue default_guilds_restricted_v2 = 27;
|
|
261
|
+
SlayerSDKReceiveInGameDMs slayer_sdk_receive_dms_in_game = 28;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
message DebugSettings {
|
|
265
|
+
optional google.protobuf.BoolValue rtc_panel_show_voice_states = 1;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
message GameLibrarySettings {
|
|
269
|
+
optional google.protobuf.BoolValue install_shortcut_desktop = 1;
|
|
270
|
+
optional google.protobuf.BoolValue install_shortcut_start_menu = 2;
|
|
271
|
+
optional google.protobuf.BoolValue disable_games_tab = 3;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
message CustomStatus {
|
|
275
|
+
string text = 1;
|
|
276
|
+
fixed64 emoji_id = 2;
|
|
277
|
+
string emoji_name = 3;
|
|
278
|
+
fixed64 expires_at_ms = 4;
|
|
279
|
+
fixed64 created_at_ms = 5;
|
|
280
|
+
optional google.protobuf.StringValue label = 6;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
message StatusSettings {
|
|
284
|
+
optional google.protobuf.StringValue status = 1;
|
|
285
|
+
optional CustomStatus custom_status = 2;
|
|
286
|
+
optional google.protobuf.BoolValue show_current_game = 3;
|
|
287
|
+
fixed64 status_expires_at_ms = 4;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
message LocalizationSettings {
|
|
291
|
+
optional google.protobuf.StringValue locale = 1;
|
|
292
|
+
optional google.protobuf.Int32Value timezone_offset = 2;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
enum Theme {
|
|
296
|
+
THEME_UNSET = 0;
|
|
297
|
+
THEME_DARK = 1;
|
|
298
|
+
THEME_LIGHT = 2;
|
|
299
|
+
THEME_DARKER = 3;
|
|
300
|
+
THEME_MIDNIGHT = 4;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
message CustomUserThemeSettings {
|
|
304
|
+
repeated string colors = 1 [packed = false];
|
|
305
|
+
repeated float gradient_color_stops = 2;
|
|
306
|
+
int32 gradient_angle = 3;
|
|
307
|
+
int32 base_mix = 4;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
message ClientThemeSettings {
|
|
311
|
+
optional google.protobuf.UInt32Value background_gradient_preset_id = 2;
|
|
312
|
+
optional CustomUserThemeSettings custom_user_theme_settings = 4;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
enum TimestampHourCycle {
|
|
316
|
+
TIMESTAMP_HOUR_CYCLE_AUTO = 0;
|
|
317
|
+
TIMESTAMP_HOUR_CYCLE_H12 = 1;
|
|
318
|
+
TIMESTAMP_HOUR_CYCLE_H23 = 2;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
enum LaunchPadMode {
|
|
322
|
+
LAUNCH_PAD_MODE_LAUNCH_PAD_DISABLED = 0;
|
|
323
|
+
LAUNCH_PAD_MODE_LAUNCH_PAD_GESTURE_FULL_SCREEN = 1;
|
|
324
|
+
LAUNCH_PAD_MODE_LAUNCH_PAD_GESTURE_RIGHT_EDGE = 2;
|
|
325
|
+
LAUNCH_PAD_MODE_LAUNCH_PAD_PULL_TAB = 3;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
enum UIDensity {
|
|
329
|
+
UI_DENSITY_UNSET_UI_DENSITY = 0;
|
|
330
|
+
UI_DENSITY_COMPACT = 1;
|
|
331
|
+
UI_DENSITY_COZY = 2;
|
|
332
|
+
UI_DENSITY_RESPONSIVE = 3;
|
|
333
|
+
UI_DENSITY_DEFAULT = 4;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
enum SwipeRightToLeftMode {
|
|
337
|
+
SWIPE_RIGHT_TO_LEFT_MODE_SWIPE_RIGHT_TO_LEFT_UNSET = 0;
|
|
338
|
+
SWIPE_RIGHT_TO_LEFT_MODE_SWIPE_RIGHT_TO_LEFT_CHANNEL_DETAILS = 1;
|
|
339
|
+
SWIPE_RIGHT_TO_LEFT_MODE_SWIPE_RIGHT_TO_LEFT_REPLY = 2;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
message AppearanceSettings {
|
|
343
|
+
Theme theme = 1;
|
|
344
|
+
bool developer_mode = 2;
|
|
345
|
+
optional ClientThemeSettings client_theme_settings = 3;
|
|
346
|
+
bool mobile_redesign_disabled = 4;
|
|
347
|
+
optional google.protobuf.StringValue channel_list_layout = 6;
|
|
348
|
+
optional google.protobuf.StringValue message_previews = 7;
|
|
349
|
+
optional google.protobuf.BoolValue search_result_exact_count_enabled = 8;
|
|
350
|
+
TimestampHourCycle timestamp_hour_cycle = 9;
|
|
351
|
+
optional google.protobuf.BoolValue happening_now_cards_disabled = 10;
|
|
352
|
+
LaunchPadMode launch_pad_mode = 11;
|
|
353
|
+
UIDensity ui_density = 12;
|
|
354
|
+
SwipeRightToLeftMode swipe_right_to_left_mode = 13;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
message GuildFolder {
|
|
358
|
+
repeated fixed64 guild_ids = 1;
|
|
359
|
+
optional google.protobuf.Int64Value id = 2;
|
|
360
|
+
optional google.protobuf.StringValue name = 3;
|
|
361
|
+
optional google.protobuf.UInt64Value color = 4;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
message GuildFolders {
|
|
365
|
+
repeated GuildFolder folders = 1;
|
|
366
|
+
repeated fixed64 guild_positions = 2;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
enum FavoriteChannelType {
|
|
370
|
+
FAVORITE_CHANNEL_TYPE_UNSET_FAVORITE_CHANNEL_TYPE = 0;
|
|
371
|
+
FAVORITE_CHANNEL_TYPE_REFERENCE_ORIGINAL = 1;
|
|
372
|
+
FAVORITE_CHANNEL_TYPE_CATEGORY = 2;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
message FavoriteChannel {
|
|
376
|
+
string nickname = 1;
|
|
377
|
+
FavoriteChannelType type = 2;
|
|
378
|
+
uint32 position = 3;
|
|
379
|
+
fixed64 parent_id = 4;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
message Favorites {
|
|
383
|
+
map<fixed64, FavoriteChannel> favorite_channels = 1;
|
|
384
|
+
bool muted = 2;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
message AudioContextSetting {
|
|
388
|
+
bool muted = 1;
|
|
389
|
+
float volume = 2;
|
|
390
|
+
fixed64 modified_at = 3;
|
|
391
|
+
bool soundboard_muted = 4;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
message AudioSettings {
|
|
395
|
+
map<fixed64, AudioContextSetting> user = 1;
|
|
396
|
+
map<fixed64, AudioContextSetting> stream = 2;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
message CommunitiesSettings {
|
|
400
|
+
optional google.protobuf.BoolValue disable_home_auto_nav = 1;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
message BroadcastSettings {
|
|
404
|
+
optional google.protobuf.BoolValue allow_friends = 1;
|
|
405
|
+
repeated fixed64 allowed_guild_ids = 2;
|
|
406
|
+
repeated fixed64 allowed_user_ids = 3;
|
|
407
|
+
optional google.protobuf.BoolValue auto_broadcast = 4;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
message ClipsSettings {
|
|
411
|
+
optional google.protobuf.BoolValue allow_voice_recording = 1;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
enum ForLaterTab {
|
|
415
|
+
FOR_LATER_TAB_UNSPECIFIED = 0;
|
|
416
|
+
FOR_LATER_TAB_ALL = 1;
|
|
417
|
+
FOR_LATER_TAB_BOOKMARKS = 2;
|
|
418
|
+
FOR_LATER_TAB_REMINDERS = 3;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
message ForLaterSettings {
|
|
422
|
+
ForLaterTab current_tab = 1;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
enum SafetySettingsPresetType {
|
|
426
|
+
SAFETY_SETTINGS_PRESET_TYPE_UNSET_SAFETY_SETTINGS_PRESET = 0;
|
|
427
|
+
SAFETY_SETTINGS_PRESET_TYPE_BALANCED = 1;
|
|
428
|
+
SAFETY_SETTINGS_PRESET_TYPE_STRICT = 2;
|
|
429
|
+
SAFETY_SETTINGS_PRESET_TYPE_RELAXED = 3;
|
|
430
|
+
SAFETY_SETTINGS_PRESET_TYPE_CUSTOM = 4;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
message SafetySettings {
|
|
434
|
+
SafetySettingsPresetType safety_settings_preset = 1;
|
|
435
|
+
bool ignore_profile_speedbump_disabled = 2;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
message ICYMISettings {
|
|
439
|
+
fixed64 feed_generated_at = 1;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
message ApplicationDMSettings {
|
|
443
|
+
bool allow_mobile_push = 2;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
message ApplicationSharingSettings {
|
|
447
|
+
bool disable_application_activity_sharing = 1;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
message ApplicationSettings {
|
|
451
|
+
optional ApplicationDMSettings app_dm_settings = 1;
|
|
452
|
+
optional ApplicationSharingSettings app_sharing_settings = 2;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
message AllApplicationSettings {
|
|
456
|
+
map<fixed64, ApplicationSettings> app_settings = 1;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
message AdsSettings {
|
|
460
|
+
bool always_deliver = 1;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
message InAppFeedbackState {
|
|
464
|
+
optional google.protobuf.UInt64Value last_impression_time = 1;
|
|
465
|
+
optional google.protobuf.UInt64Value opt_out_expiry_time = 2;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
message InAppFeedbackSettings {
|
|
469
|
+
map<int32, InAppFeedbackState> in_app_feedback_states = 1;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
optional Versions versions = 1;
|
|
473
|
+
optional InboxSettings inbox = 2;
|
|
474
|
+
optional AllGuildSettings guilds = 3;
|
|
475
|
+
optional UserContentSettings user_content = 4;
|
|
476
|
+
optional VoiceAndVideoSettings voice_and_video = 5;
|
|
477
|
+
optional TextAndImagesSettings text_and_images = 6;
|
|
478
|
+
optional NotificationSettings notifications = 7;
|
|
479
|
+
optional PrivacySettings privacy = 8;
|
|
480
|
+
optional DebugSettings debug = 9;
|
|
481
|
+
optional GameLibrarySettings game_library = 10;
|
|
482
|
+
optional StatusSettings status = 11;
|
|
483
|
+
optional LocalizationSettings localization = 12;
|
|
484
|
+
optional AppearanceSettings appearance = 13;
|
|
485
|
+
optional GuildFolders guild_folders = 14;
|
|
486
|
+
optional Favorites favorites = 15;
|
|
487
|
+
optional AudioSettings audio_context_settings = 16;
|
|
488
|
+
optional CommunitiesSettings communities = 17;
|
|
489
|
+
optional BroadcastSettings broadcast = 18;
|
|
490
|
+
optional ClipsSettings clips = 19;
|
|
491
|
+
optional ForLaterSettings for_later = 20;
|
|
492
|
+
optional SafetySettings safety_settings = 21;
|
|
493
|
+
optional ICYMISettings icymi_settings = 22;
|
|
494
|
+
optional AllApplicationSettings applications = 23;
|
|
495
|
+
optional AdsSettings ads = 24;
|
|
496
|
+
optional InAppFeedbackSettings in_app_feedback_settings = 25;
|
|
497
|
+
}
|