Table of Contents

Class EmbedFooterProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll

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

string

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

string

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

iconUrl string

Returns

EmbedFooterProperties

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

text string

Returns

EmbedFooterProperties