Class Footer
A footer field for an Embed. This is shown at the bottom of the embed, to the left of the Timestamp. See the Embed Author structure for more information.
Inheritance
System.Object
Footer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Dishooks.Embeds
Assembly: cs.temp.dll.dll
Syntax
public class Footer
Constructors
Footer(String)
Create a new footer with a text.
Declaration
public Footer(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to use. |
Footer(String, Attachment)
Create a new footer with a text and an image.
Declaration
public Footer(string text, Attachment attachment)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to use. |
Attachment | attachment | The Attachment to use. Note that the attachment needs to be added to the Webhook as well. |
Footer(String, String)
Create a new footer with a text and an image.
Declaration
public Footer(string text, string iconUrl)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to use. |
System.String | iconUrl | The URL to the image to use. Only http(s) and the attachment:// protocol is supported. |
Properties
IconUrl
The 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 the footer icon. This can not be set by the user, and will only be displayed in DiscordMessage objects.
Declaration
public string ProxyIconUrl { get; }
Property Value
Type | Description |
---|---|
System.String |
Text
The footer text.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |