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.
Ombi/src/Ombi.Api.Discord/Models/DiscordWebhookBody.cs

24 lines
639 B

using System.Collections.Generic;
namespace Ombi.Api.Discord.Models
{
public class DiscordWebhookBody
{
public string content { get; set; }
public string username { get; set; }
public List<DiscordEmbeds> embeds { get; set; }
}
public class DiscordEmbeds
{
public string title { get; set; }
public string type => "rich"; // Always rich or embedded content
public string description { get; set; } // Don't really need to set this
public DiscordImage image { get; set; }
}
public class DiscordImage
{
public string url { get; set; }
}
}