Table of Contents

Class RateLimitedEventArgs

Namespace
NetCord.Gateway
Assembly
NetCord.dll
public class RateLimitedEventArgs : IJsonModel<JsonRateLimitedEventArgs>
Inheritance
RateLimitedEventArgs
Implements
Inherited Members

Constructors

RateLimitedEventArgs(JsonRateLimitedEventArgs)

public RateLimitedEventArgs(JsonRateLimitedEventArgs jsonModel)

Parameters

jsonModel JsonRateLimitedEventArgs

Properties

Metadata

Metadata for the event that was rate limited.

public RateLimitMetadata Metadata { get; }

Property Value

RateLimitMetadata

Opcode

Gateway opcode of the event that was rate limited.

public GatewayOpcode Opcode { get; }

Property Value

GatewayOpcode

RetryAfter

The number of seconds to wait before submitting another request.

public double RetryAfter { get; }

Property Value

double