Interface IDiscordEmbedProvider
Represents a discord Embed Provider Structure API model. Docs: https://discord.com/developers/docs/resources/channel#embed-object-embed-provider-structure
Namespace: Color_Chan.Discord.Core.Common.Models.Embed
Assembly: Color-Chan.Discord.Core.dll
Syntax
public interface IDiscordEmbedProvider
Properties
| Improve this Doc View SourceName
Name of provider.
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Url
Url of provider.
Declaration
string Url { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceToDataModel()
Converts the model back to a discord data model so that it can be send to discord.
Declaration
DiscordEmbedProviderData ToDataModel()
Returns
Type | Description |
---|---|
DiscordEmbedProviderData | The converted DiscordEmbedProviderData. |