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.
25 lines
630 B
25 lines
630 B
#pragma warning disable CS1591
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Discord.API.Rest
|
|
{
|
|
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
|
|
internal class CreateMessageParams
|
|
{
|
|
[JsonProperty("content")]
|
|
public string Content { get; }
|
|
|
|
[JsonProperty("nonce")]
|
|
public Optional<string> Nonce { get; set; }
|
|
[JsonProperty("tts")]
|
|
public Optional<bool> IsTTS { get; set; }
|
|
[JsonProperty("embed")]
|
|
public Optional<Embed> Embed { get; set; }
|
|
|
|
public CreateMessageParams(string content)
|
|
{
|
|
Content = content;
|
|
}
|
|
}
|
|
}
|