LogoAntiRaid

@discord-types/restTypes

API reference for @discord-types/restTypes

@discord-types/restTypes

Types

Response

[[ Base ]] --

Raw Type
-- [[ Base ]] --
type Response<DATA> = DATA

DATA

Request

Raw Type
type Request<DATA> = DATA

DATA

CreateMessageAttachment

An attachment in a message

Raw Type
--- An attachment in a message
type CreateMessageAttachment = {
	--- The filename of the attachment
	filename: string,

	--- The description (if any) of the attachment
	description: string?,

	--- The content of the attachment
	content: {number}
}
PropTypeDescription
filename
The filename of the attachment
description?
The description (if any) of the attachment
content
The content of the attachment

CreateInteractionRequest

[[ Requests ]] --

https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response

Raw Type
-- [[ Requests ]] --
-- https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response
type CreateInteractionRequest = Request<objects.InteractionResponseObject>

Request<objects.InteractionResponseObject>

EditOriginalInteractionRequest

https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response

Raw Type
-- https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response
type EditOriginalInteractionRequest = Request<objects.Partial<objects.MessageObject>>

Request<objects.Partial<objects.MessageObject>>

CreateFollowupMessageRequest

https://discord.com/developers/docs/interactions/receiving-and-responding#create-followup-message

Raw Type
-- https://discord.com/developers/docs/interactions/receiving-and-responding#create-followup-message
type CreateFollowupMessageRequest = Request<objects.Partial<objects.MessageObject>>

Request<objects.Partial<objects.MessageObject>>

EditFollowupMessageRequest

https://discord.com/developers/docs/interactions/receiving-and-responding#edit-followup-message

Raw Type
-- https://discord.com/developers/docs/interactions/receiving-and-responding#edit-followup-message
type EditFollowupMessageRequest = Request<objects.Partial<objects.MessageObject>>

Request<objects.Partial<objects.MessageObject>>

CreateAutoModerationRuleRequest

https://discord.com/developers/docs/resources/auto-moderation#create-auto-moderation-rule

Raw Type
-- https://discord.com/developers/docs/resources/auto-moderation#create-auto-moderation-rule
type CreateAutoModerationRuleRequest = Request<{
	name: string,

	-- the rule name
	event_type: objects.AutomoderationRuleEventType,

	-- the event type
	trigger_type: objects.AutomoderationRuleTriggerType,

	-- the trigger type
	trigger_metadata: objects.AutomoderationRuleTriggerMetadataObject?,

	-- the trigger metadata
	actions: {objects.AutomoderationActionObject},

	-- the actions which will execute when the rule is triggered
	enabled: boolean?,

	-- whether the rule is enabled (False by default)
	exempt_roles: {objects.Snowflake}?,

	-- the role ids that should not be affected by the rule (Maximum of 20)
	exempt_channels: {objects.Snowflake}?
}>

Request<{name: string, event_type: objects.AutomoderationRuleEventType, trigger_type: objects.AutomoderationRuleTriggerType, trigger_metadata: objects.AutomoderationRuleTriggerMetadataObject?, actions: {objects.AutomoderationActionObject}, enabled: boolean?, exempt_roles: {objects.Snowflake}?, exempt_channels: {objects.Snowflake}?}>

ModifyAutoModerationRuleRequest

https://discord.com/developers/docs/resources/auto-moderation#modify-auto-moderation-rule

Raw Type
-- https://discord.com/developers/docs/resources/auto-moderation#modify-auto-moderation-rule
type ModifyAutoModerationRuleRequest = Request<{
	name: string,

	-- the rule name
	event_type: objects.AutomoderationRuleEventType,

	-- the event type
	trigger_metadata: objects.AutomoderationRuleTriggerMetadataObject?,

	-- the trigger metadata
	actions: {objects.AutomoderationActionObject},

	-- the actions which will execute when the rule is triggered
	enabled: boolean?,

	-- whether the rule is enabled (False by default)
	exempt_roles: {objects.Snowflake}?,

	-- the role ids that should not be affected by the rule (Maximum of 20)
	exempt_channels: {objects.Snowflake}?
}>

Request<{name: string, event_type: objects.AutomoderationRuleEventType, trigger_metadata: objects.AutomoderationRuleTriggerMetadataObject?, actions: {objects.AutomoderationActionObject}, enabled: boolean?, exempt_roles: {objects.Snowflake}?, exempt_channels: {objects.Snowflake}?}>

EditCurrentApplicationRequest

https://discord.com/developers/docs/resources/application#edit-current-application

Raw Type
-- https://discord.com/developers/docs/resources/application#edit-current-application
type EditCurrentApplicationRequest = Request<{
	custom_install_url: string,

	-- Default custom authorization URL for the app, if enabled
	description: string,

	-- Description of the app
	role_connections_verification_url: string,

	-- Role connection verification URL for the app
	install_params: objects.InstallParamsObject,

	-- Settings for the app's default in-app authorization link, if enabled
	integration_types_config: {
		[objects.IntegrationType]: unknown
	},

	-- In preview. Default scopes and permissions for each supported installation context. Value for each key is an integration type configuration object
	flags: number,

	-- App's public flags
	icon: string?,

	-- Icon for the app
	cover_image: string?,

	-- Default rich presence invite cover image for the app
	interactions_endpoint_url: string,

	-- Interactions endpoint URL for the app
	tags: {string}
}>

Request<{custom_install_url: string, description: string, role_connections_verification_url: string, install_params: objects.InstallParamsObject, integration_types_config: {[objects.IntegrationType]: unknown}, flags: number, icon: string?, cover_image: string?, interactions_endpoint_url: string, tags: {string}}>

ModifyChannelRequest

https://discord.com/developers/docs/resources/channel#modify-channel

Raw Type
-- https://discord.com/developers/docs/resources/channel#modify-channel
type ModifyChannelRequest = Request<{
	name: string?,

	-- 1-100 character channel name
	type: objects.ChannelType?,

	-- the type of channel; only conversion between text and announcement is supported and only in guilds with the "NEWS" feature
	icon: string?,

	-- (if a group DM, the base64 encoded icon for the group DM)
	position: number?,

	-- the position of the channel in the left-hand listing (channels with the same position are sorted by id)
	topic: string?,

	-- 0-1024 character channel topic (0-4096 characters for GUILD_FORUM and GUILD_MEDIA channels)
	nsfw: boolean?,

	-- whether the channel is nsfw
	rate_limit_per_user: number?,

	-- amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission manage_messages or manage_channel, are unaffected
	bitrate: number?,

	-- the bitrate (in bits) of the voice or stage channel; min 8000
	user_limit: number?,

	-- the user limit of the voice or stage channel, max 99 for voice channels and 10,000 for stage channels (0 refers to no limit)
	permission_overwrites: {objects.OverwriteObject}?,

	-- channel or category-specific permissions
	parent_id: objects.Snowflake?,

	-- id of the new parent category for a channel
	rtc_region: string?,

	-- channel voice region id, automatic when set to null
	video_quality_mode: objects.VideoQualityMode?,

	-- the camera video quality mode of the voice channel
	default_auto_archive_duration: number?,

	-- the default duration that the clients use (not the API) for newly created threads in the channel, in minutes, to automatically archive the thread after recent activity
	flags: number?,

	-- channel flags combined as a bitfield. Currently only REQUIRE_TAG (1 << 4) is supported by GUILD_FORUM and GUILD_MEDIA channels. HIDE_MEDIA_DOWNLOAD_OPTIONS (1 << 15) is supported only by GUILD_MEDIA channels
	available_tags: {objects.ForumTagObject}?,

	-- the set of tags that can be used in a GUILD_FORUM or a GUILD_MEDIA channel; limited to 20
	default_reaction_emoji: objects.DefaultReactionObject?,

	-- the emoji to show in the add reaction button on a thread in a GUILD_FORUM or a GUILD_MEDIA channel
	default_thread_rate_limit_per_user: number?,

	-- the initial rate_limit_per_user to set on newly created threads in a channel. this field is copied to the thread at creation time and does not live update.
	default_sort_order: objects.SortOrderType?,

	-- the default sort order type used to order posts in GUILD_FORUM and GUILD_MEDIA channels
	default_forum_layout: objects.ForumLayoutType?,

	-- the default forum layout type used to display posts in GUILD_FORUM channels
	archived: boolean?,

	-- whether the thread is archived
	auto_archive_duration: number?,

	-- the thread will stop showing in the channel list after auto_archive_duration minutes of inactivity, can be set to: 60, 1440, 4320, 10080
	locked: boolean?,

	-- whether the thread is locked; when a thread is locked, only users with MANAGE_THREADS can unarchive it
	invitable: boolean?,

	-- whether non-moderators can add other non-moderators to a thread; only available on private threads
	applied_tags: {objects.Snowflake}?
}>

Request<{name: string?, type: objects.ChannelType?, icon: string?, position: number?, topic: string?, nsfw: boolean?, rate_limit_per_user: number?, bitrate: number?, user_limit: number?, permission_overwrites: {objects.OverwriteObject}?, parent_id: objects.Snowflake?, rtc_region: string?, video_quality_mode: objects.VideoQualityMode?, default_auto_archive_duration: number?, flags: number?, available_tags: {objects.ForumTagObject}?, default_reaction_emoji: objects.DefaultReactionObject?, default_thread_rate_limit_per_user: number?, default_sort_order: objects.SortOrderType?, default_forum_layout: objects.ForumLayoutType?, archived: boolean?, auto_archive_duration: number?, locked: boolean?, invitable: boolean?, applied_tags: {objects.Snowflake}?}>

CreateMessageRequest

https://discord.com/developers/docs/resources/channel#create-message

Raw Type
-- https://discord.com/developers/docs/resources/channel#create-message
type CreateMessageRequest = Request<{
	content: string?,

	-- Message contents (up to 2000 characters)
	nonce: (string | number)?,

	-- Can be used to verify a message was sent (up to 25 characters). Value will appear in the Message Create event.
	tts: boolean?,

	-- true if this is a TTS message
	embeds: {objects.EmbedObject}?,

	-- Up to 10 rich embeds (up to 6000 characters)
	allowed_mentions: objects.AllowedMentionObject?,

	-- Allowed mentions for the message
	message_reference: objects.MessageReferenceObject?,

	-- Include to make your message a reply or a forward
	components: {objects.ComponentObjects}?,

	-- Components to include with the message
	sticker_ids: {objects.Snowflake}?,

	-- IDs of up to 3 stickers in the server to send in the message
	-- files: { },
	-- payload_json: string,
	attachments: {CreateMessageAttachment}?,

	-- Attachment objects with filename and description. See Uploading Files
	flags: number?,

	-- Message flags combined as a bitfield (only SUPPRESS_EMBEDS and SUPPRESS_NOTIFICATIONS can be set)
	enforce_nonce: boolean?,

	-- If true and nonce is present, it will be checked for uniqueness in the past few minutes. If another message was created by the same author with the same nonce, that message will be returned and no new message will be created.
	poll: objects.PollObject?
}>

Request<{content: string?, nonce: (string | number)?, tts: boolean?, embeds: {objects.EmbedObject}?, allowed_mentions: objects.AllowedMentionObject?, message_reference: objects.MessageReferenceObject?, components: {objects.ComponentObjects}?, sticker_ids: {objects.Snowflake}?, attachments: {CreateMessageAttachment}?, flags: number?, enforce_nonce: boolean?, poll: objects.PollObject?}>

EditMessageRequest

https://discord.com/developers/docs/resources/channel#edit-message

Raw Type
-- https://discord.com/developers/docs/resources/channel#edit-message
type EditMessageRequest = Request<{
	content: string?,

	-- Message contents (up to 2000 characters)
	embeds: {objects.EmbedObject}?,

	-- Up to 10 rich embeds (up to 6000 characters)
	allowed_mentions: {objects.AllowedMentionObject}?,

	-- Allowed mentions for the message
	components: {objects.ComponentObjects}?,

	-- Components to include with the message
	-- files: { },
	-- payload_json: string,
	attachments: {CreateMessageAttachment}?,

	-- Attachment objects with filename and description. See Uploading Files
	flags: number?
}>

Request<{content: string?, embeds: {objects.EmbedObject}?, allowed_mentions: {objects.AllowedMentionObject}?, components: {objects.ComponentObjects}?, attachments: {CreateMessageAttachment}?, flags: number?}>

CreateChannelInviteRequest

https://discord.com/developers/docs/resources/channel#create-channel-invite

Raw Type
-- https://discord.com/developers/docs/resources/channel#create-channel-invite
type CreateChannelInviteRequest = Request<{
	max_age: number?,

	-- duration of invite in seconds before expiry, or 0 for never. between 0 and 604800 (7 days)
	max_uses: number?,

	-- max number of uses or 0 for unlimited. between 0 and 100
	temporary: boolean?,

	-- whether this invite only grants temporary membership
	unique: boolean?,

	-- if true, don't try to reuse a similar invite (useful for creating many unique one time use invites)
	target_type: objects.InviteTargetTypes?,

	-- the type of target for this voice channel invite
	target_user_id: objects.Snowflake?,

	-- the id of the user whose stream to display for this invite, required if target_type is 1, the user must be streaming in the channel
	target_application_id: objects.Snowflake?
}>

Request<{max_age: number?, max_uses: number?, temporary: boolean?, unique: boolean?, target_type: objects.InviteTargetTypes?, target_user_id: objects.Snowflake?, target_application_id: objects.Snowflake?}>

BulkDeleteMessagesRequest

https://discord.com/developers/docs/resources/channel#bulk-delete-messages

Raw Type
-- https://discord.com/developers/docs/resources/channel#bulk-delete-messages
type BulkDeleteMessagesRequest = Request<{
	messages: {objects.Snowflake}
}>

Request<{messages: {objects.Snowflake}}>

FollowAnnouncementChannelRequest

https://discord.com/developers/docs/resources/channel#follow-announcement-channel

Raw Type
-- https://discord.com/developers/docs/resources/channel#follow-announcement-channel
type FollowAnnouncementChannelRequest = Request<{
	webhook_channel_id: objects.Snowflake
}>

Request<{webhook_channel_id: objects.Snowflake}>

GroupDMAddRecipientRequest

https://discord.com/developers/docs/resources/channel#group-dm-add-recipient

Raw Type
-- https://discord.com/developers/docs/resources/channel#group-dm-add-recipient
type GroupDMAddRecipientRequest = Request<{
	access_token: string,

	-- access token of a user that has granted your app the gdm.join scope
	nick: string
}>

Request<{access_token: string, nick: string}>

StartThreadFromMessageRequest

https://discord.com/developers/docs/resources/channel#start-thread-from-message

