Skip to main content

Namespace Discord.Rest

Classes​

BadSignatureException​

BanAuditLogData​

Contains a piece of audit log data related to a ban.

BaseDiscordClient​

BotAddAuditLogData​

Contains a piece of audit log data related to a adding a bot to a guild.

ChannelCreateAuditLogData​

Contains a piece of audit log data related to a channel creation.

ChannelDeleteAuditLogData​

Contains a piece of audit log data related to a channel deletion.

ChannelUpdateAuditLogData​

Contains a piece of audit log data related to a channel update.

ClientExtensions​

CustomSticker​

Represents a Rest-based custom sticker within a guild.

DiscordRestClient​

Provides a client to send REST-based requests to Discord.

DiscordRestConfig​

Represents a configuration class for Discord.Rest.DiscordRestClient.

EmoteCreateAuditLogData​

Contains a piece of audit log data related to an emoji creation.

EmoteDeleteAuditLogData​

Contains a piece of audit log data related to an emoji deletion.

EmoteUpdateAuditLogData​

Contains a piece of audit log data related to an emoji update.

GuildUpdateAuditLogData​

Contains a piece of audit log data related to a guild update.

InviteCreateAuditLogData​

Contains a piece of audit log data related to an invite creation.

InviteDeleteAuditLogData​

Contains a piece of audit log data related to an invite removal.

InviteUpdateAuditLogData​

Contains a piece of audit log data relating to an invite update.

KickAuditLogData​

Contains a piece of audit log data related to a kick.

MemberDisconnectAuditLogData​

Contains a piece of audit log data related to disconnecting members from voice channels.

MemberMoveAuditLogData​

Contains a piece of audit log data related to moving members between voice channels.

MemberRoleAuditLogData​

Contains a piece of audit log data related to a change in a guild member's roles.

MemberUpdateAuditLogData​

Contains a piece of audit log data related to a change in a guild member.

MessageBulkDeleteAuditLogData​

Contains a piece of audit log data related to message deletion(s).

MessageDeleteAuditLogData​

Contains a piece of audit log data related to message deletion(s).

MessagePinAuditLogData​

Contains a piece of audit log data related to a pinned message.

MessageUnpinAuditLogData​

Contains a piece of audit log data related to an unpinned message.

OverwriteCreateAuditLogData​

Contains a piece of audit log data for a permissions overwrite creation.

OverwriteDeleteAuditLogData​

Contains a piece of audit log data related to the deletion of a permission overwrite.

OverwriteUpdateAuditLogData​

Contains a piece of audit log data related to the update of a permission overwrite.

PruneAuditLogData​

Contains a piece of audit log data related to a guild prune.

RestApplication​

Represents a REST-based entity that contains information about a Discord application created via the developer portal.

RestApplicationCommand​

Represents a Rest-based implementation of the Discord.IApplicationCommand.

RestApplicationCommandChoice​

Represents a Rest-based implementation of Discord.IApplicationCommandOptionChoice.

RestApplicationCommandOption​

Represents a Rest-based implementation of Discord.IApplicationCommandOption.

RestAuditLogEntry​

Represents a REST-based audit log entry.

RestAutocompleteInteraction​

Represents a REST-based autocomplete interaction.

RestAutocompleteInteractionData​

Represents the data for a Discord.Rest.RestAutocompleteInteraction.

RestBan​

Represents a REST-based ban object.

RestCategoryChannel​

Represents a REST-based category channel.

RestChannel​

Represents a generic REST-based channel.

RestCommandBase​

Represents a REST-based base command interaction.

RestCommandBaseData​

Represents the base data tied with the Discord.Rest.RestCommandBase interaction.

RestCommandBaseData<TOption>​

Represents the base data tied with the Discord.Rest.RestCommandBase interaction.

RestConnection​

RestDMChannel​

Represents a REST-based direct-message channel.

RestEntity<T>​

RestFollowupMessage​

Represents a REST-based follow up message sent by a bot responding to a slash command.

