28 lines
625 B
C#
28 lines
625 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Maki.Structures.Embeds
|
|
{
|
|
/// <summary>
|
|
/// Discord API Embed Field structure
|
|
/// </summary>
|
|
internal struct EmbedField
|
|
{
|
|
/// <summary>
|
|
/// name of the field
|
|
/// </summary>
|
|
[JsonProperty("name")]
|
|
public string Name;
|
|
|
|
/// <summary>
|
|
/// value of the field
|
|
/// </summary>
|
|
[JsonProperty("value")]
|
|
public string Value;
|
|
|
|
/// <summary>
|
|
/// whether or not this field should display inline
|
|
/// </summary>
|
|
[JsonProperty("inline")]
|
|
public bool Inline;
|
|
}
|
|
}
|