Raw Type
-- https://discord.com/developers/docs/resources/channel#start-thread-from-message
type StartThreadFromMessageRequest = Request<{
	name: string,

	-- 1-100 character channel name
	auto_archive_duration: number?,

	-- the thread will stop showing in the channel list after auto_archive_duration minutes of inactivity, can be set to: 60, 1440, 4320, 10080
	rate_limit_per_user: number?
}>

Request<{name: string, auto_archive_duration: number?, rate_limit_per_user: number?}>

StartThreadWithoutMessageRequest

https://discord.com/developers/docs/resources/channel#start-thread-without-message

Raw Type
-- https://discord.com/developers/docs/resources/channel#start-thread-without-message
type StartThreadWithoutMessageRequest = Request<{
	name: string,

	-- 1-100 character channel name
	auto_archive_duration: number?,

	-- the thread will stop showing in the channel list after auto_archive_duration minutes of inactivity, can be set to: 60, 1440, 4320, 10080
	type: objects.ChannelType?,

	-- the type of thread to create
	invitable: boolean?,

	-- whether non-moderators can add other non-moderators to a thread; only available when creating a private thread
	rate_limit_per_user: number?
}>

Request<{name: string, auto_archive_duration: number?, type: objects.ChannelType?, invitable: boolean?, rate_limit_per_user: number?}>

StartThreadInForumOrMediaChannelRequest

https://discord.com/developers/docs/resources/channel#start-thread-in-forum-or-media-channel

Raw Type
-- https://discord.com/developers/docs/resources/channel#start-thread-in-forum-or-media-channel
type StartThreadInForumOrMediaChannelRequest = Request<{
	name: string,

	-- 1-100 character channel name
	auto_archive_duration: number?,

	-- the thread will stop showing in the channel list after auto_archive_duration minutes of inactivity, can be set to: 60, 1440, 4320, 10080
	rate_limit_per_user: number?,

	-- amount of seconds a user has to wait before sending another message (0-21600)
	--files: { },
	-- payload_json: string,
	applied_tags: {objects.Snowflake}?,

	-- the IDs of the set of tags that have been applied to a thread in a GUILD_FORUM or a GUILD_MEDIA channel
	message: objects.ForumAndMediaThreadMessageObject?
}>

Request<{name: string, auto_archive_duration: number?, rate_limit_per_user: number?, applied_tags: {objects.Snowflake}?, message: objects.ForumAndMediaThreadMessageObject?}>

CreateGuildEmojiRequest

https://discord.com/developers/docs/resources/emoji#create-guild-emoji

Raw Type
-- https://discord.com/developers/docs/resources/emoji#create-guild-emoji
type CreateGuildEmojiRequest = Request<{
	name: string,

	-- name of the emoji
	image: string,

	-- the 128x128 emoji image
	roles: {objects.Snowflake}
}>

Request<{name: string, image: string, roles: {objects.Snowflake}}>

ModifyGuildEmojiRequest

https://discord.com/developers/docs/resources/emoji#modify-guild-emoji

Raw Type
-- https://discord.com/developers/docs/resources/emoji#modify-guild-emoji
type ModifyGuildEmojiRequest = Request<{
	name: string,

	-- name of the emoji
	roles: {objects.Snowflake}
}>

Request<{name: string, roles: {objects.Snowflake}}>

CreateGuildRequest

https://discord.com/developers/docs/resources/guild#create-guild

Raw Type
-- https://discord.com/developers/docs/resources/guild#create-guild
type CreateGuildRequest = Request<{
	name: string,

	-- name of the guild (2-100 characters)
	region: string?,

	-- voice region id (deprecated)
	icon: string?,

	-- base64 128x128 image for the guild icon
	verification_level: objects.VerificationLevel?,

	-- verification level
	default_message_notifications: objects.DefaultMessageNotification?,

	-- default message notification level
	explicit_content_filter: objects.ExplicitContentFilterLevel?,

	-- explicit content filter level
	roles: {objects.GuildRoleObject}?,

	-- new guild roles
	channels: {objects.ChannelObject}?,

	-- new guild's channels
	afk_channel_id: objects.Snowflake?,

	-- id for afk channel
	afk_timeout: number?,

	-- afk timeout in seconds, can be set to: 60, 300, 900, 1800, 3600
	system_channel_id: objects.Snowflake?,

	-- the id of the channel where guild notices such as welcome messages and boost events are posted
	system_channel_flags: objects.SystemChannelFlags?
}>

Request<{name: string, region: string?, icon: string?, verification_level: objects.VerificationLevel?, default_message_notifications: objects.DefaultMessageNotification?, explicit_content_filter: objects.ExplicitContentFilterLevel?, roles: {objects.GuildRoleObject}?, channels: {objects.ChannelObject}?, afk_channel_id: objects.Snowflake?, afk_timeout: number?, system_channel_id: objects.Snowflake?, system_channel_flags: objects.SystemChannelFlags?}>

ModifyGuildRequest

https://discord.com/developers/docs/resources/guild#modify-guild

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild
type ModifyGuildRequest = Request<objects.Partial<{
	name: string,

	-- guild name
	verification_level: objects.VerificationLevel?,

	-- verification level
	default_message_notifications: objects.DefaultMessageNotification?,

	-- default message notification level
	explicit_content_filter: objects.ExplicitContentFilterLevel?,

	-- explicit content filter level
	afk_channel_id: objects.Snowflake?,

	-- id for afk channel
	afk_timeout: number?,

	-- afk timeout in seconds, can be set to: 60, 300, 900, 1800, 3600
	icon: string?,

	-- base64 1024x1024 png/jpeg/gif image for the guild icon (can be animated gif when the server has the ANIMATED_ICON feature)
	owner_id: objects.Snowflake,

	-- user id to transfer guild ownership to (must be owner)
	splash: string?,

	-- base64 16:9 png/jpeg image for the guild splash (when the server has the INVITE_SPLASH feature)
	discovery_splash: string?,

	-- base64 16:9 png/jpeg image for the guild discovery splash (when the server has the DISCOVERABLE feature)
	banner: string?,

	-- base64 16:9 png/jpeg image for the guild banner (when the server has the BANNER feature; can be animated gif when the server has the ANIMATED_BANNER feature)
	system_channel_id: objects.Snowflake?,

	-- the id of the channel where guild notices such as welcome messages and boost events are posted
	system_channel_flags: objects.SystemChannelFlags?,

	-- system channel flags
	rules_channel_id: objects.Snowflake?,

	-- the id of the channel where Community guilds display rules and/or guidelines
	public_updates_channel_id: objects.Snowflake?,

	-- the id of the channel where admins and moderators of Community guilds receive notices from Discord
	preferred_locale: objects.LanguageLocales?,

	-- the preferred locale of a Community guild used in server discovery and notices from Discord; defaults to "en-US"
	features: {objects.GuildFeature}?,

	-- enabled guild features
	description: string?,

	-- the description for the guild
	premium_progress_bar_enabled: boolean?,

	-- whether the guild's boost progress bar should be enabled
	safety_alerts_channel_id: objects.Snowflake?
}>>

Request<objects.Partial<{name: string, verification_level: objects.VerificationLevel?, default_message_notifications: objects.DefaultMessageNotification?, explicit_content_filter: objects.ExplicitContentFilterLevel?, afk_channel_id: objects.Snowflake?, afk_timeout: number?, icon: string?, owner_id: objects.Snowflake, splash: string?, discovery_splash: string?, banner: string?, system_channel_id: objects.Snowflake?, system_channel_flags: objects.SystemChannelFlags?, rules_channel_id: objects.Snowflake?, public_updates_channel_id: objects.Snowflake?, preferred_locale: objects.LanguageLocales?, features: {objects.GuildFeature}?, description: string?, premium_progress_bar_enabled: boolean?, safety_alerts_channel_id: objects.Snowflake?}>>

CreateGuildChannelRequest

https://discord.com/developers/docs/resources/guild#create-guild-channel

Raw Type
-- https://discord.com/developers/docs/resources/guild#create-guild-channel
type CreateGuildChannelRequest = Request<objects.Partial<{
	name: string,

	-- channel name (1-100 characters)
	type: objects.ChannelType,

	-- the type of channel
	topic: string?,

	-- channel topic (0-1024 characters)
	bitrate: number?,

	-- the bitrate (in bits) of the voice or stage channel; min 8000
	user_limit: number?,

	-- the user limit of the voice channel
	rate_limit_per_user: number?,

	-- amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission manage_messages or manage_channel, are unaffected
	position: number,

	-- sorting position of the channel (channels with the same position are sorted by id)
	permission_overwrites: {objects.OverwriteObject},

	-- the channel's permission overwrites
	parent_id: objects.Snowflake?,

	-- id of the parent category for a channel
	nsfw: boolean?,

	-- whether the channel is nsfw
	rtc_region: string?,

	-- channel voice region id of the voice or stage channel, automatic when set to null
	video_quality_mode: objects.VideoQualityMode?,

	-- the camera video quality mode of the voice channel
	default_auto_archive_duration: number?,

	-- the default duration that the clients use (not the API) for newly created threads in the channel, in minutes, to automatically archive the thread after recent activity
	default_reaction_emoji: objects.EmojiObject?,

	-- emoji to show in the add reaction button on a thread in a GUILD_FORUM or a GUILD_MEDIA channel
	available_tags: {objects.ForumTagObject}?,

	-- set of tags that can be used in a GUILD_FORUM or a GUILD_MEDIA channel
	default_sort_order: objects.SortOrderType?,

	-- the default sort order type used to order posts in GUILD_FORUM and GUILD_MEDIA channels
	default_forum_layout: objects.ForumLayoutType?,

	-- the default forum layout view used to display posts in GUILD_FORUM channels
	default_thread_rate_limit_per_user: number?
}>>

Request<objects.Partial<{name: string, type: objects.ChannelType, topic: string?, bitrate: number?, user_limit: number?, rate_limit_per_user: number?, position: number, permission_overwrites: {objects.OverwriteObject}, parent_id: objects.Snowflake?, nsfw: boolean?, rtc_region: string?, video_quality_mode: objects.VideoQualityMode?, default_auto_archive_duration: number?, default_reaction_emoji: objects.EmojiObject?, available_tags: {objects.ForumTagObject}?, default_sort_order: objects.SortOrderType?, default_forum_layout: objects.ForumLayoutType?, default_thread_rate_limit_per_user: number?}>>

ModifyGuildChannelPositionsRequest

https://discord.com/developers/docs/resources/guild#modify-guild-channel-positions

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-channel-positions
type ModifyGuildChannelPositionsRequest = Request<{{
	id: objects.Snowflake,

	-- channel id
	position: number?,

	-- sorting position of the channel (channels with the same position are sorted by id)
	lock_permissions: boolean?,

	-- syncs the permission overwrites with the new parent, if moving to a new category
	parent_id: objects.Snowflake?
}}>

Request<{{id: objects.Snowflake, position: number?, lock_permissions: boolean?, parent_id: objects.Snowflake?}}>

AddGuildMemberRequest

https://discord.com/developers/docs/resources/guild#add-guild-member

Raw Type
-- https://discord.com/developers/docs/resources/guild#add-guild-member
type AddGuildMemberRequest = Request<{
	access_token: string,

	-- an oauth2 access token granted with the guilds.join to the bot's application for the user you want to add to the guild
	nick: string?,

	-- value to set user's nickname to
	roles: {objects.Snowflake}?,

	-- array of role ids the member is assigned
	mute: boolean?,

	-- whether the user is muted in voice channels
	deaf: boolean?
}>

Request<{access_token: string, nick: string?, roles: {objects.Snowflake}?, mute: boolean?, deaf: boolean?}>

ModifyGuildMemberRequest

https://discord.com/developers/docs/resources/guild#modify-guild-member

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-member
type ModifyGuildMemberRequest = Request<{
	nick: string?,

	-- value to set user's nickname to
	roles: {objects.Snowflake}?,

	-- array of role ids the member is assigned
	mute: boolean?,

	-- whether the user is muted in voice channels. Will throw a 400 error if the user is not in a voice channel
	deaf: boolean?,

	-- whether the user is deafened in voice channels. Will throw a 400 error if the user is not in a voice channel
	channel_id: (objects.Snowflake | boolean)?,

	-- id of channel to move user to (if they are connected to voice)
	communication_disabled_until: typesext.MultiOption<string>,

	-- when the user's timeout will expire and the user will be able to communicate in the guild again (up to 28 days in the future), set to null to remove timeout. Will throw a 403 error if the user has the ADMINISTRATOR permission or is the owner of the guild
	flags: objects.GuildMemberFlags?
}>

Request<{nick: string?, roles: {objects.Snowflake}?, mute: boolean?, deaf: boolean?, channel_id: (objects.Snowflake | boolean)?, communication_disabled_until: typesext.MultiOption<string>, flags: objects.GuildMemberFlags?}>

ModifyCurrentMemberRequest

https://discord.com/developers/docs/resources/guild#modify-current-member

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-current-member
type ModifyCurrentMemberRequest = Request<{
	nick: string
}>

Request<{nick: string}>

CreateGuildBanRequest

https://discord.com/developers/docs/resources/guild#create-guild-ban

Raw Type
-- https://discord.com/developers/docs/resources/guild#create-guild-ban
type CreateGuildBanRequest = Request<{
	delete_message_days: number?,

	-- number of days to delete messages for (0-7) (deprecated)
	delete_message_seconds: number?
}>

Request<{delete_message_days: number?, delete_message_seconds: number?}>

BulkGuildBanRequest

https://discord.com/developers/docs/resources/guild#bulk-guild-ban

Raw Type
-- https://discord.com/developers/docs/resources/guild#bulk-guild-ban
type BulkGuildBanRequest = Request<{
	user_ids: {objects.Snowflake},

	-- list of user ids to ban (max 200)
	delete_message_seconds: number?
}>

Request<{user_ids: {objects.Snowflake}, delete_message_seconds: number?}>

CreateGuildRoleRequest

https://discord.com/developers/docs/resources/guild#create-guild-role

Raw Type
-- https://discord.com/developers/docs/resources/guild#create-guild-role
type CreateGuildRoleRequest = Request<{
	name: string?,

	-- name of the role, max 100 characters
	permissions: string?,

	-- bitwise value of the enabled/disabled permissions
	color: number?,

	-- RGB color value
	hoist: boolean?,

	-- whether the role should be displayed separately in the sidebar
	icon: string?,

	-- the role's icon image (if the guild has the ROLE_ICONS feature)
	unicode_emoji: string?,

	-- the role's unicode emoji as a standard emoji (if the guild has the ROLE_ICONS feature)
	mentionable: boolean?
}>

Request<{name: string?, permissions: string?, color: number?, hoist: boolean?, icon: string?, unicode_emoji: string?, mentionable: boolean?}>

ModifyGuildRolePositionsRequest

