Search Results for

    Show / Hide Table of Contents

    Class DiscordGatewayBotData

    Represents a discord Gateway bot API model. Docs: https://discord.com/developers/docs/topics/gateway#stage-instance-delete-json-response

    Inheritance
    Object
    DiscordGatewayBotData
    Implements
    IEquatable<DiscordGatewayBotData>
    Inherited Members
    System.Object.Equals(System.Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Object.ToString()
    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 Source

    SessionStartLimit

    Information on the current session start limit.

    Declaration
    [JsonPropertyName("session_start_limit")]
    public DiscordSessionStartLimitData SessionStartLimit { get; set; }
    Property Value
    Type Description
    DiscordSessionStartLimitData
    | Improve this Doc View Source

    Shards

    The recommended number of shards to use when connecting.

    Declaration
    [JsonPropertyName("shards")]
    public int Shards { get; set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    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

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX