#pragma warning disable CS1591 using Newtonsoft.Json; namespace Discord.API.Rest { [JsonObject(MemberSerialization = MemberSerialization.OptIn)] internal class CreateWebhookMessageParams { [JsonProperty("content")] public string Content { get; } [JsonProperty("nonce")] public Optional Nonce { get; set; } [JsonProperty("tts")] public Optional IsTTS { get; set; } [JsonProperty("embeds")] public Optional Embeds { get; set; } [JsonProperty("username")] public Optional Username { get; set; } [JsonProperty("avatar_url")] public Optional AvatarUrl { get; set; } [JsonProperty("allowed_mentions")] public Optional AllowedMentions { get; set; } public CreateWebhookMessageParams(string content) { Content = content; } } }