Skip to content

TeamMember

TeamMember ⇐ Base

Represents a team member.

Kind: global class
Extends: Base
Properties

NameTypeDescription
stateMembershipState | nullThe membership state of the team member.
permissionsObject | undefinedThe permissions of the team member.
teamIdstring | nullThe ID of the team that the member belongs to.
userUser | nullThe user object representing the team member.

new TeamMember([data], client)

Constructs a new instance of the class.

ParamTypeDescription
[data]ObjectThe data object containing information about the team member.
clientClientThe client object.