Table of Contents

Class RestRequestProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class RestRequestProperties
Inheritance
RestRequestProperties
Inherited Members

Constructors

RestRequestProperties()

public RestRequestProperties()

Properties

AuditLogReason

public string? AuditLogReason { get; set; }

Property Value

string

ErrorLocalization

public string? ErrorLocalization { get; set; }

Property Value

string

RateLimitHandling

public RestRateLimitHandling RateLimitHandling { get; set; }

Property Value

RestRateLimitHandling

Methods

WithAuditLogReason(string?)

public RestRequestProperties WithAuditLogReason(string? auditLogReason)

Parameters

auditLogReason string

Returns

RestRequestProperties

WithErrorLocalization(string?)

public RestRequestProperties WithErrorLocalization(string? errorLocalization)

Parameters

errorLocalization string

Returns

RestRequestProperties

WithRateLimitHandling(RestRateLimitHandling)

public RestRequestProperties WithRateLimitHandling(RestRateLimitHandling rateLimitHandling)

Parameters

rateLimitHandling RestRateLimitHandling

Returns

RestRequestProperties