Struct EmbedFooter
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
A footer field for an Embed.
public struct EmbedFooter
- Inherited Members
Properties
IconUrl
Gets the URL of the footer icon.
public readonly string IconUrl { get; }
Property Value
- string
A string containing the URL of the footer icon.
ProxyUrl
Gets the proxied URL of the footer icon link.
public readonly string ProxyUrl { get; }
Property Value
- string
A string containing the proxied URL of the footer icon.
Text
Gets the text of the footer field.
public readonly string Text { get; }
Property Value
- string
A string containing the text of the footer field.
Methods
Equals(EmbedFooter?)
Determines whether the specified EmbedFooter is equal to the current EmbedFooter
public bool Equals(EmbedFooter? embedFooter)
Parameters
embedFooter
EmbedFooter?The EmbedFooter to compare with the current EmbedFooter
Returns
Equals(object)
Determines whether the specified object is equal to the current EmbedFooter.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current EmbedFooter
Returns
Remarks
If the object passes is an EmbedFooter, Equals(EmbedFooter?) 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 text of the footer field.
public override string ToString()
Returns
Operators
operator ==(EmbedFooter?, EmbedFooter?)
public static bool operator ==(EmbedFooter? left, EmbedFooter? right)
Parameters
left
EmbedFooter?right
EmbedFooter?
Returns
operator !=(EmbedFooter?, EmbedFooter?)
public static bool operator !=(EmbedFooter? left, EmbedFooter? right)
Parameters
left
EmbedFooter?right
EmbedFooter?