IdentifyShard

@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)(source)

Constructors

Link copied to clipboard
constructor(token: String, shard: List<Int>, canCompress: Boolean = false, memberCountThreshold: Int = 50, presence: UpdateStatus? = null, properties: IdentifyProperties, intents: GatewayIntents? = null)

Properties

Link copied to clipboard
@SerialName(value = "compress")
val canCompress: Boolean = false
Link copied to clipboard
@SerialName(value = "intents")
val intents: GatewayIntents? = null
Link copied to clipboard
@SerialName(value = "large_threshold")
val memberCountThreshold: Int = 50
Link copied to clipboard
@SerialName(value = "presence")
val presence: UpdateStatus? = null
Link copied to clipboard
@SerialName(value = "properties")
val properties: IdentifyProperties
Link copied to clipboard
@SerialName(value = "shard")
val shard: List<Int>
Link copied to clipboard
@SerialName(value = "token")
val token: String