-
Notifications
You must be signed in to change notification settings - Fork 172
/
GetUserProfilePhotos.php
43 lines (36 loc) · 1020 Bytes
/
GetUserProfilePhotos.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
declare(strict_types = 1);
namespace unreal4u\Telegram\Methods;
use unreal4u\Abstracts\TelegramMethods;
/**
* Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.
*
* @see https://core.telegram.org/bots/api#getuserprofilephotos
*/
class GetUserProfilePhotos extends TelegramMethods
{
/**
* Unique identifier of the target user
* @var int
*/
public $user_id = 0;
/**
* Optional. Sequential number of the first photo to be returned. By default, all photos are returned.
* @var int
*/
public $offset = 0;
/**
* Optional. Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.
* @var int
*/
public $limit = 100;
/**
* This call will return an array with updates, so call up a custom type to do this
*
* @return string
*/
public static function bindToObjectType(): string
{
return 'UserProfilePhotos';
}
}