Table of Contents
API reference

Method GetProfileAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

GetProfileAsync(ulong, ulong, string, CancellationToken)

Gets game-stat profile data for an authorized user's external identity.

public Task<DiscordApplicationIdentityProfile> GetProfileAsync(ulong applicationId, ulong userId, string externalUserId, CancellationToken cancellationToken = default)

Parameters

applicationId ulong

The application's ID.

userId ulong

The Discord user ID.

externalUserId string

The provider-issued user ID.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<DiscordApplicationIdentityProfile>

The identity profile.