Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Identify(val token: String, val canCompress: Boolean = false, val memberCountThreshold: Int = 50, val presence: UpdateStatus? = null, val properties: IdentifyProperties, val intents: GatewayIntents? = null)
Link copied to clipboard
@Serializable
data class IdentifyProperties(val os: String, val browser: String, val device: String)
Link copied to clipboard
@Serializable
data class IdentifyShard(val token: String, val shard: List<Int>, val canCompress: Boolean = false, val memberCountThreshold: Int = 50, val presence: UpdateStatus? = null, val properties: IdentifyProperties, val intents: GatewayIntents? = null)
Link copied to clipboard
@Serializable
data class RequestGuildMembers(val snowflakeId: String, val namePrefix: String = "", val maxResults: Int = 0, val includePresences: Boolean = false, val nonce: String? = null)
Link copied to clipboard
@Serializable
data class Resume(val token: String, val sessionId: String, val sequenceNumber: Int)
Link copied to clipboard
@Serializable
data class UpdateStatus(val idleSince: Int?, val activities: List<UserStatusActivity>, val status: UserStatus, val isAfk: Boolean)
Link copied to clipboard
@Serializable
data class UpdateVoiceState(val snowflakeId: String, val channelId: String, val maxResults: Int = 0, val userIsMuted: Boolean, val userIsDeafened: Boolean)