Table of Contents

Method GetRpcApplicationAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

GetRpcApplicationAsync(ulong)

Gets a applications rpc information.

public Task<DiscordRpcApplication> GetRpcApplicationAsync(ulong applicationId)

Parameters

applicationId ulong

Id of the application

Returns

Task<DiscordRpcApplication>

The requested application.

Exceptions

NotFoundException

Thrown when the application does not exist.

BadRequestException

Thrown when an invalid parameter was provided.

ServerErrorException

Thrown when Discord is unable to process the request.