Метод | Описание | |
---|---|---|
getEmail ( ) : string | Gets the user's email address if supplied. | |
getFirstName ( ) : string | Gets the user's first name if supplied. | |
getId ( ) : string | Gets the user's ID. | |
getLastName ( ) : string | Gets the user's last name if supplied. | |
getPhone ( ) : string | Gets the user's phone number if supplied. | |
getPresence ( ) : React\Promise\PromiseInterface | Gets a user's presence. | |
getProfileImage192 ( ) : string | User profile image URL 192x192px | |
getProfileImage24 ( ) : string | User profile image URL 24x24px | |
getProfileImage32 ( ) : string | User profile image URL 32x32px | |
getProfileImage48 ( ) : string | User profile image URL 48x48px | |
getProfileImage72 ( ) : string | User profile image URL 72x72px | |
getRealName ( ) : string | Gets the user's real name if supplied. | |
getSkype ( ) : string | Gets the user's Skype name if supplied. | |
getUsername ( ) : string | Gets the user's username. | |
isAdmin ( ) : boolean | Checks if the user is a team administrator. | |
isDeleted ( ) : boolean | Checks if the user has been deactivated. | |
isOwner ( ) : boolean | Checks if the user is a team owner. | |
isPrimaryOwner ( ) : boolean | Checks if the user is the team's primary owner. |
public getFirstName ( ) : string | ||
Результат | string | The user's first name, or null if no name was given. |
public getLastName ( ) : string | ||
Результат | string | The user's last name, or null if no name was given. |
public getPresence ( ) : React\Promise\PromiseInterface | ||
Результат | React\Promise\PromiseInterface | The current user's presence, either "active" or "away". |
public getProfileImage192 ( ) : string | ||
Результат | string | URL of the 192x192px user profile image |
public getProfileImage24 ( ) : string | ||
Результат | string | URL of the 24x24px user profile image |
public getProfileImage32 ( ) : string | ||
Результат | string | URL of the 32x32px user profile image |
public getProfileImage48 ( ) : string | ||
Результат | string | URL of the 48x48px user profile image |
public getProfileImage72 ( ) : string | ||
Результат | string | URL of the 72x72px user profile image |
public getRealName ( ) : string | ||
Результат | string | The user's real name, or null if no name was given. |
public getUsername ( ) : string | ||
Результат | string | The user's username. |
public isPrimaryOwner ( ) : boolean | ||
Результат | boolean | True if the user is the primary team owner. |