Class DiscordSessionStartLimitData
Represents a discord Session start limit Structure API model. Docs: https://discord.com/developers/docs/topics/gateway#session-start-limit-object-session-start-limit-structure
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 DiscordSessionStartLimitData : IEquatable<DiscordSessionStartLimitData>
Properties
| Improve this Doc View SourceMaxConcurrency
The number of identify requests allowed per 5 seconds.
Declaration
[JsonPropertyName("max_concurrency")]
public long MaxConcurrency { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
Remaining
The remaining number of session starts the current user is allowed.
Declaration
[JsonPropertyName("remaining")]
public int Remaining { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ResetAfter
The number of milliseconds after which the limit resets.
Declaration
[JsonPropertyName("reset_after")]
public long ResetAfter { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
Total
The total number of session starts the current user is allowed.
Declaration
[JsonPropertyName("total")]
public int Total { get; set; }
Property Value
Type | Description |
---|---|
Int32 |