You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
519 B
22 lines
519 B
namespace DiscordChatExporter.Core.Models
|
|
{
|
|
// https://discordapp.com/developers/docs/resources/channel#embed-object-embed-author-structure
|
|
|
|
public class EmbedAuthor
|
|
{
|
|
public string Name { get; }
|
|
|
|
public string Url { get; }
|
|
|
|
public string IconUrl { get; }
|
|
|
|
public EmbedAuthor(string name, string url, string iconUrl)
|
|
{
|
|
Name = name;
|
|
Url = url;
|
|
IconUrl = iconUrl;
|
|
}
|
|
|
|
public override string ToString() => Name;
|
|
}
|
|
} |