https://discord.com/developers/docs/resources/guild#modify-guild-role-positions

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-role-positions
type ModifyGuildRolePositionsRequest = Request<{
	id: objects.Snowflake,

	-- the target role id
	position: number
}>

Request<{id: objects.Snowflake, position: number}>

ModifyGuildRoleRequest

https://discord.com/developers/docs/resources/guild#modify-guild-role

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-role
type ModifyGuildRoleRequest = Request<{
	name: string?,

	-- name of the role, max 100 characters
	permissions: string?,

	-- bitwise value of the enabled/disabled permissions
	color: number?,

	-- RGB color value
	hoist: boolean?,

	-- whether the role should be displayed separately in the sidebar
	icon: string?,

	-- the role's icon image (if the guild has the ROLE_ICONS feature)
	unicode_emoji: string?,

	-- the role's unicode emoji as a standard emoji (if the guild has the ROLE_ICONS feature)
	mentionable: boolean?
}>

Request<{name: string?, permissions: string?, color: number?, hoist: boolean?, icon: string?, unicode_emoji: string?, mentionable: boolean?}>

ModifyGuildMFALevelRequest

https://discord.com/developers/docs/resources/guild#modify-guild-mfa-level

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-mfa-level
type ModifyGuildMFALevelRequest = Request<{
	level: objects.MFALevel
}>

Request<{level: objects.MFALevel}>

BeginGuildPruneRequest

https://discord.com/developers/docs/resources/guild#begin-guild-prune

Raw Type
-- https://discord.com/developers/docs/resources/guild#begin-guild-prune
type BeginGuildPruneRequest = Request<{
	days: number,

	-- number of days to prune (1-30)
	compute_prune_count: boolean,

	-- whether pruned is returned, discouraged for large guilds
	include_ruoles: {objects.Snowflake},

	-- role(s) to include
	reason: string?
}>

Request<{days: number, compute_prune_count: boolean, include_ruoles: {objects.Snowflake}, reason: string?}>

ModifyGuildWelcomeScreenRequest

https://discord.com/developers/docs/resources/guild#modify-guild-welcome-screen

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-welcome-screen
type ModifyGuildWelcomeScreenRequest = Request<{
	enabled: boolean?,

	-- whether the welcome screen is enabled
	welcome_channels: {objects.WelcomeScreenChannelObject},

	-- channels linked in the welcome screen and their display options
	description: string?
}>

Request<{enabled: boolean?, welcome_channels: {objects.WelcomeScreenChannelObject}, description: string?}>

ModifyGuildOnboardingRequest

https://discord.com/developers/docs/resources/guild#modify-guild-onboarding

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-onboarding
type ModifyGuildOnboardingRequest = Request<{
	prompts: {objects.OnboardingPromptObject}?,

	-- Prompts shown during onboarding and in customize community
	default_channel_ids: {objects.Snowflake}?,

	-- Channel IDs that members get opted into automatically
	enabled: boolean?,

	-- Whether onboarding is enabled in the guild
	mode: objects.OnboardingMode?
}>

Request<{prompts: {objects.OnboardingPromptObject}?, default_channel_ids: {objects.Snowflake}?, enabled: boolean?, mode: objects.OnboardingMode?}>

ModifyCurrentUserVoiceStateRequest

https://discord.com/developers/docs/resources/guild#modify-current-user-voice-state

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-current-user-voice-state
type ModifyCurrentUserVoiceStateRequest = Request<{
	channel_id: objects.Snowflake?,

	-- the id of the channel the user is currently in
	suppress: boolean?,

	-- toggles the user's suppress state
	request_to_speak_timestamp: string?
}>

Request<{channel_id: objects.Snowflake?, suppress: boolean?, request_to_speak_timestamp: string?}>

ModifyUserVoiceStateRequest

https://discord.com/developers/docs/resources/guild#modify-user-voice-state

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-user-voice-state
type ModifyUserVoiceStateRequest = Request<{
	channel_id: objects.Snowflake?,

	-- the id of the channel the user is currently in
	suppress: boolean?
}>

Request<{channel_id: objects.Snowflake?, suppress: boolean?}>

CreateGuildScheduledEventRequest

https://discord.com/developers/docs/resources/guild-scheduled-event#create-guild-scheduled-event

Raw Type
-- https://discord.com/developers/docs/resources/guild-scheduled-event#create-guild-scheduled-event
type CreateGuildScheduledEventRequest = Request<{
	channel_id: objects.Snowflake?,

	-- the channel id of the scheduled event.
	entity_metadata: objects.GuildScheduledEventEntityMetadata,

	-- the entity metadata of the scheduled event
	name: string,

	-- the name of the scheduled event
	privacy_level: objects.PrivacyLevel,

	-- the privacy level of the scheduled event
	scheduled_start_time: string,

	-- the time to schedule the scheduled event
	scheduled_end_time: string?,

	-- the time when the scheduled event is scheduled to end
	description: string?,

	-- the description of the scheduled event
	entity_type: objects.GuildScheduledEventEntityType,

	-- the entity type of the scheduled event
	image: string?
}>

Request<{channel_id: objects.Snowflake?, entity_metadata: objects.GuildScheduledEventEntityMetadata, name: string, privacy_level: objects.PrivacyLevel, scheduled_start_time: string, scheduled_end_time: string?, description: string?, entity_type: objects.GuildScheduledEventEntityType, image: string?}>

ModifyGuildScheduledEventRequest

https://discord.com/developers/docs/resources/guild-scheduled-event#modify-guild-scheduled-event

Raw Type
-- https://discord.com/developers/docs/resources/guild-scheduled-event#modify-guild-scheduled-event
type ModifyGuildScheduledEventRequest = Request<{
	channel_id: objects.Snowflake?,

	-- the channel id of the scheduled event.
	entity_metadata: objects.GuildScheduledEventEntityMetadata,

	-- the entity metadata of the scheduled event
	name: string,

	-- the name of the scheduled event
	privacy_level: objects.PrivacyLevel,

	-- the privacy level of the scheduled event
	scheduled_start_time: string,

	-- the time to schedule the scheduled event
	scheduled_end_time: string?,

	-- the time when the scheduled event is scheduled to end
	description: string?,

	-- the description of the scheduled event
	entity_type: objects.GuildScheduledEventEntityType,

	-- the entity type of the scheduled event
	status: objects.GuildScheduledEventStatus?,

	-- the status of the scheduled event
	image: string?
}>

Request<{channel_id: objects.Snowflake?, entity_metadata: objects.GuildScheduledEventEntityMetadata, name: string, privacy_level: objects.PrivacyLevel, scheduled_start_time: string, scheduled_end_time: string?, description: string?, entity_type: objects.GuildScheduledEventEntityType, status: objects.GuildScheduledEventStatus?, image: string?}>

CreateGuildFromGuildTemplateRequest

https://discord.com/developers/docs/resources/guild-template#create-guild-from-guild-template

Raw Type
-- https://discord.com/developers/docs/resources/guild-template#create-guild-from-guild-template
type CreateGuildFromGuildTemplateRequest = Request<{
	name: string,

	-- name of the guild (2-100 characters)
	icon: string?
}>

Request<{name: string, icon: string?}>

CreateGuildTemplateRequest

https://discord.com/developers/docs/resources/guild-template#create-guild-template

Raw Type
-- https://discord.com/developers/docs/resources/guild-template#create-guild-template
type CreateGuildTemplateRequest = Request<{
	name: string,

	-- name of the template (1-100 characters)
	description: string?
}>

Request<{name: string, description: string?}>

ModifyGuildTemplateRequest

https://discord.com/developers/docs/resources/guild-template#modify-guild-template

Raw Type
-- https://discord.com/developers/docs/resources/guild-template#modify-guild-template
type ModifyGuildTemplateRequest = Request<{
	name: string?,

	-- name of the template (1-100 characters)
	description: string?
}>

Request<{name: string?, description: string?}>

CreateStageInstanceRequest

https://discord.com/developers/docs/resources/stage-instance#create-stage-instance

Raw Type
-- https://discord.com/developers/docs/resources/stage-instance#create-stage-instance
type CreateStageInstanceRequest = Request<{
	channel_id: objects.Snowflake,

	-- The id of the Stage channel
	topic: string,

	-- The topic of the Stage instance (1-120 characters)
	privacy_level: objects.PrivacyLevel?,

	-- The privacy level of the Stage instance (default GUILD_ONLY)
	send_start_notification: boolean?,

	-- Notify @everyone that a Stage instance has started
	guild_scheduled_event_id: objects.Snowflake?
}>

Request<{channel_id: objects.Snowflake, topic: string, privacy_level: objects.PrivacyLevel?, send_start_notification: boolean?, guild_scheduled_event_id: objects.Snowflake?}>

ModifyStageInstanceRequest

https://discord.com/developers/docs/resources/stage-instance#modify-stage-instance

Raw Type
-- https://discord.com/developers/docs/resources/stage-instance#modify-stage-instance
type ModifyStageInstanceRequest = Request<{
	topic: string,

	-- The topic of the Stage instance (1-120 characters)
	privacy_level: objects.PrivacyLevel
}>

Request<{topic: string, privacy_level: objects.PrivacyLevel}>

CreateGuildStickerRequest

https://discord.com/developers/docs/resources/sticker#create-guild-sticker

Raw Type
-- https://discord.com/developers/docs/resources/sticker#create-guild-sticker
type CreateGuildStickerRequest = Request<{
	name: string,

	-- name of the sticker (2-30 characters)
	description: string,

	-- description of the sticker (empty or 2-100 characters)
	tags: {string},

	-- autocomplete/suggestion tags for the sticker (max 200 characters)
	file: string
}>

Request<{name: string, description: string, tags: {string}, file: string}>

ModifyGuildStickerRequest

https://discord.com/developers/docs/resources/sticker#modify-guild-sticker

Raw Type
-- https://discord.com/developers/docs/resources/sticker#modify-guild-sticker
type ModifyGuildStickerRequest = Request<{
	name: string,

	-- name of the sticker (2-30 characters)
	description: string?,

	-- description of the sticker (2-100 characters)
	tags: string
}>

Request<{name: string, description: string?, tags: string}>

ModifyCurrentUserRequest

https://discord.com/developers/docs/resources/user#modify-current-user

Raw Type
-- https://discord.com/developers/docs/resources/user#modify-current-user
type ModifyCurrentUserRequest = Request<{
	username: string,

	-- user's username, if changed may cause the user's discriminator to be randomized.
	avatar: string?,

	-- if passed, modifies the user's avatar
	banner: string?
}>

Request<{username: string, avatar: string?, banner: string?}>

CreateDMRequest

https://discord.com/developers/docs/resources/user#create-dm

Raw Type
-- https://discord.com/developers/docs/resources/user#create-dm
type CreateDMRequest = Request<{
	recipient_id: objects.Snowflake
}>

Request<{recipient_id: objects.Snowflake}>

CreateGroupDMRequest

https://discord.com/developers/docs/resources/user#create-group-dm

Raw Type
-- https://discord.com/developers/docs/resources/user#create-group-dm
type CreateGroupDMRequest = Request<{
	access_tokens: {string},

	-- access tokens of users that have granted your app the gdm.join scope
	nicks: {
		[objects.Snowflake]: string
	}
}>

Request<{access_tokens: {string}, nicks: {[objects.Snowflake]: string}}>

UpdateCurrentUserApplicationRoleConnectionRequest

https://discord.com/developers/docs/resources/user#update-current-user-application-role-connection

Raw Type
-- https://discord.com/developers/docs/resources/user#update-current-user-application-role-connection
type UpdateCurrentUserApplicationRoleConnectionRequest = Request<{
	platform_name: string?,

	-- the vanity name of the platform a bot has connected (max 50 characters)
	platform_username: string?,

	-- the username on the platform a bot has connected (max 100 characters)
	metadata: objects.ApplicationRoleConnectionMetadataObject?
}>

Request<{platform_name: string?, platform_username: string?, metadata: objects.ApplicationRoleConnectionMetadataObject?}>

CreateWebhookRequest

https://discord.com/developers/docs/resources/webhook#create-webhook

Raw Type
-- https://discord.com/developers/docs/resources/webhook#create-webhook
type CreateWebhookRequest = Request<{
	name: string,

	-- name of the webhook (1-80 characters)
	avatar: string?
}>

Request<{name: string, avatar: string?}>

ModifyWebhookRequest

https://discord.com/developers/docs/resources/webhook#modify-webhook

Raw Type
-- https://discord.com/developers/docs/resources/webhook#modify-webhook
type ModifyWebhookRequest = Request<{
	name: string,

	avatar: string,

	channel_id: objects.Snowflake
}>

Request<{name: string, avatar: string, channel_id: objects.Snowflake}>

ExecuteWebhookRequest

https://discord.com/developers/docs/resources/webhook#execute-webhook

Raw Type
-- https://discord.com/developers/docs/resources/webhook#execute-webhook
type ExecuteWebhookRequest = Request<{
	content: string,

	-- the message contents (up to 2000 characters)
	username: string,

	-- override the default username of the webhook
	avatar_url: string,

	-- override the default avatar of the webhook
	tts: boolean,

	-- true if this is a TTS message
	embeds: {objects.EmbedObject},

	-- embedded rich content
	allowed_mentions: objects.AllowedMentionObject,

	-- allowed mentions for the message
	components: {objects.ComponentObjects},

	-- the components to include with the message
	-- files: { },
	-- payload_json: string,
	attachments: {CreateMessageAttachment},

	-- attachment objects with filename and description
	flags: number,

	-- message flags combined as a bitfield (only SUPPRESS_EMBEDS and SUPPRESS_NOTIFICATIONS can be set can be set)
	thread_name: string,

	-- name of thread to create (requires the webhook channel to be a forum or media channel)
	applied_tags: {objects.Snowflake},

	-- array of tag ids to apply to the thread (requires the webhook channel to be a forum or media channel)
	poll: objects.PollObject
}>

Request<{content: string, username: string, avatar_url: string, tts: boolean, embeds: {objects.EmbedObject}, allowed_mentions: objects.AllowedMentionObject, components: {objects.ComponentObjects}, attachments: {CreateMessageAttachment}, flags: number, thread_name: string, applied_tags: {objects.Snowflake}, poll: objects.PollObject}>

ExecuteSlackCompatibleWebhookRequest

https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook

Raw Type
-- https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook
type ExecuteSlackCompatibleWebhookRequest = Request<{}>

Request<{}>

ExecuteGithubCompatibleWebhookRequest

https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook

Raw Type
-- https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook
type ExecuteGithubCompatibleWebhookRequest = Request<{}>

Request<{}>

EditWebhookMessageRequest

https://discord.com/developers/docs/resources/webhook#edit-webhook-message

