Show / Hide Table of Contents

# Namespace Discord

### Classes

#### AddGuildUserProperties

Properties that are used to add a new IGuildUser to the guild with the following parameters.

#### AsyncEnumerableExtensions

An extension class for squashing System.Collections.Generic.IAsyncEnumerable<T>.

#### Attachment

Represents a message attachment found in a IUserMessage.

#### AttachmentExtensions

#### CDN

Represents a class containing the strings related to various Content Delivery Networks (CDNs).

#### CustomStatusGame

A user's activity for their custom status.

#### DiscordClientExtensions

An extension class for the Discord client.

#### DiscordComparers

Represents a collection of System.Collections.Generic.IEqualityComparer<T> for various Discord objects.

#### DiscordConfig

Defines various behaviors of Discord.Net.

#### Embed

Represents an embed object seen in an IUserMessage.

#### EmbedAuthorBuilder

Represents a builder class for a author field.

#### EmbedBuilder

Represents a builder class for creating a Rich Embed.

#### EmbedBuilderExtensions

An extension class for building an embed.

#### EmbedFieldBuilder

Represents a builder class for an embed field.

#### EmbedFooterBuilder

Represents a builder class for an embed footer.

#### Emoji

A Unicode emoji.

#### Emote

A custom image-based emote.

#### EmoteProperties

Provides properties that are used to modify an Emote with the specified changes.

#### Format

A helper class for formatting characters.

#### Game

A user's game status.

#### GameAsset

An asset for a RichGame object containing the text and image.

#### GameParty

Party information for a RichGame object.

#### GameSecrets

Party secret for a RichGame object.

#### GameTimestamps

Timestamps for a RichGame object.

#### GuildChannelProperties

Properties that are used to modify an IGuildChannel with the specified changes.

#### GuildEmbedProperties

Provides properties that are used to modify the widget of an IGuild with the specified changes.

#### GuildEmote

An image-based emote that is attached to a guild.

#### GuildExtensions

An extension class for IGuild.

#### GuildIntegrationProperties

Provides properties used to modify an IGuildIntegration with the specified changes.

#### GuildProperties

Provides properties that are used to modify an IGuild with the specified changes.

#### GuildUserProperties

Properties that are used to modify an IGuildUser with the following parameters.

#### MentionUtils

Provides a series of helper methods for parsing mentions.

#### MessageActivity

An activity object found in a sent message.

#### MessageApplication

#### MessageExtensions

Provides extension methods for IMessage.

#### MessageProperties

Properties that are used to modify an IUserMessage with the specified changes.

#### MessageReference

Contains the IDs sent from a crossposted message.

#### Optional

#### ReorderChannelProperties

Provides properties that are used to reorder an IGuildChannel.

#### ReorderRoleProperties

Properties that are used to reorder an IRole.

#### RequestOptions

Represents options that should be used when sending a request.

#### RichGame

A user's Rich Presence status.

#### RoleProperties

Properties that are used to modify an IRole with the specified changes.

#### SelfUserProperties

Properties that are used to modify the ISelfUser with the specified changes.

#### SnowflakeUtils

Provides a series of helper methods for handling snowflake identifiers.

#### SpotifyGame

A user's activity for listening to a song on Spotify.

#### StreamingGame

A user's activity for streaming on services such as Twitch.

#### Tag<T>

#### TextChannelProperties

Provides properties that are used to modify an ITextChannel with the specified changes.

#### TokenUtils

Provides a series of helper methods for handling Discord login tokens.

#### UserExtensions

An extension class for various Discord user objects.

#### VoiceChannelProperties

Provides properties that are used to modify an IVoiceChannel with the specified changes.

#### WebhookProperties

Properties used to modify an IWebhook with the specified changes.

### Structs

#### Cacheable<TEntity, TId>

Represents a cached entity.

#### ChannelPermissions

#### Color

Represents a color used in Discord.

#### EmbedAuthor

A author field of an Embed.

#### EmbedField

A field for an Embed.

#### EmbedFooter

A footer field for an Embed.

#### EmbedImage

An image for an Embed.

#### EmbedProvider

A provider field for an Embed.

#### EmbedThumbnail

A thumbnail featured in an Embed.

#### EmbedVideo

A video featured in an Embed.

#### GuildPermissions

#### Image

An image that will be uploaded to Discord.

#### IntegrationAccount

#### LogMessage

Provides a message object used for logging purposes.

#### Optional<T>

#### Overwrite

Represent a permission object.

#### OverwritePermissions

Represents a container for a series of overwrite permissions.

