1 | <?php |
||
7 | class ChatPhoto extends BaseType |
||
8 | { |
||
9 | /** |
||
10 | * {@inheritdoc} |
||
11 | * |
||
12 | * @var array |
||
13 | */ |
||
14 | static protected $requiredParams = ['small_file_id', 'big_file_id']; |
||
15 | |||
16 | /** |
||
17 | * {@inheritdoc} |
||
18 | * |
||
19 | * @var array |
||
20 | */ |
||
21 | static protected $map = [ |
||
22 | 'small_file_id' => true, |
||
23 | 'big_file_id' => true, |
||
24 | ]; |
||
25 | |||
26 | /** |
||
27 | * Unique file identifier of small (160x160) chat photo. This file_id can be used only for photo download. |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $smallFileId; |
||
32 | |||
33 | /** |
||
34 | * Unique file identifier of big (640x640) chat photo. This file_id can be used only for photo download. |
||
35 | * |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $bigFileId; |
||
39 | |||
40 | /** |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getSmallFileId() |
||
47 | |||
48 | /** |
||
49 | * @param string $smallFileId |
||
50 | */ |
||
51 | public function setSmallFileId($smallFileId) |
||
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getBigFileId() |
||
63 | |||
64 | /** |
||
65 | * @param string $bigFileId |
||
66 | */ |
||
67 | public function setBigFileId($bigFileId) |
||
71 | } |