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
Localization
The localization used for data returned by Discord.
public string? Localization { 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
WithLocalization(string?)
The localization used for data returned by Discord.
public RestRequestProperties WithLocalization(string? localization)
Parameters
localization
string
Returns
WithRateLimitHandling(RestRateLimitHandling?)
The rate limit handling. Defaults to Retry.
public RestRequestProperties WithRateLimitHandling(RestRateLimitHandling? rateLimitHandling)
Parameters
rateLimitHandling
RestRateLimitHandling?