Table of Contents

Method GetInviteTargetUsersJobStatusAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

GetInviteTargetUsersJobStatusAsync(string)

Gets the invite target users job status.

public Task<DiscordInviteTargetUsersJobStatus> GetInviteTargetUsersJobStatusAsync(string inviteCode)

Parameters

inviteCode string

The invite code.

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.