Entries

Link copied to clipboard

The default code for unknown values.

Link copied to clipboard

An event was dispatched.

Link copied to clipboard

Fired periodically by the client to keep the connection alive.

Link copied to clipboard

Starts a new session during the initial handshake.

Link copied to clipboard

Update the client's presence.

Link copied to clipboard

Used to join/leave or move between voice channels.

Link copied to clipboard

You should attempt to reconnect and resume immediately.

Link copied to clipboard

You should attempt to reconnect and resume immediately.

Link copied to clipboard

Request information about offline guild members in a large guild.

Link copied to clipboard

The session has been invalidated. You should reconnect and identify/resume accordingly.

Link copied to clipboard

Sent immediately after connecting, contains the heartbeat_interval to use.

Link copied to clipboard

Sent in response to receiving a heartbeat to acknowledge that it has been received.

Properties

Link copied to clipboard
val code: Int
Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): OpCode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.