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