Class ApplicationCommandGuildPermissions
public class ApplicationCommandGuildPermissions : IJsonModel<JsonApplicationCommandGuildPermissions>
- Inheritance
-
ApplicationCommandGuildPermissions
- Implements
- Inherited Members
Constructors
ApplicationCommandGuildPermissions(JsonApplicationCommandGuildPermissions)
public ApplicationCommandGuildPermissions(JsonApplicationCommandGuildPermissions jsonModel)
Parameters
jsonModel
JsonApplicationCommandGuildPermissions
Properties
ApplicationId
ID of the application the command belongs to.
public ulong ApplicationId { get; }
Property Value
CommandId
ID of the command.
public ulong CommandId { get; }
Property Value
GuildId
ID of the guild.
public ulong GuildId { get; }
Property Value
Permissions
Permissions for the command in the guild (max 100).
public IReadOnlyDictionary<ulong, ApplicationCommandPermission> Permissions { get; }