Class BotGateway
Stores the gateway information related to the current bot.
Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class BotGateway
Properties​
Url​
Gets the WSS URL that can be used for connecting to the gateway.
View Source​
Declaration
public string Url { get; }
Shards​
Gets the recommended number of shards to use when connecting.
View Source​
Declaration
public int Shards { get; }
SessionStartLimit​
Gets the Discord.BotGateway.SessionStartLimit that contains the information about the current session start limit.
View Source​
Declaration
public SessionStartLimit SessionStartLimit { get; }