| 1 | <?php |
||
| 19 | class GroupsMarkPayload extends AbstractPayload |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Slack seems to want to call this option "channel", but I can't agree with that (the format of the value is different), |
||
| 23 | * and will just pretend to my users it's a "group" (ID). |
||
| 24 | * |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $channel; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | private $ts; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param string $groupId ID of the group to set reading cursor in. |
||
| 36 | */ |
||
| 37 | 1 | public function setGroupId($groupId) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return string ID of the group to set reading cursor in. |
||
| 44 | */ |
||
| 45 | 1 | public function getGroupId() |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @param string $timestamp |
||
| 52 | */ |
||
| 53 | 1 | public function setSlackTimestamp($timestamp) |
|
| 57 | |||
| 58 | /** |
||
| 59 | * @return string |
||
| 60 | */ |
||
| 61 | 1 | public function getSlackTimestamp() |
|
| 65 | |||
| 66 | /** |
||
| 67 | * @inheritdoc |
||
| 68 | */ |
||
| 69 | 1 | public function getMethod() |
|
| 73 | } |
||
| 74 |