Raw Type
-- https://discord.com/developers/docs/resources/webhook#edit-webhook-message
type EditWebhookMessageRequest = Request<{
	content: string,

	-- the message contents (up to 2000 characters)
	embeds: {objects.EmbedObject},

	-- embedded rich content
	allowed_mentions: objects.AllowedMentionObject,

	-- allowed mentions for the message
	components: {objects.ComponentObjects},

	-- the components to include with the message
	-- files: { },
	-- payload_json: string,
	attachments: {CreateMessageAttachment},

	-- attached files to keep and possible descriptions for new files
	poll: objects.PollObject?
}>

Request<{content: string, embeds: {objects.EmbedObject}, allowed_mentions: objects.AllowedMentionObject, components: {objects.ComponentObjects}, attachments: {CreateMessageAttachment}, poll: objects.PollObject?}>

EditChannelPermissionsRequest

https://discord.com/developers/docs/resources/channel#edit-channel-permissions

Raw Type
-- https://discord.com/developers/docs/resources/channel#edit-channel-permissions
type EditChannelPermissionsRequest = Request<{
	allow: string?,

	-- the bitwise value of all allowed permissions (default "0")
	deny: string?,

	-- the bitwise value of all disallowed permissions (default "0")
	type: number
}>

Request<{allow: string?, deny: string?, type: number}>

ModifyGuildWidgetRequest

https://discord.com/developers/docs/resources/guild#modify-guild-widget

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-widget
type ModifyGuildWidgetRequest = Request<objects.GuildWidgetSettingsObject>

Request<objects.GuildWidgetSettingsObject>

CrosspostMessageRequest

https://discord.com/developers/docs/resources/channel#crosspost-message

Raw Type
-- https://discord.com/developers/docs/resources/channel#crosspost-message
type CrosspostMessageRequest = Request<objects.MessageObject>

Request<objects.MessageObject>

CreateGlobalApplicationCommandRequest

https://discord.com/developers/docs/interactions/application-commands#create-global-application-command

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#create-global-application-command
type CreateGlobalApplicationCommandRequest = Request<{
	name: string,

	-- Name of command, 1-32 characters
	name_localizations: {
		[objects.LanguageLocales]: string
	}?,

	-- Localization dictionary for the name field. Values follow the same restrictions as name
	description: string?,

	-- 1-100 character description for CHAT_INPUT commands
	description_localizations: {
		[objects.LanguageLocales]: string
	}?,

	-- Localization dictionary for the description field. Values follow the same restrictions as description
	options: {objects.ApplicationCommandOptionObject}?,

	-- the parameters for the command, max of 25
	default_member_permissions: string?,

	-- Set of permissions represented as a bit set
	dm_permission: boolean?,

	-- Deprecated (use contexts instead); Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible.
	default_permission: boolean,

	-- Replaced by default_member_permissions and will be deprecated in the future. Indicates whether the command is enabled by default when the app is added to a guild. Defaults to true
	integration_types: {objects.IntegrationType}?,

	-- Installation context(s) where the command is available
	contexts: {objects.InteractionContextType}?,

	-- Interaction context(s) where the command can be used
	type: objects.ApplicationCommandType?,

	-- Type of command, defaults 1 if not set
	nsfw: boolean?
}>

Request<{name: string, name_localizations: {[objects.LanguageLocales]: string}?, description: string?, description_localizations: {[objects.LanguageLocales]: string}?, options: {objects.ApplicationCommandOptionObject}?, default_member_permissions: string?, dm_permission: boolean?, default_permission: boolean, integration_types: {objects.IntegrationType}?, contexts: {objects.InteractionContextType}?, type: objects.ApplicationCommandType?, nsfw: boolean?}>

EditGlobalApplicationCommandRequest

https://discord.com/developers/docs/interactions/application-commands#edit-global-application-command

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#edit-global-application-command
type EditGlobalApplicationCommandRequest = Request<{
	name: string,

	-- Name of command, 1-32 characters
	name_localizations: {
		[objects.LanguageLocales]: string
	}?,

	-- Localization dictionary for the name field. Values follow the same restrictions as name
	description: string?,

	-- 1-100 character description for CHAT_INPUT commands
	description_localizations: {
		[objects.LanguageLocales]: string
	}?,

	-- Localization dictionary for the description field. Values follow the same restrictions as description
	options: {objects.ApplicationCommandOptionObject}?,

	-- the parameters for the command, max of 25
	default_member_permissions: string?,

	-- Set of permissions represented as a bit set
	dm_permission: boolean?,

	-- Deprecated (use contexts instead); Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible.
	default_permission: boolean,

	-- Replaced by default_member_permissions and will be deprecated in the future. Indicates whether the command is enabled by default when the app is added to a guild. Defaults to true
	integration_types: {objects.IntegrationType}?,

	-- Installation context(s) where the command is available
	contexts: {objects.InteractionContextType}?,

	-- Interaction context(s) where the command can be used
	nsfw: boolean?
}>

Request<{name: string, name_localizations: {[objects.LanguageLocales]: string}?, description: string?, description_localizations: {[objects.LanguageLocales]: string}?, options: {objects.ApplicationCommandOptionObject}?, default_member_permissions: string?, dm_permission: boolean?, default_permission: boolean, integration_types: {objects.IntegrationType}?, contexts: {objects.InteractionContextType}?, nsfw: boolean?}>

CreateGuildApplicationCommandRequest

https://discord.com/developers/docs/interactions/application-commands#create-guild-application-command

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#create-guild-application-command
type CreateGuildApplicationCommandRequest = Request<{
	name: string,

	-- Name of command, 1-32 characters
	name_localizations: {
		[objects.LanguageLocales]: string
	}?,

	-- Localization dictionary for the name field. Values follow the same restrictions as name
	description: string?,

	-- 1-100 character description for CHAT_INPUT commands
	description_localizations: {
		[objects.LanguageLocales]: string
	}?,

	-- Localization dictionary for the description field. Values follow the same restrictions as description
	options: {objects.ApplicationCommandOptionObject}?,

	-- the parameters for the command, max of 25
	default_member_permissions: string?,

	-- Set of permissions represented as a bit set
	dm_permission: boolean?,

	-- Deprecated (use contexts instead); Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible.
	default_permission: boolean,

	-- Replaced by default_member_permissions and will be deprecated in the future. Indicates whether the command is enabled by default when the app is added to a guild. Defaults to true
	integration_types: {objects.IntegrationType}?,

	-- Installation context(s) where the command is available
	contexts: {objects.InteractionContextType}?,

	-- Interaction context(s) where the command can be used
	type: objects.ApplicationCommandType?,

	-- Type of command, defaults 1 if not set
	nsfw: boolean?,

	-- Indicates whether the command is age-restricted
	handler: number?
}>

Request<{name: string, name_localizations: {[objects.LanguageLocales]: string}?, description: string?, description_localizations: {[objects.LanguageLocales]: string}?, options: {objects.ApplicationCommandOptionObject}?, default_member_permissions: string?, dm_permission: boolean?, default_permission: boolean, integration_types: {objects.IntegrationType}?, contexts: {objects.InteractionContextType}?, type: objects.ApplicationCommandType?, nsfw: boolean?, handler: number?}>

EditGuildApplicationCommandRequest

https://discord.com/developers/docs/interactions/application-commands#edit-guild-application-command

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#edit-guild-application-command
type EditGuildApplicationCommandRequest = Request<{
	name: string,

	-- Name of command, 1-32 characters
	name_localizations: {
		[objects.LanguageLocales]: string
	}?,

	-- Localization dictionary for the name field. Values follow the same restrictions as name
	description: string?,

	-- 1-100 character description for CHAT_INPUT commands
	description_localizations: {
		[objects.LanguageLocales]: string
	}?,

	-- Localization dictionary for the description field. Values follow the same restrictions as description
	options: {objects.ApplicationCommandOptionObject}?,

	-- the parameters for the command, max of 25
	default_member_permissions: string?,

	-- Set of permissions represented as a bit set
	dm_permission: boolean?,

	-- Deprecated (use contexts instead); Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible.
	default_permission: boolean,

	-- Replaced by default_member_permissions and will be deprecated in the future. Indicates whether the command is enabled by default when the app is added to a guild. Defaults to true
	integration_types: {objects.IntegrationType}?,

	-- Installation context(s) where the command is available
	contexts: {objects.InteractionContextType}?,

	-- Interaction context(s) where the command can be used
	nsfw: boolean?
}>

Request<{name: string, name_localizations: {[objects.LanguageLocales]: string}?, description: string?, description_localizations: {[objects.LanguageLocales]: string}?, options: {objects.ApplicationCommandOptionObject}?, default_member_permissions: string?, dm_permission: boolean?, default_permission: boolean, integration_types: {objects.IntegrationType}?, contexts: {objects.InteractionContextType}?, nsfw: boolean?}>

BulkOverwriteGlobalApplicationCommandsRequest

https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-global-application-commands

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-global-application-commands
type BulkOverwriteGlobalApplicationCommandsRequest = Request<{objects.ApplicationCommandObject}>

Request<{objects.ApplicationCommandObject}>

BulkOverwriteGuildApplicationCommandsRequest

https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-guild-application-commands

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-guild-application-commands
type BulkOverwriteGuildApplicationCommandsRequest = Request<{{
	id: objects.Snowflake?,

	-- ID of the command, if known
	name: string,

	-- Name of command, 1-32 characters
	name_localizations: {
		[objects.LanguageLocales]: string
	}?,

	-- Localization dictionary for the name field. Values follow the same restrictions as name
	description: string?,

	-- 1-100 character description for CHAT_INPUT commands
	description_localizations: {
		[objects.LanguageLocales]: string
	}?,

	-- Localization dictionary for the description field. Values follow the same restrictions as description
	options: {objects.ApplicationCommandOptionObject}?,

	-- the parameters for the command, max of 25
	default_member_permissions: string?,

	-- Set of permissions represented as a bit set
	dm_permission: boolean?,

	-- Deprecated (use contexts instead); Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible.
	default_permission: boolean,

	-- Replaced by default_member_permissions and will be deprecated in the future. Indicates whether the command is enabled by default when the app is added to a guild. Defaults to true
	integration_types: {objects.IntegrationType}?,

	-- Installation context(s) where the command is available
	contexts: {objects.InteractionContextType}?,

	-- Interaction context(s) where the command can be used
	type: objects.ApplicationCommandType?,

	-- Type of command, defaults 1 if not set
	nsfw: boolean?
}}>

Request<{{id: objects.Snowflake?, name: string, name_localizations: {[objects.LanguageLocales]: string}?, description: string?, description_localizations: {[objects.LanguageLocales]: string}?, options: {objects.ApplicationCommandOptionObject}?, default_member_permissions: string?, dm_permission: boolean?, default_permission: boolean, integration_types: {objects.IntegrationType}?, contexts: {objects.InteractionContextType}?, type: objects.ApplicationCommandType?, nsfw: boolean?}}>

EditApplicationCommandPermissionsRequest

https://discord.com/developers/docs/interactions/application-commands#edit-application-command-permissions

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#edit-application-command-permissions
type EditApplicationCommandPermissionsRequest = Request<{
	permissions: {objects.GuildApplicationCommandPermissionObject}
}>

Request<{permissions: {objects.GuildApplicationCommandPermissionObject}}>

GetCurrentUserVoiceStateResponse

[[ Responses ]] --

https://discord.com/developers/docs/resources/voice#get-current-user-voice-state

Raw Type
-- [[ Responses ]] --
-- https://discord.com/developers/docs/resources/voice#get-current-user-voice-state
type GetCurrentUserVoiceStateResponse = Response<objects.VoiceStateObject>

Response<objects.VoiceStateObject>

GetUserVoiceStateResponse

https://discord.com/developers/docs/resources/voice#get-user-voice-state

Raw Type
-- https://discord.com/developers/docs/resources/voice#get-user-voice-state
type GetUserVoiceStateResponse = Response<objects.VoiceStateObject>

Response<objects.VoiceStateObject>

GetGlobalApplicationCommandsResponse

https://discord.com/developers/docs/interactions/application-commands#get-global-application-commands

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#get-global-application-commands
type GetGlobalApplicationCommandsResponse = Response<{objects.ApplicationCommandObject}>

Response<{objects.ApplicationCommandObject}>

CreateGlobalApplicationCommandResponse

https://discord.com/developers/docs/interactions/application-commands#create-global-application-command

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#create-global-application-command
type CreateGlobalApplicationCommandResponse = Response<objects.ApplicationCommandObject>

Response<objects.ApplicationCommandObject>

GetGlobalApplicationCommandResponse

https://discord.com/developers/docs/interactions/application-commands#get-global-application-command

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#get-global-application-command
type GetGlobalApplicationCommandResponse = Response<objects.ApplicationCommandObject>

Response<objects.ApplicationCommandObject>

EditGlobalApplicationCommandResponse

https://discord.com/developers/docs/interactions/application-commands#edit-global-application-command

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#edit-global-application-command
type EditGlobalApplicationCommandResponse = Response<objects.ApplicationCommandObject>

Response<objects.ApplicationCommandObject>

DeleteGlobalApplicationCommandResponse

https://discord.com/developers/docs/interactions/application-commands#delete-global-application-command

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#delete-global-application-command
type DeleteGlobalApplicationCommandResponse = Response<nil>

Response<nil>

BulkOverwriteGlobalApplicationCommandsResponse

https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-global-application-commands

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-global-application-commands
type BulkOverwriteGlobalApplicationCommandsResponse = Response<{objects.ApplicationCommandObject}>

Response<{objects.ApplicationCommandObject}>

GetGuildApplicationCommandsResponse

https://discord.com/developers/docs/interactions/application-commands#get-guild-application-commands

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#get-guild-application-commands
type GetGuildApplicationCommandsResponse = Response<{objects.ApplicationCommandObject}>

Response<{objects.ApplicationCommandObject}>

CreateGuildApplicationCommandResponse

https://discord.com/developers/docs/interactions/application-commands#create-guild-application-command

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#create-guild-application-command
type CreateGuildApplicationCommandResponse = Response<objects.ApplicationCommandObject>

Response<objects.ApplicationCommandObject>

GetGuildApplicationCommandResponse

https://discord.com/developers/docs/interactions/application-commands#get-guild-application-command

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#get-guild-application-command
type GetGuildApplicationCommandResponse = Response<objects.ApplicationCommandObject>

Response<objects.ApplicationCommandObject>

EditGuildApplicationCommandResponse

https://discord.com/developers/docs/interactions/application-commands#edit-guild-application-command

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#edit-guild-application-command
type EditGuildApplicationCommandResponse = Response<objects.ApplicationCommandObject>

Response<objects.ApplicationCommandObject>

DeleteGuildApplicationCommandResponse

https://discord.com/developers/docs/interactions/application-commands#delete-guild-application-command

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#delete-guild-application-command
type DeleteGuildApplicationCommandResponse = Response<nil>

