Class DiscordRateLimitResponseData
Only returned in the body of an HTTP 429 response.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Color_Chan.Discord.Core.Common.API.DataModels
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class DiscordRateLimitResponseData : IEquatable<DiscordRateLimitResponseData>
Properties
| Improve this Doc View SourceIsGlobal
A value indicating if you are being globally rate limited or not
Declaration
[JsonPropertyName("global")]
public bool IsGlobal { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Message
A message saying you are being rate limited.
Declaration
[JsonPropertyName("message")]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
String |
RetryAfter
The number of seconds to wait before submitting another request.
Declaration
[JsonPropertyName("retry_after")]
public float RetryAfter { get; set; }
Property Value
Type | Description |
---|---|
Single |