Preview environment

interface APITeamMember

export interface APITeamMember

https://discord.com/developers/docs/topics/teams#data-models-team-member-object

membership_state : TeamMemberMembershipState

The user's membership state on the teamSee https://discord.com/developers/docs/topics/teams#data-models-membership-state-enum

deprecated
permissions : ['*']

Will always be ["*"]

The user's role in the team.See https://discord.com/developers/docs/topics/teams#team-member-roles

team_id : Snowflake

The id of the parent team of which they are a member

user : APIUser

The avatar, discriminator, id, and username of the userSee https://discord.com/developers/docs/resources/user#user-object