Package net.dv8tion.jda.api.entities
Interface TeamMember
public interface TeamMember
Member of a
ApplicationTeam
.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The membership state on the team.static enum
The role in the team. -
Method Summary
-
Method Details
-
getUser
User for the team member.- Returns:
- The user
-
getMembershipState
The state of this member.
Note: the API does not seem to provide members withTeamMember.MembershipState.INVITED
to bots.- Returns:
- The
TeamMember.MembershipState
, orUNKNOWN
-
getRoleType
The role of this member.- Returns:
- The
TeamMember.RoleType
, orUNKNOWN
-
getTeamId
The id for the team this member belongs to.- Returns:
- The team id.
-
getTeamIdLong
long getTeamIdLong()The id for the team this member belongs to.- Returns:
- The team id.
-