Class InviteImpl.GroupImpl

java.lang.Object
net.dv8tion.jda.internal.entities.InviteImpl.GroupImpl
All Implemented Interfaces:
Invite.Group, ISnowflake
Enclosing class:
InviteImpl

public static class InviteImpl.GroupImpl extends Object implements Invite.Group
  • Constructor Details

  • Method Details

    • getIconId

      public String getIconId()
      Description copied from interface: Invite.Group
      The icon id of this group or null if the group has no icon.
      Specified by:
      getIconId in interface Invite.Group
      Returns:
      The group's icon id
      See Also:
    • getIconUrl

      public String getIconUrl()
      Description copied from interface: Invite.Group
      The icon url of this group or null if the group has no icon.
      Specified by:
      getIconUrl in interface Invite.Group
      Returns:
      The group's icon url
      See Also:
    • getName

      public String getName()
      Description copied from interface: Invite.Group
      The name of this group or null if the group has no name.
      Specified by:
      getName in interface Invite.Group
      Returns:
      The group's name
    • getIdLong

      public long getIdLong()
      Description copied from interface: ISnowflake
      The Snowflake id of this entity. This is unique to every entity and will never change.
      Specified by:
      getIdLong in interface ISnowflake
      Returns:
      Long containing the Id.
    • getUsers

      public List<String> getUsers()
      Description copied from interface: Invite.Group
      The names of all users in this group. If the users were not included in the invite, this will return null. Users will only be returned when resolving the invite via the Invite.resolve() method with the withCounts boolean set to true.
      Specified by:
      getUsers in interface Invite.Group
      Returns:
      The names of the group's users or null if not preset in the invite
    • toString

      public String toString()
      Overrides:
      toString in class Object