Made API models internal. Removed Discord.Net.API.
This commit is contained in:
12
src/Discord.Net.Rest/API/Rest/ModifyTextChannelParams.cs
Normal file
12
src/Discord.Net.Rest/API/Rest/ModifyTextChannelParams.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma warning disable CS1591
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Discord.API.Rest
|
||||
{
|
||||
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
|
||||
internal class ModifyTextChannelParams : ModifyGuildChannelParams
|
||||
{
|
||||
[JsonProperty("topic")]
|
||||
public Optional<string> Topic { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user