| 1 | <?php |
||
| 19 | class GroupsClosePayload 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 | * @param string $groupId |
||
| 31 | */ |
||
| 32 | 1 | public function setGroupId($groupId) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @return string ID of a private group to archive |
||
| 39 | */ |
||
| 40 | 1 | public function getGroupId() |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return string ID of a private group to archive |
||
| 47 | */ |
||
| 48 | 1 | public function getMethod() |
|
| 52 | } |
||
| 53 |