Response<nil>

BulkOverwriteGuildApplicationCommandsResponse

https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-guild-application-commands

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#bulk-overwrite-guild-application-commands
type BulkOverwriteGuildApplicationCommandsResponse = Response<{objects.ApplicationCommandObject}>

Response<{objects.ApplicationCommandObject}>

GetGuildApplicationCommandPermissionsResponse

https://discord.com/developers/docs/interactions/application-commands#get-guild-application-command-permissions

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#get-guild-application-command-permissions
type GetGuildApplicationCommandPermissionsResponse = Response<{objects.GuildApplicationCommandPermissionsObject}>

Response<{objects.GuildApplicationCommandPermissionsObject}>

GetApplicationCommandPermissionsResponse

https://discord.com/developers/docs/interactions/application-commands#get-application-command-permissions

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#get-application-command-permissions
type GetApplicationCommandPermissionsResponse = Response<{objects.GuildApplicationCommandPermissionsObject}>

Response<{objects.GuildApplicationCommandPermissionsObject}>

EditApplicationCommandPermissionsResponse

https://discord.com/developers/docs/interactions/application-commands#edit-application-command-permissions

Raw Type
-- https://discord.com/developers/docs/interactions/application-commands#edit-application-command-permissions
type EditApplicationCommandPermissionsResponse = Response<objects.GuildApplicationCommandPermissionsObject>

Response<objects.GuildApplicationCommandPermissionsObject>

GetCurrentApplicationResponse

https://discord.com/developers/docs/resources/application#get-current-application

Raw Type
-- https://discord.com/developers/docs/resources/application#get-current-application
type GetCurrentApplicationResponse = Response<{objects.ApplicationObject}>

Response<{objects.ApplicationObject}>

EditCurrentApplicationResponse

https://discord.com/developers/docs/resources/application#edit-current-application

Raw Type
-- https://discord.com/developers/docs/resources/application#edit-current-application
type EditCurrentApplicationResponse = Response<{objects.ApplicationObject}>

Response<{objects.ApplicationObject}>

GetApplicationRoleConnectionMetadataRecordsResponse

https://discord.com/developers/docs/resources/application-role-connection-metadata#get-application-role-connection-metadata-records

Raw Type
-- https://discord.com/developers/docs/resources/application-role-connection-metadata#get-application-role-connection-metadata-records
type GetApplicationRoleConnectionMetadataRecordsResponse = Response<objects.ApplicationRoleConnectionMetadataObject>

Response<objects.ApplicationRoleConnectionMetadataObject>

UpdateApplicationRoleConnectionMetadataRecordsResponse

https://discord.com/developers/docs/resources/application-role-connection-metadata#update-application-role-connection-metadata-records

Raw Type
-- https://discord.com/developers/docs/resources/application-role-connection-metadata#update-application-role-connection-metadata-records
type UpdateApplicationRoleConnectionMetadataRecordsResponse = Response<objects.ApplicationRoleConnectionMetadataObject>

Response<objects.ApplicationRoleConnectionMetadataObject>

GetGuildAuditLogResponse

https://discord.com/developers/docs/resources/audit-log#get-guild-audit-log

Raw Type
-- https://discord.com/developers/docs/resources/audit-log#get-guild-audit-log
type GetGuildAuditLogResponse = Response<objects.AuditLogObject>

Response<objects.AuditLogObject>

ListAutoModerationRulesForGuildResponse

https://discord.com/developers/docs/resources/auto-moderation#list-auto-moderation-rules-for-guild

Raw Type
-- https://discord.com/developers/docs/resources/auto-moderation#list-auto-moderation-rules-for-guild
type ListAutoModerationRulesForGuildResponse = Response<{objects.AutomoderationRuleObject}>

Response<{objects.AutomoderationRuleObject}>

GetAutoModerationRuleResponse

https://discord.com/developers/docs/resources/auto-moderation#get-auto-moderation-rule

Raw Type
-- https://discord.com/developers/docs/resources/auto-moderation#get-auto-moderation-rule
type GetAutoModerationRuleResponse = Response<objects.AutomoderationRuleObject>

Response<objects.AutomoderationRuleObject>

CreateAutoModerationRuleResponse

https://discord.com/developers/docs/resources/auto-moderation#create-auto-moderation-rule

Raw Type
-- https://discord.com/developers/docs/resources/auto-moderation#create-auto-moderation-rule
type CreateAutoModerationRuleResponse = Response<objects.AutomoderationRuleObject>

Response<objects.AutomoderationRuleObject>

ModifyAutoModerationRuleResponse

https://discord.com/developers/docs/resources/auto-moderation#modify-auto-moderation-rule

Raw Type
-- https://discord.com/developers/docs/resources/auto-moderation#modify-auto-moderation-rule
type ModifyAutoModerationRuleResponse = Response<objects.AutomoderationRuleObject>

Response<objects.AutomoderationRuleObject>

DeleteAutoModerationRuleResponse

https://discord.com/developers/docs/resources/auto-moderation#delete-auto-moderation-rule

Raw Type
-- https://discord.com/developers/docs/resources/auto-moderation#delete-auto-moderation-rule
type DeleteAutoModerationRuleResponse = Response<nil>

Response<nil>

GetChannelResponse

https://discord.com/developers/docs/resources/channel#get-channel

Raw Type
-- https://discord.com/developers/docs/resources/channel#get-channel
type GetChannelResponse = Response<objects.ChannelObject & (objects.ThreadMemberObject?)>

Response<(objects.ChannelObject & objects.ThreadMemberObject?)>

ModifyChannelResponse

https://discord.com/developers/docs/resources/channel#modify-channel

Raw Type
-- https://discord.com/developers/docs/resources/channel#modify-channel
type ModifyChannelResponse = Response<objects.ChannelObject>

Response<objects.ChannelObject>

DeleteCloseChannelResponse

https://discord.com/developers/docs/resources/channel#deleteclose-channel

Raw Type
-- https://discord.com/developers/docs/resources/channel#deleteclose-channel
type DeleteCloseChannelResponse = Response<objects.ChannelObject>

Response<objects.ChannelObject>

GetChannelMessagesResponse

https://discord.com/developers/docs/resources/channel#get-channel-messages

Raw Type
-- https://discord.com/developers/docs/resources/channel#get-channel-messages
type GetChannelMessagesResponse = Response<{objects.MessageObject}>

Response<{objects.MessageObject}>

GetChannelMessageResponse

https://discord.com/developers/docs/resources/channel#get-channel-message

Raw Type
-- https://discord.com/developers/docs/resources/channel#get-channel-message
type GetChannelMessageResponse = Response<objects.MessageObject>

Response<objects.MessageObject>

CreateMessageResponse

https://discord.com/developers/docs/resources/channel#create-message

Raw Type
-- https://discord.com/developers/docs/resources/channel#create-message
type CreateMessageResponse = Response<objects.MessageObject>

Response<objects.MessageObject>

CrosspostMessageResponse

https://discord.com/developers/docs/resources/channel#crosspost-message

Raw Type
-- https://discord.com/developers/docs/resources/channel#crosspost-message
type CrosspostMessageResponse = Response<objects.MessageObject>

Response<objects.MessageObject>

CreateReactionResponse

https://discord.com/developers/docs/resources/channel#create-reaction

Raw Type
-- https://discord.com/developers/docs/resources/channel#create-reaction
type CreateReactionResponse = Response<nil>

Response<nil>

DeleteOwnReactionResponse

https://discord.com/developers/docs/resources/channel#delete-own-reaction

Raw Type
-- https://discord.com/developers/docs/resources/channel#delete-own-reaction
type DeleteOwnReactionResponse = Response<nil>

Response<nil>

DeleteUserReactionResponse

https://discord.com/developers/docs/resources/channel#delete-user-reaction

Raw Type
-- https://discord.com/developers/docs/resources/channel#delete-user-reaction
type DeleteUserReactionResponse = Response<nil>

Response<nil>

GetReactionsResponse

https://discord.com/developers/docs/resources/channel#get-reactions

Raw Type
-- https://discord.com/developers/docs/resources/channel#get-reactions
type GetReactionsResponse = Response<{objects.UserObject}>

Response<{objects.UserObject}>

DeleteAllReactionsResponse

https://discord.com/developers/docs/resources/channel#delete-all-reactions

Raw Type
-- https://discord.com/developers/docs/resources/channel#delete-all-reactions
type DeleteAllReactionsResponse = Response<nil>

Response<nil>

DeleteAllReactionsForEmojiResponse

https://discord.com/developers/docs/resources/channel#delete-all-reactions-for-emoji

Raw Type
-- https://discord.com/developers/docs/resources/channel#delete-all-reactions-for-emoji
type DeleteAllReactionsForEmojiResponse = Response<nil>

Response<nil>

EditMessageResponse

https://discord.com/developers/docs/resources/channel#edit-message

Raw Type
-- https://discord.com/developers/docs/resources/channel#edit-message
type EditMessageResponse = Response<objects.MessageObject>

Response<objects.MessageObject>

DeleteMessageResponse

https://discord.com/developers/docs/resources/channel#delete-message

Raw Type
-- https://discord.com/developers/docs/resources/channel#delete-message
type DeleteMessageResponse = Response<nil>

Response<nil>

BulkDeleteMessageResponse

https://discord.com/developers/docs/resources/channel#bulk-delete-messages

Raw Type
-- https://discord.com/developers/docs/resources/channel#bulk-delete-messages
type BulkDeleteMessageResponse = Response<nil>

Response<nil>

EditChannelPermissionsResponse

https://discord.com/developers/docs/resources/channel#edit-channel-permissions

Raw Type
-- https://discord.com/developers/docs/resources/channel#edit-channel-permissions
type EditChannelPermissionsResponse = Response<nil>

Response<nil>

GetChannelInvitesResponse

https://discord.com/developers/docs/resources/channel#get-channel-invites

Raw Type
-- https://discord.com/developers/docs/resources/channel#get-channel-invites
type GetChannelInvitesResponse = Response<{objects.InviteObject & objects.InviteMetadataObject}>

Response<{(objects.InviteObject & objects.InviteMetadataObject)}>

CreateChannelInviteResponse

https://discord.com/developers/docs/resources/channel#create-channel-invite

Raw Type
-- https://discord.com/developers/docs/resources/channel#create-channel-invite
type CreateChannelInviteResponse = Response<objects.InviteObject>

Response<objects.InviteObject>

DeleteChannelPermissionResponse

https://discord.com/developers/docs/resources/channel#delete-channel-permission

Raw Type
-- https://discord.com/developers/docs/resources/channel#delete-channel-permission
type DeleteChannelPermissionResponse = Response<nil>

Response<nil>

FollowAnnouncementChannelResponse

https://discord.com/developers/docs/resources/channel#follow-announcement-channel

Raw Type
-- https://discord.com/developers/docs/resources/channel#follow-announcement-channel
type FollowAnnouncementChannelResponse = Response<objects.FollowedChannelObject>

Response<objects.FollowedChannelObject>

TriggerTypingIndicatorResponse

https://discord.com/developers/docs/resources/channel#trigger-typing-indicator

Raw Type
-- https://discord.com/developers/docs/resources/channel#trigger-typing-indicator
type TriggerTypingIndicatorResponse = Response<nil>

Response<nil>

GetPinnedMessagesResponse

https://discord.com/developers/docs/resources/channel#get-pinned-messages

Raw Type
-- https://discord.com/developers/docs/resources/channel#get-pinned-messages
type GetPinnedMessagesResponse = Response<{objects.MessageObject}>

Response<{objects.MessageObject}>

PinMessageResponse

https://discord.com/developers/docs/resources/channel#pin-message

Raw Type
-- https://discord.com/developers/docs/resources/channel#pin-message
type PinMessageResponse = Response<nil>

Response<nil>

UnpinMessageResponse

https://discord.com/developers/docs/resources/channel#unpin-message

Raw Type
-- https://discord.com/developers/docs/resources/channel#unpin-message
type UnpinMessageResponse = Response<nil>

Response<nil>

GroupDMAddRecipientResponse

https://discord.com/developers/docs/resources/channel#group-dm-add-recipient

Raw Type
-- https://discord.com/developers/docs/resources/channel#group-dm-add-recipient
type GroupDMAddRecipientResponse = Response<nil>

Response<nil>

GroupDMRemoveRecipientResponse

https://discord.com/developers/docs/resources/channel#group-dm-remove-recipient

Raw Type
-- https://discord.com/developers/docs/resources/channel#group-dm-remove-recipient
type GroupDMRemoveRecipientResponse = Response<nil>

Response<nil>

StartThreadFromMessageResponse

https://discord.com/developers/docs/resources/channel#start-thread-from-message

Raw Type
-- https://discord.com/developers/docs/resources/channel#start-thread-from-message
type StartThreadFromMessageResponse = Response<objects.ChannelObject>

Response<objects.ChannelObject>

StartThreadWithoutMessageResponse

https://discord.com/developers/docs/resources/channel#start-thread-without-message

Raw Type
-- https://discord.com/developers/docs/resources/channel#start-thread-without-message
type StartThreadWithoutMessageResponse = Response<objects.ChannelObject>

Response<objects.ChannelObject>

StartThreadInForumOrMediaChannelResponse

https://discord.com/developers/docs/resources/channel#start-thread-in-forum-or-media-channel

Raw Type
-- https://discord.com/developers/docs/resources/channel#start-thread-in-forum-or-media-channel
type StartThreadInForumOrMediaChannelResponse = Response<objects.ChannelObject>

Response<objects.ChannelObject>

JoinThreadResponse

https://discord.com/developers/docs/resources/channel#join-thread

Raw Type
-- https://discord.com/developers/docs/resources/channel#join-thread
type JoinThreadResponse = Response<nil>

Response<nil>

AddThreadMemberResponse

https://discord.com/developers/docs/resources/channel#add-thread-member

Raw Type
-- https://discord.com/developers/docs/resources/channel#add-thread-member
type AddThreadMemberResponse = Response<nil>

Response<nil>

LeaveThreadResponse

https://discord.com/developers/docs/resources/channel#leave-thread

Raw Type
-- https://discord.com/developers/docs/resources/channel#leave-thread
type LeaveThreadResponse = Response<nil>

Response<nil>

RemoveThreadMemberResponse

https://discord.com/developers/docs/resources/channel#remove-thread-member

Raw Type
-- https://discord.com/developers/docs/resources/channel#remove-thread-member
type RemoveThreadMemberResponse = Response<nil>

Response<nil>

GetThreadMemberResponse

https://discord.com/developers/docs/resources/channel#get-thread-member

Raw Type
-- https://discord.com/developers/docs/resources/channel#get-thread-member
type GetThreadMemberResponse = Response<objects.ThreadMemberObject>

Response<objects.ThreadMemberObject>

