Struct EmbedThumbnail
A thumbnail featured in an Embed.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public struct EmbedThumbnail
Properties
| Improve this Doc View SourceHeight
Gets the height of this thumbnail.
Declaration
public int? Height { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | A System.Int32 representing the height of this thumbnail if it can be retrieved; otherwise
|
ProxyUrl
Gets a proxied URL of this thumbnail.
Declaration
public string ProxyUrl { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A string containing the proxied URL of this thumbnail. |
Url
Gets the URL of the thumbnail.
Declaration
public string Url { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A string containing the URL of the thumbnail. |
Width
Gets the width of this thumbnail.
Declaration
public int? Width { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | A System.Int32 representing the width of this thumbnail if it can be retrieved; otherwise
|
Methods
| Improve this Doc View SourceToString()
Gets the URL of the thumbnail.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | A string that resolves to Url. |
Overrides
System.ValueType.ToString()