Packages

c

ackcord.data

Application

case class Application(id: ApplicationId, name: String, icon: Option[String], description: String, rpcOrigins: Option[Seq[String]], botPublic: Boolean, botRequireCodeGrant: Boolean, termsOfServiceUrl: Option[String], privacyPolicyUrl: Option[String], owner: Option[PartialUser], summary: String, verifyKey: String, team: Option[Team], guildId: Option[GuildId], primarySkuId: Option[RawSnowflake], slug: Option[String], coverImage: Option[String], flags: Option[ApplicationFlags]) extends Product with Serializable

id

Id of the application.

name

Name of the application.

icon

Icon hash for the application.

description

Description of the application.

rpcOrigins

A sequence of RPC origin urls, if RPC is enabled.

botPublic

If other users can add this bot to guilds.

botRequireCodeGrant

If the bot requires the full OAuth2 code grant flow to join a guild.

termsOfServiceUrl

URL for the application's ToS

privacyPolicyUrl

URL for the application's privacy policy

owner

The owner of the application

summary

If this application is a game sold on Discord, then this is a short summary

verifyKey

Hex encoded hey for verification in interactions and the GameSDK's GetTicket

team

The team the application belongs to, if it belongs to one

guildId

If this application is a game sold on Discord, the guild id it has been linked to

primarySkuId

If this application is a game sold on Discord, this is the id of the "Game SKU" that is created if it exists

slug

If this application is a game sold on Discord, an URL slug that links to the store page

coverImage

This application's default rich presence invite cover image hash

flags

This application's public flags

Source
application.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Application
  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 Application(id: ApplicationId, name: String, icon: Option[String], description: String, rpcOrigins: Option[Seq[String]], botPublic: Boolean, botRequireCodeGrant: Boolean, termsOfServiceUrl: Option[String], privacyPolicyUrl: Option[String], owner: Option[PartialUser], summary: String, verifyKey: String, team: Option[Team], guildId: Option[GuildId], primarySkuId: Option[RawSnowflake], slug: Option[String], coverImage: Option[String], flags: Option[ApplicationFlags])

    id

    Id of the application.

    name

    Name of the application.

    icon

    Icon hash for the application.

    description

    Description of the application.

    rpcOrigins

    A sequence of RPC origin urls, if RPC is enabled.

    botPublic

    If other users can add this bot to guilds.

    botRequireCodeGrant

    If the bot requires the full OAuth2 code grant flow to join a guild.

    termsOfServiceUrl

    URL for the application's ToS

    privacyPolicyUrl

    URL for the application's privacy policy

    owner

    The owner of the application

    summary

    If this application is a game sold on Discord, then this is a short summary

    verifyKey

    Hex encoded hey for verification in interactions and the GameSDK's GetTicket

    team

    The team the application belongs to, if it belongs to one

    guildId

    If this application is a game sold on Discord, the guild id it has been linked to

    primarySkuId

    If this application is a game sold on Discord, this is the id of the "Game SKU" that is created if it exists

    slug

    If this application is a game sold on Discord, an URL slug that links to the store page

    coverImage

    This application's default rich presence invite cover image hash

    flags

    This application's public flags

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val botPublic: Boolean
  6. val botRequireCodeGrant: Boolean
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. val coverImage: Option[String]
  9. val description: String
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. val flags: Option[ApplicationFlags]
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. val guildId: Option[GuildId]
  14. val icon: Option[String]
  15. val id: ApplicationId
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val name: String
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. val owner: Option[PartialUser]
  22. val primarySkuId: Option[RawSnowflake]
  23. val privacyPolicyUrl: Option[String]
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. val rpcOrigins: Option[Seq[String]]
  26. val slug: Option[String]
  27. val summary: String
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. val team: Option[Team]
  30. val termsOfServiceUrl: Option[String]
  31. val verifyKey: String
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped