Interface IDiscordEmbedThumbnail
Represents a discord Embed Thumbnail Structure API model. Docs: https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure
Namespace: Color_Chan.Discord.Core.Common.Models.Embed
Assembly: Color-Chan.Discord.Core.dll
Syntax
public interface IDiscordEmbedThumbnail
Properties
| Improve this Doc View SourceHeight
Height of image.
Declaration
int? Height { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Int32> |
ProxyUrl
A proxied url of the image.
Declaration
string ProxyUrl { get; set; }
Property Value
Type | Description |
---|---|
String |
Url
Source url of thumbnail (only supports http(s) and attachments).
Declaration
string Url { get; set; }
Property Value
Type | Description |
---|---|
String |
Width
Width of image.
Declaration
int? Width { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Int32> |
Methods
| Improve this Doc View SourceToDataModel()
Converts the model back to a discord data model so that it can be send to discord.
Declaration
DiscordEmbedThumbnailData ToDataModel()
Returns
Type | Description |
---|---|
DiscordEmbedThumbnailData | The converted DiscordEmbedThumbnailData. |