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
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
ErrorMessage
Gets the error message if the job failed to process.
public string ErrorMessage { get; }
Property Value
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
Status
Gets the status code of the job.
public TargetUsersStatusCode Status { get; }
Property Value
TotalUsers
Gets the total number of users that were requested to be processed for the invite.
public int TotalUsers { get; }