Class EmbedFooterProperties
Contains information used to render the footer block of an embed.
public class EmbedFooterProperties
- Inheritance
-
EmbedFooterProperties
- Inherited Members
Constructors
EmbedFooterProperties()
public EmbedFooterProperties()
Properties
IconUrl
Points to an image, which is displayed in a small circular format to the left of the Text.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("icon_url")]
public string? IconUrl { get; set; }
Property Value
Text
The text displayed in the footer, to the right of the icon if one is set, limited to 2048 characters.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("text")]
public string? Text { get; set; }
Property Value
Methods
WithIconUrl(string?)
Points to an image, which is displayed in a small circular format to the left of the Text.
public EmbedFooterProperties WithIconUrl(string? iconUrl)
Parameters
iconUrlstring
Returns
WithText(string?)
The text displayed in the footer, to the right of the icon if one is set, limited to 2048 characters.
public EmbedFooterProperties WithText(string? text)
Parameters
textstring