Constructor: updateUserPhoto

Back to constructors index

Update user photo

Attributes:

Name Type Required Description
user_id int Yes User ID
date int Yes Date
photo UserProfilePhoto Optional Photo
previous Bool Yes Previous?

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.