1 | <?php |
||
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 |
||
45 | * @return TelegramTypes |
||
46 | */ |
||
47 | 3 | public static function bindToObject(TelegramRawData $data, LoggerInterface $logger): TelegramTypes |
|
51 | |||
52 | public function getMandatoryFields(): array |
||
58 | } |
||
59 |