Table of Contents

Struct EmbedAuthor

Namespace
Discord
Assembly
Discord.Net.Core.dll

A author field of an Embed.

public struct EmbedAuthor
Inherited Members

Properties

IconUrl

Gets the icon URL of the author field.

public readonly string IconUrl { get; }

Property Value

string

Name

Gets the name of the author field.

public readonly string Name { get; }

Property Value

string

ProxyIconUrl

Gets the proxified icon URL of the author field.

public readonly string ProxyIconUrl { get; }

Property Value

string

Url

Gets the URL of the author field.

public readonly string Url { get; }

Property Value

string

Methods

Equals(EmbedAuthor?)

Determines whether the specified EmbedAuthor is equal to the current EmbedAuthor

public bool Equals(EmbedAuthor? embedAuthor)

Parameters

embedAuthor EmbedAuthor?

The EmbedAuthor to compare with the current EmbedAuthor

Returns

bool

Equals(object)

Determines whether the specified object is equal to the current EmbedAuthor.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current EmbedAuthor

Returns

bool

Remarks

If the object passes is an EmbedAuthor, Equals(EmbedAuthor?) will be called to compare the 2 instances

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

ToString()

Gets the name of the author field.

public override string ToString()

Returns

string

Operators

operator ==(EmbedAuthor?, EmbedAuthor?)

public static bool operator ==(EmbedAuthor? left, EmbedAuthor? right)

Parameters

left EmbedAuthor?
right EmbedAuthor?

Returns

bool

operator !=(EmbedAuthor?, EmbedAuthor?)

public static bool operator !=(EmbedAuthor? left, EmbedAuthor? right)

Parameters

left EmbedAuthor?
right EmbedAuthor?

Returns

bool