Table of Contents

Class GatewayPayload

Namespace
DSharpPlus.Net.Abstractions
Assembly
DSharpPlus.dll

Represents a websocket payload exchanged between Discord and the client.

public class GatewayPayload
Inheritance
GatewayPayload

Properties

Data

Gets or sets the data of the payload.

EventName

Gets or sets the event name of the payload. Only present for OP 0.

OpCode

Gets or sets the OP code of the payload.

Sequence

Gets or sets the sequence number of the payload. Only present for OP 0.