Table of Contents

Class ApplicationInstallParamsProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll

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

Permissions?

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

IEnumerable<string>

Methods

AddScopes(params IEnumerable<string>)

The scopes to use when installing the application to the guild.

public ApplicationInstallParamsProperties AddScopes(params IEnumerable<string> scopes)

Parameters

scopes IEnumerable<string>

Returns

ApplicationInstallParamsProperties

WithPermissions(Permissions?)

The permissions to request for the application's bot role.

public ApplicationInstallParamsProperties WithPermissions(Permissions? permissions)

Parameters

permissions Permissions?

Returns

ApplicationInstallParamsProperties

WithScopes(IEnumerable<string>?)

The scopes to use when installing the application to the guild.

public ApplicationInstallParamsProperties WithScopes(IEnumerable<string>? scopes)

Parameters

scopes IEnumerable<string>

Returns

ApplicationInstallParamsProperties