Class DiscordGatewayBotData
Represents a discord Gateway bot API model. Docs: https://discord.com/developers/docs/topics/gateway#stage-instance-delete-json-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 DiscordGatewayBotData : IEquatable<DiscordGatewayBotData>
Properties
| Improve this Doc View SourceSessionStartLimit
Information on the current session start limit.
Declaration
[JsonPropertyName("session_start_limit")]
public DiscordSessionStartLimitData SessionStartLimit { get; set; }
Property Value
Type | Description |
---|---|
DiscordSessionStartLimitData |
Shards
The recommended number of shards to use when connecting.
Declaration
[JsonPropertyName("shards")]
public int Shards { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Url
The WSS URL that can be used for connecting to the gateway.
Declaration
[JsonPropertyName("url")]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
String |