1 | <?php |
||
8 | abstract class InlineQueryResultAbstract extends AbstractEntity |
||
9 | { |
||
10 | const RESULT_TYPE = 'InlineQueryResultAbstract'; |
||
11 | |||
12 | protected $id; |
||
13 | |||
14 | protected $title; |
||
15 | |||
16 | protected $reply_markup; |
||
17 | |||
18 | protected $input_message_content; |
||
19 | |||
20 | protected $thumb_url; |
||
21 | |||
22 | protected $builtInEntities = [ |
||
23 | 'reply_markup' => InlineKeyboardMarkup::class, |
||
24 | 'input_message_content' => InputMessageContentAbstract::class |
||
25 | ]; |
||
26 | |||
27 | /** |
||
28 | * @return string |
||
29 | */ |
||
30 | public function getType() |
||
34 | |||
35 | /** |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getId() |
||
42 | |||
43 | /** |
||
44 | * @param mixed $id |
||
45 | * |
||
46 | * @return mixed |
||
47 | */ |
||
48 | public function setId($id) |
||
54 | |||
55 | /** |
||
56 | * @return mixed |
||
57 | */ |
||
58 | public function getTitle() |
||
62 | |||
63 | /** |
||
64 | * @param string $title |
||
65 | * |
||
66 | * @return $this |
||
67 | */ |
||
68 | public function setTitle($title) |
||
74 | |||
75 | /** |
||
76 | * @return mixed |
||
77 | */ |
||
78 | public function getInputMessageContent() |
||
82 | |||
83 | /** |
||
84 | * @param mixed $input_message_content |
||
85 | * |
||
86 | * @return $this |
||
87 | */ |
||
88 | public function setInputMessageContent(InputMessageContentAbstract $input_message_content) |
||
94 | |||
95 | /** |
||
96 | * @return mixed |
||
97 | */ |
||
98 | public function getReplyMarkup() |
||
102 | |||
103 | /** |
||
104 | * @param mixed $reply_markup |
||
105 | * |
||
106 | * @return $this |
||
107 | */ |
||
108 | public function setReplyMarkup($reply_markup) |
||
114 | |||
115 | /** |
||
116 | * @return string |
||
117 | */ |
||
118 | public function getThumbUrl() |
||
122 | |||
123 | /** |
||
124 | * @param string $thumb_url |
||
125 | * |
||
126 | * @return $this |
||
127 | */ |
||
128 | public function setThumbUrl($thumb_url) |
||
134 | } |