Expand description
Mappings of objects received from Discord’s voice gateway API, with implementations for (de)serialisation.
Modules§
- constants
- A set of constants used by the library.
- id
- A collection of newtypes defining type-strong IDs.
- payload
- Message bodies used in gateway event-handling.
Structs§
- Protocol
Data - The client’s response to a connection offer.
- Speaking
State - Flag set describing how a speaker is sending audio.
Enums§
- Close
Code - Discord Voice Gateway Websocket close codes.
- Event
- A representation of data received for voice gateway events.
- Opcode
- An enum representing the voice opcodes.
Traits§
- From
Primitive - A generic trait for converting a number to a value.