Interface ApplicationInfo

All Superinterfaces:
Entity, HasGuild, HasIcon, HasName, HasNullableDescription, Snowflake, Timestamped
All Known Implementing Classes:
ApplicationInfoImpl

public interface ApplicationInfo extends Snowflake, HasName, HasIcon, HasNullableDescription, HasGuild
Information about an application.
Since:
10/17/18.
Author:
amy
  • Method Details

    • rpcOrigins

      @Nonnull List<String> rpcOrigins()
      Returns:
      A non-null, possibly-empty list of the application's RPC origins.
    • publicBot

      boolean publicBot()
      Returns:
      Whether or not the application is a public bot.
    • requiresCodeGrant

      boolean requiresCodeGrant()
      Returns:
      Whether or not the application requires a code grant before the bot can be added.
    • owner

      @Nonnull ApplicationOwner owner()
      Returns:
      The entity that owns the application.
    • team

      @Nullable Team team()
      Returns:
      The team that owns the application. Can be null.
    • summary

      @Nullable String summary()
      If this application is a game sold on Discord, this field will be the summary field for the store page of its primary SKU.
    • verifyKey

      @Nullable String verifyKey()
      Returns:
      The base64 encoded key for the GameSDK's GetTicket.
    • guildId

      @Nullable default String guildId()
      If this application is a game sold on Discord, this field will be the guild to which it has been linked.
      Specified by:
      guildId in interface HasGuild
      Returns:
      String representing the guild ID.
    • primarySkuId

      @Nullable String primarySkuId()
      If this application is a game sold on Discord, this field will be the id of the "Game SKU" that is created, if exists.
    • slug

      @Nullable String slug()
      If this application is a game sold on Discord, this field will be the URL slug that links to the store page.
    • coverImage

      @Nullable String coverImage()
      If this application is a game sold on Discord, this field will be the hash of the image on store embeds.
    • flags

      @Nonnull Set<ApplicationFlag> flags()
      Returns:
      The application's public flags.