mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-01 07:39:12 +00:00
22 lines
539 B
C#
22 lines
539 B
C#
namespace DiscordChatExporter.Core.Models
|
|
{
|
|
// https://discordapp.com/developers/docs/resources/channel#embed-object-embed-field-structure
|
|
|
|
public class EmbedField
|
|
{
|
|
public string Name { get; }
|
|
|
|
public string Value { get; }
|
|
|
|
public bool IsInline { get; }
|
|
|
|
public EmbedField(string name, string value, bool isInline)
|
|
{
|
|
Name = name;
|
|
Value = value;
|
|
IsInline = isInline;
|
|
}
|
|
|
|
public override string ToString() => $"{Name} | {Value}";
|
|
}
|
|
} |