c

ackcord.data.raw

RawActivity

case class RawActivity(name: String, type: ActivityType, url: Option[String], createdAt: Instant, timestamps: Option[ActivityTimestamps], applicationId: Option[ApplicationId], details: Option[String], state: Option[String], emoji: Option[ActivityEmoji], party: Option[RawActivityParty], assets: Option[ActivityAsset], secrets: Option[ActivitySecrets], instance: Option[Boolean], flags: Option[ActivityFlags], buttons: Option[Seq[String]]) extends Product with Serializable

The content of a presence.

name

The text show.

url

A uri if the type is streaming.

timestamps

Timestamps for start and end of activity.

applicationId

Application id of the game.

details

What the player is doing.

state

The user's party status.

party

Info about the user's party.

assets

Images for the presence and hover texts.

secrets

Secrets for rich presence joining and spectating.

instance

If the activity is an instanced game session.

flags

Indicates what the payload includes

buttons

Custom buttons shown for the rich presence

Source
rawData.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RawActivity
  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 RawActivity(name: String, type: ActivityType, url: Option[String], createdAt: Instant, timestamps: Option[ActivityTimestamps], applicationId: Option[ApplicationId], details: Option[String], state: Option[String], emoji: Option[ActivityEmoji], party: Option[RawActivityParty], assets: Option[ActivityAsset], secrets: Option[ActivitySecrets], instance: Option[Boolean], flags: Option[ActivityFlags], buttons: Option[Seq[String]])

    name

    The text show.

    url

    A uri if the type is streaming.

    timestamps

    Timestamps for start and end of activity.

    applicationId

    Application id of the game.

    details

    What the player is doing.

    state

    The user's party status.

    party

    Info about the user's party.

    assets

    Images for the presence and hover texts.

    secrets

    Secrets for rich presence joining and spectating.

    instance

    If the activity is an instanced game session.

    flags

    Indicates what the payload includes

    buttons

    Custom buttons shown for the rich presence

Value Members

  1. val applicationId: Option[ApplicationId]
  2. val assets: Option[ActivityAsset]
  3. val buttons: Option[Seq[String]]
  4. val createdAt: Instant
  5. val details: Option[String]
  6. val emoji: Option[ActivityEmoji]
  7. val flags: Option[ActivityFlags]
  8. val instance: Option[Boolean]
  9. val name: String
  10. val party: Option[RawActivityParty]
  11. def productElementNames: Iterator[String]
    Definition Classes
    Product
  12. def requireCanSend(): Unit
  13. val secrets: Option[ActivitySecrets]
  14. val state: Option[String]
  15. val timestamps: Option[ActivityTimestamps]
  16. def toActivity: Activity
  17. val type: ActivityType
  18. val url: Option[String]