Table of Contents

Method GetTargetUsersJobStatusAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

GetTargetUsersJobStatusAsync(CancellationToken)

Gets the invite target users job status.

public Task<DiscordInviteTargetUsersJobStatus> GetTargetUsersJobStatusAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<DiscordInviteTargetUsersJobStatus>

The job status.

Exceptions

NotFoundException

Thrown when the invite does not exist.

BadRequestException

Thrown when an invalid parameter was provided.

ServerErrorException

Thrown when Discord is unable to process the request.