1 | <?php |
||
19 | class GroupsHistoryPayloadResponse extends AbstractPayloadResponse |
||
20 | { |
||
21 | /** |
||
22 | * @var string|null |
||
23 | */ |
||
24 | private $latest; |
||
25 | |||
26 | /** |
||
27 | * @var SimpleMessage[] |
||
28 | */ |
||
29 | private $messages; |
||
30 | |||
31 | /** |
||
32 | * @var bool |
||
33 | */ |
||
34 | private $hasMore; |
||
35 | |||
36 | /** |
||
37 | * @return string|null The (Slack) timestamp on which the latest action was performed on the channel. |
||
38 | */ |
||
39 | public function getLatest() |
||
43 | |||
44 | /** |
||
45 | * @return SimpleMessage[] The (Slack) messages posted on the channel. |
||
46 | */ |
||
47 | 1 | public function getMessages() |
|
51 | |||
52 | /** |
||
53 | * @return bool Whether there are more messages that can be queried by using the 'latest' timestamp returned. |
||
54 | */ |
||
55 | public function getHasMore() |
||
59 | } |
||
60 |