forked from valizada/Telegram-Bot-Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUserProfilePhotos.php
49 lines (44 loc) · 895 Bytes
/
UserProfilePhotos.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
44
45
46
47
48
49
<?php
/**
* This object represent a user's profile pictures.
*
* Required params: $total_count, $photos.
* User: valizada
* Date: 26/08/15
* Time: 14:21
*/
class UserProfilePhotos
{
private $total_count;
private $photos;
/**
* @return Integer
* Total number of profile pictures the target user has
*/
public function getTotalCount()
{
return $this->total_count;
}
/**
* @param mixed $total_count
*/
public function setTotalCount($total_count)
{
$this->total_count = $total_count;
}
/**
* @return Array of Array of PhotoSize
* Requested profile pictures (in up to 4 sizes each)
*/
public function getPhotos()
{
return $this->photos;
}
/**
* @param mixed $photos
*/
public function setPhotos($photos)
{
$this->photos = $photos;
}
}