Class ApplicationInstallParamsProperties
Represents the configuration state for an application install.
public class ApplicationInstallParamsProperties
- Inheritance
-
ApplicationInstallParamsProperties
- Inherited Members
Constructors
ApplicationInstallParamsProperties()
public ApplicationInstallParamsProperties()
Properties
Permissions
The permissions to request for the application's bot role.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("permissions")]
public Permissions? Permissions { get; set; }
Property Value
Scopes
The scopes to use when installing the application to the guild.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("scopes")]
public IEnumerable<string>? Scopes { get; set; }
Property Value
Methods
AddScopes(params IEnumerable<string>)
The scopes to use when installing the application to the guild.
public ApplicationInstallParamsProperties AddScopes(params IEnumerable<string> scopes)
Parameters
scopesIEnumerable<string>
Returns
WithPermissions(Permissions?)
The permissions to request for the application's bot role.
public ApplicationInstallParamsProperties WithPermissions(Permissions? permissions)
Parameters
permissionsPermissions?
Returns
WithScopes(IEnumerable<string>?)
The scopes to use when installing the application to the guild.
public ApplicationInstallParamsProperties WithScopes(IEnumerable<string>? scopes)
Parameters
scopesIEnumerable<string>