Table of Contents

Struct TargetUsersJobStatus

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents the status of an async processing job of target users for an invite.

public readonly struct TargetUsersJobStatus
Inherited Members

Properties

CompletedAt

Gets the timestamp of when the job completed processing.

public DateTimeOffset? CompletedAt { get; }

Property Value

DateTimeOffset?

Remarks

Will be null if the job is still processing.

CreatedAt

Gets the timestamp of when the job was created and processing started.

public DateTimeOffset CreatedAt { get; }

Property Value

DateTimeOffset

ErrorMessage

Gets the error message if the job failed to process.

public string ErrorMessage { get; }

Property Value

string

Remarks

Will be null if the job completed successfully or is still processing.

ProcessedUsers

Gets the number of users that have been processed so far for the invite. This will be less than or equal to TotalUsers.

public int ProcessedUsers { get; }

Property Value

int

Status

Gets the status code of the job.

public TargetUsersStatusCode Status { get; }

Property Value

TargetUsersStatusCode

TotalUsers

Gets the total number of users that were requested to be processed for the invite.

public int TotalUsers { get; }

Property Value

int