MadelineProtoDocs/old_docs/API_docs_v104/constructors/updateUserPhoto.md
2019-08-15 20:25:16 +02:00

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}