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
DiscordAccessTokenThe discord access token.
platformName
stringThe platform name.
platformUsername
stringThe platform username.
metadata
ApplicationRoleConnectionMetadataThe metadata.