This is a detailed reference for the TeamProfile and ServerTeamProfile objects in the React SDK.
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
type TeamProfile = {
displayName: string | null;
profileImageUrl: string | null;
};teamProfile.displayName
The display name of the user within the team context as a string or null if no display name is set.
declare 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.
declare const profileImageUrl: string | null;ServerTeamProfile
The ServerTeamProfile object is currently the same as TeamProfile.
Table of Contents
type ServerTeamProfile =
// Inherits all functionality from TeamProfile
TeamProfile;