1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 03:56:57 +01:00
MadelineProto/docs/TD_docs/constructors/userProfilePhotos.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

922 B

title description
userProfilePhotos Contains part of the list of user photos

Constructor: userProfilePhotos

Back to constructors index

Contains part of the list of user photos

Attributes:

Name Type Required Description
total_count int Yes Total number of user profile photos
photos Array of photo Yes List of photos

Type: UserProfilePhotos

Example:

$userProfilePhotos = ['_' => 'userProfilePhotos', 'total_count' => int, 'photos' => [photo]];

PWRTelegram json-encoded version:

{"_": "userProfilePhotos", "total_count": int, "photos": [photo]}

Or, if you're into Lua:

userProfilePhotos={_='userProfilePhotos', total_count=int, photos={photo}}