RestGlobalCommand​

Represents a Rest-based global application command.

RestGroupChannel​

Represents a REST-based group-message channel.

RestGroupUser​

Represents a REST-based group user.

RestGuild​

Represents a REST-based guild/server.

RestGuildChannel​

Represents a private REST-based group channel.

RestGuildCommand​

Represents a Rest-based guild application command.

RestGuildEvent​

RestGuildIntegration​

RestGuildUser​

Represents a REST-based guild user.

RestInteraction​

Represents a REST-based interaction.

RestInteractionMessage​

Represents the initial REST-based response to a slash command.

RestInvite​

RestInviteMetadata​

Represents additional information regarding the REST-based invite object.

RestMessage​

Represents a REST-based message.

RestMessageCommand​

Represents a REST-based message command interaction.

RestMessageCommandData​

Represents the data for a Discord.Rest.RestMessageCommand.

RestMessageComponentData​

Represents data for a Discord.Rest.RestMessageComponent.

RestNewsChannel​

Represents a REST-based news channel in a guild that has the same properties as a Discord.Rest.RestTextChannel.

RestPingInteraction​

Represents a REST-based ping interaction.

RestReaction​

Represents a REST reaction object.

RestRole​

Represents a REST-based role.

RestSelfUser​

Represents the logged-in REST-based user.

RestSlashCommand​

Represents a REST-based slash command.

RestSlashCommandData​

RestSlashCommandDataOption​

Represents a REST-based option for a slash command.

RestStageChannel​

Represents a REST-based stage channel in a guild.

RestSystemMessage​

Represents a REST-based system message.

RestTeam​

RestTeamMember​

RestTextChannel​

Represents a REST-based channel in a guild that can send and receive messages.

RestThreadChannel​

Represents a thread channel received over REST.

RestThreadUser​

Represents a thread user received over the REST api.

RestUser​

Represents a REST-based user.

RestUserCommand​

Represents a REST-based user command.

RestUserCommandData​

Represents the data for a Discord.Rest.RestUserCommand.

RestUserGuild​

RestUserMessage​

Represents a REST-based message sent by a user.

RestVoiceChannel​

Represents a REST-based voice channel in a guild.

RestVoiceRegion​

Represents a REST-based voice region.

RestWebhook​

RestWebhookUser​

RoleCreateAuditLogData​

Contains a piece of audit log data related to a role creation.

RoleDeleteAuditLogData​

Contains a piece of audit log data relating to a role deletion.

RoleUpdateAuditLogData​

Contains a piece of audit log data related to a role update.

StageInfo​

Represents information for a stage.

StageInstanceCreateAuditLogData​

Contains a piece of audit log data related to a stage going live.

StageInstanceDeleteAuditLogData​

Contains a piece of audit log data related to a stage instance deleted.

StageInstanceUpdatedAuditLogData​

Contains a piece of audit log data related to a stage instance update.

Sticker​

Represents a discord sticker.

StickerItem​

Represents a partial sticker received in a message.

UnbanAuditLogData​

Contains a piece of audit log data related to an unban.

WebhookCreateAuditLogData​

Contains a piece of audit log data related to a webhook creation.

WebhookDeleteAuditLogData​

Contains a piece of audit log data related to a webhook deletion.

WebhookUpdateAuditLogData​

Contains a piece of audit log data related to a webhook update.

Structs​

ChannelInfo​

Represents information for a channel.

GuildInfo​

Represents information for a guild.

InviteInfo​

Represents information for an invite.

MemberInfo​

Represents information for a member.

MemberRoleEditInfo​

An information object representing a change in one of a guild member's roles.

RestGuildWidget​

RoleEditInfo​

Represents information for a role edit.

WebhookInfo​

Represents information for a webhook.

Interfaces​

IRestAudioChannel​

IRestMessageChannel​

Represents a REST-based channel that can send and receive messages.

IRestPrivateChannel​

Represents a REST-based channel that is private to select recipients.