1 | <?php |
||
21 | class SlackMessage |
||
22 | { |
||
23 | use SlackMessageTrait; |
||
24 | |||
25 | /** |
||
26 | * This property will be removed in version 3.3 |
||
27 | * |
||
28 | * @deprecated |
||
29 | * @var string |
||
30 | */ |
||
31 | private $icon; |
||
32 | |||
33 | /** @var string */ |
||
34 | private $iconUrl; |
||
35 | |||
36 | /** @var string */ |
||
37 | private $iconEmoji; |
||
38 | |||
39 | /** @var string */ |
||
40 | private $text; |
||
41 | |||
42 | /** @var int */ |
||
43 | private $quoteType; |
||
44 | |||
45 | /** @var string */ |
||
46 | private $quoteTitle; |
||
47 | |||
48 | /** @var string */ |
||
49 | private $quoteTitleLink; |
||
50 | |||
51 | /** @var string */ |
||
52 | private $quoteText; |
||
53 | |||
54 | /** @var bool */ |
||
55 | private $showQuote; |
||
56 | |||
57 | /** @var string */ |
||
58 | private $recipient; |
||
59 | |||
60 | /** @var string */ |
||
61 | private $sender; |
||
62 | |||
63 | /** |
||
64 | * @param string $icon |
||
65 | * @param string $text |
||
66 | * @param int $quoteType |
||
67 | * @param string $quoteTitle |
||
68 | * @param string $quoteTitleLink |
||
69 | * @param string $quoteText |
||
70 | * @param bool $showQuote |
||
71 | * @param string $recipient |
||
72 | * @param string $sender |
||
73 | */ |
||
74 | 24 | public function __construct( |
|
97 | |||
98 | /** |
||
99 | * This method will be removed in version 3.3 |
||
100 | * |
||
101 | * @deprecated |
||
102 | * @return string |
||
103 | */ |
||
104 | 1 | public function getIcon(): string |
|
117 | |||
118 | /** |
||
119 | * This method will be removed in version 3.3 |
||
120 | * |
||
121 | * @deprecated |
||
122 | * @param string $icon |
||
123 | * @return SlackMessage |
||
124 | */ |
||
125 | 24 | public function setIcon(string $icon): SlackMessage |
|
136 | |||
137 | /** |
||
138 | * @return string |
||
139 | */ |
||
140 | 4 | public function getIconUrl(): string |
|
144 | |||
145 | /** |
||
146 | * @param string $iconUrl |
||
147 | * @return SlackMessage |
||
148 | */ |
||
149 | 24 | public function setIconUrl(string $iconUrl): SlackMessage |
|
154 | |||
155 | /** |
||
156 | * @return string |
||
157 | */ |
||
158 | 3 | public function getIconEmoji(): string |
|
162 | |||
163 | /** |
||
164 | * @param string $iconEmoji |
||
165 | * @return SlackMessage |
||
166 | */ |
||
167 | 23 | public function setIconEmoji(string $iconEmoji): SlackMessage |
|
172 | |||
173 | /** |
||
174 | * @return string |
||
175 | */ |
||
176 | 3 | public function getText(): string |
|
180 | |||
181 | /** |
||
182 | * @param string $text |
||
183 | * @return SlackMessage |
||
184 | */ |
||
185 | 24 | public function setText(string $text): SlackMessage |
|
190 | |||
191 | /** |
||
192 | * @return int |
||
193 | */ |
||
194 | 2 | public function getQuoteType(): int |
|
198 | |||
199 | /** |
||
200 | * @param int $quoteType |
||
201 | * @return SlackMessage |
||
202 | */ |
||
203 | 24 | public function setQuoteType(int $quoteType): SlackMessage |
|
208 | |||
209 | /** |
||
210 | * @return string |
||
211 | */ |
||
212 | 2 | public function getQuoteTitle(): string |
|
216 | |||
217 | /** |
||
218 | * @param string $quoteTitle |
||
219 | * @return SlackMessage |
||
220 | */ |
||
221 | 24 | public function setQuoteTitle(string $quoteTitle): SlackMessage |
|
226 | |||
227 | /** |
||
228 | * @return string |
||
229 | */ |
||
230 | 2 | public function getQuoteTitleLink(): string |
|
234 | |||
235 | /** |
||
236 | * @param string $quoteTitleLink |
||
237 | * @return SlackMessage |
||
238 | */ |
||
239 | 24 | public function setQuoteTitleLink(string $quoteTitleLink): SlackMessage |
|
244 | |||
245 | /** |
||
246 | * @return string |
||
247 | */ |
||
248 | 2 | public function getQuoteText(): string |
|
252 | |||
253 | /** |
||
254 | * @param string $quoteText |
||
255 | * @return SlackMessage |
||
256 | */ |
||
257 | 24 | public function setQuoteText(string $quoteText): SlackMessage |
|
262 | |||
263 | /** |
||
264 | * @return bool |
||
265 | */ |
||
266 | 2 | public function isShowQuote(): bool |
|
270 | |||
271 | /** |
||
272 | * @param bool $showQuote |
||
273 | * @return SlackMessage |
||
274 | */ |
||
275 | 24 | public function setShowQuote(bool $showQuote): SlackMessage |
|
280 | |||
281 | /** |
||
282 | * @return string |
||
283 | */ |
||
284 | 2 | public function getRecipient(): string |
|
288 | |||
289 | /** |
||
290 | * @param string $recipient |
||
291 | * @return SlackMessage |
||
292 | */ |
||
293 | 24 | public function setRecipient(string $recipient): SlackMessage |
|
298 | |||
299 | /** |
||
300 | * @return string |
||
301 | */ |
||
302 | 2 | public function getSender(): string |
|
306 | |||
307 | /** |
||
308 | * @param string $sender |
||
309 | * @return SlackMessage |
||
310 | */ |
||
311 | 24 | public function setSender(string $sender): SlackMessage |
|
316 | } |
||
317 |
This method has been deprecated.