1 | <?php |
||
19 | class GroupsKickPayload 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 $user; |
||
33 | |||
34 | /** |
||
35 | * @param string $groupId ID of the group to kick the user from |
||
36 | */ |
||
37 | 1 | public function setGroupId($groupId) |
|
41 | |||
42 | /** |
||
43 | * @return string ID of the group to kick the user from |
||
44 | */ |
||
45 | 1 | public function getGroupId() |
|
49 | |||
50 | /** |
||
51 | * @param string $userId ID of the user to kick from group |
||
52 | */ |
||
53 | 1 | public function setUserId($userId) |
|
57 | |||
58 | /** |
||
59 | * @return string ID of the user to kick from group |
||
60 | */ |
||
61 | 1 | public function getUserId() |
|
65 | |||
66 | /** |
||
67 | * @inheritdoc |
||
68 | */ |
||
69 | 1 | public function getMethod() |
|
73 | } |
||
74 |