discord-api-spec 10.0.182499 → 10.0.182932

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.
@@ -1161,7 +1161,7 @@ export const enum WidgetUserDiscriminator {
1161
1161
  // Components
1162
1162
  export type AccountResponse = {
1163
1163
  id: string;
1164
- name?: string | null;
1164
+ name: string | null;
1165
1165
  };
1166
1166
 
1167
1167
  export type ActionRowComponentForMessageRequest = {
@@ -1533,7 +1533,7 @@ export type ApplicationCommandResponse = {
1533
1533
  id: SnowflakeType;
1534
1534
  application_id: SnowflakeType;
1535
1535
  version: SnowflakeType;
1536
- default_member_permissions?: string | null;
1536
+ default_member_permissions: string | null;
1537
1537
  type: ApplicationCommandType;
1538
1538
  name: string;
1539
1539
  name_localized?: string;
@@ -1797,9 +1797,9 @@ export type ApplicationFormPartial = {
1797
1797
  };
1798
1798
 
1799
1799
  export type ApplicationIncomingWebhookResponse = {
1800
- application_id?: null | SnowflakeType;
1801
- avatar?: string | null;
1802
- channel_id?: null | SnowflakeType;
1800
+ application_id: null | SnowflakeType;
1801
+ avatar: string | null;
1802
+ channel_id: null | SnowflakeType;
1803
1803
  guild_id?: null | SnowflakeType;
1804
1804
  id: SnowflakeType;
1805
1805
  name: string;
@@ -1828,9 +1828,9 @@ export type ApplicationOAuth2InstallParamsResponse = {
1828
1828
  export type ApplicationResponse = {
1829
1829
  id: SnowflakeType;
1830
1830
  name: string;
1831
- icon?: string | null;
1831
+ icon: string | null;
1832
1832
  description: string;
1833
- type?: null | ApplicationTypes;
1833
+ type: null | ApplicationTypes;
1834
1834
  cover_image?: string;
1835
1835
  primary_sku_id?: SnowflakeType;
1836
1836
  bot?: UserResponse;
@@ -1908,8 +1908,8 @@ export type AttachmentResponse = {
1908
1908
  export type AuditLogEntryResponse = {
1909
1909
  id: SnowflakeType;
1910
1910
  action_type: AuditLogActionTypes;
1911
- user_id?: null | SnowflakeType;
1912
- target_id?: null | SnowflakeType;
1911
+ user_id: null | SnowflakeType;
1912
+ target_id: null | SnowflakeType;
1913
1913
  changes?: AuditLogObjectChangeResponse[];
1914
1914
  options?: {
1915
1915
  [key: string]: string;
@@ -1918,7 +1918,7 @@ export type AuditLogEntryResponse = {
1918
1918
  };
1919
1919
 
1920
1920
  export type AuditLogObjectChangeResponse = {
1921
- key?: string | null;
1921
+ key: string | null;
1922
1922
  new_value?: unknown;
1923
1923
  old_value?: unknown;
1924
1924
  };
@@ -1953,24 +1953,24 @@ export type BaseCreateMessageCreateRequest = {
1953
1953
  export type BasicApplicationResponse = {
1954
1954
  id: SnowflakeType;
1955
1955
  name: string;
1956
- icon?: string | null;
1956
+ icon: string | null;
1957
1957
  description: string;
1958
- type?: null | ApplicationTypes;
1958
+ type: null | ApplicationTypes;
1959
1959
  cover_image?: string;
1960
1960
  primary_sku_id?: SnowflakeType;
1961
1961
  bot?: UserResponse;
1962
1962
  };
1963
1963
 
1964
1964
  export type BasicGuildMemberResponse = {
1965
- avatar?: string | null;
1965
+ avatar: string | null;
1966
1966
  avatar_decoration_data?: null | UserAvatarDecorationResponse;
1967
- banner?: string | null;
1968
- communication_disabled_until?: string | null;
1967
+ banner: string | null;
1968
+ communication_disabled_until: string | null;
1969
1969
  flags: number;
1970
1970
  joined_at: string;
1971
- nick?: string | null;
1971
+ nick: string | null;
1972
1972
  pending: boolean;
1973
- premium_since?: string | null;
1973
+ premium_since: string | null;
1974
1974
  roles: SnowflakeType[];
1975
1975
  collectibles?: null | UserCollectiblesResponse;
1976
1976
  };
@@ -1983,7 +1983,7 @@ export type BasicMessageResponse = {
1983
1983
  attachments: MessageAttachmentResponse[];
1984
1984
  embeds: MessageEmbedResponse[];
1985
1985
  timestamp: string;
1986
- edited_timestamp?: string | null;
1986
+ edited_timestamp: string | null;
1987
1987
  flags: number;
1988
1988
  components: (
1989
1989
  | ActionRowComponentResponse
@@ -2107,9 +2107,9 @@ export type ChannelFollowerResponse = {
2107
2107
  };
2108
2108
 
2109
2109
  export type ChannelFollowerWebhookResponse = {
2110
- application_id?: null | SnowflakeType;
2111
- avatar?: string | null;
2112
- channel_id?: null | SnowflakeType;
2110
+ application_id: null | SnowflakeType;
2111
+ avatar: string | null;
2112
+ channel_id: null | SnowflakeType;
2113
2113
  guild_id?: null | SnowflakeType;
2114
2114
  id: SnowflakeType;
2115
2115
  name: string;
@@ -2164,8 +2164,8 @@ export type ChannelSelectComponentResponse = {
2164
2164
  id: number;
2165
2165
  custom_id: string;
2166
2166
  placeholder?: string;
2167
- min_values?: number | null;
2168
- max_values?: number | null;
2167
+ min_values: number | null;
2168
+ max_values: number | null;
2169
2169
  disabled?: boolean;
2170
2170
  channel_types?: ChannelTypes[];
2171
2171
  default_values?: ChannelSelectDefaultValueResponse[];
@@ -2208,7 +2208,7 @@ export type ComponentEmojiResponse = {
2208
2208
  export type ConnectedAccountGuildResponse = {
2209
2209
  id: SnowflakeType;
2210
2210
  name: string;
2211
- icon?: string | null;
2211
+ icon: string | null;
2212
2212
  };
2213
2213
 
2214
2214
  export type ConnectedAccountIntegrationResponse = {
@@ -2220,7 +2220,7 @@ export type ConnectedAccountIntegrationResponse = {
2220
2220
 
2221
2221
  export type ConnectedAccountResponse = {
2222
2222
  id: string;
2223
- name?: string | null;
2223
+ name: string | null;
2224
2224
  type: ConnectedAccountProviders;
2225
2225
  friend_sync: boolean;
2226
2226
  integrations?: ConnectedAccountIntegrationResponse[];
@@ -2249,7 +2249,7 @@ export type ContainerComponentForMessageRequest = {
2249
2249
  export type ContainerComponentResponse = {
2250
2250
  type: MessageComponentTypes.CONTAINER;
2251
2251
  id: number;
2252
- accent_color?: number | null;
2252
+ accent_color: number | null;
2253
2253
  components: (
2254
2254
  | ActionRowComponentResponse
2255
2255
  | FileComponentResponse
@@ -2471,7 +2471,7 @@ export type DefaultReactionEmojiResponse = {
2471
2471
 
2472
2472
  export type DiscordIntegrationResponse = {
2473
2473
  type: IntegrationTypes.DISCORD;
2474
- name?: string | null;
2474
+ name: string | null;
2475
2475
  account: AccountResponse;
2476
2476
  enabled: boolean;
2477
2477
  id: SnowflakeType;
@@ -2536,7 +2536,7 @@ export type EntityMetadataVoiceResponse = {};
2536
2536
 
2537
2537
  export type ExternalConnectionIntegrationResponse = {
2538
2538
  type: IntegrationTypes;
2539
- name?: string | null;
2539
+ name: string | null;
2540
2540
  account: AccountResponse;
2541
2541
  enabled: boolean;
2542
2542
  id: string;
@@ -2580,16 +2580,16 @@ export type ExternalScheduledEventResponse = {
2580
2580
  id: SnowflakeType;
2581
2581
  guild_id: SnowflakeType;
2582
2582
  name: string;
2583
- description?: string | null;
2584
- channel_id?: null | SnowflakeType;
2585
- creator_id?: null | SnowflakeType;
2583
+ description: string | null;
2584
+ channel_id: null | SnowflakeType;
2585
+ creator_id: null | SnowflakeType;
2586
2586
  creator?: UserResponse;
2587
- image?: string | null;
2587
+ image: string | null;
2588
2588
  scheduled_start_time: string;
2589
- scheduled_end_time?: string | null;
2589
+ scheduled_end_time: string | null;
2590
2590
  status: GuildScheduledEventStatuses;
2591
2591
  entity_type: GuildScheduledEventEntityTypes.EXTERNAL;
2592
- entity_id?: null | SnowflakeType;
2592
+ entity_id: null | SnowflakeType;
2593
2593
  user_count?: number;
2594
2594
  privacy_level: GuildScheduledEventPrivacyLevels;
2595
2595
  user_rsvp?: null | ScheduledEventUserResponse;
@@ -2607,8 +2607,8 @@ export type FileComponentResponse = {
2607
2607
  type: MessageComponentTypes.FILE;
2608
2608
  id: number;
2609
2609
  file: UnfurledMediaResponse;
2610
- name?: string | null;
2611
- size?: number | null;
2610
+ name: string | null;
2611
+ size: number | null;
2612
2612
  spoiler: boolean;
2613
2613
  };
2614
2614
 
@@ -2643,8 +2643,8 @@ export type ForumTagResponse = {
2643
2643
  id: SnowflakeType;
2644
2644
  name: string;
2645
2645
  moderated: boolean;
2646
- emoji_id?: null | SnowflakeType;
2647
- emoji_name?: string | null;
2646
+ emoji_id: null | SnowflakeType;
2647
+ emoji_name: string | null;
2648
2648
  };
2649
2649
 
2650
2650
  export type FriendInviteResponse = {
@@ -2653,9 +2653,9 @@ export type FriendInviteResponse = {
2653
2653
  inviter?: UserResponse;
2654
2654
  max_age?: number;
2655
2655
  created_at?: string;
2656
- expires_at?: string | null;
2656
+ expires_at: string | null;
2657
2657
  friends_count?: number;
2658
- channel?: null | InviteChannelResponse;
2658
+ channel: null | InviteChannelResponse;
2659
2659
  is_contact?: boolean;
2660
2660
  uses?: number;
2661
2661
  max_uses?: number;
@@ -2806,7 +2806,7 @@ export type GroupDMInviteResponse = {
2806
2806
  inviter?: UserResponse;
2807
2807
  max_age?: number;
2808
2808
  created_at?: string;
2809
- expires_at?: string | null;
2809
+ expires_at: string | null;
2810
2810
  channel: InviteChannelResponse;
2811
2811
  approximate_member_count?: number | null;
2812
2812
  };
@@ -2843,7 +2843,7 @@ export type GuildAuditLogResponse = {
2843
2843
 
2844
2844
  export type GuildBanResponse = {
2845
2845
  user: UserResponse;
2846
- reason?: string | null;
2846
+ reason: string | null;
2847
2847
  };
2848
2848
 
2849
2849
  export type GuildChannelLocation = {
@@ -2892,9 +2892,9 @@ export type GuildHomeSettingsResponse = {
2892
2892
  };
2893
2893
 
2894
2894
  export type GuildIncomingWebhookResponse = {
2895
- application_id?: null | SnowflakeType;
2896
- avatar?: string | null;
2897
- channel_id?: null | SnowflakeType;
2895
+ application_id: null | SnowflakeType;
2896
+ avatar: string | null;
2897
+ channel_id: null | SnowflakeType;
2898
2898
  guild_id?: null | SnowflakeType;
2899
2899
  id: SnowflakeType;
2900
2900
  name: string;
@@ -2910,7 +2910,7 @@ export type GuildInviteResponse = {
2910
2910
  inviter?: UserResponse;
2911
2911
  max_age?: number;
2912
2912
  created_at?: string;
2913
- expires_at?: string | null;
2913
+ expires_at: string | null;
2914
2914
  is_contact?: boolean;
2915
2915
  flags?: number;
2916
2916
  guild: InviteGuildResponse;
@@ -2930,15 +2930,15 @@ export type GuildInviteResponse = {
2930
2930
  };
2931
2931
 
2932
2932
  export type GuildMemberResponse = {
2933
- avatar?: string | null;
2933
+ avatar: string | null;
2934
2934
  avatar_decoration_data?: null | UserAvatarDecorationResponse;
2935
- banner?: string | null;
2936
- communication_disabled_until?: string | null;
2935
+ banner: string | null;
2936
+ communication_disabled_until: string | null;
2937
2937
  flags: number;
2938
2938
  joined_at: string;
2939
- nick?: string | null;
2939
+ nick: string | null;
2940
2940
  pending: boolean;
2941
- premium_since?: string | null;
2941
+ premium_since: string | null;
2942
2942
  roles: SnowflakeType[];
2943
2943
  collectibles?: null | UserCollectiblesResponse;
2944
2944
  user: UserResponse;
@@ -2980,11 +2980,11 @@ export type GuildPatchRequestPartial = {
2980
2980
  export type GuildPreviewResponse = {
2981
2981
  id: SnowflakeType;
2982
2982
  name: string;
2983
- icon?: string | null;
2984
- description?: string | null;
2985
- home_header?: string | null;
2986
- splash?: string | null;
2987
- discovery_splash?: string | null;
2983
+ icon: string | null;
2984
+ description: string | null;
2985
+ home_header: string | null;
2986
+ splash: string | null;
2987
+ discovery_splash: string | null;
2988
2988
  features: GuildFeatures[];
2989
2989
  approximate_member_count: number;
2990
2990
  approximate_presence_count: number;
@@ -2998,44 +2998,44 @@ export type GuildProductPurchaseResponse = {
2998
2998
  };
2999
2999
 
3000
3000
  export type GuildPruneResponse = {
3001
- pruned?: number | null;
3001
+ pruned: number | null;
3002
3002
  };
3003
3003
 
3004
3004
  export type GuildResponse = {
3005
3005
  id: SnowflakeType;
3006
3006
  name: string;
3007
- icon?: string | null;
3008
- description?: string | null;
3009
- home_header?: string | null;
3010
- splash?: string | null;
3011
- discovery_splash?: string | null;
3007
+ icon: string | null;
3008
+ description: string | null;
3009
+ home_header: string | null;
3010
+ splash: string | null;
3011
+ discovery_splash: string | null;
3012
3012
  features: GuildFeatures[];
3013
- banner?: string | null;
3013
+ banner: string | null;
3014
3014
  owner_id: SnowflakeType;
3015
- application_id?: null | SnowflakeType;
3015
+ application_id: null | SnowflakeType;
3016
3016
  region: string;
3017
- afk_channel_id?: null | SnowflakeType;
3017
+ afk_channel_id: null | SnowflakeType;
3018
3018
  afk_timeout: AfkTimeouts;
3019
- system_channel_id?: null | SnowflakeType;
3019
+ system_channel_id: null | SnowflakeType;
3020
3020
  system_channel_flags: number;
3021
3021
  widget_enabled: boolean;
3022
- widget_channel_id?: null | SnowflakeType;
3022
+ widget_channel_id: null | SnowflakeType;
3023
3023
  verification_level: VerificationLevels;
3024
3024
  roles: GuildRoleResponse[];
3025
3025
  default_message_notifications: UserNotificationSettings;
3026
3026
  mfa_level: GuildMFALevel;
3027
3027
  explicit_content_filter: GuildExplicitContentFilterTypes;
3028
- max_presences?: number | null;
3028
+ max_presences: number | null;
3029
3029
  max_members: number;
3030
3030
  max_stage_video_channel_users: number;
3031
3031
  max_video_channel_users: number;
3032
- vanity_url_code?: string | null;
3032
+ vanity_url_code: string | null;
3033
3033
  premium_tier: PremiumGuildTiers;
3034
3034
  premium_subscription_count: number;
3035
3035
  preferred_locale: AvailableLocalesEnum;
3036
- rules_channel_id?: null | SnowflakeType;
3037
- safety_alerts_channel_id?: null | SnowflakeType;
3038
- public_updates_channel_id?: null | SnowflakeType;
3036
+ rules_channel_id: null | SnowflakeType;
3037
+ safety_alerts_channel_id: null | SnowflakeType;
3038
+ public_updates_channel_id: null | SnowflakeType;
3039
3039
  premium_progress_bar_enabled: boolean;
3040
3040
  premium_progress_bar_enabled_user_updated_at?: string | null;
3041
3041
  nsfw: boolean;
@@ -3046,14 +3046,14 @@ export type GuildResponse = {
3046
3046
 
3047
3047
  export type GuildRoleColorsResponse = {
3048
3048
  primary_color: number;
3049
- secondary_color?: number | null;
3050
- tertiary_color?: number | null;
3049
+ secondary_color: number | null;
3050
+ tertiary_color: number | null;
3051
3051
  };
3052
3052
 
3053
3053
  export type GuildRoleResponse = {
3054
3054
  id: SnowflakeType;
3055
3055
  name: string;
3056
- description?: string | null;
3056
+ description: string | null;
3057
3057
  permissions: string;
3058
3058
  position: number;
3059
3059
  color: number;
@@ -3061,8 +3061,8 @@ export type GuildRoleResponse = {
3061
3061
  hoist: boolean;
3062
3062
  managed: boolean;
3063
3063
  mentionable: boolean;
3064
- icon?: string | null;
3065
- unicode_emoji?: string | null;
3064
+ icon: string | null;
3065
+ unicode_emoji: string | null;
3066
3066
  tags?: GuildRoleTagsResponse;
3067
3067
  flags: number;
3068
3068
  };
@@ -3081,8 +3081,8 @@ export type GuildStickerResponse = {
3081
3081
  name: string;
3082
3082
  tags: string;
3083
3083
  type: StickerTypes.GUILD;
3084
- format_type?: null | StickerFormatTypes;
3085
- description?: string | null;
3084
+ format_type: null | StickerFormatTypes;
3085
+ description: string | null;
3086
3086
  available: boolean;
3087
3087
  guild_id: SnowflakeType;
3088
3088
  user?: UserResponse;
@@ -3090,62 +3090,62 @@ export type GuildStickerResponse = {
3090
3090
 
3091
3091
  export type GuildSubscriptionIntegrationResponse = {
3092
3092
  type: IntegrationTypes.GUILD_SUBSCRIPTION;
3093
- name?: string | null;
3093
+ name: string | null;
3094
3094
  account: AccountResponse;
3095
3095
  enabled: boolean;
3096
3096
  id: SnowflakeType;
3097
3097
  };
3098
3098
 
3099
3099
  export type GuildTemplateChannelResponse = {
3100
- id?: number | null;
3100
+ id: number | null;
3101
3101
  type: ChannelTypes;
3102
- name?: string | null;
3103
- position?: number | null;
3104
- topic?: string | null;
3102
+ name: string | null;
3103
+ position: number | null;
3104
+ topic: string | null;
3105
3105
  bitrate: number;
3106
3106
  user_limit: number;
3107
3107
  nsfw: boolean;
3108
3108
  rate_limit_per_user: number;
3109
- parent_id?: null | SnowflakeType;
3110
- default_auto_archive_duration?: null | ThreadAutoArchiveDuration;
3109
+ parent_id: null | SnowflakeType;
3110
+ default_auto_archive_duration: null | ThreadAutoArchiveDuration;
3111
3111
  permission_overwrites: (null | ChannelPermissionOverwriteResponse)[];
3112
- available_tags?: GuildTemplateChannelTags[] | null;
3112
+ available_tags: GuildTemplateChannelTags[] | null;
3113
3113
  template: string;
3114
- default_reaction_emoji?: null | DefaultReactionEmojiResponse;
3115
- default_thread_rate_limit_per_user?: number | null;
3116
- default_sort_order?: null | ThreadSortOrder;
3117
- default_forum_layout?: null | ForumLayout;
3118
- default_tag_setting?: null | ThreadSearchTagSetting;
3119
- icon_emoji?: null | IconEmojiResponse;
3120
- theme_color?: number | null;
3114
+ default_reaction_emoji: null | DefaultReactionEmojiResponse;
3115
+ default_thread_rate_limit_per_user: number | null;
3116
+ default_sort_order: null | ThreadSortOrder;
3117
+ default_forum_layout: null | ForumLayout;
3118
+ default_tag_setting: null | ThreadSearchTagSetting;
3119
+ icon_emoji: null | IconEmojiResponse;
3120
+ theme_color: number | null;
3121
3121
  };
3122
3122
 
3123
3123
  export type GuildTemplateChannelTags = {
3124
- id?: number | null;
3124
+ id: number | null;
3125
3125
  name: string;
3126
- emoji_id?: null | SnowflakeType;
3127
- emoji_name?: string | null;
3128
- moderated?: boolean | null;
3126
+ emoji_id: null | SnowflakeType;
3127
+ emoji_name: string | null;
3128
+ moderated: boolean | null;
3129
3129
  };
3130
3130
 
3131
3131
  export type GuildTemplateResponse = {
3132
3132
  code: string;
3133
3133
  name: string;
3134
- description?: string | null;
3134
+ description: string | null;
3135
3135
  usage_count: number;
3136
3136
  creator_id: SnowflakeType;
3137
- creator?: null | UserResponse;
3137
+ creator: null | UserResponse;
3138
3138
  created_at: string;
3139
3139
  updated_at: string;
3140
3140
  source_guild_id: SnowflakeType;
3141
3141
  serialized_source_guild: GuildTemplateSnapshotResponse;
3142
- is_dirty?: boolean | null;
3142
+ is_dirty: boolean | null;
3143
3143
  };
3144
3144
 
3145
3145
  export type GuildTemplateRoleColorsResponse = {
3146
3146
  primary_color: number;
3147
- secondary_color?: number | null;
3148
- tertiary_color?: number | null;
3147
+ secondary_color: number | null;
3148
+ tertiary_color: number | null;
3149
3149
  };
3150
3150
 
3151
3151
  export type GuildTemplateRoleResponse = {
@@ -3153,24 +3153,24 @@ export type GuildTemplateRoleResponse = {
3153
3153
  name: string;
3154
3154
  permissions: string;
3155
3155
  color: number;
3156
- colors?: null | GuildTemplateRoleColorsResponse;
3156
+ colors: null | GuildTemplateRoleColorsResponse;
3157
3157
  hoist: boolean;
3158
3158
  mentionable: boolean;
3159
- icon?: string | null;
3160
- unicode_emoji?: string | null;
3159
+ icon: string | null;
3160
+ unicode_emoji: string | null;
3161
3161
  };
3162
3162
 
3163
3163
  export type GuildTemplateSnapshotResponse = {
3164
3164
  name: string;
3165
- description?: string | null;
3166
- region?: string | null;
3165
+ description: string | null;
3166
+ region: string | null;
3167
3167
  verification_level: VerificationLevels;
3168
3168
  default_message_notifications: UserNotificationSettings;
3169
3169
  explicit_content_filter: GuildExplicitContentFilterTypes;
3170
3170
  preferred_locale: AvailableLocalesEnum;
3171
- afk_channel_id?: null | SnowflakeType;
3171
+ afk_channel_id: null | SnowflakeType;
3172
3172
  afk_timeout: AfkTimeouts;
3173
- system_channel_id?: null | SnowflakeType;
3173
+ system_channel_id: null | SnowflakeType;
3174
3174
  system_channel_flags: number;
3175
3175
  roles: GuildTemplateRoleResponse[];
3176
3176
  channels: GuildTemplateChannelResponse[];
@@ -3186,50 +3186,50 @@ export type GuildWelcomeChannel = {
3186
3186
  export type GuildWelcomeScreenChannelResponse = {
3187
3187
  channel_id: SnowflakeType;
3188
3188
  description: string;
3189
- emoji_id?: null | SnowflakeType;
3190
- emoji_name?: string | null;
3189
+ emoji_id: null | SnowflakeType;
3190
+ emoji_name: string | null;
3191
3191
  };
3192
3192
 
3193
3193
  export type GuildWelcomeScreenResponse = {
3194
- description?: string | null;
3194
+ description: string | null;
3195
3195
  welcome_channels: GuildWelcomeScreenChannelResponse[];
3196
3196
  };
3197
3197
 
3198
3198
  export type GuildWithCountsResponse = {
3199
3199
  id: SnowflakeType;
3200
3200
  name: string;
3201
- icon?: string | null;
3202
- description?: string | null;
3203
- home_header?: string | null;
3204
- splash?: string | null;
3205
- discovery_splash?: string | null;
3201
+ icon: string | null;
3202
+ description: string | null;
3203
+ home_header: string | null;
3204
+ splash: string | null;
3205
+ discovery_splash: string | null;
3206
3206
  features: GuildFeatures[];
3207
- banner?: string | null;
3207
+ banner: string | null;
3208
3208
  owner_id: SnowflakeType;
3209
- application_id?: null | SnowflakeType;
3209
+ application_id: null | SnowflakeType;
3210
3210
  region: string;
3211
- afk_channel_id?: null | SnowflakeType;
3211
+ afk_channel_id: null | SnowflakeType;
3212
3212
  afk_timeout: AfkTimeouts;
3213
- system_channel_id?: null | SnowflakeType;
3213
+ system_channel_id: null | SnowflakeType;
3214
3214
  system_channel_flags: number;
3215
3215
  widget_enabled: boolean;
3216
- widget_channel_id?: null | SnowflakeType;
3216
+ widget_channel_id: null | SnowflakeType;
3217
3217
  verification_level: VerificationLevels;
3218
3218
  roles: GuildRoleResponse[];
3219
3219
  default_message_notifications: UserNotificationSettings;
3220
3220
  mfa_level: GuildMFALevel;
3221
3221
  explicit_content_filter: GuildExplicitContentFilterTypes;
3222
- max_presences?: number | null;
3222
+ max_presences: number | null;
3223
3223
  max_members: number;
3224
3224
  max_stage_video_channel_users: number;
3225
3225
  max_video_channel_users: number;
3226
- vanity_url_code?: string | null;
3226
+ vanity_url_code: string | null;
3227
3227
  premium_tier: PremiumGuildTiers;
3228
3228
  premium_subscription_count: number;
3229
3229
  preferred_locale: AvailableLocalesEnum;
3230
- rules_channel_id?: null | SnowflakeType;
3231
- safety_alerts_channel_id?: null | SnowflakeType;
3232
- public_updates_channel_id?: null | SnowflakeType;
3230
+ rules_channel_id: null | SnowflakeType;
3231
+ safety_alerts_channel_id: null | SnowflakeType;
3232
+ public_updates_channel_id: null | SnowflakeType;
3233
3233
  premium_progress_bar_enabled: boolean;
3234
3234
  premium_progress_bar_enabled_user_updated_at?: string | null;
3235
3235
  nsfw: boolean;
@@ -3332,9 +3332,9 @@ export type Int53Type = number;
3332
3332
  export type IntegrationApplicationResponse = {
3333
3333
  id: SnowflakeType;
3334
3334
  name: string;
3335
- icon?: string | null;
3335
+ icon: string | null;
3336
3336
  description: string;
3337
- type?: null | ApplicationTypes;
3337
+ type: null | ApplicationTypes;
3338
3338
  cover_image?: string;
3339
3339
  primary_sku_id?: SnowflakeType;
3340
3340
  bot?: UserResponse;
@@ -3373,9 +3373,9 @@ export type InteractionResponse = {
3373
3373
  export type InviteApplicationResponse = {
3374
3374
  id: SnowflakeType;
3375
3375
  name: string;
3376
- icon?: string | null;
3376
+ icon: string | null;
3377
3377
  description: string;
3378
- type?: null | ApplicationTypes;
3378
+ type: null | ApplicationTypes;
3379
3379
  cover_image?: string;
3380
3380
  primary_sku_id?: SnowflakeType;
3381
3381
  bot?: UserResponse;
@@ -3404,7 +3404,7 @@ export type InviteChannelRecipientResponse = {
3404
3404
  export type InviteChannelResponse = {
3405
3405
  id: SnowflakeType;
3406
3406
  type: ChannelTypes;
3407
- name?: string | null;
3407
+ name: string | null;
3408
3408
  icon?: string;
3409
3409
  recipients?: InviteChannelRecipientResponse[];
3410
3410
  };
@@ -3412,15 +3412,15 @@ export type InviteChannelResponse = {
3412
3412
  export type InviteGuildResponse = {
3413
3413
  id: SnowflakeType;
3414
3414
  name: string;
3415
- splash?: string | null;
3416
- banner?: string | null;
3417
- description?: string | null;
3418
- icon?: string | null;
3415
+ splash: string | null;
3416
+ banner: string | null;
3417
+ description: string | null;
3418
+ icon: string | null;
3419
3419
  features: GuildFeatures[];
3420
- verification_level?: null | VerificationLevels;
3421
- vanity_url_code?: string | null;
3422
- nsfw_level?: null | GuildNSFWContentLevel;
3423
- nsfw?: boolean | null;
3420
+ verification_level: null | VerificationLevels;
3421
+ vanity_url_code: string | null;
3422
+ nsfw_level: null | GuildNSFWContentLevel;
3423
+ nsfw: boolean | null;
3424
3424
  premium_subscription_count: number;
3425
3425
  };
3426
3426
 
@@ -3430,8 +3430,8 @@ export type InviteGuildRoleResponse = {
3430
3430
  position: number;
3431
3431
  color: number;
3432
3432
  colors: GuildRoleColorsResponse;
3433
- icon?: string | null;
3434
- unicode_emoji?: string | null;
3433
+ icon: string | null;
3434
+ unicode_emoji: string | null;
3435
3435
  permissions?: string;
3436
3436
  };
3437
3437
 
@@ -3547,7 +3547,7 @@ export type LobbyMemberRequest = {
3547
3547
 
3548
3548
  export type LobbyMemberResponse = {
3549
3549
  id: SnowflakeType;
3550
- metadata?: {
3550
+ metadata: {
3551
3551
  [key: string]: string;
3552
3552
  } | null;
3553
3553
  flags: number;
@@ -3570,7 +3570,7 @@ export type LobbyMessageResponse = {
3570
3570
  export type LobbyResponse = {
3571
3571
  id: SnowflakeType;
3572
3572
  application_id: SnowflakeType;
3573
- metadata?: {
3573
+ metadata: {
3574
3574
  [key: string]: string;
3575
3575
  } | null;
3576
3576
  members: LobbyMemberResponse[];
@@ -3658,7 +3658,7 @@ export type MediaGalleryItemRequest = {
3658
3658
 
3659
3659
  export type MediaGalleryItemResponse = {
3660
3660
  media: UnfurledMediaResponse;
3661
- description?: string | null;
3661
+ description: string | null;
3662
3662
  spoiler: boolean;
3663
3663
  };
3664
3664
 
@@ -3756,8 +3756,8 @@ export type MentionableSelectComponentResponse = {
3756
3756
  id: number;
3757
3757
  custom_id: string;
3758
3758
  placeholder?: string;
3759
- min_values?: number | null;
3760
- max_values?: number | null;
3759
+ min_values: number | null;
3760
+ max_values: number | null;
3761
3761
  disabled?: boolean;
3762
3762
  default_values?: (RoleSelectDefaultValueResponse | UserSelectDefaultValueResponse)[];
3763
3763
  };
@@ -3947,8 +3947,8 @@ export type MessageReactionCountDetailsResponse = {
3947
3947
  };
3948
3948
 
3949
3949
  export type MessageReactionEmojiResponse = {
3950
- id?: null | SnowflakeType;
3951
- name?: string | null;
3950
+ id: null | SnowflakeType;
3951
+ name: string | null;
3952
3952
  animated?: boolean;
3953
3953
  };
3954
3954
 
@@ -3984,7 +3984,7 @@ export type MessageResponse = {
3984
3984
  attachments: MessageAttachmentResponse[];
3985
3985
  embeds: MessageEmbedResponse[];
3986
3986
  timestamp: string;
3987
- edited_timestamp?: string | null;
3987
+ edited_timestamp: string | null;
3988
3988
  flags: number;
3989
3989
  components: (
3990
3990
  | ActionRowComponentResponse
@@ -4053,7 +4053,7 @@ export type MinimalContentMessageResponse = {
4053
4053
  attachments: MessageAttachmentResponse[];
4054
4054
  embeds: MessageEmbedResponse[];
4055
4055
  timestamp: string;
4056
- edited_timestamp?: string | null;
4056
+ edited_timestamp: string | null;
4057
4057
  flags: number;
4058
4058
  components: (
4059
4059
  | ActionRowComponentResponse
@@ -4099,8 +4099,8 @@ export type ModalSubmitInteractionMetadataResponse = {
4099
4099
  export type MyGuildResponse = {
4100
4100
  id: SnowflakeType;
4101
4101
  name: string;
4102
- icon?: string | null;
4103
- banner?: string | null;
4102
+ icon: string | null;
4103
+ banner: string | null;
4104
4104
  owner: boolean;
4105
4105
  permissions: string;
4106
4106
  features: GuildFeatures[];
@@ -4182,7 +4182,7 @@ export type OnboardingPromptResponse = {
4182
4182
  export type PartialDiscordIntegrationResponse = {
4183
4183
  id: SnowflakeType;
4184
4184
  type: IntegrationTypes.DISCORD;
4185
- name?: string | null;
4185
+ name: string | null;
4186
4186
  account: AccountResponse;
4187
4187
  application_id: SnowflakeType;
4188
4188
  };
@@ -4190,14 +4190,14 @@ export type PartialDiscordIntegrationResponse = {
4190
4190
  export type PartialExternalConnectionIntegrationResponse = {
4191
4191
  id: SnowflakeType;
4192
4192
  type: IntegrationTypes;
4193
- name?: string | null;
4193
+ name: string | null;
4194
4194
  account: AccountResponse;
4195
4195
  };
4196
4196
 
4197
4197
  export type PartialGuildSubscriptionIntegrationResponse = {
4198
4198
  id: SnowflakeType;
4199
4199
  type: IntegrationTypes.GUILD_SUBSCRIPTION;
4200
- name?: string | null;
4200
+ name: string | null;
4201
4201
  account: AccountResponse;
4202
4202
  };
4203
4203
 
@@ -4288,9 +4288,9 @@ export type PongInteractionCallbackRequest = {
4288
4288
  export type PrivateApplicationResponse = {
4289
4289
  id: SnowflakeType;
4290
4290
  name: string;
4291
- icon?: string | null;
4291
+ icon: string | null;
4292
4292
  description: string;
4293
- type?: null | ApplicationTypes;
4293
+ type: null | ApplicationTypes;
4294
4294
  cover_image?: string;
4295
4295
  primary_sku_id?: SnowflakeType;
4296
4296
  bot?: UserResponse;
@@ -4311,14 +4311,14 @@ export type PrivateApplicationResponse = {
4311
4311
  max_participants?: number | null;
4312
4312
  tags?: string[];
4313
4313
  redirect_uris: (string | null)[];
4314
- interactions_endpoint_url?: string | null;
4315
- role_connections_verification_url?: string | null;
4314
+ interactions_endpoint_url: string | null;
4315
+ role_connections_verification_url: string | null;
4316
4316
  owner: UserResponse;
4317
- approximate_guild_count?: number | null;
4317
+ approximate_guild_count: number | null;
4318
4318
  approximate_user_install_count: number;
4319
4319
  approximate_user_authorization_count: number;
4320
4320
  explicit_content_filter: ApplicationExplicitContentFilterTypes;
4321
- team?: null | TeamResponse;
4321
+ team: null | TeamResponse;
4322
4322
  };
4323
4323
 
4324
4324
  export type PrivateChannelLocation = {
@@ -4343,23 +4343,23 @@ export type PrivateGroupChannelResponse = {
4343
4343
  flags: number;
4344
4344
  last_pin_timestamp?: string | null;
4345
4345
  recipients: UserResponse[];
4346
- name?: string | null;
4347
- icon?: string | null;
4346
+ name: string | null;
4347
+ icon: string | null;
4348
4348
  owner_id: SnowflakeType;
4349
4349
  managed?: boolean;
4350
4350
  application_id?: SnowflakeType;
4351
4351
  };
4352
4352
 
4353
4353
  export type PrivateGuildMemberResponse = {
4354
- avatar?: string | null;
4354
+ avatar: string | null;
4355
4355
  avatar_decoration_data?: null | UserAvatarDecorationResponse;
4356
- banner?: string | null;
4357
- communication_disabled_until?: string | null;
4356
+ banner: string | null;
4357
+ communication_disabled_until: string | null;
4358
4358
  flags: number;
4359
4359
  joined_at: string;
4360
- nick?: string | null;
4360
+ nick: string | null;
4361
4361
  pending: boolean;
4362
- premium_since?: string | null;
4362
+ premium_since: string | null;
4363
4363
  roles: SnowflakeType[];
4364
4364
  collectibles?: null | UserCollectiblesResponse;
4365
4365
  user: UserResponse;
@@ -4534,8 +4534,8 @@ export type RoleSelectComponentResponse = {
4534
4534
  id: number;
4535
4535
  custom_id: string;
4536
4536
  placeholder?: string;
4537
- min_values?: number | null;
4538
- max_values?: number | null;
4537
+ min_values: number | null;
4538
+ max_values: number | null;
4539
4539
  disabled?: boolean;
4540
4540
  default_values?: RoleSelectDefaultValueResponse[];
4541
4541
  };
@@ -4580,16 +4580,16 @@ export type ScheduledEventResponse = {
4580
4580
  id: SnowflakeType;
4581
4581
  guild_id: SnowflakeType;
4582
4582
  name: string;
4583
- description?: string | null;
4584
- channel_id?: null | SnowflakeType;
4585
- creator_id?: null | SnowflakeType;
4583
+ description: string | null;
4584
+ channel_id: null | SnowflakeType;
4585
+ creator_id: null | SnowflakeType;
4586
4586
  creator?: UserResponse;
4587
- image?: string | null;
4587
+ image: string | null;
4588
4588
  scheduled_start_time: string;
4589
- scheduled_end_time?: string | null;
4589
+ scheduled_end_time: string | null;
4590
4590
  status: GuildScheduledEventStatuses;
4591
4591
  entity_type: GuildScheduledEventEntityTypes;
4592
- entity_id?: null | SnowflakeType;
4592
+ entity_id: null | SnowflakeType;
4593
4593
  user_count?: number;
4594
4594
  privacy_level: GuildScheduledEventPrivacyLevels;
4595
4595
  user_rsvp?: null | ScheduledEventUserResponse;
@@ -4631,8 +4631,8 @@ export type SeparatorComponentResponse = {
4631
4631
  };
4632
4632
 
4633
4633
  export type SettingsEmojiResponse = {
4634
- id?: null | SnowflakeType;
4635
- name?: string | null;
4634
+ id: null | SnowflakeType;
4635
+ name: string | null;
4636
4636
  animated: boolean;
4637
4637
  };
4638
4638
 
@@ -4673,8 +4673,8 @@ export type SoundboardSoundResponse = {
4673
4673
  name: string;
4674
4674
  sound_id: SnowflakeType;
4675
4675
  volume: number;
4676
- emoji_id?: null | SnowflakeType;
4677
- emoji_name?: string | null;
4676
+ emoji_id: null | SnowflakeType;
4677
+ emoji_name: string | null;
4678
4678
  guild_id?: SnowflakeType;
4679
4679
  available: boolean;
4680
4680
  user?: UserResponse;
@@ -4713,7 +4713,7 @@ export type StageInstanceResponse = {
4713
4713
  privacy_level: StageInstancesPrivacyLevels;
4714
4714
  id: SnowflakeType;
4715
4715
  discoverable_disabled: boolean;
4716
- guild_scheduled_event_id?: null | SnowflakeType;
4716
+ guild_scheduled_event_id: null | SnowflakeType;
4717
4717
  };
4718
4718
 
4719
4719
  export type StageScheduledEventCreateRequest = {
@@ -4745,20 +4745,20 @@ export type StageScheduledEventResponse = {
4745
4745
  id: SnowflakeType;
4746
4746
  guild_id: SnowflakeType;
4747
4747
  name: string;
4748
- description?: string | null;
4749
- channel_id?: null | SnowflakeType;
4750
- creator_id?: null | SnowflakeType;
4748
+ description: string | null;
4749
+ channel_id: null | SnowflakeType;
4750
+ creator_id: null | SnowflakeType;
4751
4751
  creator?: UserResponse;
4752
- image?: string | null;
4752
+ image: string | null;
4753
4753
  scheduled_start_time: string;
4754
- scheduled_end_time?: string | null;
4754
+ scheduled_end_time: string | null;
4755
4755
  status: GuildScheduledEventStatuses;
4756
4756
  entity_type: GuildScheduledEventEntityTypes.STAGE_INSTANCE;
4757
- entity_id?: null | SnowflakeType;
4757
+ entity_id: null | SnowflakeType;
4758
4758
  user_count?: number;
4759
4759
  privacy_level: GuildScheduledEventPrivacyLevels;
4760
4760
  user_rsvp?: null | ScheduledEventUserResponse;
4761
- entity_metadata?: null | EntityMetadataStageInstanceResponse;
4761
+ entity_metadata: null | EntityMetadataStageInstanceResponse;
4762
4762
  };
4763
4763
 
4764
4764
  export type StandardStickerResponse = {
@@ -4766,8 +4766,8 @@ export type StandardStickerResponse = {
4766
4766
  name: string;
4767
4767
  tags: string;
4768
4768
  type: StickerTypes.STANDARD;
4769
- format_type?: null | StickerFormatTypes;
4770
- description?: string | null;
4769
+ format_type: null | StickerFormatTypes;
4770
+ description: string | null;
4771
4771
  pack_id: SnowflakeType;
4772
4772
  sort_value: number;
4773
4773
  };
@@ -4780,7 +4780,7 @@ export type StickerPackResponse = {
4780
4780
  id: SnowflakeType;
4781
4781
  sku_id: SnowflakeType;
4782
4782
  name: string;
4783
- description?: string | null;
4783
+ description: string | null;
4784
4784
  stickers: StandardStickerResponse[];
4785
4785
  cover_sticker_id?: SnowflakeType;
4786
4786
  banner_asset_id?: SnowflakeType;
@@ -4815,8 +4815,8 @@ export type StringSelectComponentResponse = {
4815
4815
  id: number;
4816
4816
  custom_id: string;
4817
4817
  placeholder?: string;
4818
- min_values?: number | null;
4819
- max_values?: number | null;
4818
+ min_values: number | null;
4819
+ max_values: number | null;
4820
4820
  disabled?: boolean;
4821
4821
  options: StringSelectOptionResponse[];
4822
4822
  };
@@ -4845,11 +4845,11 @@ export type TargetUsersJobStatusResponse = {
4845
4845
  /** The number of users processed so far. */
4846
4846
  processed_users: UInt32Type;
4847
4847
  /** The timestamp when the job was created. */
4848
- created_at?: string | null;
4848
+ created_at: string | null;
4849
4849
  /** The timestamp when the job was successfully completed. */
4850
- completed_at?: string | null;
4850
+ completed_at: string | null;
4851
4851
  /** The error message if the job failed. */
4852
- error_message?: string | null;
4852
+ error_message: string | null;
4853
4853
  };
4854
4854
 
4855
4855
  export type TeamMemberResponse = {
@@ -4860,7 +4860,7 @@ export type TeamMemberResponse = {
4860
4860
 
4861
4861
  export type TeamResponse = {
4862
4862
  id: SnowflakeType;
4863
- icon?: string | null;
4863
+ icon: string | null;
4864
4864
  name: string;
4865
4865
  owner_user_id: SnowflakeType;
4866
4866
  members: TeamMemberResponse[];
@@ -4902,12 +4902,12 @@ export type TextInputComponentResponse = {
4902
4902
  id: number;
4903
4903
  custom_id: string;
4904
4904
  style: TextInputStyleTypes;
4905
- label?: string | null;
4905
+ label: string | null;
4906
4906
  value?: string;
4907
4907
  placeholder?: string;
4908
4908
  required?: boolean;
4909
- min_length?: number | null;
4910
- max_length?: number | null;
4909
+ min_length: number | null;
4910
+ max_length: number | null;
4911
4911
  };
4912
4912
 
4913
4913
  export type ThreadMemberResponse = {
@@ -4920,7 +4920,7 @@ export type ThreadMemberResponse = {
4920
4920
 
4921
4921
  export type ThreadMetadataResponse = {
4922
4922
  archived: boolean;
4923
- archive_timestamp?: string | null;
4923
+ archive_timestamp: string | null;
4924
4924
  auto_archive_duration: ThreadAutoArchiveDuration;
4925
4925
  locked: boolean;
4926
4926
  create_timestamp?: string;
@@ -4978,7 +4978,7 @@ export type ThumbnailComponentResponse = {
4978
4978
  type: MessageComponentTypes.THUMBNAIL;
4979
4979
  id: number;
4980
4980
  media: UnfurledMediaResponse;
4981
- description?: string | null;
4981
+ description: string | null;
4982
4982
  spoiler: boolean;
4983
4983
  };
4984
4984
 
@@ -5130,11 +5130,11 @@ export type UpdateVoiceStateRequestPartial = {
5130
5130
 
5131
5131
  export type UserAvatarDecorationResponse = {
5132
5132
  asset: string;
5133
- sku_id?: null | SnowflakeType;
5133
+ sku_id: null | SnowflakeType;
5134
5134
  };
5135
5135
 
5136
5136
  export type UserCollectiblesResponse = {
5137
- nameplate?: null | UserNameplateResponse;
5137
+ nameplate: null | UserNameplateResponse;
5138
5138
  };
5139
5139
 
5140
5140
  export type UserCommunicationDisabledAction = {
@@ -5163,7 +5163,7 @@ export type UserGuildOnboardingResponse = {
5163
5163
  };
5164
5164
 
5165
5165
  export type UserNameplateResponse = {
5166
- sku_id?: null | SnowflakeType;
5166
+ sku_id: null | SnowflakeType;
5167
5167
  asset: string;
5168
5168
  label: string;
5169
5169
  palette: NameplatePalette;
@@ -5172,7 +5172,7 @@ export type UserNameplateResponse = {
5172
5172
  export type UserPIIResponse = {
5173
5173
  id: SnowflakeType;
5174
5174
  username: string;
5175
- avatar?: string | null;
5175
+ avatar: string | null;
5176
5176
  discriminator: string;
5177
5177
  public_flags: number;
5178
5178
  flags: Int53Type;
@@ -5180,7 +5180,7 @@ export type UserPIIResponse = {
5180
5180
  system?: boolean;
5181
5181
  banner?: string | null;
5182
5182
  accent_color?: number | null;
5183
- global_name?: string | null;
5183
+ global_name: string | null;
5184
5184
  avatar_decoration_data?: null | UserAvatarDecorationResponse;
5185
5185
  collectibles?: null | UserCollectiblesResponse;
5186
5186
  primary_guild?: null | UserPrimaryGuildResponse;
@@ -5192,16 +5192,16 @@ export type UserPIIResponse = {
5192
5192
  };
5193
5193
 
5194
5194
  export type UserPrimaryGuildResponse = {
5195
- identity_guild_id?: null | SnowflakeType;
5196
- identity_enabled?: boolean | null;
5197
- tag?: string | null;
5198
- badge?: string | null;
5195
+ identity_guild_id: null | SnowflakeType;
5196
+ identity_enabled: boolean | null;
5197
+ tag: string | null;
5198
+ badge: string | null;
5199
5199
  };
5200
5200
 
5201
5201
  export type UserResponse = {
5202
5202
  id: SnowflakeType;
5203
5203
  username: string;
5204
- avatar?: string | null;
5204
+ avatar: string | null;
5205
5205
  discriminator: string;
5206
5206
  public_flags: number;
5207
5207
  flags: Int53Type;
@@ -5209,10 +5209,10 @@ export type UserResponse = {
5209
5209
  system?: boolean;
5210
5210
  banner?: string | null;
5211
5211
  accent_color?: number | null;
5212
- global_name?: string | null;
5212
+ global_name: string | null;
5213
5213
  avatar_decoration_data?: null | UserAvatarDecorationResponse;
5214
5214
  collectibles?: null | UserCollectiblesResponse;
5215
- primary_guild?: null | UserPrimaryGuildResponse;
5215
+ primary_guild: null | UserPrimaryGuildResponse;
5216
5216
  };
5217
5217
 
5218
5218
  export type UserSelectComponentForMessageRequest = {
@@ -5244,8 +5244,8 @@ export type UserSelectComponentResponse = {
5244
5244
  id: number;
5245
5245
  custom_id: string;
5246
5246
  placeholder?: string;
5247
- min_values?: number | null;
5248
- max_values?: number | null;
5247
+ min_values: number | null;
5248
+ max_values: number | null;
5249
5249
  disabled?: boolean;
5250
5250
  default_values?: UserSelectDefaultValueResponse[];
5251
5251
  };
@@ -5266,7 +5266,7 @@ export type VanityURLErrorResponse = {
5266
5266
  };
5267
5267
 
5268
5268
  export type VanityURLResponse = {
5269
- code?: string | null;
5269
+ code: string | null;
5270
5270
  uses: number;
5271
5271
  error?: null | VanityURLErrorResponse;
5272
5272
  };
@@ -5308,31 +5308,31 @@ export type VoiceScheduledEventResponse = {
5308
5308
  id: SnowflakeType;
5309
5309
  guild_id: SnowflakeType;
5310
5310
  name: string;
5311
- description?: string | null;
5312
- channel_id?: null | SnowflakeType;
5313
- creator_id?: null | SnowflakeType;
5311
+ description: string | null;
5312
+ channel_id: null | SnowflakeType;
5313
+ creator_id: null | SnowflakeType;
5314
5314
  creator?: UserResponse;
5315
- image?: string | null;
5315
+ image: string | null;
5316
5316
  scheduled_start_time: string;
5317
- scheduled_end_time?: string | null;
5317
+ scheduled_end_time: string | null;
5318
5318
  status: GuildScheduledEventStatuses;
5319
5319
  entity_type: GuildScheduledEventEntityTypes.VOICE;
5320
- entity_id?: null | SnowflakeType;
5320
+ entity_id: null | SnowflakeType;
5321
5321
  user_count?: number;
5322
5322
  privacy_level: GuildScheduledEventPrivacyLevels;
5323
5323
  user_rsvp?: null | ScheduledEventUserResponse;
5324
- entity_metadata?: null | EntityMetadataVoiceResponse;
5324
+ entity_metadata: null | EntityMetadataVoiceResponse;
5325
5325
  };
5326
5326
 
5327
5327
  export type VoiceStateResponse = {
5328
- channel_id?: null | SnowflakeType;
5328
+ channel_id: null | SnowflakeType;
5329
5329
  deaf: boolean;
5330
- guild_id?: null | SnowflakeType;
5330
+ guild_id: null | SnowflakeType;
5331
5331
  member?: GuildMemberResponse;
5332
5332
  mute: boolean;
5333
- request_to_speak_timestamp?: string | null;
5333
+ request_to_speak_timestamp: string | null;
5334
5334
  suppress: boolean;
5335
- self_stream?: boolean | null;
5335
+ self_stream: boolean | null;
5336
5336
  self_deaf: boolean;
5337
5337
  self_mute: boolean;
5338
5338
  self_video: boolean;
@@ -5370,7 +5370,7 @@ export type WebhookSourceChannelResponse = {
5370
5370
 
5371
5371
  export type WebhookSourceGuildResponse = {
5372
5372
  id: SnowflakeType;
5373
- icon?: string | null;
5373
+ icon: string | null;
5374
5374
  name: string;
5375
5375
  };
5376
5376
 
@@ -5399,7 +5399,7 @@ export type WidgetMember = {
5399
5399
  id: string;
5400
5400
  username: string;
5401
5401
  discriminator: WidgetUserDiscriminator;
5402
- avatar?: null;
5402
+ avatar: null;
5403
5403
  status: string;
5404
5404
  avatar_url: string;
5405
5405
  activity?: WidgetActivity;
@@ -5414,7 +5414,7 @@ export type WidgetMember = {
5414
5414
  export type WidgetResponse = {
5415
5415
  id: SnowflakeType;
5416
5416
  name: string;
5417
- instant_invite?: string | null;
5417
+ instant_invite: string | null;
5418
5418
  channels: WidgetChannel[];
5419
5419
  members: WidgetMember[];
5420
5420
  presence_count: number;
@@ -5422,7 +5422,7 @@ export type WidgetResponse = {
5422
5422
 
5423
5423
  export type WidgetSettingsResponse = {
5424
5424
  enabled: boolean;
5425
- channel_id?: null | SnowflakeType;
5425
+ channel_id: null | SnowflakeType;
5426
5426
  };
5427
5427
 
5428
5428
  // Paths