Table of Contents

Method UpdateCurrentApplicationInfoAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

UpdateCurrentApplicationInfoAsync(Optional<string?>, Optional<string?>, Optional<string?>, Optional<string?>, Optional<List<string>?>, Optional<Stream?>, Optional<Stream?>, Optional<ApplicationFlags>, Optional<DiscordApplicationInstallParams?>)

Updates the current API application.

[DiscordDeprecated("Install params is gonna be replaced by integration types config")]
public Task<DiscordApplication> UpdateCurrentApplicationInfoAsync(Optional<string?> description, Optional<string?> interactionsEndpointUrl, Optional<string?> roleConnectionsVerificationUrl, Optional<string?> customInstallUrl, Optional<List<string>?> tags, Optional<Stream?> icon, Optional<Stream?> coverImage, Optional<ApplicationFlags> flags, Optional<DiscordApplicationInstallParams?> installParams)

Parameters

description Optional<string>

The new description.

interactionsEndpointUrl Optional<string>

The new interactions endpoint url.

roleConnectionsVerificationUrl Optional<string>

The new role connections verification url.

customInstallUrl Optional<string>

The new custom install url.

tags Optional<List<string>>

The new tags.

icon Optional<Stream>

The new application icon.

coverImage Optional<Stream>

The new application cover image.

flags Optional<ApplicationFlags>

The new application flags. Can be only limited gateway intents.

installParams Optional<DiscordApplicationInstallParams>

The new install params.

Returns

Task<DiscordApplication>

The updated application.

UpdateCurrentApplicationInfoAsync(Optional<string?>, Optional<string?>, Optional<string?>, Optional<string?>, Optional<List<string>?>, Optional<Stream?>, Optional<Stream?>, Optional<ApplicationFlags>, Optional<DiscordIntegrationTypesConfig?>)

Updates the current API application.

public Task<DiscordApplication> UpdateCurrentApplicationInfoAsync(Optional<string?> description, Optional<string?> interactionsEndpointUrl, Optional<string?> roleConnectionsVerificationUrl, Optional<string?> customInstallUrl, Optional<List<string>?> tags, Optional<Stream?> icon, Optional<Stream?> coverImage, Optional<ApplicationFlags> flags, Optional<DiscordIntegrationTypesConfig?> integrationTypesConfig)

Parameters

description Optional<string>

The new description.

interactionsEndpointUrl Optional<string>

The new interactions endpoint url.

roleConnectionsVerificationUrl Optional<string>

The new role connections verification url.

customInstallUrl Optional<string>

The new custom install url.

tags Optional<List<string>>

The new tags.

icon Optional<Stream>

The new application icon.

coverImage Optional<Stream>

The new application cover image.

flags Optional<ApplicationFlags>

The new application flags. Can be only limited gateway intents.

integrationTypesConfig Optional<DiscordIntegrationTypesConfig>

The new integration types configuration.

Returns

Task<DiscordApplication>

The updated application.