| 1 | <?php |
||
| 14 | * Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object. |
||
| 15 | * |
||
| 16 | * Objects defined as-is july 2016 |
||
| 17 | * |
||
| 18 | * @see https://core.telegram.org/bots/api#getuserprofilephotos |
||
| 19 | */ |
||
| 20 | class GetUserProfilePhotos extends TelegramMethods |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Unique identifier of the target user |
||
| 24 | * @var int |
||
| 25 | */ |
||
| 26 | public $user_id = 0; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Optional. Sequential number of the first photo to be returned. By default, all photos are returned. |
||
| 30 | * @var int |
||
| 31 | */ |
||
| 32 | public $offset = 0; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Optional. Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100. |
||
| 36 | * @var int |
||
| 37 | */ |
||
| 38 | public $limit = 100; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * This call will return an array with updates, so call up a custom type to do this |
||
| 42 | * |
||
| 43 | * @param array $data |
||
| 44 | * @param LoggerInterface $logger |
||
| 52 |