Package net.dv8tion.jda.api.entities
Interface Invite.Group
- All Superinterfaces:
ISnowflake
- Enclosing interface:
Invite
POJO for the group information provided by an invite.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault ImageProxy
getIcon()
Returns anImageProxy
for this group invite's icon.The 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.getName()
The name of this group ornull
if the group has no name.getUsers()
The names of all users in this group.Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
-
Method Details
-
getIconId
The icon id of this group ornull
if the group has no icon.- Returns:
- The group's icon id
- See Also:
-
getIconUrl
The icon url of this group ornull
if the group has no icon.- Returns:
- The group's icon url
- See Also:
-
getIcon
Returns anImageProxy
for this group invite's icon.- Returns:
- Possibly-null
ImageProxy
of this group invite's icon - See Also:
-
getName
The name of this group ornull
if the group has no name.- Returns:
- The group's name
-
getUsers
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
.- Returns:
- The names of the group's users or null if not preset in the invite
-