Skip to main content

Namespace Discord.WebSocket

Classes​

BaseSocketClient​

Represents the base of a WebSocket-based Discord client.

DiscordShardedClient​

DiscordSocketClient​

Represents a WebSocket-based Discord client.

DiscordSocketConfig​

Represents a configuration class for Discord.WebSocket.DiscordSocketClient.

DiscordSocketRestClient​

GatewayReconnectException​

The exception thrown when the gateway client has been requested to reconnect.

SocketApplicationCommand​

Represents a Websocket-based Discord.IApplicationCommand.

SocketApplicationCommandChoice​

Represents a choice for a Discord.WebSocket.SocketApplicationCommandOption.

SocketApplicationCommandOption​

Represents an option for a Discord.WebSocket.SocketApplicationCommand.

SocketAutocompleteInteraction​

Represents a Discord.InteractionType.ApplicationCommandAutocomplete received over the gateway.

SocketAutocompleteInteractionData​

Represents data for a slash commands autocomplete interaction.

SocketCategoryChannel​

Represents a WebSocket-based category channel.

SocketChannel​

Represents a WebSocket-based channel.

SocketCommandBase​

Base class for User, Message, and Slash command interactions.

SocketCommandBaseData​

Represents the base data tied with the Discord.WebSocket.SocketCommandBase interaction.

SocketCommandBaseData<TOption>​

Represents the base data tied with the Discord.WebSocket.SocketCommandBase interaction.

SocketCustomSticker​

Represents a custom sticker within a guild received over the gateway.

SocketDMChannel​

Represents a WebSocket-based direct-message channel.

SocketEntity<T>​

SocketGroupChannel​

Represents a WebSocket-based private group channel.

SocketGroupUser​

Represents a WebSocket-based group user.

SocketGuild​

Represents a WebSocket-based guild object.

SocketGuildChannel​

Represents a WebSocket-based guild channel.

SocketGuildEvent​

Represents a WebSocket-based guild event.

SocketGuildUser​

Represents a WebSocket-based guild user.

SocketInteraction​

Represents an Interaction received over the gateway.

SocketInvite​

Represents a WebSocket-based invite to a guild.

SocketMessage​

Represents a WebSocket-based message.

SocketMessageCommand​

Represents a Websocket-based slash command received over the gateway.

SocketMessageCommandData​

Represents the data tied with the Discord.WebSocket.SocketMessageCommand interaction.

SocketMessageComponent​

Represents a Websocket-based interaction type for Message Components.

SocketMessageComponentData​

Represents the data sent with a Discord.InteractionType.MessageComponent.

SocketNewsChannel​

Represents a WebSocket-based news channel in a guild that has the same properties as a Discord.WebSocket.SocketTextChannel.

SocketPresence​

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

SocketReaction​

Represents a WebSocket-based reaction object.

SocketRole​

Represents a WebSocket-based role to be given to a guild user.

SocketSelfUser​

Represents the logged-in WebSocket-based user.

SocketSlashCommand​

Represents a Websocket-based slash command received over the gateway.

SocketSlashCommandData​

Represents the data tied with the Discord.WebSocket.SocketSlashCommand interaction.

SocketSlashCommandDataOption​

Represents a Websocket-based Discord.IApplicationCommandInteractionDataOption received by the gateway.

SocketStageChannel​

Represents a stage channel received over the gateway.

SocketSticker​

Represents a general sticker received over the gateway.

SocketSystemMessage​

Represents a WebSocket-based message sent by the system.

SocketTextChannel​

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

SocketThreadChannel​

Represents a thread channel inside of a guild.

SocketThreadUser​

Represents a thread user received over the gateway.

SocketUnknownSticker​

Represents an unknown sticker received over the gateway.

SocketUnknownUser​

Represents a WebSocket-based user that is yet to be recognized by the client.

SocketUser​

Represents a WebSocket-based user.

SocketUserCommand​

Represents a Websocket-based slash command received over the gateway.

SocketUserCommandData​

Represents the data tied with the Discord.WebSocket.SocketUserCommand interaction.

SocketUserMessage​

Represents a WebSocket-based message sent by a user.

SocketVoiceChannel​

Represents a WebSocket-based voice channel in a guild.

SocketVoiceServer​

Represents a WebSocket-based voice server.

SocketWebhookUser​

Represents a WebSocket-based webhook user.

Structs​

SocketVoiceState​

Represents a WebSocket user's voice connection status.

Interfaces​

ISocketAudioChannel​

Represents a generic WebSocket-based audio channel.

ISocketMessageChannel​

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

ISocketPrivateChannel​

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