TeamProfile

This is a detailed reference for the TeamProfile and ServerTeamProfile objects.

On this page:

TeamProfile

The TeamProfile object represents the profile of a user within the context of a team. It includes the user’s profile information specific to the team and can be accessed through the teamUser.teamProfile property on a TeamUser object.

Table of Contents

1type TeamProfile = {
2 displayName: string | null; //$stack-link-to:#teamprofiledisplayname
3 profileImageUrl: string | null; //$stack-link-to:#teamprofileprofileimageurl
4};

teamProfile.displayName

The display name of the user within the team context as a string or null if no display name is set.

Type Definition

1declare const displayName: string | null;

teamProfile.profileImageUrl

The profile image URL of the user within the team context as a string, or null if no profile image is set.

Type Definition

1declare const profileImageUrl: string | null;

ServerTeamProfile

The ServerTeamProfile object is currently the same as TeamProfile.

Table of Contents

1type ServerTeamProfile =
2 // Inherits all functionality from TeamProfile
3 & TeamProfile; //$stack-link-to:#teamprofile