diff --git a/src/Models/ChannelModel.php b/src/Models/ChannelModel.php index 1c3b107..b327a1b 100644 --- a/src/Models/ChannelModel.php +++ b/src/Models/ChannelModel.php @@ -535,4 +535,15 @@ public function getAllChannelsFromAllTeams($userId, array $requestOptions = []) { return $this->client->get(UserModel::$endpoint. '/' . $userId . '/channels', $requestOptions); } + + /** + * @param $channelId + * @param array $requestOptions + * @return ResponseInterface + */ + public function moveChannel($channelId, array $requestOptions) + { + return $this->client->post(self::$endpoint . '/' . $channelId . '/move', $requestOptions); + } } +