DiscordVoiceGatewayCode

public enum DiscordVoiceGatewayCode : Int

Represents a voice gateway code

  • Identify. Sent by the client.

    Declaration

    Swift

    case identify = 0
  • Select Protocol. Sent by the client.

    Declaration

    Swift

    case selectProtocol = 1
  • Ready. Sent by the server.

    Declaration

    Swift

    case ready = 2
  • Heartbeat. Sent by the client.

    Declaration

    Swift

    case heartbeat = 3
  • Session Description. Sent by the server.

    Declaration

    Swift

    case sessionDescription = 4
  • Speaking. Sent by both client and server.

    Declaration

    Swift

    case speaking = 5
  • Heartbeat ACK. Sent by the server.

    Declaration

    Swift

    case heartbeatAck = 6
  • Resume. Sent by the client.

    Declaration

    Swift

    case resume = 7
  • Hello. Sent by the server.

    Declaration

    Swift

    case hello = 8
  • Resumed. Sent by the server.

    Declaration

    Swift

    case resumed = 9
  • Client disconnect. Sent by the server.

    Declaration

    Swift

    case clientDisconnect = 13