Struct EmbedFooter
A footer field for an Embed.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public struct EmbedFooter
Properties
| Improve this Doc View SourceIconUrl
Gets the URL of the footer icon.
Declaration
public readonly string IconUrl { get; }
Property Value
Type | Description |
---|---|
String | A string containing the URL of the footer icon. |
ProxyUrl
Gets the proxied URL of the footer icon link.
Declaration
public readonly string ProxyUrl { get; }
Property Value
Type | Description |
---|---|
String | A string containing the proxied URL of the footer icon. |
Text
Gets the text of the footer field.
Declaration
public readonly string Text { get; }
Property Value
Type | Description |
---|---|
String | A string containing the text of the footer field. |
Methods
| Improve this Doc View SourceEquals(Nullable<EmbedFooter>)
Determines whether the specified EmbedFooter is equal to the current EmbedFooter
Declaration
public bool Equals(EmbedFooter? embedFooter)
Parameters
Type | Name | Description |
---|---|---|
Nullable<EmbedFooter> | embedFooter | The EmbedFooter to compare with the current EmbedFooter |
Returns
Type | Description |
---|---|
Boolean |
Equals(Object)
Determines whether the specified object is equal to the current EmbedFooter.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to compare with the current EmbedFooter |
Returns
Type | Description |
---|---|
Boolean |
Remarks
If the object passes is an EmbedFooter, Equals(Nullable<EmbedFooter>) will be called to compare the 2 instances
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
ToString()
Gets the text of the footer field.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string that resolves to Text. |
Operators
| Improve this Doc View SourceEquality(Nullable<EmbedFooter>, Nullable<EmbedFooter>)
Declaration
public static bool operator ==(EmbedFooter? left, EmbedFooter? right)
Parameters
Type | Name | Description |
---|---|---|
Nullable<EmbedFooter> | left | |
Nullable<EmbedFooter> | right |
Returns
Type | Description |
---|---|
Boolean |
Inequality(Nullable<EmbedFooter>, Nullable<EmbedFooter>)
Declaration
public static bool operator !=(EmbedFooter? left, EmbedFooter? right)
Parameters
Type | Name | Description |
---|---|---|
Nullable<EmbedFooter> | left | |
Nullable<EmbedFooter> | right |
Returns
Type | Description |
---|---|
Boolean |