using Newtonsoft.Json;

namespace Discord.API.Rest
{
    [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
    internal class CreateWebhookParams
    {
        [JsonProperty("name")]
        public string Name { get; set; }
        [JsonProperty("avatar")]
        public Optional<Image?> Avatar { get; set; }
    }
}
