1 | <?php |
||
5 | class InlineQueryResultMpeg4Gif extends InlineQueryResultAbstract |
||
6 | { |
||
7 | const ENTITY_TYPE = 'InlineQueryResultMpeg4Gif'; |
||
8 | |||
9 | const RESULT_TYPE = 'mpeg4_gif'; |
||
10 | |||
11 | protected $mpeg4_url; |
||
12 | |||
13 | protected $mpeg4_width; |
||
14 | |||
15 | protected $mpeg4_height; |
||
16 | |||
17 | protected $caption; |
||
18 | |||
19 | protected $supportedProperties = [ |
||
20 | 'type' => true, |
||
21 | 'id' => true, |
||
22 | 'mpeg4_url' => true, |
||
23 | 'mpeg4_width' => false, |
||
24 | 'mpeg4_height' => false, |
||
25 | 'thumb_url' => false, |
||
26 | 'title' => false, |
||
27 | 'caption' => false, |
||
28 | 'reply_markup' => false, |
||
29 | 'input_message_content' => true, |
||
30 | ]; |
||
31 | |||
32 | /** |
||
33 | * @return mixed |
||
34 | */ |
||
35 | public function getMpeg4Url() |
||
39 | |||
40 | /** |
||
41 | * @param mixed $mpeg4_url |
||
42 | * |
||
43 | * @return $this |
||
44 | */ |
||
45 | public function setMpeg4Url($mpeg4_url) |
||
51 | |||
52 | /** |
||
53 | * @return mixed |
||
54 | */ |
||
55 | public function getMpeg4Width() |
||
59 | |||
60 | /** |
||
61 | * @param mixed $mpeg4_width |
||
62 | * |
||
63 | * @return $this |
||
64 | */ |
||
65 | public function setMpeg4Width($mpeg4_width) |
||
71 | |||
72 | /** |
||
73 | * @return mixed |
||
74 | */ |
||
75 | public function getMpeg4Height() |
||
79 | |||
80 | /** |
||
81 | * @param mixed $mpeg4_height |
||
82 | * |
||
83 | * @return $this |
||
84 | */ |
||
85 | public function setMpeg4Height($mpeg4_height) |
||
91 | |||
92 | /** |
||
93 | * @return mixed |
||
94 | */ |
||
95 | public function getCaption() |
||
99 | |||
100 | /** |
||
101 | * @param mixed $caption |
||
102 | * |
||
103 | * @return $this |
||
104 | */ |
||
105 | public function setCaption($caption) |
||
111 | } |
||
112 |