Struct DiscordUri
- Namespace
- DSharpPlus.Net
- Assembly
- DSharpPlus.dll
An URI in a Discord embed doesn't necessarily conform to the RFC 3986. If it uses the attachment://
protocol, it mustn't contain a trailing slash to be interpreted correctly as an embed attachment reference by
Discord.
[JsonConverter(typeof(DiscordUri.DiscordUriJsonConverter))]
public readonly record struct DiscordUri
Properties
- Type
The type of this URI.
Methods
- ToString()
Returns a string representation of this DiscordUri.