Show / Hide Table of Contents

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 Source

Height

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 null.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 null.

Methods

| Improve this Doc View Source

ToString()

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()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX