DiscordVoiceServerUpdateData

data class DiscordVoiceServerUpdateData(val token: String, val guildId: Snowflake, val endpoint: String?)(source)

Parameters

token

The voice connection token.

guildId

The guild id this server update is for.

endpoint

The voice server host. A null endpoint means that the voice server allocated has gone away and is trying to be reallocated. You should attempt to disconnect from the currently connected voice server, and not attempt to reconnect until a new voice server is allocated.

Constructors

Link copied to clipboard
constructor(token: String, guildId: Snowflake, endpoint: String?)

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "guild_id")
val guildId: Snowflake
Link copied to clipboard