ListThreadMembersResponse

https://discord.com/developers/docs/resources/channel#list-thread-members

Raw Type
-- https://discord.com/developers/docs/resources/channel#list-thread-members
type ListThreadMembersResponse = Response<{objects.ThreadMemberObject}>

Response<{objects.ThreadMemberObject}>

ListPublicArchivedThreadsResponse

https://discord.com/developers/docs/resources/channel#list-public-archived-threads

Raw Type
-- https://discord.com/developers/docs/resources/channel#list-public-archived-threads
type ListPublicArchivedThreadsResponse = Response<{
	threads: {objects.ChannelObject},

	-- the public, archived threads
	members: {objects.ThreadMemberObject},

	-- a thread member object for each returned thread the current user has joined
	has_more: boolean
}>

Response<{threads: {objects.ChannelObject}, members: {objects.ThreadMemberObject}, has_more: boolean}>

ListPrivateArchivedThreadsResponse

https://discord.com/developers/docs/resources/channel#list-private-archived-threads

Raw Type
-- https://discord.com/developers/docs/resources/channel#list-private-archived-threads
type ListPrivateArchivedThreadsResponse = Response<{
	threads: {objects.ChannelObject},

	-- the public, archived threads
	members: {objects.ThreadMemberObject},

	-- a thread member object for each returned thread the current user has joined
	has_more: boolean
}>

Response<{threads: {objects.ChannelObject}, members: {objects.ThreadMemberObject}, has_more: boolean}>

ListJoinedPrivateArchivedThreadsResponse

https://discord.com/developers/docs/resources/channel#list-joined-private-archived-threads

Raw Type
-- https://discord.com/developers/docs/resources/channel#list-joined-private-archived-threads
type ListJoinedPrivateArchivedThreadsResponse = Response<{
	threads: {objects.ChannelObject},

	-- the public, archived threads
	members: {objects.ThreadMemberObject},

	-- a thread member object for each returned thread the current user has joined
	has_more: boolean
}>

Response<{threads: {objects.ChannelObject}, members: {objects.ThreadMemberObject}, has_more: boolean}>

ListGuildEmojisResponse

https://discord.com/developers/docs/resources/emoji#list-guild-emojis

Raw Type
-- https://discord.com/developers/docs/resources/emoji#list-guild-emojis
type ListGuildEmojisResponse = Response<{objects.EmojiObject}>

Response<{objects.EmojiObject}>

GetGuildEmojiResponse

https://discord.com/developers/docs/resources/emoji#get-guild-emoji

Raw Type
-- https://discord.com/developers/docs/resources/emoji#get-guild-emoji
type GetGuildEmojiResponse = Response<objects.EmojiObject>

Response<objects.EmojiObject>

CreateGuildEmojiResponse

https://discord.com/developers/docs/resources/emoji#create-guild-emoji

Raw Type
-- https://discord.com/developers/docs/resources/emoji#create-guild-emoji
type CreateGuildEmojiResponse = Response<objects.EmojiObject>

Response<objects.EmojiObject>

ModifyGuildEmojiResponse

https://discord.com/developers/docs/resources/emoji#modify-guild-emoji

Raw Type
-- https://discord.com/developers/docs/resources/emoji#modify-guild-emoji
type ModifyGuildEmojiResponse = Response<objects.EmojiObject>

Response<objects.EmojiObject>

DeleteGuildEmojiResponse

https://discord.com/developers/docs/resources/emoji#delete-guild-emoji

Raw Type
-- https://discord.com/developers/docs/resources/emoji#delete-guild-emoji
type DeleteGuildEmojiResponse = Response<nil>

Response<nil>

CreateGuildResponse

https://discord.com/developers/docs/resources/guild#create-guild

Raw Type
-- https://discord.com/developers/docs/resources/guild#create-guild
type CreateGuildResponse = Response<objects.GuildObject>

Response<objects.GuildObject>

GetGuildResponse

https://discord.com/developers/docs/resources/guild#get-guild

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild
type GetGuildResponse = Response<objects.GuildObject>

Response<objects.GuildObject>

GetGuildPreviewResponse

https://discord.com/developers/docs/resources/guild#get-guild

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild
type GetGuildPreviewResponse = Response<objects.GuildPreviewObject>

Response<objects.GuildPreviewObject>

ModifyGuildResponse

https://discord.com/developers/docs/resources/guild#modify-guild

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild
type ModifyGuildResponse = Response<objects.GuildObject>

Response<objects.GuildObject>

DeleteGuildResponse

https://discord.com/developers/docs/resources/guild#delete-guild

Raw Type
-- https://discord.com/developers/docs/resources/guild#delete-guild
type DeleteGuildResponse = Response<nil>

Response<nil>

GetGuildChannelsResponse

https://discord.com/developers/docs/resources/guild#get-guild-channels

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-channels
type GetGuildChannelsResponse = Response<{objects.ChannelObject}>

Response<{objects.ChannelObject}>

CreateGuildChannelResponse

https://discord.com/developers/docs/resources/guild#create-guild-channel

Raw Type
-- https://discord.com/developers/docs/resources/guild#create-guild-channel
type CreateGuildChannelResponse = Response<objects.ChannelObject>

Response<objects.ChannelObject>

ModifyGuildChannelPositionsResponse

https://discord.com/developers/docs/resources/guild#modify-guild-channel-positions

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-channel-positions
type ModifyGuildChannelPositionsResponse = Response<nil>

Response<nil>

ListActiveGuildThreadsResponse

https://discord.com/developers/docs/resources/guild#list-active-guild-threads

Raw Type
-- https://discord.com/developers/docs/resources/guild#list-active-guild-threads
type ListActiveGuildThreadsResponse = Response<{
	threads: {objects.ChannelObject},

	-- the active threads
	members: {objects.ThreadMemberObject}
}>

Response<{threads: {objects.ChannelObject}, members: {objects.ThreadMemberObject}}>

GetGuildMemberResponse

https://discord.com/developers/docs/resources/guild#get-guild-member

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-member
type GetGuildMemberResponse = Response<objects.GuildMemberObject>

Response<objects.GuildMemberObject>

ListGuildMembersResponse

https://discord.com/developers/docs/resources/guild#list-guild-members

Raw Type
-- https://discord.com/developers/docs/resources/guild#list-guild-members
type ListGuildMembersResponse = Response<{objects.GuildMemberObject}>

Response<{objects.GuildMemberObject}>

SearchGuildMembersResponse

https://discord.com/developers/docs/resources/guild#search-guild-members

Raw Type
-- https://discord.com/developers/docs/resources/guild#search-guild-members
type SearchGuildMembersResponse = Response<{objects.GuildMemberObject}>

Response<{objects.GuildMemberObject}>

AddGuildMemberResponse

https://discord.com/developers/docs/resources/guild#add-guild-member

Raw Type
-- https://discord.com/developers/docs/resources/guild#add-guild-member
type AddGuildMemberResponse = Response<objects.GuildMemberObject>

Response<objects.GuildMemberObject>

ModifyGuildMemberResponse

https://discord.com/developers/docs/resources/guild#modify-guild-member

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-member
type ModifyGuildMemberResponse = Response<objects.GuildMemberObject>

Response<objects.GuildMemberObject>

ModifyCurrentMemberResponse

https://discord.com/developers/docs/resources/guild#modify-current-member

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-current-member
type ModifyCurrentMemberResponse = Response<objects.GuildMemberObject>

Response<objects.GuildMemberObject>

AddGuildMemberRoleResponse

https://discord.com/developers/docs/resources/guild#add-guild-member-role

Raw Type
-- https://discord.com/developers/docs/resources/guild#add-guild-member-role
type AddGuildMemberRoleResponse = Response<nil>

Response<nil>

RemoveGuildMemberRoleResponse

https://discord.com/developers/docs/resources/guild#remove-guild-member-role

Raw Type
-- https://discord.com/developers/docs/resources/guild#remove-guild-member-role
type RemoveGuildMemberRoleResponse = Response<nil>

Response<nil>

RemoveGuildMemberResponse

https://discord.com/developers/docs/resources/guild#remove-guild-member

Raw Type
-- https://discord.com/developers/docs/resources/guild#remove-guild-member
type RemoveGuildMemberResponse = Response<nil>

Response<nil>

GetGuildBansResponse

https://discord.com/developers/docs/resources/guild#get-guild-bans

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-bans
type GetGuildBansResponse = Response<{objects.BanObject}>

Response<{objects.BanObject}>

GetGuildBanResponse

https://discord.com/developers/docs/resources/guild#get-guild-ban

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-ban
type GetGuildBanResponse = Response<objects.BanObject>

Response<objects.BanObject>

CreateGuildBanResponse

https://discord.com/developers/docs/resources/guild#create-guild-ban

Raw Type
-- https://discord.com/developers/docs/resources/guild#create-guild-ban
type CreateGuildBanResponse = Response<nil>

Response<nil>

RemoveGuildBanResponse

https://discord.com/developers/docs/resources/guild#remove-guild-ban

Raw Type
-- https://discord.com/developers/docs/resources/guild#remove-guild-ban
type RemoveGuildBanResponse = Response<nil>

Response<nil>

BulkGuildBanResponse

https://discord.com/developers/docs/resources/guild#bulk-guild-ban

Raw Type
-- https://discord.com/developers/docs/resources/guild#bulk-guild-ban
type BulkGuildBanResponse = Response<{
	banned_users: {objects.Snowflake},

	failed_users: {objects.Snowflake}
}>

Response<{banned_users: {objects.Snowflake}, failed_users: {objects.Snowflake}}>

GetGuildRolesResponse

https://discord.com/developers/docs/resources/guild#get-guild-roles

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-roles
type GetGuildRolesResponse = Response<{objects.GuildRoleObject}>

Response<{objects.GuildRoleObject}>

GetGuildRoleResponse

https://discord.com/developers/docs/resources/guild#get-guild-roles

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-roles
type GetGuildRoleResponse = Response<objects.GuildRoleObject>

Response<objects.GuildRoleObject>

CreateGuildRoleResponse

https://discord.com/developers/docs/resources/guild#create-guild-role

Raw Type
-- https://discord.com/developers/docs/resources/guild#create-guild-role
type CreateGuildRoleResponse = Response<objects.GuildRoleObject>

Response<objects.GuildRoleObject>

ModifyGuildRolePositionsResponse

https://discord.com/developers/docs/resources/guild#modify-guild-role-positions

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-role-positions
type ModifyGuildRolePositionsResponse = Response<{objects.GuildRoleObject}>

Response<{objects.GuildRoleObject}>

ModifyGuildRoleResponse

https://discord.com/developers/docs/resources/guild#modify-guild-role

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-role
type ModifyGuildRoleResponse = Response<objects.GuildRoleObject>

Response<objects.GuildRoleObject>

ModifyGuildMFALevelResponse

https://discord.com/developers/docs/resources/guild#modify-guild-mfa-level

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-mfa-level
type ModifyGuildMFALevelResponse = Response<unknown>

Response<unknown>

DeleteGuildRoleResponse

https://discord.com/developers/docs/resources/guild#delete-guild-role

Raw Type
-- https://discord.com/developers/docs/resources/guild#delete-guild-role
type DeleteGuildRoleResponse = Response<nil>

Response<nil>

GetGuildPruneCountResponse

https://discord.com/developers/docs/resources/guild#get-guild-prune-count

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-prune-count
type GetGuildPruneCountResponse = Response<{
	pruned: number
}>

Response<{pruned: number}>

BeginGuildPruneResponse

https://discord.com/developers/docs/resources/guild#begin-guild-prune

Raw Type
-- https://discord.com/developers/docs/resources/guild#begin-guild-prune
type BeginGuildPruneResponse = Response<{
	pruned: number
}>

Response<{pruned: number}>

GetGuildVoiceRegionsResponse

https://discord.com/developers/docs/resources/guild#get-guild-voice-regions

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-voice-regions
type GetGuildVoiceRegionsResponse = Response<{objects.VoiceRegionObject}>

Response<{objects.VoiceRegionObject}>

GetGuildInvitesResponse

https://discord.com/developers/docs/resources/guild#get-guild-invites

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-invites
type GetGuildInvitesResponse = Response<{objects.InviteObject & objects.InviteMetadataObject}>

Response<{(objects.InviteObject & objects.InviteMetadataObject)}>

GetGuildIntegrationsResponse

https://discord.com/developers/docs/resources/guild#get-guild-integrations

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-integrations
type GetGuildIntegrationsResponse = Response<{objects.IntegrationObject}>

Response<{objects.IntegrationObject}>

DeleteGuildIntegrationResponse

https://discord.com/developers/docs/resources/guild#delete-guild-integration

Raw Type
-- https://discord.com/developers/docs/resources/guild#delete-guild-integration
type DeleteGuildIntegrationResponse = Response<nil>

Response<nil>

GetGuildWidgetSettingsResponse

https://discord.com/developers/docs/resources/guild#get-guild-widget-settings

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-widget-settings
type GetGuildWidgetSettingsResponse = Response<objects.GuildWidgetSettingsObject>

Response<objects.GuildWidgetSettingsObject>

ModifyGuildWidgetResponse

https://discord.com/developers/docs/resources/guild#modify-guild-widget

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-widget
type ModifyGuildWidgetResponse = Response<objects.GuildWidgetSettingsObject>

Response<objects.GuildWidgetSettingsObject>

GetGuildWidgetResponse

https://discord.com/developers/docs/resources/guild#get-guild-widget

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-widget
type GetGuildWidgetResponse = Response<objects.GuildWidgetObject>

Response<objects.GuildWidgetObject>

GetGuildVanityUrlResponse

https://discord.com/developers/docs/resources/guild#get-guild-vanity-url

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-vanity-url
type GetGuildVanityUrlResponse = Response<objects.GuildVanityUrl>

Response<objects.GuildVanityUrl>

GetGuildWidgetImageResponse

https://discord.com/developers/docs/resources/guild#get-guild-widget-image

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-widget-image
type GetGuildWidgetImageResponse = Response<string>

Response<string>

GetGuildWelcomeScreenResponse

https://discord.com/developers/docs/resources/guild#get-guild-welcome-screen

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-welcome-screen
type GetGuildWelcomeScreenResponse = Response<objects.WelcomeScreenObject>

Response<objects.WelcomeScreenObject>

ModifyGuildWelcomeScreenResponse

https://discord.com/developers/docs/resources/guild#modify-guild-welcome-screen

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-welcome-screen
type ModifyGuildWelcomeScreenResponse = Response<objects.WelcomeScreenObject>

Response<objects.WelcomeScreenObject>

GetGuildOnboardingResponse

https://discord.com/developers/docs/resources/guild#get-guild-onboarding

