Table of Contents

Method UpdateCurrentUserApplicationRoleConnectionAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

UpdateCurrentUserApplicationRoleConnectionAsync(DiscordAccessToken, string, string, ApplicationRoleConnectionMetadata)

Updates the current user's application role connection.

public Task<DiscordApplicationRoleConnection> UpdateCurrentUserApplicationRoleConnectionAsync(DiscordAccessToken accessToken, string platformName, string platformUsername, ApplicationRoleConnectionMetadata metadata)

Parameters

accessToken DiscordAccessToken

The discord access token.

platformName string

The platform name.

platformUsername string

The platform username.

metadata ApplicationRoleConnectionMetadata

The metadata.

Returns

Task<DiscordApplicationRoleConnection>