case class IdentifyData(token: String, properties: Map[String, String], compress: Boolean, largeThreshold: Int, shard: Seq[Int], presence: PresenceData, intents: GatewayIntents) extends Product with Serializable

token

The bot token.

properties

A map of properties to send.

compress

If compressed messages should be used.

largeThreshold

The threshold where the gateway stops sending offline users.

shard

The shard info, the first index is the shard id, while the second is the total amount of shards.

presence

The presence data to start with.

Source
gatewayData.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IdentifyData
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new IdentifyData(token: String, properties: Map[String, String], compress: Boolean, largeThreshold: Int, shard: Seq[Int], presence: PresenceData, intents: GatewayIntents)

    token

    The bot token.

    properties

    A map of properties to send.

    compress

    If compressed messages should be used.

    largeThreshold

    The threshold where the gateway stops sending offline users.

    shard

    The shard info, the first index is the shard id, while the second is the total amount of shards.

    presence

    The presence data to start with.

Value Members

  1. val compress: Boolean
  2. val intents: GatewayIntents
  3. val largeThreshold: Int
  4. val presence: PresenceData
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. val properties: Map[String, String]
  7. val shard: Seq[Int]
  8. val token: String