1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 17:27:43 +01:00
MadelineProto/docs/API_docs/constructors/updateUserPhoto.md
2016-12-20 13:32:11 +01:00

28 lines
658 B
Markdown

---
title: updateUserPhoto
description: updateUserPhoto attributes, type and example
---
## Constructor: updateUserPhoto
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Required|
|date|[int](../types/int.md) | Required|
|photo|[UserProfilePhoto](../types/UserProfilePhoto.md) | Required|
|previous|[Bool](../types/Bool.md) | Required|
### Type: [Update](../types/Update.md)
### Example:
```
$updateUserPhoto = ['_' => updateUserPhoto', 'user_id' => int, 'date' => int, 'photo' => UserProfilePhoto, 'previous' => Bool, ];
```