Class DiscordEmbedFooter
Represents a discord Embed Footer Structure API model. Docs: https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure
Inheritance
System.Object
DiscordEmbedFooter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Color_Chan.Discord.Rest.Models.Embed
Assembly: Color-Chan.Discord.Rest.dll
Syntax
public class DiscordEmbedFooter : IDiscordEmbedFooter, IEquatable<DiscordEmbedFooter>
Constructors
| Improve this Doc View SourceDiscordEmbedFooter()
Initializes a new DiscordEmbedFooter
Declaration
public DiscordEmbedFooter()
DiscordEmbedFooter(DiscordEmbedFooterData)
Initializes a new DiscordEmbedFooter
Declaration
public DiscordEmbedFooter(DiscordEmbedFooterData data)
Parameters
Type | Name | Description |
---|---|---|
DiscordEmbedFooterData | data | The data needed to create the DiscordEmbedFooter. |
Properties
| Improve this Doc View SourceIconUrl
Url of footer icon (only supports http(s) and attachments).
Declaration
public string IconUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProxyIconUrl
A proxied url of footer icon.
Declaration
public string ProxyIconUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Text
Footer text.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.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
public DiscordEmbedFooterData ToDataModel()
Returns
Type | Description |
---|---|
DiscordEmbedFooterData | The converted DiscordEmbedFooterData. |
Implements
System.IEquatable<T>