Table of Contents

Class EmbedAuthorProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
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

string

Name

Name of the author.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

Url

Url of the author.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("url")]
public string? Url { get; set; }

Property Value

string

Methods

WithIconUrl(string?)

Url of the author icon.

public EmbedAuthorProperties WithIconUrl(string? iconUrl)

Parameters

iconUrl string

Returns

EmbedAuthorProperties

WithName(string?)

Name of the author.

public EmbedAuthorProperties WithName(string? name)

Parameters

name string

Returns

EmbedAuthorProperties

WithUrl(string?)

Url of the author.

public EmbedAuthorProperties WithUrl(string? url)

Parameters

url string

Returns

EmbedAuthorProperties