Constructor: updateUserPhoto

Back to constructors index

Change of contact’s profile photo.

Attributes:

Name Type Required Description
user_id int Yes User identifier
date int Yes Date of photo update.
Parameter was added in second layer.
photo UserProfilePhoto Optional New profile photo
previous Bool Yes (boolTrue), if one of the previously used photos is set a profile photo.
Parameter was added in second layer.

Type: Update

Example:

$updateUserPhoto = ['_' => 'updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool];

Or, if you’re into Lua:

updateUserPhoto={_='updateUserPhoto', user_id=int, date=int, photo=UserProfilePhoto, previous=Bool}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.