Expand description
Structs representing the various elements of the Discord gateway.
Structs§
- Gateway
Bot - Returns useful information about the application from the gateway.
- Gateway
Broker Message - A message, sent to a message broker, which contains the packet to be sent to the Discord gateway.
- Heartbeat
Packet - A JSON packet used to send a heartbeat to the gateway.
- Hello
Packet - A JSON packet which defines the heartbeat the client should adhere to.
- Identify
Packet - Used for identifying a shard with the gateway.
- Identify
Properties - Ready
Packet - The packet received when a client completes a handshake with the Discord gateway. This packet is considered the largest and most complex packet sent.
- Receive
Packet - A JSON packet that the client would receive over the Discord gateway.
- Request
Guild Members - A Request guild members packet.
- Resume
Session Packet - A packet used to resume a gateway connection.
- Resumed
Packet - This packet is received when the client resumes an existing session.
- Send
Packet - A JSON packet that the client would send to the Discord Gateway.
- Session
Start Limit - Useful information about a bot’s session start limit.
- Update
Status - A packet sent to change the current status of the connected client.
- Update
Voice State - An Update Voice State packet.
Enums§
- Close
Codes - Codes that denote the cause of the gateway closing.
- Gateway
Event - An organized list of Discord gateway events.
- Opcodes
- A set of possible Discord gateway opcodes.
Traits§
- Sendable
Packet - Denotes structs that can be sent to the gateway.