Interface IDiscordEmbedAuthor
Represents a discord Embed Author Structure API model. Docs: https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure
Namespace: Color_Chan.Discord.Core.Common.Models.Embed
Assembly: Color-Chan.Discord.Core.dll
Syntax
public interface IDiscordEmbedAuthor
Properties
| Improve this Doc View SourceIconUrl
Url of author icon (only supports http(s) and attachments).
Declaration
string IconUrl { get; set; }
Property Value
Type | Description |
---|---|
String |
Name
Name of author.
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
ProxyIconUrl
A proxied url of author icon.
Declaration
string ProxyIconUrl { get; set; }
Property Value
Type | Description |
---|---|
String |
Url
Url of author.
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
DiscordEmbedAuthorData ToDataModel()
Returns
Type | Description |
---|---|
DiscordEmbedAuthorData | The converted DiscordEmbedAuthorData. |