Table of Contents

Namespace Discord.Rest

Classes

AutoModBlockedMessageAuditLogData

Contains a piece of audit log data related to message getting blocked by automod.

AutoModFlaggedMessageAuditLogData

Contains a piece of audit log data related to message getting flagged by automod.

AutoModRuleCreatedAuditLogData

Contains a piece of audit log data related to an auto moderation rule creation.

AutoModRuleDeletedAuditLogData

Contains a piece of audit log data related to an auto moderation rule removal.

AutoModRuleInfo

Represents information for an auto moderation rule.

AutoModRuleUpdatedAuditLogData

Contains a piece of audit log data related to an auto moderation rule update.

AutoModTimeoutUserAuditLogData

Contains a piece of audit log data related to user getting in timeout by automod.

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
CommandPermissionUpdateAuditLogData

Contains a piece of audit log data related to an application command permission update.

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 DiscordRestClient.

EmbedBuilderUtils
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.

IntegrationCreatedAuditLogData

Contains a piece of audit log data related to an integration authorization.

IntegrationDeletedAuditLogData

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

IntegrationInfo

Represents information for an integration.

IntegrationUpdatedAuditLogData

Contains a piece of audit log data related to an integration 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.

OnboardingInfo
OnboardingPromptCreatedAuditLogData

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

OnboardingPromptInfo
OnboardingPromptUpdatedAuditLogData

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

OnboardingUpdatedAuditLogData

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

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 IApplicationCommand.

RestApplicationCommandChoice

Represents a Rest-based implementation of IApplicationCommandOptionChoice.

RestApplicationCommandOption

Represents a Rest-based implementation of IApplicationCommandOption.

RestAuditLogEntry

Represents a REST-based audit log entry.

RestAutoModRule
RestAutocompleteInteraction

Represents a REST-based autocomplete interaction.

RestAutocompleteInteractionData

Represents the data for a 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 RestCommandBase interaction.

RestCommandBaseData<TOption>

Represents the base data tied with the RestCommandBase interaction.

RestConnection
RestDMChannel

Represents a REST-based direct-message channel.

RestEntitlement
RestEntity<T>
RestExtensions
RestFollowupMessage

Represents a REST-based follow up message sent by a bot responding to an interaction.

RestForumChannel

Represents a REST-based forum channel in a guild.

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
RestGuildOnboarding

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

RestGuildOnboardingPrompt

Represents the guild onboarding prompt.

RestGuildOnboardingPromptOption

Represents the guild onboarding prompt option.

RestGuildUser

Represents a REST-based guild user.

RestIntegration

Represents a Rest-based implementation of IIntegration.

RestIntegrationAccount

Represents a Rest-based implementation of IIntegrationAccount.

RestIntegrationApplication

Represents a Rest-based implementation of IIntegrationApplication.

RestInteraction

Represents a REST-based interaction.

RestInteractionContext

Represents a Rest based context of an IDiscordInteraction.

RestInteractionContext<TInteraction>

Represents a Rest based context of an IDiscordInteraction.

RestInteractionMessage

Represents the initial REST-based response to an interaction.

RestInvite
RestInviteMetadata

Represents additional information regarding the REST-based invite object.

RestMediaChannel
RestMessage

Represents a REST-based message.

RestMessageCommand

Represents a REST-based message command interaction.

RestMessageCommandData

Represents the data for a RestMessageCommand.

RestMessageComponent

Represents a REST-based message component.

RestMessageComponentData

Represents data for a RestMessageComponent.

RestModal

Represents a user submitted Modal.

RestModalData

Represents data sent from a ModalSubmit Interaction.

RestNewsChannel

Represents a REST-based news channel in a guild that has the same properties as a 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.

RestSubscription

Represents an application subscription.

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 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.

ScheduledEventCreateAuditLogData

Contains a piece of audit log data related to a scheduled event creation.

ScheduledEventDeleteAuditLogData

Contains a piece of audit log data related to a scheduled event deletion.

ScheduledEventInfo

Represents information for a scheduled event.

ScheduledEventUpdateAuditLogData

Contains a piece of audit log data related to a scheduled event updates.

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.

StickerCreatedAuditLogData

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

StickerDeletedAuditLogData

Contains a piece of audit log data related to a sticker removal.

StickerInfo

Represents information for a guild.

StickerItem

Represents a partial sticker received in a message.

StickerUpdatedAuditLogData

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

StringExtensions

Responsible for formatting certain entities as Json string, to reuse later on.

ThreadCreateAuditLogData

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

ThreadDeleteAuditLogData

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

ThreadInfo

Represents information for a thread.

ThreadUpdateAuditLogData

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

UnbanAuditLogData

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

VoiceChannelStatusDeletedAuditLogData

Contains a piece of audit log data related to a voice channel status delete.

VoiceChannelStatusUpdateAuditLogData

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

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.

InteractionProperties

Represents a class that contains data present in all interactions to evaluate against at rest-interaction creation.

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
IRestClientProvider

An interface that represents a client provider for Rest-based clients.

IRestMessageChannel

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

IRestPrivateChannel

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