Class InviteImpl.GroupImpl
java.lang.Object
net.dv8tion.jda.internal.entities.InviteImpl.GroupImpl
- All Implemented Interfaces:
Invite.Group
,ISnowflake
- Enclosing class:
InviteImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe icon id of this group ornull
if the group has no icon.The icon url of this group ornull
if the group has no icon.long
The Snowflake id of this entity.getName()
The name of this group ornull
if the group has no name.getUsers()
The names of all users in this group.toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.entities.Invite.Group
getIcon
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getTimeCreated
-
Constructor Details
-
GroupImpl
-
-
Method Details
-
getIconId
Description copied from interface:Invite.Group
The icon id of this group ornull
if the group has no icon.- Specified by:
getIconId
in interfaceInvite.Group
- Returns:
- The group's icon id
- See Also:
-
getIconUrl
Description copied from interface:Invite.Group
The icon url of this group ornull
if the group has no icon.- Specified by:
getIconUrl
in interfaceInvite.Group
- Returns:
- The group's icon url
- See Also:
-
getName
Description copied from interface:Invite.Group
The name of this group ornull
if the group has no name.- Specified by:
getName
in interfaceInvite.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 interfaceISnowflake
- Returns:
- Long containing the Id.
-
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 returnnull
. Users will only be returned when resolving the invite via theInvite.resolve()
method with thewithCounts
boolean set totrue
.- Specified by:
getUsers
in interfaceInvite.Group
- Returns:
- The names of the group's users or null if not preset in the invite
-
toString
-