MadelineProto/old_docs/API_docs_v46/constructors/updateUserPhoto.md

663 B

title description
updateUserPhoto updateUserPhoto attributes, type and example

Constructor: updateUserPhoto

Back to constructors index

Attributes:

Name Type Required
user_id int Required
date int Required
photo UserProfilePhoto Required
previous Bool Required

Type: Update

Example:

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