Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tím souhlasíte. Další informace

API help

Overview
Data types

user.updateProfile

Description

Update user's profile. You can update only some options of user's profile, or all of them, depending on your needs.

Params

token
string

Access token.

update
struct

Fields to update in user's profile. All not present options will not be updated.

visible
bool
optional

Is the profile visible?

hideFromTop
bool
optional

Hide the user from top table.

notifyMessages
bool
optional

Send notification about new private messages via email.

profile
string
optional

Message to display in user's profile. Can contain (limited set of) HTML.

Response

response
struct
status
int
enum

Status code

ValueDescription
200

OK

400

Bad params

500

Server error

statusMessage
string

Status code description.

Call example

user.updateProfile("dolor in", {"visible": false, "hideFromTop": false, "notifyMessages": false, "profile": "do"})