#### ReactionMetadata

A metadata containing reaction information.

### Interfaces

#### IActivity

A user's activity status, typically a Game.

#### IApplication

Represents a Discord application created via the developer portal.

#### IAttachment

Represents a message attachment found in a IUserMessage.

#### IAudioChannel

Represents a generic audio channel.

#### IAuditLogData

Represents data applied to an IAuditLogEntry.

#### IAuditLogEntry

Represents a generic audit log entry.

#### IBan

Represents a generic ban object.

#### ICategoryChannel

Represents a generic category channel.

#### IChannel

Represents a generic channel.

#### IConnection

#### IDeletable

Determines whether the object is deletable or not.

#### IDiscordClient

Represents a generic Discord client.

#### IDMChannel

Represents a generic direct-message channel.

#### IEmbed

Represents a Discord embed object.

#### IEmote

Represents a general container for any type of emote in a message.

#### IEntity<TId>

#### IGroupChannel

Represents a generic private group channel.

#### IGroupUser

Represents a Discord user that is in a group.

#### IGuild

Represents a generic guild/server.

#### IGuildChannel

Represents a generic guild channel.

#### IGuildIntegration

Holds information for a guild integration feature.

#### IGuildUser

Represents a generic guild user.

#### IInvite

Represents a generic invite object.

#### IInviteMetadata

Represents additional information regarding the generic invite object.

#### IMentionable

Determines whether the object is mentionable or not.

#### IMessage

Represents a message object.

#### IMessageChannel

Represents a generic channel that can send and receive messages.

#### INestedChannel

Represents a type of guild channel that can be nested within a category.

#### IPresence

Represents the user's presence status. This may include their online status and their activity.

#### IPrivateChannel

Represents a generic channel that is private to select recipients.

#### IReaction

Represents a generic reaction object.

#### IRole

Represents a generic role object to be given to a guild user.

#### ISelfUser

Represents the logged-in Discord user.

#### ISnowflakeEntity

Represents a Discord snowflake entity.

#### ISystemMessage

Represents a generic message sent by the system.

#### ITag

#### ITextChannel

Represents a generic channel in a guild that can send and receive messages.

#### IUpdateable

Defines whether the object is updateable or not.

#### IUser

Represents a generic user.

#### IUserGuild

#### IUserMessage

Represents a generic message sent by a user.

#### IVoiceChannel

Represents a generic voice channel in a guild.

#### IVoiceRegion

Represents a region of which the user connects to when using voice.

#### IVoiceState

Represents a user's voice connection status.

#### IWebhook

Represents a webhook object on Discord.

#### IWebhookUser

Represents a Webhook Discord user.

### Enums

#### ActionType

Representing a type of action within an IAuditLogEntry.

#### ActivityProperties

Flags for the Flags property, that are ORd together. These describe what the activity payload includes.

#### ActivityType

Specifies a Discord user's activity type.

#### CacheMode

Specifies the cache mode that should be used.

#### ChannelPermission

Defines the available permissions for a channel.

#### ChannelType

Defines the types of channels.

#### ClientType

Defines the types of clients a user can be active on.

#### ConnectionState

Specifies the connection state of a client.

#### DefaultMessageNotifications

Specifies the default message notification behavior the guild uses.

#### Direction

Specifies the direction of where message(s) should be retrieved from.

#### EmbedType

Specifies the type of embed.

#### ExplicitContentFilterLevel

#### GuildPermission

Defines the available permissions for a channel.

#### ImageFormat

Specifies the type of format the image should return in.

#### LoginState

Specifies the state of the client's login status.

#### LogSeverity

Specifies the severity of the log message.

#### MessageActivityType

#### MessageSource

Specifies the source of the Discord message.

#### MessageType

Specifies the type of message.

#### MfaLevel

Specifies the guild's Multi-Factor Authentication (MFA) level requirement.

#### PermissionTarget

Specifies the target of the permission.

#### PermValue

Specifies the permission value.

#### PremiumTier

#### PremiumType

Specifies the type of subscription a user is subscribed to.

#### RateLimitPrecision

Specifies the level of precision to request in the rate limit response header.

#### RetryMode

Specifies how a request should act in the case of an error.

#### SystemChannelMessageDeny

#### TagHandling

Specifies the handling type the tag should use.

#### TagType

Specifies the type of Discord tag.

#### TokenType

Specifies the type of token to use with the client.

#### UserProperties

#### UserStatus

Defines the available Discord user status.

#### VerificationLevel

Specifies the verification level the guild uses.

#### WebhookType

Represents the type of a webhook.