MadelineProtoDocs/old_docs/API_docs_v81/constructors/updateUserPhoto.md

911 B

title description image
updateUserPhoto Update user photo https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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}