Raw Type
-- https://discord.com/developers/docs/resources/guild#get-guild-onboarding
type GetGuildOnboardingResponse = Response<objects.GuildOnboardingObject>

Response<objects.GuildOnboardingObject>

ModifyGuildOnboardingResponse

https://discord.com/developers/docs/resources/guild#modify-guild-onboarding

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-guild-onboarding
type ModifyGuildOnboardingResponse = Response<objects.GuildOnboardingObject>

Response<objects.GuildOnboardingObject>

ModifyCurrentUserVoiceStateResponse

https://discord.com/developers/docs/resources/guild#modify-current-user-voice-state

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-current-user-voice-state
type ModifyCurrentUserVoiceStateResponse = Response<nil>

Response<nil>

ModifyUserVoiceStateResponse

https://discord.com/developers/docs/resources/guild#modify-user-voice-state

Raw Type
-- https://discord.com/developers/docs/resources/guild#modify-user-voice-state
type ModifyUserVoiceStateResponse = Response<unknown>

Response<unknown>

ListScheduledEventsForGuildResponse

https://discord.com/developers/docs/resources/guild-scheduled-event#list-scheduled-events-for-guild

Raw Type
-- https://discord.com/developers/docs/resources/guild-scheduled-event#list-scheduled-events-for-guild
type ListScheduledEventsForGuildResponse = Response<{objects.GuildScheduledEventObject}>

Response<{objects.GuildScheduledEventObject}>

CreateGuildScheduledEventResponse

https://discord.com/developers/docs/resources/guild-scheduled-event#create-guild-scheduled-event

Raw Type
-- https://discord.com/developers/docs/resources/guild-scheduled-event#create-guild-scheduled-event
type CreateGuildScheduledEventResponse = Response<objects.GuildScheduledEventObject>

Response<objects.GuildScheduledEventObject>

GetGuildScheduledEventResponse

https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event

Raw Type
-- https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event
type GetGuildScheduledEventResponse = Response<objects.GuildScheduledEventObject>

Response<objects.GuildScheduledEventObject>

ModifyGuildScheduledEventResponse

https://discord.com/developers/docs/resources/guild-scheduled-event#modify-guild-scheduled-event

Raw Type
-- https://discord.com/developers/docs/resources/guild-scheduled-event#modify-guild-scheduled-event
type ModifyGuildScheduledEventResponse = Response<objects.GuildScheduledEventObject>

Response<objects.GuildScheduledEventObject>

DeleteGuildScheduledEventResponse

https://discord.com/developers/docs/resources/guild-scheduled-event#delete-guild-scheduled-event

Raw Type
-- https://discord.com/developers/docs/resources/guild-scheduled-event#delete-guild-scheduled-event
type DeleteGuildScheduledEventResponse = Response<nil>

Response<nil>

GetGuildScheduledEventUsersResponse

https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event-users

Raw Type
-- https://discord.com/developers/docs/resources/guild-scheduled-event#get-guild-scheduled-event-users
type GetGuildScheduledEventUsersResponse = Response<{objects.GuildScheduledEventUserObject}>

Response<{objects.GuildScheduledEventUserObject}>

GetGuildTemplateResponse

https://discord.com/developers/docs/resources/guild-template#get-guild-template

Raw Type
-- https://discord.com/developers/docs/resources/guild-template#get-guild-template
type GetGuildTemplateResponse = Response<objects.GuildTemplateObject>

Response<objects.GuildTemplateObject>

CreateGuildFromGuildTemplateResponse

https://discord.com/developers/docs/resources/guild-template#create-guild-from-guild-template

Raw Type
-- https://discord.com/developers/docs/resources/guild-template#create-guild-from-guild-template
type CreateGuildFromGuildTemplateResponse = Response<objects.GuildObject>

Response<objects.GuildObject>

GetGuildTemplatesResponse

https://discord.com/developers/docs/resources/guild-template#get-guild-templates

Raw Type
-- https://discord.com/developers/docs/resources/guild-template#get-guild-templates
type GetGuildTemplatesResponse = Response<objects.GuildTemplateObject>

Response<objects.GuildTemplateObject>

CreateGuildTemplateResponse

https://discord.com/developers/docs/resources/guild-template#create-guild-template

Raw Type
-- https://discord.com/developers/docs/resources/guild-template#create-guild-template
type CreateGuildTemplateResponse = Response<objects.GuildTemplateObject>

Response<objects.GuildTemplateObject>

SyncGuildTemplateResponse

https://discord.com/developers/docs/resources/guild-template#sync-guild-template

Raw Type
-- https://discord.com/developers/docs/resources/guild-template#sync-guild-template
type SyncGuildTemplateResponse = Response<objects.GuildTemplateObject>

Response<objects.GuildTemplateObject>

ModifyGuildTemplateResponse

https://discord.com/developers/docs/resources/guild-template#modify-guild-template

Raw Type
-- https://discord.com/developers/docs/resources/guild-template#modify-guild-template
type ModifyGuildTemplateResponse = Response<objects.GuildTemplateObject>

Response<objects.GuildTemplateObject>

DeleteGuildTemplateResponse

https://discord.com/developers/docs/resources/guild-template#delete-guild-template

Raw Type
-- https://discord.com/developers/docs/resources/guild-template#delete-guild-template
type DeleteGuildTemplateResponse = Response<objects.GuildTemplateObject>

Response<objects.GuildTemplateObject>

GetInviteResponse

https://discord.com/developers/docs/resources/invite#get-invite

Raw Type
-- https://discord.com/developers/docs/resources/invite#get-invite
type GetInviteResponse = Response<objects.InviteObject>

Response<objects.InviteObject>

DeleteInviteResponse

https://discord.com/developers/docs/resources/invite#delete-invite

Raw Type
-- https://discord.com/developers/docs/resources/invite#delete-invite
type DeleteInviteResponse = Response<objects.InviteObject>

Response<objects.InviteObject>

GetAnswerVotersResponse

https://discord.com/developers/docs/resources/poll#get-answer-voters

Raw Type
-- https://discord.com/developers/docs/resources/poll#get-answer-voters
type GetAnswerVotersResponse = Response<{objects.UserObject}>

Response<{objects.UserObject}>

EndPollResponse

https://discord.com/developers/docs/resources/poll#end-poll

Raw Type
-- https://discord.com/developers/docs/resources/poll#end-poll
type EndPollResponse = Response<objects.MessageObject>

Response<objects.MessageObject>

CreateStageInstanceResponse

https://discord.com/developers/docs/resources/stage-instance#create-stage-instance

Raw Type
-- https://discord.com/developers/docs/resources/stage-instance#create-stage-instance
type CreateStageInstanceResponse = Response<objects.StageInstanceObject>

Response<objects.StageInstanceObject>

GetStageInstanceResponse

https://discord.com/developers/docs/resources/stage-instance#get-stage-instance

discord-fixme: make a PR to declare what this API returns.

Raw Type
-- https://discord.com/developers/docs/resources/stage-instance#get-stage-instance
-- discord-fixme: make a PR to declare what this API returns.
type GetStageInstanceResponse = Response<objects.StageInstanceObject>

Response<objects.StageInstanceObject>

ModifyStageInstanceResponse

https://discord.com/developers/docs/resources/stage-instance#modify-stage-instance

Raw Type
-- https://discord.com/developers/docs/resources/stage-instance#modify-stage-instance
type ModifyStageInstanceResponse = Response<objects.StageInstanceObject>

Response<objects.StageInstanceObject>

DeleteStageInstanceResponse

https://discord.com/developers/docs/resources/stage-instance#delete-stage-instance

Raw Type
-- https://discord.com/developers/docs/resources/stage-instance#delete-stage-instance
type DeleteStageInstanceResponse = Response<nil>

Response<nil>

GetStickerResponse

https://discord.com/developers/docs/resources/sticker#get-sticker

Raw Type
-- https://discord.com/developers/docs/resources/sticker#get-sticker
type GetStickerResponse = Response<objects.StickerObject>

Response<objects.StickerObject>

ListStickerPacksResponse

https://discord.com/developers/docs/resources/sticker#list-sticker-packs

Raw Type
-- https://discord.com/developers/docs/resources/sticker#list-sticker-packs
type ListStickerPacksResponse = Response<{
	sticker_packs: {objects.StickerPackObject}
}>

Response<{sticker_packs: {objects.StickerPackObject}}>

ListGuildStickersResponse

https://discord.com/developers/docs/resources/sticker#list-guild-stickers

Raw Type
-- https://discord.com/developers/docs/resources/sticker#list-guild-stickers
type ListGuildStickersResponse = Response<{objects.StickerObject}>

Response<{objects.StickerObject}>

GetGuildStickerResponse

https://discord.com/developers/docs/resources/sticker#get-guild-sticker

Raw Type
-- https://discord.com/developers/docs/resources/sticker#get-guild-sticker
type GetGuildStickerResponse = Response<objects.StickerObject>

Response<objects.StickerObject>

CreateGuildStickerResponse

https://discord.com/developers/docs/resources/sticker#create-guild-sticker

Raw Type
-- https://discord.com/developers/docs/resources/sticker#create-guild-sticker
type CreateGuildStickerResponse = Response<objects.StickerObject>

Response<objects.StickerObject>

ModifyGuildStickerResponse

https://discord.com/developers/docs/resources/sticker#modify-guild-sticker

Raw Type
-- https://discord.com/developers/docs/resources/sticker#modify-guild-sticker
type ModifyGuildStickerResponse = Response<objects.StickerObject>

Response<objects.StickerObject>

DeleteGuildStickerResponse

https://discord.com/developers/docs/resources/sticker#delete-guild-sticker

Raw Type
-- https://discord.com/developers/docs/resources/sticker#delete-guild-sticker
type DeleteGuildStickerResponse = Response<nil>

Response<nil>

GetCurrentUserResponse

https://discord.com/developers/docs/resources/user#get-current-user

Raw Type
-- https://discord.com/developers/docs/resources/user#get-current-user
type GetCurrentUserResponse = Response<objects.UserObject>

Response<objects.UserObject>

GetUserResponse

https://discord.com/developers/docs/resources/user#get-user

Raw Type
-- https://discord.com/developers/docs/resources/user#get-user
type GetUserResponse = Response<objects.UserObject>

Response<objects.UserObject>

ModifyCurrentUserResponse

https://discord.com/developers/docs/resources/user#modify-current-user

Raw Type
-- https://discord.com/developers/docs/resources/user#modify-current-user
type ModifyCurrentUserResponse = Response<objects.UserObject>

Response<objects.UserObject>

GetCurrentUserGuildsResponse

https://discord.com/developers/docs/resources/user#get-current-user-guilds

Raw Type
-- https://discord.com/developers/docs/resources/user#get-current-user-guilds
type GetCurrentUserGuildsResponse = Response<{objects.GuildObject}>

Response<{objects.GuildObject}>

GetCurrentUserGuildMemberResponse

https://discord.com/developers/docs/resources/user#get-current-user-guild-member

Raw Type
-- https://discord.com/developers/docs/resources/user#get-current-user-guild-member
type GetCurrentUserGuildMemberResponse = Response<objects.GuildMemberObject>

Response<objects.GuildMemberObject>

LeaveGuildResponse

https://discord.com/developers/docs/resources/user#leave-guild

Raw Type
-- https://discord.com/developers/docs/resources/user#leave-guild
type LeaveGuildResponse = Response<nil>

Response<nil>

CreateDMResponse

https://discord.com/developers/docs/resources/user#create-dm

Raw Type
-- https://discord.com/developers/docs/resources/user#create-dm
type CreateDMResponse = Response<objects.ChannelObject>

Response<objects.ChannelObject>

CreateGroupDMResponse

https://discord.com/developers/docs/resources/user#create-group-dm

Raw Type
-- https://discord.com/developers/docs/resources/user#create-group-dm
type CreateGroupDMResponse = Response<objects.ChannelObject>

Response<objects.ChannelObject>

GetCurrentUserConnectionResponse

https://discord.com/developers/docs/resources/user#get-current-user-connections

Raw Type
-- https://discord.com/developers/docs/resources/user#get-current-user-connections
type GetCurrentUserConnectionResponse = Response<objects.ConnectionObject>

Response<objects.ConnectionObject>

GetCurrentUserApplicationRoleConnectionResponse

https://discord.com/developers/docs/resources/user#get-current-user-application-role-connection

Raw Type
-- https://discord.com/developers/docs/resources/user#get-current-user-application-role-connection
type GetCurrentUserApplicationRoleConnectionResponse = Response<objects.ApplicationRoleConnectionObject>

Response<objects.ApplicationRoleConnectionObject>

UpdateCurrentUserApplicationRoleConnectionResponse

https://discord.com/developers/docs/resources/user#update-current-user-application-role-connection

Raw Type
-- https://discord.com/developers/docs/resources/user#update-current-user-application-role-connection
type UpdateCurrentUserApplicationRoleConnectionResponse = Response<objects.ApplicationRoleConnectionObject>

Response<objects.ApplicationRoleConnectionObject>

ListVoiceRegionsResponse

https://discord.com/developers/docs/resources/voice

Raw Type
-- https://discord.com/developers/docs/resources/voice
type ListVoiceRegionsResponse = Response<{objects.VoiceRegionObject}>

Response<{objects.VoiceRegionObject}>

CreateWebhookResponse

https://discord.com/developers/docs/resources/webhook#create-webhook

Raw Type
-- https://discord.com/developers/docs/resources/webhook#create-webhook
type CreateWebhookResponse = Response<objects.WebhookObject>

Response<objects.WebhookObject>

GetChannelWebhooksResponse

https://discord.com/developers/docs/resources/webhook#get-channel-webhooks

Raw Type
-- https://discord.com/developers/docs/resources/webhook#get-channel-webhooks
type GetChannelWebhooksResponse = Response<{objects.WebhookObject}>

Response<{objects.WebhookObject}>

GetGuildWebhooksResponse

https://discord.com/developers/docs/resources/webhook#get-guild-webhooks

Raw Type
-- https://discord.com/developers/docs/resources/webhook#get-guild-webhooks
type GetGuildWebhooksResponse = Response<{objects.WebhookObject}>

Response<{objects.WebhookObject}>

GetWebhookResponse

https://discord.com/developers/docs/resources/webhook#get-webhook

Raw Type
-- https://discord.com/developers/docs/resources/webhook#get-webhook
type GetWebhookResponse = Response<objects.WebhookObject>

Response<objects.WebhookObject>

GetWebhookWithTokenResponse

https://discord.com/developers/docs/resources/webhook#get-webhook-with-token

Raw Type
-- https://discord.com/developers/docs/resources/webhook#get-webhook-with-token
type GetWebhookWithTokenResponse = Response<objects.WebhookObject>

Response<objects.WebhookObject>

ModifyWebhookResponse

https://discord.com/developers/docs/resources/webhook#modify-webhook

