Interface Invite.InviteGuild

All Superinterfaces:
Entity, HasIcon, HasName, Snowflake, Timestamped
All Known Implementing Classes:
InviteImpl.InviteGuildImpl
Enclosing interface:
Invite

public static interface Invite.InviteGuild extends Snowflake, HasIcon, HasName
  • Method Details

    • icon

      @Nullable @CheckReturnValue String icon()
      Specified by:
      icon in interface HasIcon
      Returns:
      The icon's hash. May be null, in cases like a user not setting an avatar, no guild icon, ...
    • splash

      @Nullable @CheckReturnValue String splash()
    • features

      @Nonnull @CheckReturnValue List<GuildFeature> features()
    • verificationLevel

      @Nonnull @CheckReturnValue Guild.VerificationLevel verificationLevel()
    • iconUrl

      @Nullable @CheckReturnValue default String iconUrl(@Nonnull ImageOptions options)
      Specified by:
      iconUrl in interface HasIcon
      Returns:
      The icon's CDN URL, with the specified options applied. Will be null if HasIcon.icon() is null, except in the case of a User.
    • splashUrl

      @Nullable @CheckReturnValue default String splashUrl(@Nonnull ImageOptions options)
    • splashUrl

      @Nullable @CheckReturnValue default String splashUrl()
    • iconUrl

      @Nullable @CheckReturnValue default String iconUrl()
      Specified by:
      iconUrl in interface HasIcon
      Returns:
      The icon's CDN URL. Will be null if HasIcon.icon() is null, except in the case of a User.