Interface ApplicationInfo.InstallParameters

Enclosing interface:
ApplicationInfo

public static interface ApplicationInfo.InstallParameters
OAuth2 install parameter for the default in-app authorization link.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the permissions your bot asks for when invited.
    Gets the required scopes granted to the bot when invited.
  • Method Details

    • getScopes

      @Nonnull List<String> getScopes()
      Gets the required scopes granted to the bot when invited.
      Returns:
      The required scopes granted to the bot when invited
    • getPermissions

      @Nonnull Set<Permission> getPermissions()
      Gets the permissions your bot asks for when invited.
      Note: Users can choose to disable permissions before and after inviting your bot.
      Returns:
      The permissions your bot asks for when invited