DiscordTeamMember
data class DiscordTeamMember(val membershipState: TeamMembershipState, val teamId: Snowflake, val user: DiscordUser, val role: TeamMemberRole)(source)
The raw developer team member data gotten from the API.
Constructors
Link copied to clipboard
constructor(membershipState: TeamMembershipState, teamId: Snowflake, user: DiscordUser, role: TeamMemberRole)
Properties
Link copied to clipboard
An integer enum representing the state of membership of this user. 1
means the user has been invited and 2
means the user has accepted the invitation.
Link copied to clipboard
Link copied to clipboard
The unique ID that this member belongs to.
Link copied to clipboard
Partial user data containing only the ID, username, discriminator and avatar.