mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-02 05:03:42 +00:00
Improve performance (#162)
This commit is contained in:
20
DiscordChatExporter.Core.Models/EmbedImage.cs
Normal file
20
DiscordChatExporter.Core.Models/EmbedImage.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace DiscordChatExporter.Core.Models
|
||||
{
|
||||
// https://discordapp.com/developers/docs/resources/channel#embed-object-embed-image-structure
|
||||
|
||||
public class EmbedImage
|
||||
{
|
||||
public string Url { get; }
|
||||
|
||||
public int? Width { get; }
|
||||
|
||||
public int? Height { get; }
|
||||
|
||||
public EmbedImage(string url, int? width, int? height)
|
||||
{
|
||||
Url = url;
|
||||
Height = height;
|
||||
Width = width;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user