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
Name
Gets the name of the author field.
public readonly string Name { get; }
Property Value
ProxyIconUrl
Gets the proxified icon URL of the author field.
public readonly string ProxyIconUrl { get; }
Property Value
Url
Gets the URL of the author field.
public readonly string Url { get; }
Property Value
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
Equals(object)
Determines whether the specified object is equal to the current EmbedAuthor.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current EmbedAuthor
Returns
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
Operators
operator ==(EmbedAuthor?, EmbedAuthor?)
public static bool operator ==(EmbedAuthor? left, EmbedAuthor? right)
Parameters
left
EmbedAuthor?right
EmbedAuthor?
Returns
operator !=(EmbedAuthor?, EmbedAuthor?)
public static bool operator !=(EmbedAuthor? left, EmbedAuthor? right)
Parameters
left
EmbedAuthor?right
EmbedAuthor?