ReadyData

data class ReadyData(val version: Int, val user: DiscordUser, val privateChannels: List<DiscordChannel>, val guilds: List<DiscordUnavailableGuild>, val sessionId: String, val resumeGatewayUrl: String, val geoOrderedRtcRegions: Optional<JsonElement?> = Optional.Missing(), val guildHashes: Optional<JsonElement?> = Optional.Missing(), val application: Optional<JsonElement?> = Optional.Missing(), val traces: List<String>, val shard: Optional<DiscordShard> = Optional.Missing())(source)

Constructors

Link copied to clipboard
constructor(version: Int, user: DiscordUser, privateChannels: List<DiscordChannel>, guilds: List<DiscordUnavailableGuild>, sessionId: String, resumeGatewayUrl: String, geoOrderedRtcRegions: Optional<JsonElement?> = Optional.Missing(), guildHashes: Optional<JsonElement?> = Optional.Missing(), application: Optional<JsonElement?> = Optional.Missing(), traces: List<String>, shard: Optional<DiscordShard> = Optional.Missing())

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "geo_ordered_rtc_regions")
val geoOrderedRtcRegions: Optional<JsonElement?>
Link copied to clipboard
@SerialName(value = "guild_hashes")
val guildHashes: Optional<JsonElement?>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "private_channels")
val privateChannels: List<DiscordChannel>
Link copied to clipboard
@SerialName(value = "resume_gateway_url")
val resumeGatewayUrl: String
Link copied to clipboard
@SerialName(value = "session_id")
val sessionId: String
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "_trace")
val traces: List<String>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "v")
val version: Int