updateProfile

fun Account.updateProfile(    name: String? = null,     url: String? = null,     location: String? = null,     description: String? = null,     profileLinkColor: String? = null,     includeEntities: Boolean? = null,     skipStatus: Boolean? = null,     birthdateYear: Int? = null,     birthdateMonth: Int? = null,     birthdateDay: Int? = null,     vararg options: Option): JsonObjectApiAction<User>

Sets some values that users are able to set under the "Account" tab of their settings page. Only the parameters specified will be updated.

Twitter API reference

Receiver

Account endpoint instance.

Return

JsonObjectApiAction for User model.

Parameters

name

Optional. Full name associated with the profile.

url

URL associated with the profile. Will be prepended with http:// if not present.

location

The city or country describing where the user of the account is located. The contents are not normalized or geocoded in any way.

description

A description of the user owning the account.

profileLinkColor

Sets a hex value that controls the color scheme of links used on the authenticating user's profile page on twitter.com. This must be a valid hexadecimal value, and may be either three or six characters (ex: F00 or FF0000). This parameter replaces the deprecated (and separate) update_profile_colors API method.

includeEntities

The entities node will not be included when set to false.

skipStatus

When set to either true, t or 1 statuses will not be included in the returned user object.

options

Optional. Custom parameters of this request.


val Account.updateProfile: JsonObjectApiAction<User>

Shorthand extension property to Account.updateProfile.

See also