메소드 |
설명 |
|
convertToBusiness ( string $businessName, string $websiteUrl = '' ) : boolean |
Convert your account to a business one. |
|
deactivate ( string $reason = 'other', string $explanation = '' ) : boolean |
Deactivates your account. |
|
invite ( string $email ) : boolean | Response |
Send invite to email |
|
isBanned ( ) : boolean |
Checks if current user is banned |
|
profile ( array $userInfo = [] ) : boolean | array |
Updates or returns user profile info. Gets associative array as a param. Available keys of array are:
'last_name', 'first_name', 'username', 'about', 'location' and 'website_url'. |
|
username ( ) : string |
Returns current user username |
|