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.
|
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace Discord.API.Rest
|
|
|
|
|
{
|
|
|
|
|
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
|
|
|
|
|
internal class ModifyChannelPermissionsParams
|
|
|
|
|
{
|
|
|
|
|
[JsonProperty("type")]
|
|
|
|
|
public string Type { get; }
|
|
|
|
|
[JsonProperty("allow")]
|
|
|
|
|
public ulong Allow { get; }
|
|
|
|
|
[JsonProperty("deny")]
|
|
|
|
|
public ulong Deny { get; }
|
|
|
|
|
|
|
|
|
|
public ModifyChannelPermissionsParams(string type, ulong allow, ulong deny)
|
|
|
|
|
{
|
|
|
|
|
Type = type;
|
|
|
|
|
Allow = allow;
|
|
|
|
|
Deny = deny;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|