Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.
| Name | Type | Description | Required |
|---|---|---|---|
| user_id | int | null | array | Unique identifier of the target user | no |
| offset | int | null | Sequential number of the first photo to be returned. By default, all photos are returned. | no |
| limit | int | null | Limits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100. | no |
| token | string | null | You can use this method on another bot with specify this parameter | no |
| forgot | bool | null | You can set to not receive request result, dont set it or pass null for turn it off | no |
| answer | bool | null | You can set to answer to webhook, dont set it or pass null for turn it off | no |
Output : BPT\types\userProfilePhotos | BPT\types\responseError | bool
Static or normal : Static
request::getUserProfilePhotos(['user_id' => int, 'offset' => int, 'limit' => int]);request::getUserProfilePhotos();