Raw Type
-- https://discord.com/developers/docs/resources/webhook#modify-webhook
type ModifyWebhookResponse = Response<objects.WebhookObject>

Response<objects.WebhookObject>

ModifyWebhookWithTokenResponse

https://discord.com/developers/docs/resources/webhook#modify-webhook-with-token

Raw Type
-- https://discord.com/developers/docs/resources/webhook#modify-webhook-with-token
type ModifyWebhookWithTokenResponse = Response<objects.WebhookObject>

Response<objects.WebhookObject>

DeleteWebhookResponse

https://discord.com/developers/docs/resources/webhook#delete-webhook

Raw Type
-- https://discord.com/developers/docs/resources/webhook#delete-webhook
type DeleteWebhookResponse = Response<nil>

Response<nil>

DeleteWebhookWitHTokenResponse

https://discord.com/developers/docs/resources/webhook#delete-webhook-with-token

Raw Type
-- https://discord.com/developers/docs/resources/webhook#delete-webhook-with-token
type DeleteWebhookWitHTokenResponse = Response<nil>

Response<nil>

ExecuteWebhookResponse

https://discord.com/developers/docs/resources/webhook#execute-webhook

Raw Type
-- https://discord.com/developers/docs/resources/webhook#execute-webhook
type ExecuteWebhookResponse = Response<objects.MessageObject?>

Response<objects.MessageObject?>

ExecuteSlackCompatibleWebhookResponse

https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook

Raw Type
-- https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook
type ExecuteSlackCompatibleWebhookResponse = Response<unknown>

Response<unknown>

ExecuteGitCompatibleWebhookResponse

https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook

Raw Type
-- https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook
type ExecuteGitCompatibleWebhookResponse = Response<unknown>

Response<unknown>

GetWebhookMessageResponse

https://discord.com/developers/docs/resources/webhook#get-webhook-message

Raw Type
-- https://discord.com/developers/docs/resources/webhook#get-webhook-message
type GetWebhookMessageResponse = Response<objects.MessageObject>

Response<objects.MessageObject>

EditWebhookMessageResponse

https://discord.com/developers/docs/resources/webhook#edit-webhook-message

Raw Type
-- https://discord.com/developers/docs/resources/webhook#edit-webhook-message
type EditWebhookMessageResponse = Response<objects.MessageObject>

Response<objects.MessageObject>

DeleteWebhookMessageResponse

https://discord.com/developers/docs/resources/webhook#delete-webhook-message

Raw Type
-- https://discord.com/developers/docs/resources/webhook#delete-webhook-message
type DeleteWebhookMessageResponse = Response<nil>

Response<nil>

GetGatewayResponse

https://discord.com/developers/docs/topics/gateway#get-gateway

Raw Type
-- https://discord.com/developers/docs/topics/gateway#get-gateway
type GetGatewayResponse = Response<{
	url: string
}>

Response<{url: string}>

GetGatewayBotResponse

https://discord.com/developers/docs/topics/gateway#get-gateway-bot

Raw Type
-- https://discord.com/developers/docs/topics/gateway#get-gateway-bot
type GetGatewayBotResponse = Response<{
	url: string,

	-- WSS URL that can be used for connecting to the Gateway
	shards: number,

	-- Recommended number of shards to use when connecting
	session_start_limit: objects.SessionStartLimitObject
}>

Response<{url: string, shards: number, session_start_limit: objects.SessionStartLimitObject}>

CreateInteractionResponse

https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response

Raw Type
-- https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response
type CreateInteractionResponse = Response<{
	resource: {
		message: objects.MessageObject?
	}
}>

Response<{resource: {message: objects.MessageObject?}}>

GetOriginalInteractionResponse

https://discord.com/developers/docs/interactions/receiving-and-responding#get-original-interaction-response

Raw Type
-- https://discord.com/developers/docs/interactions/receiving-and-responding#get-original-interaction-response
type GetOriginalInteractionResponse = Response<objects.MessageObject>

Response<objects.MessageObject>

EditOriginalInteractionResponse

https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response

Raw Type
-- https://discord.com/developers/docs/interactions/receiving-and-responding#edit-original-interaction-response
type EditOriginalInteractionResponse = Response<objects.MessageObject>

Response<objects.MessageObject>

DeleteOriginalInteractionResponse

https://discord.com/developers/docs/interactions/receiving-and-responding#delete-original-interaction-response

Raw Type
-- https://discord.com/developers/docs/interactions/receiving-and-responding#delete-original-interaction-response
type DeleteOriginalInteractionResponse = Response<nil>

Response<nil>

CreateFollowupMessageResponse

https://discord.com/developers/docs/interactions/receiving-and-responding#create-followup-message

Raw Type
-- https://discord.com/developers/docs/interactions/receiving-and-responding#create-followup-message
type CreateFollowupMessageResponse = Response<objects.MessageObject>

Response<objects.MessageObject>

GetFollowupMessageResponse

https://discord.com/developers/docs/interactions/receiving-and-responding#get-followup-message

Raw Type
-- https://discord.com/developers/docs/interactions/receiving-and-responding#get-followup-message
type GetFollowupMessageResponse = Response<objects.MessageObject>

Response<objects.MessageObject>

EditFollowupMessageResponse

https://discord.com/developers/docs/interactions/receiving-and-responding#edit-followup-message

Raw Type
-- https://discord.com/developers/docs/interactions/receiving-and-responding#edit-followup-message
type EditFollowupMessageResponse = Response<objects.MessageObject>

Response<objects.MessageObject>

DeleteFollowupMessageResponse

https://discord.com/developers/docs/interactions/receiving-and-responding#delete-followup-message

Raw Type
-- https://discord.com/developers/docs/interactions/receiving-and-responding#delete-followup-message
type DeleteFollowupMessageResponse = Response<nil>

Response<nil>

Last updated on

On this page

@discord-types/restTypes
Types
Response
Request
CreateMessageAttachment
CreateInteractionRequest
EditOriginalInteractionRequest
CreateFollowupMessageRequest
EditFollowupMessageRequest
CreateAutoModerationRuleRequest
ModifyAutoModerationRuleRequest
EditCurrentApplicationRequest
ModifyChannelRequest
CreateMessageRequest
EditMessageRequest
CreateChannelInviteRequest
BulkDeleteMessagesRequest
FollowAnnouncementChannelRequest
GroupDMAddRecipientRequest
StartThreadFromMessageRequest
StartThreadWithoutMessageRequest
StartThreadInForumOrMediaChannelRequest
CreateGuildEmojiRequest
ModifyGuildEmojiRequest
CreateGuildRequest
ModifyGuildRequest
CreateGuildChannelRequest
ModifyGuildChannelPositionsRequest
AddGuildMemberRequest
ModifyGuildMemberRequest
ModifyCurrentMemberRequest
CreateGuildBanRequest
BulkGuildBanRequest
CreateGuildRoleRequest
ModifyGuildRolePositionsRequest
ModifyGuildRoleRequest
ModifyGuildMFALevelRequest
BeginGuildPruneRequest
ModifyGuildWelcomeScreenRequest
ModifyGuildOnboardingRequest
ModifyCurrentUserVoiceStateRequest
ModifyUserVoiceStateRequest
CreateGuildScheduledEventRequest
ModifyGuildScheduledEventRequest
CreateGuildFromGuildTemplateRequest
CreateGuildTemplateRequest
ModifyGuildTemplateRequest
CreateStageInstanceRequest
ModifyStageInstanceRequest
CreateGuildStickerRequest
ModifyGuildStickerRequest
ModifyCurrentUserRequest
CreateDMRequest
CreateGroupDMRequest
UpdateCurrentUserApplicationRoleConnectionRequest
CreateWebhookRequest
ModifyWebhookRequest
ExecuteWebhookRequest
ExecuteSlackCompatibleWebhookRequest
ExecuteGithubCompatibleWebhookRequest
EditWebhookMessageRequest
EditChannelPermissionsRequest
ModifyGuildWidgetRequest
CrosspostMessageRequest
CreateGlobalApplicationCommandRequest
EditGlobalApplicationCommandRequest
CreateGuildApplicationCommandRequest
EditGuildApplicationCommandRequest
BulkOverwriteGlobalApplicationCommandsRequest
BulkOverwriteGuildApplicationCommandsRequest
EditApplicationCommandPermissionsRequest
GetCurrentUserVoiceStateResponse
GetUserVoiceStateResponse
GetGlobalApplicationCommandsResponse
CreateGlobalApplicationCommandResponse
GetGlobalApplicationCommandResponse
EditGlobalApplicationCommandResponse
DeleteGlobalApplicationCommandResponse
BulkOverwriteGlobalApplicationCommandsResponse
GetGuildApplicationCommandsResponse
CreateGuildApplicationCommandResponse
GetGuildApplicationCommandResponse
EditGuildApplicationCommandResponse
DeleteGuildApplicationCommandResponse
BulkOverwriteGuildApplicationCommandsResponse
GetGuildApplicationCommandPermissionsResponse
GetApplicationCommandPermissionsResponse
EditApplicationCommandPermissionsResponse
GetCurrentApplicationResponse
EditCurrentApplicationResponse
GetApplicationRoleConnectionMetadataRecordsResponse
UpdateApplicationRoleConnectionMetadataRecordsResponse
GetGuildAuditLogResponse
ListAutoModerationRulesForGuildResponse
GetAutoModerationRuleResponse
CreateAutoModerationRuleResponse
ModifyAutoModerationRuleResponse
DeleteAutoModerationRuleResponse
GetChannelResponse
ModifyChannelResponse
DeleteCloseChannelResponse
GetChannelMessagesResponse
GetChannelMessageResponse
CreateMessageResponse
CrosspostMessageResponse
CreateReactionResponse
DeleteOwnReactionResponse
DeleteUserReactionResponse
GetReactionsResponse
DeleteAllReactionsResponse
DeleteAllReactionsForEmojiResponse
EditMessageResponse
DeleteMessageResponse
BulkDeleteMessageResponse
EditChannelPermissionsResponse
GetChannelInvitesResponse
CreateChannelInviteResponse
DeleteChannelPermissionResponse
FollowAnnouncementChannelResponse
TriggerTypingIndicatorResponse
GetPinnedMessagesResponse
PinMessageResponse
UnpinMessageResponse
GroupDMAddRecipientResponse
GroupDMRemoveRecipientResponse
StartThreadFromMessageResponse
StartThreadWithoutMessageResponse
StartThreadInForumOrMediaChannelResponse
JoinThreadResponse
AddThreadMemberResponse
LeaveThreadResponse
RemoveThreadMemberResponse
GetThreadMemberResponse
ListThreadMembersResponse
ListPublicArchivedThreadsResponse
ListPrivateArchivedThreadsResponse
ListJoinedPrivateArchivedThreadsResponse
ListGuildEmojisResponse
GetGuildEmojiResponse
CreateGuildEmojiResponse
ModifyGuildEmojiResponse
DeleteGuildEmojiResponse
CreateGuildResponse
GetGuildResponse
GetGuildPreviewResponse
ModifyGuildResponse
DeleteGuildResponse
GetGuildChannelsResponse
CreateGuildChannelResponse
ModifyGuildChannelPositionsResponse
ListActiveGuildThreadsResponse
GetGuildMemberResponse
ListGuildMembersResponse
SearchGuildMembersResponse
AddGuildMemberResponse
ModifyGuildMemberResponse
ModifyCurrentMemberResponse
AddGuildMemberRoleResponse
RemoveGuildMemberRoleResponse
RemoveGuildMemberResponse
GetGuildBansResponse
GetGuildBanResponse
CreateGuildBanResponse
RemoveGuildBanResponse
BulkGuildBanResponse
GetGuildRolesResponse
GetGuildRoleResponse
CreateGuildRoleResponse
ModifyGuildRolePositionsResponse
ModifyGuildRoleResponse
ModifyGuildMFALevelResponse
DeleteGuildRoleResponse
GetGuildPruneCountResponse
BeginGuildPruneResponse
GetGuildVoiceRegionsResponse
GetGuildInvitesResponse
GetGuildIntegrationsResponse
DeleteGuildIntegrationResponse
GetGuildWidgetSettingsResponse
ModifyGuildWidgetResponse
GetGuildWidgetResponse
GetGuildVanityUrlResponse
GetGuildWidgetImageResponse
GetGuildWelcomeScreenResponse
ModifyGuildWelcomeScreenResponse
GetGuildOnboardingResponse
ModifyGuildOnboardingResponse
ModifyCurrentUserVoiceStateResponse
ModifyUserVoiceStateResponse
ListScheduledEventsForGuildResponse
CreateGuildScheduledEventResponse
GetGuildScheduledEventResponse
ModifyGuildScheduledEventResponse
DeleteGuildScheduledEventResponse
GetGuildScheduledEventUsersResponse
GetGuildTemplateResponse
CreateGuildFromGuildTemplateResponse
GetGuildTemplatesResponse
CreateGuildTemplateResponse
SyncGuildTemplateResponse
ModifyGuildTemplateResponse
DeleteGuildTemplateResponse
GetInviteResponse
DeleteInviteResponse
GetAnswerVotersResponse
EndPollResponse
CreateStageInstanceResponse
GetStageInstanceResponse
ModifyStageInstanceResponse
DeleteStageInstanceResponse
GetStickerResponse
ListStickerPacksResponse
ListGuildStickersResponse
GetGuildStickerResponse
CreateGuildStickerResponse
ModifyGuildStickerResponse
DeleteGuildStickerResponse
GetCurrentUserResponse
GetUserResponse
ModifyCurrentUserResponse
GetCurrentUserGuildsResponse
GetCurrentUserGuildMemberResponse
LeaveGuildResponse
CreateDMResponse
CreateGroupDMResponse
GetCurrentUserConnectionResponse
GetCurrentUserApplicationRoleConnectionResponse
UpdateCurrentUserApplicationRoleConnectionResponse
ListVoiceRegionsResponse
CreateWebhookResponse
GetChannelWebhooksResponse
GetGuildWebhooksResponse
GetWebhookResponse
GetWebhookWithTokenResponse
ModifyWebhookResponse
ModifyWebhookWithTokenResponse
DeleteWebhookResponse
DeleteWebhookWitHTokenResponse
ExecuteWebhookResponse
ExecuteSlackCompatibleWebhookResponse
ExecuteGitCompatibleWebhookResponse
GetWebhookMessageResponse
EditWebhookMessageResponse
DeleteWebhookMessageResponse
GetGatewayResponse
GetGatewayBotResponse
CreateInteractionResponse
GetOriginalInteractionResponse
EditOriginalInteractionResponse
DeleteOriginalInteractionResponse
CreateFollowupMessageResponse
GetFollowupMessageResponse
EditFollowupMessageResponse
DeleteFollowupMessageResponse