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 | * File identifier of small (160x160) chat photo. This file_id |
||
28 | * can be used only for photo download and only for as long as |
||
29 | * the photo is not changed. |
||
30 | * |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $smallFileId; |
||
34 | |||
35 | /** |
||
36 | * Unique file identifier of small (160x160) chat photo, which |
||
37 | * is supposed to be the same over time and for different bots. |
||
38 | * Can't be used to download or reuse the file |
||
39 | * |
||
40 | * @var string |
||
41 | */ |
||
42 | protected $smallFileUniqueId; |
||
43 | |||
44 | /** |
||
45 | * File identifier of big (640x640) chat photo. This file_id |
||
46 | * can be used only for photo download and only for as long |
||
47 | * as the photo is not changed. |
||
48 | * |
||
49 | * @var string |
||
50 | */ |
||
51 | protected $bigFileId; |
||
52 | |||
53 | /** |
||
54 | * Unique file identifier of big (640x640) chat photo, which |
||
55 | * is supposed to be the same over time and for different bots. |
||
56 | * Can't be used to download or reuse the file. |
||
57 | * |
||
58 | * @var string |
||
59 | */ |
||
60 | protected $bigFileUniqueId; |
||
61 | |||
62 | /** |
||
63 | * @return string |
||
64 | */ |
||
65 | public function getSmallFileId() |
||
69 | |||
70 | /** |
||
71 | * @param string $smallFileId |
||
72 | */ |
||
73 | 2 | public function setSmallFileId($smallFileId) |
|
77 | |||
78 | /** |
||
79 | * @return string |
||
80 | */ |
||
81 | public function getSmallFileUniqueId() |
||
85 | |||
86 | /** |
||
87 | * @param string $smallFileUniqueId |
||
88 | */ |
||
89 | public function setSmallFileUniqueId($smallFileUniqueId) |
||
93 | |||
94 | /** |
||
95 | * @return string |
||
96 | */ |
||
97 | public function getBigFileId() |
||
101 | |||
102 | /** |
||
103 | * @param string $bigFileId |
||
104 | */ |
||
105 | 2 | public function setBigFileId($bigFileId) |
|
109 | |||
110 | /** |
||
111 | * @return string |
||
112 | */ |
||
113 | public function getBigFileUniqueId() |
||
117 | |||
118 | /** |
||
119 | * @param string $bigFileUniqueId |
||
120 | */ |
||
121 | public function setBigFileUniqueId($bigFileUniqueId) |
||
125 | } |
||
126 |