mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.3 KiB
1.3 KiB
title | description | nav_exclude | image |
---|---|---|---|
userProfilePhoto | User profile photo. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: userProfilePhoto
User profile photo.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
has_video | Bool | Optional | Whether an animated profile picture is available for this user |
personal | Bool | Optional | Whether this profile photo is only visible to us (i.e. it was set using photos.uploadContactProfilePhoto). |
photo_id | long | Yes | Identifier of the respective photo |
stripped_thumb | bytes | Optional | Stripped thumbnail |
dc_id | int | Yes | DC ID where the photo is stored |
Type: UserProfilePhoto
Example:
$userProfilePhoto = ['_' => 'userProfilePhoto', 'has_video' => Bool, 'personal' => Bool, 'photo_id' => long, 'stripped_thumb' => 'bytes', 'dc_id' => int];