20 lines
No EOL
568 B
C#
20 lines
No EOL
568 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Geekbot.Core.Interactions.Embed
|
|
{
|
|
/// <see href="https://discord.com/developers/docs/resources/channel#embed-object-embed-provider-structure" />
|
|
public record EmbedProvider
|
|
{
|
|
/// <summary>
|
|
/// name of provider
|
|
/// </summary>
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// url of provider
|
|
/// </summary>
|
|
[JsonPropertyName("url")]
|
|
public string Url { get; set; }
|
|
}
|
|
} |