# ClientUser

The user logged in into the client

# Constructor

new ClientUser(client, data);
PARAMETER TYPE DESCRIPTION OPTIONAL
client Client The client that instantiated this No
data APIData The user logged in API data No

# Properties

# badges

The badges for this user


# createdAt

The date the user was created


# createdTimestamp

The timestamp in seconds the user was created


# description

The user description (markdown style)


# displayName

The user display name


# gravatarHash

The Gravatar hash


# isBanned

Checks if the client user is banned from FakeYou


# isMod

Checkis if the client user is a FakeYou moderator


The social links this belongs to


# partial

Checks if has partial data


# plan

The client user's FakeYou plan type


# token

The user token


# ttsVisibility

The default TTS visibility of this user


# username

The username of the user


# w2lVisibility

The default W2L visibility of this user

# Methods

# edit(options)

Edit the client user info

PARAMETER TYPE DESCRIPTION OPTIONAL
options ClientEditOptions The client user options to edit No

# fetch()

Get all data about this user


# gravatarURL()

Obtains the URL of gravatar image


# profileURL()

Obtains the URL of FakeYou profile


# ttsModels()

Get the models made by the client user


# ttsResults()

Get the TTS results generated by the client user