Class DiscordRateLimitResponseData
Only returned in the body of an HTTP 429 response.
Inheritance
System.Object
DiscordRateLimitResponseData
Implements
System.IEquatable<DiscordRateLimitResponseData>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|
System.Boolean |
Message
A message saying you are being rate limited.
Declaration
[JsonPropertyName("message")]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Single |
Implements
System.IEquatable<T>