Class RestRequestProperties
public sealed class RestRequestProperties
- Inheritance
-
RestRequestProperties
- Inherited Members
Constructors
RestRequestProperties()
public RestRequestProperties()
Properties
AuditLogReason
The reason for the guild's audit log.
public string? AuditLogReason { get; set; }
Property Value
ErrorLocalization
The error localization. This is used to localize error messages returned by Discord.
public string? ErrorLocalization { get; set; }
Property Value
RateLimitHandling
The rate limit handling. Defaults to Retry.
public RestRateLimitHandling? RateLimitHandling { get; set; }
Property Value
Methods
WithAuditLogReason(string?)
The reason for the guild's audit log.
public RestRequestProperties WithAuditLogReason(string? auditLogReason)
Parameters
auditLogReason
string
Returns
WithErrorLocalization(string?)
The error localization. This is used to localize error messages returned by Discord.
public RestRequestProperties WithErrorLocalization(string? errorLocalization)
Parameters
errorLocalization
string
Returns
WithRateLimitHandling(RestRateLimitHandling?)
The rate limit handling. Defaults to Retry.
public RestRequestProperties WithRateLimitHandling(RestRateLimitHandling? rateLimitHandling)
Parameters
rateLimitHandling
RestRateLimitHandling?