Class EmbedAuthorProperties
public class EmbedAuthorProperties
- Inheritance
-
EmbedAuthorProperties
- Inherited Members
Constructors
EmbedAuthorProperties()
public EmbedAuthorProperties()
Properties
IconUrl
Url of the author icon.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("icon_url")]
public string? IconUrl { get; set; }
Property Value
Name
Name of the author.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
Url
Url of the author.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("url")]
public string? Url { get; set; }
Property Value
Methods
WithIconUrl(string?)
Url of the author icon.
public EmbedAuthorProperties WithIconUrl(string? iconUrl)
Parameters
iconUrl
string
Returns
WithName(string?)
Name of the author.
public EmbedAuthorProperties WithName(string? name)
Parameters
name
string
Returns
WithUrl(string?)
Url of the author.
public EmbedAuthorProperties WithUrl(string? url)
Parameters
url
string