Table of Contents

Method GetGatewayInfoAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

GetGatewayInfoAsync(string?)

Gets the current gateway info for the provided token.

If no value is provided, the configuration value will be used instead.

public Task<GatewayInfo> GetGatewayInfoAsync(string? token = null)

Parameters

token string

Returns

Task<GatewayInfo>

A gateway info object.