Package net.dv8tion.jda.api.entities
Interface ApplicationTeam
- All Superinterfaces:
- ISnowflake
Meta-data for the team of an application.
- See Also:
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptiondefault ImageProxygetIcon()Returns anImageProxyfor this application team's icon.The id hash for the icon of this team.default StringThe url for the icon of this team.default TeamMemberRetrieves theTeamMemberinstance for the provided user.default TeamMembergetMemberById(long userId) Retrieves theTeamMemberinstance for the provided user id.default TeamMembergetMemberById(String userId) Retrieves theTeamMemberinstance for the provided user id.@Unmodifiable List<TeamMember>TheTeam Members.default TeamMembergetOwner()default StringThe id for the user who owns this team.longThe id for the user who owns this team.default booleanCheck whethergetMember(User)returns null for the provided user.Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflakegetId, getIdLong, getTimeCreated
- 
Field Details- 
ICON_URLTemplate forgetIconUrl()- See Also:
 
 
- 
- 
Method Details- 
getOwnerSearches for theTeamMemberingetMembers()that has the same user id asgetOwnerIdLong().
 Its possible although unlikely that the owner of the team is not a member, in that case this will be null.- Returns:
- Possibly-null TeamMemberwho owns the team
 
- 
getOwnerIdThe id for the user who owns this team.- Returns:
- The owner id
 
- 
getOwnerIdLonglong getOwnerIdLong()The id for the user who owns this team.- Returns:
- The owner id
 
- 
getIconIdThe id hash for the icon of this team.- Returns:
- The icon id, or null if no icon is applied
- See Also:
 
- 
getIconUrlThe url for the icon of this team.- Returns:
- The icon url, or null if no icon is applied
 
- 
getIconReturns anImageProxyfor this application team's icon.- Returns:
- The ImageProxyof this application team's icon, or null if no icon is applied
- See Also:
 
- 
getMembersTheTeam Members.- Returns:
- Immutable list of team members
 
- 
isMemberCheck whethergetMember(User)returns null for the provided user.- Parameters:
- user- The user to check
- Returns:
- True, if the provided user is a member of this team
- Throws:
- IllegalArgumentException- If provided with null
 
- 
getMemberRetrieves theTeamMemberinstance for the provided user. If the user is not a member of this team, null is returned.- Parameters:
- user- The user for the team member
- Returns:
- The TeamMemberfor the user or null
- Throws:
- IllegalArgumentException- If provided with null
 
- 
getMemberByIdRetrieves theTeamMemberinstance for the provided user id. If the user is not a member of this team, null is returned.- Parameters:
- userId- The user id for the team member
- Returns:
- The TeamMemberfor the user or null
- Throws:
- IllegalArgumentException- If provided with null
 
- 
getMemberByIdRetrieves theTeamMemberinstance for the provided user id. If the user is not a member of this team, null is returned.- Parameters:
- userId- The user id for the team member
- Returns:
- The TeamMemberfor the user or null
 
 
-