1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
updateUserPhoto | Update user photo | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateUserPhoto
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];
PWRTelegram json-encoded version:
{"_": "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}