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.
24 lines
569 B
24 lines
569 B
#pragma warning disable CS1591
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Discord.API.Rest
|
|
{
|
|
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
|
|
internal class CreateGuildParams
|
|
{
|
|
[JsonProperty("name")]
|
|
public string Name { get; }
|
|
[JsonProperty("region")]
|
|
public string RegionId { get; }
|
|
|
|
[JsonProperty("icon")]
|
|
public Optional<Image?> Icon { get; set; }
|
|
|
|
public CreateGuildParams(string name, string regionId)
|
|
{
|
|
Name = name;
|
|
RegionId = regionId;
|
|
}
|
|
}
|
|
}
|