Discord Team Member
data class DiscordTeamMember(val membershipState: TeamMembershipState, val permissions: List<String>, val teamId: Snowflake, val user: DiscordUser)(source)
The raw developer team member data gotten from the API.
Constructors
Link copied to clipboard
constructor(membershipState: TeamMembershipState, permissions: List<String>, teamId: Snowflake, user: DiscordUser)
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
A collection of permissions granted to this member. At the moment, this collection will only have one element: *, meaning the member has all permissions. This is because right now there are no other permissions. Read mode here
Link copied to clipboard
Partial user data containing only the ID, username, discriminator and avatar.