updateProfile

Update the profile of the current user. At least one parameter must be specified. User-only.

Parameters

firstName?: string

New account first name.

lastName?: string

New account last name.

bio?: string

New account bio.

Result

void

Syntax

// Optional parameters.
// Any of the optional parameters can be omitted.
await client.updateProfile( { firstName, lastName, bio });