VOOZH about

URL: https://www.nuget.org/packages/Remora.Discord.API/

⇱ NuGet Gallery | Remora.Discord.API 80.0.0




👁 Image
Remora.Discord.API 80.0.0

Prefix Reserved
dotnet add package Remora.Discord.API --version 80.0.0
 
 
NuGet\Install-Package Remora.Discord.API -Version 80.0.0
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Remora.Discord.API" Version="80.0.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Remora.Discord.API" Version="80.0.0" />
 
Directory.Packages.props
<PackageReference Include="Remora.Discord.API" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Remora.Discord.API --version 80.0.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Remora.Discord.API, 80.0.0"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Remora.Discord.API@80.0.0
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Remora.Discord.API&version=80.0.0
 
Install as a Cake Addin
#tool nuget:?package=Remora.Discord.API&version=80.0.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Remora.Discord.API

This package contains the implementation of Discord's API interface models, provided by Remora.Discord.API.Abstractions.

Primarily, this project takes the completely agnostic interfaces and applies additional, domain-specific knowledge to them, such as serialization formats and data range validations.

Like its sibling, these types serve as the foundation of Remora.Discord's internal implementation, but can just as easily be used to implement your own Discord library.

The primary goal of this project is to provide a concrete implementation of Discord's API types, including data object de/serialization and externally imposed limitations.

Structure

The library mostly mirrors Remora.Discord.API.Abstractions in structure, maintaining an implementation of each corresponding API object interface. The implementations are records, enabling thread-safe usage across as many concurrent actors as needed.

The Json folder contains various converters to handle cases where the default behaviour (from Remora.Rest) is not appropriate, or the type is too complex to realistically deserialize without special treatment.

There are also some helper types for accessing CDN assets, checking image formats, and storing Discord-provided constant values.

Usage

Beyond the concrete implementations of Discord's objects, the library provides a single extension method for the IServiceCollection type.

services.ConfigureDiscordJsonConverters();

This method will add a named set of JsonSerializerOptions with all appropriate JSON converters for the various API, objects along with configuring naming rules.

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 netstandard2.1 is compatible. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Remora.Discord.API:

Package Downloads
Remora.Discord.Rest

Remora.Discord's implementation of Discord's REST API

Remora.Discord.Extensions

Utilities and components which extend upon Remora.Discord's base resources

Remora.Discord.Unstable

Unstable or experimental features of Remora.Discord.

VTP.Remora.Views

A (currently POC) library to implement views (e.g. MVC) into the Remora.Discord library.

VTP.Remora.Discord.Builders

Adds builders to make Remora.Discord slightly easier to use.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
80.0.0 38,174 5/24/2025
79.0.0 15,620 2/13/2025
78.0.0 51,110 5/28/2024
77.0.0 26,775 2/5/2024
76.0.0 48,088 11/14/2023
75.0.0 30,802 7/24/2023
74.0.0 19,978 5/11/2023
73.0.0 3,773 3/20/2023
72.0.0 4,314 1/19/2023
71.0.0 3,703 1/10/2023
70.0.0 4,070 12/28/2022
69.0.0 6,952 12/10/2022
68.0.0 5,339 10/30/2022
67.0.0 22,212 9/2/2022
66.0.0 5,382 8/19/2022
65.0.0 11,538 7/26/2022
64.0.0 9,199 6/29/2022
63.0.0 5,103 6/27/2022
62.0.1 5,764 6/23/2022
62.0.0 9,526 6/19/2022
Loading failed

BREAKING: Components V2 support