Telegram::getUserProfilePhotos PHP Method

getUserProfilePhotos() public method

Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.
Values inside $content:
Parameters Type Required Description
user_id Integer Yes Unique identifier of the target user
offset Integer Optional Sequential number of the first photo to be returned. By default, all photos are returned.
limit Integer Optional Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.
\param $content the request parameters as array \return the JSON Telegram's reply
public getUserProfilePhotos ( array $content )
$content array
    public function getUserProfilePhotos(array $content)
    {
        return $this->endpoint("getUserProfilePhotos", $content);
    }