Package net.dv8tion.jda.api.entities
Interface TeamMember
-
public interface TeamMemberMember of aApplicationTeam.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTeamMember.MembershipStateThe membership state on the team.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TeamMember.MembershipStategetMembershipState()The state of this member.default StringgetTeamId()The id for the team this member belongs to.longgetTeamIdLong()The id for the team this member belongs to.UsergetUser()Possibly-fake user for the team member.
-
-
-
Method Detail
-
getMembershipState
@Nonnull TeamMember.MembershipState getMembershipState()
The state of this member.
Note: the API does not seem to provide members withTeamMember.MembershipState.INVITEDto bots.- Returns:
- The
TeamMember.MembershipState, orUNKNOWN
-
getTeamId
@Nonnull default String 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.
-
-