interface APITeamMember

external
export interface APITeamMember

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

external
membership_state : TeamMemberMembershipState

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

deprecatedexternal
permissions : ['*']

Will always be ["*"]

external
role : TeamMemberRole

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

external
team_id : Snowflake

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

external
user : APIUser

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